View difference between Paste ID: 7ngVWhZK and WAjspV3Y
SHOW: | | - or go back to the newest paste.
1
--Roblox lua script for a disco light
2
-- this is my first roblox lua script created by dissandou91000
3
-- Make sure that "Disco" is a sphere
4
5-
Disco = Script.Parent
5+
Disco = workspace.Part
6
7
8-
light = Instance.new("Pointlight")
8+
light = Instance.new("PointLight")
9-
light.parent = Disco
9+
light.Parent = Disco
10
11
while true do
12
	Disco.BrickColor = BrickColor.random()
13-
Disco.brickcolor = brickcolor.random()
13+
	wait(0.3)
14-
wait(0.3)
14+