Advertisement
refrop

vegito v4

Feb 22nd, 2018
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 31.58 KB | None | 0 0
  1. --[[ vegetto music player 1.0
  2.  
  3. https://www.roblox.com/users/58288186/profile
  4. http://pastebin.com/u/memesbruh03
  5.  
  6. ]]
  7.  
  8. --[[
  9.  
  10. what's new?
  11.  
  12. - 1.1.0
  13. · prints starting message
  14. · you can now choose what colour (cyan by default) you want it to be if you want to post this as a new script/paste
  15. · clicking the play button now shows bgm info on top
  16. · main frame is now draggable (might not work but could be fixed soon)
  17.  
  18. - 1.2.0
  19. · now you can set the font for the music player itself
  20. · dragging the gui still doesn't work
  21. · new bgm info appears above character
  22.  
  23. - 1.3.0
  24. · bgm info appears above screen again
  25. · GUI now has sounds
  26. · default appearance changed
  27.  
  28. - 1.3.1
  29. · sounds work correctly
  30. · default appearance changed
  31. · I'm not actually gonna work on the draggable frame, as it's 2hard4me
  32.  
  33. - 1.4.0
  34. · users can now play audio from hash codes (i.e. 7b509300b5bed2c924d6a0bda990d33b)
  35. · not only that, but the music player itself is also larger
  36. · it's also pretty rare to find working songs like these.
  37. · you can now set the style of title when it disappears, but only when you save post this as a new paste
  38. · custom() now works properly
  39.  
  40. ]]
  41.  
  42. print("vegetto music player version 1.0")
  43.  
  44. -- define player variable
  45. local Player=game.Players.LocalPlayer
  46.  
  47. -- appearance
  48. col=Color3.fromRGB(255, 255, 0) -- blue color
  49. font=Enum.Font.SciFi
  50. style="Fade"
  51.  
  52. -- creation of gui
  53. local scrg=Instance.new("ScreenGui",Player.PlayerGui)
  54. local credit=Instance.new("TextLabel",scrg)
  55. credit.BackgroundColor3=Color3.fromRGB(255, 170, 0)
  56. credit.BackgroundTransparency=1
  57. credit.Position=UDim2.new(0,0,1,-18)
  58. credit.Size=UDim2.new(1,0,0,18)
  59. credit.Font=font
  60. credit.FontSize=Enum.FontSize.Size18
  61. credit.Text="More SCRIPTS by adchand2 available at: http://pastebin.com/u/memesbruh03"
  62. credit.TextColor3=Color3.fromRGB(255,255,255)
  63. credit.TextScaled=true
  64. credit.TextStrokeTransparency=0.5
  65. credit.TextWrapped=true
  66. credit.TextXAlignment=Enum.TextXAlignment.Left
  67. local title=Instance.new("TextLabel",scrg)
  68. title.BackgroundTransparency=1
  69. title.FontSize=Enum.FontSize.Size60
  70. title.Font=font
  71. title.Size=UDim2.new(1,0,0.25)
  72. title.TextColor3=col
  73. title.TextStrokeTransparency=0.5
  74. title.Text="adchand2's Music Player GUI v1.4.0"
  75. local main=Instance.new("Frame",scrg)
  76. main.BackgroundColor3=Color3.fromRGB(0,0,0)
  77. main.BackgroundTransparency=0.5
  78. main.BorderColor3=col
  79. main.BorderSizePixel=5
  80. main.Position=UDim2.new(0,0,0.5,-100)
  81. main.Size=UDim2.new(0,400,0,90)
  82. main.Selectable=true
  83. main.Draggable=true
  84. local loopcol=Instance.new("Frame",main)
  85. loopcol.BackgroundTransparency=1
  86. loopcol.Size=UDim2.new(1,0,0.2,0)
  87. local ltitle=Instance.new("TextLabel",loopcol)
  88. ltitle.BackgroundColor3=Color3.fromRGB(255,255,255)
  89. ltitle.BackgroundTransparency=1
  90. ltitle.Size=UDim2.new(1,0,1,0)
  91. ltitle.Font=font
  92. ltitle.FontSize=Enum.FontSize.Size18
  93. ltitle.Text="Looped"
  94. ltitle.TextColor3=col
  95. ltitle.TextXAlignment=Enum.TextXAlignment.Left
  96. ltitle.Active=false
  97. local ltrue=Instance.new("TextButton",loopcol)
  98. ltrue.BackgroundColor3=Color3.fromRGB(0,0,0)
  99. ltrue.BackgroundTransparency=0.5
  100. ltrue.BorderSizePixel=0
  101. ltrue.Position=UDim2.new(0.5,0,0,0)
  102. ltrue.Size=UDim2.new(0.25,0,1,0)
  103. ltrue.Font=font
  104. ltrue.FontSize=Enum.FontSize.Size18
  105. ltrue.Text="true"
  106. ltrue.TextColor3=Color3.fromRGB(255,255,255)
  107. local lfalse=Instance.new("TextButton",loopcol)
  108. lfalse.Name="TextButton2"
  109. lfalse.BackgroundColor3=Color3.fromRGB(0,0,0)
  110. lfalse.BackgroundTransparency=0.5
  111. lfalse.BorderSizePixel=0
  112. lfalse.Position=UDim2.new(0.75,0,0,0)
  113. lfalse.Size=UDim2.new(0.25,0,1,0)
  114. lfalse.Font=font
  115. lfalse.FontSize=Enum.FontSize.Size18
  116. lfalse.Text="false"
  117. lfalse.TextColor3=Color3.fromRGB(255,255,255)
  118. local pscol=Instance.new("Frame",main)
  119. pscol.Name="Frame2"
  120. pscol.BackgroundTransparency=1
  121. pscol.Position=UDim2.new(0,0,0.2,0)
  122. pscol.Size=UDim2.new(1,0,0.2,0)
  123. local pstitle=Instance.new("TextLabel",pscol)
  124. pstitle.BackgroundTransparency=1
  125. pstitle.Size=UDim2.new(1,0,1,0)
  126. pstitle.Font=font
  127. pstitle.FontSize=Enum.FontSize.Size18
  128. pstitle.Text="PlaybackSpeed"
  129. pstitle.TextColor3=col
  130. pstitle.TextXAlignment=Enum.TextXAlignment.Left
  131. pstitle.Active=false
  132. local psfield=Instance.new("TextBox",pscol)
  133. psfield.BackgroundColor3=Color3.fromRGB(0,0,0)
  134. psfield.BackgroundTransparency=0.5
  135. psfield.BorderSizePixel=0
  136. psfield.Position=UDim2.new(0.5,0,0,0)
  137. psfield.Size=UDim2.new(0.5,0,1,0)
  138. psfield.Font=font
  139. psfield.FontSize=Enum.FontSize.Size18
  140. psfield.Text="Input Here"
  141. psfield.TextColor3=Color3.fromRGB(255,255,255)
  142. psfield.TextScaled=true
  143. local sidcol=Instance.new("Frame",main)
  144. sidcol.Name="Frame3"
  145. sidcol.BackgroundTransparency=1
  146. sidcol.Position=UDim2.new(0,0,0.4,0)
  147. sidcol.Size=UDim2.new(1,0,0.2,0)
  148. local sidtitle=Instance.new("TextLabel",sidcol)
  149. sidtitle.BackgroundColor3=Color3.fromRGB(255,255,255)
  150. sidtitle.BackgroundTransparency=1
  151. sidtitle.Size=UDim2.new(1,0,1,0)
  152. sidtitle.Font=font
  153. sidtitle.FontSize=Enum.FontSize.Size18
  154. sidtitle.Text="SoundId"
  155. sidtitle.TextColor3=col
  156. sidtitle.TextXAlignment=Enum.TextXAlignment.Left
  157. sidtitle.Active=false
  158. local sidfield=Instance.new("TextBox",sidcol)
  159. sidfield.BackgroundColor3=Color3.fromRGB(0,0,0)
  160. sidfield.BackgroundTransparency=0.5
  161. sidfield.BorderSizePixel=0
  162. sidfield.Position=UDim2.new(0.5,0,0,0)
  163. sidfield.Size=UDim2.new(0.5,0,1,0)
  164. sidfield.Font=font
  165. sidfield.FontSize=Enum.FontSize.Size18
  166. sidfield.Text="Input Here"
  167. sidfield.TextColor3=Color3.fromRGB(255,255,255)
  168. sidfield.TextScaled=true
  169. local volucol=Instance.new("Frame",main)
  170. volucol.Name="Frame4"
  171. volucol.BackgroundColor3=Color3.new(1,1,1)
  172. volucol.BackgroundTransparency=1
  173. volucol.Position=UDim2.new(0,0,0.6,0)
  174. volucol.Size=UDim2.new(1,0,0.2,0)
  175. local volutitle=Instance.new("TextLabel",volucol)
  176. volutitle.BackgroundColor3=Color3.fromRGB(255,255,255)
  177. volutitle.BackgroundTransparency=1
  178. volutitle.Size=UDim2.new(1,0,1,0)
  179. volutitle.Font=font
  180. volutitle.FontSize=Enum.FontSize.Size18
  181. volutitle.Text="Volume"
  182. volutitle.TextColor3=col
  183. volutitle.TextXAlignment=Enum.TextXAlignment.Left
  184. volutitle.Active=false
  185. local volufield= Instance.new("TextBox",volucol)
  186. volufield.BackgroundColor3=Color3.fromRGB(0,0,0)
  187. volufield.BackgroundTransparency=0.5
  188. volufield.BorderSizePixel=0
  189. volufield.Position=UDim2.new(0.5,0,0,0)
  190. volufield.Size=UDim2.new(0.5,0,1,0)
  191. volufield.Font=font
  192. volufield.FontSize=Enum.FontSize.Size18
  193. volufield.Text="Input Here"
  194. volufield.TextColor3=Color3.fromRGB(255,255,255)
  195. volufield.TextScaled=true
  196. local control=Instance.new("Frame",main)
  197. control.Name="Frame5"
  198. control.BackgroundColor3=Color3.fromRGB(255,255,255)
  199. control.BackgroundTransparency=1
  200. control.Position=UDim2.new(0,0,0.8,0)
  201. control.Size=UDim2.new(1,0,0.2,0)
  202. local pleh1=Instance.new("TextButton",control)
  203. pleh1.BackgroundColor3=Color3.fromRGB(0,0,0)
  204. pleh1.BackgroundTransparency=0.5
  205. pleh1.BorderSizePixel=0
  206. pleh1.Size=UDim2.new(0.25,0,1,0)
  207. pleh1.Font=font
  208. pleh1.FontSize=Enum.FontSize.Size18
  209. pleh1.Text="Play Music"
  210. pleh1.TextColor3=Color3.fromRGB(255,255,255)
  211. local pleh2=Instance.new("TextButton",control)
  212. pleh2.BackgroundColor3=Color3.fromRGB(0,0,0)
  213. pleh2.BackgroundTransparency=0.5
  214. pleh2.BorderSizePixel=0
  215. pleh2.Position=UDim2.new(0.25,0,0,0)
  216. pleh2.Size=UDim2.new(0.25,0,1,0)
  217. pleh2.Font=font
  218. pleh2.FontSize=Enum.FontSize.Size18
  219. pleh2.Text="Play # Music"
  220. pleh2.TextColor3=Color3.fromRGB(255,255,255)
  221. local stahp=Instance.new("TextButton",control)
  222. stahp.Name="TextButton2"
  223. stahp.BackgroundColor3=Color3.fromRGB(0,0,0)
  224. stahp.BackgroundTransparency=0.5
  225. stahp.BorderSizePixel=0
  226. stahp.Position=UDim2.new(0.5, 0, 0, 0)
  227. stahp.Size=UDim2.new(0.5, 0, 1, 0)
  228. stahp.Font=font
  229. stahp.FontSize=Enum.FontSize.Size18
  230. stahp.Text="Stop Music"
  231. stahp.TextColor3=Color3.fromRGB(255,255,255)
  232. -- yay! creation is finished!
  233. -- but wait... ...there's more...
  234.  
  235.  
  236. -- this is the fun part...
  237.  
  238. -- define looped variable
  239. looped=true
  240.  
  241. function create()
  242. local sound=Instance.new("Sound",workspace)
  243. sound.Name="MusicGUIsong"
  244. end
  245.  
  246. function del()
  247. if workspace.MusicGUIsong.IsPlaying==true then
  248. workspace.MusicGUIsong:Destroy()
  249. end
  250. end
  251.  
  252. function informii()
  253. --[[local doublecheckplayer=game.Players.LocalPlayer.Name
  254. local wp=workspace:findFirstChild(doublecheckplayer)
  255. local hed=wp.Head
  256. local b=Instance.new("BillboardGui",hed)
  257. b.StudsOffset=Vector3.new(0,4,0)
  258. b.Size=UDim2.new(18,0,4,0)
  259. b.Adornee=hed
  260. local t=Instance.new("TextLabel",b)
  261. t.BackgroundTransparency=1
  262. t.TextColor3=col]]
  263. --t.Text=[[SoundId playing: ]]..sidfield.Text..[[
  264. --PlaybackSpeed: ]]..psfield.Text..[[
  265. --Volume: ]]..volufield.Text
  266. --[[t.Font=font
  267. t.Size=UDim2.new(1,0,1,0) -- keeping this here in case I want to use it again
  268. t.TextScaled=true
  269. wait(5)
  270. t:Destroy()]]
  271. local h=Instance.new("Hint",workspace)
  272. h.Text="SoundId playing: "..sidfield.Text.." - PlaybackSpeed: "..psfield.Text.." - Volume: "..volufield.Text
  273. wait(5)
  274. h:Destroy()
  275. end
  276.  
  277. function custom(texts) -- custom notification
  278. local wp=workspace:FindFirstChild(Player.Name)
  279. local hed=wp.Head
  280. local b=Instance.new("BillboardGui",hed)
  281. b.StudsOffset=Vector3.new(0,4,0)
  282. b.Size=UDim2.new(18,0,6,0)
  283. b.Adornee=hed
  284. local t=Instance.new("TextLabel",b)
  285. t.BackgroundTransparency=1
  286. t.TextColor3=col
  287. t.Text=texts
  288. t.Font=font
  289. t.Size=UDim2.new(1,0,1,0)
  290. t.TextScaled=true
  291. wait(5)
  292. repeat
  293. wait(0.05)
  294. t.TextTransparency=t.TextTransparency+0.1
  295. until
  296. t.TextTransparency==1
  297. t:Destroy()
  298. end
  299.  
  300. function makesound(id)
  301. local s=Instance.new("Sound",main)
  302. s.SoundId=id
  303. s.Volume=1
  304. s.PlaybackSpeed=1
  305. s:Play()
  306. end
  307.  
  308. ltrue.MouseButton1Click:connect(function()
  309. looped=true
  310. end)
  311. lfalse.MouseButton1Click:connect(function()
  312. looped=false
  313. end)
  314. pleh1.MouseButton1Click:connect(function()
  315. create()
  316. workspace.MusicGUIsong.Looped=looped
  317. workspace.MusicGUIsong.PlaybackSpeed=psfield.Text
  318. workspace.MusicGUIsong.SoundId="rbxassetid://"..sidfield.Text
  319. workspace.MusicGUIsong.Volume=volufield.Text
  320. workspace.MusicGUIsong:Play()
  321. informii()
  322. end)
  323. pleh2.MouseButton1Click:connect(function()
  324. create()
  325. workspace.MusicGUIsong.Looped=looped
  326. workspace.MusicGUIsong.PlaybackSpeed=psfield.Text
  327. workspace.MusicGUIsong.SoundId="http://www.roblox.com/asset/?hash="..sidfield.Text
  328. workspace.MusicGUIsong.Volume=volufield.Text
  329. workspace.MusicGUIsong:Play()
  330. informii()
  331. end)
  332. stahp.MouseButton1Click:connect(function()
  333. del()
  334. end)
  335.  
  336. -- sounds
  337.  
  338. ltrue.MouseButton1Click:connect(function()
  339. makesound("rbxassetid://156785206")
  340. end)
  341.  
  342. lfalse.MouseButton1Click:connect(function()
  343. makesound("rbxassetid://156785206")
  344. end)
  345.  
  346. psfield.SelectionGained:connect(function()
  347. makesound("rbxassetid://156785206")
  348. end)
  349.  
  350. psfield.Changed:connect(function()
  351. makesound("rbxassetid://215658476")
  352. end)
  353.  
  354. sidfield.SelectionGained:connect(function()
  355. makesound("rbxassetid://156785206")
  356. end)
  357.  
  358. sidfield.Changed:connect(function()
  359. makesound("rbxassetid://215658476")
  360. end)
  361.  
  362. volufield.SelectionGained:connect(function()
  363. makesound("rbxassetid://156785206")
  364. end)
  365.  
  366. volufield.Changed:connect(function()
  367. makesound("rbxassetid://215658476")
  368. end)
  369.  
  370. pleh1.MouseButton1Click:connect(function()
  371. makesound("rbxassetid://156785206")
  372. end)
  373.  
  374. pleh2.MouseButton1Click:connect(function()
  375. makesound("rbxassetid://156785206")
  376. end)
  377.  
  378. stahp.MouseButton1Click:connect(function()
  379. makesound("rbxassetid://156785206")
  380. end)
  381.  
  382. -- title fade after 3 seconds
  383.  
  384. wait(3)
  385. if style=="Fade" then
  386. repeat
  387. wait(0.05)
  388. title.TextTransparency=title.TextTransparency+0.01
  389. title.TextStrokeTransparency=title.TextStrokeTransparency+0.005
  390. until
  391. title.TextTransparency>=1 and title.TextStrokeTransparency>=1
  392. title:Destroy()
  393. elseif style=="Shrink" then
  394. repeat
  395. wait(0.05)
  396. title.TextSize=title.TextSize-1
  397. until
  398. title.TextSize==1
  399. title:Destroy()
  400. elseif style=="Hide" then
  401. title:TweenPosition(UDim2.new(0,0,-1,0),"In","Back",1)
  402. wait(1)
  403. title:Destroy()
  404. else
  405. print([[style "]]..style..[[" is invalid, returning "Fade"]])
  406. repeat
  407. wait(0.05)
  408. title.TextTransparency=title.TextTransparency+0.01
  409. title.TextStrokeTransparency=title.TextStrokeTransparency+0.005
  410. until
  411. title.TextTransparency>=1 and title.TextStrokeTransparency>=1
  412. title:Destroy()
  413. end
  414.  
  415. custom("refrop music player 1.4.0 is now prepared")
  416. print("refrop music player 1.4.0 is at the end!")
  417. print(_vegetto.." vegetto version!")
  418. --[[ Controls
  419.  
  420. H = Replaces you with a Clone so people think they killed you but they actually did not.
  421. I = Become visible, usually helpful when you're invisible after you press H
  422. T = Tp to your mouse
  423. C = Remove clones
  424. Q = toggle mouse follow (default is non mouse follow)
  425. E = Summons 5 clones around you
  426. L = Spawns a clone on ur mouse
  427. R = Rasengan only for you
  428. F = Rasengan for clones
  429. X = Make clones ride each other ( buggy )
  430.  
  431. --]]
  432.  
  433. plr = game:service'Players'.LocalPlayer
  434. char = plr.Character
  435. cam = workspace.Camera
  436. m = plr:GetMouse()
  437. char.Archivable = true
  438.  
  439. cooldown = true
  440. disable = true
  441. rad = math.rad
  442. cloneamount = 0
  443. mfol = false
  444. biju = false
  445. rid = false
  446. rs = false
  447.  
  448. ras = {
  449.  
  450. }
  451.  
  452. welds= {
  453.  
  454. }
  455.  
  456. welds2 = {
  457.  
  458. }
  459.  
  460. mcs = {
  461.  
  462. }
  463.  
  464. clones = {
  465.  
  466. }
  467.  
  468. char:FindFirstChildOfClass'Humanoid'.WalkSpeed = 32
  469. char:FindFirstChildOfClass'Humanoid'.JumpPower = 100
  470.  
  471. hair = Instance.new("Part", char)
  472. hair.Size = Vector3.new(0.2,0.2,0.2)
  473. hairmesh = Instance.new("SpecialMesh", hair)
  474. hairmesh.MeshId = "rbxassetid://520462259"
  475. hairmesh.Scale = Vector3.new(0.07, 0.07, 0.074)
  476. hairmesh.TextureId = "rbxassetid://50891353"
  477. hair.Transparency = 0
  478. hair.CanCollide = false
  479. hair.Name = "plrhair"
  480. hair.Anchored = false
  481. hair.BrickColor = BrickColor.new("Really blue")
  482. Weld = Instance.new("Weld", char)
  483. Weld.Part0 = char["Head"]
  484. Weld.Part1 = hair
  485. Weld.C1 = CFrame.new(0, 0.4, 0.1)*CFrame.Angles(0,rad(180),0)
  486.  
  487. for _, a in pairs(char:children()) do
  488. if a:IsA'Accessory' or a:IsA'CharacterMesh' or a:IsA'Pants' or a:IsA'Shirt' then
  489. a:Destroy()
  490. end
  491. end
  492.  
  493. char.Head.face.Texture = "http://www.roblox.com/asset/?id=563969879"
  494.  
  495. local s = Instance.new('Shirt', char)
  496. s.ShirtTemplate = "rbxassetid://705356376"
  497. local p = Instance.new('Pants', char)
  498. p.PantsTemplate = "rbxassetid://379785272"
  499.  
  500. function crasengan(a)
  501. coroutine.resume(coroutine.create(function()
  502. local sou =Instance.new("Sound")
  503. sou.Pitch =1
  504. sou.Volume= 3
  505. sou.SoundId= "rbxassetid://232213955"
  506. sou.Parent= a["Head"]
  507. sou:Play()
  508. local arm= {a["Right Arm"]}
  509. a.Torso["Right Shoulder"].Archivable =true
  510. part1 =Instance.new("Part")
  511. table.insert(ras,part1)
  512. part1.CFrame =a["Right Arm"].CFrame
  513. part1.Parent =a
  514. part1.Name= "TriggerR"
  515. part1.Transparency =0.560
  516. part1.Shape ="Ball"
  517. part1.BrickColor= BrickColor.new("Lime green")
  518. part1.TopSurface =0
  519. part1.Material="Neon"
  520. part1.BottomSurface =0
  521. part1.CanCollide=false
  522. part1.Size =Vector3.new(2,2,2)
  523. part1.Anchored =false
  524. local mc =a.Torso["Right Shoulder"]:Clone()
  525. table.insert(mcs,mc)
  526. weld = Instance.new("Weld",arm[1])
  527. table.insert(welds,mc)
  528. weld.Part0=a.Torso
  529. weld.Part1=weld.Parent
  530. weld.C1 =CFrame.new(-1.5,.5,.5)*CFrame.Angles(math.rad(-90),0,0)
  531. part1.CFrame = a["Right Arm"].CFrame* CFrame.new(0,1, 1.75)
  532. local Weld= Instance.new("Weld", a)
  533. Weld.Part0= a["Right Arm"]
  534. Weld.Part1=part1
  535. Weld.C1=CFrame.new(0,1.75,0)*CFrame.fromEulerAnglesXYZ(0,0,0)
  536.  
  537. part1.Touched:connect(function(hit)
  538. part1.Transparency = 1
  539. if hit.Parent:FindFirstChild("Humanoid") then
  540. if hit.Parent.Name ~= plr.Name and rs then
  541. rs = false
  542. for _, a in pairs(ras) do
  543. a:Destroy()
  544. end
  545. local part2 = part1:Clone()
  546. table.insert(ras,part2)
  547. part2.Name = "FakeR"
  548. part1:Destroy()
  549. weld:Destroy()
  550. mc.Parent = a.Torso
  551. for _, a in pairs(mcs) do
  552. for _, b in pairs(clones) do
  553. if b:FindFirstChild'Torso' then
  554. a.Parent = b.Torso
  555. end
  556. end
  557. end
  558. part2.Parent = hit.Parent
  559. part2.Transparency = 0
  560. local Weld = Instance.new("Weld", a)
  561. Weld.Part0 = hit.Parent.HumanoidRootPart
  562. Weld.Part1 = part2
  563. Weld.C1 = CFrame.new(0, 1, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  564. local bv = Instance.new('BodyVelocity')
  565. bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  566. bv.P = 7555
  567. bv.Velocity = hit.Parent:FindFirstChild("Head").CFrame.lookVector + Vector3.new(math.random(-100,1),math.random(0,1),math.random(-100,1))
  568. bv.Parent = hit.Parent:FindFirstChild("HumanoidRootPart")
  569. game.Debris:AddItem(bv, 0.6)
  570. wait(0.6)
  571. ypcall(function()
  572. hit.Parent:FindFirstChild('HumanoidRootPart').Anchored = true
  573. end)
  574. part2.Anchored = true
  575. for i=0,15,1 do
  576. wait(.05)
  577. part2.Transparency = part2.Transparency + 0.1
  578. part2.Size = part2.Size + Vector3.new(10,10,10)
  579. end
  580. part2:Destroy()
  581. ypcall(function()
  582. hit.Parent:FindFirstChild('HumanoidRootPart').Anchored = false
  583. hit.Parent:BreakJoints()
  584. end)
  585. end
  586. end
  587. end)
  588. end))
  589. end
  590.  
  591. function rasengan(a)
  592. coroutine.resume(coroutine.create(function()
  593. local sou =Instance.new("Sound")
  594. sou.Pitch =1
  595. sou.Volume= 3
  596. sou.SoundId= "rbxassetid://232213955"
  597. sou.Parent= a["Head"]
  598. sou:Play()
  599. local arm= {a["Right Arm"]}
  600. a.Torso["Right Shoulder"].Archivable =true
  601. part1 =Instance.new("Part")
  602. table.insert(ras,part1)
  603. part1.CFrame =a["Right Arm"].CFrame
  604. part1.Parent =a
  605. part1.Name= "TriggerR"
  606. part1.Transparency =0.560
  607. part1.Shape ="Ball"
  608. part1.BrickColor= BrickColor.new("Toothpaste")
  609. part1.TopSurface =0
  610. part1.Material="Neon"
  611. part1.BottomSurface =0
  612. part1.CanCollide=false
  613. part1.Size =Vector3.new(2,2,2)
  614. part1.Anchored =false
  615. local mc =a.Torso["Right Shoulder"]:Clone()
  616. weld = Instance.new("Weld",arm[1])
  617. weld.Part0=a.Torso
  618. weld.Part1=weld.Parent
  619. weld.C1 =CFrame.new(-1.5,.5,.5)*CFrame.Angles(math.rad(-90),0,0)
  620. part1.CFrame = a["Right Arm"].CFrame* CFrame.new(0,1, 1.75)
  621. local Weld= Instance.new("Weld", a)
  622. Weld.Part0= a["Right Arm"]
  623. Weld.Part1=part1
  624. Weld.C1=CFrame.new(0,1.75,0)*CFrame.fromEulerAnglesXYZ(0,0,0)
  625.  
  626. part1.Touched:connect(function(hit)
  627. part1.Transparency = 1
  628. if hit.Parent:FindFirstChild("Humanoid") then
  629. if hit.Parent.Name ~= plr.Name and rs then
  630. rs = false
  631. for _, a in pairs(ras) do
  632. a:Destroy()
  633. end
  634. local part2 = part1:Clone()
  635. table.insert(ras,part2)
  636. part2.Name = "FakeR"
  637. part1:Destroy()
  638. weld:Destroy()
  639. mc.Parent = a.Torso
  640. part2.Parent = hit.Parent
  641. part2.Transparency = 0
  642. local Weld = Instance.new("Weld", a)
  643. Weld.Part0 = hit.Parent.HumanoidRootPart
  644. Weld.Part1 = part2
  645. Weld.C1 = CFrame.new(0, 1, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  646. local bv = Instance.new('BodyVelocity')
  647. bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  648. bv.P = 7555
  649. bv.Velocity = hit.Parent:FindFirstChild("Head").CFrame.lookVector + Vector3.new(math.random(-100,1),math.random(0,1),math.random(-100,1))
  650. bv.Parent = hit.Parent:FindFirstChild("HumanoidRootPart")
  651. game.Debris:AddItem(bv, 0.6)
  652. wait(0.6)
  653. ypcall(function()
  654. hit.Parent:FindFirstChild('HumanoidRootPart').Anchored = true
  655. end)
  656. part2.Anchored = true
  657. for i=0,15,1 do
  658. wait(.05)
  659. part2.Transparency = part2.Transparency + 0.1
  660. part2.Size = part2.Size + Vector3.new(10,10,10)
  661. end
  662. part2:Destroy()
  663. ypcall(function()
  664. hit.Parent:FindFirstChild('HumanoidRootPart').Anchored = false
  665. hit.Parent:BreakJoints()
  666. end)
  667. end
  668. end
  669. end)
  670. end))
  671. end
  672.  
  673. function ride()
  674. ypcall(function()
  675. local b = 1
  676. local last = #clones
  677. for _, a in pairs(clones) do
  678. wait(.05)
  679. local minus = #clones
  680. local plus = #clones - 1
  681. local total = plus - minus
  682. local cur = b
  683. local nex = cur - total
  684. p = Instance.new('Weld', clones[cur])
  685. table.insert(welds2, p)
  686. p.Part0 = clones[cur]:FindFirstChild("Torso") or clones[cur]:FindFirstChild("UpperTorso")
  687. p.Part1 = clones[nex]:FindFirstChild("Torso") or clones[nex]:FindFirstChild("UpperTorso")
  688. p.C0 = CFrame.new(0,-2.2,-.50)
  689. clones[cur].Humanoid.Sit = true
  690. b = b + 1
  691. end
  692. p = Instance.new('Weld', clones[last])
  693. table.insert(welds2, p)
  694. p.Part0 = char:FindFirstChild("Torso") or char:FindFirstChild("UpperTorso")
  695. p.Part1 = clones[last]:FindFirstChild("Torso") or clones[last]:FindFirstChild("UpperTorso")
  696. p.C0 = CFrame.new(0,-2.2,-.50)
  697. end)
  698. end
  699.  
  700. function clonerasengan()
  701. for _, a in pairs(clones) do
  702. if a ~= nil and a:FindFirstChildOfClass'Humanoid' then
  703. crasengan(a)
  704. end
  705. end
  706. end
  707.  
  708. function hai(b)
  709. hair = Instance.new("Part", b.Head)
  710. hairmesh = Instance.new("SpecialMesh", hair)
  711. hairmesh.MeshId = "rbxassetid://520462259"
  712. hairmesh.Scale = Vector3.new(0.07, 0.07, 0.074)
  713. hairmesh.TextureId = "rbxassetid://50891353"
  714. hair.Transparency = 0
  715. hair.CanCollide = false
  716. hair.Name = "plrhair"
  717. hair.Anchored = false
  718. hair.BrickColor = BrickColor.new("Really blue")
  719. Weld = Instance.new("Weld",b)
  720. Weld.Part0 = b["Head"]
  721. Weld.Part1 = hair
  722. Weld.C1 = CFrame.new(0, 0.4, 0.1)*CFrame.Angles(0,rad(180),0)
  723. end
  724.  
  725. function cclones()
  726. cloneamount = 0
  727. for _, a in pairs(char:children()) do
  728. if a:FindFirstChild('Id'..plr.Name) then
  729. local p = Instance.new('Part', char)
  730. p.Transparency = 1
  731. p.CanCollide = false
  732. p.Anchored = true
  733. p.Size = Vector3.new(0.2,0.2,0.2)
  734. if a:FindFirstChild'Torso' then
  735. p.CFrame = a.Torso.CFrame
  736. elseif not a:FindFirstChild'Torso' then
  737. for _, b in pairs(a:children()) do
  738. if b:IsA'Part' then
  739. p.CFrame = b.CFrame
  740. end
  741. end
  742. end
  743. local sou = Instance.new("Sound")
  744. sou.Pitch = 1
  745. sou.Volume = 2
  746. sou.SoundId = "rbxassetid://491805042"
  747. sou.Parent = p
  748. sou:Play()
  749. local pe = Instance.new("ParticleEmitter")
  750. pe.Acceleration = Vector3.new(0, 8, 0)
  751. pe.Lifetime = NumberRange.new(1, 1.5)
  752. pe.Rate = 20000
  753. pe.RotSpeed = NumberRange.new(-30, 30)
  754. pe.Rotation = NumberRange.new(0, 360)
  755. pe.Size = NumberSequence.new({
  756. NumberSequenceKeypoint.new(0, 4.38, 0),
  757. NumberSequenceKeypoint.new(0.672, 4.14, 0),
  758. NumberSequenceKeypoint.new(1, 1.48, 0)
  759. })
  760. pe.Texture = "rbxassetid://281983189"
  761. pe.Transparency = NumberSequence.new({
  762. NumberSequenceKeypoint.new(0, 0, 0),
  763. NumberSequenceKeypoint.new(0.529, 0.3, 0),
  764. NumberSequenceKeypoint.new(1, 1, 1)
  765. })
  766. pe.ZOffset = 5
  767. pe.VelocitySpread = 360
  768. pe.Parent = p
  769. pe.Enabled = true
  770. wait(0.1)
  771. pe.Enabled = false
  772. a:Destroy()
  773. end
  774. end
  775. end
  776.  
  777. function id(a)
  778. local num = Instance.new'NumberValue'
  779. num.Parent = a
  780. num.Name = "Id"..plr.Name
  781. end
  782.  
  783. function invis(b)
  784. hair.Transparency = 1
  785. b.Head.face.Transparency = 1
  786. for _, a in pairs(b:children()) do
  787. if a:IsA'Part' and a.Name ~= 'HumanoidRootPart' then
  788. a.Transparency = 1
  789. elseif a:IsA'Accessory' then
  790. a.Handle.Transparency = 1
  791. end
  792. end
  793. hair.Transparency = 1
  794. end
  795.  
  796. function vis(b)
  797. hair.Transparency = 0
  798. b.Head.face.Transparency = 0
  799. for _, a in pairs(b:children()) do
  800. if a:IsA'BasePart' and a.Name ~= 'HumanoidRootPart' then
  801. a.Transparency = 0
  802. elseif a:IsA'Accessory' then
  803. a.Handle.Transparency = 0
  804. end
  805. end
  806. end
  807.  
  808. function clear(b)
  809. for _, a in pairs(b:children()) do
  810. if a:IsA'Model' and a.Name == plr.Name and plr.Parent then
  811. a:Destroy()
  812. end
  813. end
  814. end
  815.  
  816. function add(b)
  817. table.insert(clones,b)
  818. end
  819.  
  820. function sub()
  821. hair.Transparency = 1
  822. local p = Instance.new('Part', char.Torso)
  823. p.Anchored = true
  824. p.CanCollide = false
  825. p.Transparency = 1
  826. p.Size = Vector3.new(0.1,.1,.1)
  827. p.Anchored = true
  828. p.CFrame = char.Torso.CFrame
  829. local v = char:Clone()
  830. cloneamount = cloneamount + 1
  831. clear(v)
  832. hai(v)
  833. add(v)
  834. vis(v)
  835. id(v)
  836. invis(char)
  837. v.Parent = char
  838. char.Torso.CFrame = char.Torso.CFrame * CFrame.new(0,15,0)
  839. v.Torso.CFrame = p.CFrame
  840. v.Humanoid.MaxHealth = 100
  841. for _, a in pairs(char:children()) do
  842. if a:IsA'Part' then
  843. a.Transparency = 1
  844. elseif a:IsA'Accessory' then
  845. a.Handle.Transparency = 1
  846. end
  847. end
  848. char.Head["face"].Transparency = 1
  849. if v:FindFirstChildOfClass'Humanoid' then
  850. health = v:FindFirstChildOfClass'Humanoid'.Health
  851. end
  852. if v:FindFirstChildOfClass'Humanoid' then
  853. v:FindFirstChildOfClass'Humanoid'.Changed:connect(function()
  854. if v:FindFirstChildOfClass'Humanoid' and v:FindFirstChildOfClass'Humanoid'.Health < health then
  855. local part = Instance.new('Part', game.Workspace)
  856. cloneamount = cloneamount - 1
  857. part.Transparency = 1
  858. part.CanCollide = false
  859. part.Size = Vector3.new(0.2,0.2,0.2)
  860. part.CFrame = v.Torso.CFrame
  861. v:Destroy()
  862. local sou = Instance.new("Sound")
  863. sou.Pitch = 1
  864. sou.Volume = 1.2
  865. sou.SoundId = "rbxassetid://491805042"
  866. sou.Parent = part
  867. sou:Play()
  868. local pe = Instance.new("ParticleEmitter")
  869. pe.Acceleration = Vector3.new(0, 8, 0)
  870. pe.Lifetime = NumberRange.new(1, 1.5)
  871. pe.Rate = 20000
  872. pe.RotSpeed = NumberRange.new(-30, 30)
  873. pe.Rotation = NumberRange.new(0, 360)
  874. pe.Size = NumberSequence.new({
  875. NumberSequenceKeypoint.new(0, 4.38, 0),
  876. NumberSequenceKeypoint.new(0.672, 4.14, 0),
  877. NumberSequenceKeypoint.new(1, 1.48, 0)
  878. })
  879. pe.Texture = "rbxassetid://281983189"
  880. pe.Transparency = NumberSequence.new({
  881. NumberSequenceKeypoint.new(0, 0, 0),
  882. NumberSequenceKeypoint.new(0.529, 0.3, 0),
  883. NumberSequenceKeypoint.new(1, 1, 1)
  884. })
  885. pe.ZOffset = 5
  886. pe.VelocitySpread = 360
  887. pe.Parent = part
  888. pe.Enabled = true
  889. wait(0.1)
  890. pe.Enabled = false
  891. end
  892. if v:FindFirstChildOfClass'Humanoid' then
  893. health = v:FindFirstChildOfClass'Humanoid'.Health
  894. end
  895. end)
  896. end
  897. end
  898.  
  899. function tp()
  900. for i = 1,25 do
  901. wait()
  902. for _, a in pairs(char:children()) do
  903. if a:IsA'Part' and a.Name ~= 'HumanoidRootPart' then
  904. a.Transparency = a.Transparency + 0.1
  905. char.Head.face.Transparency = char.Head.face.Transparency + 0.1
  906. hair.Transparency = hair.Transparency + 0.1
  907. end
  908. end
  909. end
  910. char.Torso.CFrame = m.Hit
  911. for i = 1,25 do
  912. wait()
  913. for _, a in pairs(char:children()) do
  914. if a:IsA'Part' and a.Name ~= 'HumanoidRootPart' then
  915. a.Transparency = a.Transparency - 0.1
  916. char.Head.face.Transparency = char.Head.face.Transparency - 0.1
  917. hair.Transparency = hair.Transparency - 0.1
  918. end
  919. end
  920. end
  921. end
  922.  
  923. function bijuu()
  924. for _, a in pairs(char:children()) do
  925. for i = 1,1 do
  926. wait()
  927. if a:IsA'Part' then
  928. local red = Instance.new('Part', char)
  929. red.Anchored = false
  930. red.CanCollide = false
  931. red.Material = 'Neon'
  932. red.BrickColor = BrickColor.new'Crimson'
  933. red.Size = a.Size + Vector3.new(.05,.05,.05)
  934. red.Shape = a.Shape
  935. red.Transparency = 0.6
  936. local weld = Instance.new('Weld', red)
  937. weld.Part0 = a
  938. weld.Part1 = red
  939. weld.C0 = CFrame.new(0,0,0)
  940. if a.Name == "Head" then
  941. a:FindFirstChildOfClass'SpecialMesh':Clone().Parent = red
  942. end
  943. end
  944. end
  945. end
  946. end
  947.  
  948. function around()
  949. local position = char.Torso.CFrame
  950. local number = 5
  951. local radius = 25
  952.  
  953. for i=1, number do
  954. local clone = char:Clone()
  955. clone.Parent = char
  956. cloneamount = cloneamount + 1
  957. clear(clone)
  958. hai(clone)
  959. add(clone)
  960. vis(clone)
  961. id(clone)
  962. local sine = math.sin((360/number + 360/number*i)/(180/math.pi))
  963. local cosine = math.cos((360/number + 360/number*i)/(180/math.pi))
  964. clone.Torso.CFrame = position + Vector3.new(radius*sine, 0, radius*cosine)
  965. clone.Torso.CFrame = clone.Torso.CFrame*CFrame.fromEulerAnglesXYZ(0, (360/number + 360/number*i)/(180/math.pi), 0)
  966. clone.Torso.CFrame = CFrame.new(clone.Torso.Position, plr.Character.Torso.Position)
  967. local sou = Instance.new("Sound")
  968. sou.Pitch = 1
  969. sou.Volume = 2
  970. sou.SoundId = "rbxassetid://491805042"
  971. sou.Parent = clone.Torso
  972. sou:Play()
  973. local pe = Instance.new("ParticleEmitter")
  974. pe.Acceleration = Vector3.new(0, 8, 0)
  975. pe.Lifetime = NumberRange.new(1, 1.5)
  976. pe.Rate = 20000
  977. pe.RotSpeed = NumberRange.new(-30, 30)
  978. pe.Rotation = NumberRange.new(0, 360)
  979. pe.Size = NumberSequence.new({
  980. NumberSequenceKeypoint.new(0, 4.38, 0),
  981. NumberSequenceKeypoint.new(0.672, 4.14, 0),
  982. NumberSequenceKeypoint.new(1, 1.48, 0)
  983. })
  984. pe.Texture = "rbxassetid://281983189"
  985. pe.Transparency = NumberSequence.new({
  986. NumberSequenceKeypoint.new(0, 0, 0),
  987. NumberSequenceKeypoint.new(0.529, 0.3, 0),
  988. NumberSequenceKeypoint.new(1, 1, 1)
  989. })
  990. pe.ZOffset = 5
  991. pe.VelocitySpread = 360
  992. pe.Parent = clone.Torso
  993. pe.Enabled = true
  994. wait(0.1)
  995. pe.Enabled = false
  996. end
  997. end
  998.  
  999. function mawn()
  1000. local clone = char:Clone()
  1001. clone.Parent = char
  1002. clone.Torso.CFrame = m.Hit
  1003. cloneamount = cloneamount + 1
  1004. clear(clone)
  1005. hai(clone)
  1006. add(clone)
  1007. vis(clone)
  1008. id(clone)
  1009. local part = Instance.new('Part', game.Workspace)
  1010. part.Transparency = 1
  1011. part.CanCollide = false
  1012. part.Size = Vector3.new(0.2,0.2,0.2)
  1013. part.CFrame = clone.Torso.CFrame
  1014. local sou = Instance.new("Sound")
  1015. sou.Pitch = 1
  1016. sou.Volume = 2
  1017. sou.SoundId = "rbxassetid://722960601491805042"
  1018. sou.Parent = part
  1019. sou:Play()
  1020. local pe = Instance.new("ParticleEmitter")
  1021. pe.Acceleration = Vector3.new(0, 8, 0)
  1022. pe.Lifetime = NumberRange.new(1, 1.5)
  1023. pe.Rate = 20000
  1024. pe.RotSpeed = NumberRange.new(-30, 30)
  1025. pe.Rotation = NumberRange.new(0, 360)
  1026. pe.Size = NumberSequence.new({
  1027. NumberSequenceKeypoint.new(0, 4.38, 0),
  1028. NumberSequenceKeypoint.new(0.672, 4.14, 0),
  1029. NumberSequenceKeypoint.new(1, 1.48, 0)
  1030. })
  1031. pe.Texture = "rbxassetid://281983189"
  1032. pe.Transparency = NumberSequence.new({
  1033. NumberSequenceKeypoint.new(0, 0, 0),
  1034. NumberSequenceKeypoint.new(0.529, 0.3, 0),
  1035. NumberSequenceKeypoint.new(1, 1, 1)
  1036. })
  1037. pe.ZOffset = 5
  1038. pe.VelocitySpread = 360
  1039. pe.Parent = part
  1040. pe.Enabled = true
  1041. wait(0.1)
  1042. pe.Enabled = false
  1043. end
  1044.  
  1045. function visible()
  1046. for i = 1,15 do
  1047. wait()
  1048. for _, a in pairs(char:children()) do
  1049. if a:IsA'Part' and a.Name ~= 'HumanoidRootPart' then
  1050. a.Transparency = a.Transparency - 0.1
  1051. char.Head.face.Transparency = char.Head.face.Transparency - 0.1
  1052. hair.Transparency = hair.Transparency - 0.1
  1053. end
  1054. end
  1055. end
  1056. end
  1057.  
  1058. m.KeyDown:connect(function(key)
  1059. if key == "h" and disable then
  1060. sub()
  1061. elseif key == "i" and cooldown then
  1062. cooldown = false
  1063. visible()
  1064. cooldown = true
  1065. elseif key == "t" and cooldown then
  1066. cooldown = false
  1067. tp()
  1068. cooldown = true
  1069. elseif key == "c" and cooldown then
  1070. cooldown = false
  1071. cclones()
  1072. cooldown = true
  1073. elseif key == "q" then
  1074. if mfol == false then
  1075. mfol = true
  1076. elseif mfol then
  1077. mfol = false
  1078. end
  1079. elseif key == "e" and cooldown and disable then
  1080. cooldown = false
  1081. around()
  1082. cooldown = true
  1083. elseif key == "l" and cooldown and disable then
  1084. cooldown = false
  1085. mawn()
  1086. cooldown = true
  1087. elseif key == "r" and cooldown then
  1088. cooldown = false
  1089. rs = true
  1090. rasengan(char)
  1091. cooldown = true
  1092. elseif key == "f" then
  1093. cooldown = false
  1094. rs = true
  1095. clonerasengan()
  1096. cooldown = true
  1097. elseif key == "g" then
  1098. cooldown = false
  1099. bijuu()
  1100. cooldown = true
  1101. elseif key == "x" then
  1102. if rid == false and cooldown then
  1103. rid = true
  1104. cooldown = false
  1105. ride()
  1106. cooldown = true
  1107. elseif rid and cooldown then
  1108. rid = false
  1109. cooldown = false
  1110. for _, a in pairs(welds2) do
  1111. a:Destroy()
  1112. end
  1113. welds2 = {}
  1114. cooldown = true
  1115. end
  1116. end
  1117. end)
  1118.  
  1119. game:GetService('RunService').RenderStepped:connect(function()
  1120. if cloneamount >= 10 then
  1121. disable = false
  1122. elseif cloneamount <= 9 then
  1123. disable = true
  1124. end
  1125. end)
  1126.  
  1127. local jump = false
  1128. m.Button1Down:connect(function()
  1129. if mfol then
  1130. jump = true
  1131. wait(.08)
  1132. jump = false
  1133. end
  1134. end)
  1135.  
  1136.  
  1137. game:GetService('RunService').RenderStepped:connect(function()
  1138. for _, a in pairs(clones) do
  1139. if a ~= nil and a:FindFirstChildOfClass'Humanoid' then
  1140. if mfol == false then
  1141. local random = math.random(1,100)
  1142. if random == 7 then
  1143. a.Humanoid.Jump = true
  1144. end
  1145. a.Humanoid:MoveTo(Vector3.new(math.random(100,255),math.random(100,255),math.random(100,255)))
  1146. elseif mfol then
  1147. if jump then
  1148. a.Humanoid.Jump = true
  1149. end
  1150. a.Humanoid:MoveTo(m.Hit.p)
  1151. end
  1152. end
  1153. end
  1154. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement