Advertisement
teotv202

Untitled

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