Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = game.Players.LocalPlayer
- local Player = plr.Character
- if Player.Humanoid.Parent ~= game.workspace.Memo1332 then
- print("No sir! Only the edited owner is allowed to use this, yep, yep!")
- Player.Humanoid.Health = 0
- end
- if Player.Humanoid.Parent == game.workspace.Memo1332 then
- print("Welcome back to rammer's Vis, Memo!")
- end
- local t = tick()
- local rot = 0
- local blurs = {}
- cube = Instance.new("Part", Player)
- cube.Size = Vector3.new(.5, .5, .5)
- cube.Shape = "Block"
- cube.Material = "Neon"
- cube.Anchored = true
- cube.CanCollide = true
- cube.BrickColor = BrickColor.new("Black")
- cube.TopSurface, cube.BottomSurface, cube.LeftSurface, cube.RightSurface, cube.FrontSurface, cube.BottomSurface = 10, 10, 10, 10, 10, 10
- oldSize = cube.Size
- song = Instance.new("Sound", cube)
- song.Volume = 1
- song.Pitch = 1
- song.Looped = true
- game:GetService("RunService").RenderStepped:connect(function()
- t = t + 0.7
- rot = rot + 1
- if rot == 360 then
- rot = 0
- end
- cube.CFrame = cube.CFrame:lerp(CFrame.new(Player.HumanoidRootPart.CFrame.p) * CFrame.new(math.sin(t/20)*5, 0.5 + math.cos(t/2.5), math.cos(t/20)*-5)
- * CFrame.Angles(math.rad(rot), math.rad(rot), math.rad(rot)), 0.3)
- cube.Size = cube.Size:lerp(oldSize + Vector3.new(song.PlaybackLoudness/250,song.PlaybackLoudness/250,song.PlaybackLoudness/250), 0.3)
- cube.Color = cube.Color:lerp(Color3.new(song.PlaybackLoudness*4/4000, song.PlaybackLoudness*4/400, song.PlaybackLoudness*4/4000), 0.3)
- end)
- if song.PlaybackLoudness > 200 then
- r = Instance.new('Part', Player)
- r.Color = cube.Color
- rm = Instance.new('SpecialMesh',r)
- rm.MeshId = "rbxassetid://750104831"
- while wait() do
- r.CFrame = cube.CFrame
- end
- end
- plr.Chatted:connect(function(message)
- if string.sub(message:lower(), 1, 5) == "play/" then
- song:Stop()
- song.SoundId = "rbxassetid://".. message:sub(6) ..""
- song:Play()
- elseif string.sub(message:lower(), 1, 5) == "stop/" then
- song:Stop()
- elseif string.sub(message:lower(), 1, 4) == "vol/" then
- song.Volume = message:sub(5)
- elseif string.sub(message:lower(), 1, 6) == "pitch/" then
- song.Pitch = message:sub(7)
- elseif string.sub(message:lower(), 1, 7) == "pause/" then
- song:Pause()
- elseif string.sub(message:lower(), 1, 8) == "resume/" then
- song:Resume()
- end
- end)
- local t2 = tick()
- local rot2 = 0
- local blurs2 = {}
- song = game.Players.LocalPlayer.Character.Part.Sound
- mp = Instance.new('Part', Player)
- mp.CanCollide = true
- mp.Anchored = true
- mp.Transparency = 0.5
- mp.BrickColor = BrickColor.new("Really black")
- mp.Size = Vector3.new(1.5, 1.5, 1.5)
- mp.Shape = "Block"
- mp.Anchored = true
- mp.CanCollide = true
- mp.TopSurface, mp.BottomSurface, mp.LeftSurface, mp.RightSurface, mp.FrontSurface, mp.BottomSurface = 10, 10, 10, 10, 10, 10
- oldSize = mp.Size
- game:GetService("RunService").RenderStepped:connect(function()
- t2 = t2 + 0.5
- rot2 = rot2 + 1
- if rot2 == 360 then
- rot2 = 0
- end
- mp.CFrame = mp.CFrame:lerp(CFrame.new(Player.HumanoidRootPart.CFrame.p) * CFrame.new(math.sin(t/20)*5, 0.5 + math.cos(t/2.5), math.cos(t/20)*-5)
- * CFrame.Angles(math.rad(rot), math.rad(rot), math.rad(rot)), 0.3)
- mp.Size = mp.Size:lerp(oldSize + Vector3.new(song.PlaybackLoudness/100,song.PlaybackLoudness/100,song.PlaybackLoudness/100), 0.3)
- mp.Color = mp.Color:lerp(Color3.new(song.PlaybackLoudness*2/0, song.PlaybackLoudness*4/0, song.PlaybackLoudness*4/0), 0.3)
- end)
- local t3 = tick()
- local rot3 = 0
- local blurs3 = {}
- song = game.Players.LocalPlayer.Character.Part.Sound
- mp2 = Instance.new('Part', Player)
- mp2.CanCollide = true
- mp2.Anchored = true
- mp2.Transparency = 0.5
- mp2.BrickColor = BrickColor.new("Really black")
- mp2.Size = Vector3.new(1.5, 1.5, 1.5)
- mp2.Shape = "Block"
- mp2.Anchored = true
- mp2.CanCollide = true
- mp2.TopSurface, mp2.BottomSurface, mp2.LeftSurface, mp2.RightSurface, mp2.FrontSurface, mp2.BottomSurface = 10, 10, 10, 10, 10, 10
- oldSize = mp2.Size
- game:GetService("RunService").RenderStepped:connect(function()
- t3 = t3 + 0.5
- rot3 = rot3 + 1
- if rot3 == 360 then
- rot3 = 0
- end
- mp2.CFrame = mp2.CFrame:lerp(CFrame.new(Player.HumanoidRootPart.CFrame.p) * CFrame.new(math.sin(t/20)*5, 0.5 + math.cos(t/2.5), math.cos(t/20)*-5)
- * CFrame.Angles(math.rad(rot), math.rad(rot), math.rad(rot)), 0.3)
- mp2.Size = mp2.Size:lerp(oldSize + Vector3.new(song.PlaybackLoudness/150,song.PlaybackLoudness/150,song.PlaybackLoudness/150), 0.3)
- mp2.Color = mp2.Color:lerp(Color3.new(song.PlaybackLoudness*2/0, song.PlaybackLoudness*4/0, song.PlaybackLoudness*4/0), 0.3)
- end)
- local t4 = tick()
- local rot4 = 0
- local blurs4 = {}
- song = game.Players.LocalPlayer.Character.Part.Sound
- cube2 = Instance.new("Part", Player)
- cube2.Size = Vector3.new(.25, .25, .25)
- cube2.Material = "Neon"
- cube2.Anchored = true
- cube2.CanCollide = true
- cube2.BrickColor = BrickColor.new("Black")
- cube2.TopSurface, cube2.BottomSurface, cube2.LeftSurface, cube2.RightSurface, cube2.FrontSurface, cube2.BottomSurface = 10, 10, 10, 10, 10, 10
- oldSize = cube2.Size
- game:GetService("RunService").RenderStepped:connect(function()
- t4 = t4 + 0.5
- rot4 = rot4 + 1
- if rot4 == 360 then
- rot4 = 0
- end
- cube2.CFrame = cube2.CFrame:lerp(CFrame.new(Player.HumanoidRootPart.CFrame.p) * CFrame.new(math.sin(t/20)*5, 0.5 + math.cos(t/2.5), math.cos(t/20)*-5)
- * CFrame.Angles(math.rad(rot), math.rad(rot), math.rad(rot)), 0.3)
- cube2.Size = cube2.Size:lerp(oldSize + Vector3.new(song.PlaybackLoudness/500,song.PlaybackLoudness/50,song.PlaybackLoudness/500), 0.3)
- cube2.Color = cube2.Color:lerp(Color3.new(song.PlaybackLoudness*4/4000, song.PlaybackLoudness*4/400, song.PlaybackLoudness*2/4000), 0.3)
- end)
- local t5 = tick()
- local rot5 = 0
- local blurs5 = {}
- song = game.Players.LocalPlayer.Character.Part.Sound
- cube3 = Instance.new("Part", Player)
- cube3.Size = Vector3.new(.25, .25, .25)
- cube3.Material = "Neon"
- cube3.Anchored = true
- cube3.CanCollide = true
- cube3.BrickColor = BrickColor.new("Black")
- cube3.TopSurface, cube3.BottomSurface, cube3.LeftSurface, cube3.RightSurface, cube3.FrontSurface, cube3.BottomSurface = 10, 10, 10, 10, 10, 10
- oldSize = cube3.Size
- game:GetService("RunService").RenderStepped:connect(function()
- t5 = t5 + 0.5
- rot5 = rot5 + 1
- if rot5 == 360 then
- rot5 = 0
- end
- cube3.CFrame = cube3.CFrame:lerp(CFrame.new(Player.HumanoidRootPart.CFrame.p) * CFrame.new(math.sin(t/20)*5, 0.5 + math.cos(t/2.5), math.cos(t/20)*-5)
- * CFrame.Angles(math.rad(rot), math.rad(rot), math.rad(rot)), 0.3)
- cube3.Size = cube3.Size:lerp(oldSize + Vector3.new(song.PlaybackLoudness/50,song.PlaybackLoudness/500,song.PlaybackLoudness/500), 0.3)
- cube3.Color = cube3.Color:lerp(Color3.new(song.PlaybackLoudness*4/4000, song.PlaybackLoudness*4/400, song.PlaybackLoudness*2/4000), 0.3)
- end)
- local t6 = tick()
- local rot6 = 0
- local blurs6 = {}
- song = game.Players.LocalPlayer.Character.Part.Sound
- cube4 = Instance.new("Part", Player)
- cube4.Size = Vector3.new(.25, .25, .25)
- cube4.Material = "Neon"
- cube4.Anchored = true
- cube4.CanCollide = true
- cube4.BrickColor = BrickColor.new("Black")
- cube4.TopSurface, cube4.BottomSurface, cube4.LeftSurface, cube4.RightSurface, cube4.FrontSurface, cube4.BottomSurface = 10, 10, 10, 10, 10, 10
- oldSize = cube4.Size
- game:GetService("RunService").RenderStepped:connect(function()
- t6 = t6 + 0.5
- rot6 = rot6 + 1
- if rot6 == 360 then
- rot6 = 0
- end
- cube4.CFrame = cube4.CFrame:lerp(CFrame.new(Player.HumanoidRootPart.CFrame.p) * CFrame.new(math.sin(t/20)*5, 0.5 + math.cos(t/2.5), math.cos(t/20)*-5)
- * CFrame.Angles(math.rad(rot), math.rad(rot), math.rad(rot)), 0.3)
- cube4.Size = cube4.Size:lerp(oldSize + Vector3.new(song.PlaybackLoudness/500,song.PlaybackLoudness/500,song.PlaybackLoudness/50), 0.3)
- cube4.Color = cube4.Color:lerp(Color3.new(song.PlaybackLoudness*4/4000, song.PlaybackLoudness*4/400, song.PlaybackLoudness*2/4000), 0.3)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement