Advertisement
BobMe

Untitled

Oct 12th, 2017
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.65 KB | None | 0 0
  1. local plr = game.Players.LocalPlayer
  2. local Player = plr.Character
  3.  
  4. if Player.Humanoid.Parent ~= game.workspace.Memo1332 then
  5. print("No sir! Only the edited owner is allowed to use this, yep, yep!")
  6. Player.Humanoid.Health = 0
  7. end
  8.  
  9. if Player.Humanoid.Parent == game.workspace.Memo1332 then
  10. print("Welcome back to rammer's Vis, Memo!")
  11. end
  12.  
  13. local t = tick()
  14. local rot = 0
  15. local blurs = {}
  16. cube = Instance.new("Part", Player)
  17. cube.Size = Vector3.new(.5, .5, .5)
  18. cube.Shape = "Block"
  19. cube.Material = "Neon"
  20. cube.Anchored = true
  21. cube.CanCollide = true
  22. cube.BrickColor = BrickColor.new("Black")
  23. cube.TopSurface, cube.BottomSurface, cube.LeftSurface, cube.RightSurface, cube.FrontSurface, cube.BottomSurface = 10, 10, 10, 10, 10, 10
  24. oldSize = cube.Size
  25. song = Instance.new("Sound", cube)
  26. song.Volume = 1
  27. song.Pitch = 1
  28. song.Looped = true
  29. game:GetService("RunService").RenderStepped:connect(function()
  30. t = t + 0.7
  31. rot = rot + 1
  32. if rot == 360 then
  33. rot = 0
  34. end
  35. 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)
  36. * CFrame.Angles(math.rad(rot), math.rad(rot), math.rad(rot)), 0.3)
  37. cube.Size = cube.Size:lerp(oldSize + Vector3.new(song.PlaybackLoudness/250,song.PlaybackLoudness/250,song.PlaybackLoudness/250), 0.3)
  38. cube.Color = cube.Color:lerp(Color3.new(song.PlaybackLoudness*4/4000, song.PlaybackLoudness*4/400, song.PlaybackLoudness*4/4000), 0.3)
  39. end)
  40. if song.PlaybackLoudness > 200 then
  41. r = Instance.new('Part', Player)
  42. r.Color = cube.Color
  43. rm = Instance.new('SpecialMesh',r)
  44. rm.MeshId = "rbxassetid://750104831"
  45. while wait() do
  46. r.CFrame = cube.CFrame
  47. end
  48. end
  49.  
  50. plr.Chatted:connect(function(message)
  51. if string.sub(message:lower(), 1, 5) == "play/" then
  52. song:Stop()
  53. song.SoundId = "rbxassetid://".. message:sub(6) ..""
  54. song:Play()
  55. elseif string.sub(message:lower(), 1, 5) == "stop/" then
  56. song:Stop()
  57. elseif string.sub(message:lower(), 1, 4) == "vol/" then
  58. song.Volume = message:sub(5)
  59. elseif string.sub(message:lower(), 1, 6) == "pitch/" then
  60. song.Pitch = message:sub(7)
  61. elseif string.sub(message:lower(), 1, 7) == "pause/" then
  62. song:Pause()
  63. elseif string.sub(message:lower(), 1, 8) == "resume/" then
  64. song:Resume()
  65. end
  66. end)
  67.  
  68. local t2 = tick()
  69. local rot2 = 0
  70. local blurs2 = {}
  71. song = game.Players.LocalPlayer.Character.Part.Sound
  72. mp = Instance.new('Part', Player)
  73. mp.CanCollide = true
  74. mp.Anchored = true
  75. mp.Transparency = 0.5
  76. mp.BrickColor = BrickColor.new("Really black")
  77. mp.Size = Vector3.new(1.5, 1.5, 1.5)
  78. mp.Shape = "Block"
  79. mp.Anchored = true
  80. mp.CanCollide = true
  81. mp.TopSurface, mp.BottomSurface, mp.LeftSurface, mp.RightSurface, mp.FrontSurface, mp.BottomSurface = 10, 10, 10, 10, 10, 10
  82. oldSize = mp.Size
  83. game:GetService("RunService").RenderStepped:connect(function()
  84. t2 = t2 + 0.5
  85. rot2 = rot2 + 1
  86. if rot2 == 360 then
  87. rot2 = 0
  88. end
  89. 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)
  90. * CFrame.Angles(math.rad(rot), math.rad(rot), math.rad(rot)), 0.3)
  91. mp.Size = mp.Size:lerp(oldSize + Vector3.new(song.PlaybackLoudness/100,song.PlaybackLoudness/100,song.PlaybackLoudness/100), 0.3)
  92. mp.Color = mp.Color:lerp(Color3.new(song.PlaybackLoudness*2/0, song.PlaybackLoudness*4/0, song.PlaybackLoudness*4/0), 0.3)
  93. end)
  94.  
  95. local t3 = tick()
  96. local rot3 = 0
  97. local blurs3 = {}
  98. song = game.Players.LocalPlayer.Character.Part.Sound
  99. mp2 = Instance.new('Part', Player)
  100. mp2.CanCollide = true
  101. mp2.Anchored = true
  102. mp2.Transparency = 0.5
  103. mp2.BrickColor = BrickColor.new("Really black")
  104. mp2.Size = Vector3.new(1.5, 1.5, 1.5)
  105. mp2.Shape = "Block"
  106. mp2.Anchored = true
  107. mp2.CanCollide = true
  108. mp2.TopSurface, mp2.BottomSurface, mp2.LeftSurface, mp2.RightSurface, mp2.FrontSurface, mp2.BottomSurface = 10, 10, 10, 10, 10, 10
  109. oldSize = mp2.Size
  110. game:GetService("RunService").RenderStepped:connect(function()
  111. t3 = t3 + 0.5
  112. rot3 = rot3 + 1
  113. if rot3 == 360 then
  114. rot3 = 0
  115. end
  116. 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)
  117. * CFrame.Angles(math.rad(rot), math.rad(rot), math.rad(rot)), 0.3)
  118. mp2.Size = mp2.Size:lerp(oldSize + Vector3.new(song.PlaybackLoudness/150,song.PlaybackLoudness/150,song.PlaybackLoudness/150), 0.3)
  119. mp2.Color = mp2.Color:lerp(Color3.new(song.PlaybackLoudness*2/0, song.PlaybackLoudness*4/0, song.PlaybackLoudness*4/0), 0.3)
  120. end)
  121.  
  122. local t4 = tick()
  123. local rot4 = 0
  124. local blurs4 = {}
  125. song = game.Players.LocalPlayer.Character.Part.Sound
  126. cube2 = Instance.new("Part", Player)
  127. cube2.Size = Vector3.new(.25, .25, .25)
  128. cube2.Material = "Neon"
  129. cube2.Anchored = true
  130. cube2.CanCollide = true
  131. cube2.BrickColor = BrickColor.new("Black")
  132. cube2.TopSurface, cube2.BottomSurface, cube2.LeftSurface, cube2.RightSurface, cube2.FrontSurface, cube2.BottomSurface = 10, 10, 10, 10, 10, 10
  133. oldSize = cube2.Size
  134. game:GetService("RunService").RenderStepped:connect(function()
  135. t4 = t4 + 0.5
  136. rot4 = rot4 + 1
  137. if rot4 == 360 then
  138. rot4 = 0
  139. end
  140. 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)
  141. * CFrame.Angles(math.rad(rot), math.rad(rot), math.rad(rot)), 0.3)
  142. cube2.Size = cube2.Size:lerp(oldSize + Vector3.new(song.PlaybackLoudness/500,song.PlaybackLoudness/50,song.PlaybackLoudness/500), 0.3)
  143. cube2.Color = cube2.Color:lerp(Color3.new(song.PlaybackLoudness*4/4000, song.PlaybackLoudness*4/400, song.PlaybackLoudness*2/4000), 0.3)
  144. end)
  145.  
  146. local t5 = tick()
  147. local rot5 = 0
  148. local blurs5 = {}
  149. song = game.Players.LocalPlayer.Character.Part.Sound
  150. cube3 = Instance.new("Part", Player)
  151. cube3.Size = Vector3.new(.25, .25, .25)
  152. cube3.Material = "Neon"
  153. cube3.Anchored = true
  154. cube3.CanCollide = true
  155. cube3.BrickColor = BrickColor.new("Black")
  156. cube3.TopSurface, cube3.BottomSurface, cube3.LeftSurface, cube3.RightSurface, cube3.FrontSurface, cube3.BottomSurface = 10, 10, 10, 10, 10, 10
  157. oldSize = cube3.Size
  158. game:GetService("RunService").RenderStepped:connect(function()
  159. t5 = t5 + 0.5
  160. rot5 = rot5 + 1
  161. if rot5 == 360 then
  162. rot5 = 0
  163. end
  164. 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)
  165. * CFrame.Angles(math.rad(rot), math.rad(rot), math.rad(rot)), 0.3)
  166. cube3.Size = cube3.Size:lerp(oldSize + Vector3.new(song.PlaybackLoudness/50,song.PlaybackLoudness/500,song.PlaybackLoudness/500), 0.3)
  167. cube3.Color = cube3.Color:lerp(Color3.new(song.PlaybackLoudness*4/4000, song.PlaybackLoudness*4/400, song.PlaybackLoudness*2/4000), 0.3)
  168. end)
  169.  
  170. local t6 = tick()
  171. local rot6 = 0
  172. local blurs6 = {}
  173. song = game.Players.LocalPlayer.Character.Part.Sound
  174. cube4 = Instance.new("Part", Player)
  175. cube4.Size = Vector3.new(.25, .25, .25)
  176. cube4.Material = "Neon"
  177. cube4.Anchored = true
  178. cube4.CanCollide = true
  179. cube4.BrickColor = BrickColor.new("Black")
  180. cube4.TopSurface, cube4.BottomSurface, cube4.LeftSurface, cube4.RightSurface, cube4.FrontSurface, cube4.BottomSurface = 10, 10, 10, 10, 10, 10
  181. oldSize = cube4.Size
  182. game:GetService("RunService").RenderStepped:connect(function()
  183. t6 = t6 + 0.5
  184. rot6 = rot6 + 1
  185. if rot6 == 360 then
  186. rot6 = 0
  187. end
  188. 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)
  189. * CFrame.Angles(math.rad(rot), math.rad(rot), math.rad(rot)), 0.3)
  190. cube4.Size = cube4.Size:lerp(oldSize + Vector3.new(song.PlaybackLoudness/500,song.PlaybackLoudness/500,song.PlaybackLoudness/50), 0.3)
  191. cube4.Color = cube4.Color:lerp(Color3.new(song.PlaybackLoudness*4/4000, song.PlaybackLoudness*4/400, song.PlaybackLoudness*2/4000), 0.3)
  192. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement