Advertisement
Narwhalable

Untitled

Jul 20th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.93 KB | None | 0 0
  1. wait(0.3)
  2. local player = game.Players.LocalPlayer
  3. local sound = Instance.new("Sound")
  4. local loundness = 0
  5. local ammounts = 80
  6. local character = player.Character
  7. local torso = character.Torso
  8. local parts = {}
  9. local color = BrickColor.new("Navy blue")
  10. local direc = 1
  11. local ver = "Double(Cylinder).3.1"
  12. local mat = "SmoothPlastic"
  13. sound.Parent = workspace
  14. sound.Volume = 1
  15. sound.Looped = true
  16.  
  17. for i = 1, ammounts do
  18. local part = Instance.new("Part", torso)
  19. part.TopSurface = "SmoothNoOutlines"
  20. part.BottomSurface = "SmoothNoOutlines"
  21. part.FrontSurface = "SmoothNoOutlines"
  22. part.BackSurface = "SmoothNoOutlines"
  23. part.LeftSurface = "SmoothNoOutlines"
  24. part.RightSurface = "SmoothNoOutlines"
  25. part.Shape = "Cylinder"
  26. part.Anchored = true
  27. part.CanCollide = false
  28. part.Material = mat
  29. part.Transparency = 0
  30. part.BrickColor = color
  31. part.Size = Vector3.new(.05,0,0)
  32. part.CFrame = torso.CFrame* CFrame.new(pos,5,0)
  33. table.insert(parts,part)
  34. end
  35.  
  36. --startup--
  37. local gui = Instance.new("ScreenGui", player.PlayerGui)
  38. local box = Instance.new("TextButton", gui)
  39. box.Position = UDim2.new(1,0,0,0)
  40. box.Size = UDim2.new(0.4,0,0.05,0)
  41. box.BackgroundTransparency = 0.5
  42. box.BackgroundColor3 = Color3.fromRGB(0,170,240)
  43. box.BorderColor3 = Color3.new(0,0,1)
  44. box.BorderSizePixel = 5
  45. box.Text = "Ver.".." "..ver
  46. box.TextSize = 33
  47. box.TextColor3 = Color3.new(1,1,1)
  48. box.TextStrokeColor3 = Color3.new(0,0,1)
  49. box.TextTransparency = 0.5
  50. box.TextStrokeTransparency = 0
  51. box.TextWrapped = true
  52. box.Font = "Code"
  53. box:TweenPosition(UDim2.new(0.3,0,0,0), "Out", "Quad", 1, false)
  54. wait(1.6)
  55. box:TweenPosition(UDim2.new(-1,0,0,0), "Out", "Quad", 1, false)
  56. wait(0.5)
  57. box:Remove()
  58. --functions--
  59. local character = player.Character
  60. character.Humanoid.MaxHealth = math.huge
  61. character.Humanoid.Health = math.huge
  62. local rweld = character.Torso["Right Shoulder"]
  63. local lweld = character.Torso["Left Shoulder"]
  64. local id = Instance.new("TextBox",gui)
  65. id.Position = UDim2.new(1,0,0.2,0)
  66. id.Size = UDim2.new(0.4,0,0.05,0)
  67. id.BackgroundColor3 = Color3.new(0,0,0)
  68. id.BackgroundTransparency = 0.5
  69. id.BorderSizePixel = 0
  70. id.Font = "Code"
  71. id.Text = "Insert Audio Id"
  72. id.TextColor3 = Color3.new(1,1,1)
  73. id.TextScaled = true
  74. id.TextStrokeColor3 = Color3.fromRGB(255,145,0)
  75. id.TextStrokeTransparency = 0
  76. id.TextTransparency = 0.5
  77. local play = Instance.new("TextButton",id)
  78. play.Size = UDim2.new(0.2,0,1,0)
  79. play.Position = UDim2.new(1,0,0,0)
  80. play.BackgroundColor3 = Color3.new(0,0,0)
  81. play.BackgroundTransparency = 0.5
  82. play.BorderSizePixel = 0
  83. play.Font = "Code"
  84. play.Text = "Play"
  85. play.TextColor3 = Color3.new(0,0,0)
  86. play.TextScaled = true
  87. play.TextStrokeColor3 = Color3.new(0,1,0)
  88. play.TextStrokeTransparency = 0
  89. play.TextTransparency = 0.5
  90.  
  91.  
  92. local frame = Instance.new("ScrollingFrame", gui)
  93. gui.Enabled = false
  94. frame.Size = UDim2.new(0.2,0,0.4,0)
  95. frame.Position = UDim2.new(3,0,3,0)
  96. frame.BackgroundTransparency = 1
  97. frame.BorderSizePixel = 3
  98. frame.CanvasSize = UDim2.new(0,0,3,0)
  99. local ammount = 0
  100. function makelist(txt)
  101. local label = Instance.new("TextLabel",frame)
  102. label.Text = txt
  103. label.TextScaled = true
  104. label.TextWrapped = true
  105. label.Font = "Code"
  106. label.BackgroundTransparency = 0.5
  107. label.BackgroundColor3 = Color3.fromRGB(255, 114, 0)
  108. label.TextStrokeColor3 = Color3.new(1,1,0)
  109. label.TextStrokeTransparency = 0
  110. label.TextTransparency = 0.5
  111. ammount = ammount + 1
  112. label.Size = UDim2.new(1,0,0,50)
  113. label.Position = UDim2.new(0,0,0,(ammount * 50) - 55)
  114. end
  115.  
  116. makelist("cmds")
  117. makelist("play")
  118. makelist("stop")
  119. makelist("id")
  120. makelist("looped/on")
  121. makelist("looped/off")
  122. makelist("dismiss")
  123. makelist("pompeii")
  124. makelist("heathens")
  125. makelist("stressed-out")
  126. makelist("centuries")
  127. makelist("demons")
  128. makelist("believer")
  129. makelist("nred")
  130. makelist("green")
  131. makelist("lgreen")
  132. makelist("lblue")
  133. makelist("dblue")
  134. makelist("nblue")
  135. makelist("yellow")
  136. makelist("cyan")
  137. makelist("lpink")
  138. makelist("hpink")
  139. makelist("purple")
  140. makelist("black")
  141. makelist("white")
  142. makelist("egg")
  143. makelist("randomc")
  144. makelist("Neon")
  145. makelist("Slate")
  146. makelist("Plastic")
  147. makelist("Granite")
  148. makelist("Marble")
  149.  
  150.  
  151. spawn(function()
  152. local SelectedPart = 0
  153. while true do
  154. if direc == 1 then
  155. if SelectedPart < #parts then
  156. SelectedPart = SelectedPart + direc
  157. else
  158. direc = 1
  159. SelectedPart = 1
  160. color = color
  161. end
  162. elseif direc == -1 then
  163. if SelectedPart > 1 then
  164. SelectedPart = SelectedPart + direc
  165. else
  166. direc = 1
  167. color = color
  168. end
  169. end
  170. local sel = parts[SelectedPart]
  171.  
  172.  
  173. sel.BrickColor = color
  174. sel.Material = mat
  175.  
  176. loudness = sound.PlaybackLoudness / 70
  177. if loudness == 0 then
  178. sel.Size = Vector3.new(2,0, 0)
  179. else
  180. sel.Size = Vector3.new(loudness,0, 0)
  181. end
  182.  
  183. wait()
  184. sel.BrickColor = color
  185. sel.Material = mat
  186.  
  187. end
  188. end)
  189.  
  190. game:GetService("RunService").RenderStepped:connect(function()
  191. function click()
  192. sound.SoundId = ("rbxassetid://"..id.Text)
  193. sound:Play()
  194. end
  195. function chatted(msg)
  196. msg = string.lower(msg)
  197. if msg == "pompeii" then
  198. sound.SoundId = "rbxassetid://760565932"
  199. elseif msg == "demons" then
  200. sound.SoundId = "rbxassetid://542107070"
  201. elseif msg == "heathens" then
  202. sound.SoundId = "rbxassetid://438917260"
  203. elseif msg == "stressed-out" then
  204. sound.SoundId = "rbxassetid://243372213"
  205. elseif msg == "cmds" then
  206. gui.Enabled = true
  207. frame:TweenPosition(UDim2.new(0.8,0,0.4,0), "Out", "Quad", 1, false)
  208. elseif msg == "dismiss" then
  209. frame:TweenPosition(UDim2.new(3,0,3,0), "Out", "Quad", 1, false)
  210. id:TweenPosition(UDim2.new(1,0,0.2,0), "Out", "Quad", 1, false)
  211. wait(0.5)
  212. gui.Enabled = false
  213. elseif msg == "centuries" then
  214. sound.SoundId = "rbxassetid://677465179"
  215. elseif msg == "believer" then
  216. sound.SoundId = "rbxassetid://781379905"
  217. elseif msg == "play" then
  218. sound:Play()
  219. elseif msg == "stop" then
  220. sound.Playing = false
  221. sound.TimePosition = 0
  222. elseif msg == "id" then
  223. gui.Enabled = true
  224. id:TweenPosition(UDim2.new(0.2,0,0.2,0), "Out", "Quad", 1, false)
  225. elseif msg == "looped/on" then
  226. sound.Looped = true
  227. elseif msg == "looped/off" then
  228. sound.Looped = false
  229. elseif msg == "nred" then
  230. color = BrickColor.new("Really red")
  231. elseif msg == "green" then
  232. color = BrickColor.new("Forest green")
  233. elseif msg == "lgreen" then
  234. color = BrickColor.new("Lime green")
  235. elseif msg == "lblue" then
  236. color = BrickColor.new("Electric blue")
  237. elseif msg == "dblue" then
  238. color = BrickColor.new("Navy blue")
  239. elseif msg == "nblue" then
  240. color = BrickColor.new("Really blue")
  241. elseif msg == "yellow" then
  242. color = BrickColor.new("New Yeller")
  243. elseif msg == "cyan" then
  244. color = BrickColor.new("Toothpaste")
  245. elseif msg == "lpink" then
  246. color = BrickColor.new("Carnation pink")
  247. elseif msg == "hpink" then
  248. color = BrickColor.new("Hot pink")
  249. elseif msg == "purple" then
  250. color = BrickColor.new("Royal purple")
  251. elseif msg == "black" then
  252. color = BrickColor.new("Really black")
  253. elseif msg == "white" then
  254. color = BrickColor.new("White")
  255. elseif msg == "egg" then
  256. color = BrickColor.new("Eggplant")
  257. elseif msg == "randomc" then
  258. color = BrickColor.random()
  259. elseif msg == "neon" then
  260. mat = "Neon"
  261. elseif msg == "slate" then
  262. mat = "Slate"
  263. elseif msg == "granite" then
  264. mat = "Granite"
  265. elseif msg == "plastic" then
  266. mat = "SmoothPlastic"
  267. elseif msg == "marble" then
  268. mat = "Marble"
  269. end
  270.  
  271. end
  272. for i = 1,#parts do
  273. if i == 1 then
  274. parts[i].CFrame = parts[i].CFrame:lerp(torso.CFrame * CFrame.new(0,1,0.55) , 0.9)
  275. else
  276. parts[i].CFrame = parts[i].CFrame:lerp(parts[i - 1].CFrame* CFrame.new(0,-0.05,0.005) * CFrame.Angles(math.sin(-loudness/300),0,0) , 0.8)
  277. end
  278. end
  279. play.MouseButton1Click:connect(click)
  280. player.Chatted:connect(function(msg) chatted(msg)end)
  281. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement