yoyo74456

RagDoll Pan

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