Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Player = game.Players.HomingBeacon
- local s = Instance.new("Sound")
- s.SoundId = "rbxassetid://1608455246"
- s.Volume = 10
- s.Parent = Player.PlayerGui
- s.Looped = true
- s:Play()
- local Pos = 1
- local Part = Instance.new("Part")
- Part.Size = Vector3.new(30,30,.005)
- Part.Material = "Neon"
- Part.Anchored = true
- Part.CanCollide = false
- Part.Parent = workspace
- local Colors = {[1] = Color3.fromRGB(255,0,0),[2] = Color3.fromRGB(0,255,0),[3] = Color3.fromRGB(0,0,255),[4] = Color3.fromRGB(0,0,0),[5] = Color3.fromRGB(255,255,255)}
- while Player.Parent == game.Players do
- Player.CameraMaxZoomDistance = .5
- Player.CameraMinZoomDistance = .5
- --Pos = Pos+1 =< #Colors and Pos+1 or 1
- Part.Color = Colors[Pos]
- if Pos < 5 then
- Pos = Pos + 1
- else
- Pos = 1
- end
- if Player.Character and Player.Character.PrimaryPart ~= nil then
- Part.CFrame = Player.Character.PrimaryPart.CFrame:toWorldSpace(CFrame.new(0,0,-2))
- end
- wait()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement