Advertisement
Christoffer07700Extr

Rufus 14 basteball bat v4 edit

May 31st, 2019
1,019
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 53.27 KB | None | 0 0
  1. Team=function()
  2. local r=math.random(1,2)
  3.  
  4. if r==1 then
  5. print('RED')
  6. for i,v in pairs(chara:GetChildren()) do if v:IsA("Shirt") then v:Remove() end end
  7. for i,v in pairs(chara:GetChildren()) do if v:IsA("Pants") then v:Remove() end end
  8. wait()shirt = Instance.new("Shirt", chara)
  9. shirt.Name = "Shirt"
  10. pants = Instance.new("Pants", chara)
  11. pants.Name = "Pants"
  12. chara.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=61921144"
  13. chara.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=61921182"
  14. end
  15.  
  16. if r==2 then
  17. print('BLUE')
  18. for i,v in pairs(chara:GetChildren()) do if v:IsA("Shirt") then v:Remove() end end
  19. for i,v in pairs(chara:GetChildren()) do if v:IsA("Pants") then v:Remove() end end
  20. wait()shirt = Instance.new("Shirt", chara)
  21. shirt.Name = "Shirt"
  22. pants = Instance.new("Pants", chara)
  23. pants.Name = "Pants"
  24. chara.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=61921164"
  25. chara.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=61921182"
  26. end
  27. end
  28.  
  29. Team()
  30.  
  31. chara.Head.face.Texture = "http://www.roblox.com/asset/?id=192467476"
  32. wait()
  33. chara = plr.Character
  34.  
  35. --By Rufus14 edit by Christoffer077002
  36. NLS([[
  37. mouse = game:GetService("Players").LocalPlayer:GetMouse()
  38. for i,v in pairs(game.ReplicatedStorage:GetChildren()) do
  39. if v.Name == "BatAttack" then
  40. v:destroy()
  41. end
  42. end
  43. attackname = "Normal"
  44. local attackevent = game.ReplicatedStorage:WaitForChild("BatAttack")
  45. local human0id = game:GetService("Players").LocalPlayer.Character:findFirstChildOfClass("Humanoid")
  46. can = true
  47. dead = false
  48. function attack()
  49. attackevent:FireServer(attackname)
  50. end
  51. mouse.Button1Down:connect(attack)
  52. function keyattack(key)
  53. key = key:lower()
  54. if key == "r" and dead then
  55. dead = false
  56. attackname = "Respawn"
  57. attackevent:FireServer(attackname)
  58. script.Disabled = true
  59. end
  60. if key == "q" and can then
  61. attackname = "Finish"
  62. attackevent:FireServer(attackname)
  63. attackname = "Normal"
  64. end
  65. end
  66. mouse.KeyDown:connect(keyattack)
  67. while game:GetService("Players").LocalPlayer.Character:findFirstChildOfClass("Humanoid") do
  68. game:GetService("RunService").RenderStepped:wait()
  69. end
  70. dead = true
  71. print("dead")
  72. workspace.CurrentCamera.FieldOfView = 90
  73. for i = 1,20 do
  74. workspace.CurrentCamera.FieldOfView = workspace.CurrentCamera.FieldOfView - 1
  75. game:GetService("RunService").RenderStepped:wait()
  76. end]], owner.Character)
  77. wait(0.6)
  78. --owner = game.Players[script.Parent.Name]
  79. script.Name = "Bat"
  80. local attackevent = Instance.new("RemoteEvent", game.ReplicatedStorage)
  81. attackevent.Name = "BatAttack"
  82. ownerhumanoid = owner.Character:findFirstChildOfClass("Humanoid")
  83. cananimate = true
  84. canattack = true
  85. running = false
  86. jumping = false
  87. rootpart = owner.Character.HumanoidRootPart
  88. --Converted with ttyyuu12345's model to script plugin v4
  89. function sandbox(var,func)
  90. local env = getfenv(func)
  91. local newenv = setmetatable({},{
  92. __index = function(self,k)
  93. if k=="script" then
  94. return var
  95. else
  96. return env[k]
  97. end
  98. end,
  99. })
  100. setfenv(func,newenv)
  101. return func
  102. end
  103. cors = {}
  104. mas = Instance.new("Model",game:GetService("Lighting"))
  105. Part0 = Instance.new("Part")
  106. SpecialMesh1 = Instance.new("SpecialMesh")
  107. Part0.Name = "bat"
  108. Part0.Parent = mas
  109. Part0.CFrame = CFrame.new(-21.7585564, 9.37138653, 31.5601826, 0.879920006, 0.321368992, -0.349946141, 0.111618973, 0.576104701, 0.809718668, 0.461824059, -0.751548648, 0.471055239)
  110. Part0.Orientation = Vector3.new(-54.0699997, -36.6100006, 10.9700003)
  111. Part0.Position = Vector3.new(-21.7585564, 9.37138653, 31.5601826)
  112. Part0.Rotation = Vector3.new(-59.8100014, -20.4799995, -20.0599995)
  113. Part0.Size = Vector3.new(1, 1, 4)
  114. Part0.BottomSurface = Enum.SurfaceType.Smooth
  115. Part0.TopSurface = Enum.SurfaceType.Smooth
  116. SpecialMesh1.Parent = Part0
  117. SpecialMesh1.MeshId = "http://www.roblox.com/asset/?id=54983181 "
  118. SpecialMesh1.Scale = Vector3.new(2, 2, 1.5)
  119. SpecialMesh1.TextureId = "http://www.roblox.com/asset/?id=55764440"
  120. SpecialMesh1.MeshType = Enum.MeshType.FileMesh
  121. for i,v in pairs(mas:GetChildren()) do
  122. v.Parent = script
  123. pcall(function() v:MakeJoints() end)
  124. end
  125. mas:Destroy()
  126. for i,v in pairs(cors) do
  127. spawn(function()
  128. pcall(v)
  129. end)
  130. end
  131. Part0.Parent = owner.Character["Right Arm"]
  132. Part0.CanCollide = false
  133. Part0:BreakJoints()
  134. Part0.Locked = true
  135. local batweld = Instance.new("Weld", owner.Character.Torso)
  136. batweld.Part0 = owner.Character["Right Arm"]
  137. batweld.Part1 = Part0
  138. batweld.C0 = CFrame.new(-5.7220459e-06, 0.786361694, -0.703529358, 0.999999881, 5.96046448e-08, -7.4505806e-08, 1.1920929e-07, -0.258817732, 0.965926111, 2.98023224e-08, -0.96592617, -0.258817703)
  139. local rightarm = Instance.new("Weld", owner.Character.Torso)
  140. rightarm.Part0 = owner.Character.Torso
  141. rightarm.Part1 = owner.Character["Right Arm"]
  142. rightarm.C0 = CFrame.new(1.5,0,0)
  143. rightarm.Name = "RightArmWeld"
  144. local rightleg = Instance.new("Weld", owner.Character.Torso)
  145. rightleg.Part0 = owner.Character.Torso
  146. rightleg.Part1 = owner.Character["Right Leg"]
  147. rightleg.C0 = CFrame.new(0.5,-2,0)
  148. rightleg.Name = "RightLegWeld"
  149. local leftarm = Instance.new("Weld", owner.Character.Torso)
  150. leftarm.Part0 = owner.Character.Torso
  151. leftarm.Part1 = owner.Character["Left Arm"]
  152. leftarm.C0 = CFrame.new(-1.5,0,0)
  153. leftarm.Name = "LeftArmWeld"
  154. local leftleg = Instance.new("Weld", owner.Character.Torso)
  155. leftleg.Part0 = owner.Character.Torso
  156. leftleg.Part1 = owner.Character["Left Leg"]
  157. leftleg.C0 = CFrame.new(-0.5,-2,0)
  158. leftleg.Name = "LeftLegWeld"
  159. local head = Instance.new("Weld", owner.Character.Torso)
  160. head.Part0 = owner.Character.Torso
  161. head.Part1 = owner.Character.Head
  162. head.C0 = CFrame.new(0,1.5,0)
  163. head.Name = "HeadWeld"
  164. local humanoidrootpart = Instance.new("Weld", owner.Character.HumanoidRootPart)
  165. humanoidrootpart.Part0 = owner.Character.HumanoidRootPart
  166. humanoidrootpart.Part1 = owner.Character.Torso
  167. humanoidrootpart.Name = "HumanoidRootPartWeld"
  168. ownerhumanoid.WalkSpeed = 22
  169. local woosh = Instance.new("Sound", Part0)
  170. woosh.SoundId = "http://www.roblox.com/asset/?id=184474135"
  171. woosh.Volume = 2
  172. woosh.PlaybackSpeed = 0.7
  173. local hitted = Instance.new("Sound", Part0)
  174. hitted.SoundId = "rbxassetid://220025689"
  175. hitted.Volume = 2
  176. local splat = Instance.new("Sound", Part0)
  177. splat.SoundId = "rbxassetid://150315649"
  178. splat.Volume = 2
  179. local musicrandom = math.random(1,7)
  180. if musicrandom == 1 then
  181. local music = Instance.new("Sound", rootpart)
  182. music.SoundId = "rbxassetid://2901128915"
  183. music:Play()
  184. music.Volume = 2
  185. music.Looped = true
  186. music.Name = "moosic"
  187. elseif musicrandom == 2 then
  188. local music = Instance.new("Sound", rootpart)
  189. music.SoundId = "rbxassetid://1676048932"
  190. music:Play()
  191. music.Volume = 1.5
  192. music.Looped = true
  193. music.Name = "moosic"
  194. elseif musicrandom == 3 then
  195. local music = Instance.new("Sound", rootpart)
  196. music.SoundId = "rbxassetid://2310301799"
  197. music:Play()
  198. music.Volume = 1
  199. music.Looped = true
  200. music.Name = "moosic"
  201. elseif musicrandom == 4 then
  202. local music = Instance.new("Sound", rootpart)
  203. music.SoundId = "rbxassetid://2297359893"
  204. music:Play()
  205. music.Volume = 1
  206. music.TimePosition = 143.5
  207. music.Looped = true
  208. music.Name = "moosic"
  209. elseif musicrandom == 5 then
  210. local music = Instance.new("Sound", rootpart)
  211. music.SoundId = "rbxassetid://890429322"
  212. music:Play()
  213. music.Volume = 1
  214. music.Looped = true
  215. music.Name = "moosic"
  216. elseif musicrandom == 6 then
  217. local music = Instance.new("Sound", rootpart)
  218. music.SoundId = "rbxassetid://150744047"
  219. music:Play()
  220. music.Volume = 1
  221. music.Looped = true
  222. music.Name = "moosic"
  223. elseif musicrandom == 7 then
  224. local music = Instance.new("Sound", rootpart)
  225. music.SoundId = "rbxassetid://2518599835"
  226. music:Play()
  227. music.Volume = 1
  228. music.Looped = true
  229. music.Name = "moosic"
  230. end
  231. punchvalue = 1
  232. function killem(character)
  233. character.Archivable = true
  234. if character:findFirstChild("UpperTorso") then
  235. if character:findFirstChildOfClass("Humanoid") then
  236. character:findFirstChildOfClass("Humanoid").WalkSpeed = 0
  237. character:findFirstChildOfClass("Humanoid").JumpPower = 0
  238. character:findFirstChildOfClass("Humanoid").Health = 0
  239. end
  240. return
  241. end
  242. for i,v in pairs(character:GetChildren()) do
  243. if v.ClassName == "Sound" or v.ClassName == "BodyVelocity" then
  244. v:destroy()
  245. end
  246. for q,w in pairs(v:GetChildren()) do
  247. if w.ClassName == "Sound" or w.ClassName == "BodyVelocity" then
  248. w:destroy()
  249. end
  250. end
  251. end
  252. if character:findFirstChildOfClass("Humanoid") then
  253. character:findFirstChildOfClass("Humanoid").WalkSpeed = 0
  254. character:findFirstChildOfClass("Humanoid").JumpPower = 0
  255. character:findFirstChildOfClass("Humanoid").Health = 0
  256. end
  257. local clone = character:Clone()
  258. for i,v in pairs(character:GetChildren()) do
  259. if v.ClassName == "Part" or v.ClassName == "Accessory" or v.ClassName == "Hat" or v.ClassName == "MeshPart" then
  260. v:destroy()
  261. end
  262. end
  263. if not clone:findFirstChild("HumanoidRootPart") then
  264. local root = Instance.new("Part", clone)
  265. root.Size = Vector3.new(2,2,1)
  266. root.CanCollide = false
  267. root.CFrame = clone.Torso.CFrame
  268. root.Name = "HumanoidRootPart"
  269. root.Transparency = 1
  270. root.CanCollide = false
  271. end
  272. if clone:findFirstChild("HumanoidRootPart") then
  273. clone:findFirstChild("HumanoidRootPart").CanCollide = false
  274. end
  275. clone.Parent = workspace
  276. game.Debris:AddItem(clone, 40)
  277. clone.HumanoidRootPart.CFrame = CFrame.new(clone.HumanoidRootPart.Position, owner.Character.HumanoidRootPart.Position)
  278. if clone:findFirstChild("Health") then
  279. clone:findFirstChild("Health"):Remove()
  280. end
  281. for i,v in pairs(clone:GetChildren()) do
  282. if v.ClassName == "Accessory" then
  283. local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
  284. if attachment1 then
  285. for q,w in pairs(clone:GetChildren()) do
  286. if w.ClassName == "Part" then
  287. local attachment2 = w:findFirstChild(attachment1.Name)
  288. if attachment2 then
  289. local hinge = Instance.new("HingeConstraint", v.Handle)
  290. hinge.Attachment0 = attachment1
  291. hinge.Attachment1 = attachment2
  292. hinge.LimitsEnabled = true
  293. hinge.LowerAngle = 0
  294. hinge.UpperAngle = 0
  295. end
  296. end
  297. end
  298. end
  299. end
  300. end
  301. if clone:findFirstChild("Right Arm") and clone:findFirstChild("Torso") then
  302. local welddead = Instance.new("Weld", clone["Right Arm"])
  303. welddead.Part0 = clone.Torso
  304. welddead.Part1 = clone["Right Arm"]
  305. local pose = math.random(1,2)
  306. if pose == 1 then
  307. welddead.C0 = CFrame.new(1.57922745, 0.0944194794, 0, 0.984807611, -0.173648149, 0, 0.173648164, 0.98480767, 0, 0, 0, 1)
  308. elseif pose == 2 then
  309. welddead.C0 = CFrame.new(1.5, 1, 2.98023224e-08, 0.999999821, 0, 0, 0, -0.999999881, 8.74227695e-08, 0, -8.74227766e-08, -1)
  310. end
  311. end
  312. if clone:findFirstChild("Left Arm") and clone:findFirstChild("Torso") then
  313. local welddead = Instance.new("Weld", clone["Left Arm"])
  314. welddead.Part0 = clone.Torso
  315. welddead.Part1 = clone["Left Arm"]
  316. local pose = math.random(1,2)
  317. if pose == 1 then
  318. welddead.C0 = CFrame.new(-1.5, 1, -5.96046448e-08, 0.999999881, 0, 0, 0, -0.99999994, -8.74227695e-08, 0, 8.74227766e-08, -1)
  319. elseif pose == 2 then
  320. welddead.C0 = CFrame.new(-1.57922745, 0.0944194794, 0, 0.984807611, 0.173648149, 0, -0.173648164, 0.98480767, 0, 0, 0, 1)
  321. end
  322. end
  323. if clone:findFirstChild("Left Leg") and clone:findFirstChild("Torso") then
  324. local welddead = Instance.new("Weld", clone["Left Leg"])
  325. welddead.Part0 = clone.Torso
  326. welddead.Part1 = clone["Left Leg"]
  327. local pose = math.random(1,2)
  328. if pose == 1 then
  329. welddead.C0 = CFrame.new(-0.681243896, -2.07163239, 0, 0.984807611, 0.173648149, 0, -0.173648164, 0.98480767, 0, 0, 0, 1)
  330. elseif pose == 2 then
  331. welddead.C0 = CFrame.new(-1.25976563, -2.08743858, 0, 0.766044319, 0.642787457, 0, -0.642787516, 0.766044378, 0, 0, 0, 1)
  332. end
  333. end
  334. if clone:findFirstChild("Right Leg") and clone:findFirstChild("Torso") then
  335. local welddead = Instance.new("Weld", clone["Right Leg"])
  336. welddead.Part0 = clone.Torso
  337. welddead.Part1 = clone["Right Leg"]
  338. local pose = math.random(1,2)
  339. if pose == 1 then
  340. welddead.C0 = CFrame.new(0.681243896, -2.07163239, 0, 0.984807611, -0.173648149, 0, 0.173648164, 0.98480767, 0, 0, 0, 1)
  341. elseif pose == 2 then
  342. welddead.C0 = CFrame.new(0.5, -2, 0, 0.999999881, 0, 0, 0, 0.99999994, 0, 0, 0, 1)
  343. end
  344. end
  345. if clone:findFirstChild("Head") and clone:findFirstChild("Torso") then
  346. local welddead = Instance.new("Weld", clone["Head"])
  347. welddead.Part0 = clone.Torso
  348. welddead.Part1 = clone["Head"]
  349. welddead.C0 = CFrame.new(0, 1.5, 0, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 1)
  350. end
  351. if clone:findFirstChild("HumanoidRootPart") and clone:findFirstChild("Torso") then
  352. local welddead = Instance.new("Weld", clone["Torso"])
  353. welddead.Part0 = clone.HumanoidRootPart
  354. welddead.Part1 = clone["Torso"]
  355. welddead.C0 = CFrame.new(0, -2.79999995, 0.399999619, 0.99999994, 0, 0, 0, -4.37113883e-08, -1, 0, 1, -4.37113883e-08)
  356. end
  357. if clone:findFirstChild("HumanoidRootPart") and clone:findFirstChild("UpperTorso") then
  358. local welddead = Instance.new("Weld", clone["UpperTorso"])
  359. welddead.Part0 = clone.HumanoidRootPart
  360. welddead.Part1 = clone["UpperTorso"]
  361. welddead.C0 = CFrame.new(0, -2.79999995, 0.399999619, 0.99999994, 0, 0, 0, -4.37113883e-08, -1, 0, 1, -4.37113883e-08)
  362. end
  363. for i,v in pairs(clone:GetChildren()) do
  364. if v.ClassName == "Sound" or v.ClassName == "BodyVelocity" then
  365. v:destroy()
  366. end
  367. for q,w in pairs(v:GetChildren()) do
  368. if w.ClassName == "Sound" or w.ClassName == "BodyVelocity" then
  369. w:destroy()
  370. end
  371. end
  372. end
  373. local function keepzeroing()
  374. while wait() do
  375. if clone:findFirstChildOfClass("Humanoid") then
  376. clone:findFirstChildOfClass("Humanoid").WalkSpeed = 0
  377. clone:findFirstChildOfClass("Humanoid").JumpPower = 0
  378. end
  379. end
  380. end
  381. spawn(keepzeroing)
  382. local value = 0.4
  383. while value > 0 do
  384. value = value - 0.02
  385. if clone:findFirstChild("HumanoidRootPart") then
  386. clone:findFirstChild("HumanoidRootPart").CFrame = clone:findFirstChild("HumanoidRootPart").CFrame * CFrame.new(0,0,value)
  387. end
  388. game:GetService("RunService").Heartbeat:wait()
  389. end
  390. end
  391. function attack(player, attackname)
  392. if player == owner and canattack then
  393. canattack = false
  394. cananimate = false
  395. if attackname == "Respawn" then
  396. if owner:findFirstChildOfClass("PlayerGui"):findFirstChild("press_pls") then
  397. owner:findFirstChildOfClass("PlayerGui"):findFirstChild("press_pls"):destroy()
  398. end
  399. owner:LoadCharacter()
  400. script.Disabled = true
  401. end
  402. ownerhumanoid.Name = "Immunity"
  403. if attackname == "Normal" then
  404. if punchvalue == 1 then
  405. punchvalue = 2
  406. for i = 0,1 , 0.11 do
  407. batweld.C0 = batweld.C0:lerp(CFrame.new(0.895418167, 0.216991425, -0.362640381, 0.7065292, -0.408184737, 0.578101695, -0.67302078, -0.135030389, 0.727193058, -0.218767852, -0.902857542, -0.37011984),i)
  408. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.50000191, 0.5, -0.5, 0.99999994, 2.98023224e-08, -1.07047995e-07, 1.1920929e-07, 5.96046448e-08, -0.999999881, 0, 0.99999994, -7.93995838e-08),i)
  409. leftarm.C0 = leftarm.C0:lerp(CFrame.new(0.682813644, 0.5, -0.931747437, 0.342020094, -0.939692497, 2.22044605e-16, 1.12057217e-08, 4.07854905e-09, -0.99999994, 0.939692497, 0.342020094, 1.19248789e-08),i)
  410. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.589058399, -2.03977251, 0, 0.996194661, 0.087155737, 0, -0.0871557295, 0.996194661, 0, 0, 1.86264515e-09, 1),i)
  411. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.589058638, -2.03977251, 0, 0.996194661, -0.087155737, 0, 0.0871557295, 0.996194661, 0, 0, -1.86264515e-09, 1),i)
  412. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.173648149, 0, -0.98480773, 0, 1, 0, 0.98480773, 0, 0.173648149),i)
  413. head.C0 = head.C0:lerp(CFrame.new(0, 1.5, 0, 0.173648119, 0, 0.984807611, 0, 1, 0, -0.984807611, 0, 0.173648119),i)
  414. game:GetService("RunService").Heartbeat:wait()
  415. end
  416. wait(0.1)
  417. woosh:Play()
  418. for i = 0,1 , 0.11 do
  419. if i == 0.55 then
  420. local function damageit()
  421. for i,v in pairs(workspace:GetChildren()) do
  422. if v.ClassName == "Model" and v ~= owner.Character then
  423. if v:findFirstChild("Head") then
  424. if (v.Head.Position - Part0.Position).magnitude < 4.5 then
  425. local human0id = v:findFirstChildOfClass("Humanoid")
  426. if human0id then
  427. hitted:Play()
  428. local whohit = v
  429. if human0id.MaxHealth > 300 then
  430. human0id.MaxHealth = 300
  431. human0id.Health = 300
  432. end
  433. if whohit:findFirstChild("UpperTorso") then
  434. local velo0 = Instance.new("BodyVelocity", whohit:findFirstChild("UpperTorso"))
  435. velo0.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  436. velo0.Velocity = player.Character.HumanoidRootPart.CFrame.lookVector * 15
  437. whohit.UpperTorso.CFrame = CFrame.new(whohit.UpperTorso.Position, player.Character.HumanoidRootPart.Position) * CFrame.fromEulerAnglesXYZ(1,0,0)
  438. game.Debris:AddItem(velo0, 0.2)
  439. elseif whohit:findFirstChild("Torso") then
  440. local velo0 = Instance.new("BodyVelocity", whohit:findFirstChild("Torso"))
  441. velo0.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  442. velo0.Velocity = player.Character.HumanoidRootPart.CFrame.lookVector * 15
  443. whohit.Torso.CFrame = CFrame.new(whohit.Torso.Position, player.Character.HumanoidRootPart.Position) * CFrame.fromEulerAnglesXYZ(1,0,0)
  444. game.Debris:AddItem(velo0, 0.2)
  445. end
  446. local dmg = math.random(50,140)
  447. if human0id.Health <= dmg and not human0id.PlatformStand then
  448. killem(whohit)
  449. else
  450. human0id.PlatformStand = true
  451. human0id.Health = human0id.Health - dmg
  452. local function stoplaying()
  453. wait(2)
  454. human0id.PlatformStand = false
  455. end
  456. spawn(stoplaying)
  457. end
  458. end
  459. end
  460. end
  461. end
  462. end
  463. end
  464. spawn(damageit)
  465. end
  466. rootpart.CFrame = rootpart.CFrame * CFrame.new(0,0,-0.3)
  467. batweld.C0 = batweld.C0:lerp(CFrame.new(1.36004066, -1.74136543, 0.362408638, 0.529688239, -0.0257967729, 0.847799838, 0.731815279, 0.519221127, -0.441424638, -0.428808272, 0.85425061, 0.293903798),i)
  468. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.40557861, 0.5, -0.579227448, 0.984807551, 0.173648104, 0, 7.59040031e-09, -4.30473115e-08, -0.99999994, -0.173648134, 0.98480767, -4.37113847e-08),i)
  469. leftarm.C0 = leftarm.C0:lerp(CFrame.new(0.238529205, 0.5, -0.982877731, 0.342020094, -0.939692497, 0, -4.10752641e-08, -1.49501744e-08, -0.99999994, 0.939692557, 0.342020154, -4.37113847e-08),i)
  470. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.589058399, -2.03977251, 0, 0.996194661, 0.087155737, 0, -0.0871557295, 0.996194661, 0, 0, 1.86264515e-09, 1),i)
  471. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.589058638, -2.03977251, 0, 0.996194661, -0.087155737, 0, 0.0871557295, 0.996194661, 0, 0, -1.86264515e-09, 1),i)
  472. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.173648223, 0, 0.98480773, 0, 1, 0, -0.98480773, 0, 0.173648223),i)
  473. head.C0 = head.C0:lerp(CFrame.new(0, 1.5, 0, 0.173648134, 0, -0.98480767, 0, 1, 0, 0.98480767, 0, 0.173648134),i)
  474. game:GetService("RunService").Heartbeat:wait()
  475. end
  476. elseif punchvalue == 2 then
  477. punchvalue = 1
  478. for i = 0,1 , 0.11 do
  479. batweld.C0 = batweld.C0:lerp(CFrame.new(-1.60438728, -1.27208328, -0.492827177, 0.0523819327, -0.365687072, -0.92926234, -0.852657855, 0.468016267, -0.232239366, 0.519837022, 0.804508269, -0.287290454),i)
  480. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.40557861, 0.5, -0.579227448, 0.984807551, 0.173648104, 0, 7.59040031e-09, -4.30473115e-08, -0.99999994, -0.173648134, 0.98480767, -4.37113847e-08),i)
  481. leftarm.C0 = leftarm.C0:lerp(CFrame.new(0.238529205, 0.5, -0.982877731, 0.342020094, -0.939692497, 0, -4.10752641e-08, -1.49501744e-08, -0.99999994, 0.939692557, 0.342020154, -4.37113847e-08),i)
  482. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.589058399, -2.03977251, 0, 0.996194661, 0.087155737, 0, -0.0871557295, 0.996194661, 0, 0, 1.86264515e-09, 1),i)
  483. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.589058638, -2.03977251, 0, 0.996194661, -0.087155737, 0, 0.0871557295, 0.996194661, 0, 0, -1.86264515e-09, 1),i)
  484. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.173648223, 0, 0.98480773, 0, 1, 0, -0.98480773, 0, 0.173648223),i)
  485. head.C0 = head.C0:lerp(CFrame.new(0, 1.5, 0, 0.173648134, 0, -0.98480767, 0, 1, 0, 0.98480767, 0, 0.173648134),i)
  486. game:GetService("RunService").Heartbeat:wait()
  487. end
  488. wait(0.1)
  489. woosh:Play()
  490. for i = 0,1 , 0.11 do
  491. if i == 0.55 then
  492. local function damageit()
  493. for i,v in pairs(workspace:GetChildren()) do
  494. if v.ClassName == "Model" and v ~= owner.Character then
  495. if v:findFirstChild("Head") then
  496. if (v.Head.Position - Part0.Position).magnitude < 4.5 then
  497. local human0id = v:findFirstChildOfClass("Humanoid")
  498. if human0id then
  499. hitted:Play()
  500. local whohit = v
  501. if human0id.MaxHealth > 300 then
  502. human0id.MaxHealth = 300
  503. human0id.Health = 300
  504. end
  505. if whohit:findFirstChild("UpperTorso") then
  506. local velo0 = Instance.new("BodyVelocity", whohit:findFirstChild("UpperTorso"))
  507. velo0.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  508. velo0.Velocity = player.Character.HumanoidRootPart.CFrame.lookVector * 15
  509. whohit.UpperTorso.CFrame = CFrame.new(whohit.UpperTorso.Position, player.Character.HumanoidRootPart.Position) * CFrame.fromEulerAnglesXYZ(1,0,0)
  510. game.Debris:AddItem(velo0, 0.2)
  511. elseif whohit:findFirstChild("Torso") then
  512. local velo0 = Instance.new("BodyVelocity", whohit:findFirstChild("Torso"))
  513. velo0.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  514. velo0.Velocity = player.Character.HumanoidRootPart.CFrame.lookVector * 15
  515. whohit.Torso.CFrame = CFrame.new(whohit.Torso.Position, player.Character.HumanoidRootPart.Position) * CFrame.fromEulerAnglesXYZ(1,0,0)
  516. game.Debris:AddItem(velo0, 0.2)
  517. end
  518. local dmg = math.random(50,140)
  519. if human0id.Health <= dmg and not human0id.PlatformStand then
  520. killem(whohit)
  521. else
  522. human0id.PlatformStand = true
  523. human0id.Health = human0id.Health - dmg
  524. local function stoplaying()
  525. wait(2)
  526. human0id.PlatformStand = false
  527. end
  528. spawn(stoplaying)
  529. end
  530. end
  531. end
  532. end
  533. end
  534. end
  535. end
  536. spawn(damageit)
  537. end
  538. rootpart.CFrame = rootpart.CFrame * CFrame.new(0,0,-0.3)
  539. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.69889665, 0.394170761, 0.0185413361, 0.690658808, -0.707134247, -0.1514979, -0.0369449481, 0.174714148, -0.98392576, 0.722236574, 0.6851542, 0.0945428461),i)
  540. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.57185173, 0.459482908, -0.413936973, 0.987541318, 0.156162173, 0.0193825662, 0.00802944601, 0.0730058104, -0.997299075, -0.157155514, 0.985029876, 0.070842348),i)
  541. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.589058399, -2.03977251, 0, 0.996194661, 0.087155737, 0, -0.0871557295, 0.996194661, 0, 0, 1.86264515e-09, 1),i)
  542. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.589058638, -2.03977251, 0, 0.996194661, -0.087155737, 0, 0.0871557295, 0.996194661, 0, 0, -1.86264515e-09, 1),i)
  543. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(-0.0178173669, 0.0954422951, -0.0489528179, 0.33682394, -0.0593913794, -0.939692736, 0.173648328, 0.98480773, -1.82639241e-07, 0.925416648, -0.163176015, 0.342020035),i)
  544. head.C0 = head.C0:lerp(CFrame.new(2.38418579e-07, 1.5, 0, 0.342020154, -1.49011612e-08, 0.939692795, -1.14669092e-08, 0.99999994, -4.47034836e-08, -0.939692795, 3.7252903e-09, 0.342020184),i)
  545. game:GetService("RunService").Heartbeat:wait()
  546. end
  547. end
  548. wait(0.1)
  549. elseif attackname == "Finish" then
  550. ownerhumanoid.WalkSpeed = 0
  551. ownerhumanoid.JumpPower = 0
  552. for i = 0,1 , 0.08 do
  553. batweld.C0 = batweld.C0:lerp(CFrame.new(0.637763023, -1.80996704, -1.21629524, 0.0523821563, -0.893855155, 0.445285141, -0.852660179, -0.272144109, -0.445991099, 0.519833207, -0.356314987, -0.776410401),i)
  554. rightarm.C0 = rightarm.C0:lerp(CFrame.new(0.938371658, 1.03961468, 0.452787399, 0.642787576, 0.766044319, 0, 0.58682394, -0.492403865, 0.642787576, 0.492403805, -0.413175881, -0.766044438),i)
  555. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-0.938371658, 1.03961468, 0.452787399, 0.642787635, -0.766044378, 0, -0.586823821, -0.492403775, 0.642787635, -0.492403835, -0.413175941, -0.766044319),i)
  556. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.76604366, 0.642786026, 1, 0, 0, 0, 0.766044199, 0.642787695, 0, -0.642787695, 0.766044319),i)
  557. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -0.919614792, -1.30000114, 1, 0, 0, 0, 0.866025269, -0.49999997, 0, 0.49999997, 0.866025329),i)
  558. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, -1, 0, 1, 1.12020089e-07, 4.0771976e-08, -1.1920929e-07, 0.939692616, 0.342020124, 0, -0.342020124, 0.939692616),i)
  559. head.C0 = head.C0:lerp(CFrame.new(0, 1.49240398, -0.0868244171, 1, 0, 0, 0, 0.984807611, 0.173648179, 0, -0.173648179, 0.984807611),i)
  560. game:GetService("RunService").Heartbeat:wait()
  561. end
  562. wait(0.3)
  563. local sizevalue = 4
  564. torsopos = owner.Character.HumanoidRootPart.CFrame
  565. for i = 1,3 do
  566. woosh:Play()
  567. for i = 0,1 , 0.3 do
  568. batweld.C0 = batweld.C0:lerp(CFrame.new(0.77614975, -1.95986652, -0.740211487, 0.0141179711, -0.773501039, 0.633637846, -0.58085382, -0.522155762, -0.624469519, 0.813885331, -0.359234661, -0.456662863),i)
  569. rightarm.C0 = rightarm.C0:lerp(CFrame.new(0.938371658, 0.377679825, -0.693714142, 0.642787635, 0.766044438, 0, -0.133022219, 0.111618921, -0.984807611, -0.754406512, 0.633022249, 0.173648208),i)
  570. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-0.938371658, 0.377679825, -0.693714142, 0.642787635, -0.766044378, 0, 0.133022308, 0.111618996, -0.984807551, 0.754406393, 0.633022189, 0.173648387),i)
  571. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.86602497, 0.5, 1, 0, 0, 0, 0.866025329, 0.49999994, 0, -0.49999997, 0.866025329),i)
  572. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -0.602511406, -1.69209099, 1, 0, 0, 0, 0.766044378, -0.642787516, 0, 0.642787576, 0.766044438) * CFrame.new(0,0,0.2),i)
  573. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, -1, 0, 1, 0, 0, 0, 0.866025388, 0.5, 0, -0.5, 0.866025388) * CFrame.new(0,0,-0.2),i)
  574. head.C0 = head.C0:lerp(CFrame.new(0, 1.49240398, -0.0868263245, 1, 0, 0, 0, 0.984807789, 0.17364797, 0, -0.17364797, 0.984807789),i)
  575. game:GetService("RunService").Heartbeat:wait()
  576. end
  577. wait(0.1)
  578. for i,v in pairs(workspace:GetChildren()) do
  579. if v.ClassName == "Model" and v ~= owner.Character then
  580. if v:findFirstChild("Head") then
  581. if (v.Head.Position - Part0.Position).magnitude < 4.5 then
  582. local human0id = v:findFirstChildOfClass("Humanoid")
  583. if human0id then
  584. hitted:Play()
  585. local whohit = v
  586. if human0id.MaxHealth > 300 then
  587. human0id.MaxHealth = 300
  588. human0id.Health = 300
  589. end
  590. if whohit:findFirstChild("UpperTorso") then
  591. whohit.UpperTorso.Anchored = true
  592. elseif whohit:findFirstChild("Torso") then
  593. whohit.Torso.Anchored = true
  594. end
  595. human0id.Health = human0id.Health - math.random(5,15)
  596. human0id.JumpPower = 0
  597. human0id.PlatformStand = true
  598. local blood = Instance.new("Part", workspace)
  599. blood.Shape = "Cylinder"
  600. blood.BrickColor = BrickColor.new("Maroon")
  601. blood.Anchored = true
  602. blood.Size = Vector3.new(0.1,sizevalue,sizevalue)
  603. blood.CFrame = torsopos * CFrame.new(0,-3,-3) * CFrame.fromEulerAnglesXYZ(0,math.pi/2,math.pi/2)
  604. blood.CanCollide = false
  605. game.Debris:AddItem(blood, 8)
  606. sizevalue = sizevalue + 1
  607. end
  608. end
  609. end
  610. end
  611. end
  612. for i = 0,1 , 0.12 do
  613. batweld.C0 = batweld.C0:lerp(CFrame.new(0.637763023, -1.80996704, -1.21629524, 0.0523821563, -0.893855155, 0.445285141, -0.852660179, -0.272144109, -0.445991099, 0.519833207, -0.356314987, -0.776410401),i)
  614. rightarm.C0 = rightarm.C0:lerp(CFrame.new(0.938371658, 1.03961468, 0.452787399, 0.642787576, 0.766044319, 0, 0.58682394, -0.492403865, 0.642787576, 0.492403805, -0.413175881, -0.766044438),i)
  615. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-0.938371658, 1.03961468, 0.452787399, 0.642787635, -0.766044378, 0, -0.586823821, -0.492403775, 0.642787635, -0.492403835, -0.413175941, -0.766044319),i)
  616. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.76604366, 0.642786026, 1, 0, 0, 0, 0.766044199, 0.642787695, 0, -0.642787695, 0.766044319),i)
  617. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -0.919614792, -1.30000114, 1, 0, 0, 0, 0.866025269, -0.49999997, 0, 0.49999997, 0.866025329),i)
  618. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, -1, 0, 1, 1.12020089e-07, 4.0771976e-08, -1.1920929e-07, 0.939692616, 0.342020124, 0, -0.342020124, 0.939692616),i)
  619. head.C0 = head.C0:lerp(CFrame.new(0, 1.49240398, -0.0868244171, 1, 0, 0, 0, 0.984807611, 0.173648179, 0, -0.173648179, 0.984807611),i)
  620. game:GetService("RunService").Heartbeat:wait()
  621. end
  622. wait(0.1)
  623. end
  624. wait(0.25)
  625. woosh:Play()
  626. for i = 0,1 , 0.3 do
  627. batweld.C0 = batweld.C0:lerp(CFrame.new(0.77614975, -1.95986652, -0.740211487, 0.0141179711, -0.773501039, 0.633637846, -0.58085382, -0.522155762, -0.624469519, 0.813885331, -0.359234661, -0.456662863),i)
  628. rightarm.C0 = rightarm.C0:lerp(CFrame.new(0.938371658, 0.377679825, -0.693714142, 0.642787635, 0.766044438, 0, -0.133022219, 0.111618921, -0.984807611, -0.754406512, 0.633022249, 0.173648208),i)
  629. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-0.938371658, 0.377679825, -0.693714142, 0.642787635, -0.766044378, 0, 0.133022308, 0.111618996, -0.984807551, 0.754406393, 0.633022189, 0.173648387),i)
  630. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.86602497, 0.5, 1, 0, 0, 0, 0.866025329, 0.49999994, 0, -0.49999997, 0.866025329),i)
  631. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -0.602511406, -1.69209099, 1, 0, 0, 0, 0.766044378, -0.642787516, 0, 0.642787576, 0.766044438) * CFrame.new(0,0,0.2),i)
  632. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, -1, 0, 1, 0, 0, 0, 0.866025388, 0.5, 0, -0.5, 0.866025388) * CFrame.new(0,0,-0.2),i)
  633. head.C0 = head.C0:lerp(CFrame.new(0, 1.49240398, -0.0868263245, 1, 0, 0, 0, 0.984807789, 0.17364797, 0, -0.17364797, 0.984807789),i)
  634. game:GetService("RunService").Heartbeat:wait()
  635. end
  636. for i,v in pairs(workspace:GetChildren()) do
  637. if v.ClassName == "Model" and v ~= owner.Character then
  638. if v:findFirstChild("Head") then
  639. if (v.Head.Position - Part0.Position).magnitude < 4.5 then
  640. local human0id = v:findFirstChildOfClass("Humanoid")
  641. if human0id then
  642. hitted:Play()
  643. local whohit = v
  644. if human0id.MaxHealth > 300 then
  645. human0id.MaxHealth = 300
  646. human0id.Health = 300
  647. end
  648. if whohit:findFirstChild("UpperTorso") then
  649. whohit.UpperTorso.Anchored = false
  650. elseif whohit:findFirstChild("Torso") then
  651. whohit.Torso.Anchored = false
  652. end
  653. human0id.Health = human0id.Health - 300
  654. human0id.JumpPower = 0
  655. human0id.PlatformStand = false
  656. local blood = Instance.new("Part", workspace)
  657. blood.Shape = "Cylinder"
  658. blood.BrickColor = BrickColor.new("Maroon")
  659. blood.Anchored = true
  660. blood.Size = Vector3.new(0.1,sizevalue,sizevalue)
  661. blood.CFrame = torsopos * CFrame.new(0,-3,-3) * CFrame.fromEulerAnglesXYZ(0,math.pi/2,math.pi/2)
  662. blood.CanCollide = false
  663. game.Debris:AddItem(blood, 8)
  664. splat:Play()
  665. end
  666. end
  667. end
  668. end
  669. end
  670. wait(0.2)
  671. for i = 0,1 , 0.08 do
  672. batweld.C0 = batweld.C0:lerp(CFrame.new(0.637763023, -1.80996704, -1.21629524, 0.0523821563, -0.893855155, 0.445285141, -0.852660179, -0.272144109, -0.445991099, 0.519833207, -0.356314987, -0.776410401),i)
  673. rightarm.C0 = rightarm.C0:lerp(CFrame.new(0.938371658, 1.03961468, 0.452787399, 0.642787576, 0.766044319, 0, 0.58682394, -0.492403865, 0.642787576, 0.492403805, -0.413175881, -0.766044438),i)
  674. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-0.938371658, 1.03961468, 0.452787399, 0.642787635, -0.766044378, 0, -0.586823821, -0.492403775, 0.642787635, -0.492403835, -0.413175941, -0.766044319),i)
  675. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.76604366, 0.642786026, 1, 0, 0, 0, 0.766044199, 0.642787695, 0, -0.642787695, 0.766044319),i)
  676. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -0.919614792, -1.30000114, 1, 0, 0, 0, 0.866025269, -0.49999997, 0, 0.49999997, 0.866025329),i)
  677. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, -1, 0, 1, 1.12020089e-07, 4.0771976e-08, -1.1920929e-07, 0.939692616, 0.342020124, 0, -0.342020124, 0.939692616),i)
  678. head.C0 = head.C0:lerp(CFrame.new(0, 1.49240398, -0.0868244171, 1, 0, 0, 0, 0.984807611, 0.173648179, 0, -0.173648179, 0.984807611),i)
  679. game:GetService("RunService").Heartbeat:wait()
  680. end
  681. ownerhumanoid.WalkSpeed = 22
  682. ownerhumanoid.JumpPower = 50
  683. wait(0.4)
  684. end
  685. ownerhumanoid.Name = "Humanoid"
  686. cananimate = true
  687. canattack = true
  688. end
  689. end
  690. attackevent.OnServerEvent:connect(attack)
  691. function run(speed)
  692. if speed > 5 and not jumping and cananimate then
  693. running = true
  694. else
  695. running = false
  696. end
  697. end
  698. ownerhumanoid.Running:connect(run)
  699. function checkjump()
  700. while wait() do
  701. if rootpart.Velocity.y > 1 or rootpart.Velocity.y < - 1 and cananimate then
  702. jumping = true
  703. else
  704. jumping = false
  705. end
  706. end
  707. end
  708. spawn(run)
  709. spawn(checkjump)
  710. ownerhumanoid.WalkSpeed = 22
  711. function dead()
  712. canattack = true
  713. owner.Character.Archivable = true
  714. ownerhumanoid.WalkSpeed = 0
  715. ownerhumanoid.JumpPower = 0
  716. if Part0.Parent ~= nil then
  717. Part0.CanCollide = true
  718. Part0:BreakJoints()
  719. end
  720. if rootpart:findFirstChild("moosic") then
  721. rootpart.moosic:destroy()
  722. end
  723. hitted:Play()
  724. local clone = owner.Character:Clone()
  725. if owner.Character:findFirstChildOfClass("Humanoid") then
  726. owner.Character:findFirstChildOfClass("Humanoid"):destroy()
  727. end
  728. for i,v in pairs(owner.Character:GetChildren()) do
  729. if v.ClassName == "Part" or v.ClassName == "Accessory" or v.ClassName == "Hat" then
  730. v:destroy()
  731. end
  732. end
  733. clone.Parent = workspace
  734. if clone:findFirstChild("Health") then
  735. clone:findFirstChild("Health"):Remove()
  736. end
  737. for i,v in pairs(clone:GetChildren()) do
  738. if v.ClassName == "Accessory" then
  739. local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
  740. if attachment1 then
  741. for q,w in pairs(clone:GetChildren()) do
  742. if w.ClassName == "Part" then
  743. local attachment2 = w:findFirstChild(attachment1.Name)
  744. if attachment2 then
  745. local hinge = Instance.new("HingeConstraint", v.Handle)
  746. hinge.Attachment0 = attachment1
  747. hinge.Attachment1 = attachment2
  748. hinge.LimitsEnabled = true
  749. hinge.LowerAngle = 0
  750. hinge.UpperAngle = 0
  751. end
  752. end
  753. end
  754. end
  755. end
  756. end
  757. if clone:findFirstChild("Right Arm") and clone:findFirstChild("Torso") then
  758. local welddead = Instance.new("Weld", clone["Right Arm"])
  759. welddead.Part0 = clone.Torso
  760. welddead.Part1 = clone["Right Arm"]
  761. local pose = math.random(1,2)
  762. if pose == 1 then
  763. welddead.C0 = CFrame.new(1.57922745, 0.0944194794, 0, 0.984807611, -0.173648149, 0, 0.173648164, 0.98480767, 0, 0, 0, 1)
  764. elseif pose == 2 then
  765. welddead.C0 = CFrame.new(1.5, 1, 2.98023224e-08, 0.999999821, 0, 0, 0, -0.999999881, 8.74227695e-08, 0, -8.74227766e-08, -1)
  766. end
  767. end
  768. if clone:findFirstChild("Left Arm") and clone:findFirstChild("Torso") then
  769. local welddead = Instance.new("Weld", clone["Left Arm"])
  770. welddead.Part0 = clone.Torso
  771. welddead.Part1 = clone["Left Arm"]
  772. local pose = math.random(1,2)
  773. if pose == 1 then
  774. welddead.C0 = CFrame.new(-1.5, 1, -5.96046448e-08, 0.999999881, 0, 0, 0, -0.99999994, -8.74227695e-08, 0, 8.74227766e-08, -1)
  775. elseif pose == 2 then
  776. welddead.C0 = CFrame.new(-1.57922745, 0.0944194794, 0, 0.984807611, 0.173648149, 0, -0.173648164, 0.98480767, 0, 0, 0, 1)
  777. end
  778. end
  779. if clone:findFirstChild("Left Leg") and clone:findFirstChild("Torso") then
  780. local welddead = Instance.new("Weld", clone["Left Leg"])
  781. welddead.Part0 = clone.Torso
  782. welddead.Part1 = clone["Left Leg"]
  783. local pose = math.random(1,2)
  784. if pose == 1 then
  785. welddead.C0 = CFrame.new(-0.681243896, -2.07163239, 0, 0.984807611, 0.173648149, 0, -0.173648164, 0.98480767, 0, 0, 0, 1)
  786. elseif pose == 2 then
  787. welddead.C0 = CFrame.new(-1.25976563, -2.08743858, 0, 0.766044319, 0.642787457, 0, -0.642787516, 0.766044378, 0, 0, 0, 1)
  788. end
  789. end
  790. if clone:findFirstChild("Right Leg") and clone:findFirstChild("Torso") then
  791. local welddead = Instance.new("Weld", clone["Right Leg"])
  792. welddead.Part0 = clone.Torso
  793. welddead.Part1 = clone["Right Leg"]
  794. local pose = math.random(1,2)
  795. if pose == 1 then
  796. welddead.C0 = CFrame.new(0.681243896, -2.07163239, 0, 0.984807611, -0.173648149, 0, 0.173648164, 0.98480767, 0, 0, 0, 1)
  797. elseif pose == 2 then
  798. welddead.C0 = CFrame.new(0.5, -2, 0, 0.999999881, 0, 0, 0, 0.99999994, 0, 0, 0, 1)
  799. end
  800. end
  801. if clone:findFirstChild("Head") and clone:findFirstChild("Torso") then
  802. local welddead = Instance.new("Weld", clone["Head"])
  803. welddead.Part0 = clone.Torso
  804. welddead.Part1 = clone["Head"]
  805. welddead.C0 = CFrame.new(0, 1.5, 0, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 1)
  806. end
  807. if clone:findFirstChild("HumanoidRootPart") and clone:findFirstChild("Torso") then
  808. local welddead = Instance.new("Weld", clone["Torso"])
  809. welddead.Part0 = clone.HumanoidRootPart
  810. welddead.Part1 = clone["Torso"]
  811. welddead.C0 = CFrame.new(0, -2.79999995, 0.399999619, 0.99999994, 0, 0, 0, -4.37113883e-08, -1, 0, 1, -4.37113883e-08)
  812. end
  813. local value = 0.35
  814. -- Version: 2.82
  815. -- Instances:
  816. local presspls = Instance.new("ScreenGui")
  817. local Frame = Instance.new("Frame")
  818. local TextLabel = Instance.new("TextLabel")
  819. --Properties:
  820. presspls.Name = "press_pls"
  821. presspls.Parent = owner:findFirstChildOfClass("PlayerGui")
  822. presspls.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  823.  
  824. Frame.Parent = presspls
  825. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  826. Frame.Position = UDim2.new(0.325911194, 0, 0.864347696, 0)
  827. Frame.Size = UDim2.new(0, 614, 0, 88)
  828.  
  829. TextLabel.Parent = Frame
  830. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  831. TextLabel.BackgroundTransparency = 1
  832. TextLabel.Position = UDim2.new(0.0293159597, 0, 0, 0)
  833. TextLabel.Size = UDim2.new(0, 578, 0, 88)
  834. TextLabel.Font = Enum.Font.Arcade
  835. TextLabel.Text = "PRESS R TO RESTART"
  836. TextLabel.TextColor3 = Color3.fromRGB(1,1,1)
  837. TextLabel.TextScaled = true
  838. TextLabel.TextSize = 25
  839. TextLabel.TextWrapped = true
  840. local music = Instance.new("Sound", presspls)
  841. local randomdedmusic = math.random(1,2)
  842. if randomdedmusic == 1 then
  843. music.SoundId = "rbxassetid://542118363"
  844. music.Volume = 3
  845. elseif randomdedmusic == 2 then
  846. music.SoundId = "rbxassetid://226195819"
  847. music.Volume = 2
  848. end
  849. music:Play()
  850. music.Name = "dead"
  851. while value > 0 do
  852. value = value - 0.02
  853. if clone:findFirstChild("HumanoidRootPart") then
  854. clone:findFirstChild("HumanoidRootPart").CFrame = clone:findFirstChild("HumanoidRootPart").CFrame * CFrame.new(0,0,value)
  855. end
  856. game:GetService("RunService").Heartbeat:wait()
  857. end
  858. if clone:findFirstChild("HumanoidRootPart") then
  859. local blood = Instance.new("Part", workspace)
  860. blood.Shape = "Cylinder"
  861. blood.BrickColor = BrickColor.new("Maroon")
  862. blood.Anchored = true
  863. blood.Size = Vector3.new(0.1,1,1)
  864. blood.CFrame = clone:findFirstChild("HumanoidRootPart").CFrame * CFrame.new(0,-3.25,0) * CFrame.fromEulerAnglesXYZ(0,math.pi/2,math.pi/2)
  865. blood.CanCollide = false
  866. local function bleeed()
  867. while blood.Size.y < 6 and wait() do
  868. blood.Size = blood.Size + Vector3.new(0,0.007,0.007)
  869. end
  870. end
  871. spawn(bleeed)
  872. game.Debris:AddItem(blood, 40)
  873. end
  874. if clone:findFirstChild("HumanoidRootPart") then
  875. clone:findFirstChild("HumanoidRootPart").CanCollide = false
  876. end
  877. game.Debris:AddItem(clone, 40)
  878. local function rainbow()
  879. while wait() do
  880. TextLabel.TextColor3 = Color3.fromRGB(0,255,255)
  881. wait(.1)
  882. TextLabel.TextColor3 = Color3.fromRGB(30,255,255)
  883. wait(.1)
  884. TextLabel.TextColor3 = Color3.fromRGB(60,255,255)
  885. wait(.1)
  886. TextLabel.TextColor3 = Color3.fromRGB(90,255,255)
  887. wait(.1)
  888. TextLabel.TextColor3 = Color3.fromRGB(120,255,255)
  889. wait(.1)
  890. TextLabel.TextColor3 = Color3.fromRGB(150,255,255)
  891. wait(.1)
  892. TextLabel.TextColor3 = Color3.fromRGB(180,255,255)
  893. wait(.1)
  894. TextLabel.TextColor3 = Color3.fromRGB(210,255,255)
  895. wait(.1)
  896. TextLabel.TextColor3 = Color3.fromRGB(240,255,255)
  897. wait(.1)
  898. TextLabel.TextColor3 = Color3.fromRGB(255,255,255)
  899. wait(.1)
  900. --
  901. TextLabel.TextColor3 = Color3.fromRGB(255,240,255)
  902. wait(.1)
  903. TextLabel.TextColor3 = Color3.fromRGB(255,210,255)
  904. wait(.1)
  905. TextLabel.TextColor3 = Color3.fromRGB(255,180,255)
  906. wait(.1)
  907. TextLabel.TextColor3 = Color3.fromRGB(255,150,255)
  908. wait(.1)
  909. TextLabel.TextColor3 = Color3.fromRGB(255,120,255)
  910. wait(.1)
  911. TextLabel.TextColor3 = Color3.fromRGB(255,90,255)
  912. wait(.1)
  913. TextLabel.TextColor3 = Color3.fromRGB(255,60,255)
  914. wait(.1)
  915. TextLabel.TextColor3 = Color3.fromRGB(255,30,255)
  916. wait(.1)
  917. TextLabel.TextColor3 = Color3.fromRGB(255,0,255)
  918. wait(.1)
  919. TextLabel.TextColor3 = Color3.fromRGB(255,0,255)
  920. wait(.1)
  921. --E
  922. TextLabel.TextColor3 = Color3.fromRGB(255,0,230)
  923. wait(.1)
  924. TextLabel.TextColor3 = Color3.fromRGB(255,0,200)
  925. wait(.1)
  926. TextLabel.TextColor3 = Color3.fromRGB(255,0,170)
  927. wait(.1)
  928. TextLabel.TextColor3 = Color3.fromRGB(255,0,140)
  929. wait(.1)
  930. TextLabel.TextColor3 = Color3.fromRGB(255,0,110)
  931. wait(.1)
  932. TextLabel.TextColor3 = Color3.fromRGB(255,0,80)
  933. wait(.1)
  934. TextLabel.TextColor3 = Color3.fromRGB(255,0,50)
  935. wait(.1)
  936. TextLabel.TextColor3 = Color3.fromRGB(255,0,20)
  937. wait(.1)
  938. TextLabel.TextColor3 = Color3.fromRGB(255,0,0)
  939. wait(.1)
  940. TextLabel.TextColor3 = Color3.fromRGB(255,0,0)
  941. wait(.1)
  942. --E
  943. TextLabel.TextColor3 = Color3.fromRGB(230,0,0)
  944. wait(.1)
  945. TextLabel.TextColor3 = Color3.fromRGB(200,30,0)
  946. wait(.1)
  947. TextLabel.TextColor3 = Color3.fromRGB(170,60,0)
  948. wait(.1)
  949. TextLabel.TextColor3 = Color3.fromRGB(140,90,0)
  950. wait(.1)
  951. TextLabel.TextColor3 = Color3.fromRGB(110,120,0)
  952. wait(.1)
  953. TextLabel.TextColor3 = Color3.fromRGB(80,150,0)
  954. wait(.1)
  955. TextLabel.TextColor3 = Color3.fromRGB(50,180,0)
  956. wait(.1)
  957. TextLabel.TextColor3 = Color3.fromRGB(20,210,0)
  958. wait(.1)
  959. TextLabel.TextColor3 = Color3.fromRGB(0,240,0)
  960. wait(.1)
  961. TextLabel.TextColor3 = Color3.fromRGB(0,255,0)
  962. wait(.1)
  963. --
  964. TextLabel.TextColor3 = Color3.fromRGB(0,255,0)
  965. wait(.1)
  966. TextLabel.TextColor3 = Color3.fromRGB(0,255,30)
  967. wait(.1)
  968. TextLabel.TextColor3 = Color3.fromRGB(0,255,60)
  969. wait(.1)
  970. TextLabel.TextColor3 = Color3.fromRGB(0,255,90)
  971. wait(.1)
  972. TextLabel.TextColor3 = Color3.fromRGB(0,255,120)
  973. wait(.1)
  974. TextLabel.TextColor3 = Color3.fromRGB(0,255,160)
  975. wait(.1)
  976. TextLabel.TextColor3 = Color3.fromRGB(0,255,190)
  977. wait(.1)
  978. TextLabel.TextColor3 = Color3.fromRGB(0,255,220)
  979. wait(.1)
  980. TextLabel.TextColor3 = Color3.fromRGB(0,255,240)
  981. wait(.1)
  982. TextLabel.TextColor3 = Color3.fromRGB(0,255,255)
  983. wait(.1)
  984. end
  985. end
  986. local function spin()
  987. value = 0.1
  988. while true do
  989. canattack = true
  990. TextLabel.Rotation = 0
  991. while value > -0.11 do
  992. TextLabel.Rotation = TextLabel.Rotation + value
  993. value = value - 0.0012
  994. wait()
  995. canattack = true
  996. end
  997. local interpolation = -0.1088
  998. for i = 1,160 do
  999. interpolation = interpolation + 0.0014
  1000. TextLabel.Rotation = TextLabel.Rotation + interpolation
  1001. wait()
  1002. canattack = true
  1003. end
  1004. value = 0.1
  1005. wait()
  1006. end
  1007. end
  1008. spawn(spin)
  1009. spawn(rainbow)
  1010. end
  1011. ownerhumanoid.Died:connect(dead)
  1012. while game:GetService("RunService").Heartbeat:wait() do
  1013. if jumping then
  1014. for i = 0,1 , 0.11 do
  1015. if jumping and cananimate then
  1016. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.53904724, 0.0755195618, 0.171010971, 0.99619472, -0.0818995908, -0.0298090335, 0.0871557295, 0.936116695, 0.340718776, 4.04947187e-09, -0.342020273, 0.939692557),i)
  1017. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.53904724, 0.0755195618, 0.171010971, 0.99619472, 0.081899628, 0.0298090335, -0.0871557519, 0.936116695, 0.340718746, 8.98904418e-09, -0.342020243, 0.939692557),i)
  1018. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.586088657, -2.0058279, 0.25881958, 0.99619472, 0.0841859505, 0.0225575529, -0.0871556997, 0.962250173, 0.257834017, -2.40219578e-09, -0.258818954, 0.965925872),i)
  1019. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.536765099, -1.44205523, -1, 0.99619472, -0.0871554911, 0, 0.0871554837, 0.996194661, -4.4408921e-16, 0, 4.4408921e-16, 1),i)
  1020. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),i)
  1021. head.C0 = head.C0:lerp(CFrame.new(0, 1.49240398, 0.0868244171, 1, -3.62258703e-08, -2.05447037e-07, -1.24344979e-14, 0.98480773, -0.173648298, 2.08616399e-07, 0.173648298, 0.98480773),i)
  1022. game:GetService("RunService").Heartbeat:wait()
  1023. end
  1024. end
  1025. end --------------------------------------------
  1026. if running and not jumping and cananimate then
  1027. local rarmc0 = rightarm.C0
  1028. local larmc0 = leftarm.C0
  1029. local llegc0 = leftleg.C0
  1030. local rlegc0 = rightleg.C0
  1031. local humrootc0 = humanoidrootpart.C0
  1032. local headc0 = head.C0
  1033. for i = 0,1 , 0.13 do
  1034. if running and not jumping and cananimate then
  1035. batweld.C0 = batweld.C0:lerp(CFrame.new(-1.08476353, 0.49840641, -1.01060486, 0.819151759, 5.06639481e-07, -0.573576689, 0.519837201, -0.422617912, 0.742403686, -0.242403388, -0.906307817, -0.346188605),i)
  1036. rightarm.C0 = rarmc0:lerp(CFrame.new(1.49999905, 0.969845772, -0.171009064, 0.99999994, 7.4505806e-09, 0, 0, -0.939692557, -0.342020184, 0, 0.342020214, -0.939692557),i)
  1037. leftarm.C0 = larmc0:lerp(CFrame.new(-1.29883623, 0.500000954, -1.24085808, 0.939692557, -0.342020124, -3.6282124e-09, -3.7252903e-08, -8.94069672e-08, -0.99999994, 0.342020124, 0.939692616, -5.96046448e-08),i)
  1038. leftleg.C0 = llegc0:lerp(CFrame.new(-0.5, -1.34202051, 0.939691544, 1, 3.55271368e-15, 0, -7.10542736e-15, 0.342020154, 0.939692616, 1.77635705e-15, -0.939692616, 0.342020154),i)
  1039. rightleg.C0 = rlegc0:lerp(CFrame.new(0.5, -1.04278755, -1.56604576, 1, 0, 0, 0, 0.642787635, -0.766044319, 0, 0.766044378, 0.642787755),i)
  1040. humanoidrootpart.C0 = humrootc0:lerp(CFrame.new(0, 0.18793869, -0.068403244, 1, 0, 0, 0, 0.939692497, 0.342020482, 0, -0.342020482, 0.939692497) * CFrame.new(0,-0.35,0),i)
  1041. head.C0 = headc0:lerp(CFrame.new(0, 1.46984625, 0.171009064, 1, 0, 0, 0, 0.939692497, -0.342020482, 0, 0.342020482, 0.939692497),i)
  1042. game:GetService("RunService").Heartbeat:wait()
  1043. end
  1044. end
  1045. local rarmc0 = rightarm.C0
  1046. local larmc0 = leftarm.C0
  1047. local llegc0 = leftleg.C0
  1048. local rlegc0 = rightleg.C0
  1049. local humrootc0 = humanoidrootpart.C0
  1050. local headc0 = head.C0
  1051. for i = 0,1 , 0.13 do
  1052. if running and not jumping and cananimate then
  1053. batweld.C0 = batweld.C0:lerp(CFrame.new(-1.08476353, 0.49840641, -1.01060486, 0.819151759, 5.06639481e-07, -0.573576689, 0.519837201, -0.422617912, 0.742403686, -0.242403388, -0.906307817, -0.346188605),i)
  1054. rightarm.C0 = rarmc0:lerp(CFrame.new(1.49999905, 0.969845772, -0.171009064, 0.99999994, 7.4505806e-09, 0, 0, -0.939692557, -0.342020184, 0, 0.342020214, -0.939692557),i)
  1055. leftarm.C0 = larmc0:lerp(CFrame.new(-1.51513863, -0.129981518, -0.155303955, 0.998369873, 0.0540187061, 0.0184263606, -0.0462776423, 0.955111921, -0.292607933, -0.0334055424, 0.291278243, 0.956054926),i)
  1056. leftleg.C0 = llegc0:lerp(CFrame.new(-0.5, -0.863191605, -0.37587738, 1, 3.55271368e-15, 0, -7.10542736e-15, 0.342020154, 0.939692616, 1.77635705e-15, -0.939692616, 0.342020154),i)
  1057. rightleg.C0 = rlegc0:lerp(CFrame.new(0.5, -2.06334591, 0.204090118, 1, 8.8817842e-16, 0, -8.8817842e-16, 0.98480767, 0.173648238, 0, -0.173648268, 0.98480773),i)
  1058. humanoidrootpart.C0 = humrootc0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.939692497, 0.342020482, 0, -0.342020482, 0.939692497) * CFrame.new(0,-0.35,0),i)
  1059. head.C0 = headc0:lerp(CFrame.new(0, 1.46984673, 0.171010971, 1, 0, 0, 0, 0.939692497, -0.342020482, 0, 0.342020482, 0.939692497),i)
  1060. game:GetService("RunService").Heartbeat:wait()
  1061. end
  1062. end
  1063. local rarmc0 = rightarm.C0
  1064. local larmc0 = leftarm.C0
  1065. local llegc0 = leftleg.C0
  1066. local rlegc0 = rightleg.C0
  1067. local humrootc0 = humanoidrootpart.C0
  1068. local headc0 = head.C0
  1069. for i = 0,1 , 0.13 do
  1070. if running and not jumping and cananimate then
  1071. batweld.C0 = batweld.C0:lerp(CFrame.new(-1.08476353, 0.49840641, -1.01060486, 0.819151759, 5.06639481e-07, -0.573576689, 0.519837201, -0.422617912, 0.742403686, -0.242403388, -0.906307817, -0.346188605),i)
  1072. rightarm.C0 = rarmc0:lerp(CFrame.new(1.49999905, 0.969845772, -0.171009064, 0.99999994, 7.4505806e-09, 0, 0, -0.939692557, -0.342020184, 0, 0.342020214, -0.939692557),i)
  1073. leftarm.C0 = larmc0:lerp(CFrame.new(-1.48023987, -0.0610394478, 0.792190552, 0.998369932, -0.0087661799, 0.0563976094, -0.0462775454, 0.454015464, 0.889791071, -0.033405453, -0.890950739, 0.452869713),i)
  1074. leftleg.C0 = llegc0:lerp(CFrame.new(-0.5, -1.26786566, -1.64663887, 1, 0, 0, 0, 0.642787933, -0.76604414, 0, 0.76604414, 0.642787993),i)
  1075. rightleg.C0 = rlegc0:lerp(CFrame.new(0.5, -1.42055845, 0.970134735, 1, 0, 0, 3.55271368e-15, 0.342020154, 0.939692616, 0, -0.939692616, 0.342020154),i)
  1076. humanoidrootpart.C0 = humrootc0:lerp(CFrame.new(0, 0.18793869, -0.068403244, 1, 0, 0, 0, 0.939692497, 0.342020482, 0, -0.342020482, 0.939692497) * CFrame.new(0,-0.35,0),i)
  1077. head.C0 = headc0:lerp(CFrame.new(0, 1.46984673, 0.171010971, 1, 0, 0, 0, 0.939692497, -0.342020482, 0, 0.342020482, 0.939692497),i)
  1078. game:GetService("RunService").Heartbeat:wait()
  1079. end
  1080. end
  1081. local rarmc0 = rightarm.C0
  1082. local larmc0 = leftarm.C0
  1083. local llegc0 = leftleg.C0
  1084. local rlegc0 = rightleg.C0
  1085. local humrootc0 = humanoidrootpart.C0
  1086. local headc0 = head.C0
  1087. for i = 0,1 , 0.13 do
  1088. if running and not jumping and cananimate then
  1089. batweld.C0 = batweld.C0:lerp(CFrame.new(-1.08476353, 0.49840641, -1.01060486, 0.819151759, 5.06639481e-07, -0.573576689, 0.519837201, -0.422617912, 0.742403686, -0.242403388, -0.906307817, -0.346188605),i)
  1090. rightarm.C0 = rarmc0:lerp(CFrame.new(1.49999905, 0.969845772, -0.171009064, 0.99999994, 7.4505806e-09, 0, 0, -0.939692557, -0.342020184, 0, 0.342020214, -0.939692557),i)
  1091. leftarm.C0 = larmc0:lerp(CFrame.new(-1.49622726, 0.0558686256, 0.152441025, 0.998369813, 0.0444596186, 0.03579133, -0.0462785624, 0.99758935, 0.0517075658, -0.0334061533, -0.0532796681, 0.998020709),i)
  1092. leftleg.C0 = llegc0:lerp(CFrame.new(-0.5, -1.93537951, 0.411506653, 1, 0, 0, 0, 0.939692199, 0.342021108, 0, -0.342021137, 0.939692259),i)
  1093. rightleg.C0 = rlegc0:lerp(CFrame.new(0.5, -0.941730499, -0.345434189, 1, 0, 0, 3.55271368e-15, 0.342020154, 0.939692616, 0, -0.939692616, 0.342020154),i)
  1094. humanoidrootpart.C0 = humrootc0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.939692497, 0.342020482, 0, -0.342020482, 0.939692497) * CFrame.new(0,-0.35,0),i)
  1095. head.C0 = headc0:lerp(CFrame.new(0, 1.46984625, 0.171010971, 1, 0, 0, 0, 0.939692497, -0.342020482, 0, 0.342020482, 0.939692497),i)
  1096. game:GetService("RunService").Heartbeat:wait()
  1097. end
  1098. end
  1099. else -----------------------------------------------------------------
  1100. for i = 0,1 , 0.03 do
  1101. if not running and not jumping and cananimate then
  1102. batweld.C0 = batweld.C0:lerp(CFrame.new(-5.7220459e-06, 0.786361694, -0.703529358, 0.999999881, 5.96046448e-08, -7.4505806e-08, 1.1920929e-07, -0.258817732, 0.965926111, 2.98023224e-08, -0.96592617, -0.258817703),i)
  1103. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.57922745, 0.239297867, -0.310691833, 0.984807611, -0.173648193, 0, 0.111618936, 0.633022428, -0.766044199, 0.133022189, 0.754406273, 0.642787933),i)
  1104. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.57922745, 0.094420433, 0, 0.98480767, 0.173648164, 0, -0.173648164, 0.98480767, -1.74845539e-07, 0, 1.71363354e-07, 0.99999994),i)
  1105. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.535205841, -2.01684046, 3.81469727e-06, 0.999390841, 0.0348994955, 0, -0.0348994918, 0.999390781, 0, 2.98023224e-08, 0, 0.99999994),i)
  1106. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.535203934, -2.01684046, 0, 0.999390841, -0.0348994955, 0, 0.0348994918, 0.999390781, 0, 2.98023224e-08, 0, 0.99999994),i)
  1107. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.939692616, 0, -0.342020124, 0, 1, 0, 0.342020124, 0, 0.939692616),i)
  1108. head.C0 = head.C0:lerp(CFrame.new(0.0188541412, 1.49959755, -0.00685882568, 0.938935518, 0.0377115496, 0.342020094, -0.0401317924, 0.999194384, 0, -0.341744572, -0.0137258805, 0.939692557),i)
  1109. game:GetService("RunService").Heartbeat:wait()
  1110. end
  1111. end
  1112. end
  1113. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement