View difference between Paste ID: Y24pPGZg and 6QSfD9Qt
SHOW: | | - or go back to the newest paste.
1
repeat wait() until #game:GetService("Players"):GetPlayers() > 0
2
local coms = {Instance.new("RemoteEvent",script),Instance.new("RemoteFunction",script)}
3
local owner = owner or game:GetService("Players"):WaitForChild("plytalent")
4
local FF = Instance.new("ForceField",owner.Character)
5
local waitremote = Instance.new('RemoteEvent',script)
6
local char = Instance.new('ObjectValue',script)
7
char.Name = "CharacterObjectValue"
8
9
function createFakeCharacter(DisplayName)
10
    local Model0 = Instance.new("Model")
11
    local Part1 = Instance.new("Part")
12
    local SpecialMesh2 = Instance.new("SpecialMesh")
13
    local Part3 = Instance.new("Part")
14
    local Part4 = Instance.new("Part")
15
    local Part5 = Instance.new("Part")
16
    local Part6 = Instance.new("Part")
17
    local Part7 = Instance.new("Part")
18
    local Humanoid8 = Instance.new("Humanoid")
19
    local Part9 = Instance.new("Part")
20
    local CharacterMesh10 = Instance.new("CharacterMesh")
21
    local Shirt11 = Instance.new("Shirt")
22
    local Pants12 = Instance.new("Pants")
23
    local Part13 = Instance.new("Part")
24
    local SpecialMesh14 = Instance.new("SpecialMesh")
25
    local AlignOrientation15 = Instance.new("AlignOrientation")
26
    local AlignPosition16 = Instance.new("AlignPosition")
27
    local Part17 = Instance.new("Part")
28
    local SpecialMesh18 = Instance.new("SpecialMesh")
29
    local AlignOrientation19 = Instance.new("AlignOrientation")
30
    local AlignPosition20 = Instance.new("AlignPosition")
31
    local Attachment21 = Instance.new("Attachment")
32
    local Attachment22 = Instance.new("Attachment")
33
    local Attachment23 = Instance.new("Attachment")
34
35
    Attachment21.Name = "Head"
36
    Attachment22.Name = "Hair"
37
    Attachment23.Name = "Mask"
38
    Attachment21.Parent = Part1
39
    Attachment22.Parent = Part17
40
    Attachment23.Parent = Part13
41
42
    Model0.Name = "Ghost"
43
    Model0.PrimaryPart = Part9
44
    Part1.Name = "Head"
45
    Part1.Parent = Model0
46
    Part1.CFrame = CFrame.new(-51.5, 4.5, -53, 1, 0, 0, 0, 1, 0, 0, 0, 1)
47
    Part1.Position = Vector3.new(-51.5, 4.5, -53)
48
    Part1.Color = Color3.new(0.972549, 0.972549, 0.972549)
49
    Part1.Size = Vector3.new(2, 1, 1)
50
    Part1.BrickColor = BrickColor.new("Institutional white")
51
    Part1.Material = Enum.Material.Sand
52
    Part1.TopSurface = Enum.SurfaceType.Smooth
53
    Part1.brickColor = BrickColor.new("Institutional white")
54
    Part1.FormFactor = Enum.FormFactor.Symmetric
55
    Part1.formFactor = Enum.FormFactor.Symmetric
56
    SpecialMesh2.Parent = Part1
57
    SpecialMesh2.Scale = Vector3.new(1.25, 1.25, 1.25)
58
    Part3.Name = "Torso"
59
    Part3.Parent = Model0
60
    Part3.CFrame = CFrame.new(-51.5, 3, -53, 1, 0, 0, 0, 1, 0, 0, 0, 1)
61
    Part3.Position = Vector3.new(-51.5, 3, -53)
62
    Part3.Color = Color3.new(0.972549, 0.972549, 0.972549)
63
    Part3.Size = Vector3.new(2, 2, 1)
64
    Part3.BrickColor = BrickColor.new("Institutional white")
65
    Part3.LeftParamA = 0
66
    Part3.LeftParamB = 0
67
    Part3.LeftSurface = Enum.SurfaceType.Weld
68
    Part3.Material = Enum.Material.Sand
69
    Part3.RightParamA = 0
70
    Part3.RightParamB = 0
71
    Part3.RightSurface = Enum.SurfaceType.Weld
72
    Part3.brickColor = BrickColor.new("Institutional white")
73
    Part3.FormFactor = Enum.FormFactor.Symmetric
74
    Part3.formFactor = Enum.FormFactor.Symmetric
75
    Part4.Name = "Left Arm"
76
    Part4.Parent = Model0
77
    Part4.CFrame = CFrame.new(-53, 3, -53, 1, 0, 0, 0, 1, 0, 0, 0, 1)
78
    Part4.Position = Vector3.new(-53, 3, -53)
79
    Part4.Color = Color3.new(0.972549, 0.972549, 0.972549)
80
    Part4.Size = Vector3.new(1, 2, 1)
81
    Part4.BrickColor = BrickColor.new("Institutional white")
82
    Part4.CanCollide = false
83
    Part4.Material = Enum.Material.Sand
84
    Part4.brickColor = BrickColor.new("Institutional white")
85
    Part4.FormFactor = Enum.FormFactor.Symmetric
86
    Part4.formFactor = Enum.FormFactor.Symmetric
87
    Part5.Name = "Right Arm"
88
    Part5.Parent = Model0
89
    Part5.CFrame = CFrame.new(-50, 3, -53, 1, 0, 0, 0, 1, 0, 0, 0, 1)
90
    Part5.Position = Vector3.new(-50, 3, -53)
91
    Part5.Color = Color3.new(0.972549, 0.972549, 0.972549)
92
    Part5.Size = Vector3.new(1, 2, 1)
93
    Part5.BrickColor = BrickColor.new("Institutional white")
94
    Part5.CanCollide = false
95
    Part5.Material = Enum.Material.Sand
96
    Part5.brickColor = BrickColor.new("Institutional white")
97
    Part5.FormFactor = Enum.FormFactor.Symmetric
98
    Part5.formFactor = Enum.FormFactor.Symmetric
99
    Part6.Name = "Left Leg"
100
    Part6.Parent = Model0
101
    Part6.CFrame = CFrame.new(-52, 1, -53, 1, 0, 0, 0, 1, 0, 0, 0, 1)
102
    Part6.Position = Vector3.new(-52, 1, -53)
103
    Part6.Color = Color3.new(0.972549, 0.972549, 0.972549)
104
    Part6.Size = Vector3.new(1, 2, 1)
105
    Part6.BottomSurface = Enum.SurfaceType.Smooth
106
    Part6.BrickColor = BrickColor.new("Institutional white")
107
    Part6.CanCollide = false
108
    Part6.Material = Enum.Material.Sand
109
    Part6.brickColor = BrickColor.new("Institutional white")
110
    Part6.FormFactor = Enum.FormFactor.Symmetric
111
    Part6.formFactor = Enum.FormFactor.Symmetric
112
    Part7.Name = "Right Leg"
113
    Part7.Parent = Model0
114
    Part7.CFrame = CFrame.new(-51, 1, -53, 1, 0, 0, 0, 1, 0, 0, 0, 1)
115
    Part7.Position = Vector3.new(-51, 1, -53)
116
    Part7.Color = Color3.new(0.972549, 0.972549, 0.972549)
117
    Part7.Size = Vector3.new(1, 2, 1)
118
    Part7.BottomSurface = Enum.SurfaceType.Smooth
119
    Part7.BrickColor = BrickColor.new("Institutional white")
120
    Part7.CanCollide = false
121
    Part7.Material = Enum.Material.Sand
122
    Part7.brickColor = BrickColor.new("Institutional white")
123
    Part7.FormFactor = Enum.FormFactor.Symmetric
124
    Part7.formFactor = Enum.FormFactor.Symmetric
125
    Humanoid8.Parent = Model0
126
    Humanoid8.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
127
    Humanoid8.HealthDisplayDistance = 0
128
    Humanoid8.HealthDisplayType = Enum.HumanoidHealthDisplayType.AlwaysOff
129
    Humanoid8.LeftLeg = Part6
130
    Humanoid8.NameDisplayDistance = 0
131
    Humanoid8.RightLeg = Part7
132
    Humanoid8.Torso = Part9
133
    Part9.Name = "HumanoidRootPart"
134
    Part9.Parent = Model0
135
    Part9.CFrame = CFrame.new(-51.5, 3, -53, 1, 0, 0, 0, 1, 0, 0, 0, 1)
136
    Part9.Position = Vector3.new(-51.5, 3, -53)
137
    Part9.Transparency = 1
138
    Part9.Size = Vector3.new(2, 2, 1)
139
    Part9.Anchored = false
140
    Part9.BottomSurface = Enum.SurfaceType.Smooth
141
    Part9.CanCollide = false
142
    Part9.LeftParamA = 0
143
    Part9.LeftParamB = 0
144
    Part9.Material = Enum.Material.Sand
145
    Part9.RightParamA = 0
146
    Part9.RightParamB = 0
147
    Part9.TopSurface = Enum.SurfaceType.Smooth
148
    Part9.FormFactor = Enum.FormFactor.Symmetric
149
    Part9.formFactor = Enum.FormFactor.Symmetric
150
    CharacterMesh10.Parent = Model0
151
    CharacterMesh10.BodyPart = Enum.BodyPart.Torso
152
    CharacterMesh10.MeshId = "rbxassetid://48112070"
153
    Shirt11.Name = "Shirt"
154
    Shirt11.Parent = Model0
155
    Shirt11.ShirtTemplate = "http://www.roblox.com/asset/?id=1210857659"
156
    Pants12.Name = "Pants"
157
    Pants12.Parent = Model0
158
    Pants12.PantsTemplate = "http://www.roblox.com/asset/?id=1210858273"
159
    Part13.Name = "Mask"
160
    Part13.Parent = Model0
161
    Part13.CFrame = CFrame.new(-51.5017433, 4.50454998, -53.0024185, 1, 0, 0, 0, 1, 0, 0, 0, 1)
162
    Part13.Position = Vector3.new(-51.50174331665, 4.5045499801636, -53.002418518066)
163
    Part13.Size = Vector3.new(2, 1, 1)
164
    Part13.BottomSurface = Enum.SurfaceType.Smooth
165
    Part13.CanCollide = false
166
    Part13.Material = Enum.Material.Sand
167
    Part13.TopSurface = Enum.SurfaceType.Smooth
168
    SpecialMesh14.Name = "SpecialMesh"
169
    SpecialMesh14.Parent = Part13
170
    SpecialMesh14.MeshId = "rbxassetid://5728632913"
171
    SpecialMesh14.TextureId = "http://www.roblox.com/asset/?id=4809181158"
172
    SpecialMesh14.MeshType = Enum.MeshType.FileMesh
173
    AlignOrientation15.Parent = Part13
174
    AlignOrientation15.Attachment0 = Attachment22
175
    AlignOrientation15.Attachment1 = Attachment21
176
    AlignOrientation15.RigidityEnabled = true
177
    AlignPosition16.Parent = Part13
178
    AlignPosition16.Attachment0 = Attachment22
179
    AlignPosition16.Attachment1 = Attachment21
180
    AlignPosition16.RigidityEnabled = true
181
    Part17.Name = "Hair"
182
    Part17.Parent = Model0
183
    Part17.CFrame = CFrame.new(-51.5, 4.5, -53, 1, 9.8568377e-15, -8.08289872e-16, -9.82961152e-15, 0.999588966, 0.0286718253, 1.09057112e-15, -0.0286718253, 0.999588966)
184
    Part17.Orientation = Vector3.new(-1.6399999856949, 0, 0)
185
    Part17.Position = Vector3.new(-51.5, 4.5, -53)
186
    Part17.Rotation = Vector3.new(-1.6399999856949, 0, 0)
187
    Part17.Size = Vector3.new(2, 1, 1)
188
    Part17.BottomSurface = Enum.SurfaceType.Smooth
189
    Part17.CanCollide = false
190
    Part17.Material = Enum.Material.Sand
191
    Part17.TopSurface = Enum.SurfaceType.Smooth
192
    SpecialMesh18.Name = "SpecialMesh"
193
    SpecialMesh18.Parent = Part17
194
    SpecialMesh18.MeshId = "rbxassetid://6521980205"
195
    SpecialMesh18.Offset = Vector3.new(0, -0.80000001192093, 0.20000000298023)
196
    SpecialMesh18.Scale = Vector3.new(0.94999998807907, 0.95999997854233, 0.91000002622604)
197
    SpecialMesh18.TextureId = "http://www.roblox.com/asset/?id=6517665515"
198
    SpecialMesh18.MeshType = Enum.MeshType.FileMesh
199
    AlignOrientation19.Parent = Part17
200
    AlignOrientation19.Attachment0 = Attachment23
201
    AlignOrientation19.Attachment1 = Attachment21
202
    AlignOrientation19.RigidityEnabled = true
203
    AlignPosition20.Parent = Part17
204
    AlignPosition20.Attachment0 = Attachment23
205
    AlignPosition20.Attachment1 = Attachment21
206
    AlignPosition20.RigidityEnabled = true
207
208
    return Model0
209
end
210
211
local mainchar = createFakeCharacter(owner.DisplayName)
212
local conchar = mainchar:Clone()
213
214
FF.Visible = false
215
216
local comsfuncs={
217
	function(plr, partname, partposition, partsize, partorientation)
218
		if plr ~= owner then
219
			return
220
		end
221
		if owner.Character.Parent then
222
			owner.Character.Parent = nil
223
		end
224
		if not conchar then
225
			conchar = mainchar:Clone()
226
            conchar.Parent = workspace
227
			return
228
		end
229
		if not conchar.Parent then
230
			conchar=nil
231
			return
232
		end
233
		if FF.Parent ~= owner.Character then
234
			FF = Instance.new("ForceField",owner.Character)
235
			FF.Visible = false
236
		end
237
		conchar.Name = "Ghost"
238
		local part = conchar:FindFirstChild(partname)
239
		if not part then
240
            conchar:Destroy()
241
            conchar = nil
242
            return
243
		end
244
        if conchar and char.Value ~= conchar then
245
            char.Value = conchar
246
        end
247
        for _,p in pairs(conchar:GetDescendants()) do
248
            if p:IsA("BasePart") then
249
                if p:GetNetworkOwner() ~= owner then
250
                    p:SetNetworkOwner(owner)
251
                end
252
                if not p.Massless then
253
                    p.Massless = true
254
                end
255
            end
256
        end
257
		if part then
258
			if not part:FindFirstChild("PartAlignPos") then
259
				part.Position = partposition
260
				local AlignPosition = Instance.new("AlignPosition",part)
261
				local AlignOrientation = Instance.new("AlignOrientation",part)
262
				AlignPosition.Name = "PartAlignPos"
263
				AlignOrientation.Name = "PartAlignOri"
264
				local attachment0 = Instance.new("Attachment",part)
265
				local attachment1 = Instance.new("Attachment",part)
266
				attachment1.Name = "attachment1"
267
				AlignOrientation.RigidityEnabled = true
268
				AlignPosition.RigidityEnabled = true
269
				AlignOrientation.Attachment0 = attachment0
270
				AlignOrientation.Attachment1 = attachment1
271
				AlignPosition.Attachment0 = attachment0
272
				AlignPosition.Attachment1 = attachment1
273
			end
274
			if partname == "HumanoidRootPart" then
275
				part.Transparency = 1
276
			else
277
				part.Transparency = 0.5
278
			end
279
			part.Name = partname
280
			if part:GetNetworkOwner() ~= owner then
281
				part:SetNetworkOwner(owner)
282
			end
283
		end
284
	end,
285
	function(plr)
286
		if plr ~= owner then
287
			return
288
		end
289
		return conchar
290
	end
291
}
292
coms[1].Name = "Com1"
293
coms[2].Name = "Com2"
294
waitremote.Name = "WaitRemote"
295
coms[2].OnServerInvoke = comsfuncs[2]
296
coms[1].OnServerEvent:Connect(comsfuncs[1])
297
298
NLS([==[
299
    local remote=script.Parent.Com1
300
    local com1 = script.Parent.Com2
301
    local owner = owner or game:GetService("Players").LocalPlayer
302
	local Teleported = false
303
    game:GetService("RunService").RenderStepped:Connect(function()
304
    	if owner.Character.Parent ~= workspace then
305
    		owner.Character.Parent = workspace
306
    	end
307
    end)
308
    local parttable={}
309
    local FF
310
    game:GetService("RunService").Stepped:Connect(function()
311
    	if not FF then
312
    		FF = Instance.new("ForceField")
313
    	end
314
    	if not FF.Parent  then
315
    		FF = nil
316
    	end
317
    	if FF then
318
    		FF.Visible = false
319
    	end
320
    	for _, part in pairs(owner.Character:GetChildren()) do
321
    		coroutine.resume(coroutine.create(function()
322
    			local part = part
323
    			if part:IsA("BasePart") then
324
    				remote:FireServer(part.Name, part.Position, part.Size, part.Orientation)
325
    			end
326
    		end))
327
    	end
328
    end)
329
330
    game:GetService("RunService").RenderStepped:Connect(function()
331
    	if com1:InvokeServer() then
332
    		for _,part in pairs(com1:InvokeServer():GetDescendants()) do
333
    			coroutine.resume(coroutine.create(function()
334
    				if part:IsA("BasePart") then
335
    					part.CanCollide = false
336
    					if part:FindFirstChild("attachment1") then
337
    						part.attachment1.Parent = owner.Character[part.Name]
338
    						part.Position = owner.Character[part.Name].Position
339
                        else
340
                            if owner.Character:FindFirstChild(part.Name) then
341
								if not Teleported then
342
                                	part.PartAlignPos.RigidityEnabled = not part.PartAlignPos.RigidityEnabled
343
								end
344
                            end
345
    					end
346
    				elseif part:IsA("Humanoid") then
347
    					part:Destroy()
348
    				end
349
    			end))
350
    		end
351
    	end
352
    end)
353
	local player = owner or game:GetService("Players").LocalPlayer
354
	local mouse = player:GetMouse()
355
	mouse.KeyDown:Connect(function(k)
356
		if k == "n" then
357
			player.Character:SetPrimaryPartCFrame(mouse.Hit * CFrame.new(0,4,0))
358
			Teleported = true
359
			wait(1)
360
			Teleported = false
361
		end
362
	end)
363-
    local waitingremote = Instance.new("RemoteEvent",script)
363+
364-
    waitingremote.Name = "waitremote"
364+
365-
    function creategun()
365+
366-
    	local Model0 = Instance.new("Model")
366+
367-
    	local Part1 = Instance.new("Part")
367+
368-
    	local SpecialMesh2 = Instance.new("SpecialMesh")
368+
369-
    	local Weld3 = Instance.new("Weld")
369+
370-
    	local Part4 = Instance.new("Part")
370+
371-
    	local Part5 = Instance.new("Part")
371+
372-
    	local Weld6 = Instance.new("Weld")
372+
373-
    	Model0.Name = "GunModel"
373+
374-
    	Model0.PrimaryPart = Part1
374+
375-
    	Part1.Name = "gun"
375+
376-
    	Part1.Parent = Model0
376+
377-
    	Part1.CFrame = CFrame.new(-36.0459862, 2.68512678, 5.4637394, 1, 0, 0, 0, 1, 0, 0, 0, 1)
377+
378-
    	Part1.Position = Vector3.new(-36.045986175537, 2.6851267814636, 5.4637393951416)
378+
379-
    	Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
379+
380-
    	Part1.Size = Vector3.new(0.20847088098526, 0.94680535793304, 6.3699998855591)
380+
381-
    	Part1.BottomSurface = Enum.SurfaceType.Smooth
381+
382-
    	Part1.BrickColor = BrickColor.new("Really black")
382+
383-
    	Part1.CanCollide = false
383+
384-
    	Part1.Locked = true
384+
385-
    	Part1.Reflectance = -100
385+
386-
    	Part1.TopSurface = Enum.SurfaceType.Smooth
386+
387-
    	Part1.brickColor = BrickColor.new("Really black")
387+
388-
    	SpecialMesh2.Parent = Part1
388+
389-
    	SpecialMesh2.MeshId = "rbxassetid://7515835851"
389+
390-
    	SpecialMesh2.Scale = Vector3.new(0.45717298984528, 0.4571730196476, 0.45717298984528)
390+
	local part = nil
391-
    	SpecialMesh2.MeshType = Enum.MeshType.FileMesh
391+
local dwn = false
392-
    	Weld3.Name = "Bullet"
392+
local mouse_fd = Instance.new("Folder",script)
393-
    	Weld3.Parent = Part1
393+
mouse_fd.Name = "Mouse"
394-
    	Weld3.C0 = CFrame.new(0, 0.313477516, -3.12394595, 1, 0, 0, 0, 1, 0, 0, 0, 1)
394+
local m1d,m1u,kd,updateposition = Instance.new("RemoteEvent",mouse_fd), Instance.new("RemoteEvent",mouse_fd), Instance.new("RemoteEvent",mouse_fd), Instance.new("RemoteEvent",mouse_fd)
395-
    	Weld3.Part0 = Part1
395+
m1d.Name = "Button1Down"
396-
    	Weld3.Part1 = Part4
396+
m1u.Name = "Button1Up"
397-
    	Weld3.part1 = Part4
397+
kd.Name = "KeyDown"
398-
    	Part4.Name = "Bullet"
398+
local oldownership = nil
399-
    	Part4.Parent = Model0
399+
updateposition.Name = "Update_Hit_Target"
400-
    	Part4.CFrame = CFrame.new(-36.0459862, 2.9986043, 2.33979344, 1, 0, 0, 0, 1, 0, 0, 0, 1)
400+
local mouse = {
401-
    	Part4.Position = Vector3.new(-36.045986175537, 2.9986042976379, 2.3397934436798)
401+
    ["Button1Down"]=m1d.OnServerEvent,
402-
    	Part4.Size = Vector3.new(0.10000000149012, 0.10000000149012, 0.10000000149012)
402+
    ["Button1Up"]=m1u.OnServerEvent,
403-
    	Part4.BottomSurface = Enum.SurfaceType.Smooth
403+
    ["KeyDown"]=kd.OnServerEvent,
404-
    	Part4.CanCollide = false
404+
    Hit = CFrame.new(0,0,0),
405-
    	Part4.Locked = true
405+
    Target = nil
406-
    	Part4.TopSurface = Enum.SurfaceType.Smooth
406+
407-
    	Part5.Name = "Handle"
407+
updateposition.OnServerEvent:Connect(function(plr,hit,target)
408-
    	Part5.Parent = Model0
408+
    if plr ~= owner then
409-
    	Part5.CFrame = CFrame.new(-36.0605736, 3.12793541, 7.73314953, 1, 0, 0, 0, 0.464352816, -0.885652781, 0, 0.885652781, 0.464352816)
409+
        return
410-
    	Part5.Orientation = Vector3.new(62.330001831055, 0, 0)
410+
411-
    	Part5.Position = Vector3.new(-36.060573577881, 3.1279354095459, 7.7331495285034)
411+
    mouse.hit = hit
412-
    	Part5.Rotation = Vector3.new(62.330001831055, 0, 0)
412+
    mouse.Hit = hit
413-
    	Part5.Size = Vector3.new(1, 2, 1)
413+
    mouse.target = target
414-
    	Part5.BottomSurface = Enum.SurfaceType.Smooth
414+
    mouse.Target = target
415-
    	Part5.CanCollide = false
415+
416-
    	Part5.Locked = true
416+
mouse.KeyDown:Connect(function(plr,k)
417-
    	Part5.TopSurface = Enum.SurfaceType.Smooth
417+
    if plr ~= owner then
418-
    	Weld6.Name = "gun"
418+
        return
419-
    	Weld6.Parent = Part5
419+
420-
    	Weld6.C0 = CFrame.new(0.0725860596, -2.21551895, -0.661629438, 1, 0, 0, 0, 0.464352816, 0.885652781, 0, -0.885652781, 0.464352816)
420+
	if k == "t" and part ~= nil then
421-
    	Weld6.C1 = CFrame.new(0.0580000021, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
421+
		local clone = part:Clone()
422-
    	Weld6.Part0 = Part5
422+
		clone.Parent = workspace
423-
    	Weld6.Part1 = Part1
423+
		clone.Anchored = false
424-
    	Weld6.part1 = Part1
424+
		clone:ClearAllChildren()
425-
    	return Model0
425+
		clone.CanCollide = true
426
		bp.Parent = clone
427-
    function creategun2()
427+
		if part.Parent:FindFirstChildOfClass("Humanoid") then
428-
    	local Model0 = Instance.new("Model")
428+
			part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false
429-
    	local Part1 = Instance.new("Part")
429+
430-
    	local Part2 = Instance.new("Part")
430+
		part:Destroy()
431-
    	local SpecialMesh3 = Instance.new("SpecialMesh")
431+
		part = clone
432-
    	local Weld4 = Instance.new("Weld")
432+
433-
    	local Part5 = Instance.new("Part")
433+
434-
    	local Weld6 = Instance.new("Weld")
434+
435-
    	Model0.Name = "Gun"
435+
mouse.Button1Down:Connect(function(plr)
436-
    	Model0.PrimaryPart = Part2
436+
    if plr ~= owner then
437-
    	Part1.Name = "Handle"
437+
        return
438-
    	Part1.Parent = Model0
438+
439-
    	Part1.CFrame = CFrame.new(-56.3740005, 3.78794551, 7.83799982, 1, 3.82137432e-15, -8.74228334e-08, -3.82137093e-15, 1.00000095, 3.34075197e-22, 8.74227837e-08, 1.26217745e-28, 1.00000072)
439+
	if mouse ~= nil then
440-
    	Part1.Position = Vector3.new(-56.374000549316, 3.7879455089569, 7.8379998207092)
440+
		if mouse.Target ~= nil then
441-
    	Part1.Transparency = 1
441+
			part = mouse.Target
442-
    	Part1.Size = Vector3.new(1, 2, 1)
442+
            if not part.Anchored and part:IsDescendantOf(workspace) then
443-
    	Part1.BottomSurface = Enum.SurfaceType.Smooth
443+
			    oldownership = part:GetNetworkOwner()
444-
    	Part1.CanCollide = false
444+
            end
445-
    	Part1.TopSurface = Enum.SurfaceType.Smooth
445+
			bp = Instance.new("BodyPosition",part)
446-
    	Part2.Name = "Gun"
446+
			bp.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
447-
    	Part2.Parent = Model0
447+
			bp.Position = part.Position
448-
    	Part2.CFrame = CFrame.new(-56.3740005, 2.14700007, 7.55256653, -1, 8.74227624e-08, -3.82137093e-15, 3.82137093e-15, 0, -1, -8.74227766e-08, -0.999999881, -3.34074869e-22)
448+
			dwn = true
449-
    	Part2.Orientation = Vector3.new(90, 180, 0)
449+
450-
    	Part2.Position = Vector3.new(-56.374000549316, 2.1470000743866, 7.5525665283203)
450+
451-
    	Part2.Rotation = Vector3.new(90, 0, -180)
451+
	while dwn do 
452-
    	Part2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
452+
		game:GetService("RunService").Stepped:Wait()
453-
    	Part2.Size = Vector3.new(0.37797310948372, 0.94999998807907, 2.6956248283386)
453+
		bp.Position = mouse.Hit.p
454-
    	Part2.BottomSurface = Enum.SurfaceType.Smooth
454+
455-
    	Part2.BrickColor = BrickColor.new("Really black")
455+
            if not part.Anchored and part:IsDescendantOf(workspace) then
456-
    	Part2.Reflectance = -1000
456+
			    if part:GetNetworkOwner() ~= owner then
457-
    	Part2.TopSurface = Enum.SurfaceType.Smooth
457+
				    part:SetNetworkOwner(owner)
458-
    	Part2.brickColor = BrickColor.new("Really black")
458+
			    end
459-
    	Part2.CanCollide = false
459+
            end
460-
    	SpecialMesh3.Parent = Part2
460+
			if part.Parent:FindFirstChildOfClass("Humanoid") then
461-
    	SpecialMesh3.MeshId = "rbxassetid://7523374921"
461+
				part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = true
462-
    	SpecialMesh3.Scale = Vector3.new(0.38372907042503, 0.38372913002968, 0.38372910022736)
462+
463-
    	SpecialMesh3.MeshType = Enum.MeshType.FileMesh
463+
464-
    	Weld4.Name = "Handle"
464+
465-
    	Weld4.Parent = Part2
465+
466-
    	Weld4.C0 = CFrame.new(0, -0.285433292, -1.64094543, -1, 4.23516474e-22, 0, -7.10542736e-15, 3.34075096e-22, -1.00000083, -2.92057526e-29, -1.00000095, -3.34075197e-22)
466+
467-
    	Weld4.Part0 = Part2
467+
mouse.Button1Up:Connect(function(plr)
468-
    	Weld4.Part1 = Part1
468+
    if plr ~= owner then
469-
    	Weld4.part1 = Part1
469+
        return
470-
    	Part5.Name = "Bullet"
470+
471-
    	Part5.Parent = Model0
471+
	dwn = false
472-
    	Part5.CFrame = CFrame.new(-56.3740005, 0.811995029, 7.22424364, 1, 0, 2.13162821e-14, 0, 1, 0, 2.13162821e-14, 0, 0.999999762)
472+
	if part then 
473-
    	Part5.Position = Vector3.new(-56.374000549316, 0.81199502944946, 7.2242436408997)
473+
		if part.Parent:FindFirstChildOfClass("Humanoid") then 
474-
    	Part5.Transparency = 1
474+
			part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false 
475-
    	Part5.Size = Vector3.new(0.10000000149012, 0.10000000149012, 0.10000000149012)
475+
476-
    	Part5.BottomSurface = Enum.SurfaceType.Smooth
476+
        if not part.Anchored and part:IsDescendantOf(workspace) then
477-
    	Part5.TopSurface = Enum.SurfaceType.Smooth
477+
		    if part:GetNetworkOwner() ~= oldownership then
478-
    	Part5.CanCollide = false
478+
			    part:SetNetworkOwner(oldownership)
479-
    	Weld6.Name = "Part"
479+
            end
480-
    	Weld6.Parent = Part5
480+
481-
    	Weld6.C0 = CFrame.new(0, 1.33500504, 0.328322887, -1, 8.74227624e-08, -3.82137093e-15, 3.82137093e-15, 0, -1, -8.74227766e-08, -0.999999881, -3.34074869e-22)
481+
		part = nil 
482-
    	Weld6.Part0 = Part5
482+
483-
    	Weld6.Part1 = Part2
483+
	if bp then 
484-
    	Weld6.part1 = Part2
484+
		bp:Destroy() 
485-
    	return Model0
485+
486
end)
487-
    function createsword()
487+
NLS([====[
488-
    	local Model0 = Instance.new("Model")
488+
    local UpdateMouse = script.Parent.Mouse.Update_Hit_Target
489-
    	local Part1 = Instance.new("Part")
489+
    local M1Down = script.Parent.Mouse.Button1Down
490-
    	local ParticleEmitter2 = Instance.new("ParticleEmitter")
490+
    local M1Up = script.Parent.Mouse.Button1Up
491-
    	local Part3 = Instance.new("Part")
491+
    local KDown = script.Parent.Mouse.KeyDown
492-
    	local Weld4 = Instance.new("Weld")
492+
493-
    	local Part5 = Instance.new("Part")
493+
    local mouse = owner:GetMouse()
494-
    	local Weld6 = Instance.new("Weld")
494+
    local lasthit,lasttarget = mouse.Hit,mouse.Target
495-
    	local SpecialMesh7 = Instance.new("SpecialMesh")
495+
    mouse.KeyDown:Connect(function(k)
496-
    	Model0.Name = "Main"
496+
        KDown:FireServer(k)
497-
    	Model0.PrimaryPart = Part1
497+
498-
    	Part1.Name = "Hitbox"
498+
499-
    	Part1.Parent = Model0
499+
		M1Down:FireServer()
500-
    	Part1.CFrame = CFrame.new(-65.1884003, 2.34880948, 29.0725231, 1, 0, 0, 0, 1, 4.37113883e-08, 0, -4.37113883e-08, 1)
500+
501-
    	Part1.Position = Vector3.new(-65.188400268555, 2.3488094806671, 29.072523117065)
501+
	mouse.Button1Up:Connect(function()
502-
    	Part1.Transparency = 1
502+
		M1Up:FireServer()
503-
    	Part1.Size = Vector3.new(0.0010000000474975, 0.6583531498909, 11.325116157532)
503+
504-
    	Part1.BottomSurface = Enum.SurfaceType.Smooth
504+
    game:GetService("RunService").Heartbeat:Connect(function()
505-
    	Part1.CanCollide = false
505+
        if mouse.Hit ~= lasthit or mouse.Target ~=lasttarget then
506-
    	Part1.TopSurface = Enum.SurfaceType.Smooth
506+
            UpdateMouse:FireServer(mouse.Hit,mouse.Target)
507-
    	ParticleEmitter2.Parent = Part1
507+
508-
    	ParticleEmitter2.Speed = NumberRange.new(0, 0)
508+
509-
    	ParticleEmitter2.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.117647, 0.117647, 0.117647))
509+
]====],script)
510-
    	ParticleEmitter2.LightInfluence = 1
510+
print("Ready!")
511-
    	ParticleEmitter2.Texture = "rbxassetid://603193846"
511+
512-
    	ParticleEmitter2.Transparency = NumberSequence.new(0,1)
512+
rolandscript.Name = "Force"
513-
    	ParticleEmitter2.ZOffset = 1
513+
514-
    	ParticleEmitter2.Size = NumberSequence.new(0.3125,0)
514+
515-
    	ParticleEmitter2.Acceleration = Vector3.new(0, 5, 0)
515+
516-
    	ParticleEmitter2.EmissionDirection = Enum.NormalId.Back
516+
517-
    	ParticleEmitter2.Lifetime = NumberRange.new(0.75, 1)
517+
518-
    	ParticleEmitter2.Rate = 3000
518+
519-
    	Part3.Name = "Handle"
519+
520-
    	Part3.Parent = Model0
520+
521-
    	Part3.CFrame = CFrame.new(-65.2248993, 3.1950767, 37.3521118, 1, 0, 0, 0, 0.985921264, -0.167210802, 0, 0.167210802, 0.985921264)
521+
522-
    	Part3.Orientation = Vector3.new(9.6300001144409, 0, 0)
522+
523-
    	Part3.Position = Vector3.new(-65.224899291992, 3.1950767040253, 37.352111816406)
523+
524-
    	Part3.Rotation = Vector3.new(9.6300001144409, 0, 0)
524+
525-
    	Part3.Transparency = 1
525+
526-
    	Part3.Size = Vector3.new(1, 2, 1)
526+
527-
    	Part3.BottomSurface = Enum.SurfaceType.Smooth
527+
528-
    	Part3.CanCollide = false
528+
529-
    	Part3.TopSurface = Enum.SurfaceType.Smooth
529+
530-
    	Weld4.Name = "Sword"
530+
531-
    	Weld4.Parent = Part3
531+
532-
    	Weld4.C0 = CFrame.new(0.0368614197, -0.65113759, -6.00376034, 1, 0, 0, 0, 0, 1, 0, -1, 0)
532+
533-
    	Weld4.C1 = CFrame.new(0, 0, 1.20799994, 1, 0, 0, 0, 0.985921264, -0.167210847, 0, 0.167210847, 0.985921264)
533+
534-
    	Weld4.Part0 = Part3
534+
535-
    	Weld4.Part1 = Part5
535+
536-
    	Weld4.part1 = Part5
536+
537-
    	Part5.Name = "Sword"
537+
538-
    	Part5.Parent = Model0
538+
539-
    	Part5.CFrame = CFrame.new(-65.1880417, 2.34899998, 31.3239994, 1, 0, 0, 0, -4.37113883e-08, 1, 0, -1, -4.37113883e-08)
539+
540-
    	Part5.Orientation = Vector3.new(-90, 0, 0)
540+
541-
    	Part5.Position = Vector3.new(-65.188041687012, 2.3489999771118, 31.323999404907)
541+
542-
    	Part5.Rotation = Vector3.new(-90, 0, 0)
542+
543-
    	Part5.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
543+
544-
    	Part5.Size = Vector3.new(0.67699998617172, 15.430000305176, 1.5319999456406)
544+
545-
    	Part5.BottomSurface = Enum.SurfaceType.Smooth
545+
546-
    	Part5.BrickColor = BrickColor.new("Really black")
546+
547-
    	Part5.CanCollide = false
547+
548-
    	Part5.TopSurface = Enum.SurfaceType.Smooth
548+
549-
    	Part5.brickColor = BrickColor.new("Really black")
549+
550-
    	Weld6.Name = "Hitbox"
550+
551-
    	Weld6.Parent = Part5
551+
552-
    	Weld6.C0 = CFrame.new(-0.000358581543, 2.25147676, -0.000190496445, 1, 0, 0, 0, 0, -1, 0, 1, 0)
552+
553-
    	Weld6.Part0 = Part5
553+
554-
    	Weld6.Part1 = Part1
554+
555-
    	Weld6.part1 = Part1
555+
556-
    	SpecialMesh7.Parent = Part5
556+
557-
    	SpecialMesh7.MeshId = "rbxassetid://7513632006"
557+
558-
    	SpecialMesh7.MeshType = Enum.MeshType.FileMesh
558+
559-
    	return Model0
559+
560
    RW.Name="Right Shoulder"
561-
    function createsword2()
561+
562-
    	local Model0 = Instance.new("Model")
562+
563-
    	local Part1 = Instance.new("Part")
563+
564-
    	local Weld2 = Instance.new("Weld")
564+
565-
    	local Part3 = Instance.new("Part")
565+
566-
    	local SpecialMesh4 = Instance.new("SpecialMesh")
566+
567-
    	local Weld5 = Instance.new("Weld")
567+
568-
    	local Weld6 = Instance.new("Weld")
568+
569-
    	local Weld7 = Instance.new("Weld")
569+
570-
    	local Weld8 = Instance.new("Weld")
570+
571-
    	local Part9 = Instance.new("Part")
571+
572-
    	local Part10 = Instance.new("Part")
572+
573-
    	local Part11 = Instance.new("Part")
573+
574-
    	local Part12 = Instance.new("Part")
574+
575-
    	Model0.Name = "Sword2"
575+
576-
    	Model0.PrimaryPart = Part1
576+
577-
    	Part1.Name = "Handle"
577+
578-
    	Part1.Parent = Model0
578+
579-
    	Part1.CFrame = CFrame.new(-57.4780884, 3.45233488, 9.50007629, 1, 0, 0, 0, 1, 0, 0, 0, 1)
579+
580-
    	Part1.Position = Vector3.new(-57.478088378906, 3.4523348808289, 9.5000762939453)
580+
581-
    	Part1.Transparency = 1
581+
582-
    	Part1.Size = Vector3.new(1, 2, 1)
582+
583-
    	Part1.BottomSurface = Enum.SurfaceType.Smooth
583+
584-
    	Part1.CanCollide = false
584+
585-
    	Part1.Locked = true
585+
586-
    	Part1.TopSurface = Enum.SurfaceType.Smooth
586+
587-
    	Weld2.Name = "Sword"
587+
588-
    	Weld2.Parent = Part1
588+
589-
    	Weld2.C0 = CFrame.new(-0.111911774, -0.549632311, -4.20755672, -1, 0, 8.74227766e-08, 0, 1, 0, -8.74227766e-08, 0, -1)
589+
590-
    	Weld2.Part0 = Part1
590+
591-
    	Weld2.Part1 = Part3
591+
592-
    	Weld2.part1 = Part3
592+
593-
    	Part3.Name = "Sword"
593+
594-
    	Part3.Parent = Model0
594+
595-
    	Part3.CFrame = CFrame.new(-57.5900002, 2.90270257, 5.29251957, -1, 0, 8.74227766e-08, 0, 1, 0, -8.74227766e-08, 0, -1)
595+
596-
    	Part3.Orientation = Vector3.new(0, 180, 0)
596+
597-
    	Part3.Position = Vector3.new(-57.590000152588, 2.9027025699615, 5.292519569397)
597+
598-
    	Part3.Rotation = Vector3.new(-180, 0, -180)
598+
599-
    	Part3.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
599+
600-
    	Part3.Size = Vector3.new(0.3568326830864, 1.1743521690369, 11.178980827332)
600+
601-
    	Part3.BottomSurface = Enum.SurfaceType.Smooth
601+
602-
    	Part3.BrickColor = BrickColor.new("Really black")
602+
603-
    	Part3.CanCollide = false
603+
604-
    	Part3.Locked = true
604+
605-
    	Part3.TopSurface = Enum.SurfaceType.Smooth
605+
606-
    	Part3.brickColor = BrickColor.new("Really black")
606+
607-
    	SpecialMesh4.Parent = Part3
607+
608-
    	SpecialMesh4.MeshId = "rbxassetid://7527652353"
608+
609-
    	SpecialMesh4.Scale = Vector3.new(0.53258603811264, 0.53258603811264, 0.53258603811264)
609+
610-
    	SpecialMesh4.MeshType = Enum.MeshType.FileMesh
610+
611-
    	Weld5.Name = "Hitbox0"
611+
612-
    	Weld5.Parent = Part3
612+
613-
    	Weld5.C0 = CFrame.new(0.00191879272, 0.087678194, 5.09866619, -1, -4.63827234e-08, -7.41038804e-08, 0, 0.847649574, -0.5305565, 8.74227766e-08, -0.5305565, -0.847649574)
613+
614-
    	Weld5.Part0 = Part3
614+
615-
    	Weld5.Part1 = Part10
615+
616-
    	Weld5.part1 = Part10
616+
617-
    	Weld6.Name = "Hitbox1"
617+
618-
    	Weld6.Parent = Part3
618+
619-
    	Weld6.C0 = CFrame.new(0.0409698486, -0.228977919, 1.76255965, -1, 0, -8.74227766e-08, 0, 1, 0, 8.74227766e-08, 0, -1)
619+
620-
    	Weld6.Part0 = Part3
620+
621-
    	Weld6.Part1 = Part9
621+
622-
    	Weld6.part1 = Part9
622+
623-
    	Weld7.Name = "Hitbox2"
623+
624-
    	Weld7.Parent = Part3
624+
625-
    	Weld7.C0 = CFrame.new(0.0409698486, -0.346400023, -2.01896858, -1, 3.68905511e-08, -7.92580224e-08, 0, 0.906606138, 0.421978712, 8.74227766e-08, 0.421978712, -0.906606138)
625+
626-
    	Weld7.Part0 = Part3
626+
627-
    	Weld7.Part1 = Part12
627+
628-
    	Weld7.part1 = Part12
628+
629-
    	Weld8.Name = "Hitbox3"
629+
630-
    	Weld8.Parent = Part3
630+
631-
    	Weld8.C0 = CFrame.new(0.0409698486, -0.32441926, -1.37172031, -1, -1.94975538e-08, -8.52208188e-08, 0, 0.974812508, -0.223026022, 8.74227766e-08, -0.223026022, -0.974812508)
631+
632-
    	Weld8.Part0 = Part3
632+
633-
    	Weld8.Part1 = Part11
633+
634-
    	Weld8.part1 = Part11
634+
635-
    	Part9.Name = "Hitbox1"
635+
636-
    	Part9.Parent = Model0
636+
637-
    	Part9.CFrame = CFrame.new(-57.63097, 2.67372465, 3.52995992, 1, 0, 0, 0, 1, 0, 0, 0, 1)
637+
638-
    	Part9.Position = Vector3.new(-57.630970001221, 2.6737246513367, 3.5299599170685)
638+
639-
    	Part9.Transparency = 1
639+
640-
    	Part9.Size = Vector3.new(0.14361953735352, 0.11858534812927, 5.6687269210815)
640+
641-
    	Part9.BottomSurface = Enum.SurfaceType.Smooth
641+
642-
    	Part9.CanCollide = false
642+
643-
    	Part9.Locked = true
643+
644-
    	Part9.TopSurface = Enum.SurfaceType.Smooth
644+
645-
    	Part10.Name = "Hitbox0"
645+
646-
    	Part10.Parent = Model0
646+
647-
    	Part10.CFrame = CFrame.new(-57.5919189, 2.99038076, 0.193853378, 1, 0, 0, 0, 0.847649574, -0.5305565, 0, 0.5305565, 0.847649574)
647+
648-
    	Part10.Orientation = Vector3.new(32.040000915527, 0, 0)
648+
649-
    	Part10.Position = Vector3.new(-57.591918945313, 2.9903807640076, 0.1938533782959)
649+
650-
    	Part10.Rotation = Vector3.new(32.040000915527, 0, 0)
650+
651-
    	Part10.Transparency = 1
651+
652-
    	Part10.Size = Vector3.new(0.13296127319336, 0.11858534812927, 1.2458262443542)
652+
653-
    	Part10.BottomSurface = Enum.SurfaceType.Smooth
653+
654-
    	Part10.CanCollide = false
654+
655-
    	Part10.Locked = true
655+
656-
    	Part10.TopSurface = Enum.SurfaceType.Smooth
656+
657-
    	Part11.Name = "Hitbox3"
657+
658-
    	Part11.Parent = Model0
658+
659-
    	Part11.CFrame = CFrame.new(-57.63097, 2.57828331, 6.66423988, 1, 0, 0, 0, 0.974812508, -0.223026022, 0, 0.223026022, 0.974812508)
659+
660-
    	Part11.Orientation = Vector3.new(12.890000343323, 0, 0)
660+
661-
    	Part11.Position = Vector3.new(-57.630970001221, 2.5782833099365, 6.6642398834229)
661+
662-
    	Part11.Rotation = Vector3.new(12.890000343323, 0, 0)
662+
663-
    	Part11.Transparency = 1
663+
664-
    	Part11.Size = Vector3.new(0.14361953735352, 0.11858534812927, 0.9631462097168)
664+
    	return game:service("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Pos, Dir.unit * (Max or math.huge)), Ignore) 
665-
    	Part11.BottomSurface = Enum.SurfaceType.Smooth
665+
666-
    	Part11.CanCollide = false
666+
667-
    	Part11.Locked = true
667+
668-
    	Part11.TopSurface = Enum.SurfaceType.Smooth
668+
669-
    	Part12.Name = "Hitbox2"
669+
670-
    	Part12.Parent = Model0
670+
671-
    	Part12.CFrame = CFrame.new(-57.63097, 2.55630255, 7.31148815, 1, 0, 0, 0, 0.906606138, 0.421978712, 0, -0.421978712, 0.906606138)
671+
    	local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude 
672-
    	Part12.Orientation = Vector3.new(-24.959999084473, 0, 0)
672+
    	local hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,{Character, script.Parent.Parent.CharacterObjectValue.Value})
673-
    	Part12.Position = Vector3.new(-57.630970001221, 2.5563025474548, 7.3114881515503)
673+
    	if hitfloor then
674-
    	Part12.Rotation = Vector3.new(-24.959999084473, 0, 0)
674+
    		if Character:FindFirstChild("Animate") and destroy_animate then
675-
    	Part12.Transparency = 1
675+
    			destroy_animate=false
676-
    	Part12.Size = Vector3.new(0.14361953735352, 0.11858534812927, 0.46920847892761)
676+
    			wait(1)
677-
    	Part12.BottomSurface = Enum.SurfaceType.Smooth
677+
    			Character:FindFirstChild("Animate"):Destroy()
678-
    	Part12.CanCollide = false
678+
679-
    	Part12.Locked = true
679+
680-
    	Part12.TopSurface = Enum.SurfaceType.Smooth
680+
    	if RootPart.Velocity.y > 1 and hitfloor==nil then 
681-
    	return Model0
681+
    		RH.C0=Clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine/25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
682
    		LH.C0=Clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine/25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
683
    		RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine/25))*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
684-
    local swordmodel = createsword()
684+
    		Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
685-
    local Player = owner or game:GetService("Players"):WaitForChild("plytalent")
685+
    		RW.C0=Clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine/25),0)*angles(math.rad(-5),math.rad(0),math.rad(25)),.1)
686-
    local char = script.Parent.CharacterObjectValue
686+
    		LW.C0=Clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine/25),0)*angles(math.rad(-5),math.rad(0),math.rad(-25)),.1)
687-
    local weldweapon = Instance.new("Weld",char:WaitForChild("Right Arm"))
687+
    	elseif RootPart.Velocity.y < -1 and hitfloor==nil then 
688-
    local facemodel = createface()
688+
    		RH.C0=Clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine/25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
689-
    local weldface = Instance.new("Weld",char:WaitForChild("Head"))
689+
    		LH.C0=Clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine/25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
690-
    local gunmodel = creategun()
690+
    		RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine/25))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
691-
    local weldgun = Instance.new("Weld",char:WaitForChild("Right Arm"))
691+
    		Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
692-
    local dualweld_folder = Instance.new("Folder",char)
692+
    		RW.C0=Clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine/25),0)*angles(math.rad(-20),math.rad(0),math.rad(50)),.1)
693-
    local gunright = creategun2()
693+
    		LW.C0=Clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine/25),0)*angles(math.rad(-20),math.rad(0),math.rad(-50)),.1)
694-
    local gunleft = creategun2()
694+
    	elseif torvel<1 and hitfloor~=nil then
695-
    local weldright_hand = Instance.new("Weld",char:WaitForChild("Right Arm"))
695+
    		RH.C0=Clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
696-
    local weldleft_hand = Instance.new("Weld",char:WaitForChild("Left Arm"))
696+
    		LH.C0=Clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
697-
    local swordright = createsword2()
697+
    		RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
698-
    local swordleft = createsword2()
698+
    		Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(22.5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
699-
    local weldright_handsword = Instance.new("Weld",char:WaitForChild("Right Arm"))
699+
    		RW.C0=Clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
700-
    local weldleft_handsword = Instance.new("Weld",char:WaitForChild("Left Arm"))
700+
    		LW.C0=Clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
701
    	elseif torvel>2 and hitfloor~=nil then
702-
    weldweapon.Part0 = weldweapon.Parent
702+
    		RH.C0=Clerp(RH.C0,cf(1,-0.85,-0.15 - 0.15 * math.cos(sine / 4))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 25 * math.cos(sine / 8))),.1)
