Advertisement
ItzInfern

pubg pan boi

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