Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do you make moving lights?

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

2 answers

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.

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.

This discussion is preserved as it was. New answers, comments, and votes are closed.