Advertisement
refrop

vegito v6

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