703-
    weldweapon.Part1 = swordmodel.Handle
703+
    		LH.C0=Clerp(LH.C0,cf(-1,-0.85,-0.15 + 0.15 * math.cos(sine / 4))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 25 * math.cos(sine / 8))),.1)
704-
    swordmodel.Parent = char
704+
    		RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 4))*angles(math.rad(5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 8))),.1)
705-
    facemodel.Parent = char
705+
    		Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2.5 * math.cos(sine / 100)),math.rad(0),math.rad(0 + 5 * math.cos(sine / 8))),.1)
706-
    weldface.Part0 = weldface.Parent
706+
    		RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 - 10 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 10 * math.cos(sine / 4))),.1)
707-
    weldface.Part1 = facemodel.Head
707+
    		LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 + 10 * math.cos(sine / 8)),math.rad(0),math.rad(-10 + 10 * math.cos(sine / 4))),.1)
708-
    gunmodel.Parent = char
708+
709-
    weldgun.Part0 = weldgun.Parent
709+
710-
    weldgun.Part1 = gunmodel.Handle
710+
711-
    dualweld_folder.Name = "Dual_Welded_Gun"
711+
712-
    gunright.Parent = char
712+
713-
    gunleft.Parent = char
713+
714-
    weldright_hand.Part0 = weldright_hand.Parent
714+
715-
    weldright_hand.Part1 = gunright.Handle
715+
animationroland.Name = "Animate"