Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR LUA

lua event

--note : a event is going to active something when is done. the event is gonna fire.
--this time we will do the simplest event. touched

local brick = script.parent

brick.Touched:Connect(function() --when touched the funtion will fire
    brick.Transparency = 0.5 --this is an example
 
PREVIOUS NEXT
Tagged: #lua #event
ADD COMMENT
Topic
Name
1+2 =