View difference between Paste ID: 33LcrNzh and hDkqQPFX
SHOW: | | - or go back to the newest paste.
1
--https://github.com/Mokiros/roblox-FE-compatibility
2
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
3
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
4
local RealPlayer = Player
5
do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
6
7
--Converted with ttyyuu12345's model to script plugin v4
8
function sandbox(var,func)
9
	local env = getfenv(func)
10
	local newenv = setmetatable({},{
11
		__index = function(self,k)
12
			if k=="script" then
13
				return var
14
			else
15
				return env[k]
16
			end
17
		end,
18
	})
19
	setfenv(func,newenv)
20
	return func
21
end
22
cors = {}
23
mas = Instance.new("Model",game:GetService("Lighting"))
24
Model0 = Instance.new("Model")
25
Part1 = Instance.new("Part")
26
Sound2 = Instance.new("Sound")
27
Part3 = Instance.new("Part")
28
SpecialMesh4 = Instance.new("SpecialMesh")
29
Part5 = Instance.new("Part")
30
SpecialMesh6 = Instance.new("SpecialMesh")
31
Model7 = Instance.new("Model")
32
Part8 = Instance.new("Part")
33
SpecialMesh9 = Instance.new("SpecialMesh")
34
Part10 = Instance.new("Part")
35
SpecialMesh11 = Instance.new("SpecialMesh")
36
Part12 = Instance.new("Part")
37
SpecialMesh13 = Instance.new("SpecialMesh")
38
Part14 = Instance.new("Part")
39
SpecialMesh15 = Instance.new("SpecialMesh")
40
Model16 = Instance.new("Model")
41
Part17 = Instance.new("Part")
42
Part18 = Instance.new("Part")
43
SpecialMesh19 = Instance.new("SpecialMesh")
44
Model20 = Instance.new("Model")
45
Part21 = Instance.new("Part")
46
Part22 = Instance.new("Part")
47
SpecialMesh23 = Instance.new("SpecialMesh")
48
Part24 = Instance.new("Part")
49
SpecialMesh25 = Instance.new("SpecialMesh")
50
Part26 = Instance.new("Part")
51
SpecialMesh27 = Instance.new("SpecialMesh")
52
Trail28 = Instance.new("Trail")
53
Sound29 = Instance.new("Sound")
54
Model0.Name = "Beartrap"
55
Model0.Parent = mas
56
Model0.PrimaryPart = Part1
57
Part1.Name = "Base"
58
Part1.Parent = Model0
59
Part1.CFrame = CFrame.new(-29.2622757, 0.58940798, -9.97720432, 1, 0, 0, 0, 0.970093668, -0.242730916, 0, 0.242730916, 0.970093668)
60
Part1.Orientation = Vector3.new(14.0499992, 0, 0)
61
Part1.Position = Vector3.new(-29.2622757, 0.58940798, -9.97720432)
62
Part1.Rotation = Vector3.new(14.0499992, 0, 0)
63
Part1.Transparency = 1
64
Part1.Size = Vector3.new(0.0747161657, 0.0747161657, 0.0747161657)
65
Part1.BottomSurface = Enum.SurfaceType.Smooth
66
Part1.CanCollide = false
67
Part1.Material = Enum.Material.CorrodedMetal
68
Part1.TopSurface = Enum.SurfaceType.Smooth
69
Sound2.Parent = Part1
70
Sound2.EmitterSize = 22
71
Sound2.MinDistance = 22
72
Sound2.SoundId = "http://www.roblox.com/asset/?id=147722227"
73
Sound2.Volume = 6
74
Part3.Name = "Closed"
75
Part3.Parent = Model0
76
Part3.CFrame = CFrame.new(-29.4190006, 1.111516, -10.1709995, 1, 0, 0, 0, 1, 0, 0, 0, 1)
77
Part3.Position = Vector3.new(-29.4190006, 1.111516, -10.1709995)
78
Part3.Color = Color3.new(0.266667, 0.266667, 0.266667)
79
Part3.Transparency = 1
80
Part3.Size = Vector3.new(2.99099994, 2.22300005, 2.33899999)
81
Part3.BottomSurface = Enum.SurfaceType.Smooth
82
Part3.BrickColor = BrickColor.new("Dark taupe")
83
Part3.CustomPhysicalProperties = PhysicalProperties.new(0.00999999978, 0, 0, 0, 0)
84
Part3.TopSurface = Enum.SurfaceType.Smooth
85
Part3.brickColor = BrickColor.new("Dark taupe")
86
SpecialMesh4.Parent = Part3
87
SpecialMesh4.MeshId = "rbxassetid://2125875619"
88
SpecialMesh4.MeshType = Enum.MeshType.FileMesh
89
Part5.Name = "Open"
90
Part5.Parent = Model0
91
Part5.CFrame = CFrame.new(-29.2750015, 0.877515972, -10.0190001, 1, 0, 0, 0, 1, 0, 0, 0, 1)
92
Part5.Position = Vector3.new(-29.2750015, 0.877515972, -10.0190001)
93
Part5.Color = Color3.new(0.266667, 0.266667, 0.266667)
94
Part5.Size = Vector3.new(3.30500007, 1.046, 3.00999999)
95
Part5.BottomSurface = Enum.SurfaceType.Smooth
96
Part5.BrickColor = BrickColor.new("Dark taupe")
97
Part5.CustomPhysicalProperties = PhysicalProperties.new(0.00999999978, 0, 0, 0, 0)
98
Part5.TopSurface = Enum.SurfaceType.Smooth
99
Part5.brickColor = BrickColor.new("Dark taupe")
100
SpecialMesh6.Parent = Part5
101
SpecialMesh6.MeshId = "rbxassetid://2125881085"
102
SpecialMesh6.MeshType = Enum.MeshType.FileMesh
103
Model7.Name = "Head"
104
Model7.Parent = mas
105
Model7.PrimaryPart = Part14
106
Part8.Name = "MercenaryfromSalem"
107
Part8.Parent = Model7
108
Part8.CFrame = CFrame.new(-30.7499657, 2.56125593, -10.2013941, -0.988456845, -0.0764659271, 0.130790085, -0.0247354582, 0.933154166, 0.358624607, -0.149469867, 0.351249844, -0.924273908)
109
Part8.Orientation = Vector3.new(-21.0200005, 171.949997, -1.51999998)
110
Part8.Position = Vector3.new(-30.7499657, 2.56125593, -10.2013941)
111
Part8.Rotation = Vector3.new(-158.789993, 7.51999998, 175.580002)
112
Part8.Velocity = Vector3.new(0, -79.1103516, 0)
113
Part8.Size = Vector3.new(2.44931197, 1.62704277, 2.44931221)
114
Part8.BottomSurface = Enum.SurfaceType.Smooth
115
Part8.CanCollide = false
116
Part8.CustomPhysicalProperties = PhysicalProperties.new(0.00999999978, 0, 0, 0, 0)
117
Part8.Locked = true
118
Part8.TopSurface = Enum.SurfaceType.Smooth
119
Part8.FormFactor = Enum.FormFactor.Custom
120
Part8.formFactor = Enum.FormFactor.Custom
121
SpecialMesh9.Parent = Part8
122
SpecialMesh9.MeshId = "http://www.roblox.com/asset/?id=62146989"
123
SpecialMesh9.Scale = Vector3.new(2.97416472, 2.97416472, 2.97416472)
124
SpecialMesh9.TextureId = "http://www.roblox.com/asset/?id=145633085"
125
SpecialMesh9.MeshType = Enum.MeshType.FileMesh
126
Part10.Parent = Model7
127
Part10.CFrame = CFrame.new(-30.3304443, 2.4520731, -9.4461937, -0.988456845, -0.0764659271, 0.130790085, -0.0247354582, 0.933154166, 0.358624607, -0.149469867, 0.351249844, -0.924273908)
128
Part10.Orientation = Vector3.new(-21.0200005, 171.949997, -1.51999998)
129
Part10.Position = Vector3.new(-30.3304443, 2.4520731, -9.4461937)
130
Part10.Rotation = Vector3.new(-158.789993, 7.51999998, 175.580002)
131
Part10.Color = Color3.new(1, 0, 0)
132
Part10.Velocity = Vector3.new(0, -79.1103516, 0)
133
Part10.Size = Vector3.new(1.74951029, 0.874754131, 1.9244591)
134
Part10.BottomSurface = Enum.SurfaceType.Smooth
135
Part10.BrickColor = BrickColor.new("Really red")
136
Part10.CanCollide = false
137
Part10.CustomPhysicalProperties = PhysicalProperties.new(0.00999999978, 0, 0, 0, 0)
138
Part10.Locked = true
139
Part10.Material = Enum.Material.Neon
140
Part10.TopSurface = Enum.SurfaceType.Smooth
141
Part10.brickColor = BrickColor.new("Really red")
142
SpecialMesh11.Parent = Part10
143
SpecialMesh11.MeshType = Enum.MeshType.Sphere
144
Part12.Parent = Model7
145
Part12.CFrame = CFrame.new(-31.3680458, 2.426157, -9.60305405, -0.988456845, -0.0764659271, 0.130790085, -0.0247354582, 0.933154166, 0.358624607, -0.149469867, 0.351249844, -0.924273908)
146
Part12.Orientation = Vector3.new(-21.0200005, 171.949997, -1.51999998)
147
Part12.Position = Vector3.new(-31.3680458, 2.426157, -9.60305405)
148
Part12.Rotation = Vector3.new(-158.789993, 7.51999998, 175.580002)
149
Part12.Color = Color3.new(1, 0, 0)
150
Part12.Velocity = Vector3.new(0, -79.1103516, 0)
151
Part12.Size = Vector3.new(1.74951029, 0.874754131, 1.9244591)
152
Part12.BottomSurface = Enum.SurfaceType.Smooth
153
Part12.BrickColor = BrickColor.new("Really red")
154
Part12.CanCollide = false
155
Part12.CustomPhysicalProperties = PhysicalProperties.new(0.00999999978, 0, 0, 0, 0)
156
Part12.Locked = true
157
Part12.Material = Enum.Material.Neon
158
Part12.TopSurface = Enum.SurfaceType.Smooth
159
Part12.brickColor = BrickColor.new("Really red")
160
SpecialMesh13.Parent = Part12
161
SpecialMesh13.MeshType = Enum.MeshType.Sphere
162
Part14.Name = "Hed"
163
Part14.Parent = Model7
164
Part14.CFrame = CFrame.new(-30.7359295, 2.57801867, -10.5674095, -0.988465428, -0.0764773339, 0.130718499, -0.0247607343, 0.933126867, 0.358693838, -0.149408877, 0.35131976, -0.924257219)
165
Part14.Orientation = Vector3.new(-21.0200005, 171.949997, -1.51999998)
166
Part14.Position = Vector3.new(-30.7359295, 2.57801867, -10.5674095)
167
Part14.Rotation = Vector3.new(-158.789993, 7.50999975, 175.580002)
168
Part14.Color = Color3.new(0.313726, 0.262745, 0.262745)
169
Part14.Size = Vector3.new(2.44931197, 1.62704277, 2.44931221)
170
Part14.BottomSurface = Enum.SurfaceType.Smooth
171
Part14.BrickColor = BrickColor.new("Dirt brown")
172
Part14.CanCollide = false
173
Part14.CustomPhysicalProperties = PhysicalProperties.new(0.00999999978, 0, 0, 0, 0)
174
Part14.Locked = true
175
Part14.TopSurface = Enum.SurfaceType.Smooth
176
Part14.brickColor = BrickColor.new("Dirt brown")
177
Part14.FormFactor = Enum.FormFactor.Custom
178
Part14.formFactor = Enum.FormFactor.Custom
179
SpecialMesh15.Parent = Part14
180
SpecialMesh15.MeshId = "rbxassetid://2125912909"
181
SpecialMesh15.MeshType = Enum.MeshType.FileMesh
182
Model16.Name = "Left Arm"
183
Model16.Parent = mas
184
Model16.PrimaryPart = Part17
185
Part17.Name = "Body"
186
Part17.Parent = Model16
187
Part17.CFrame = CFrame.new(-31.0629997, 5.26248884, -10.6289997, -0.970230818, -0.23886165, 0.0399654694, -0.241593108, 0.966103196, -0.090980202, -0.0168790855, -0.0979271755, -0.99505043)
188
Part17.Orientation = Vector3.new(5.21999979, 177.699997, -14.04)
189
Part17.Position = Vector3.new(-31.0629997, 5.26248884, -10.6289997)
190
Part17.Rotation = Vector3.new(174.779999, 2.28999996, 166.169998)
191
Part17.Color = Color3.new(0.176471, 0.176471, 0.176471)
192
Part17.Velocity = Vector3.new(0, -79.1103516, 0)
193
Part17.Size = Vector3.new(3.31100011, 5.02199984, 3.37400007)
194
Part17.BottomSurface = Enum.SurfaceType.Smooth
195
Part17.BrickColor = BrickColor.new("Black")
196
Part17.CanCollide = false
197
Part17.CustomPhysicalProperties = PhysicalProperties.new(0.00999999978, 0, 0, 0, 0)
198
Part17.Locked = true
199
Part17.Material = Enum.Material.Glass
200
Part17.TopSurface = Enum.SurfaceType.Smooth
201
Part17.brickColor = BrickColor.new("Black")
202
Part18.Name = "HeldBeartrap"
203
Part18.Parent = Model16
204
Part18.CFrame = CFrame.new(-29.2776279, 1.00018668, -10.0241814, 0.692071855, -0.481374145, 0.53788048, -0.715768874, -0.554007649, 0.425147474, 0.0933349133, -0.67923069, -0.727965772)
205
Part18.Orientation = Vector3.new(-25.1599998, 143.539993, -127.739998)
206
Part18.Position = Vector3.new(-29.2776279, 1.00018668, -10.0241814)
207
Part18.Rotation = Vector3.new(-149.709991, 32.5400009, 34.8199997)
208
Part18.Color = Color3.new(0.266667, 0.266667, 0.266667)
209
Part18.Transparency = 1
210
Part18.Size = Vector3.new(3.30500007, 1.046, 3.00999999)
211
Part18.BottomSurface = Enum.SurfaceType.Smooth
212
Part18.BrickColor = BrickColor.new("Dark taupe")
213
Part18.TopSurface = Enum.SurfaceType.Smooth
214
Part18.brickColor = BrickColor.new("Dark taupe")
215
SpecialMesh19.Parent = Part18
216
SpecialMesh19.MeshId = "rbxassetid://2125881085"
217
SpecialMesh19.MeshType = Enum.MeshType.FileMesh
218
Model20.Name = "Torso"
219
Model20.Parent = mas
220
Model20.PrimaryPart = Part21
221
Part21.Name = "Body"
222
Part21.Parent = Model20
223
Part21.CFrame = CFrame.new(-30.3602161, 21.7533569, -11.1522884, -0.998852909, 0.027420288, 0.0392558724, 0.0234681871, 0.994927645, -0.0978180766, -0.0417389497, -0.0967845991, -0.994429827)
224
Part21.Orientation = Vector3.new(5.60999966, 177.73999, 1.35000002)
225
Part21.Position = Vector3.new(-30.3602161, 21.7533569, -11.1522884)
226
Part21.Rotation = Vector3.new(174.37999, 2.25, -178.429993)
227
Part21.Color = Color3.new(0.176471, 0.176471, 0.176471)
228
Part21.Velocity = Vector3.new(0, -79.1103516, 0)
229
Part21.Size = Vector3.new(6.35562181, 6.35562181, 3.21704268)
230
Part21.BottomSurface = Enum.SurfaceType.Smooth
231
Part21.BrickColor = BrickColor.new("Black")
232
Part21.CanCollide = false
233
Part21.CustomPhysicalProperties = PhysicalProperties.new(0.00999999978, 0, 0, 0, 0)
234
Part21.Locked = true
235
Part21.Material = Enum.Material.Glass
236
Part21.TopSurface = Enum.SurfaceType.Smooth
237
Part21.brickColor = BrickColor.new("Black")
238
Part22.Name = "Beartrap"
239
Part22.Parent = Model20
240
Part22.CFrame = CFrame.new(-34.7260017, 21.7970009, -9.91850758, -0.531034589, -0.642683446, -0.552232087, -0.8459903, 0.365216434, 0.388480753, -0.0479859114, 0.673479795, -0.73764652)
241
Part22.Orientation = Vector3.new(-22.8599987, -143.179993, -66.6500015)
242
Part22.Position = Vector3.new(-34.7260017, 21.7970009, -9.91850758)
243
Part22.Rotation = Vector3.new(-152.229996, -33.5200005, 129.569992)
244
Part22.Color = Color3.new(0.266667, 0.266667, 0.266667)
245
Part22.Size = Vector3.new(3.30500007, 1.046, 3.00999999)
246
Part22.BottomSurface = Enum.SurfaceType.Smooth
247
Part22.BrickColor = BrickColor.new("Dark taupe")
248
Part22.TopSurface = Enum.SurfaceType.Smooth
249
Part22.brickColor = BrickColor.new("Dark taupe")
250
SpecialMesh23.Parent = Part22
251
SpecialMesh23.MeshId = "rbxassetid://2125881085"
252
SpecialMesh23.MeshType = Enum.MeshType.FileMesh
253
Part24.Name = "Gun"
254
Part24.Parent = Model20
255
Part24.CFrame = CFrame.new(-27.6584282, 23.2494259, -9.57786751, -0.0128150014, 0.650437772, -0.759451449, -0.116670012, -0.755298615, -0.644912541, -0.993088126, 0.0803406388, 0.0855657458)
256
Part24.Orientation = Vector3.new(40.1599998, -83.5699997, -171.220001)
257
Part24.Position = Vector3.new(-27.6584282, 23.2494259, -9.57786751)
258
Part24.Rotation = Vector3.new(82.4399948, -49.4199982, -91.1299973)
259
Part24.Color = Color3.new(0.266667, 0.266667, 0.266667)
260
Part24.Size = Vector3.new(0.591000021, 3.19000006, 3.81999993)
261
Part24.BottomSurface = Enum.SurfaceType.Smooth
262
Part24.BrickColor = BrickColor.new("Dark taupe")
263
Part24.TopSurface = Enum.SurfaceType.Smooth
264
Part24.brickColor = BrickColor.new("Dark taupe")
265
SpecialMesh25.Parent = Part24
266
SpecialMesh25.MeshId = "rbxassetid://2125899404"
267
SpecialMesh25.MeshType = Enum.MeshType.FileMesh
268
Part26.Name = "Grenade"
269
Part26.Parent = mas
270
Part26.CFrame = CFrame.new(38.2035713, 1.02035296, 21.0111828, -0.776946664, -0.0182258431, -0.629302561, -0.629268765, -0.00825065561, 0.777144015, -0.0193562619, 0.999799848, -0.00505863409)
271
Part26.Orientation = Vector3.new(-51, -90.4599991, -90.75)
272
Part26.Position = Vector3.new(38.2035713, 1.02035296, 21.0111828)
273
Part26.Rotation = Vector3.new(-90.3699951, -39, 178.659988)
274
Part26.Color = Color3.new(0.152941, 0.27451, 0.176471)
275
Part26.Velocity = Vector3.new(0.0464646779, 0.00033079437, 0.0308197252)
276
Part26.Size = Vector3.new(1.43749833, 2.29999709, 1.43749833)
277
Part26.BrickColor = BrickColor.new("Earth green")
278
Part26.RotVelocity = Vector3.new(-0.000168789324, 0.010219017, 0.000870788237)
279
Part26.brickColor = BrickColor.new("Earth green")
280
Part26.FormFactor = Enum.FormFactor.Plate
281
Part26.formFactor = Enum.FormFactor.Plate
282
SpecialMesh27.Parent = Part26
283
SpecialMesh27.MeshId = "http://www.roblox.com/Asset/?id=10207236"
284
SpecialMesh27.Scale = Vector3.new(0.244374722, 0.244374692, 0.244374722)
285
SpecialMesh27.VertexColor = Vector3.new(255, 255, 255)
286
SpecialMesh27.MeshType = Enum.MeshType.FileMesh
287
Trail28.Parent = Part26
288
Trail28.Attachment0 = nil
289
Trail28.Attachment1 = nil
290
Trail28.Color = ColorSequence.new(Color3.new(0.152941, 0.27451, 0.176471),Color3.new(0.152941, 0.27451, 0.176471))
291
Trail28.LightInfluence = 1
292
Trail28.Transparency = NumberSequence.new(0.5,0.61249995231628,0.71249997615814,1)
293
Trail28.Lifetime = 0.10000000149012
294
Sound29.Parent = Part26
295
Sound29.EmitterSize = 24
296
Sound29.MinDistance = 24
297
Sound29.SoundId = "http://www.roblox.com/asset/?id=326088041"
298
Sound29.Volume = 7
299
for i,v in pairs(mas:GetChildren()) do
300
	v.Parent = script
301
	pcall(function() v:MakeJoints() end)
302
end
303
mas:Destroy()
304
for i,v in pairs(cors) do
305
	spawn(function()
306
		pcall(v)
307
	end)
308
end
309
310
311
-- Synapse Decompiler
312
-- Purchase Here: https://brack4712.xyz/synapse/purchase/
313
314
wait(0.2)
315
Player = game:GetService("Players").LocalPlayer
316
PlayerGui = Player.PlayerGui
317
Cam = workspace.CurrentCamera
318
Backpack = Player.Backpack
319
Character = Player.Character
320
Humanoid = Character.Humanoid
321
Mouse = Player:GetMouse()
322
RootPart = Character.HumanoidRootPart
323
Torso = Character.Torso
324
Head = Character.Head
325
RightArm = Character["Right Arm"]
326
LeftArm = Character["Left Arm"]
327
RightLeg = Character["Right Leg"]
328
LeftLeg = Character["Left Leg"]
329
RootJoint = RootPart.RootJoint
330
Neck = Torso.Neck
331
RightShoulder = Torso["Right Shoulder"]
332
LeftShoulder = Torso["Left Shoulder"]
333
RightHip = Torso["Right Hip"]
334
LeftHip = Torso["Left Hip"]
335
local sick = Instance.new("Sound", Character)
336
IT = Instance.new
337
CF = CFrame.new
338
VT = Vector3.new
339
RAD = math.rad
340
C3 = Color3.new
341
UD2 = UDim2.new
342
BRICKC = BrickColor.new
343
ANGLES = CFrame.Angles
344
EULER = CFrame.fromEulerAnglesXYZ
345
COS = math.cos
346
ACOS = math.acos
347
SIN = math.sin
348
ASIN = math.asin
349
ABS = math.abs
350
MRANDOM = math.random
351
FLOOR = math.floor
352
Animation_Speed = 3
353
Frame_Speed = 0.016666666666666666
354
local Speed = 25
355
local SIZE = 3
356
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
357
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
358
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
359
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
360
local DAMAGEMULTIPLIER = 1
361
local ANIM = "Idle"
362
local ATTACK = false
363
local EQUIPPED = false
364
local HOLD = false
365
local COMBO = 1
366
local Rooted = false
367
local SINE = 0
368
local KEYHOLD = false
369
local CHANGE = 2 / Animation_Speed
370
local WALKINGANIM = false
371
local VALUE1 = false
372
local VALUE2 = false
373
local ROBLOXIDLEANIMATION = IT("Animation")
374
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
375
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
376
local WEAPONGUI = IT("ScreenGui", PlayerGui)
377
WEAPONGUI.Name = "Weapon GUI"
378
local Effects = IT("Folder", Character)
379
Effects.Name = "Effects"
380
local ANIMATOR = Humanoid.Animator
381
local ANIMATE = Character.Animate
382
local UNANCHOR = true
383
local HELDGUN, GUNWELD
384
local HITPLAYERSOUNDS = {
385
	"263032172",
386
	"263032182",
387
	"263032200",
388
	"263032221",
389
	"263032252",
390
	"263033191"
391
}
392
ArtificialHB = Instance.new("BindableEvent", script)
393
ArtificialHB.Name = "ArtificialHB"
394
script:WaitForChild("ArtificialHB")
395
frame = Frame_Speed
396
tf = 0
397
allowframeloss = false
398
tossremainder = false
399
lastframe = tick()
400
script.ArtificialHB:Fire()
401
game:GetService("RunService").Heartbeat:connect(function(s, p)
402
	tf = tf + s
403
	if tf >= frame then
404
		if allowframeloss then
405
			script.ArtificialHB:Fire()
406
			lastframe = tick()
407
		else
408
			for i = 1, math.floor(tf / frame) do
409
				script.ArtificialHB:Fire()
410
			end
411
			lastframe = tick()
412
		end
413
		if tossremainder then
414
			tf = 0
415
		else
416
			tf = tf - frame * math.floor(tf / frame)
417
		end
418
	end
419
end)
420
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
421
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
422
end
423
function PositiveAngle(NUMBER)
424
	if NUMBER >= 0 then
