Advertisement
Narwhalable

Untitled

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