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