425
		NUMBER = 0
426
	end
427
	return NUMBER
428
end
429
function NegativeAngle(NUMBER)
430
	if NUMBER <= 0 then
431
		NUMBER = 0
432
	end
433
	return NUMBER
434
end
435
function Swait(NUMBER)
436
	if NUMBER == 0 or NUMBER == nil then
437
		ArtificialHB.Event:wait()
438
	else
439
		for i = 1, NUMBER do
440
			ArtificialHB.Event:wait()
441
		end
442
	end
443
end
444
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
445
	local NEWMESH = IT(MESH)
446
	if MESH == "SpecialMesh" then
447
		NEWMESH.MeshType = MESHTYPE
448
		if MESHID ~= "nil" and MESHID ~= "" then
449
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID
450
		end
451
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
452
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID
453
		end
454
	end
455
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
456
	NEWMESH.Scale = SCALE
457
	NEWMESH.Parent = PARENT
458
	return NEWMESH
459
end
460
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
461
	local NEWPART = IT("Part")
462
	NEWPART.formFactor = FORMFACTOR
463
	NEWPART.Reflectance = REFLECTANCE
464
	NEWPART.Transparency = TRANSPARENCY
465
	NEWPART.CanCollide = false
466
	NEWPART.Locked = true
467
	NEWPART.Anchored = true
468
	if ANCHOR == false then
469
		NEWPART.Anchored = false
470
	end
471
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
472
	NEWPART.Name = NAME
473
	NEWPART.Size = SIZE
474
	NEWPART.Position = Torso.Position
475
	NEWPART.Material = MATERIAL
476
	NEWPART:BreakJoints()
477
	NEWPART.Parent = PARENT
478
	return NEWPART
479
end
480
local weldBetween = function(a, b)
481
	local weldd = Instance.new("ManualWeld")
482
	weldd.Part0 = a
483
	weldd.Part1 = b
484
	weldd.C0 = CFrame.new()
485
	weldd.C1 = b.CFrame:inverse() * a.CFrame
486
	weldd.Parent = a
487
	return weldd
488
end
489
function QuaternionFromCFrame(cf)
490
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
491
	local trace = m00 + m11 + m22
492
	if trace > 0 then
493
		local s = math.sqrt(1 + trace)
494
		local recip = 0.5 / s
495
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
496
	else
497
		local i = 0
498
		if m00 < m11 then
499
			i = 1
500
		end
501
		if m22 > (i == 0 and m00 or m11) then
502
			i = 2
503
		end
504
		if i == 0 then
505
			local s = math.sqrt(m00 - m11 - m22 + 1)
506
			local recip = 0.5 / s
507
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
508
		elseif i == 1 then
509
			local s = math.sqrt(m11 - m22 - m00 + 1)
510
			local recip = 0.5 / s
511
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
512
		elseif i == 2 then
513
			local s = math.sqrt(m22 - m00 - m11 + 1)
514
			local recip = 0.5 / s
515
			return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
516
		end
517
	end
518
end
519
function QuaternionToCFrame(px, py, pz, x, y, z, w)
520
	local xs, ys, zs = x + x, y + y, z + z
521
	local wx, wy, wz = w * xs, w * ys, w * zs
522
	local xx = x * xs
523
	local xy = x * ys
524
	local xz = x * zs
525
	local yy = y * ys
526
	local yz = y * zs
527
	local zz = z * zs
528
	return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
529
end
530
function QuaternionSlerp(a, b, t)
531
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
532
	local startInterp, finishInterp
533
	if cosTheta >= 1.0E-4 then
534
		if 1 - cosTheta > 1.0E-4 then
535
			local theta = ACOS(cosTheta)
536
			local invSinTheta = 1 / SIN(theta)
537
			startInterp = SIN((1 - t) * theta) * invSinTheta
538
			finishInterp = SIN(t * theta) * invSinTheta
539
		else
540
			startInterp = 1 - t
541
			finishInterp = t
542
		end
543
	elseif 1 + cosTheta > 1.0E-4 then
544
		local theta = ACOS(-cosTheta)
545
		local invSinTheta = 1 / SIN(theta)
546
		startInterp = SIN((t - 1) * theta) * invSinTheta
547
		finishInterp = SIN(t * theta) * invSinTheta
548
	else
549
		startInterp = t - 1
550
		finishInterp = t
551
	end
552
	return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
553
end
554
function Clerp(a, b, t)
555
	local qa = {
556
		QuaternionFromCFrame(a)
557
	}
558
	local qb = {
559
		QuaternionFromCFrame(b)
560
	}
561
	local ax, ay, az = a.x, a.y, a.z
562
	local bx, by, bz = b.x, b.y, b.z
563
	local _t = 1 - t
564
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
565
end
566
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
567
	local frame = IT("Frame")
568
	frame.BackgroundTransparency = TRANSPARENCY
569
	frame.BorderSizePixel = BORDERSIZEPIXEL
570
	frame.Position = POSITION
571
	frame.Size = SIZE
572
	frame.BackgroundColor3 = COLOR
573
	frame.BorderColor3 = BORDERCOLOR
574
	frame.Name = NAME
575
	frame.Parent = PARENT
576
	return frame
577
end
578
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
579
	local label = IT("TextLabel")
580
	label.BackgroundTransparency = 1
581
	label.Size = UD2(1, 0, 1, 0)
582
	label.Position = UD2(0, 0, 0, 0)
583
	label.TextColor3 = TEXTCOLOR
584
	label.TextStrokeTransparency = STROKETRANSPARENCY
585
	label.TextTransparency = TRANSPARENCY
586
	label.FontSize = TEXTFONTSIZE
587
	label.Font = TEXTFONT
588
	label.BorderSizePixel = BORDERSIZEPIXEL
589
	label.TextScaled = false
590
	label.Text = TEXT
591
	label.Name = NAME
592
	label.Parent = PARENT
593
	return label
594
end
595
function NoOutlines(PART)
596
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
597
end
598
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
599
	local NEWWELD = IT(TYPE)
600
	NEWWELD.Part0 = PART0
601
	NEWWELD.Part1 = PART1
602
	NEWWELD.C0 = C0
603
	NEWWELD.C1 = C1
604
	NEWWELD.Parent = PARENT
605
	return NEWWELD
606
end
607
local S = IT("Sound")
608
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
609
	local NEWSOUND
610
	coroutine.resume(coroutine.create(function()
611
		NEWSOUND = S:Clone()
612
		NEWSOUND.Parent = PARENT
613
		NEWSOUND.EmitterSize = 10 + VOLUME * 2
614
		NEWSOUND.Volume = VOLUME
615
		NEWSOUND.Pitch = PITCH
616
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
617
		NEWSOUND:play()
618
		if DOESLOOP == true then
619
			NEWSOUND.Looped = true
620
		else
621
			repeat
622
				wait(1)
623
			until NEWSOUND.Playing == false
624
			NEWSOUND:remove()
625
		end
626
	end))
627
	return NEWSOUND
628
end
629
function CFrameFromTopBack(at, top, back)
630
	local right = top:Cross(back)
631
	return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
632
end
633
function WACKYEFFECT(Table)
634
	local TYPE = Table.EffectType or "Sphere"
635
	local SIZE = Table.Size or VT(1, 1, 1)
636
	local ENDSIZE = Table.Size2 or VT(0, 0, 0)
637
	local TRANSPARENCY = Table.Transparency or 0
638
	local ENDTRANSPARENCY = Table.Transparency2 or 1
639
	local CFRAME = Table.CFrame or Torso.CFrame
640
	local MOVEDIRECTION = Table.MoveToPos or nil
641
	local ROTATION1 = Table.RotationX or 0
642
	local ROTATION2 = Table.RotationY or 0
643
	local ROTATION3 = Table.RotationZ or 0
644
	local MATERIAL = Table.Material or "Neon"
645
	local COLOR = Table.Color or C3(1, 1, 1)
646
	local TIME = Table.Time or 45
647
	local SOUNDID = Table.SoundID or nil
648
	local SOUNDPITCH = Table.SoundPitch or nil
649
	local SOUNDVOLUME = Table.SoundVolume or nil
650
	coroutine.resume(coroutine.create(function()
651
		local PLAYSSOUND = false
652
		local SOUND
653
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1, 1, 1), true)
654
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
655
			PLAYSSOUND = true
656
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
657
		end
658
		EFFECT.Color = COLOR
659
		local MSH
660
		if TYPE == "Sphere" then
661
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0, 0, 0))
662
		elseif TYPE == "Block" or TYPE == "Box" then
663
			MSH = IT("BlockMesh", EFFECT)
664
			MSH.Scale = SIZE
665
		elseif TYPE == "Wave" then
666
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
667
		elseif TYPE == "Ring" then
668
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X, SIZE.X, 0.1), VT(0, 0, 0))
669
		elseif TYPE == "Slash" then
670
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
671
		elseif TYPE == "Round Slash" then
672
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
673
		elseif TYPE == "Swirl" then
674
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0, 0, 0))
675
		elseif TYPE == "Skull" then
676
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0, 0, 0))
677
		elseif TYPE == "Crystal" then
678
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0, 0, 0))
679
		end
680
		if MSH ~= nil then
681
			local MOVESPEED
682
			if MOVEDIRECTION ~= nil then
683
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude / TIME
684
			end
685
			local GROWTH = SIZE - ENDSIZE
686
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
687
			if TYPE == "Block" then
688
				EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
689
			else
690
				EFFECT.CFrame = CFRAME
691
			end
692
			for LOOP = 1, TIME + 1 do
693
				Swait()
694
				MSH.Scale = MSH.Scale - GROWTH / TIME
695
				if TYPE == "Wave" then
696
					MSH.Offset = VT(0, 0, -MSH.Scale.X / 8)
697
				end
698
				EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME
699
				if TYPE == "Block" then
700
					EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
701
				else
702
					EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3))
703
				end
704
				if MOVEDIRECTION ~= nil then
705
					local ORI = EFFECT.Orientation
706
					EFFECT.CFrame = CF(EFFECT.Position, MOVEDIRECTION) * CF(0, 0, -MOVESPEED)
707
					EFFECT.Orientation = ORI
708
				end
709
			end
710
			if PLAYSSOUND == false then
711
				EFFECT:remove()
712
			else
713
				repeat
714
					Swait()
715
				until EFFECT:FindFirstChildOfClass("Sound") == nil
716
				EFFECT:remove()
717
			end
718
		elseif PLAYSSOUND == false then
719
			EFFECT:remove()
720
		else
721
			repeat
722
				Swait()
723
			until EFFECT:FindFirstChildOfClass("Sound") == nil
724
			EFFECT:remove()
725
		end
726
	end))
727
end
728
function MakeForm(PART, TYPE)
729
	if TYPE == "Cyl" then
730
		local MSH = IT("CylinderMesh", PART)
731
	elseif TYPE == "Ball" then
732
		local MSH = IT("SpecialMesh", PART)
733
		MSH.MeshType = "Sphere"
734
	elseif TYPE == "Wedge" then
735
		local MSH = IT("SpecialMesh", PART)
736
		MSH.MeshType = "Wedge"
737
	end
738
end
739
Debris = game:GetService("Debris")
740
function CastProperRay(StartPos, EndPos, Distance, Ignore)
741
	local DIRECTION = CF(StartPos, EndPos).lookVector
742
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
743
end
744
function MakeForm(PART, TYPE)
745
	if TYPE == "Cyl" then
746
		local MSH = IT("CylinderMesh", PART)
747
	elseif TYPE == "Ball" then
748
		local MSH = IT("SpecialMesh", PART)
749
		MSH.MeshType = "Sphere"
750
	elseif TYPE == "Wedge" then
751
		local MSH = IT("SpecialMesh", PART)
752
		MSH.MeshType = "Wedge"
753
	end
754
end
755
Debris = game:GetService("Debris")
756
function CastProperRay(StartPos, EndPos, Distance, Ignore)
757
	local DIRECTION = CF(StartPos, EndPos).lookVector
758
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
759
end
760
function Chatter(Text, Timer)
761
	local chat = coroutine.wrap(function()
762
		if Character:FindFirstChild("SpeechBoard") ~= nil then
763
			Character:FindFirstChild("SpeechBoard"):destroy()
764
		end
765
		local naeeym2 = IT("BillboardGui", Character)
766
		naeeym2.Size = UD2(0, 100, 0, 40)
767
		naeeym2.StudsOffset = VT(0, 5, 0)
768
		naeeym2.Adornee = Character.Head
769
		naeeym2.Name = "SpeechBoard"
770
		naeeym2.AlwaysOnTop = true
771
		local tecks2 = IT("TextLabel", naeeym2)
772
		tecks2.BackgroundTransparency = 1
773
		tecks2.BorderSizePixel = 0
774
		tecks2.Text = ""
775
		tecks2.Font = "Legacy"
776
		tecks2.TextSize = 15
777
		tecks2.TextStrokeTransparency = 0
778
		tecks2.TextColor3 = C3(1, 1, 1)
779
		tecks2.TextStrokeColor3 = C3(0, 0, 0)
780
		tecks2.Size = UDim2.new(1, 0, 0.5, 0)
781
		local FINISHED = false
782
		coroutine.resume(coroutine.create(function()
783
			for i = 1, string.len(Text) do
784
				if naeeym2.Parent ~= Character then
785
					FINISHED = true
786
				end
787
				CreateSound(418252437, Head, 7, MRANDOM(8, 12) / 15, false)
788
				tecks2.Text = string.sub(Text, 1, i)
789
				Swait(Timer)
790
			end
791
			FINISHED = true
792
		end))
793
		repeat
794
			wait()
795
		until FINISHED == true
796
		wait(1)
797
		naeeym2.Name = "FadingDialogue"
798
		for i = 1, 45 do
799
			Swait()
800
			naeeym2.StudsOffset = naeeym2.StudsOffset + VT(0, (2 - 0.044444444444444446 * i) / 45, 0)
801
			tecks2.TextTransparency = tecks2.TextTransparency + 0.022222222222222223
802
			tecks2.TextStrokeTransparency = tecks2.TextTransparency
803
		end
804
		naeeym2:Destroy()
805
	end)
806
	chat()
807
end
808
function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH, DOES360)
809
	if FLOOR ~= nil then
810
		for i = 1, AMOUNT do
811
			do
812
				local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Peal", "Debree", BLOCKSIZE, false)
813
				DEBREE.Material = FLOOR.Material
814
				DEBREE.Color = FLOOR.Color
815
				DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
816
				if DOES360 == true then
817
					DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), MRANDOM(-STRENGTH, STRENGTH), MRANDOM(-STRENGTH, STRENGTH))
818
				else
819
					DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), STRENGTH, MRANDOM(-STRENGTH, STRENGTH))
820
				end
821
				coroutine.resume(coroutine.create(function()
822
					Swait(15)
823
					DEBREE.Parent = workspace
824
					DEBREE.CanCollide = true
825
					Debris:AddItem(DEBREE, SWAIT)
826
				end))
827
			end
828
		end
829
	end
830
end
831
function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
832
	
833
end
834
Humanoid.Parent = nil
835
RootPart.Size = RootPart.Size * SIZE
836
Torso.Size = Torso.Size * SIZE
837
RightArm.Size = RightArm.Size * SIZE
838
RightLeg.Size = RightLeg.Size * SIZE
839
LeftArm.Size = LeftArm.Size * SIZE
840
LeftLeg.Size = LeftLeg.Size * SIZE
841
RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
842
RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
843
Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + (1 * SIZE - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
844
Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
845
RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
846
LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
847
RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
848
LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
849
RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
850
LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
851
Head.Size = Head.Size * SIZE
852
RootJoint.Parent = RootPart
853
Neck.Parent = Torso
854
RightShoulder.Parent = Torso
855
LeftShoulder.Parent = Torso
856
RightHip.Parent = Torso
857
LeftHip.Parent = Torso
858
859
local Trap = Instance.new
860
local GUNOFFSET = CF(0, 0.8, -1.3)
861
local BEARTRAP = script.Beartrap
862
BEARTRAP.Parent = nil
863
local GRENADE = script.Grenade
864
GRENADE.Parent = nil
865
GRENADE.Anchored = false
866
local FAKEBEARTRAP, FAKEGUN, HELDTRAP
867
for _, c in pairs(Character:GetChildren()) do
868
	if script:FindFirstChild(c.Name) then
869
		local Part = script[c.Name]
870
		Part.Parent = Character
871
		Part:SetPrimaryPartCFrame(c.CFrame)
872
		c.Transparency = 1
873
		for _, e in pairs(Part:GetChildren()) do
874
			if e:IsA("BasePart") and e.Name ~= "Base" then
875
				e.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
876
				e.Anchored = false
877
				weldBetween(c, e)
878
				e.CanCollide = false
879
				e.Locked = true
880
				if e.Name == "Beartrap" then
881
					FAKEBEARTRAP = e
882
				elseif e.Name == "Gun" then
883
					FAKEGUN = e
884
				elseif e.Name == "HeldBeartrap" then
885
					HELDTRAP = e
886
				end
887
			end
888
		end
889
	end
890
end
891
892
local TAIL = {}
893
894
local SKILLTEXTCOLOR = C3(1, 1, 1)
895
local SKILLFONT = "Legacy"
896
local SKILLTEXTSIZE = 3
897
local ATTACKS = {
898-
	"Mouse - Fury",
898+
	"Mouse - Ground Stomp",
899-
	"F - Equip Gun",
899+
	"F - Pistol",
900-
	"C - Beartrap",
900+
	"C - Trap",
901-
	"V - Hand Grenade"
901+
	"V - Grenade"
902
}
903
for i = 1, #ATTACKS do
904
	local SKILLFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.74, 0, 0.97 - 0.02 * i, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill Frame")
905
	local SKILLTEXT = CreateLabel(SKILLFRAME, "[" .. ATTACKS[i] .. "]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Skill text")
906
	SKILLTEXT.TextXAlignment = "Right"
907
end
908
Humanoid.Parent = Character
909
function ApplyDamage(Humanoid, Damage)
910
	Damage = Damage * DAMAGEMULTIPLIER
911
	if Humanoid.Health < 2000 then
912
		if Humanoid.Health - Damage > 0 then
913
			Humanoid.Health = Humanoid.Health - Damage
914
		else
915
			Humanoid.Parent:BreakJoints()
916
		end
917
	else
918
		Humanoid.Parent:BreakJoints()
919
	end
920
end
921
function ApplyAoE(POSITION, RANGE, MINDMG, MAXDMG, FLING, INSTAKILL)
922
	for index, CHILD in pairs(workspace:GetDescendants()) do
923
		if CHILD.ClassName == "Model" and CHILD ~= Character then
924
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
925
			if HUM then
926
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
927
				if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
928
					if INSTAKILL == true then
929
						CHILD:BreakJoints()
930
					else
931
						local DMG = MRANDOM(MINDMG, MAXDMG)
932
						ApplyDamage(HUM, DMG)
933
					end
934
					if FLING > 0 then
935
						for _, c in pairs(CHILD:GetChildren()) do
936
							if c:IsA("BasePart") then
937
								local bv = Instance.new("BodyVelocity")
938
								bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
939
								bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
940
								bv.Parent = c
941
								Debris:AddItem(bv, 0.05)
942
							end
943
						end
944
					end
945
				end
946
			end
947
		end
948
	end
949
end
950
function Fury()
951
	ATTACK = true
952
	Rooted = false
953
	if EQUIPPED == false then
954
		Rooted = true
955-
		Chatter("I'll crush you!", 0)
955+
		Chatter("EARTHQUAKE!!", 0)
956
		for i = 0, 0.3, 0.1 / Animation_Speed do
957
			Swait()
958
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0.01 * SIZE, -0.01 * SIZE) * ANGLES(RAD(-5), RAD(0), RAD(15)), 1 / Animation_Speed)
959
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25 - 5 * COS(SINE / 24)), RAD(-5), RAD(-5)), 1 / Animation_Speed)
960
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
961
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
962
			RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, 0.2 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.5 * SIZE) * ANGLES(RAD(5), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
963
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(-5), RAD(-75), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
964
		end
965
		local TOUCH = RightLeg.Touched:Connect(function(HIT)
966
			if HIT.Anchored == false and (HIT.Parent:FindFirstChildOfClass("Humanoid") or HIT.Parent.Parent:FindFirstChildOfClass("Humanoid")) then
967
				HIT:BreakJoints()
968
			end
969
		end)
970
		for i = 0, 0.1, 0.1 / Animation_Speed do
971
			Swait()
972
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, -0.4 * SIZE, -0.1 * SIZE) * ANGLES(RAD(25), RAD(0), RAD(15)), 1 / Animation_Speed)
973
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25 - 5 * COS(SINE / 24)), RAD(-5), RAD(-5)), 1 / Animation_Speed)
974
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(-25), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
975
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(-25), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
976
			RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -0.7 * SIZE, -0.5 * SIZE) * ANGLES(RAD(25), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1.5 / Animation_Speed)
977
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1.1 * SIZE, -0.01 * SIZE) * ANGLES(RAD(25), RAD(-75), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
978
		end
979
		local HITFLOOR, HITPOS = Raycast(RightLeg.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 2 * SIZE, Character)
980
		if HITFLOOR then
981
			for i = 1, 5 do
982
				WACKYEFFECT({
983
					Time = 25,
984
					EffectType = "Wave",
985
					Size = VT(5, 0.5, 5),
986
					Size2 = VT(15 + i * 3, 0, 15 + i * 3),
987
					Transparency = 0.7,
988
					Transparency2 = 1,
989
					CFrame = CF(RightLeg.CFrame * CF(0, -1.05 * SIZE, 0).p) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
990
					MoveToPos = nil,
991
					RotationX = 0,
992
					RotationY = 0,
993
					RotationZ = 0,
994
					Material = "Neon",
995
					Color = C3(1, 1, 1),
996
					SoundID = nil,
997
					SoundPitch = nil,
998
					SoundVolume = nil
999
				})
1000
			end
1001
			SHAKECAM(HITPOS, 35, 7, 12)
1002
			ApplyAoE(HITPOS, 25, 35, 45, 45, false)
1003
			CreateSound(765590102, RightLeg, 6, 1, false)
1004
			CreateFlyingDebree(HITFLOOR, CF(HITPOS), 10, VT(2, 2, 2), 5, 75, false)
1005
		end
1006
		TOUCH:Disconnect()
1007
		for i = 0, 0.2, 0.1 / Animation_Speed do
1008
			Swait()
1009
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, -0.4 * SIZE, -0.1 * SIZE) * ANGLES(RAD(25), RAD(0), RAD(15)), 1 / Animation_Speed)
1010
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25 - 5 * COS(SINE / 24)), RAD(-5), RAD(-5)), 1 / Animation_Speed)
1011
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(-25), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1012
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(-25), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1013
			RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -0.7 * SIZE, -0.5 * SIZE) * ANGLES(RAD(25), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1.5 / Animation_Speed)
1014
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1.1 * SIZE, -0.01 * SIZE) * ANGLES(RAD(25), RAD(-75), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
1015
		end
1016
	else
1017
		do
1018
			local GYRO = IT("BodyGyro", RootPart)
1019
			GYRO.D = 2
1020
			GYRO.P = 20000
1021
			GYRO.MaxTorque = VT(0, 4000000, 0)
1022
			coroutine.resume(coroutine.create(function()
1023
				repeat
1024
					Swait()
1025
					GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
1026
				until ATTACK == false
1027
				GYRO:Remove()
1028
			end))
1029
			local FIRING = true
1030
			local SHOOTING = false
1031
			local TIMER = 70
1032
			CreateSound(1498950813, HELDGUN, 6, 1, false)
1033
			for i = 0, 0.2, 0.1 / Animation_Speed do
1034
				Swait()
1035
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 + 0.05 * SIZE * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(35)), 1 / Animation_Speed)
1036
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(15 - 5 * COS(SINE / 24)), RAD(-5), RAD(-25)), 1 / Animation_Speed)
1037
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), -0.5 * SIZE) * ANGLES(RAD(80), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1038
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1039
				RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1040
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
1041
			end
1042
			local MOUSE = Mouse.Button1Down:connect(function(NEWKEY)
1043
				if SHOOTING == false then
1044
					HOLD = true
1045
					repeat
1046
						SHOOTING = true
1047
						local GUNPOS = HELDGUN.CFrame * GUNOFFSET.p
1048
						local HIT, POS, NORMAL = CastProperRay(GUNPOS, Mouse.Hit.p, 1000, Character)
1049
						local DISTANCE = (POS - GUNPOS).Magnitude
1050
						if HIT then
1051
							if HIT.Parent:FindFirstChildOfClass("Humanoid") then
1052
								if HIT.Parent:FindFirstChildOfClass("Humanoid").Health > 0 then
1053
									HIT.CFrame = HIT.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
1054
									CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], HIT, 10, 1, false)
1055
									ApplyDamage(HIT.Parent:FindFirstChildOfClass("Humanoid"), 99)
1056
									CreateFlyingDebree(HIT, CF(POS), 7, VT(0.1, 0.1, 0.1), 5, 35, true)
1057
								end
1058
							elseif HIT.Anchored == true then
1059
								CreateFlyingDebree(HIT, CF(POS), 7, VT(0.2, 0.2, 0.2), 5, 35, true)
1060
							end
1061
						end
1062
						SHAKECAM(GUNPOS, 8, 5, 3)
1063
						SHAKECAM(POS, 10, 6, 6)
1064
						WACKYEFFECT({
1065
							Time = 6,
1066
							EffectType = "Block",
1067
							Size = VT(2, 2, 2),
1068
							Size2 = VT(4, 4, 4),
1069
							Transparency = 0,
1070
							Transparency2 = 1,
1071
							CFrame = CF(GUNPOS),
1072
							MoveToPos = nil,
1073
							RotationX = 0,
1074
							RotationY = 0,
1075
							RotationZ = 0,
1076
							Material = "Neon",
1077
							Color = C3(1, 1, 0),
1078
							SoundID = 213603013,
1079
							SoundPitch = 0.9,
1080
							SoundVolume = 10
1081
						})
1082
						WACKYEFFECT({
1083
							Time = 6,
1084
							EffectType = "Box",
1085
							Size = VT(1.6, 1.6, DISTANCE),
1086
							Size2 = VT(0, 0, DISTANCE),
1087
							Transparency = 0,
1088
							Transparency2 = 1,
1089
							CFrame = CF(GUNPOS, POS) * CF(0, 0, -DISTANCE / 2),
1090
							MoveToPos = nil,
1091
							RotationX = 0,
1092
							RotationY = 0,
1093
							RotationZ = 0,
1094
							Material = "Neon",
1095
							Color = C3(1, 1, 0),
1096
							SoundID = nil,
1097
							SoundPitch = nil,
1098
							SoundVolume = nil
1099
						})
1100
						for i = 0, 0.3, 0.1 / Animation_Speed do
1101
							Swait()
1102
							RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 + 0.05 * SIZE * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(35)), 1 / Animation_Speed)
1103
							Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(15 - 5 * COS(SINE / 24)), RAD(-5), RAD(-25)), 1 / Animation_Speed)
1104
							RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), -0.5 * SIZE) * ANGLES(RAD(100), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1105
							LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1106
							RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1107
							LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
1108
						end
1109
						for i = 0, 0.5, 0.1 / Animation_Speed do
1110
							Swait()
1111
							RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 + 0.05 * SIZE * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(35)), 1 / Animation_Speed)
1112
							Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(15 - 5 * COS(SINE / 24)), RAD(-5), RAD(-25)), 1 / Animation_Speed)
1113
							RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), -0.5 * SIZE) * ANGLES(RAD(80), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1114
							LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1115
							RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1116
							LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
1117
						end
1118
					until HOLD == false
1119
					SHOOTING = false
1120
				end
1121
			end)
1122
			repeat
1123
				Swait()
1124
				if SHOOTING == false then
1125
					TIMER = TIMER - 1
1126
					if TIMER <= 0 then
1127
						FIRING = false
1128
					end
1129
					RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 + 0.05 * SIZE * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(35)), 1 / Animation_Speed)
1130
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(15 - 5 * COS(SINE / 24)), RAD(-5), RAD(-25)), 1 / Animation_Speed)
1131
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), -0.5 * SIZE) * ANGLES(RAD(80), RAD(0), RAD(30)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1132
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1133
					RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1134
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
1135
				end
1136
			until FIRING == false and SHOOTING == false
1137
			MOUSE:Disconnect()
1138
		end
1139
	end
1140
	ATTACK = false
1141
	Rooted = false
1142
end
1143
function EquipGun()
1144
	ATTACK = true
1145
	Rooted = false
1146
	if EQUIPPED == false then
1147-
		Chatter("Let's play dirty.", 0)
1147+
		Chatter("Don't Make Me.", 0)
1148
		for i = 0, 0.3, 0.1 / Animation_Speed do
1149
			Swait()
1150
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 + 0.05 * SIZE * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
1151
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25 - 5 * COS(SINE / 24)), RAD(-5), RAD(-5)), 1 / Animation_Speed)
1152
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.4 * SIZE, 0.35 * SIZE - 0.05 * SIZE * SIN(SINE / 24), -0.5 * SIZE) * ANGLES(RAD(15), RAD(0), RAD(-75)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1153
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0.2 * SIZE) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1154
			RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1155
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
1156
		end
1157
		HELDGUN = FAKEGUN:Clone()
1158
		HELDGUN.Parent = Character
1159
		GUNWELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, HELDGUN, CF(0.3 * SIZE, -1.5 * SIZE, 0.1 * SIZE) * ANGLES(RAD(90), RAD(0), RAD(-90)), CF(0, 0, 0))
1160
		FAKEGUN.Transparency = 1
1161
		CreateSound(1498950813, HELDGUN, 6, 1, false)
1162
		for i = 0, 0.3, 0.1 / Animation_Speed do
1163
			Swait()
1164
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 + 0.05 * SIZE * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
1165
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25 - 5 * COS(SINE / 24)), RAD(-5), RAD(-5)), 1 / Animation_Speed)
1166
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.5 * SIZE, 0.45 * SIZE - 0.05 * SIZE * SIN(SINE / 24), -0.5 * SIZE) * ANGLES(RAD(45), RAD(0), RAD(-35)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1167
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), -0.3 * SIZE) * ANGLES(RAD(25), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1168
			RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1169
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
1170
		end
1171
		EQUIPPED = true
1172
	else
1173
		for i = 0, 0.3, 0.1 / Animation_Speed do
1174
			Swait()
1175
			GUNWELD.C1 = Clerp(GUNWELD.C1, CF(0, 0.5, 0) * ANGLES(RAD(65), RAD(-45), RAD(0)), 1 / Animation_Speed)
1176
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 + 0.05 * SIZE * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
1177
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25 - 5 * COS(SINE / 24)), RAD(-5), RAD(-5)), 1 / Animation_Speed)
1178
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.7 * SIZE, 0 * SIZE - 0.05 * SIZE * SIN(SINE / 24), -0.1 * SIZE) * ANGLES(RAD(35), RAD(0), RAD(-75)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1179
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0.3 * SIZE) * ANGLES(RAD(-25), RAD(15), RAD(-15)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1180
			RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1181
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
1182
		end
1183
		FAKEGUN.Transparency = 0
1184
		HELDGUN:remove()
1185
		HELDGUN = nil
1186
		EQUIPPED = false
1187
	end
1188
	ATTACK = false
1189
	Rooted = false
1190
end
1191
function BearTrap()
1192
	ATTACK = true
1193
	Rooted = false
1194
	coroutine.resume(coroutine.create(function()
1195
		repeat
1196
			Swait()
1197
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(-20), RAD(-25), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1198
		until ATTACK == false
1199
	end))
1200
	for i = 0, 0.3, 0.1 / Animation_Speed do
1201
		Swait()
1202
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 + 0.05 * SIZE * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
1203
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25 - 5 * COS(SINE / 24)), RAD(-5), RAD(-5)), 1 / Animation_Speed)
1204
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.1 * SIZE, 0.25 * SIZE - 0.05 * SIZE * SIN(SINE / 24), -0.5 * SIZE) * ANGLES(RAD(30), RAD(0), RAD(90)) * ANGLES(RAD(0), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1205
		RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1206
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
1207
	end
1208
	local GYRO = IT("BodyGyro", RootPart)
1209
	GYRO.D = 2
1210
	GYRO.P = 20000
1211
	GYRO.MaxTorque = VT(0, 4000000, 0)
1212
	GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
1213
	coroutine.resume(coroutine.create(function()
1214
		repeat
1215
			Swait()
1216
			GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
1217
		until ATTACK == false
1218
		GYRO:Remove()
1219
	end))
1220
	FAKEBEARTRAP.Transparency = 1
1221
	HELDTRAP.Transparency = 0
1222
	for i = 0, 0.4, 0.1 / Animation_Speed do
1223
		Swait()
1224
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 + 0.05 * SIZE * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
1225
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25 - 5 * COS(SINE / 24)), RAD(-5), RAD(-5)), 1 / Animation_Speed)
1226
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(40), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1227
		RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1228
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
1229
	end
1230
	local TRAP = BEARTRAP:Clone()
1231
	TRAP.Parent = Effects
1232
	coroutine.resume(coroutine.create(function()
1233
		TRAP:SetPrimaryPartCFrame(HELDTRAP.CFrame)
1234
		local BASE = TRAP.PrimaryPart
1235
		local OPEN = TRAP.Open
1236
		local CLOSED = TRAP.Closed
1237
		CreateSound(147722227, BASE, 6, 1, false)
1238
		local DISTANCE = (BASE.Position - Mouse.Hit.p).Magnitude
1239
		BASE.Velocity = CF(BASE.Position, Mouse.Hit.p).lookVector * (DISTANCE * 2)
1240
		wait(0.7)
1241
		BASE.Velocity = VT(0, 0, 0)
1242
		local ISCLOSED = false
1243
		for i = 1, 15 do
1244
			Swait()
1245
			BASE.CFrame = Clerp(BASE.CFrame, CF(BASE.Position + VT(0, 1, 0)), 0.4)
1246
		end
1247
		TOUCH = OPEN.Touched:Connect(function(HIT)
1248
			if HIT.Anchored == false and ISCLOSED == false and HIT.Parent:FindFirstChildOfClass("Humanoid") then
1249
				TOUCH:Disconnect()
1250
				ISCLOSED = true
1251
				OPEN.Anchored = true
1252
				OPEN.Transparency = 1
1253
				CLOSED.Transparency = 0
1254
				OPEN.CanCollide = false
1255
				CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], HIT, 10, 1, false)
1256
				ApplyDamage(HIT.Parent:FindFirstChildOfClass("Humanoid"), 60)
1257
				weldBetween(OPEN, HIT)
1258
				CreateSound(54061314, OPEN, 6, 1, false)
1259
			end
1260
		end)
1261
		wait(15)
1262
		TOUCH:Disconnect()
1263
		for i = 1, 45 do
1264
			Swait()
1265
			for _, e in pairs(TRAP:GetChildren()) do
1266
				if e:IsA("BasePart") then
1267
					e.Transparency = e.Transparency + 0.022222222222222223
1268
				end
1269
			end
1270
		end
1271
		TRAP:Remove()
1272
	end))
1273
	HELDTRAP.Transparency = 1
1274
	for i = 0, 0.3, 0.1 / Animation_Speed do
1275
		Swait()
1276
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 + 0.05 * SIZE * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1277
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25 - 5 * COS(SINE / 24)), RAD(-5), RAD(5)), 1 / Animation_Speed)
1278
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), -0.2 * SIZE) * ANGLES(RAD(120), RAD(0), RAD(10)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1279
		RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
1280
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(-5), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
1281
	end
1282
	FAKEBEARTRAP.Transparency = 0
1283
	ATTACK = false
1284
	Rooted = false
1285
end
1286
function HandGrenade()
1287
	ATTACK = true
1288
	Rooted = false
1289-
	Chatter("How about a little fire?", 0)
1289+
	Chatter("TAKE THIS", 0)
1290
	coroutine.resume(coroutine.create(function()
1291
		repeat
1292
			Swait()
1293
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * SIZE, 0.35 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0.2 * SIZE) * ANGLES(RAD(-20), RAD(-25), RAD(-3)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1294
		until ATTACK == false
1295
	end))
1296
	local GYRO = IT("BodyGyro", RootPart)
1297
	GYRO.D = 2
1298
	GYRO.P = 20000
1299
	GYRO.MaxTorque = VT(0, 4000000, 0)
1300
	GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
1301
	coroutine.resume(coroutine.create(function()
1302
		repeat
1303
			Swait()
1304
			GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
1305
		until ATTACK == false
1306
		GYRO:Remove()
1307
	end))
1308
	for i = 0, 0.4, 0.1 / Animation_Speed do
1309
		Swait()
1310
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 + 0.05 * SIZE * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
1311
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(0 - 5 * COS(SINE / 24)), RAD(-5), RAD(-5)), 1 / Animation_Speed)
1312
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(-5), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1313
		RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1314
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
1315
	end
1316
	local NADE = GRENADE:Clone()
1317
	NADE.CFrame = LeftArm.CFrame * CF(0, -1.2 * SIZE, 0) * ANGLES(RAD(90), RAD(0), RAD(0))
1318
	NADE.Parent = Effects
1319
	CreateSound(326088041, NADE, 7, 1, false)
1320
	local WELD = weldBetween(LeftArm, NADE)
1321
	for i = 0, 0.7, 0.1 / Animation_Speed do
1322
		Swait()
1323
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 + 0.05 * SIZE * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1 / Animation_Speed)
1324
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(0 - 5 * COS(SINE / 24)), RAD(-5), RAD(-15)), 1 / Animation_Speed)
1325
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(150), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1326
		RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(55), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1327
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
1328
	end
1329
	coroutine.resume(coroutine.create(function()
1330
		WELD:remove()
1331
		local DISTANCE = (NADE.Position - Mouse.Hit.p).Magnitude
1332
		if DISTANCE > 150 then
1333
			DISTANCE = 150
1334
		end
1335
		NADE.Velocity = CF(NADE.Position - VT(0, 5, 0), Mouse.Hit.p).lookVector * (DISTANCE * 2)
1336
		wait(0.2)
1337
		TOUCH = NADE.Touched:Connect(function()
1338
			TOUCH:Disconnect()
1339
			wait(0.5)
1340
			NADE.Anchored = true
1341
			NADE.Transparency = 1
1342
			NADE.CanCollide = false
1343
			local COLORS = {
1344
				C3(0.8862745098039215, 0.6078431372549019, 0.25098039215686274),
1345
				C3(1, 0, 0),
1346
				C3(0.9607843137254902, 0.803921568627451, 0.18823529411764706)
1347
			}
1348
			WACKYEFFECT({
1349
				Time = 66,
1350
				EffectType = "Sphere",
1351
				Size = VT(45, 45, 45),
1352
				Size2 = VT(450, 450, 450),
1353
				Transparency = 0.99,
1354
				Transparency2 = 1,
1355
				CFrame = CF(NADE.Position),
1356
				MoveToPos = nil,
1357
				RotationX = 0,
1358
				RotationY = 0,
1359
				RotationZ = 0,
1360
				Material = "Neon",
1361
				Color = C3(1, 1, 1),
1362
				SoundID = nil,
1363
				SoundPitch = nil,
1364
				SoundVolume = nil
1365
			})
1366
			for i = 1, 45 do
1367
				WACKYEFFECT({
1368
					Time = MRANDOM(10, 60),
1369
					EffectType = "Sphere",
1370
					Size = VT(45, 45, 45) * MRANDOM(5, 12) / 10,
1371
					Size2 = VT(65, 65, 65) * MRANDOM(5, 22) / 10,
1372
					Transparency = 0,
1373
					Transparency2 = 1,
1374
					CFrame = CF(NADE.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 15, 0),
1375
					MoveToPos = nil,
1376
					RotationX = 0,
1377
					RotationY = 0,
1378
					RotationZ = 0,
1379
					Material = "Neon",
1380
					Color = COLORS[MRANDOM(1, #COLORS)],
1381
					SoundID = nil,
1382
					SoundPitch = nil,
1383
					SoundVolume = nil
1384
				})
1385
			end
1386
			ApplyAoE(NADE.Position, 75, 35, 80, 145, false)
1387
			SHAKECAM(NADE.Position, 160, 12, 25)
1388
			CreateSound(174580476, NADE, 10, 1, false)
1389
			CreateSound(165970126, NADE, 6, 1, false)
1390
			Debris:AddItem(NADE, 10)
1391
		end)
1392
	end))
1393
	for i = 0, 0.3, 0.1 / Animation_Speed do
1394
		Swait()
1395
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 + 0.05 * SIZE * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 1 / Animation_Speed)
1396
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(0 - 5 * COS(SINE / 24)), RAD(-5), RAD(15)), 1 / Animation_Speed)
1397
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), -0.2 * SIZE) * ANGLES(RAD(25), RAD(0), RAD(10)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1398
		RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
1399
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(-5), RAD(-80), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
1400
	end
1401
	ATTACK = false
1402
	Rooted = false
1403
end
1404
function AttackTemplate()
1405
	ATTACK = true
1406
	Rooted = false
1407
	for i = 0, 1, 0.1 / Animation_Speed do
1408
		Swait()
1409
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 + 0.05 * SIZE * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
1410
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25 - 5 * COS(SINE / 24)), RAD(-5), RAD(-5)), 1 / Animation_Speed)
1411
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1412
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1413
		RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1414
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
1415
	end
1416
	ATTACK = false
1417
	Rooted = false
1418
end
1419
function MouseDown(Mouse)
1420
	if ATTACK == false then
1421
		Fury()
1422
	end
1423
end
1424
function MouseUp(Mouse)
1425
	HOLD = false
1426
end
1427
function KeyDown(Key)
1428
	KEYHOLD = true
1429
	if Key == "f" and ATTACK == false then
1430
		EquipGun()
1431
	end
1432
	if Key == "c" and ATTACK == false then
1433
		BearTrap()
1434
	end
1435
	if Key == "v" and ATTACK == false then
1436
		HandGrenade()
1437
	end
1438
	if Key ~= "x" or ATTACK == false then
1439
	end
1440
end
1441
function KeyUp(Key)
1442
	KEYHOLD = false
1443
end
1444
Mouse.Button1Down:connect(function(NEWKEY)
1445
	MouseDown(NEWKEY)
1446
end)
1447
Mouse.Button1Up:connect(function(NEWKEY)
1448
	MouseUp(NEWKEY)
1449
end)
1450
Mouse.KeyDown:connect(function(NEWKEY)
1451
	KeyDown(NEWKEY)
1452
end)
1453
Mouse.KeyUp:connect(function(NEWKEY)
1454
	KeyUp(NEWKEY)
1455
end)
1456
function unanchor()
1457
	for _, c in pairs(Character:GetChildren()) do
1458
		if c:IsA("BasePart") and c ~= RootPart then
1459
			c.Anchored = false
1460
		end
1461
	end
1462
	if UNANCHOR == true then
1463
		RootPart.Anchored = false
1464
	else
1465
		RootPart.Anchored = true
1466
	end
1467
end
1468
Humanoid.Changed:connect(function(Jump)
1469
	if Jump == "Jump" and Disable_Jump == true then
1470
		Humanoid.Jump = false
1471
	end
1472
end)
1473
while true do
1474
	Swait()
1475
	script.Parent = WEAPONGUI
1476
	ANIMATE.Parent = nil
1477
	for _, v in next, Humanoid:GetPlayingAnimationTracks() do
1478
		v:Stop()
1479
	end
1480
	SINE = SINE + CHANGE
1481
	Humanoid.HipHeight = 0.4
1482
	Humanoid.JumpPower = 150
1483
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
1484
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
1485
	local HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 * SIZE, Character)
1486
	local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
1487
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
1488
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1489
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5 * SIZE, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1490
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * SIZE, 0.885 * SIZE - 0.125 * SIZE * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE * 2), 0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(35 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
1491
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * SIZE, 0.885 * SIZE + 0.125 * SIZE * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE * 2), 0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(35 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
1492
	elseif ANIM ~= "Walk" or TORSOVELOCITY < 1 then
1493
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1494
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5 * SIZE, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1495
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * SIZE, 1 * SIZE, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1496
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * SIZE, 1 * SIZE, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1497
	end
1498
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
1499
		ANIM = "Jump"
1500
		if ATTACK == false then
1501
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1502
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
1503
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * SIZE, 0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1504
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1505
			RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE, -0.3 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
1506
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE, -0.3 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 1 / Animation_Speed)
1507
		end
1508
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
1509
		ANIM = "Fall"
1510
		if ATTACK == false then
1511
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
1512
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
1513
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * SIZE, 0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-10), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1514
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-10), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1515
			RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -0.8 * SIZE, -0.3 * SIZE) * ANGLES(RAD(-25), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed)
1516
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed)
1517
		end
1518
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
1519
		ANIM = "Idle"
1520
		if ATTACK == false then
1521
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 + 0.05 * SIZE * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
1522
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(10 - 5 * COS(SINE / 24)), RAD(-5), RAD(-5)), 1 / Animation_Speed)
1523
			if EQUIPPED == false then
1524
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1 * SIZE, 0.55 * SIZE - 0.05 * SIZE * SIN(SINE / 24), -0.75 * SIZE) * ANGLES(RAD(25), RAD(0), RAD(-90)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1525
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1 * SIZE, 0.25 * SIZE - 0.05 * SIZE * SIN(SINE / 24), -0.5 * SIZE) * ANGLES(RAD(25), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1526
			else
1527
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1 * SIZE, 0.5 * SIZE, -0.5 * SIZE) * ANGLES(RAD(45), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1528
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1 * SIZE, 0.5 * SIZE, -0.8 * SIZE) * ANGLES(RAD(45), RAD(0), RAD(50)) * CF(0, 0.1 * SIZE, 0) * LEFTSHOULDERC0, 1 / Animation_Speed)
1529
			end
1530
			RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1531
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
1532
		end
1533
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
1534
		ANIM = "Walk"
1535
		if ATTACK == false then
1536
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, -0.1 * SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
1537
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
1538
			if EQUIPPED == false then
1539
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1 * SIZE, 0.55 * SIZE + 0.05 * SIZE * COS(SINE / (WALKSPEEDVALUE / 2)), -0.75 * SIZE) * ANGLES(RAD(25), RAD(0), RAD(-90)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1540
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1 * SIZE, 0.25 * SIZE + 0.05 * SIZE * COS(SINE / (WALKSPEEDVALUE / 2)), -0.5 * SIZE) * ANGLES(RAD(25), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1541
			else
1542
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1 * SIZE, 0.5 * SIZE + 0.05 * SIZE * COS(SINE / (WALKSPEEDVALUE / 2)), -0.5 * SIZE) * ANGLES(RAD(45), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1543
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1 * SIZE, 0.5 * SIZE + 0.05 * SIZE * COS(SINE / (WALKSPEEDVALUE / 2)), -0.8 * SIZE) * ANGLES(RAD(45), RAD(0), RAD(50)) * CF(0, 0.1 * SIZE, 0) * LEFTSHOULDERC0, 1 / Animation_Speed)
1544
			end
1545
			RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
1546
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
1547
		end
1548
	end
1549
	for E = 1, #TAIL do
1550
		TAIL[E].C1 = Clerp(TAIL[E].C1, CF(0, 0, 0) * ANGLES(RAD(-2 * COS(SINE / 48) + 1 * SIN(SINE / 12)), RAD(0), RAD(1 * SIN(SINE / 24))), 1 / Animation_Speed)
1551
	end
1552
	unanchor()
1553
	Humanoid.MaxHealth = 1000
1554
	Humanoid.Health = 1000
1555
	if Rooted == false then
1556
		Disable_Jump = false
1557
		Humanoid.WalkSpeed = Speed
1558
	elseif Rooted == true then
1559
		Disable_Jump = true
1560
		Humanoid.WalkSpeed = 0
1561
	end
1562
	for _, c in pairs(Character:GetChildren()) do
1563
		if c.ClassName == "Part" and c.Name ~= "Eye" then
1564
			c.Material = "Granite"
1565
			if c:FindFirstChildOfClass("ParticleEmitter") then
1566
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
1567
			end
1568
			c.Color = C3(0.3137254901960784, 0.2627450980392157, 0.2627450980392157)
1569
			if c == Head and c:FindFirstChild("face") then
1570
				c.face:remove()
1571
			end
1572
		elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
1573
			c:remove()
1574
		elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
1575
			c:remove()
1576
		end
1577
	end
1578
	Humanoid.DisplayDistanceType = "None"
1579
	Humanoid.Name = "NONHUM"
1580
	if sick.Parent ~= Character then
1581
		sick = IT("Sound", Character)
1582
	end
1583
	sick.SoundId = "rbxassetid://737063244"
1584
	sick.Looped = true
1585-
	sick.Pitch = 0.9
1585+
	sick.Pitch = 1
1586
	sick.Volume = 3
1587
	sick.Playing = true
1588
end