Search
 
SCRIPT & CODE EXAMPLE
 

LUA

lua click detection

local clickDetector = workspace.Part.ClickDetector
 
function onMouseClick()
	print("You clicked me!")
end
 
clickDetector.MouseClick:connect(onMouseClick)
Comment

PREVIOUS NEXT
Code Example
Lua :: luau region 
Lua :: roblox player joined 
Lua :: if part is touched 
Lua :: how to print hello in lua 
Lua :: lua integer to string 
Lua :: roblox loop players 
Lua :: lua last item in table 
Lua :: lua loop 
Lua :: roblox studio color randomizer 
Lua :: lua in pairs 
Lua :: how to make a color changing brick in roblox studio 
Lua :: do while lua 
Lua :: lua get time 
Lua :: lua toggle 
Lua :: lua f animation 
Lua :: lua print table 
Lua :: ex: CFrame to vector3 roblox lua 
Lua :: random number lua 
Lua :: lua how to default value if nil or false 
Lua :: lua catch error 
Matlab :: matlab inverse z transform 
Matlab :: matlab complex numbers 
Matlab :: how to print ceratin rows of dataframe 
Basic :: powershell how to removve only empty direcoties 
Elixir :: for loop in elixir 
Elixir :: elixir append lists 
Scala :: quantification scalaire 
Scala :: scala list all permutations 
Excel :: excel use offset in conditional formatting 
Perl :: perl exit loop 
ADD CONTENT
Topic
Content
Source link
Name
3+6 =