Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-2

How do you make moving lights?

Asked by 10 years ago

For example: Spectrum Nightclub. On the dance floor there are moving lights, but the sorce of them cannot be seen.

2 answers

Log in to vote
1
Answered by 10 years ago

You make an invisible part that moves on the ceiling, and then insert a point-light, allowing lights to be seen on the dance floor.

Ad
Log in to vote
0
Answered by 10 years ago

All you have to do is: Inset the part, then make it invisible and can collide = false then insert a point light into the part and re-adjust the brightness and range. You can also experiment with moving it around to give it more of a "light" effect.

-- This provides that your Part is in game.Workspace and this script is the child of Part

Part = script.parent


for i = 1,100 do
Part.CFrame = Part.CFrame +Vector3.new(0, 0, 0)
wait(0.05)
end
-- The 0 0 0 is how far in whatever direction you want the Part to move.

Answer this question