Advertisement
Guest User

Untitled

a guest
Nov 18th, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6. print("FE Compatibility code V2 by Mokiros")
  7. local RealPlayer = RealPlayer
  8. script.Parent = RealPlayer.Character
  9.  
  10. --Fake event to make stuff like Mouse.KeyDown work
  11. local Disconnect_Function = function(this)
  12. this[1].Functions[this[2]] = nil
  13. end
  14. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  15. local FakeEvent_Metatable = {__index={
  16. Connect = function(this,f)
  17. local i = tostring(math.random(0,10000))
  18. while this.Functions[i] do
  19. i = tostring(math.random(0,10000))
  20. end
  21. this.Functions[i] = f
  22. return setmetatable({this,i},Disconnect_Metatable)
  23. end
  24. }}
  25. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  26. local function fakeEvent()
  27. return setmetatable({Functions={}},FakeEvent_Metatable)
  28. end
  29.  
  30. --Creating fake input objects with fake variables
  31. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  32. FakeMouse.keyUp = FakeMouse.KeyUp
  33. FakeMouse.keyDown = FakeMouse.KeyDown
  34. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  35. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  36. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  37. end}
  38. --Merged 2 functions into one by checking amount of arguments
  39. CAS.UnbindAction = CAS.BindAction
  40.  
  41. --This function will trigger the events that have been :Connect()'ed
  42. local function TriggerEvent(self,ev,...)
  43. for _,f in pairs(self[ev].Functions) do
  44. f(...)
  45. end
  46. end
  47. FakeMouse.TriggerEvent = TriggerEvent
  48. UIS.TriggerEvent = TriggerEvent
  49.  
  50. --Client communication
  51. local Event = Instance.new("RemoteEvent")
  52. Event.Name = "UserInput_Event"
  53. Event.OnServerEvent:Connect(function(plr,io)
  54. if plr~=RealPlayer then return end
  55. FakeMouse.Target = io.Target
  56. FakeMouse.Hit = io.Hit
  57. if not io.isMouse then
  58. local b = io.UserInputState == Enum.UserInputState.Begin
  59. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  60. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  61. end
  62. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  63. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  64. end
  65. for _,t in pairs(CAS.Actions) do
  66. for _,k in pairs(t.Keys) do
  67. if k==io.KeyCode then
  68. t.Function(t.Name,io.UserInputState,io)
  69. end
  70. end
  71. end
  72. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  74. end
  75. end)
  76. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  77. local Mouse = owner:GetMouse()
  78. local UIS = game:GetService("UserInputService")
  79. local input = function(io,RobloxHandled)
  80. if RobloxHandled then return end
  81. --Since InputObject is a client-side instance, we create and pass table instead
  82. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  83. end
  84. UIS.InputBegan:Connect(input)
  85. UIS.InputEnded:Connect(input)
  86.  
  87. local h,t
  88. --Give the server mouse data every second frame, but only if the values changed
  89. --If player is not moving their mouse, client won't fire events
  90. local HB = game:GetService("RunService").Heartbeat
  91. while true do
  92. if h~=Mouse.Hit or t~=Mouse.Target then
  93. h,t=Mouse.Hit,Mouse.Target
  94. Event:FireServer({isMouse=true,Target=t,Hit=h})
  95. end
  96. --Wait 2 frames
  97. for i=1,2 do
  98. HB:Wait()
  99. end
  100. end]==],script)
  101.  
  102. ----Sandboxed game object that allows the usage of client-side methods and services
  103. --Real game object
  104. local RealGame = game
  105.  
  106. --Metatable for fake service
  107. local FakeService_Metatable = {
  108. __index = function(self,k)
  109. local s = rawget(self,"_RealService")
  110. if s then
  111. return typeof(s[k])=="function"
  112. and function(_,...)return s[k](s,...)end or s[k]
  113. end
  114. end,
  115. __newindex = function(self,k,v)
  116. local s = rawget(self,"_RealService")
  117. if s then s[k]=v end
  118. end
  119. }
  120. local function FakeService(t,RealService)
  121. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  122. return setmetatable(t,FakeService_Metatable)
  123. end
  124.  
  125. --Fake game object
  126. local FakeGame = {
  127. GetService = function(self,s)
  128. return rawget(self,s) or RealGame:GetService(s)
  129. end,
  130. Players = FakeService({
  131. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  132. },"Players"),
  133. UserInputService = FakeService(UIS,"UserInputService"),
  134. ContextActionService = FakeService(CAS,"ContextActionService"),
  135. RunService = FakeService({
  136. _btrs = {},
  137. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  138. BindToRenderStep = function(self,name,_,fun)
  139. self._btrs[name] = self.Heartbeat:Connect(fun)
  140. end,
  141. UnbindFromRenderStep = function(self,name)
  142. self._btrs[name]:Disconnect()
  143. end,
  144. },"RunService")
  145. }
  146. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  147. FakeGame.service = FakeGame.GetService
  148. FakeService(FakeGame,game)
  149. --Changing owner to fake player object to support owner:GetMouse()
  150. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  151. end
  152.  
  153. --[[
  154.  
  155. Simple Clone script
  156. Cronnie#8709
  157.  
  158. --]]
  159.  
  160. --[[ Controls
  161.  
  162. H = Replaces you with a Clone so people think they killed you but they actually did not.
  163. I = Become visible, usually helpful when you're invisible after you press H
  164. T = Tp to your mouse
  165. C = Remove clones
  166. Q = toggle mouse follow (default is non mouse follow)
  167. E = Summons 5 clones around you
  168. L = Spawns a clone on ur mouse
  169. R = Rasengan only for you
  170. F = Rasengan for clones
  171. X = Make clones ride each other ( buggy )
  172.  
  173. --]]
  174.  
  175. plr = game:service'Players'.LocalPlayer
  176. char = plr.Character
  177. cam = workspace.Camera
  178. m = plr:GetMouse()
  179. char.Archivable = true
  180.  
  181. cooldown = true
  182. disable = true
  183. rad = math.rad
  184. cloneamount = 0
  185. mfol = false
  186. biju = false
  187. rid = false
  188. rs = false
  189.  
  190. ras = {
  191.  
  192. }
  193.  
  194. welds= {
  195.  
  196. }
  197.  
  198. welds2 = {
  199.  
  200. }
  201.  
  202. mcs = {
  203.  
  204. }
  205.  
  206. clones = {
  207.  
  208. }
  209.  
  210. char:FindFirstChildOfClass'Humanoid'.WalkSpeed = 32
  211. char:FindFirstChildOfClass'Humanoid'.JumpPower = 100
  212.  
  213. hair = Instance.new("Part", char)
  214. hair.Size = Vector3.new(0.2,0.2,0.2)
  215. hairmesh = Instance.new("SpecialMesh", hair)
  216. hairmesh.MeshId = "rbxassetid://520462259"
  217. hairmesh.Scale = Vector3.new(0.07, 0.07, 0.074)
  218. hairmesh.TextureId = "rbxassetid://520462269"
  219. hair.Transparency = 0
  220. hair.CanCollide = false
  221. hair.Name = "plrhair"
  222. hair.Anchored = false
  223. hair.BrickColor = BrickColor.new("Really black")
  224. Weld = Instance.new("Weld", char)
  225. Weld.Part0 = char["Head"]
  226. Weld.Part1 = hair
  227. Weld.C1 = CFrame.new(0, 0.4, 0.1)*CFrame.Angles(0,rad(180),0)
  228.  
  229. for _, a in pairs(char:children()) do
  230. if a:IsA'Accessory' or a:IsA'CharacterMesh' or a:IsA'Pants' or a:IsA'Shirt' then
  231. a:Destroy()
  232. end
  233. end
  234.  
  235. char.Head.face.Texture = "http://www.roblox.com/asset/?id=727692296"
  236.  
  237. local s = Instance.new('Shirt', char)
  238. s.ShirtTemplate = "rbxassetid://208297138"
  239. local p = Instance.new('Pants', char)
  240. p.PantsTemplate = "rbxassetid://184745905"
  241.  
  242. function crasengan(a)
  243. coroutine.resume(coroutine.create(function()
  244. local sou =Instance.new("Sound")
  245. sou.Pitch =1
  246. sou.Volume= 2
  247. sou.SoundId= "rbxassetid://738548104"
  248. sou.Parent= a["Head"]
  249. sou:Play()
  250. local arm= {a["Right Arm"]}
  251. a.Torso["Right Shoulder"].Archivable =true
  252. part1 =Instance.new("Part")
  253. table.insert(ras,part1)
  254. part1.CFrame =a["Right Arm"].CFrame
  255. part1.Parent =a
  256. part1.Name= "TriggerR"
  257. part1.Transparency =0.560
  258. part1.Shape ="Ball"
  259. part1.BrickColor= BrickColor.new("Toothpaste")
  260. part1.TopSurface =0
  261. part1.Material="Neon"
  262. part1.BottomSurface =0
  263. part1.CanCollide=false
  264. part1.Size =Vector3.new(2,2,2)
  265. part1.Anchored =false
  266. local mc =a.Torso["Right Shoulder"]:Clone()
  267. table.insert(mcs,mc)
  268. weld = Instance.new("Weld",arm[1])
  269. table.insert(welds,mc)
  270. weld.Part0=a.Torso
  271. weld.Part1=weld.Parent
  272. weld.C1 =CFrame.new(-1.5,.5,.5)*CFrame.Angles(math.rad(-90),0,0)
  273. part1.CFrame = a["Right Arm"].CFrame* CFrame.new(0,1, 1.75)
  274. local Weld= Instance.new("Weld", a)
  275. Weld.Part0= a["Right Arm"]
  276. Weld.Part1=part1
  277. Weld.C1=CFrame.new(0,1.75,0)*CFrame.fromEulerAnglesXYZ(0,0,0)
  278.  
  279. part1.Touched:connect(function(hit)
  280. part1.Transparency = 1
  281. if hit.Parent:FindFirstChild("Humanoid") then
  282. if hit.Parent.Name ~= plr.Name and rs then
  283. rs = false
  284. for _, a in pairs(ras) do
  285. a:Destroy()
  286. end
  287. local part2 = part1:Clone()
  288. table.insert(ras,part2)
  289. part2.Name = "FakeR"
  290. part1:Destroy()
  291. weld:Destroy()
  292. mc.Parent = a.Torso
  293. for _, a in pairs(mcs) do
  294. for _, b in pairs(clones) do
  295. if b:FindFirstChild'Torso' then
  296. a.Parent = b.Torso
  297. end
  298. end
  299. end
  300. part2.Parent = hit.Parent
  301. part2.Transparency = 0
  302. local Weld = Instance.new("Weld", a)
  303. Weld.Part0 = hit.Parent.HumanoidRootPart
  304. Weld.Part1 = part2
  305. Weld.C1 = CFrame.new(0, 1, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  306. local bv = Instance.new('BodyVelocity')
  307. bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  308. bv.P = 7555
  309. bv.Velocity = hit.Parent:FindFirstChild("Head").CFrame.lookVector + Vector3.new(math.random(-100,1),math.random(0,1),math.random(-100,1))
  310. bv.Parent = hit.Parent:FindFirstChild("HumanoidRootPart")
  311. game.Debris:AddItem(bv, 0.6)
  312. wait(0.6)
  313. ypcall(function()
  314. hit.Parent:FindFirstChild('HumanoidRootPart').Anchored = true
  315. end)
  316. part2.Anchored = true
  317. for i=0,15,1 do
  318. wait(.05)
  319. part2.Transparency = part2.Transparency + 0.1
  320. part2.Size = part2.Size + Vector3.new(10,10,10)
  321. end
  322. part2:Destroy()
  323. ypcall(function()
  324. hit.Parent:FindFirstChild('HumanoidRootPart').Anchored = false
  325. hit.Parent:BreakJoints()
  326. end)
  327. end
  328. end
  329. end)
  330. end))
  331. end
  332.  
  333. function rasengan(a)
  334. coroutine.resume(coroutine.create(function()
  335. local sou =Instance.new("Sound")
  336. sou.Pitch =1
  337. sou.Volume= 2
  338. sou.SoundId= "rbxassetid://738548104"
  339. sou.Parent= a["Head"]
  340. sou:Play()
  341. local arm= {a["Right Arm"]}
  342. a.Torso["Right Shoulder"].Archivable =true
  343. part1 =Instance.new("Part")
  344. table.insert(ras,part1)
  345. part1.CFrame =a["Right Arm"].CFrame
  346. part1.Parent =a
  347. part1.Name= "TriggerR"
  348. part1.Transparency =0.560
  349. part1.Shape ="Ball"
  350. part1.BrickColor= BrickColor.new("Toothpaste")
  351. part1.TopSurface =0
  352. part1.Material="Neon"
  353. part1.BottomSurface =0
  354. part1.CanCollide=false
  355. part1.Size =Vector3.new(2,2,2)
  356. part1.Anchored =false
  357. local mc =a.Torso["Right Shoulder"]:Clone()
  358. weld = Instance.new("Weld",arm[1])
  359. weld.Part0=a.Torso
  360. weld.Part1=weld.Parent
  361. weld.C1 =CFrame.new(-1.5,.5,.5)*CFrame.Angles(math.rad(-90),0,0)
  362. part1.CFrame = a["Right Arm"].CFrame* CFrame.new(0,1, 1.75)
  363. local Weld= Instance.new("Weld", a)
  364. Weld.Part0= a["Right Arm"]
  365. Weld.Part1=part1
  366. Weld.C1=CFrame.new(0,1.75,0)*CFrame.fromEulerAnglesXYZ(0,0,0)
  367.  
  368. part1.Touched:connect(function(hit)
  369. part1.Transparency = 1
  370. if hit.Parent:FindFirstChild("Humanoid") then
  371. if hit.Parent.Name ~= plr.Name and rs then
  372. rs = false
  373. for _, a in pairs(ras) do
  374. a:Destroy()
  375. end
  376. local part2 = part1:Clone()
  377. table.insert(ras,part2)
  378. part2.Name = "FakeR"
  379. part1:Destroy()
  380. weld:Destroy()
  381. mc.Parent = a.Torso
  382. part2.Parent = hit.Parent
  383. part2.Transparency = 0
  384. local Weld = Instance.new("Weld", a)
  385. Weld.Part0 = hit.Parent.HumanoidRootPart
  386. Weld.Part1 = part2
  387. Weld.C1 = CFrame.new(0, 1, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  388. local bv = Instance.new('BodyVelocity')
  389. bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  390. bv.P = 7555
  391. bv.Velocity = hit.Parent:FindFirstChild("Head").CFrame.lookVector + Vector3.new(math.random(-100,1),math.random(0,1),math.random(-100,1))
  392. bv.Parent = hit.Parent:FindFirstChild("HumanoidRootPart")
  393. game.Debris:AddItem(bv, 0.6)
  394. wait(0.6)
  395. ypcall(function()
  396. hit.Parent:FindFirstChild('HumanoidRootPart').Anchored = true
  397. end)
  398. part2.Anchored = true
  399. for i=0,15,1 do
  400. wait(.05)
  401. part2.Transparency = part2.Transparency + 0.1
  402. part2.Size = part2.Size + Vector3.new(10,10,10)
  403. end
  404. part2:Destroy()
  405. ypcall(function()
  406. hit.Parent:FindFirstChild('HumanoidRootPart').Anchored = false
  407. hit.Parent:BreakJoints()
  408. end)
  409. end
  410. end
  411. end)
  412. end))
  413. end
  414.  
  415. function ride()
  416. ypcall(function()
  417. local b = 1
  418. local last = #clones
  419. for _, a in pairs(clones) do
  420. wait(.05)
  421. local minus = #clones
  422. local plus = #clones - 1
  423. local total = plus - minus
  424. local cur = b
  425. local nex = cur - total
  426. p = Instance.new('Weld', clones[cur])
  427. table.insert(welds2, p)
  428. p.Part0 = clones[cur]:FindFirstChild("Torso") or clones[cur]:FindFirstChild("UpperTorso")
  429. p.Part1 = clones[nex]:FindFirstChild("Torso") or clones[nex]:FindFirstChild("UpperTorso")
  430. p.C0 = CFrame.new(0,-2.2,-.50)
  431. clones[cur].Humanoid.Sit = true
  432. b = b + 1
  433. end
  434. p = Instance.new('Weld', clones[last])
  435. table.insert(welds2, p)
  436. p.Part0 = char:FindFirstChild("Torso") or char:FindFirstChild("UpperTorso")
  437. p.Part1 = clones[last]:FindFirstChild("Torso") or clones[last]:FindFirstChild("UpperTorso")
  438. p.C0 = CFrame.new(0,-2.2,-.50)
  439. end)
  440. end
  441.  
  442. function clonerasengan()
  443. for _, a in pairs(clones) do
  444. if a ~= nil and a:FindFirstChildOfClass'Humanoid' then
  445. crasengan(a)
  446. end
  447. end
  448. end
  449.  
  450. function hai(b)
  451. hair = Instance.new("Part", b.Head)
  452. hairmesh = Instance.new("SpecialMesh", hair)
  453. hairmesh.MeshId = "rbxassetid://520462259"
  454. hairmesh.Scale = Vector3.new(0.07, 0.07, 0.074)
  455. hairmesh.TextureId = "rbxassetid://520462269"
  456. hair.Transparency = 0
  457. hair.CanCollide = false
  458. hair.Name = "plrhair"
  459. hair.Anchored = false
  460. hair.BrickColor = BrickColor.new("Really black")
  461. Weld = Instance.new("Weld",b)
  462. Weld.Part0 = b["Head"]
  463. Weld.Part1 = hair
  464. Weld.C1 = CFrame.new(0, 0.4, 0.1)*CFrame.Angles(0,rad(180),0)
  465. end
  466.  
  467. function cclones()
  468. cloneamount = 0
  469. for _, a in pairs(char:children()) do
  470. if a:FindFirstChild('Id'..plr.Name) then
  471. local p = Instance.new('Part', char)
  472. p.Transparency = 1
  473. p.CanCollide = false
  474. p.Anchored = true
  475. p.Size = Vector3.new(0.2,0.2,0.2)
  476. if a:FindFirstChild'Torso' then
  477. p.CFrame = a.Torso.CFrame
  478. elseif not a:FindFirstChild'Torso' then
  479. for _, b in pairs(a:children()) do
  480. if b:IsA'Part' then
  481. p.CFrame = b.CFrame
  482. end
  483. end
  484. end
  485. local sou = Instance.new("Sound")
  486. sou.Pitch = 1
  487. sou.Volume = 1.2
  488. sou.SoundId = "rbxassetid://722960601"
  489. sou.Parent = p
  490. sou:Play()
  491. local pe = Instance.new("ParticleEmitter")
  492. pe.Acceleration = Vector3.new(0, 8, 0)
  493. pe.Lifetime = NumberRange.new(1, 1.5)
  494. pe.Rate = 20000
  495. pe.RotSpeed = NumberRange.new(-30, 30)
  496. pe.Rotation = NumberRange.new(0, 360)
  497. pe.Size = NumberSequence.new({
  498. NumberSequenceKeypoint.new(0, 4.38, 0),
  499. NumberSequenceKeypoint.new(0.672, 4.14, 0),
  500. NumberSequenceKeypoint.new(1, 1.48, 0)
  501. })
  502. pe.Texture = "rbxassetid://244221440"
  503. pe.Transparency = NumberSequence.new({
  504. NumberSequenceKeypoint.new(0, 0, 0),
  505. NumberSequenceKeypoint.new(0.529, 0.3, 0),
  506. NumberSequenceKeypoint.new(1, 1, 1)
  507. })
  508. pe.ZOffset = 5
  509. pe.VelocitySpread = 360
  510. pe.Parent = p
  511. pe.Enabled = true
  512. wait(0.1)
  513. pe.Enabled = false
  514. a:Destroy()
  515. end
  516. end
  517. end
  518.  
  519. function id(a)
  520. local num = Instance.new'NumberValue'
  521. num.Parent = a
  522. num.Name = "Id"..plr.Name
  523. end
  524.  
  525. function invis(b)
  526. hair.Transparency = 1
  527. b.Head.face.Transparency = 1
  528. for _, a in pairs(b:children()) do
  529. if a:IsA'Part' and a.Name ~= 'HumanoidRootPart' then
  530. a.Transparency = 1
  531. elseif a:IsA'Accessory' then
  532. a.Handle.Transparency = 1
  533. end
  534. end
  535. hair.Transparency = 1
  536. end
  537.  
  538. function vis(b)
  539. hair.Transparency = 0
  540. b.Head.face.Transparency = 0
  541. for _, a in pairs(b:children()) do
  542. if a:IsA'BasePart' and a.Name ~= 'HumanoidRootPart' then
  543. a.Transparency = 0
  544. elseif a:IsA'Accessory' then
  545. a.Handle.Transparency = 0
  546. end
  547. end
  548. end
  549.  
  550. function clear(b)
  551. for _, a in pairs(b:children()) do
  552. if a:IsA'Model' and a.Name == plr.Name and plr.Parent then
  553. a:Destroy()
  554. end
  555. end
  556. end
  557.  
  558. function add(b)
  559. table.insert(clones,b)
  560. end
  561.  
  562. function sub()
  563. hair.Transparency = 1
  564. local p = Instance.new('Part', char.Torso)
  565. p.Anchored = true
  566. p.CanCollide = false
  567. p.Transparency = 1
  568. p.Size = Vector3.new(0.1,.1,.1)
  569. p.Anchored = true
  570. p.CFrame = char.Torso.CFrame
  571. local v = char:Clone()
  572. cloneamount = cloneamount + 1
  573. clear(v)
  574. hai(v)
  575. add(v)
  576. vis(v)
  577. id(v)
  578. invis(char)
  579. v.Parent = char
  580. char.Torso.CFrame = char.Torso.CFrame * CFrame.new(0,15,0)
  581. v.Torso.CFrame = p.CFrame
  582. v.Humanoid.MaxHealth = 100
  583. for _, a in pairs(char:children()) do
  584. if a:IsA'Part' then
  585. a.Transparency = 1
  586. elseif a:IsA'Accessory' then
  587. a.Handle.Transparency = 1
  588. end
  589. end
  590. char.Head["face"].Transparency = 1
  591. if v:FindFirstChildOfClass'Humanoid' then
  592. health = v:FindFirstChildOfClass'Humanoid'.Health
  593. end
  594. if v:FindFirstChildOfClass'Humanoid' then
  595. v:FindFirstChildOfClass'Humanoid'.Changed:connect(function()
  596. if v:FindFirstChildOfClass'Humanoid' and v:FindFirstChildOfClass'Humanoid'.Health < health then
  597. local part = Instance.new('Part', game.Workspace)
  598. cloneamount = cloneamount - 1
  599. part.Transparency = 1
  600. part.CanCollide = false
  601. part.Size = Vector3.new(0.2,0.2,0.2)
  602. part.CFrame = v.Torso.CFrame
  603. v:Destroy()
  604. local sou = Instance.new("Sound")
  605. sou.Pitch = 1
  606. sou.Volume = 1.2
  607. sou.SoundId = "rbxassetid://722960601"
  608. sou.Parent = part
  609. sou:Play()
  610. local pe = Instance.new("ParticleEmitter")
  611. pe.Acceleration = Vector3.new(0, 8, 0)
  612. pe.Lifetime = NumberRange.new(1, 1.5)
  613. pe.Rate = 20000
  614. pe.RotSpeed = NumberRange.new(-30, 30)
  615. pe.Rotation = NumberRange.new(0, 360)
  616. pe.Size = NumberSequence.new({
  617. NumberSequenceKeypoint.new(0, 4.38, 0),
  618. NumberSequenceKeypoint.new(0.672, 4.14, 0),
  619. NumberSequenceKeypoint.new(1, 1.48, 0)
  620. })
  621. pe.Texture = "rbxassetid://244221440"
  622. pe.Transparency = NumberSequence.new({
  623. NumberSequenceKeypoint.new(0, 0, 0),
  624. NumberSequenceKeypoint.new(0.529, 0.3, 0),
  625. NumberSequenceKeypoint.new(1, 1, 1)
  626. })
  627. pe.ZOffset = 5
  628. pe.VelocitySpread = 360
  629. pe.Parent = part
  630. pe.Enabled = true
  631. wait(0.1)
  632. pe.Enabled = false
  633. end
  634. if v:FindFirstChildOfClass'Humanoid' then
  635. health = v:FindFirstChildOfClass'Humanoid'.Health
  636. end
  637. end)
  638. end
  639. end
  640.  
  641. function tp()
  642. for i = 1,25 do
  643. wait()
  644. for _, a in pairs(char:children()) do
  645. if a:IsA'Part' and a.Name ~= 'HumanoidRootPart' then
  646. a.Transparency = a.Transparency + 0.1
  647. char.Head.face.Transparency = char.Head.face.Transparency + 0.1
  648. hair.Transparency = hair.Transparency + 0.1
  649. end
  650. end
  651. end
  652. char.Torso.CFrame = m.Hit
  653. for i = 1,25 do
  654. wait()
  655. for _, a in pairs(char:children()) do
  656. if a:IsA'Part' and a.Name ~= 'HumanoidRootPart' then
  657. a.Transparency = a.Transparency - 0.1
  658. char.Head.face.Transparency = char.Head.face.Transparency - 0.1
  659. hair.Transparency = hair.Transparency - 0.1
  660. end
  661. end
  662. end
  663. end
  664.  
  665. function bijuu()
  666. for _, a in pairs(char:children()) do
  667. for i = 1,1 do
  668. wait()
  669. if a:IsA'Part' then
  670. local red = Instance.new('Part', char)
  671. red.Anchored = false
  672. red.CanCollide = false
  673. red.Material = 'Neon'
  674. red.BrickColor = BrickColor.new'Crimson'
  675. red.Size = a.Size + Vector3.new(.05,.05,.05)
  676. red.Shape = a.Shape
  677. red.Transparency = 0.6
  678. local weld = Instance.new('Weld', red)
  679. weld.Part0 = a
  680. weld.Part1 = red
  681. weld.C0 = CFrame.new(0,0,0)
  682. if a.Name == "Head" then
  683. a:FindFirstChildOfClass'SpecialMesh':Clone().Parent = red
  684. end
  685. end
  686. end
  687. end
  688. end
  689.  
  690. function around()
  691. local position = char.Torso.CFrame
  692. local number = 5
  693. local radius = 25
  694.  
  695. for i=1, number do
  696. local clone = char:Clone()
  697. clone.Parent = char
  698. cloneamount = cloneamount + 1
  699. clear(clone)
  700. hai(clone)
  701. add(clone)
  702. vis(clone)
  703. id(clone)
  704. local sine = math.sin((360/number + 360/number*i)/(180/math.pi))
  705. local cosine = math.cos((360/number + 360/number*i)/(180/math.pi))
  706. clone.Torso.CFrame = position + Vector3.new(radius*sine, 0, radius*cosine)
  707. clone.Torso.CFrame = clone.Torso.CFrame*CFrame.fromEulerAnglesXYZ(0, (360/number + 360/number*i)/(180/math.pi), 0)
  708. clone.Torso.CFrame = CFrame.new(clone.Torso.Position, plr.Character.Torso.Position)
  709. local sou = Instance.new("Sound")
  710. sou.Pitch = 1
  711. sou.Volume = 0.9
  712. sou.SoundId = "rbxassetid://722960601"
  713. sou.Parent = clone.Torso
  714. sou:Play()
  715. local pe = Instance.new("ParticleEmitter")
  716. pe.Acceleration = Vector3.new(0, 8, 0)
  717. pe.Lifetime = NumberRange.new(1, 1.5)
  718. pe.Rate = 20000
  719. pe.RotSpeed = NumberRange.new(-30, 30)
  720. pe.Rotation = NumberRange.new(0, 360)
  721. pe.Size = NumberSequence.new({
  722. NumberSequenceKeypoint.new(0, 4.38, 0),
  723. NumberSequenceKeypoint.new(0.672, 4.14, 0),
  724. NumberSequenceKeypoint.new(1, 1.48, 0)
  725. })
  726. pe.Texture = "rbxassetid://244221440"
  727. pe.Transparency = NumberSequence.new({
  728. NumberSequenceKeypoint.new(0, 0, 0),
  729. NumberSequenceKeypoint.new(0.529, 0.3, 0),
  730. NumberSequenceKeypoint.new(1, 1, 1)
  731. })
  732. pe.ZOffset = 5
  733. pe.VelocitySpread = 360
  734. pe.Parent = clone.Torso
  735. pe.Enabled = true
  736. wait(0.1)
  737. pe.Enabled = false
  738. end
  739. end
  740.  
  741. function mawn()
  742. local clone = char:Clone()
  743. clone.Parent = char
  744. clone.Torso.CFrame = m.Hit
  745. cloneamount = cloneamount + 1
  746. clear(clone)
  747. hai(clone)
  748. add(clone)
  749. vis(clone)
  750. id(clone)
  751. local part = Instance.new('Part', game.Workspace)
  752. part.Transparency = 1
  753. part.CanCollide = false
  754. part.Size = Vector3.new(0.2,0.2,0.2)
  755. part.CFrame = clone.Torso.CFrame
  756. local sou = Instance.new("Sound")
  757. sou.Pitch = 1
  758. sou.Volume = 1.2
  759. sou.SoundId = "rbxassetid://722960601"
  760. sou.Parent = part
  761. sou:Play()
  762. local pe = Instance.new("ParticleEmitter")
  763. pe.Acceleration = Vector3.new(0, 8, 0)
  764. pe.Lifetime = NumberRange.new(1, 1.5)
  765. pe.Rate = 20000
  766. pe.RotSpeed = NumberRange.new(-30, 30)
  767. pe.Rotation = NumberRange.new(0, 360)
  768. pe.Size = NumberSequence.new({
  769. NumberSequenceKeypoint.new(0, 4.38, 0),
  770. NumberSequenceKeypoint.new(0.672, 4.14, 0),
  771. NumberSequenceKeypoint.new(1, 1.48, 0)
  772. })
  773. pe.Texture = "rbxassetid://244221440"
  774. pe.Transparency = NumberSequence.new({
  775. NumberSequenceKeypoint.new(0, 0, 0),
  776. NumberSequenceKeypoint.new(0.529, 0.3, 0),
  777. NumberSequenceKeypoint.new(1, 1, 1)
  778. })
  779. pe.ZOffset = 5
  780. pe.VelocitySpread = 360
  781. pe.Parent = part
  782. pe.Enabled = true
  783. wait(0.1)
  784. pe.Enabled = false
  785. end
  786.  
  787. function visible()
  788. for i = 1,15 do
  789. wait()
  790. for _, a in pairs(char:children()) do
  791. if a:IsA'Part' and a.Name ~= 'HumanoidRootPart' then
  792. a.Transparency = a.Transparency - 0.1
  793. char.Head.face.Transparency = char.Head.face.Transparency - 0.1
  794. hair.Transparency = hair.Transparency - 0.1
  795. end
  796. end
  797. end
  798. end
  799.  
  800. m.KeyDown:connect(function(key)
  801. if key == "h" and disable then
  802. sub()
  803. elseif key == "i" and cooldown then
  804. cooldown = false
  805. visible()
  806. cooldown = true
  807. elseif key == "t" and cooldown then
  808. cooldown = false
  809. tp()
  810. cooldown = true
  811. elseif key == "c" and cooldown then
  812. cooldown = false
  813. cclones()
  814. cooldown = true
  815. elseif key == "q" then
  816. if mfol == false then
  817. mfol = true
  818. elseif mfol then
  819. mfol = false
  820. end
  821. elseif key == "e" and cooldown and disable then
  822. cooldown = false
  823. around()
  824. cooldown = true
  825. elseif key == "l" and cooldown and disable then
  826. cooldown = false
  827. mawn()
  828. cooldown = true
  829. elseif key == "r" and cooldown then
  830. cooldown = false
  831. rs = true
  832. rasengan(char)
  833. cooldown = true
  834. elseif key == "f" then
  835. cooldown = false
  836. rs = true
  837. clonerasengan()
  838. cooldown = true
  839. elseif key == "g" then
  840. cooldown = false
  841. bijuu()
  842. cooldown = true
  843. elseif key == "x" then
  844. if rid == false and cooldown then
  845. rid = true
  846. cooldown = false
  847. ride()
  848. cooldown = true
  849. elseif rid and cooldown then
  850. rid = false
  851. cooldown = false
  852. for _, a in pairs(welds2) do
  853. a:Destroy()
  854. end
  855. welds2 = {}
  856. cooldown = true
  857. end
  858. end
  859. end)
  860.  
  861. game:GetService('RunService').RenderStepped:connect(function()
  862. if cloneamount >= 10 then
  863. disable = false
  864. elseif cloneamount <= 9 then
  865. disable = true
  866. end
  867. end)
  868.  
  869. local jump = false
  870. m.Button1Down:connect(function()
  871. if mfol then
  872. jump = true
  873. wait(.08)
  874. jump = false
  875. end
  876. end)
  877.  
  878.  
  879. game:GetService('RunService').RenderStepped:connect(function()
  880. for _, a in pairs(clones) do
  881. if a ~= nil and a:FindFirstChildOfClass'Humanoid' then
  882. if mfol == false then
  883. local random = math.random(1,100)
  884. if random == 7 then
  885. a.Humanoid.Jump = true
  886. end
  887. a.Humanoid:MoveTo(Vector3.new(math.random(100,255),math.random(100,255),math.random(100,255)))
  888. elseif mfol then
  889. if jump then
  890. a.Humanoid.Jump = true
  891. end
  892. a.Humanoid:MoveTo(m.Hit.p)
  893. end
  894. end
  895. end
  896. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement