SHOW:
|
|
- or go back to the newest paste.
| 1 | - | --Roblox lua script for a disco light |
| 1 | + | local Disco = parent |
| 2 | - | -- this is my first roblox lua script created by dissandou91000 |
| 2 | + | |
| 3 | - | -- Make sure that "Disco" is a sphere |
| 3 | + | |
| 4 | light = Instance.new("Pointlight")
| |
| 5 | - | Disco = Script.Parent |
| 5 | + | |
| 6 | ||
| 7 | while true do | |
| 8 | ||
| 9 | Disco.brickcolor = brickcolor.random() | |
| 10 | wait(0.3) | |
| 11 | ||
| 12 | end |