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

How can I make lights move to music, basically exactly like in Pulse Nightclub?

Asked by 10 years ago

I'd like to make the lights in my game move up in down like they do in Pulse Nightclub. Can anyone tell me how, if you have seen it in game? ~iZacharias

0
Ahn... that is not exactly scripting. Tesouro 407 — 10y
0
Try to just figure out how to make a brick move, then put a point light in that brick. Tempestatem 884 — 10y

1 answer

Log in to vote
1
Answered by 10 years ago

Here's the script EDIT #3 Added the light

part = script.Parent
up = Instance.new("BodyVelocity")
up.Parent = part
light = Instance.new("PointLight")
light.Parent = part
light.Color = Vector3.new(85, 0, 255) --Blue
light.Range = 60
while true do
up.velocity = Vector3.new(0,2,0)
wait(5)
up.velocity = Vector3.new(0,-2,0)
wait(5)
end
Ad

Answer this question