menu
Roblox Forum Archive
Home
User Search
Forums
Donate
search
settings
Home
User Search
Forums
Donate
launch
Go to User Dashboard
Forums
Game Design
Repeat a script?
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right
Repeat a script?
flosty
Join Date: 2011-01-22
Post Count: 229
#220693568
Friday, July 07, 2017 1:23 PM GMT
Hey, I'm an amateur scripter and I've scripted a flashing light script that looks like this: game.Workspace.Skyscraper Light.Transparency = 1 Wait(1) game.Workspace.Skyscraper Light.Transparency = 0 How can I repeat this script?
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
HexagonCode
Join Date: 2015-12-09
Post Count: 1216
#220693989
Friday, July 07, 2017 1:34 PM GMT
while wait(1) do game.Workspace.Skyscraper Light.Transparency = 1 Wait(1) game.Workspace.Skyscraper Light.Transparency = 0 end
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
flosty
Join Date: 2011-01-22
Post Count: 229
#220694510
Friday, July 07, 2017 1:46 PM GMT
Alright, it worked. Thanks for the help.
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right