Mr-Shadow_Cat

Tail script

Nov 10th, 2017
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.12 KB | None | 0 0
  1. --[[
  2. edited by mr steal yo bork with a sweet gui
  3. credits goes to the original creators
  4. --]]
  5.  
  6.  
  7. -- visualizer
  8. local Parts = {}
  9. local Parts2 = {}
  10. local Direction = 1
  11. local loudness = 0
  12. local TColor = BrickColor.new("Black")
  13. for i = 1, 100 do
  14. local p = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
  15. p.Size = Vector3.new(0.2, 0.2, 0.2)
  16. p.Anchored = true
  17. p.CanCollide = false
  18. p.Material = "Neon"
  19. p.Position = game.Players.LocalPlayer.Character.Torso.Position
  20. table.insert(Parts, p)
  21. end
  22. for i = 1, 100 do
  23. local p = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
  24. p.Size = Vector3.new(0.2, 0.2, 0.2)
  25. p.Anchored = true
  26. p.CanCollide = false
  27. p.Material = "Neon"
  28. p.Position = game.Players.LocalPlayer.Character.Torso.Position
  29. table.insert(Parts2, p)
  30. end
  31. local sound = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
  32. sound.SoundId = "rbxassetid://142319975"
  33. sound.Volume = 1
  34. sound:Play()
  35. spawn(function()
  36. local SelectedPart = 0
  37. while true do
  38. if Direction == 1 then
  39. if SelectedPart < #Parts then
  40. SelectedPart = SelectedPart + Direction
  41. else
  42. Direction = -1
  43. TColor = BrickColor.Random()
  44. end
  45. elseif Direction == -1 then
  46. if SelectedPart > 1 then
  47. SelectedPart = SelectedPart + Direction
  48. else
  49. Direction = 1
  50. TColor = BrickColor.Random()
  51. end
  52. end
  53. local sel = Parts[SelectedPart]
  54. local sel2 = Parts2[SelectedPart]
  55. sel.BrickColor = BrickColor.Random()
  56. sel2.BrickColor = BrickColor.Random()
  57. loudness = sound.PlaybackLoudness / 500
  58. sel.Size = Vector3.new(loudness, loudness, 0.2)
  59. sel2.Size = Vector3.new(loudness, loudness, 0.2)
  60. wait()
  61. sel.BrickColor = TColor
  62. sel2.BrickColor = TColor
  63. end
  64. end)
  65. game:GetService("RunService").RenderStepped:connect(function()
  66. for i = 1, #Parts do
  67. if i == 1 then
  68. Parts[i].CFrame = Parts[i].CFrame:lerp(game.Players.LocalPlayer.Character.Torso.CFrame, 0.9)
  69. else
  70. Parts[i].CFrame = Parts[i].CFrame:lerp(Parts[i - 1].CFrame * CFrame.Angles(-loudness / 20, math.sin(-loudness / 50), 0) * CFrame.new(0, 0, 0.15), 0.8)
  71. end
  72. end
  73. for i = 1, #Parts2 do
  74. if i == 1 then
  75. Parts2[i].CFrame = Parts2[i].CFrame:lerp(game.Players.LocalPlayer.Character.Torso.CFrame, 0.9)
  76. else
  77. Parts2[i].CFrame = Parts2[i].CFrame:lerp(Parts2[i - 1].CFrame * CFrame.Angles(-loudness / 20, math.sin(loudness / 50), 0) * CFrame.new(0, 0, 0.15), 0.8)
  78. end
  79. end
  80. end)
  81.  
  82. -- visualizer gui
  83.  
  84. local visualizergui = Instance.new("ScreenGui")
  85. local Frame = Instance.new("Frame")
  86. local idvalue = Instance.new("TextBox")
  87. local play = Instance.new("TextButton")
  88. local volume = Instance.new("TextBox")
  89. local pitch = Instance.new("TextBox")
  90. local close = Instance.new("TextButton")
  91. local min = Instance.new("TextButton")
  92. local credits = Instance.new("TextLabel")
  93. local open = Instance.new("TextButton")
  94. local set2 = Instance.new("TextButton")
  95. local set1 = Instance.new("TextButton")
  96. local loop = Instance.new("TextButton")
  97.  
  98. --properties xd
  99. visualizergui.Name = "visualizergui"
  100. visualizergui.Parent = game.Players.LocalPlayer.PlayerGui
  101.  
  102. Frame.Parent = visualizergui
  103. Frame.BackgroundColor3 = Color3.new(0.701961, 0.952941, 1)
  104. Frame.BackgroundTransparency = 0.20000000298023
  105. Frame.BorderColor3 = Color3.new(0.211765, 0.329412, 0.415686)
  106. Frame.BorderSizePixel = 8
  107. Frame.Position = UDim2.new(0, 51, 0, 213)
  108. Frame.Size = UDim2.new(0, 418, 0, 213)
  109. Frame.Active = true
  110. Frame.Draggable = true
  111. Frame.Visible = false
  112.  
  113. idvalue.Name = "idvalue"
  114. idvalue.Parent = Frame
  115. idvalue.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  116. idvalue.BackgroundTransparency = 0.5
  117. idvalue.Size = UDim2.new(0, 418, 0, 50)
  118. idvalue.Font = Enum.Font.Fantasy
  119. idvalue.FontSize = Enum.FontSize.Size24
  120. idvalue.Text = "Put ID plz"
  121. idvalue.TextSize = 24
  122.  
  123. play.Name = "play"
  124. play.Parent = Frame
  125. play.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  126. play.BackgroundTransparency = 0.44999998807907
  127. play.BorderColor3 = Color3.new(0.207843, 0.0901961, 0.0705882)
  128. play.BorderSizePixel = 3
  129. play.Position = UDim2.new(0, 9, 0, 82)
  130. play.Size = UDim2.new(0, 117, 0, 50)
  131. play.Font = Enum.Font.SourceSans
  132. play.FontSize = Enum.FontSize.Size28
  133. play.Text = "Play"
  134. play.TextSize = 28
  135.  
  136. volume.Name = "volume"
  137. volume.Parent = Frame
  138. volume.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  139. volume.BackgroundTransparency = 0.44999998807907
  140. volume.BorderColor3 = Color3.new(0.207843, 0.0901961, 0.0705882)
  141. volume.BorderSizePixel = 3
  142. volume.Position = UDim2.new(0, 151, 0, 82)
  143. volume.Size = UDim2.new(0, 117, 0, 50)
  144. volume.Font = Enum.Font.SourceSans
  145. volume.FontSize = Enum.FontSize.Size28
  146. volume.Text = "Volume"
  147. volume.TextSize = 28
  148.  
  149. pitch.Name = "pitch"
  150. pitch.Parent = Frame
  151. pitch.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  152. pitch.BackgroundTransparency = 0.44999998807907
  153. pitch.BorderColor3 = Color3.new(0.207843, 0.0901961, 0.0705882)
  154. pitch.BorderSizePixel = 3
  155. pitch.Position = UDim2.new(0, 291, 0, 82)
  156. pitch.Size = UDim2.new(0, 117, 0, 50)
  157. pitch.Font = Enum.Font.SourceSans
  158. pitch.FontSize = Enum.FontSize.Size28
  159. pitch.Text = "Pitch"
  160. pitch.TextSize = 28
  161.  
  162. close.Name = "close"
  163. close.Parent = Frame
  164. close.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
  165. close.BackgroundTransparency = 0.40000000596046
  166. close.Position = UDim2.new(0, 393, 0, 190)
  167. close.Size = UDim2.new(0, 25, 0, 23)
  168. close.Font = Enum.Font.SourceSans
  169. close.FontSize = Enum.FontSize.Size28
  170. close.Text = "X"
  171. close.TextSize = 28
  172.  
  173. min.Name = "min"
  174. min.Parent = Frame
  175. min.BackgroundColor3 = Color3.new(0.286275, 0.286275, 1)
  176. min.BackgroundTransparency = 0.40000000596046
  177. min.Position = UDim2.new(0, 357, 0, 190)
  178. min.Size = UDim2.new(0, 25, 0, 23)
  179. min.Font = Enum.Font.SourceSans
  180. min.FontSize = Enum.FontSize.Size36
  181. min.Text = "-"
  182. min.TextSize = 36
  183.  
  184. credits.Name = "credits"
  185. credits.Parent = Frame
  186. credits.BackgroundColor3 = Color3.new(1, 1, 1)
  187. credits.BackgroundTransparency = 1
  188. credits.Position = UDim2.new(0, 0, 0, 161)
  189. credits.Size = UDim2.new(0, 200, 0, 52)
  190. credits.Font = Enum.Font.SourceSans
  191. credits.FontSize = Enum.FontSize.Size14
  192. credits.Text = "credits to mr steal yo bork for gui, i didn't make the visualizer credits to whoever leaked it or made it."
  193. credits.TextSize = 14
  194. credits.TextWrapped = true
  195.  
  196. open.Name = "open"
  197. open.Parent = visualizergui
  198. open.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  199. open.BackgroundTransparency = 0.44999998807907
  200. open.BorderColor3 = Color3.new(0.207843, 0.0901961, 0.0705882)
  201. open.BorderSizePixel = 3
  202. open.Position = UDim2.new(0, 0, 0, 400)
  203. open.Size = UDim2.new(0, 59, 0, 50)
  204. open.Font = Enum.Font.SourceSans
  205. open.FontSize = Enum.FontSize.Size28
  206. open.Text = "Open"
  207. open.TextSize = 28
  208. open.Visible = false
  209.  
  210. set2.Name = "set2"
  211. set2.Parent = Frame
  212. set2.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  213. set2.BackgroundTransparency = 0.44999998807907
  214. set2.BorderColor3 = Color3.new(0.207843, 0.0901961, 0.0705882)
  215. set2.BorderSizePixel = 3
  216. set2.Position = UDim2.new(0, 325, 0, 136)
  217. set2.Size = UDim2.new(0, 55, 0, 25)
  218. set2.Font = Enum.Font.SourceSans
  219. set2.FontSize = Enum.FontSize.Size24
  220. set2.Text = "Set"
  221. set2.TextSize = 24
  222. set2.TextWrapped = true
  223.  
  224. set1.Name = "set1"
  225. set1.Parent = Frame
  226. set1.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  227. set1.BackgroundTransparency = 0.44999998807907
  228. set1.BorderColor3 = Color3.new(0.207843, 0.0901961, 0.0705882)
  229. set1.BorderSizePixel = 3
  230. set1.Position = UDim2.new(0, 181, 0, 136)
  231. set1.Size = UDim2.new(0, 55, 0, 25)
  232. set1.Font = Enum.Font.SourceSans
  233. set1.FontSize = Enum.FontSize.Size24
  234. set1.Text = "Set"
  235. set1.TextSize = 24
  236. set1.TextWrapped = true
  237.  
  238. loop.Name = "loop"
  239. loop.Parent = Frame
  240. loop.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  241. loop.BackgroundTransparency = 0.44999998807907
  242. loop.BorderColor3 = Color3.new(0.207843, 0.0901961, 0.0705882)
  243. loop.BorderSizePixel = 3
  244. loop.Position = UDim2.new(0, 241, 0, 188)
  245. loop.Size = UDim2.new(0, 84, 0, 25)
  246. loop.Font = Enum.Font.SourceSans
  247. loop.FontSize = Enum.FontSize.Size18
  248. loop.Text = "Loop : OFF"
  249. loop.TextSize = 18
  250. loop.TextWrapped = true
  251.  
  252. -- functions
  253. function start()
  254. wait(0.5)
  255. Frame.Position = UDim2.new(0, -500, 0, 400)
  256. Frame.Visible = true
  257. Frame:TweenPosition(UDim2.new(0, 0, 0, 400),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,1)
  258. end
  259.  
  260. if game.Players.LocalPlayer.Character then
  261. start()
  262. else
  263. print'character not found plz try again XD'
  264. end
  265.  
  266. function minimize()
  267. Frame:TweenPosition(UDim2.new(0, 0, 0, 400),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,1)
  268. credits.Text = ""
  269. min.Text = ""
  270. close.Text = ""
  271. play.Text = ""
  272. pitch.Text = ""
  273. volume.Text = ""
  274. idvalue.Text = ""
  275. set1.Text = ""
  276. set2.Text = ""
  277. loop.Text = ""
  278. Frame:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  279. credits:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  280. min:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  281. close:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  282. idvalue:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  283. volume:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  284. play:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  285. pitch:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  286. loop:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  287. set1:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  288. set2:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  289. Frame:TweenPosition(UDim2.new(0, 0, 0, 400),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  290. wait(0.5)
  291. Frame.Visible = false
  292. open.Visible = true
  293. end
  294.  
  295. function show()
  296. open.Visible = false
  297. Frame.Position = UDim2.new(0, -500, 0, 400)
  298. Frame.Visible = true
  299. credits.Text = "credits to me for gui, i didn't make the visualizer credits to whoever leaked it or made it."
  300. min.Text = "-"
  301. close.Text = "X"
  302. play.Text = "Play"
  303. pitch.Text = "Pitch"
  304. volume.Text = "Volume"
  305. idvalue.Text = "Put ID plz"
  306. set1.Text = "Set"
  307. set2.Text = "Set"
  308. loop.Text = "Loop : OFF"
  309. Frame:TweenSize(UDim2.new(0, 418, 0, 213),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  310. credits:TweenSize(UDim2.new(0, 200, 0, 52),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  311. min:TweenSize(UDim2.new(0, 25, 0, 23),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  312. close:TweenSize(UDim2.new(0, 25, 0, 23),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  313. idvalue:TweenSize(UDim2.new(0, 418, 0, 50),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  314. volume:TweenSize(UDim2.new(0, 117, 0, 50),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  315. play:TweenSize(UDim2.new(0, 117, 0, 50),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  316. pitch:TweenSize(UDim2.new(0, 117, 0, 50),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  317. set1:TweenSize(UDim2.new(0, 55, 0, 25),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  318. loop:TweenSize(UDim2.new(0, 84, 0, 25),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  319. set2:TweenSize(UDim2.new(0, 55, 0, 25),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  320. Frame:TweenPosition(UDim2.new(0, 0, 0, 400),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint, 0.5)
  321. end
  322.  
  323. function exitdatshit()
  324. Frame:TweenPosition(UDim2.new(0, 0, 0, 400),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,1)
  325. credits.Text = ""
  326. min.Text = ""
  327. close.Text = ""
  328. play.Text = ""
  329. pitch.Text = ""
  330. volume.Text = ""
  331. idvalue.Text = ""
  332. Frame:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  333. credits:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  334. min:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  335. close:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  336. idvalue:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  337. volume:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  338. play:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  339. pitch:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  340. set1:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  341. set2:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  342. loop:TweenSize(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  343. Frame:TweenPosition(UDim2.new(0, 0, 0, 400),Enum.EasingDirection.InOut,Enum.EasingStyle.Quint,0.5)
  344. wait(0.5)
  345. visualizergui:Destroy()
  346. end
  347.  
  348. -- events
  349. wait(1)
  350. min.MouseButton1Down:connect(function()
  351. minimize()
  352. end)
  353.  
  354. open.MouseButton1Down:connect(function()
  355. show()
  356. end)
  357.  
  358. close.MouseButton1Down:connect(function()
  359. exitdatshit()
  360. end)
  361.  
  362. set1.MouseButton1Down:connect(function()
  363. sound.Volume = volume.Text
  364. end)
  365.  
  366. set2.MouseButton1Down:connect(function()
  367. sound.Pitch = pitch.Text
  368. end)
  369.  
  370. play.MouseButton1Down:connect(function()
  371. sound.TimePosition = 0
  372. sound.SoundId = "rbxassetid://" .. idvalue.Text
  373. end)
  374.  
  375. loop.MouseButton1Down:connect(function()
  376. if loop.Text == "Loop : OFF" then
  377. sound.Looped = true
  378. loop.Text = "Loop : ON"
  379. else
  380. sound.Looped = false
  381. loop.Text = "Loop : OFF"
  382. end
  383. end)
  384. CV="White"
  385.  
  386. p = game.Players.LocalPlayer
  387. char = p.Character
  388. local txt = Instance.new("BillboardGui", char)
  389. txt.Adornee = char .Head
  390. txt.Name = "_status"
  391. txt.Size = UDim2.new(2, 0, 1.2, 0)
  392. txt.StudsOffset = Vector3.new(-9, 8, 0)
  393. local text = Instance.new("TextLabel", txt)
  394. text.Size = UDim2.new(10, 0, 7, 0)
  395. text.FontSize = "Size24"
  396. text.TextScaled = true
  397. text.TextTransparency = 0
  398. text.BackgroundTransparency = 1
  399. text.TextTransparency = 0
  400. text.TextStrokeTransparency = 1
  401. text.Font = "Arcade"
  402. text.TextStrokeColor3 = Color3.new(0,0,255)
  403.  
  404. v=Instance.new("Part")
  405. v.Name = "ColorBrick"
  406. v.Parent=p.Character
  407. v.FormFactor="Symmetric"
  408. v.Anchored=true
  409. v.CanCollide=false
  410. v.BottomSurface="Smooth"
  411. v.TopSurface="Smooth"
  412. v.Size=Vector3.new(10,5,3)
  413. v.Transparency=1
  414. v.CFrame=char.Torso.CFrame
  415. v.BrickColor=BrickColor.new(CV)
  416. v.Transparency=1
  417. text.TextColor3 = Color3.new(0,0,0)
  418. v.Shape="Block"
  419. text.Text = "Mr.Shadow Cat"
  420. coroutine.wrap(function()
  421. while wait() do
  422. wait(3)
  423. text.Text = "You can't have my edits"
  424. wait(1)
  425. text.Text = "Mr.Shadow Cat";
  426. wait(2)
  427. local str = ""
  428. for i = 1, math.random(3,25) do
  429. str = str..string.char(math.random(65,122))
  430. end
  431. text.Text = str
  432. wait()
  433. str = ""
  434. for i = 1, math.random(12,25) do
  435. str = str..string.char(math.random(48,122))
  436. end
  437. wait()
  438. text.Text = str
  439. wait()
  440. text.Text = "Mr.Shadow Cat";
  441. wait(1)
  442. text.Text = "SHUT UP"
  443. wait()
  444. text.Text = "What do you want?"
  445. wait(1)
  446. text.Text = "Mr.Shadow Cat";
  447. wait(2)
  448. text.Text = "You made me do this.";
  449. wait()
  450. text.Text = ":3";
  451. wait(1)
  452. for i = 1, math.random(12,25) do
  453. str = str..string.char(math.random(48,57))
  454. end
  455. text.Text = str
  456. wait()
  457. text.Text = "Mr.Shadow Cat";
  458. wait(2)
  459. end
  460. end)()
Add Comment
Please, Sign In to add comment