Guest User

Untitled

a guest
Feb 19th, 2019
13,345
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 41.17 KB | None | 0 0
  1.  
  2.  
  3. --https://github.com/Mokiros/roblox-FE-compatibility
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. local RealPlayer = Player
  7. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  8.  
  9.  
  10. --By Ruffles14
  11. mouse = game.Players.LocalPlayer:GetMouse()
  12. local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
  13. local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  14. rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  15. rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
  16. rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  17. local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone()
  18. local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  19. lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  20. lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
  21. lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  22. local rootjointclone = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone()
  23. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Remove()
  24. local humanoidrootpart = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  25. humanoidrootpart.Part0 = game.Players.LocalPlayer.Character.HumanoidRootPart
  26. humanoidrootpart.Part1 = game.Players.LocalPlayer.Character.Torso
  27. local heed = game.Players.LocalPlayer.Character.Torso["Neck"]:Clone()
  28. local headweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  29. headweld.Part0 = game.Players.LocalPlayer.Character.Torso
  30. headweld.Part1 = game.Players.LocalPlayer.Character.Head
  31. headweld.C0 = headweld.C0 * CFrame.new(0,1.5,0)
  32. game.Players.LocalPlayer.Character.Torso.Neck:Remove()
  33. using = false
  34. --Converted with ttyyuu12345's model to script plugin v4
  35. function sandbox(var,func)
  36. local env = getfenv(func)
  37. local newenv = setmetatable({},{
  38. __index = function(self,k)
  39. if k=="script" then
  40. return var
  41. else
  42. return env[k]
  43. end
  44. end,
  45. })
  46. setfenv(func,newenv)
  47. return func
  48. end
  49. cors = {}
  50. mas = Instance.new("Model",game:GetService("Lighting"))
  51. Part0 = Instance.new("Part")
  52. SpecialMesh1 = Instance.new("SpecialMesh")
  53. Part0.Parent = mas
  54. Part0.Rotation = Vector3.new(-17.039999, 72.0800018, -73.7399979)
  55. Part0.Size = Vector3.new(0.48999998, 2.96999931, 1.94999981)
  56. Part0.CFrame = CFrame.new(1.99671245, 4.08856773, -0.616976917, 0.0861581191, 0.29545939, 0.95146209, -0.99592489, 0, 0.090184398, 0.0266458243, -0.955355108, 0.294255406)
  57. Part0.BottomSurface = Enum.SurfaceType.Smooth
  58. Part0.TopSurface = Enum.SurfaceType.Smooth
  59. Part0.Position = Vector3.new(1.99671245, 4.08856773, -0.616976917)
  60. Part0.Orientation = Vector3.new(-5.17000008, 72.8099976, -90)
  61. Part0.CanCollide = false
  62. SpecialMesh1.Parent = Part0
  63. SpecialMesh1.MeshId = "rbxassetid://441572308"
  64. SpecialMesh1.Scale = Vector3.new(0.0209999997, 0.0209999997, 0.0209999997)
  65. SpecialMesh1.TextureId = "rbxassetid://441572332"
  66. SpecialMesh1.MeshType = Enum.MeshType.FileMesh
  67. SpecialMesh1.Scale = Vector3.new(0.0209999997, 0.0209999997, 0.0209999997)
  68. for i,v in pairs(mas:GetChildren()) do
  69. v.Parent = game:GetService("Players").LocalPlayer.Character
  70. pcall(function() v:MakeJoints() end)
  71. end
  72. mas:Destroy()
  73. for i,v in pairs(cors) do
  74. spawn(function()
  75. pcall(v)
  76. end)
  77. end
  78. Part0:BreakJoints()
  79. cananimate = true
  80. canhit = false
  81. local weld = Instance.new("Weld", game.Players.LocalPlayer.Character["Right Arm"])
  82. weld.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
  83. weld.Part1 = Part0
  84. weld.C0 = CFrame.new(0.0769970417, -1.17027426, -1.17937994, 0, 0, 1, -0.999999881, 0, 0, 0, -1, 0)
  85. for i = 0,1 , 0.03 do
  86. headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.5, 0, 0.962374032, 0, 0.271727562, 0, 1, 0, -0.271727562, 0, 0.962374032),i)
  87. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.955355227, 0, -0.295459419, 0, 1, 0, 0.295459419, 0, 0.955355227),i)
  88. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.53559077, 0.0383267403, 0, 0.997264206, 0.0739177391, 0, -0.0739177391, 0.997264266, 0, 2.98023224e-08, 1.86264515e-09, 0.999999881),i)
  89. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.54305458, 0.047129631, 2.98023224e-08, 0.99592495, -0.0901843905, 0, 0.090184398, 0.995925009, 0, 0, 0, 0.999999881),i)
  90. game:GetService("RunService").RenderStepped:wait()
  91. end
  92. function swing()
  93. if not using then
  94. using = true
  95. cananimate = false
  96. for i = 0,1 , 0.045 do
  97. weld.C0 = weld.C0:lerp(CFrame.new(0.958130836, -0.815908253, -0.0419664383, 0.379335552, 0.92491132, -0.0253674984, -0.913223445, 0.378668189, 0.150445476, 0.148754537, -0.0339030921, 0.988292694),i)
  98. headweld.C0 = headweld.C0:lerp(CFrame.new(-4.65661287e-10, 1.49999952, 0, 0.601507425, -2.32830644e-10, 0.798867226, 3.0559022e-10, 1, 0, -0.798867226, -4.65661287e-10, 0.601507425),i)
  99. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.63088727, -0.00573391188, -0.775853336, 0, 0.999972701, -0.00739025697, 0.775874496, 0.00466241874, 0.630870044),i)
  100. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(0.0363237262, 0.350219727, -1.1563791, 0.495106995, -0.857149601, 0.1419992, 0.110766649, -0.0998312235, -0.988819599, 0.861742377, 0.505300522, 0.0455164276),i)
  101. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.50056481, 0.516354084, -0.499166548, 0.995925009, -0.00520473719, 0.09003409, 0.0901844054, 0.0574772507, -0.994265079, -2.98023224e-08, 0.998333335, 0.057712432),i)
  102. game:GetService("RunService").RenderStepped:wait()
  103. end
  104. canhit = true
  105. for i = 0,1 , 0.08 do
  106. weld.C0 = weld.C0:lerp(CFrame.new(0.968596578, -1.15575922, 0.178524971, 0.0531506836, 0.988890588, -0.13881819, -0.988834679, 0.0327400565, -0.145376131, -0.13921617, 0.144995078, 0.979589343),i)
  107. headweld.C0 = headweld.C0:lerp(CFrame.new(-0.0249017328, 1.48724031, 2.04332173e-06, 0.499998868, 0, -0.866026163, 0, 1, 0, 0.866026163, 0, 0.499998868),i)
  108. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.305942208, 0, -0.952050149, 0, 1, 0, 0.952050149, 0, 0.305942208):inverse(),i)
  109. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.07653618, 0.305679321, -0.818206966, 0.707105398, -0.707108259, 4.32133675e-07, 0.122787982, 0.122786887, -0.984807909, 0.696365714, 0.696363032, 0.173647687),i)
  110. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.74788636, 0.363031864, -0.7663396, 0.70710665, 0.707106948, -2.23517418e-08, -0.0616280138, 0.061627958, -0.99619478, -0.704416275, 0.704416037, 0.0871551335),i)
  111. game:GetService("RunService").RenderStepped:wait()
  112. end
  113. canhit = false
  114. using = false
  115. cananimate = true
  116. end
  117. end
  118. mouse.Button1Down:connect(swing)
  119. function hittie(part)
  120. if canhit then
  121. local humanoid = part.Parent:findFirstChildOfClass("Humanoid")
  122. if humanoid then
  123. canhit = false
  124. using = false
  125. local uptor = humanoid.Parent:findFirstChild("UpperTorso")
  126. if uptor and uptor.Parent.Name ~= game.Players.LocalPlayer.Name then
  127. humanoid.Parent:BreakJoints()
  128. while humanoid.Health >= 0.001 do
  129. game:GetService("RunService").RenderStepped:wait()
  130. end
  131. if humanoid.Parent:findFirstChild("HumanoidRootPart") then
  132. humanoid.Parent.HumanoidRootPart.CanCollide = false
  133. end
  134. local function makeballlimb(attachone, attachtwo, upperang, lowang, twist)
  135. local constraint = Instance.new("BallSocketConstraint", humanoid.Parent)
  136. constraint.Attachment0 = attachone
  137. constraint.Attachment1 = attachtwo
  138. constraint.LimitsEnabled = true
  139. constraint.TwistLimitsEnabled = true
  140. constraint.TwistLowerAngle = lowang
  141. constraint.TwistUpperAngle = upperang
  142. constraint.UpperAngle = twist
  143. end
  144. local function makehingelimb(attachone, attachtwo, upperang, lowang)
  145. local constraint = Instance.new("HingeConstraint", humanoid.Parent)
  146. constraint.Attachment0 = attachone
  147. constraint.Attachment1 = attachtwo
  148. constraint.LimitsEnabled = true
  149. constraint.LowerAngle = lowang
  150. constraint.UpperAngle = upperang
  151. end
  152. for i,v in pairs(humanoid.Parent:GetChildren()) do --scan player
  153. if v.ClassName == "Accessory" then
  154. local findhandle = v:findFirstChild("Handle") --finding handle in accesorry
  155. if findhandle then
  156. local attach = findhandle:findFirstChildOfClass("Attachment")
  157. for q,w in pairs(humanoid.Parent:GetChildren()) do --scan player
  158. if w.Name == "UpperTorso" or w.Name == "Head" then
  159. attach1 = w:findFirstChild(attach.Name) --finding attachment in head/uppertorso
  160. end
  161. end
  162. if attach and attach1 then
  163. local constraint = Instance.new("HingeConstraint", humanoid.Parent) --making fake weld
  164. constraint.Attachment0 = attach
  165. constraint.Attachment1 = attach1
  166. constraint.LimitsEnabled = true
  167. constraint.LowerAngle = 0
  168. constraint.UpperAngle = 0
  169. end
  170. end
  171. end
  172. end
  173. if humanoid.Parent:findFirstChild("Head") and humanoid.Parent:findFirstChild("UpperTorso") then
  174. local attachment = Instance.new("Attachment", humanoid.Parent.Head)
  175. attachment.Position = Vector3.new(0, -0.5, 0)
  176. attachment.Name = "lol"
  177. attachment.Visible = false
  178. humanoid.Parent.UpperTorso.NeckAttachment.Visible = false
  179. humanoid.Parent.UpperTorso.NeckAttachment.Position = humanoid.Parent.UpperTorso.NeckAttachment.Position + Vector3.new(0,0,0)
  180. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  181. ball.Attachment0 = humanoid.Parent.UpperTorso.NeckAttachment
  182. ball.Attachment1 = attachment
  183. ball.LimitsEnabled = true
  184. ball.TwistLimitsEnabled = true
  185. ball.UpperAngle = 40
  186. ball.Restitution = 0.5
  187. ball.TwistUpperAngle = 40
  188. ball.TwistLowerAngle = -40
  189. local collidepartofleftleg = Instance.new("Part", humanoid.Parent.UpperTorso)
  190. collidepartofleftleg.Name = "Bone"
  191. collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
  192. collidepartofleftleg.Transparency = 1
  193. collidepartofleftleg:BreakJoints()
  194. local weeld = Instance.new("Weld", collidepartofleftleg)
  195. weeld.Part0 = collidepartofleftleg
  196. weeld.Part1 = humanoid.Parent["Head"]
  197. if humanoid.Parent.Head:findFirstChild("Neck") then
  198. humanoid.Parent.Head.Neck:destroy()
  199. end
  200. if humanoid.Parent.Head:findFirstChild("face") then
  201. humanoid.Parent.Head.face.Texture = "http://www.roblox.com/asset/?id=810245460"
  202. end
  203. end
  204. local LeftUpperLeg = humanoid.Parent:findFirstChild("LeftUpperLeg")
  205. local LeftLowerLeg = humanoid.Parent:findFirstChild("LeftLowerLeg")
  206. --
  207. local RightUpperLeg = humanoid.Parent:findFirstChild("RightUpperLeg")
  208. local RightLowerLeg = humanoid.Parent:findFirstChild("RightLowerLeg")
  209. --
  210. local RightUpperArm = humanoid.Parent:findFirstChild("RightUpperArm")
  211. local RightLowerArm = humanoid.Parent:findFirstChild("RightLowerArm")
  212. --
  213. local LeftUpperArm = humanoid.Parent:findFirstChild("LeftUpperArm")
  214. local LeftLowerArm = humanoid.Parent:findFirstChild("LeftLowerArm")
  215. --Foot & Hands--
  216.  
  217. local LeftFoot = humanoid.Parent:findFirstChild("LeftFoot")
  218. local RightFoot = humanoid.Parent:findFirstChild("RightFoot")
  219. --
  220. local LeftHand = humanoid.Parent:findFirstChild("LeftHand")
  221. local RightHand = humanoid.Parent:findFirstChild("RightHand")
  222.  
  223. --END--
  224. --TORSOS--
  225.  
  226. local UpperTorso = humanoid.Parent:findFirstChild("UpperTorso")
  227. local LowerTorso = humanoid.Parent:findFirstChild("LowerTorso")
  228.  
  229. --END--
  230. if LowerTorso then
  231. if LeftUpperLeg then
  232. makeballlimb(LowerTorso["LeftHipRigAttachment"], LeftUpperLeg["LeftHipRigAttachment"], 50,-50, 90)
  233. end
  234. if RightUpperLeg then
  235. makeballlimb(LowerTorso["RightHipRigAttachment"], RightUpperLeg["RightHipRigAttachment"], 50,-50, 90)
  236. end
  237. if LeftLowerLeg then
  238. makehingelimb(LeftUpperLeg["LeftKneeRigAttachment"], LeftLowerLeg["LeftKneeRigAttachment"], 0,-90)
  239. end
  240. if RightLowerLeg then
  241. makehingelimb(RightUpperLeg["RightKneeRigAttachment"], RightLowerLeg["RightKneeRigAttachment"], 0,-90)
  242. end
  243. if LeftFoot then
  244. makehingelimb(LeftLowerLeg["LeftAnkleRigAttachment"], LeftFoot["LeftAnkleRigAttachment"], 30, -30)
  245. end
  246. if RightFoot then
  247. makehingelimb(RightLowerLeg["RightAnkleRigAttachment"], RightFoot["RightAnkleRigAttachment"], 30, -30)
  248. end
  249. if UpperTorso then
  250. makehingelimb(UpperTorso["WaistRigAttachment"], LowerTorso["WaistRigAttachment"], 30, -30)
  251. end
  252. end
  253. if UpperTorso then
  254. local vel = Instance.new("BodyVelocity", UpperTorso)
  255. vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  256. vel.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 10
  257. game.Debris:AddItem(vel, 0.1)
  258. local hitsound = Instance.new("Sound", UpperTorso)
  259. hitsound.SoundId = "http://www.roblox.com/asset/?id=148862502"
  260. hitsound:Play()
  261. hitsound.Volume = math.random(5,10)
  262. local canhit = true
  263. local hitval = 15
  264. local uptor = humanoid.Parent.UpperTorso
  265. if RightUpperArm then
  266. makeballlimb(RightUpperArm["RightShoulderRigAttachment"], UpperTorso["RightShoulderRigAttachment"], 90,-50, 180)
  267. end
  268. if RightLowerArm then
  269. makehingelimb(RightLowerArm["RightElbowRigAttachment"], RightUpperArm["RightElbowRigAttachment"], 0,-90)
  270. end
  271. if RightHand then
  272. makehingelimb(RightHand["RightWristRigAttachment"], RightLowerArm["RightWristRigAttachment"], 30,30)
  273. end
  274. if LeftUpperArm then
  275. makeballlimb(LeftUpperArm["LeftShoulderRigAttachment"], UpperTorso["LeftShoulderRigAttachment"], 90,-50, 180)
  276. end
  277. if LeftLowerArm then
  278. makehingelimb(LeftLowerArm["LeftElbowRigAttachment"], LeftUpperArm["LeftElbowRigAttachment"], 0,-90)
  279. end
  280. if LeftHand then
  281. makehingelimb(LeftHand["LeftWristRigAttachment"], LeftLowerArm["LeftWristRigAttachment"], 30,30)
  282. end
  283. end
  284. else
  285. humanoid.Parent.Archivable = true
  286. humanoid.PlatformStand = true
  287. local clone = humanoid.Parent:Clone()
  288. clone.Parent = workspace
  289. game.Debris:AddItem(clone, 60)
  290. for i,v in pairs(clone:GetChildren()) do
  291. if v.ClassName == "Script" or v.ClassName == "LocalScript" then
  292. v:Remove()
  293. end
  294. for i,p in pairs(v:GetChildren()) do
  295. if p.ClassName == "Weld" or p.ClassName == "Motor6D" or p.ClassName == "BodyVelocity" then
  296. p:Remove()
  297. end
  298. end
  299. end
  300. for i,t in pairs(humanoid.Parent:GetChildren()) do
  301. if t.ClassName == "Accessory" or t.ClassName == "ForceField" then
  302. t:Remove()
  303. end
  304. end
  305. local vel = Instance.new("BodyVelocity", clone.Torso)
  306. vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  307. vel.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 15
  308. game.Debris:AddItem(vel, 0.1)
  309. local hitsound = Instance.new("Sound", clone.Torso)
  310. hitsound.SoundId = "http://www.roblox.com/asset/?id=148862502"
  311. hitsound:Play()
  312. hitsound.Volume = math.random(5,10)
  313. vel = Instance.new("BodyVelocity", clone.Torso)
  314. vel.Velocity = clone.Torso.CFrame.lookVector * -5
  315. vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  316. using = false
  317. hit = Instance.new("Sound", clone.Torso)
  318. hit.SoundId = "rbxassetid://260430060"
  319. hit.Volume = 0
  320. hit1 = Instance.new("Sound", clone.Torso)
  321. hit1.SoundId = "rbxassetid://138087186"
  322. hit1.Volume = 0
  323. hit2 = Instance.new("Sound", clone.Torso)
  324. hit2.SoundId = "rbxassetid://131237241"
  325. hit2.Volume = 0
  326. hit3 = Instance.new("Sound", clone.Torso)
  327. hit3.SoundId = "rbxassetid://278062209"
  328. hit3.Volume = 0
  329. hit3.TimePosition = 0.33
  330. ded = Instance.new("Sound", clone.Torso)
  331. ded.SoundId = "rbxassetid://418892870"
  332. ded.Volume = 0
  333. local leftarm = clone:findFirstChild("Left Arm")
  334. local rightrm = clone:findFirstChild("Right Arm")
  335. local leftleg = clone:findFirstChild("Left Leg")
  336. local rightleg = clone:findFirstChild("Right Leg")
  337. local head = clone:findFirstChild("Head")
  338. for i, g in pairs(humanoid.Parent:GetChildren()) do
  339. if g.ClassName == "Part" then
  340. g:destroy()
  341. end
  342. end
  343. for i, h in pairs(humanoid.Parent:GetChildren()) do
  344. if h.ClassName == "Accesory" then
  345. h:destroy()
  346. end
  347. end
  348. for z,x in pairs(clone:GetChildren()) do
  349. if x.ClassName == "Accessory" then
  350. local handle = x:findFirstChild("Handle")
  351. if handle then
  352. local attachment = handle:findFirstChildOfClass("Attachment")
  353. if attachment then
  354. for q,w in pairs(clone:GetChildren()) do
  355. if w.Name == "Torso" or w.Name == "Head" then
  356. local anotherone = w:findFirstChild(attachment.Name)
  357. if attachment and anotherone then
  358. local constraint = Instance.new("HingeConstraint", clone) --making fake weld
  359. constraint.Attachment0 = attachment
  360. constraint.Attachment1 = anotherone
  361. constraint.LimitsEnabled = true
  362. constraint.LowerAngle = 0
  363. constraint.UpperAngle = 0
  364. end
  365. end
  366. end
  367. end
  368. end
  369. end
  370. end
  371. if head and clone.Torso:findFirstChild("NeckAttachment") then
  372. local attachment = Instance.new("Attachment", clone.Head)
  373. attachment.Position = Vector3.new(0, -0.5, 0)
  374. attachment.Name = "lol"
  375. attachment.Visible = false
  376. clone.Torso.NeckAttachment.Visible = false
  377. clone.Torso.NeckAttachment.Position = clone.Torso.NeckAttachment.Position + Vector3.new(0,0,0)
  378. local ball = Instance.new("BallSocketConstraint", clone)
  379. ball.Attachment0 = clone.Torso.NeckAttachment
  380. ball.Attachment1 = attachment
  381. ball.LimitsEnabled = true
  382. ball.TwistLimitsEnabled = true
  383. ball.UpperAngle = 90
  384. ball.Restitution = 0.5
  385. ball.TwistUpperAngle = 90
  386. ball.TwistLowerAngle = -90
  387. local collidepartofleftleg = Instance.new("Part", clone.Torso)
  388. collidepartofleftleg.Name = "Bone"
  389. collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
  390. collidepartofleftleg.Transparency = 1
  391. collidepartofleftleg:BreakJoints()
  392. local weeld = Instance.new("Weld", collidepartofleftleg)
  393. weeld.Part0 = collidepartofleftleg
  394. weeld.Part1 = clone["Head"]
  395. end
  396. if leftleg ~= nil then
  397. leftleg:BreakJoints()
  398. local glue = Instance.new("Glue", clone.Torso)
  399. glue.Part0 = clone.Torso
  400. glue.Part1 = leftleg
  401. glue.Name = "Left leg"
  402. local collider = Instance.new("Part", leftleg)
  403. collider.Position = Vector3.new(0,999,0)
  404. collider.Size = Vector3.new(1.5, 1, 1)
  405. collider.Shape = "Cylinder"
  406. local weld = Instance.new("Weld", collider)
  407. weld.Part0 = leftleg
  408. weld.Part1 = collider
  409. weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  410. collider.TopSurface = "Smooth"
  411. collider.BottomSurface = "Smooth"
  412. collider.formFactor = "Symmetric"
  413. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  414. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  415. collider.Transparency = 1
  416. end
  417. ------------
  418. if rightleg ~= nil then
  419. rightleg:BreakJoints()
  420. local glue1 = Instance.new("Glue", clone.Torso)
  421. glue1.Part0 = clone.Torso
  422. glue1.Part1 = rightleg
  423. glue1.Name = "Right leg"
  424. local collider1 = Instance.new("Part", rightleg)
  425. collider1.Position = Vector3.new(0,999,0)
  426. collider1.Size = Vector3.new(1.5, 1, 1)
  427. collider1.Shape = "Cylinder"
  428. local weld1 = Instance.new("Weld", collider1)
  429. weld1.Part0 = rightleg
  430. weld1.Part1 = collider1
  431. weld1.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  432. collider1.TopSurface = "Smooth"
  433. collider1.BottomSurface = "Smooth"
  434. collider1.formFactor = "Symmetric"
  435. glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  436. glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  437. collider1.Transparency = 1
  438. end
  439. ------------
  440. if rightrm ~= nil then
  441. rightrm:BreakJoints()
  442. rightrm.CFrame = clone.Torso.CFrame * CFrame.new(1.7,0,0)
  443. local glue11 = Instance.new("Glue", clone.Torso)
  444. glue11.Part0 = clone.Torso
  445. glue11.Part1 = rightrm
  446. glue11.Name = "Right shoulder"
  447. local collider11 = Instance.new("Part", rightrm)
  448. collider11.Position = Vector3.new(0,9999,0)
  449. collider11.Size = Vector3.new(1.5,1,1)
  450. collider11.Shape = "Cylinder"
  451. local weld11 = Instance.new("Weld", collider11)
  452. weld11.Part0 = rightrm
  453. weld11.Part1 = collider11
  454. weld11.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  455. collider11.TopSurface = "Smooth"
  456. collider11.BottomSurface = "Smooth"
  457. collider11.formFactor = "Symmetric"
  458. glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  459. glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  460. collider11.Transparency = 1
  461. end
  462. ------------
  463. if leftarm ~= nil then
  464. leftarm.CFrame = clone.Torso.CFrame * CFrame.new(-1.7,0,0)
  465. leftarm:BreakJoints()
  466. local glue111 = Instance.new("Glue", clone.Torso)
  467. glue111.Part0 = clone.Torso
  468. glue111.Part1 = leftarm
  469. glue111.Name = "Left shoulder"
  470. local collider111 = Instance.new("Part", leftarm)
  471. collider111.Position = Vector3.new(0,9999,0)
  472. collider111.Size = Vector3.new(1.5,1,1)
  473. collider111.Shape = "Cylinder"
  474. local weld111 = Instance.new("Weld", collider111)
  475. weld111.Part0 = leftarm
  476. weld111.Part1 = collider111
  477. weld111.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  478. collider111.TopSurface = "Smooth"
  479. collider111.BottomSurface = "Smooth"
  480. collider111.formFactor = "Symmetric"
  481. glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  482. glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  483. collider111.Transparency = 1
  484. ----------------
  485. sensoring = Instance.new("Part", clone.Torso)
  486. sensoring.Size = Vector3.new(1.2,1.1,0.8)
  487. sensoring.CanCollide = false
  488. sensoring.Position = clone.Torso.Position
  489. local welder = Instance.new("Weld", sensoring)
  490. welder.Part0 = clone.Torso
  491. welder.Part1 = sensoring
  492. welder.C0 = welder.C0 * CFrame.new(0,0,1.05)
  493. sensoring.Transparency = 1
  494. -----------------
  495. sensoring1 = Instance.new("Part", clone.Torso)
  496. sensoring1.Size = Vector3.new(1.2,1.1,0.8)
  497. sensoring1.CanCollide = false
  498. sensoring1.Position = clone.Torso.Position
  499. local welder1 = Instance.new("Weld", sensoring)
  500. welder1.Part0 = clone.Torso
  501. welder1.Part1 = sensoring1
  502. welder1.C0 = welder1.C0 * CFrame.new(0,0,-1.05)
  503. sensoring1.Transparency = 1
  504. end
  505. clone.Name = humanoid.Parent.Name.." (PANNED)"
  506. ded:Play()
  507. vel:destroy()
  508. wait(0.5)
  509. local function touch()
  510. if not using then
  511. using = true
  512. local Math = math.random(1,4)
  513. if Math == 1 then
  514. hit:Play()
  515. end
  516. if Math == 2 then
  517. hit1:Play()
  518. end
  519. if Math == 3 then
  520. hit2:Play()
  521. end
  522. if Math == 4 then
  523. hit3:Play()
  524. end
  525. wait(0.1)
  526. using = false
  527. end
  528. end
  529. sensoring.Touched:connect(touch)
  530. sensoring1.Touched:connect(touch)
  531. while true do
  532. if clone:findFirstChild("Head") then
  533. clone.Head.CanCollide = false
  534. end
  535. game:GetService("RunService").Stepped:wait()
  536. end
  537. end
  538. end
  539. end
  540. end
  541. Part0.Touched:connect(hittie)
  542. function ragdoll()
  543. game.Players.LocalPlayer.Character.Archivable = true
  544. clone = game.Players.LocalPlayer.Character:Clone()
  545. clone.Parent = workspace
  546. for i,v in pairs(clone:GetChildren()) do
  547. if v.ClassName == "Script" or v.ClassName == "LocalScript" then
  548. v:Remove()
  549. end
  550. for i,p in pairs(v:GetChildren()) do
  551. if p.ClassName == "Weld" or p.ClassName == "Motor6D" or p.ClassName == "BodyVelocity" then
  552. p:Remove()
  553. end
  554. end
  555. end
  556. for i,t in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  557. if t.ClassName == "Accessory" or t.ClassName == "ForceField" then
  558. t:Remove()
  559. end
  560. end
  561. vel = Instance.new("BodyVelocity", clone.Torso)
  562. vel.Velocity = clone.Torso.CFrame.lookVector * -5
  563. vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  564. clone.Head.face.Texture = "http://www.roblox.com/asset/?id=161061608"
  565. using = false
  566. hit = Instance.new("Sound", clone.Torso)
  567. hit.SoundId = "rbxassetid://260430060"
  568. hit.Volume = 0
  569. hit1 = Instance.new("Sound", clone.Torso)
  570. hit1.SoundId = "rbxassetid://138087186"
  571. hit1.Volume = 0
  572. hit2 = Instance.new("Sound", clone.Torso)
  573. hit2.SoundId = "rbxassetid://131237241"
  574. hit2.Volume = 0
  575. hit3 = Instance.new("Sound", clone.Torso)
  576. hit3.SoundId = "rbxassetid://278062209"
  577. hit3.Volume = 0
  578. hit3.TimePosition = 0.33
  579. ded = Instance.new("Sound", clone.Torso)
  580. ded.SoundId = "rbxassetid://337800380"
  581. ded.Volume = 5
  582. local leftarm = clone:findFirstChild("Left Arm")
  583. local rightrm = clone:findFirstChild("Right Arm")
  584. local leftleg = clone:findFirstChild("Left Leg")
  585. local rightleg = clone:findFirstChild("Right Leg")
  586. local head = clone:findFirstChild("Head")
  587. for i, g in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  588. if g.ClassName == "Part" then
  589. g:destroy()
  590. end
  591. end
  592. for i, h in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  593. if h.ClassName == "Accesory" then
  594. h:destroy()
  595. end
  596. end
  597. game.Workspace.CurrentCamera.CameraSubject = head
  598. if head then
  599. local attachment = Instance.new("Attachment", clone.Head)
  600. attachment.Position = Vector3.new(0, -0.5, 0)
  601. attachment.Name = "lol"
  602. attachment.Visible = false
  603. clone.Torso.NeckAttachment.Visible = false
  604. clone.Torso.NeckAttachment.Position = clone.Torso.NeckAttachment.Position + Vector3.new(0,0,0)
  605. local ball = Instance.new("BallSocketConstraint", clone)
  606. ball.Attachment0 = clone.Torso.NeckAttachment
  607. ball.Attachment1 = attachment
  608. ball.LimitsEnabled = true
  609. ball.TwistLimitsEnabled = true
  610. ball.UpperAngle = 90
  611. ball.Restitution = 0.5
  612. ball.TwistUpperAngle = 90
  613. ball.TwistLowerAngle = -90
  614. local collidepartofleftleg = Instance.new("Part", clone.Torso)
  615. collidepartofleftleg.Name = "Bone"
  616. collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
  617. collidepartofleftleg.Transparency = 1
  618. collidepartofleftleg:BreakJoints()
  619. local weeld = Instance.new("Weld", collidepartofleftleg)
  620. weeld.Part0 = collidepartofleftleg
  621. weeld.Part1 = clone["Head"]
  622. end
  623. if leftleg ~= nil then
  624. local glue = Instance.new("Glue", clone.Torso)
  625. glue.Part0 = clone.Torso
  626. glue.Part1 = leftleg
  627. glue.Name = "Left leg"
  628. local collider = Instance.new("Part", leftleg)
  629. collider.Position = Vector3.new(0,999,0)
  630. collider.Size = Vector3.new(1.5, 1, 1)
  631. collider.Shape = "Cylinder"
  632. local weld = Instance.new("Weld", collider)
  633. weld.Part0 = leftleg
  634. weld.Part1 = collider
  635. weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  636. collider.TopSurface = "Smooth"
  637. collider.BottomSurface = "Smooth"
  638. collider.formFactor = "Symmetric"
  639. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  640. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  641. collider.Transparency = 1
  642. end
  643. ------------
  644. if rightleg ~= nil then
  645. local glue1 = Instance.new("Glue", clone.Torso)
  646. glue1.Part0 = clone.Torso
  647. glue1.Part1 = rightleg
  648. glue1.Name = "Right leg"
  649. local collider1 = Instance.new("Part", rightleg)
  650. collider1.Position = Vector3.new(0,999,0)
  651. collider1.Size = Vector3.new(1.5, 1, 1)
  652. collider1.Shape = "Cylinder"
  653. local weld1 = Instance.new("Weld", collider1)
  654. weld1.Part0 = rightleg
  655. weld1.Part1 = collider1
  656. weld1.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  657. collider1.TopSurface = "Smooth"
  658. collider1.BottomSurface = "Smooth"
  659. collider1.formFactor = "Symmetric"
  660. glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  661. glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  662. collider1.Transparency = 1
  663. end
  664. ------------
  665. if rightrm ~= nil then
  666. local glue11 = Instance.new("Glue", clone.Torso)
  667. glue11.Part0 = clone.Torso
  668. glue11.Part1 = rightrm
  669. glue11.Name = "Right shoulder"
  670. local collider11 = Instance.new("Part", rightrm)
  671. collider11.Position = Vector3.new(0,9999,0)
  672. collider11.Size = Vector3.new(1.5,1,1)
  673. collider11.Shape = "Cylinder"
  674. local weld11 = Instance.new("Weld", collider11)
  675. weld11.Part0 = rightrm
  676. weld11.Part1 = collider11
  677. weld11.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  678. collider11.TopSurface = "Smooth"
  679. collider11.BottomSurface = "Smooth"
  680. collider11.formFactor = "Symmetric"
  681. glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  682. glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  683. collider11.Transparency = 1
  684. end
  685. ------------
  686. if leftarm ~= nil then
  687. local glue111 = Instance.new("Glue", clone.Torso)
  688. glue111.Part0 = clone.Torso
  689. glue111.Part1 = leftarm
  690. glue111.Name = "Left shoulder"
  691. local collider111 = Instance.new("Part", leftarm)
  692. collider111.Position = Vector3.new(0,9999,0)
  693. collider111.Size = Vector3.new(1.5,1,1)
  694. collider111.Shape = "Cylinder"
  695. local weld111 = Instance.new("Weld", collider111)
  696. weld111.Part0 = leftarm
  697. weld111.Part1 = collider111
  698. weld111.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  699. collider111.TopSurface = "Smooth"
  700. collider111.BottomSurface = "Smooth"
  701. collider111.formFactor = "Symmetric"
  702. glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  703. glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  704. collider111.Transparency = 1
  705. ----------------
  706. sensoring = Instance.new("Part", clone.Torso)
  707. sensoring.Size = Vector3.new(1.2,1.1,0.8)
  708. sensoring.CanCollide = false
  709. sensoring.Position = clone.Torso.Position
  710. local welder = Instance.new("Weld", sensoring)
  711. welder.Part0 = clone.Torso
  712. welder.Part1 = sensoring
  713. welder.C0 = welder.C0 * CFrame.new(0,0,1.05)
  714. sensoring.Transparency = 1
  715. -----------------
  716. sensoring1 = Instance.new("Part", clone.Torso)
  717. sensoring1.Size = Vector3.new(1.2,1.1,0.8)
  718. sensoring1.CanCollide = false
  719. sensoring1.Position = clone.Torso.Position
  720. local welder1 = Instance.new("Weld", sensoring)
  721. welder1.Part0 = clone.Torso
  722. welder1.Part1 = sensoring1
  723. welder1.C0 = welder1.C0 * CFrame.new(0,0,-1.05)
  724. sensoring1.Transparency = 1
  725. end
  726. clone.Name = game.Players.LocalPlayer.Character.Name.." (DEAD)"
  727. ded:Play()
  728. vel:destroy()
  729. wait(0.2)
  730. game.Debris:AddItem(clone,60)
  731. local function touch()
  732. if not using then
  733. using = true
  734. local Math = math.random(1,4)
  735. if Math == 1 then
  736. hit:Play()
  737. end
  738. if Math == 2 then
  739. hit1:Play()
  740. end
  741. if Math == 3 then
  742. hit2:Play()
  743. end
  744. if Math == 4 then
  745. hit3:Play()
  746. end
  747. wait(0.1)
  748. using = false
  749. end
  750. end
  751. sensoring.Touched:connect(touch)
  752. sensoring1.Touched:connect(touch)
  753. while true do
  754. clone.Head.CanCollide = false
  755. game:GetService("RunService").Stepped:wait()
  756. end
  757. end
  758.  
  759. game.Players.LocalPlayer.Character.Humanoid.Died:connect(ragdoll)
  760.  
  761. --di ent
  762. while true do
  763. if cananimate then
  764. if game.Players.LocalPlayer.Character.Torso.Velocity.x < -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.x > 0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z < -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z > 0.5 and cananimate then
  765. for i = 0.1,0.3 , 0.008 do
  766. if cananimate and game.Players.LocalPlayer.Character.Torso.Velocity.x < -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.x > 0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z < -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z > 0.5 and cananimate then
  767. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.53402293, 0.0594797134, 0.144087285, 0.997264206, 0.0707819909, 0.0213012099, -0.0739177391, 0.9549582, 0.287386209, 2.98023224e-08, -0.28817457, 0.957577825),i)
  768. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.54035091, 0.0769848824, -0.170524538, 0.99592495, -0.0847774297, 0.0307573378, 0.090184398, 0.936214805, -0.339659303, 0, 0.341049016, 0.940045416),i)
  769. game:GetService("RunService").Stepped:wait()
  770. end
  771. end
  772. for i = 0.1,0.3 , 0.008 do
  773. if cananimate and game.Players.LocalPlayer.Character.Torso.Velocity.x < -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.x > 0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z < -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z > 0.5 and cananimate then
  774. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.53173375, 0.0903658867, -0.222393572, 0.997264206, 0.0662034005, -0.0328776538, -0.0739177391, 0.893185973, -0.443570435, 2.98023224e-08, 0.444787204, 0.895636141),i)
  775. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.54079688, 0.0720610619, 0.156226337, 0.99592495, -0.085669145, -0.0281783342, 0.090184398, 0.946062148, 0.311179608, 0, -0.312452823, 0.949932992),i)
  776. game:GetService("RunService").Stepped:wait()
  777. end
  778. end
  779. elseif game.Players.LocalPlayer.Character.Torso.Velocity.x > -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.x < 0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z > -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z < 0.5 then
  780. for i = 0,1 , 0.1 do
  781. if cananimate and game.Players.LocalPlayer.Character.Torso.Velocity.x > -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.x < 0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z > -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z < 0.5 and cananimate then
  782. weld.C0 = weld.C0:lerp(CFrame.new(0.0769970417, -1.17027426, -1.17937994, 0, 0, 1, -0.999999881, 0, 0, 0, -1, 0),i)
  783. headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.5, 0, 0.962374032, 0, 0.271727562, 0, 1, 0, -0.271727562, 0, 0.962374032),i)
  784. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.955355227, 0, -0.295459419, 0, 1, 0, 0.295459419, 0, 0.955355227),i)
  785. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.53559077, 0.0383267403, 0, 0.997264206, 0.0739177391, 0, -0.0739177391, 0.997264266, 0, 2.98023224e-08, 1.86264515e-09, 0.999999881),i)
  786. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.54305458, 0.047129631, 2.98023224e-08, 0.99592495, -0.0901843905, 0, 0.090184398, 0.995925009, 0, 0, 0, 0.999999881),i)
  787. game:GetService("RunService").RenderStepped:wait()
  788. end
  789. end
  790. end
  791. end
  792. wait()
  793. end
Add Comment
Please, Sign In to add comment