SHOW:
|
|
- or go back to the newest paste.
1 | -- Made By Mtek Exploits On Youtube | |
2 | -- Artens#9749 | |
3 | -- Gun model from origonal script | |
4 | -- Thanks For Using | |
5 | wait(2) | |
6 | local p = game.Players.LocalPlayer | |
7 | local char = p.Character | |
8 | local mouse = p:GetMouse() | |
9 | local larm = char["Left Arm"] | |
10 | local rarm = char["Right Arm"] | |
11 | local lleg = char["Left Leg"] | |
12 | local rleg = char["Right Leg"] | |
13 | local hed = char.Head | |
14 | local torso = char.Torso | |
15 | local hum = char.Humanoid | |
16 | local cam = game.Workspace.CurrentCamera | |
17 | local root = char.HumanoidRootPart | |
18 | local deb = false | |
19 | local shot = 0 | |
20 | local l = game:GetService("Lighting") | |
21 | local rs = game:GetService("RunService").RenderStepped | |
22 | local stanceToggle = "Normal" | |
23 | char["Body Colors"].HeadColor = BrickColor.new("Reddish brown") | |
24 | char["Body Colors"].TorsoColor = BrickColor.new("Reddish brown") | |
25 | char["Body Colors"].LeftArmColor = BrickColor.new("Reddish brown") | |
26 | char["Body Colors"].RightArmColor = BrickColor.new("Reddish brown") | |
27 | char["Body Colors"].LeftLegColor = BrickColor.new("Reddish brown") | |
28 | char["Body Colors"].RightLegColor = BrickColor.new("Reddish brown") | |
29 | math.randomseed(os.time()) | |
30 | hum.WalkSpeed = 60 | |
31 | char.Health:Destroy() | |
32 | hum.MaxHealth = math.huge | |
33 | wait(0.1) | |
34 | hum.Health = math.huge | |
35 | ---------------------------------------------------- | |
36 | pcall(function()char.Shirt:Destroy() | |
37 | char.Pants:Destroy() | |
38 | end) | |
39 | shirt = Instance.new("Shirt", char) | |
40 | shirt.Name = "Shirt" | |
41 | pants = Instance.new("Pants", char) | |
42 | pants.Name = "Pants" | |
43 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=236410507" | |
44 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=236412261" | |
45 | ---------------------------------------------------- | |
46 | Debounces = { | |
47 | on = false; | |
48 | ks = false; | |
49 | CanAttack = true; | |
50 | CanJoke = true; | |
51 | NoIdl = false; | |
52 | Slashing = false; | |
53 | Slashed = false; | |
54 | Grabbing = false; | |
55 | Grabbed = false; | |
56 | } | |
57 | local Touche = {char.Name, } | |
58 | ---------------------------------------------------- | |
59 | function lerp(a, b, t) -- Linear interpolation | |
60 | return a + (b - a)*t | |
61 | end | |
62 | ||
63 | function slerp(a, b, t) --Spherical interpolation | |
64 | dot = a:Dot(b) | |
65 | if dot > 0.99999 or dot < -0.99999 then | |
66 | return t <= 0.5 and a or b | |
67 | else | |
68 | r = math.acos(dot) | |
69 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
70 | end | |
71 | end | |
72 | ||
73 | function matrixInterpolate(a, b, t) | |
74 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
75 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
76 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
77 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
78 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
79 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
80 | local t = v1:Dot(v2) | |
81 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
82 | return CFrame.new() | |
83 | end | |
84 | return CFrame.new( | |
85 | v0.x, v0.y, v0.z, | |
86 | v1.x, v1.y, v1.z, | |
87 | v2.x, v2.y, v2.z, | |
88 | v3.x, v3.y, v3.z) | |
89 | end | |
90 | ---------------------------------------------------- | |
91 | function genWeld(a,b) | |
92 | local w = Instance.new("Weld",a) | |
93 | w.Part0 = a | |
94 | w.Part1 = b | |
95 | return w | |
96 | end | |
97 | function weld(a, b) | |
98 | local weld = Instance.new("Weld") | |
99 | weld.Name = "W" | |
100 | weld.Part0 = a | |
101 | weld.Part1 = b | |
102 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
103 | weld.Parent = a | |
104 | return weld; | |
105 | end | |
106 | ---------------------------------------------------- | |
107 | function Lerp(c1,c2,al) | |
108 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
109 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
110 | for i,v in pairs(com1) do | |
111 | com1[i] = v+(com2[i]-v)*al | |
112 | end | |
113 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
114 | end | |
115 | ---------------------------------------------------- | |
116 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
117 | local wld = Instance.new("Weld", wp1) | |
118 | wld.Part0 = wp0 | |
119 | wld.Part1 = wp1 | |
120 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
121 | end | |
122 | ---------------------------------------------------- | |
123 | for i,v in pairs(char:children()) do | |
124 | if v:IsA("Hat") then | |
125 | v:Destroy() | |
126 | end | |
127 | end | |
128 | for i,v in pairs(hed:children()) do | |
129 | if v:IsA("Sound") then | |
130 | v:Destroy() | |
131 | end | |
132 | end | |
133 | ---------------------------------------------------- | |
134 | function HasntTouched(plrname) | |
135 | local ret = true | |
136 | for _, v in pairs(Touche) do | |
137 | if v == plrname then | |
138 | ret = false | |
139 | end | |
140 | end | |
141 | return ret | |
142 | end | |
143 | ---------------------------------------------------- | |
144 | larm.Size = larm.Size * 2 | |
145 | rarm.Size = rarm.Size * 2 | |
146 | lleg.Size = lleg.Size * 2 | |
147 | rleg.Size = rleg.Size * 2 | |
148 | torso.Size = torso.Size * 2 | |
149 | hed.Size = hed.Size * 2 | |
150 | root.Size = root.Size * 2 | |
151 | ---------------------------------------------------- | |
152 | newWeld(torso, larm, -1.5, 0.5, 0) | |
153 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
154 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
155 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
156 | newWeld(torso, hed, 0, 1.5, 0) | |
157 | newWeld(torso, lleg, -0.5, -1, 0) | |
158 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
159 | newWeld(torso, rleg, 0.5, -1, 0) | |
160 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
161 | newWeld(root, torso, 0, -1, 0) | |
162 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
163 | ------------------------------ Cap --------------------------------------- | |
164 | Hats1 = Instance.new("Part") | |
165 | Hats1.Parent = char | |
166 | Hats1.BrickColor = BrickColor.new("White") | |
167 | Hats1.formFactor = "Symmetric" | |
168 | Hats1.Size = Vector3.new(1, 1, 1) | |
169 | Hats1.CFrame = hed.CFrame | |
170 | Hats1:BreakJoints() | |
171 | Hats1.CanCollide = false | |
172 | Hats1.TopSurface = "Smooth" | |
173 | Hats1.BottomSurface = "Smooth" | |
174 | Weld = Instance.new("Weld") | |
175 | Weld.Part0 = hed | |
176 | Weld.Part1 = Hats1 | |
177 | Weld.Parent = hed | |
178 | Weld.C0 = CFrame.new(0, 1.2, 0.1)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
179 | Mesh = Instance.new("SpecialMesh") | |
180 | Mesh.Parent = Hats1 | |
181 | Mesh.MeshId = "http://www.roblox.com/asset/?id=11412443" | |
182 | Mesh.TextureId = "http://www.roblox.com/asset/?id=33560204" | |
183 | Mesh.Scale = Vector3.new(1.1, 1.1, 1.1) | |
184 | ----------------------- Antlers -------------------------------- | |
185 | Hats2 = Instance.new("Part") | |
186 | Hats2.Parent = char | |
187 | Hats2.formFactor = "Symmetric" | |
188 | Hats2.Size = Vector3.new(1, 1, 1) | |
189 | Hats2.CFrame = hed.CFrame | |
190 | Hats2:BreakJoints() | |
191 | Hats2.CanCollide = false | |
192 | Hats2.TopSurface = "Smooth" | |
193 | Hats2.BottomSurface = "Smooth" | |
194 | Weld = Instance.new("Weld") | |
195 | Weld.Part0 = hed | |
196 | Weld.Part1 = Hats2 | |
197 | Weld.Parent = hed | |
198 | Weld.C0 = CFrame.new(0, 1.8, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
199 | Mesh = Instance.new("SpecialMesh") | |
200 | Mesh.Parent = Hats2 | |
201 | Mesh.MeshId = "http://www.roblox.com/asset/?id=0" | |
202 | Mesh.TextureId = "http://www.roblox.com/asset/?id=0" | |
203 | Mesh.Scale = Vector3.new(2.2, 2.2, 2.2) | |
204 | ---------------------------- Mask ------------------------------------ | |
205 | Hats3 = Instance.new("Part") | |
206 | Hats3.Parent = char | |
207 | Hats3.formFactor = "Symmetric" | |
208 | Hats3.Size = Vector3.new(1, 1, 1) | |
209 | Hats3.CFrame = hed.CFrame | |
210 | Hats3:BreakJoints() | |
211 | Hats3.CanCollide = false | |
212 | Hats3.TopSurface = "Smooth" | |
213 | Hats3.BottomSurface = "Smooth" | |
214 | Weld = Instance.new("Weld") | |
215 | Weld.Part0 = hed | |
216 | Weld.Part1 = Hats3 | |
217 | Weld.Parent = hed | |
218 | Weld.C0 = CFrame.new(0, 0, -1.2)*CFrame.fromEulerAnglesXYZ(4.57, 0, 0) | |
219 | Mesh = Instance.new("SpecialMesh") | |
220 | Mesh.Parent = Hats3 | |
221 | Mesh.MeshId = "http://www.roblox.com/asset/?id=0" | |
222 | Mesh.TextureId = "http://www.roblox.com/asset/?id=0" | |
223 | Mesh.Scale = Vector3.new(0.22, 0.22, 0.22) | |
224 | ---------------------------------------------------- | |
225 | hed.face.Texture = "rbxassetid://127498555" | |
226 | lite = Instance.new("PointLight", torso) | |
227 | lite.Brightness = 20 | |
228 | lite.Range = 15 | |
229 | lite.Color = Color3.new(255, 0, 0) | |
230 | ---------------------------------------------------- | |
231 | z = Instance.new("Sound", char) | |
232 | z.SoundId = "rbxassetid://553989517"--242463565 | |
233 | z.Looped = true | |
234 | z.Pitch = 1 | |
235 | z.Volume = 1 | |
236 | wait(.01) | |
237 | z:Play() | |
238 | --------------------Ray Gun------------------------- | |
239 | local m = Instance.new("Model") | |
240 | m.Name = "RayGun" | |
241 | p1 = Instance.new("Part", m) | |
242 | p1.FormFactor = Enum.FormFactor.Custom | |
243 | p1.Size = Vector3.new(1.5, 0.5, 0.5) | |
244 | p1.CanCollide = false | |
245 | p1.Locked = true | |
246 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
247 | p1.TopSurface = Enum.SurfaceType.Smooth | |
248 | Mesh = Instance.new("SpecialMesh") | |
249 | Mesh.Parent = p1 | |
250 | Mesh.MeshId = "http://www.roblox.com/asset/?id=430279107" | |
251 | Mesh.TextureId = "http://www.roblox.com/asset/?id=430279131" | |
252 | Mesh.Scale = Vector3.new(0.2, 0.2, 0.2) | |
253 | Mesh.Offset = Vector3.new(0, 0, 0) | |
254 | p15 = Instance.new("Part", m) | |
255 | p15.BrickColor = BrickColor.new("Medium stone grey") | |
256 | p15.Transparency = 1 | |
257 | p15.Name = "ArmPart" | |
258 | p15.FormFactor = Enum.FormFactor.Custom | |
259 | p15.Size = Vector3.new(2, 1, 1) | |
260 | p15.CFrame = CFrame.new(1.49875152, 5.13257265, -16.0004654, -2.99420208e-007, 4.39002179e-007, 1.00001442, 0.00011029192, -1, 0, 1.00001454, 0.000108176115, 4.42378223e-008) | |
261 | p15.CanCollide = false | |
262 | p15.Locked = true | |
263 | weld2 = Instance.new("Weld", p1) | |
264 | weld2.Part0 = p1 | |
265 | weld2.Part1 = p15 | |
266 | weld2.C0 = CFrame.new(-2.3, 0, -0.5)*CFrame.fromEulerAnglesXYZ(0, 0, 3.2) | |
267 | m.Parent = char | |
268 | m:MakeJoints() | |
269 | ---------------------------------------------------- | |
270 | local cor2 = Instance.new("Part", char.RayGun) | |
271 | cor2.Name = "Thingy" | |
272 | cor2.Locked = true | |
273 | cor2.BottomSurface = 0 | |
274 | cor2.CanCollide = false | |
275 | cor2.Size = Vector3.new(2, 1, 1) | |
276 | cor2.Transparency = 1 | |
277 | cor2.TopSurface = 0 | |
278 | corw2 = Instance.new("Weld", cor2) | |
279 | corw2.Part0 = larm | |
280 | corw2.Part1 = cor2 | |
281 | corw2.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(90)) | |
282 | corw2.C1 = CFrame.new(0, 0, 0) | |
283 | weld2 = Instance.new("Weld", char.RayGun) | |
284 | weld2.Part0 = cor2 | |
285 | weld2.Part1 = char.RayGun.ArmPart | |
286 | weld2.C0 = CFrame.new(0, 0, 0) | |
287 | ---------------------------------------------------- | |
288 | local m = Instance.new("Model") | |
289 | m.Name = "Absolution" | |
290 | p1 = Instance.new("Part", m) | |
291 | p1.BrickColor = BrickColor.new("Lime green") | |
292 | p1.Material = "Neon" | |
293 | p1.Transparency = 1 | |
294 | p1.FormFactor = Enum.FormFactor.Custom | |
295 | p1.Size = Vector3.new(1, 0.600000024, 1.5) | |
296 | p1.CFrame = CFrame.new(67.4994888, 12.1560526, 73.0205841, 0.999972522, -3.59117985e-005, -8.00192356e-006, -1.39250187e-005, 0.358383715, -0.933530986, 5.28097153e-005, 0.933500648, 0.358406395) | |
297 | p1.CanCollide = false | |
298 | p1.Locked = true | |
299 | p1.Elasticity = 0 | |
300 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
301 | p1.TopSurface = Enum.SurfaceType.Smooth | |
302 | p2 = Instance.new("Part", m) | |
303 | p2.BrickColor = BrickColor.new("White") | |
304 | p2.Transparency = 1 | |
305 | p2.FormFactor = Enum.FormFactor.Custom | |
306 | p2.Size = Vector3.new(1, 2.9000001, 1) | |
307 | p2.CFrame = CFrame.new(67.4995728, 11.7633543, 74.2129135, -1.30959779e-005, 2.79811252e-006, 0.999972522, 0.961226642, 0.275612593, -7.50799518e-006, -0.275637805, 0.96119839, 1.01176247e-005) | |
308 | p2.CanCollide = false | |
309 | p2.Locked = true | |
310 | p2.Elasticity = 0 | |
311 | p2.BottomSurface = Enum.SurfaceType.Smooth | |
312 | p2.TopSurface = Enum.SurfaceType.Smooth | |
313 | p3 = Instance.new("Part", m) | |
314 | p3.Transparency = 1 | |
315 | p3.BrickColor = BrickColor.new("Lime green") | |
316 | p3.Material = "Neon" | |
317 | p3.FormFactor = Enum.FormFactor.Custom | |
318 | p3.Size = Vector3.new(1, 1.20000005, 2.0999999) | |
319 | p3.CFrame = CFrame.new(67.4994965, 12.6401453, 73.9670334, 0.999972522, -3.52207899e-005, -8.10639358e-006, -1.61500211e-005, 0.309035271, -0.951007903, 5.24176576e-005, 0.950978875, 0.309059501) | |
320 | p3.CanCollide = false | |
321 | p3.Locked = true | |
322 | p3.Elasticity = 0 | |
323 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
324 | p3.TopSurface = Enum.SurfaceType.Smooth | |
325 | b3 = Instance.new("SpecialMesh", p3) | |
326 | b3.MeshType = Enum.MeshType.Wedge | |
327 | b3.Name = "Mesh" | |
328 | b3.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928) | |
329 | p4 = Instance.new("Part", m) | |
330 | p4.Transparency = 1 | |
331 | p4.BrickColor = BrickColor.new("Lime green") | |
332 | p4.Material = "Neon" | |
333 | p4.FormFactor = Enum.FormFactor.Custom | |
334 | p4.Size = Vector3.new(1, 1.43999994, 2.05000019) | |
335 | p4.CFrame = CFrame.new(67.4995575, 11.8683414, 76.1565704, 0.999972522, -2.5085672e-005, -1.53700166e-005, -4.86194367e-005, -0.800831437, -0.598821938, 1.9131101e-005, 0.598835468, -0.800796151) | |
336 | p4.CanCollide = false | |
337 | p4.Locked = true | |
338 | p4.Elasticity = 0 | |
339 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
340 | p4.TopSurface = Enum.SurfaceType.Smooth | |
341 | p5 = Instance.new("Part", m) | |
342 | p5.Transparency = 1 | |
343 | p5.BrickColor = BrickColor.new("Lime green") | |
344 | p5.Material = "Neon" | |
345 | p5.FormFactor = Enum.FormFactor.Custom | |
346 | p5.Size = Vector3.new(1, 1.20000005, 3.20000005) | |
347 | p5.CFrame = CFrame.new(67.4995193, 13.241991, 74.8357468, 0.999972522, -3.59118021e-005, -8.00191992e-006, -1.39250224e-005, 0.358383656, -0.933530807, 5.2809708e-005, 0.933500469, 0.358406246) | |
348 | p5.CanCollide = false | |
349 | p5.Locked = true | |
350 | p5.Elasticity = 0 | |
351 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
352 | p5.TopSurface = Enum.SurfaceType.Smooth | |
353 | p6 = Instance.new("Part", m) | |
354 | p6.Transparency = 1 | |
355 | p6.Name = "Handle" | |
356 | p6.BrickColor = BrickColor.new("White") | |
357 | p6.FormFactor = Enum.FormFactor.Custom | |
358 | p6.Size = Vector3.new(1.5999999, 13.6000004, 1) | |
359 | p6.CFrame = CFrame.new(67.5017471, 11.2780685, 66.1421967, -1.18190947e-005, 6.28741009e-006, 0.999972522, 0.99995929, -1.39772892e-005, -7.50630716e-006, -1.79708004e-005, 0.999939024, 1.01296728e-005) | |
360 | p6.CanCollide = false | |
361 | p6.Locked = true | |
362 | p6.Elasticity = 0 | |
363 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
364 | p6.TopSurface = Enum.SurfaceType.Smooth | |
365 | p7 = Instance.new("Part", m) | |
366 | p7.Transparency = 1 | |
367 | p7.BrickColor = BrickColor.new("Lime green") | |
368 | p7.Material = "Neon" | |
369 | p7.FormFactor = Enum.FormFactor.Custom | |
370 | p7.Size = Vector3.new(1, 1.00999999, 1.05000019) | |
371 | p7.CFrame = CFrame.new(67.5174179, 10.5228004, 76.3114471, 0.999972522, -2.76626724e-005, -6.72184569e-006, -4.7347472e-005, -0.91489929, -0.403581172, 2.14323372e-005, 0.403602213, -0.914867818) | |
372 | p7.CanCollide = false | |
373 | p7.Locked = true | |
374 | p7.Elasticity = 0 | |
375 | p7.BottomSurface = Enum.SurfaceType.Smooth | |
376 | p7.TopSurface = Enum.SurfaceType.Smooth | |
377 | p8 = Instance.new("Part", m) | |
378 | p8.Transparency = 1 | |
379 | p8.BrickColor = BrickColor.new("Lime green") | |
380 | p8.Material = "Neon" | |
381 | p8.Material = "Neon" | |
382 | p8.FormFactor = Enum.FormFactor.Custom | |
383 | p8.Size = Vector3.new(1, 1.00999999, 1.05000019) | |
384 | p8.CFrame = CFrame.new(67.5074387, 8.51285458, 76.8714371, 0.999972522, -2.76626724e-005, -6.72184387e-006, -4.73474684e-005, -0.91489917, -0.403581113, 2.14323354e-005, 0.403602153, -0.914867699) | |
385 | p8.CanCollide = false | |
386 | p8.Locked = true | |
387 | p8.Elasticity = 0 | |
388 | p8.BottomSurface = Enum.SurfaceType.Smooth | |
389 | p8.TopSurface = Enum.SurfaceType.Smooth | |
390 | p9 = Instance.new("Part", m) | |
391 | p9.Transparency = 1 | |
392 | p9.BrickColor = BrickColor.new("White") | |
393 | p9.FormFactor = Enum.FormFactor.Custom | |
394 | p9.Size = Vector3.new(1, 1.07999957, 1) | |
395 | p9.CFrame = CFrame.new(67.5095749, 7.1092, 74.5051422, -2.60536999e-005, -5.21559741e-006, 0.999972522, 0.35323599, -0.935490847, -1.50012565e-005, 0.935460567, 0.353258699, 4.2632455e-005) | |
396 | p9.CanCollide = false | |
397 | p9.Locked = true | |
398 | p9.Elasticity = 0 | |
399 | p9.BottomSurface = Enum.SurfaceType.Smooth | |
400 | p9.TopSurface = Enum.SurfaceType.Smooth | |
401 | p10 = Instance.new("Part", m) | |
402 | p10.Transparency = 1 | |
403 | p10.BrickColor = BrickColor.new("White") | |
404 | p10.FormFactor = Enum.FormFactor.Custom | |
405 | p10.Size = Vector3.new(1, 1.41999948, 1) | |
406 | p10.CFrame = CFrame.new(67.489624, 8.67401791, 72.7929764, -9.47785156e-006, -9.42233055e-006, 0.999972522, 0.292371064, 0.956263304, -7.54374832e-006, -0.956253231, 0.292334616, 1.01081387e-005) | |
407 | p10.CanCollide = false | |
408 | p10.Locked = true | |
409 | p10.Elasticity = 0 | |
410 | p10.BottomSurface = Enum.SurfaceType.Smooth | |
411 | p10.TopSurface = Enum.SurfaceType.Smooth | |
412 | p11 = Instance.new("Part", m) | |
413 | p11.Transparency = 1 | |
414 | p11.BrickColor = BrickColor.new("White") | |
415 | p11.FormFactor = Enum.FormFactor.Custom | |
416 | p11.Size = Vector3.new(1, 1.50999951, 1) | |
417 | p11.CFrame = CFrame.new(67.509552, 7.11887455, 70.3475952, -1.87569385e-005, 1.80455972e-005, 0.999972522, -0.36222899, -0.932047009, -9.30004444e-006, 0.932039678, -0.362191886, 4.04359016e-005) | |
418 | p11.CanCollide = false | |
419 | p11.Locked = true | |
420 | p11.Elasticity = 0 | |
421 | p11.BottomSurface = Enum.SurfaceType.Smooth | |
422 | p11.TopSurface = Enum.SurfaceType.Smooth | |
423 | p12 = Instance.new("Part", m) | |
424 | p12.Name = "BladeCenter" | |
425 | p12.Transparency = 1 | |
426 | p12.BrickColor = BrickColor.new("Dark stone grey") | |
427 | p12.Material = Enum.Material.Concrete | |
428 | p12.FormFactor = Enum.FormFactor.Symmetric | |
429 | p12.Size = Vector3.new(1, 2, 2) | |
430 | p12.CFrame = CFrame.new(67.4995346, 6.83217764, 72.2514038, -0.999972522, 2.42275873e-005, 0.000103325896, -8.39982677e-005, 4.44650614e-005, -0.999960959, -4.06451727e-005, -0.999940753, -1.25430051e-005) | |
431 | p12.CanCollide = false | |
432 | p12.Locked = true | |
433 | p12.BottomSurface = Enum.SurfaceType.Smooth | |
434 | p12.TopSurface = Enum.SurfaceType.Smooth | |
435 | p13 = Instance.new("Part", m) | |
436 | p13.Transparency = 1 | |
437 | p13.BrickColor = BrickColor.new("White") | |
438 | p13.FormFactor = Enum.FormFactor.Custom | |
439 | p13.Size = Vector3.new(2.91000009, 4.3300004, 1) | |
440 | p13.CFrame = CFrame.new(67.5096359, 9.31026554, 73.9751816, 7.60371313e-006, 1.0943455e-005, 0.999972522, -0.119072244, -0.99284631, -7.55448127e-006, 0.992830038, -0.119038157, 1.01703836e-005) | |
441 | p13.CanCollide = false | |
442 | p13.Locked = true | |
443 | p13.Elasticity = 0 | |
444 | p13.BottomSurface = Enum.SurfaceType.Smooth | |
445 | p13.TopSurface = Enum.SurfaceType.Smooth | |
446 | p14 = Instance.new("Part", m) | |
447 | p14.Transparency = 1 | |
448 | p14.BrickColor = BrickColor.new("White") | |
449 | p14.FormFactor = Enum.FormFactor.Custom | |
450 | p14.Size = Vector3.new(2.5, 2.17999935, 1) | |
451 | p14.CFrame = CFrame.new(67.4896011, 10.1621294, 72.6420059, -1.55498967e-007, -1.33476442e-005, 0.999972522, -0.462319613, 0.886669755, -7.56198779e-006, -0.886637092, -0.462338567, 1.01078904e-005) | |
452 | p14.CanCollide = false | |
453 | p14.Locked = true | |
454 | p14.Elasticity = 0 | |
455 | p14.BottomSurface = Enum.SurfaceType.Smooth | |
456 | p14.TopSurface = Enum.SurfaceType.Smooth | |
457 | p15 = Instance.new("Part", m) | |
458 | p15.BrickColor = BrickColor.new("White") | |
459 | p15.FormFactor = Enum.FormFactor.Custom | |
460 | p15.Size = Vector3.new(1.16999996, 4.2699995, 1) | |
461 | p15.CFrame = CFrame.new(67.5095901, 9.35303593, 70.6884613, -1.24399676e-005, -4.94209144e-006, 0.999972522, 0.645082474, 0.764063478, -7.52419282e-006, -0.764068604, 0.645045042, 1.0099785e-005) | |
462 | p15.CanCollide = false | |
463 | p15.Locked = true | |
464 | p15.Elasticity = 0 | |
465 | p15.Transparency = 1 | |
466 | p15.BottomSurface = Enum.SurfaceType.Smooth | |
467 | p15.TopSurface = Enum.SurfaceType.Smooth | |
468 | p16 = Instance.new("Part", m) | |
469 | p16.BrickColor = BrickColor.new("White") | |
470 | p16.FormFactor = Enum.FormFactor.Custom | |
471 | p16.Size = Vector3.new(1.68999994, 4.76000023, 1) | |
472 | p16.CFrame = CFrame.new(67.4996033, 9.63990211, 75.3800278, 2.98175655e-006, 1.30014914e-005, 0.999972522, 0.258795738, -0.965893507, -7.53869244e-006, 0.965865672, 0.258821338, 1.01718706e-005) | |
473 | p16.CanCollide = false | |
474 | p16.Locked = true | |
475 | p16.Elasticity = 0 | |
476 | p16.Transparency = 1 | |
477 | p16.BottomSurface = Enum.SurfaceType.Smooth | |
478 | p16.TopSurface = Enum.SurfaceType.Smooth | |
479 | p17 = Instance.new("Part", m) | |
480 | p17.BrickColor = BrickColor.new("White") | |
481 | p17.FormFactor = Enum.FormFactor.Custom | |
482 | p17.Size = Vector3.new(1.78999996, 4.21999979, 1) | |
483 | p17.CFrame = CFrame.new(67.499588, 9.28996372, 69.8789978, -9.50601952e-006, -9.41252802e-006, 0.999972522, 0.293352425, 0.955965877, -7.53842551e-006, -0.955955863, 0.293315947, 1.00904235e-005) | |
484 | p17.CanCollide = false | |
485 | p17.Locked = true | |
486 | p17.Elasticity = 0 | |
487 | p17.Transparency = 1 | |
488 | p17.BottomSurface = Enum.SurfaceType.Smooth | |
489 | p17.TopSurface = Enum.SurfaceType.Smooth | |
490 | p18 = Instance.new("WedgePart", m) | |
491 | p18.BrickColor = BrickColor.new("Dark stone grey") | |
492 | p18.Name = "BladePart1" | |
493 | p18.Material = Enum.Material.Concrete | |
494 | p18.Name = "Wedge" | |
495 | p18.Transparency = 1 | |
496 | p18.FormFactor = Enum.FormFactor.Symmetric | |
497 | p18.Size = Vector3.new(1, 4, 2) | |
498 | p18.CFrame = CFrame.new(67.499321, 6.83199787, 69.4816895, 0.999972522, -3.68033288e-005, -4.22928351e-005, 2.29664256e-005, -1.65102574e-005, 0.999963701, -2.03872096e-005, -0.999943435, -4.84290831e-005) | |
499 | p18.CanCollide = false | |
500 | p18.Locked = true | |
501 | p18.BottomSurface = Enum.SurfaceType.Smooth | |
502 | p18.TopSurface = Enum.SurfaceType.Smooth | |
503 | p19 = Instance.new("WedgePart", m) | |
504 | p19.BrickColor = BrickColor.new("Dark stone grey") | |
505 | p19.Name = "BladePart2" | |
506 | p19.Material = Enum.Material.Concrete | |
507 | p19.Name = "Wedge" | |
508 | p19.Transparency = 1 | |
509 | p19.FormFactor = Enum.FormFactor.Symmetric | |
510 | p19.Size = Vector3.new(1, 4, 2) | |
511 | p19.CFrame = CFrame.new(67.4994736, 6.83213568, 75.0314102, -0.999972522, 3.68059118e-005, -0.000103325001, -8.40002976e-005, -4.4521752e-005, 0.999963701, 2.03864402e-005, 0.999943435, 1.26029336e-005) | |
512 | p19.CanCollide = false | |
513 | p19.Locked = true | |
514 | p19.BottomSurface = Enum.SurfaceType.Smooth | |
515 | p19.TopSurface = Enum.SurfaceType.Smooth | |
516 | p20 = Instance.new("Part", m) | |
517 | p20.Transparency = 1 | |
518 | p20.BrickColor = BrickColor.new("White") | |
519 | p20.FormFactor = Enum.FormFactor.Custom | |
520 | p20.Size = Vector3.new(2.53000021, 2.39999938, 1) | |
521 | p20.CFrame = CFrame.new(67.4996414, 7.91898966, 71.4148178, -1.09432585e-005, 7.6432425e-006, 0.999972522, 0.992849231, -0.119072601, -7.55000656e-006, 0.119038492, 0.992832959, 1.01311334e-005) | |
522 | p20.CanCollide = false | |
523 | p20.Locked = true | |
524 | p20.Elasticity = 0 | |
525 | p20.BottomSurface = Enum.SurfaceType.Smooth | |
526 | p20.TopSurface = Enum.SurfaceType.Smooth | |
527 | p21 = Instance.new("Part", m) | |
528 | p21.BrickColor = BrickColor.new("Lime green") | |
529 | p21.Material = "Neon" | |
530 | p21.Transparency = 1 | |
531 | p21.FormFactor = Enum.FormFactor.Custom | |
532 | p21.Size = Vector3.new(1, 1.43999994, 1.59000015) | |
533 | p21.CFrame = CFrame.new(67.509613, 9.57073689, 76.6228256, 0.999972522, -2.50856156e-005, -1.53699839e-005, -4.86196222e-005, -0.800835371, -0.598824739, 1.91311228e-005, 0.59883821, -0.800800025) | |
534 | p21.CanCollide = false | |
535 | p21.Locked = true | |
536 | p21.Elasticity = 0 | |
537 | p21.BottomSurface = Enum.SurfaceType.Smooth | |
538 | p21.TopSurface = Enum.SurfaceType.Smooth | |
539 | w1 = Instance.new("Weld", p1) | |
540 | w1.Name = "Part_Weld" | |
541 | w1.Part0 = p1 | |
542 | w1.C0 = CFrame.new(-67.5030899, -72.5280457, -14.8209743, 1, -6.37466928e-006, 4.26825172e-005, -3.75621021e-005, 0.358411252, 0.933563769, -2.12490559e-005, -0.933563769, 0.358411252) | |
543 | w1.Part1 = p2 | |
544 | w1.C1 = CFrame.new(9.14727688, -74.5847855, -67.5001221, -4.37113883e-008, 0.961261749, -0.27563718, 0, 0.27563718, 0.961261749, 1, 4.20180868e-008, -1.2048484e-008) | |
545 | w2 = Instance.new("Weld", p2) | |
546 | w2.Name = "Part_Weld" | |
547 | w2.Part0 = p2 | |
548 | w2.C0 = CFrame.new(9.14727688, -74.5847855, -67.5001221, -4.37113883e-008, 0.961261749, -0.27563718, 0, 0.27563718, 0.961261749, 1, 4.20180868e-008, -1.2048484e-008) | |
549 | w2.Part1 = p3 | |
550 | w2.C1 = CFrame.new(-67.5030823, -74.2541809, -10.8368053, 1, -8.59976626e-006, 4.22903977e-005, -3.75621021e-005, 0.30906105, 0.951042175, -2.12490559e-005, -0.951042175, 0.30906105) | |
551 | w3 = Instance.new("Weld", p3) | |
552 | w3.Name = "Part_Weld" | |
553 | w3.Part0 = p3 | |
554 | w3.C0 = CFrame.new(-67.5030823, -74.2541809, -10.8368053, 1, -8.59976626e-006, 4.22903977e-005, -3.75621021e-005, 0.30906105, 0.951042175, -2.12490559e-005, -0.951042175, 0.30906105) | |
555 | w3.Part1 = p4 | |
556 | w3.C1 = CFrame.new(-67.5002975, -36.1002579, 68.1035233, 1, -4.10709617e-005, 9.00123541e-006, -3.82823673e-005, -0.800855637, 0.598857403, -1.73869594e-005, -0.598857403, -0.800855637) | |
557 | w4 = Instance.new("Weld", p4) | |
558 | w4.Name = "Part_Weld" | |
559 | w4.Part0 = p4 | |
560 | w4.C0 = CFrame.new(-67.5002975, -36.1002579, 68.1035233, 1, -4.10709617e-005, 9.00123541e-006, -3.82823673e-005, -0.800855637, 0.598857403, -1.73869594e-005, -0.598857403, -0.800855637) | |
561 | w4.Part1 = p5 | |
562 | w4.C1 = CFrame.new(-67.5031891, -74.611969, -14.457736, 1, -6.37466928e-006, 4.26825172e-005, -3.75621021e-005, 0.358411252, 0.933563769, -2.12490559e-005, -0.933563769, 0.358411252) | |
563 | w5 = Instance.new("Weld", p5) | |
564 | w5.Name = "Part_Weld" | |
565 | w5.Part0 = p5 | |
566 | w5.C0 = CFrame.new(-67.5031891, -74.611969, -14.457736, 1, -6.37466928e-006, 4.26825172e-005, -3.75621021e-005, 0.358411252, 0.933563769, -2.12490559e-005, -0.933563769, 0.358411252) | |
567 | w5.Part1 = p6 | |
568 | w5.C1 = CFrame.new(-11.2799978, -66.1456223, -67.5023346, -4.37113883e-008, 1, 4.37113883e-008, 0, -4.37113883e-008, 1, 1, 4.37113883e-008, 1.91068547e-015) | |
569 | w6 = Instance.new("Weld", p6) | |
570 | w6.Name = "Part_Weld" | |
571 | w6.Part0 = p6 | |
572 | w6.C0 = CFrame.new(-11.2799978, -66.1456223, -67.5023346, -4.37113883e-008, 1, 4.37113883e-008, 0, -4.37113883e-008, 1, 1, 4.37113883e-008, 1.91068547e-015) | |
573 | w6.Part1 = p7 | |
574 | w6.C1 = CFrame.new(-67.5183792, -21.1694489, 74.0717163, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088) | |
575 | w7 = Instance.new("Weld", p7) | |
576 | w7.Name = "Part_Weld" | |
577 | w7.Part0 = p7 | |
578 | w7.C0 = CFrame.new(-67.5183792, -21.1694489, 74.0717163, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088) | |
579 | w7.Part1 = p8 | |
580 | w7.C1 = CFrame.new(-67.508461, -23.234499, 73.7728119, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088) | |
581 | w8 = Instance.new("Weld", p8) | |
582 | w8.Name = "Part_Weld" | |
583 | w8.Part0 = p8 | |
584 | w8.C0 = CFrame.new(-67.508461, -23.234499, 73.7728119, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088) | |
585 | w8.Part1 = p9 | |
586 | w8.C1 = CFrame.new(-72.2151413, -19.6674671, -67.5124359, -2.77766703e-005, 0.353263557, 0.935524285, -1.84533783e-005, -0.935524285, 0.353263557, 1, -7.4510931e-006, 3.25046385e-005) | |
587 | w9 = Instance.new("Weld", p9) | |
588 | w9.Name = "Part_Weld" | |
589 | w9.Part0 = p9 | |
590 | w9.C0 = CFrame.new(-72.2151413, -19.6674671, -67.5124359, -2.77766703e-005, 0.353263557, 0.935524285, -1.84533783e-005, -0.935524285, 0.353263557, 1, -7.4510931e-006, 3.25046385e-005) | |
591 | w9.Part1 = p10 | |
592 | w9.C1 = CFrame.new(67.0792923, -29.5803547, -67.4901428, -2.24114753e-008, 0.292369425, -0.956305802, 3.04095332e-010, 0.956305802, 0.292369425, 1, 6.26159258e-009, -2.15211493e-008) | |
593 | w10 = Instance.new("Weld", p10) | |
594 | w10.Name = "Part_Weld" | |
595 | w10.Part0 = p10 | |
596 | w10.C0 = CFrame.new(67.0792923, -29.5803547, -67.4901428, -2.24114753e-008, 0.292369425, -0.956305802, 3.04095332e-010, 0.956305802, 0.292369425, 1, 6.26159258e-009, -2.15211493e-008) | |
597 | w10.Part1 = p11 | |
598 | w10.C1 = CFrame.new(-62.9921722, 32.1197624, -67.5121918, -2.88835581e-005, -0.362230271, 0.932088912, 9.3476192e-006, -0.932088912, -0.362230271, 1, -1.74967965e-006, 3.03080251e-005) | |
599 | w11 = Instance.new("Weld", p11) | |
600 | w11.Name = "Part_Weld" | |
601 | w11.Part0 = p11 | |
602 | w11.C0 = CFrame.new(-62.9921722, 32.1197624, -67.5121918, -2.88835581e-005, -0.362230271, 0.932088912, 9.3476192e-006, -0.932088912, -0.362230271, 1, -1.74967965e-006, 3.03080251e-005) | |
603 | w11.Part1 = p12 | |
604 | w11.C1 = CFrame.new(67.5028763, 72.2527161, 6.8300252, -1, -9.15522687e-005, -3.05189751e-005, 3.05161811e-005, 3.05189751e-005, -1, 9.15532e-005, -1, -3.05161811e-005) | |
605 | w12 = Instance.new("Weld", p12) | |
606 | w12.Name = "Part_Weld" | |
607 | w12.Part0 = p12 | |
608 | w12.C0 = CFrame.new(67.5028763, 72.2527161, 6.8300252, -1, -9.15522687e-005, -3.05189751e-005, 3.05161811e-005, 3.05189751e-005, -1, 9.15532e-005, -1, -3.05161811e-005) | |
609 | w12.Part1 = p13 | |
610 | w12.C1 = CFrame.new(-72.3439255, 18.054121, -67.5101624, -4.09776035e-008, -0.11906305, 0.992886722, 4.05430745e-010, -0.992886722, -0.11906305, 1, -4.47637571e-009, 4.0734399e-008) | |
611 | w13 = Instance.new("Weld", p13) | |
612 | w13.Name = "Part_Weld" | |
613 | w13.Part0 = p13 | |
614 | w13.C0 = CFrame.new(-72.3439255, 18.054121, -67.5101624, -4.09776035e-008, -0.11906305, 0.992886722, 4.05430745e-010, -0.992886722, -0.11906305, 1, -4.47637571e-009, 4.0734399e-008) | |
615 | w13.Part1 = p14 | |
616 | w13.C1 = CFrame.new(69.1140671, 24.5752277, -67.4901428, -2.4837334e-008, -0.462350011, -0.886697888, 5.64353009e-010, 0.886697888, -0.462350011, 1, -1.19839818e-008, -2.17623022e-008) | |
617 | w14 = Instance.new("Weld", p14) | |
618 | w14.Name = "Part_Weld" | |
619 | w14.Part0 = p14 | |
620 | w14.C0 = CFrame.new(69.1140671, 24.5752277, -67.4901428, -2.4837334e-008, -0.462350011, -0.886697888, 5.64353009e-010, 0.886697888, -0.462350011, 1, -1.19839818e-008, -2.17623022e-008) | |
621 | w14.Part1 = p15 | |
622 | w14.C1 = CFrame.new(47.9809418, -52.7511749, -67.5101318, -3.94735267e-008, 0.64509654, -0.764101744, -4.55740418e-010, 0.764101744, 0.64509654, 1, 2.58124242e-008, -2.98677882e-008) | |
623 | w15 = Instance.new("Weld", p15) | |
624 | w15.Name = "Part_Weld" | |
625 | w15.Part0 = p15 | |
626 | w15.C0 = CFrame.new(47.9809418, -52.7511749, -67.5101318, -3.94735267e-008, 0.64509654, -0.764101744, -4.55740418e-010, 0.764101744, 0.64509654, 1, 2.58124242e-008, -2.98677882e-008) | |
627 | w15.Part1 = p16 | |
628 | w15.C1 = CFrame.new(-75.3105469, -10.1974039, -67.5001221, -4.37113883e-008, 0.258818924, 0.965925872, 0, -0.965925872, 0.258818924, 1, 1.13133343e-008, 4.22219593e-008) | |
629 | w16 = Instance.new("Weld", p16) | |
630 | w16.Name = "Part_Weld" | |
631 | w16.Part0 = p16 | |
632 | w16.C0 = CFrame.new(-75.3105469, -10.1974039, -67.5001221, -4.37113883e-008, 0.258818924, 0.965925872, 0, -0.965925872, 0.258818924, 1, 1.13133343e-008, 4.22219593e-008) | |
633 | w16.Part1 = p17 | |
634 | w16.C1 = CFrame.new(64.0820847, -29.3829937, -67.5001373, -4.09009289e-008, 0.293349952, -0.956005633, 4.38312497e-010, 0.956005633, 0.293349952, 1, 1.15792238e-008, -3.92300876e-008) | |
635 | w17 = Instance.new("Weld", p17) | |
636 | w17.Name = "Wedge_Weld" | |
637 | w17.Part0 = p17 | |
638 | w17.C0 = CFrame.new(64.0820847, -29.3829937, -67.5001373, -4.09009289e-008, 0.293349952, -0.956005633, 4.38312497e-010, 0.956005633, 0.293349952, 1, 1.15792238e-008, -3.92300876e-008) | |
639 | w17.Part1 = p18 | |
640 | w17.C1 = CFrame.new(-67.4979324, 69.4871521, -6.82958078, 1, 3.05171125e-005, -3.05180438e-005, -3.05171125e-005, -3.05180438e-005, -1, -3.05180438e-005, 1, -3.05171125e-005) | |
641 | w18 = Instance.new("Weld", p18) | |
642 | w18.Name = "Wedge_Weld" | |
643 | w18.Part0 = p18 | |
644 | w18.C0 = CFrame.new(-67.4979324, 69.4871521, -6.82958078, 1, 3.05171125e-005, -3.05180438e-005, -3.05171125e-005, -3.05180438e-005, -1, -3.05180438e-005, 1, -3.05171125e-005) | |
645 | w18.Part1 = p19 | |
646 | w18.C1 = CFrame.new(67.4982986, -75.0367737, -6.83008671, -1, -9.15532e-005, 3.05161811e-005, 3.05189751e-005, -3.05161811e-005, 1, -9.15522687e-005, 1, 3.05189751e-005) | |
647 | w19 = Instance.new("Weld", p19) | |
648 | w19.Name = "Part_Weld" | |
649 | w19.Part0 = p19 | |
650 | w19.C0 = CFrame.new(67.4982986, -75.0367737, -6.83008671, -1, -9.15532e-005, 3.05161811e-005, 3.05189751e-005, -3.05161811e-005, 1, -9.15522687e-005, 1, 3.05189751e-005) | |
651 | w19.Part1 = p20 | |
652 | w19.C1 = CFrame.new(-16.3677292, -69.9670334, -67.5001678, -1.77821063e-010, 0.992886961, 0.119063012, -1.46926671e-009, -0.119063012, 0.992886961, 1, 1.59595731e-012, 1.47997492e-009) | |
653 | w20 = Instance.new("Weld", p20) | |
654 | w20.Name = "Part_Weld" | |
655 | w20.Part0 = p20 | |
656 | w20.C0 = CFrame.new(-16.3677292, -69.9670334, -67.5001678, -1.77821063e-010, 0.992886961, 0.119063012, -1.46926671e-009, -0.119063012, 0.992886961, 1, 1.59595731e-012, 1.47997492e-009) | |
657 | w20.Part1 = p21 | |
658 | w20.C1 = CFrame.new(-67.5104218, -38.2193756, 67.100563, 1, -4.10709617e-005, 9.00123541e-006, -3.82823673e-005, -0.800855637, 0.598857403, -1.73869594e-005, -0.598857403, -0.800855637) | |
659 | m.Parent = char | |
660 | m:MakeJoints() | |
661 | ---------------------------------------------------- | |
662 | local cor = Instance.new("Part", char.Absolution) | |
663 | cor.Name = "Thingy" | |
664 | cor.Locked = true | |
665 | cor.BottomSurface = 0 | |
666 | cor.CanCollide = false | |
667 | cor.Size = Vector3.new(1, 13, 1) | |
668 | cor.Transparency = 1 | |
669 | cor.TopSurface = 0 | |
670 | corw = Instance.new("Weld", cor) | |
671 | corw.Part0 = rarm | |
672 | corw.Part1 = cor | |
673 | corw.C0 = CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
674 | corw.C1 = CFrame.new(0, 0, 0) | |
675 | weld1 = Instance.new("Weld", char.Absolution) | |
676 | weld1.Part0 = cor | |
677 | weld1.Part1 = p6 | |
678 | weld1.C0 = CFrame.new(0, 0, 0) | |
679 | ---------------------------------------------------- | |
680 | hitb = Instance.new("Part", char.Absolution) | |
681 | hitb.Name = "Thingy2" | |
682 | hitb.Locked = true | |
683 | hitb.BottomSurface = 0 | |
684 | hitb.CanCollide = false | |
685 | hitb.Size = Vector3.new(0, 8, 6) | |
686 | hitb.Transparency = 1 | |
687 | hitb.TopSurface = 0 | |
688 | weld2 = Instance.new("Weld", char.Absolution) | |
689 | weld2.Part0 = hitb | |
690 | weld2.Part1 = p12 | |
691 | weld2.C0 = CFrame.new(0, .6, 1) | |
692 | ---------------------------------------------------- | |
693 | ||
694 | ---------------------------------------------------- | |
695 | ||
696 | ---------------------------------------------------- | |
697 | function weld5(part0, part1, c0, c1) | |
698 | weeld=Instance.new("Weld", part0) | |
699 | weeld.Part0=part0 | |
700 | weeld.Part1=part1 | |
701 | weeld.C0=c0 | |
702 | weeld.C1=c1 | |
703 | return weeld | |
704 | end | |
705 | ---------------------------------------------------- | |
706 | function newRay(start,face,range,wat) | |
707 | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) | |
708 | hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat) | |
709 | return rey,hit,pos | |
710 | end | |
711 | ---------------------------------------------------- | |
712 | mod5 = Instance.new("Model",char) | |
713 | ||
714 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
715 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
716 | local List = {} | |
717 | for i,v in pairs(workspace:GetChildren())do | |
718 | if v:IsA("Model")then | |
719 | if v:findFirstChild("Torso")then | |
720 | if v ~= char then | |
721 | if(v.Torso.Position -Position).magnitude <= Distance then | |
722 | table.insert(List,v) | |
723 | end | |
724 | end | |
725 | end | |
726 | end | |
727 | end | |
728 | return List | |
729 | end | |
730 | ||
731 | function Landing() | |
732 | part=Instance.new('Part',mod5) | |
733 | part.Anchored=true | |
734 | part.CanCollide=false | |
735 | part.FormFactor='Custom' | |
736 | part.Size=Vector3.new(.2,.2,.2) | |
737 | part.CFrame=root.CFrame*CFrame.new(0,-2,0) | |
738 | part.Transparency=.7 | |
739 | part.BrickColor=BrickColor.new('White') | |
740 | mesh=Instance.new('SpecialMesh',part) | |
741 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
742 | mesh.Scale=Vector3.new(10,5,10) | |
743 | ||
744 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,40))do | |
745 | if v:IsA'Model' and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Head") then | |
746 | v:breakJoints'' | |
747 | end | |
748 | end | |
749 | ||
750 | ||
751 | coroutine.resume(coroutine.create(function() | |
752 | for i=0,3.8,0.05 do | |
753 | wait() | |
754 | part.CFrame=part.CFrame | |
755 | part.Transparency=i | |
756 | mesh.Scale=mesh.Scale+Vector3.new(1,0.2,1) | |
757 | end | |
758 | part.Parent = nil | |
759 | end)) | |
760 | end | |
761 | ---------------------------------------------------- | |
762 | mod4 = Instance.new("Model",char) | |
763 | ||
764 | ptez = {0.7, 0.8, 0.9, 1} | |
765 | ||
766 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
767 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
768 | local List = {} | |
769 | for i,v in pairs(workspace:GetChildren())do | |
770 | if v:IsA("Model")then | |
771 | if v:findFirstChild("Torso")then | |
772 | if v ~= char then | |
773 | if(v.Torso.Position -Position).magnitude <= Distance then | |
774 | table.insert(List,v) | |
775 | end | |
776 | end | |
777 | end | |
778 | end | |
779 | end | |
780 | return List | |
781 | end | |
782 | ||
783 | function GroundPound() | |
784 | part=Instance.new('Part',mod4) | |
785 | part.Anchored=true | |
786 | part.CanCollide=false | |
787 | part.FormFactor='Custom' | |
788 | part.Size=Vector3.new(.2,.2,.2) | |
789 | part.CFrame=root.CFrame*CFrame.new(0,-5.8,-2.4)*CFrame.Angles(math.rad(90),0,0) | |
790 | part.Transparency=.7 | |
791 | part.BrickColor=BrickColor.new('White') | |
792 | mesh=Instance.new('SpecialMesh',part) | |
793 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
794 | mesh.Scale=Vector3.new(3,3,3) | |
795 | part2=Instance.new('Part',mod4) | |
796 | part2.Anchored=true | |
797 | part2.CanCollide=false | |
798 | part2.FormFactor='Custom' | |
799 | part2.Size=Vector3.new(.2,.2,.2) | |
800 | part2.CFrame=root.CFrame*CFrame.new(0,-5,-2.6) | |
801 | part2.Transparency=.7 | |
802 | part2.BrickColor=BrickColor.new('Really red') | |
803 | mesh2=Instance.new('SpecialMesh',part2) | |
804 | mesh2.MeshId='http://www.roblox.com/asset/?id=20329976' | |
805 | mesh2.Scale=Vector3.new(3,1.5,3) | |
806 | x = Instance.new("Sound",char) | |
807 | x.SoundId = "http://www.roblox.com/asset/?id=142070127" | |
808 | x.Pitch = ptez[math.random(1,#ptez)] | |
809 | x.Volume = 1 | |
810 | wait(.1) | |
811 | x:Play() | |
812 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,12))do | |
813 | if v:IsA'Model' and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Head") then | |
814 | v:breakJoints'' | |
815 | end | |
816 | end | |
817 | coroutine.resume(coroutine.create(function() | |
818 | for i=0,0.62,0.13 do | |
819 | wait() | |
820 | part.CFrame=part.CFrame | |
821 | part.Transparency=i | |
822 | mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4) | |
823 | part2.CFrame=part2.CFrame | |
824 | part2.Transparency=i | |
825 | mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4) | |
826 | end | |
827 | part.Parent=nil | |
828 | part2.Parent=nil | |
829 | x:Destroy() | |
830 | end)) | |
831 | end | |
832 | ---------------------------------------------------- | |
833 | mod=Instance.new('Model',char) | |
834 | ||
835 | function charge() | |
836 | hed.Velocity=hed.CFrame.lookVector*200 | |
837 | part=Instance.new('Part',mod) | |
838 | part.Anchored=true | |
839 | part.CanCollide=false | |
840 | part.FormFactor='Custom' | |
841 | part.Size=Vector3.new(.2,.2,.2) | |
842 | part.CFrame=hed.CFrame*CFrame.Angles(math.rad(90),0,0) | |
843 | part.Transparency=.7 | |
844 | part.BrickColor=BrickColor.new('Black') | |
845 | mesh=Instance.new('SpecialMesh',part) | |
846 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
847 | mesh.Scale=Vector3.new(10,5,10) | |
848 | part2=part:clone() | |
849 | part2.Parent=mod | |
850 | part2.BrickColor=BrickColor.new('Bright red') | |
851 | mesh2=mesh:clone() | |
852 | mesh2.Parent=part2 | |
853 | mesh2.Scale=Vector3.new(20,10,20) | |
854 | part3=part2:clone() | |
855 | part3.Parent = mod | |
856 | part3.BrickColor=BrickColor.new('White') | |
857 | mesh3=mesh2:clone() | |
858 | mesh2.Parent=part3 | |
859 | mesh3.Scale=Vector3.new(30,15,30) | |
860 | coroutine.resume(coroutine.create(function() | |
861 | for i=0,1,0.1 do | |
862 | wait() | |
863 | part.CFrame=part.CFrame | |
864 | part.Transparency=i | |
865 | mesh.Scale=mesh.Scale+Vector3.new(1,1,1) | |
866 | part2.CFrame=part2.CFrame | |
867 | part2.Transparency=i | |
868 | mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1) | |
869 | part3.CFrame=part3.CFrame | |
870 | part3.Transparency=i | |
871 | mesh3.Scale=mesh3.Scale+Vector3.new(1,1,1) | |
872 | end | |
873 | part.Parent=nil | |
874 | part2.Parent=nil | |
875 | part3.Parent = nil | |
876 | end)) | |
877 | end | |
878 | ---------------------------------------------------- | |
879 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
880 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
881 | local List = {} | |
882 | for i,v in pairs(workspace:GetChildren())do | |
883 | if v:IsA("Model")then | |
884 | if v:findFirstChild("Torso")then | |
885 | if v ~= char then | |
886 | if(v.Torso.Position -Position).magnitude <= Distance then | |
887 | table.insert(List,v) | |
888 | end | |
889 | end | |
890 | end | |
891 | end | |
892 | end | |
893 | return List | |
894 | end | |
895 | ||
896 | mod3 = Instance.new("Model",rleg) | |
897 | ||
898 | function Stomp() | |
899 | part=Instance.new('Part',mod3) | |
900 | part.Anchored=true | |
901 | part.CanCollide=false | |
902 | part.FormFactor='Custom' | |
903 | part.Size=Vector3.new(.2,.2,.2) | |
904 | part.CFrame=rleg.CFrame*CFrame.new(0,-2.4,0)*CFrame.Angles(math.rad(90),0,0) | |
905 | part.Transparency=.7 | |
906 | part.BrickColor=BrickColor.new('Bright green') | |
907 | mesh=Instance.new('SpecialMesh',part) | |
908 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
909 | mesh.Scale=Vector3.new(25,25,25) | |
910 | part2=part:clone() | |
911 | part2.Parent=mod3 | |
912 | part2.BrickColor=BrickColor.new('Bright green') | |
913 | mesh2=mesh:clone() | |
914 | mesh2.Parent=part2 | |
915 | mesh2.Scale=Vector3.new(15,15,15) | |
916 | part3=part:clone() | |
917 | part3.Parent=mod3 | |
918 | part3.TopSurface=0 | |
919 | part3.BottomSurface=0 | |
920 | part3.CFrame=rleg.CFrame*CFrame.new(0,-3,0) | |
921 | mesh3=Instance.new('SpecialMesh',part3) | |
922 | mesh3.MeshType = 3 | |
923 | mesh3.Scale=Vector3.new(12,12,12) | |
924 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,12))do | |
925 | if v:IsA'Model' and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Head") then | |
926 | v:breakJoints'' | |
927 | end | |
928 | end | |
929 | coroutine.resume(coroutine.create(function() | |
930 | for i=0,3.8,0.05 do | |
931 | wait() | |
932 | part.CFrame=part.CFrame | |
933 | part.Transparency=i | |
934 | mesh.Scale=mesh.Scale+Vector3.new(2.8,2.8,2.8) | |
935 | part2.CFrame=part2.CFrame | |
936 | part2.Transparency=i | |
937 | mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1) | |
938 | part3.CFrame=part3.CFrame | |
939 | part3.Transparency=i | |
940 | mesh3.Scale=mesh3.Scale+Vector3.new(1.5,1.5,1.5) | |
941 | end | |
942 | end)) | |
943 | end | |
944 | ---------------------------------------------------- | |
945 | ||
946 | local acos = math.acos | |
947 | local sqrt = math.sqrt | |
948 | local Vec3 = Vector3.new | |
949 | local fromAxisAngle = CFrame.fromAxisAngle | |
950 | ||
951 | local function toAxisAngle(CFr) | |
952 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
953 | local Angle = math.acos((R00+R11+R22-1)/2) | |
954 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
955 | A = A == 0 and 0.00001 or A | |
956 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
957 | B = B == 0 and 0.00001 or B | |
958 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
959 | C = C == 0 and 0.00001 or C | |
960 | local x = (R21-R12)/sqrt(A) | |
961 | local y = (R02-R20)/sqrt(B) | |
962 | local z = (R10-R01)/sqrt(C) | |
963 | return Vec3(x,y,z),Angle | |
964 | end | |
965 | ||
966 | function ApplyTrig(Num,Func) | |
967 | local Min,Max = Func(0),Func(1) | |
968 | local i = Func(Num) | |
969 | return (i-Min)/(Max-Min) | |
970 | --[[if Func == "sin" then | |
971 | return (math.sin((1-Num)*math.pi)+1)/2 | |
972 | elseif Func == "cos" then | |
973 | return (math.cos((1-Num)*math.pi)+1)/2 | |
974 | end]] | |
975 | end | |
976 | ||
977 | function LerpCFrame(CFrame1,CFrame2,Num) | |
978 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
979 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
980 | end | |
981 | ||
982 | function Crater(Torso,Radius) | |
983 | Spawn(function() | |
984 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
985 | local Ignore = {} | |
986 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
987 | if v.Character ~= nil then | |
988 | Ignore[#Ignore+1] = v.Character | |
989 | end | |
990 | end | |
991 | local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
992 | if Hit == nil then return end | |
993 | local Parts = {} | |
994 | for i = 1,360,10 do | |
995 | local P = Instance.new("Part",Torso.Parent) | |
996 | P.Anchored = true | |
997 | P.FormFactor = "Custom" | |
998 | P.BrickColor = Hit.BrickColor | |
999 | P.Material = Hit.Material | |
1000 | P.TopSurface = "Smooth" | |
1001 | P.BottomSurface = "Smooth" | |
1002 | P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100) | |
1003 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
1004 | Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size} | |
1005 | if math.random(0,5) == 0 then -- rubble | |
1006 | local P = Instance.new("Part",Torso.Parent) | |
1007 | P.Anchored = true | |
1008 | P.FormFactor = "Custom" | |
1009 | P.BrickColor = Hit.BrickColor | |
1010 | P.Material = Hit.Material | |
1011 | P.TopSurface = "Smooth" | |
1012 | P.BottomSurface = "Smooth" | |
1013 | P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100) | |
1014 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
1015 | Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size} | |
1016 | end | |
1017 | end | |
1018 | for i = 0,1,0.05 do | |
1019 | for i2,v in pairs(Parts) do | |
1020 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
1021 | end | |
1022 | wait(0.02) | |
1023 | end | |
1024 | for i,v in pairs(Parts) do | |
1025 | if v[1].Size.X > 2.1 then | |
1026 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
1027 | end | |
1028 | v[1].Anchored = false | |
1029 | end | |
1030 | for i = 0,1,0.05 do | |
1031 | for i2,v in pairs(Parts) do | |
1032 | v[1].Transparency = i | |
1033 | if i == 1 then | |
1034 | v[1]:Destroy() | |
1035 | elseif i >= 0.25 then | |
1036 | v[1].CanCollide = false | |
1037 | end | |
1038 | end | |
1039 | wait(0.02) | |
1040 | end | |
1041 | Parts = nil | |
1042 | end) | |
1043 | end | |
1044 | ||
1045 | ---------------------------------------------------- | |
1046 | mouse.KeyDown:connect(function(key) | |
1047 | if key == "r" then | |
1048 | larm.BrickColor = BrickColor.new("Bright red") | |
1049 | rarm.BrickColor = BrickColor.new("Bright red") | |
1050 | if Debounces.CanAttack == true then | |
1051 | Debounces.CanAttack = false | |
1052 | Debounces.on = true | |
1053 | Debounces.NoIdl = true | |
1054 | to = char.Absolution.Thingy2.Touched:connect(function(ht) | |
1055 | hit = ht.Parent | |
1056 | if ht and hit:IsA("Model") then | |
1057 | if hit:FindFirstChild("Humanoid") then | |
1058 | if hit.Name ~= p.Name then | |
1059 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
1060 | Debounces.Slashed = true]]-- | |
1061 | hit:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
1062 | wait(1) | |
1063 | ||
1064 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,12))do | |
1065 | if v:IsA'Model' and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Head") then | |
1066 | v:breakJoints'' | |
1067 | end | |
1068 | end | |
1069 | --Debounces.Slashed = false | |
1070 | --end | |
1071 | end | |
1072 | end | |
1073 | elseif ht and hit:IsA("Hat") then | |
1074 | if hit.Parent.Name ~= p.Name then | |
1075 | if hit.Parent:FindFirstChild("Humanoid") then | |
1076 | --[[ if Debounces.Slashing == true and Debounces.Slashed == false then | |
1077 | Debounces.Slashed = true]]-- | |
1078 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
1079 | wait(1) | |
1080 | ||
1081 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,12))do | |
1082 | if v:IsA'Model' and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Head") then | |
1083 | v:breakJoints'' | |
1084 | end | |
1085 | end | |
1086 | --Debounces.Slashed = false | |
1087 | end | |
1088 | end | |
1089 | end | |
1090 | end) | |
1091 | q = Instance.new("Sound",hed) | |
1092 | q.SoundId = "http://www.roblox.com/asset/?id=134012322" | |
1093 | q.Pitch = 0.85 | |
1094 | q.Looped = false | |
1095 | q1 = Instance.new("Sound",hed) | |
1096 | q1.SoundId = "http://www.roblox.com/asset/?id=134012322" | |
1097 | q1.Pitch = 0.85 | |
1098 | q1.Looped = false | |
1099 | q:Play() | |
1100 | q1:Play() | |
1101 | for i = 1,20 do | |
1102 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(-55)), 0.4) | |
1103 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(55)), 0.4) | |
1104 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)),0.4) | |
1105 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 4, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.4) | |
1106 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 1) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4) | |
1107 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .6) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4) | |
1108 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -2.2, -3) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(0)), 0.5) | |
1109 | if Debounces.on == false then break end | |
1110 | wait() | |
1111 | end | |
1112 | n = Instance.new("Sound",hed) | |
1113 | n.SoundId = "http://www.roblox.com/asset/?id=168514932" | |
1114 | n.Pitch = 0.94 | |
1115 | n.Looped = false | |
1116 | n1 = Instance.new("Sound",hed) | |
1117 | n1.SoundId = "http://www.roblox.com/asset/?id=168514932" | |
1118 | n1.Pitch = 0.94 | |
1119 | n1.Looped = false | |
1120 | n:Play() | |
1121 | n1:Play() | |
1122 | b = Instance.new("Sound",hed) | |
1123 | b.SoundId = "http://www.roblox.com/asset/?id=783186930" | |
1124 | b.Pitch = 3.5 | |
1125 | b.Looped = false | |
1126 | b1 = Instance.new("Sound",hed) | |
1127 | b1.SoundId = "http://www.roblox.com/asset/?id=783186930" | |
1128 | b1.Pitch = 3.5 | |
1129 | b1.Looped = false | |
1130 | b:Play() | |
1131 | b1:Play() | |
1132 | for i = 1,26 do | |
1133 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,1.1,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(-55)), 0.5) | |
1134 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,1.1,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(55)), 0.5) | |
1135 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)),0.5) | |
1136 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), 0), 0.5) | |
1137 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -1) * CFrame.Angles(math.rad(50), 0, math.rad(0)), 0.5) | |
1138 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .4) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.5) | |
1139 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 0.5) | |
1140 | if Debounces.on == false then break end | |
1141 | wait() | |
1142 | end | |
1143 | wait(.5) | |
1144 | to:disconnect() | |
1145 | q:Destroy() | |
1146 | q1:Destroy() | |
1147 | n:Destroy() | |
1148 | n1:Destroy() | |
1149 | larm.BrickColor = BrickColor.new("White") | |
1150 | rarm.BrickColor = BrickColor.new("White") | |
1151 | if Debounces.CanAttack == false then | |
1152 | Debounces.CanAttack = true | |
1153 | Debounces.on = false | |
1154 | Debounces.NoIdl = false | |
1155 | end | |
1156 | end | |
1157 | end | |
1158 | end) | |
1159 | ---------------------------------------------------- | |
1160 | --Made by Mtek Exploits | |
1161 | ||
1162 | local s = Instance.new("Sound") | |
1163 | ||
1164 | s.Name = "Sound" | |
1165 | s.SoundId = "http://www.roblox.com/asset/?id=785725639" | |
1166 | s.Volume = 1 | |
1167 | s.Pitch = 2.35 | |
1168 | s.Looped = true | |
1169 | s.archivable = false | |
1170 | ||
1171 | s.Parent = game.Workspace | |
1172 | ||
1173 | wait(.5) | |
1174 | ||
1175 | s:play() | |
1176 | ---------------------------------------------------- | |
1177 | mouse.KeyDown:connect(function(key) | |
1178 | if key == "q" then | |
1179 | larm.BrickColor = BrickColor.new("Bright red") | |
1180 | rarm.BrickColor = BrickColor.new("Bright red") | |
1181 | if Debounces.CanAttack == true then | |
1182 | Debounces.CanAttack = false | |
1183 | Debounces.on = true | |
1184 | Debounces.NoIdl = true | |
1185 | to = char.Absolution.Thingy2.Touched:connect(function(ht) | |
1186 | hit = ht.Parent | |
1187 | if ht and hit:IsA("Model") then | |
1188 | if hit:FindFirstChild("Humanoid") then | |
1189 | if hit.Name ~= p.Name then | |
1190 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
1191 | Debounces.Slashed = true]]-- | |
1192 | hit:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
1193 | ||
1194 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,12))do | |
1195 | if v:IsA'Model' and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Head") then | |
1196 | v:breakJoints'' | |
1197 | end | |
1198 | end | |
1199 | wait(1) | |
1200 | --Debounces.Slashed = false | |
1201 | --end | |
1202 | end | |
1203 | end | |
1204 | elseif ht and hit:IsA("Hat") then | |
1205 | if hit.Parent.Name ~= p.Name then | |
1206 | if hit.Parent:FindFirstChild("Humanoid") then | |
1207 | --[[ if Debounces.Slashing == true and Debounces.Slashed == false then | |
1208 | Debounces.Slashed = true]]-- | |
1209 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
1210 | wait(1) | |
1211 | ||
1212 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,12))do | |
1213 | if v:IsA'Model' and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Head") then | |
1214 | v:breakJoints'' | |
1215 | end | |
1216 | end | |
1217 | --Debounces.Slashed = false | |
1218 | end | |
1219 | end | |
1220 | end | |
1221 | end) | |
1222 | for i = 1, 20 do | |
1223 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(21), math.rad(75), math.rad(50)), 0.2) | |
1224 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(-18)), 0.2) | |
1225 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(-60),0), 0.5) | |
1226 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(70), 0), 0.5) | |
1227 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.5) | |
1228 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.5) | |
1229 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.7, -1.4) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
1230 | if Debounces.on == false then break end | |
1231 | wait() | |
1232 | end | |
1233 | z = Instance.new("Sound",hed) | |
1234 | z.SoundId = "rbxassetid://160069154" | |
1235 | z.Looped = false | |
1236 | z.Pitch = .9 | |
1237 | z1 = Instance.new("Sound",hed) | |
1238 | z1.SoundId = "rbxassetid://160069154" | |
1239 | z1.Looped = false | |
1240 | z1.Pitch = .9 | |
1241 | wait(0.01) | |
1242 | z:Play() | |
1243 | z1:Play() | |
1244 | for i = 1, 12 do | |
1245 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(50)), 0.2) | |
1246 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2,.9,-1) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(20)), 0.5) | |
1247 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(30),0), 0.5) | |
1248 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.5) | |
1249 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -2) * CFrame.Angles(math.rad(-10), 0, 0), 0.5) | |
1250 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.8, .6) * CFrame.Angles(math.rad(-65), 0, 0), 0.5) | |
1251 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.7, -1.4) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
1252 | if Debounces.on == false then break end | |
1253 | wait() | |
1254 | end | |
1255 | for i = 1, 12 do | |
1256 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(140), math.rad(0), math.rad(50)), 0.4) | |
1257 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-18)), 0.4) | |
1258 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(10),0), 0.5) | |
1259 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-10), 0), 0.5) | |
1260 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.5) | |
1261 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.5) | |
1262 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.7, -1.4) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
1263 | if Debounces.on == false then break end | |
1264 | wait() | |
1265 | end | |
1266 | z = Instance.new("Sound",hed) | |
1267 | z.SoundId = "rbxassetid://168586621" | |
1268 | z.Looped = false | |
1269 | z.Pitch = 1 | |
1270 | z1 = Instance.new("Sound",hed) | |
1271 | z1.SoundId = "rbxassetid://168586621" | |
1272 | z1.Looped = false | |
1273 | z1.Pitch = 1 | |
1274 | wait(0.01) | |
1275 | z:Play() | |
1276 | z1:Play() | |
1277 | for i = 1, 12 do | |
1278 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(40), math.rad(-20), math.rad(10)), 0.5) | |
1279 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-18)), 0.4) | |
1280 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(-40),0), 0.5) | |
1281 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(40), 0), 0.5) | |
1282 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(-10)), 0.5) | |
1283 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(20), 0, math.rad(10)), 0.5) | |
1284 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -2.8, -1.4) * CFrame.Angles(math.rad(-110), math.rad(-90), math.rad(20)), 1) | |
1285 | if Debounces.on == false then break end | |
1286 | wait() | |
1287 | end | |
1288 | to:disconnect() | |
1289 | larm.BrickColor = BrickColor.new("White") | |
1290 | rarm.BrickColor = BrickColor.new("White") | |
1291 | if Debounces.CanAttack == false then | |
1292 | Debounces.CanAttack = true | |
1293 | Debounces.on = false | |
1294 | Debounces.NoIdl = false | |
1295 | end | |
1296 | end | |
1297 | end | |
1298 | end) | |
1299 | ---------------------------------------------------- | |
1300 | Sit = false | |
1301 | mouse.KeyDown:connect(function(key) | |
1302 | if key == "v" then | |
1303 | if Sit == false then | |
1304 | Sit = true | |
1305 | hum.WalkSpeed = 60 | |
1306 | stanceToggle = "Sitting" | |
1307 | elseif Sit == true then | |
1308 | Sit = false | |
1309 | hum.WalkSpeed = 60 | |
1310 | stanceToggle = "Normal" | |
1311 | end | |
1312 | end | |
1313 | end) | |
1314 | ---------------------------------------------------- | |
1315 | mouse.KeyDown:connect(function(key) | |
1316 | if key == "t" then | |
1317 | if Debounces.CanAttack == true then | |
1318 | Debounces.CanAttack = false | |
1319 | Debounces.on = true | |
1320 | Debounces.NoIdl = true | |
1321 | for i = 1, 20 do | |
1322 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(-55)), 0.4) | |
1323 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(55)), 0.4) | |
1324 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)),0.4) | |
1325 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.4) | |
1326 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, .6) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.4) | |
1327 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.2) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.4) | |
1328 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 1) | |
1329 | if Debounces.on == false then break end | |
1330 | wait() | |
1331 | end | |
1332 | Spawn(function() | |
1333 | local Parts = {} | |
1334 | for Y = -5,5 do | |
1335 | local P = Instance.new("Part",char) | |
1336 | P.Anchored = true | |
1337 | P.FormFactor = "Custom" | |
1338 | P.CanCollide = false | |
1339 | P.Size = Vector3.new(1,2,1) | |
1340 | P.TopSurface = "SmoothNoOutlines" | |
1341 | P.BottomSurface = "SmoothNoOutlines" | |
1342 | P.BrickColor = BrickColor.new("White") | |
1343 | P.Name = tostring(Y) | |
1344 | local i = (Y+5)/(10) | |
1345 | i = 1-math.cos(math.pi*i-(math.pi/2)) | |
1346 | P.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,Y,-15+(i*1.5))*CFrame.Angles(math.rad(Y*5),0,0) | |
1347 | --[[P.Touched:connect(function(ht) | |
1348 | local hit = ht.Parent | |
1349 | if hit:FindFirstChild("Humanoid") then | |
1350 | hit.Humanoid:TakeDamage(math.random(20,50)) | |
1351 | end | |
1352 | end)]]-- | |
1353 | s = Instance.new("Sound",P) | |
1354 | s.SoundId = "rbxassetid://228343271" | |
1355 | s.Volume = .7 | |
1356 | s.Pitch = 0.9 | |
1357 | s:Play() | |
1358 | P.Touched:connect(function(ht) | |
1359 | hit = ht.Parent | |
1360 | if ht and hit:IsA("Model") then | |
1361 | if hit:FindFirstChild("Humanoid") then | |
1362 | if hit.Name ~= p.Name then | |
1363 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
1364 | Debounces.Slashed = true]]-- | |
1365 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(math.huge)) | |
1366 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
1367 | ||
1368 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,12))do | |
1369 | if v:IsA'Model' and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Head") then | |
1370 | v:breakJoints'' | |
1371 | end | |
1372 | end | |
1373 | wait(1) | |
1374 | --Debounces.Slashed = false | |
1375 | --end | |
1376 | end | |
1377 | end | |
1378 | elseif ht and hit:IsA("Hat") then | |
1379 | if hit.Parent.Name ~= p.Name then | |
1380 | if hit.Parent:FindFirstChild("Humanoid") then | |
1381 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
1382 | Debounces.Slashed = true]]-- | |
1383 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random (math.huge)) | |
1384 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
1385 | ||
1386 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,12))do | |
1387 | if v:IsA'Model' and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Head") then | |
1388 | v:breakJoints'' | |
1389 | end | |
1390 | end | |
1391 | wait(1) | |
1392 | --Debounces.Slashed = false | |
1393 | --end | |
1394 | end | |
1395 | end | |
1396 | end | |
1397 | end) | |
1398 | Parts[#Parts+1] = P | |
1399 | end | |
1400 | local BREAKIT = false | |
1401 | local CParts = {} | |
1402 | local Rocks = {} | |
1403 | local LastPos = nil | |
1404 | for i = 1,70 do | |
1405 | for i2,v in pairs(Parts) do | |
1406 | v.CFrame = v.CFrame*CFrame.new(0,0,-4) | |
1407 | local cf = v.CFrame | |
1408 | v.Size = v.Size+Vector3.new(0.4,0.35,0) | |
1409 | v.CFrame = cf | |
1410 | v.Transparency = v.Transparency+0.02 | |
1411 | if v.Transparency >= 0.975 then BREAKIT = true end | |
1412 | if v.Name == "0" then | |
1413 | local Ignore = {} | |
1414 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
1415 | if v.Character ~= nil then | |
1416 | Ignore[#Ignore+1] = v.Character | |
1417 | end | |
1418 | end | |
1419 | local ray = Ray.new(v.Position+Vector3.new(0,20,0),Vector3.new(0,-200,0)) | |
1420 | local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(ray,Ignore) | |
1421 | if Hit ~= nil then | |
1422 | if #Rocks == 0 then | |
1423 | for i = 1,5 do | |
1424 | local P = Instance.new("Part",char) | |
1425 | Rocks[#Rocks+1] = P | |
1426 | P.Anchored = true | |
1427 | P.FormFactor = "Custom" | |
1428 | P.BrickColor = Hit.BrickColor | |
1429 | P.Material = Hit.Material | |
1430 | P.TopSurface = "Smooth" | |
1431 | P.BottomSurface = "Smooth" | |
1432 | P.Size = Vector3.new(1,1,1)*(math.random(500,900)/100) | |
1433 | end | |
1434 | end | |
1435 | for i,P in pairs(Rocks) do | |
1436 | P.CFrame = ((CFrame.new(Pos)*(v.CFrame-v.Position))*CFrame.new(math.random(-math.ceil(v.Size.X/2),math.ceil(v.Size.X/2)),0,-math.random(5,8))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50))) | |
1437 | end | |
1438 | local P = Instance.new("Part",char) | |
1439 | CParts[#CParts+1] = {P,tick()} | |
1440 | P.Anchored = true | |
1441 | P.FormFactor = "Custom" | |
1442 | P.BrickColor = Hit.BrickColor | |
1443 | P.Material = Hit.Material | |
1444 | P.TopSurface = "Smooth" | |
1445 | P.BottomSurface = "Smooth" | |
1446 | P.Size = Vector3.new(1,1,1)*(math.random(100,300)/100) | |
1447 | Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0) | |
1448 | Pos = Pos.p | |
1449 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50))) | |
1450 | local P = P:Clone() | |
1451 | CParts[#CParts+1] = {P,tick()} | |
1452 | P.Parent = char | |
1453 | Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(-v.Size.X,0,0) | |
1454 | Pos = Pos.p | |
1455 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,-20))) | |
1456 | if LastPos ~= nil then | |
1457 | local P = P:Clone() | |
1458 | CParts[#CParts+1] = {P,tick()} | |
1459 | P.Parent = char | |
1460 | P.BrickColor = BrickColor.new("White") | |
1461 | Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0) | |
1462 | Pos = Pos.p | |
1463 | local CFr = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0) | |
1464 | P.Size = Vector3.new(v.Size.X-0.25,1,(CFr.p-LastPos.p).Magnitude+0.25) | |
1465 | --P.Velocity = Vector3.new(0,-1000,0) | |
1466 | P.CFrame = CFrame.new(CFr.p,LastPos.p)*CFrame.new(0,0,-((CFr.p-LastPos.p).Magnitude+0.25)/2) | |
1467 | end | |
1468 | LastPos = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0) | |
1469 | end | |
1470 | end | |
1471 | end | |
1472 | if BREAKIT then break end | |
1473 | wait(0.002) | |
1474 | end | |
1475 | for i,v in pairs(Rocks) do | |
1476 | CParts[#CParts+1] = {v,tick()} | |
1477 | end | |
1478 | for i,v in pairs(Parts) do | |
1479 | v:Destroy() | |
1480 | end | |
1481 | Parts = nil | |
1482 | while true do | |
1483 | local t = tick() | |
1484 | local p = nil | |
1485 | for i,v in pairs(CParts) do | |
1486 | if t-v[2] > 4 then | |
1487 | v[1].Transparency = v[1].Transparency+0.05 | |
1488 | if v[1].Transparency >= 1 then | |
1489 | v[1]:Destroy() | |
1490 | CParts[i] = nil | |
1491 | end | |
1492 | end | |
1493 | p = v | |
1494 | end | |
1495 | if p == nil then break end | |
1496 | wait(0.002) | |
1497 | end | |
1498 | for i,v in pairs(CParts) do | |
1499 | v:Destroy() | |
1500 | end | |
1501 | CParts = {} | |
1502 | end) | |
1503 | for i = 1, 20 do | |
1504 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,.8,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(-55)), 0.4) | |
1505 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,.8,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(55)), 0.4) | |
1506 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)),0.4) | |
1507 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.6, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.4) | |
1508 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -1.4) * CFrame.Angles(math.rad(40), 0, math.rad(0)), 0.4) | |
1509 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1.6, -.9) * CFrame.Angles(math.rad(10), 0, math.rad(0)), 0.4) | |
1510 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 1) | |
1511 | if Debounces.on == false then break end | |
1512 | wait() | |
1513 | end | |
1514 | if Debounces.CanAttack == false then | |
1515 | Debounces.CanAttack = true | |
1516 | Debounces.on = false | |
1517 | Debounces.NoIdl = false | |
1518 | end | |
1519 | end | |
1520 | end | |
1521 | end) | |
1522 | ---------------------------------------------------- | |
1523 | mouse.KeyDown:connect(function(key) | |
1524 | if key == "e" then | |
1525 | larm.BrickColor = BrickColor.new("Bright red") | |
1526 | rarm.BrickColor = BrickColor.new("Bright red") | |
1527 | if Debounces.CanAttack == true then | |
1528 | Debounces.CanAttack = false | |
1529 | Debounces.on = true | |
1530 | Debounces.NoIdl = true | |
1531 | for i = 1, 18 do | |
1532 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1.7, 0) * CFrame.Angles(math.rad(90),math.rad(50),math.rad(90)), 0.4) | |
1533 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.4) | |
1534 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
1535 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4) | |
1536 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.4) | |
1537 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4) | |
1538 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
1539 | if Debounces.on == false then break end | |
1540 | wait() | |
1541 | end | |
1542 | local HandCF = CFrame.new(char.Absolution.Handle.Position - Vector3.new(0,8.8,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1543 | local rng = Instance.new("Part", char.Absolution.Handle) | |
1544 | rng.Anchored = true | |
1545 | rng.BrickColor = BrickColor.new("White") | |
1546 | rng.CanCollide = true | |
1547 | rng.FormFactor = 3 | |
1548 | rng.Name = "Ring" | |
1549 | rng.Size = Vector3.new(1, 1, 1) | |
1550 | rng.CanCollide = false | |
1551 | rng.Transparency = 0.35 | |
1552 | rng.TopSurface = 0 | |
1553 | rng.BottomSurface = 0 | |
1554 | rng.CFrame = HandCF | |
1555 | local rngm = Instance.new("SpecialMesh", rng) | |
1556 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1557 | rngm.Scale = Vector3.new(1, 1, 2) | |
1558 | x = Instance.new("Sound", hed) | |
1559 | x.SoundId = "http://www.roblox.com/asset/?id=169445602" | |
1560 | x.Looped = false | |
1561 | x.Pitch = .7 | |
1562 | x.Volume = 1 | |
1563 | x1 = Instance.new("Sound", hed) | |
1564 | x1.SoundId = "http://www.roblox.com/asset/?id=169445602" | |
1565 | x1.Looped = false | |
1566 | x1.Pitch = .7 | |
1567 | x1.Volume = 1 | |
1568 | x:Play() | |
1569 | x1:Play() | |
1570 | rngto = rng.Touched:connect(function(ht) | |
1571 | hit = ht.Parent | |
1572 | if ht and hit:IsA("Model") then | |
1573 | if hit:FindFirstChild("Humanoid") then | |
1574 | if hit.Name ~= p.Name then | |
1575 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
1576 | Debounces.Slashed = true]]-- | |
1577 | hit:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
1578 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
1579 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -120 | |
1580 | --Debounces.Slashed = false | |
1581 | ||
1582 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,12))do | |
1583 | if v:IsA'Model' and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Head") then | |
1584 | v:breakJoints'' | |
1585 | end | |
1586 | end | |
1587 | --end | |
1588 | ||
1589 | ||
1590 | end | |
1591 | end | |
1592 | elseif ht and hit:IsA("Hat") then | |
1593 | if hit.Parent.Name ~= p.Name then | |
1594 | if hit.Parent:FindFirstChild("Humanoid") then | |
1595 | --[[ if Debounces.Slashing == true and Debounces.Slashed == false then | |
1596 | Debounces.Slashed = true]]-- | |
1597 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
1598 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
1599 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,12))do | |
1600 | if v:IsA'Model' and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Head") then | |
1601 | v:breakJoints'' | |
1602 | end | |
1603 | end | |
1604 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -120 | |
1605 | --Debounces.Slashed = false | |
1606 | end | |
1607 | end | |
1608 | end | |
1609 | end) | |
1610 | coroutine.wrap(function() | |
1611 | for i = 1, 60, 2 do | |
1612 | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1) | |
1613 | rng.Size = rngm.Scale | |
1614 | rng.CFrame = HandCF | |
1615 | rng.Transparency = i/60 | |
1616 | wait() | |
1617 | end | |
1618 | wait() | |
1619 | rng:Destroy() | |
1620 | end)() | |
1621 | for i = 1, 18 do | |
1622 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, 0) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(90)), 0.4) | |
1623 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.4) | |
1624 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
1625 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4) | |
1626 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.4) | |
1627 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4) | |
1628 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, 0.2) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
1629 | if Debounces.on == false then break end | |
1630 | wait() | |
1631 | end | |
1632 | larm.BrickColor = BrickColor.new("White") | |
1633 | rarm.BrickColor = BrickColor.new("White") | |
1634 | x:Destroy() | |
1635 | x1:Destroy() | |
1636 | if Debounces.CanAttack == false then | |
1637 | Debounces.CanAttack = true | |
1638 | Debounces.on = false | |
1639 | Debounces.NoIdl = false | |
1640 | end | |
1641 | end | |
1642 | end | |
1643 | end) | |
1644 | ---------------------------------------------------- | |
1645 | mouse.KeyDown:connect(function(key) | |
1646 | if key == "y" then | |
1647 | if Debounces.CanAttack == true then | |
1648 | Debounces.CanAttack = false | |
1649 | Debounces.on = true | |
1650 | Debounces.NoIdl = true | |
1651 | for i = 1, 15 do | |
1652 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.2) | |
1653 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-90)), 0.2) | |
1654 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2) | |
1655 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.2) | |
1656 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
1657 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
1658 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
1659 | if Debounces.on == false then break end | |
1660 | wait() | |
1661 | end | |
1662 | x = Instance.new("Sound",char) | |
1663 | x.SoundId = "rbxassetid://131179973" | |
1664 | x.Pitch = 1 | |
1665 | x.Volume = 1 | |
1666 | wait(.1) | |
1667 | x:Play() | |
1668 | Debounces.on = false | |
1669 | Debounces.Here = false | |
1670 | shot = shot + 1 | |
1671 | local rng = Instance.new("Part", char) | |
1672 | rng.Anchored = true | |
1673 | rng.BrickColor = BrickColor.new("Lime green") | |
1674 | rng.Material = "Neon" | |
1675 | rng.CanCollide = false | |
1676 | rng.FormFactor = 3 | |
1677 | rng.Name = "Ring" | |
1678 | rng.Size = Vector3.new(1, 1, 1) | |
1679 | rng.TopSurface = 0 | |
1680 | rng.BottomSurface = 0 | |
1681 | rng2 = rng:clone() | |
1682 | rng3 = rng2:clone() | |
1683 | rng4 = rng2:clone() | |
1684 | local rngm = Instance.new("SpecialMesh", rng) | |
1685 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1686 | rngm.Scale = Vector3.new(10, 10, 1) | |
1687 | rngm.TextureId = "http://www.roblox.com/asset/?id=269748808" | |
1688 | rngm.VertexColor = Vector3.new(0,1,0) | |
1689 | rngm2 = rngm:clone() | |
1690 | rngm2.Scale = Vector3.new(5, 5, 1) | |
1691 | rngm3=rngm2:clone() | |
1692 | rngm3.Parent = rng3 | |
1693 | rngm3.Scale = Vector3.new(8, 8, 1) | |
1694 | rngm4 = rngm2:clone() | |
1695 | rngm4.Parent = rng4 | |
1696 | rngm4.Scale = Vector3.new(6, 6, 1) | |
1697 | local bem = Instance.new("Part", char) | |
1698 | bem.Anchored = true | |
1699 | bem.BrickColor = BrickColor.new("Lime green") | |
1700 | bem.Material = "Neon" | |
1701 | bem.CanCollide = false | |
1702 | bem.FormFactor = 3 | |
1703 | bem.Name = "Beam" .. shot | |
1704 | bem.Size = Vector3.new(1, 1, 1) | |
1705 | bem.TopSurface = 0 | |
1706 | bem.BottomSurface = 0 | |
1707 | local bemm = Instance.new("SpecialMesh", bem) | |
1708 | bemm.MeshType = 4 | |
1709 | bemm.Scale = Vector3.new(1, 4, 4) | |
1710 | bemm.VertexColor = Vector3.new(0,1,0) | |
1711 | local out = Instance.new("Part", char) | |
1712 | out.Anchored = true | |
1713 | out.BrickColor = BrickColor.new("Lime green") | |
1714 | out.CanCollide = false | |
1715 | out.FormFactor = 3 | |
1716 | out.Name = "Out" | |
1717 | out.Size = Vector3.new(4, 4, 4) | |
1718 | out.TopSurface = 0 | |
1719 | out.Transparency = 1 | |
1720 | out.BottomSurface = 0 | |
1721 | local outm = Instance.new("SpecialMesh", out) | |
1722 | outm.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
1723 | outm.TextureId = "http://www.roblox.com/asset/?id=269748808" | |
1724 | outm.Scale = Vector3.new(4, 4, 4) | |
1725 | local bnd = Instance.new("Part", char) | |
1726 | bnd.Anchored = true | |
1727 | bnd.BrickColor = BrickColor.new("Lime green") | |
1728 | bnd.Material = "Neon" | |
1729 | bnd.CanCollide = false | |
1730 | bnd.FormFactor = 3 | |
1731 | bnd.Name = "Bend" | |
1732 | bnd.Size = Vector3.new(1, 1, 1) | |
1733 | bnd.Transparency = 1 | |
1734 | bnd.TopSurface = 0 | |
1735 | bnd.BottomSurface = 0 | |
1736 | local bndm = Instance.new("SpecialMesh", bnd) | |
1737 | bndm.MeshType = 3 | |
1738 | bndm.Scale = Vector3.new(8, 8, 8) | |
1739 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
1740 | bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
1741 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
1742 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
1743 | rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0) | |
1744 | rng4.CFrame = rng3.CFrame * CFrame.new(0, -.5, 0) | |
1745 | Debounces.Shewt = true | |
1746 | coroutine.wrap(function() | |
1747 | for i = 1, 20, 0.2 do | |
1748 | rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
1749 | rngm3.Scale = Vector3.new(8 + i*2, 8 + i*2, 1) | |
1750 | rngm4.Scale = Vector3.new(6 + i*2, 6 + i*2, 1) | |
1751 | wait() | |
1752 | end | |
1753 | wait() | |
1754 | rng:Destroy() | |
1755 | end)() | |
1756 | if Debounces.Shewt == true then | |
1757 | char:WaitForChild("Beam" .. shot).Touched:connect(function(ht) | |
1758 | hit = ht.Parent | |
1759 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then | |
1760 | if HasntTouched(hit.Name) == true and deb == false then | |
1761 | deb = true | |
1762 | coroutine.wrap(function() | |
1763 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
1764 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180 | |
1765 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(math.huge)) | |
1766 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,12))do | |
1767 | if v:IsA'Model' and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Head") then | |
1768 | v:breakJoints'' | |
1769 | end | |
1770 | end | |
1771 | end)() | |
1772 | table.insert(Touche, hit.Name) | |
1773 | deb = false | |
1774 | end | |
1775 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then | |
1776 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
1777 | deb = true | |
1778 | coroutine.wrap(function() | |
1779 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true | |
1780 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180 | |
1781 | wait(1) | |
1782 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false | |
1783 | end)() | |
1784 | table.insert(Touche, hit.Parent.Name) | |
1785 | deb = false | |
1786 | for i, v in pairs(Touche) do | |
1787 | print(v) | |
1788 | end | |
1789 | end | |
1790 | end | |
1791 | end) | |
1792 | end | |
1793 | for i = 0, 260, 8 do | |
1794 | bem.Size = Vector3.new(i, 2, 2) | |
1795 | bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
1796 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2) | |
1797 | bnd.Size = Vector3.new(1,1,1) | |
1798 | bndm.Scale = Vector3.new(8,8,8) | |
1799 | if i % 10 == 0 then | |
1800 | local newRng = rng2:Clone() | |
1801 | newRng.Parent = char | |
1802 | newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
1803 | local newRngm = rngm2:clone() | |
1804 | newRngm.Parent=newRng | |
1805 | coroutine.wrap(function() | |
1806 | for i = 1, 10, 0.2 do | |
1807 | newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 1) | |
1808 | newRng.Transparency = i/10 | |
1809 | wait() | |
1810 | end | |
1811 | wait() | |
1812 | newRng:Destroy() | |
1813 | end)() | |
1814 | end | |
1815 | wait() | |
1816 | end | |
1817 | wait() | |
1818 | Debounces.Shewt = false | |
1819 | bem:Destroy() | |
1820 | out:Destroy() | |
1821 | bnd:Destroy() | |
1822 | Debounces.Ready = false | |
1823 | for i, v in pairs(Touche) do | |
1824 | table.remove(Touche, i) | |
1825 | end | |
1826 | wait() | |
1827 | table.insert(Touche, char.Name) | |
1828 | Debounces.NoIdl = false | |
1829 | if Debounces.CanAttack == false then | |
1830 | Debounces.CanAttack = true | |
1831 | end | |
1832 | end | |
1833 | end | |
1834 | end) | |
1835 | ---------------------------------------------------- | |
1836 | sidz = {"231917888", "231917845", "231917806"} | |
1837 | ptz = {0.65, 0.7, 0.75, 0.8, 0.95, 1} | |
1838 | mouse.KeyDown:connect(function(key) | |
1839 | if key == "f" then | |
1840 | larm.BrickColor = BrickColor.new("Bright red") | |
1841 | rarm.BrickColor = BrickColor.new("Bright red") | |
1842 | if Debounces.CanAttack == true then | |
1843 | Debounces.CanAttack = false | |
1844 | Debounces.on = true | |
1845 | Debounces.NoIdl = true | |
1846 | for i = 1, 10 do | |
1847 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-34)), 0.4) | |
1848 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(34)), 0.4) | |
1849 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.4) | |
1850 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.4) | |
1851 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4) | |
1852 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4) | |
1853 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
1854 | if Debounces.on == false then break end | |
1855 | wait() | |
1856 | end | |
1857 | z = Instance.new("Sound",char) | |
1858 | z.SoundId = "rbxassetid://"..sidz[math.random(1,#sidz)] | |
1859 | z.Pitch = ptz[math.random(1,#ptz)] | |
1860 | z.Volume = 1 | |
1861 | z1 = Instance.new("Sound",char) | |
1862 | z1.SoundId = z.SoundId | |
1863 | z1.Pitch = z.Pitch | |
1864 | z1.Volume = 1 | |
1865 | wait(1) | |
1866 | z:Play() | |
1867 | z1:Play() | |
1868 | Stomp() | |
1869 | for i = 1, 20 do | |
1870 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, .4)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(28)), 0.6) | |
1871 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, .4)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-28)), 0.6) | |
1872 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.2)*CFrame.Angles(math.rad(-26),math.rad(0),0), 0.6) | |
1873 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, -.6) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.6) | |
1874 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(30), 0, math.rad(0)), 0.6) | |
1875 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.8, -1.4) * CFrame.Angles(math.rad(30), 0, math.rad(0)), 0.6) | |
1876 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
1877 | if Debounces.on == false then break end | |
1878 | wait() | |
1879 | end | |
1880 | if Debounces.CanAttack == false then | |
1881 | Debounces.CanAttack = true | |
1882 | Debounces.on = false | |
1883 | Debounces.NoIdl = false | |
1884 | larm.BrickColor = BrickColor.new("White") | |
1885 | rarm.BrickColor = BrickColor.new("White") | |
1886 | end | |
1887 | end | |
1888 | end | |
1889 | end) | |
1890 | ---------------------------------------------------- | |
1891 | mouse.KeyDown:connect(function(key) | |
1892 | if key == "g" then | |
1893 | larm.BrickColor = BrickColor.new("Bright red") | |
1894 | rarm.BrickColor = BrickColor.new("Bright red") | |
1895 | if Debounces.CanAttack == true then | |
1896 | Debounces.CanAttack = false | |
1897 | Debounces.on = true | |
1898 | Debounces.NoIdl = true | |
1899 | chrg = lleg.Touched:connect(function(ht) | |
1900 | hit = ht.Parent | |
1901 | if ht and hit:IsA("Model") then | |
1902 | if hit:FindFirstChild("Humanoid") then | |
1903 | if hit.Name ~= p.Name then | |
1904 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
1905 | Debounces.Slashed = true]]-- | |
1906 | hit:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
1907 | ||
1908 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,12))do | |
1909 | if v:IsA'Model' and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Head") then | |
1910 | v:breakJoints'' | |
1911 | end | |
1912 | end | |
1913 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
1914 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70 | |
1915 | --Debounces.Slashed = false | |
1916 | --end | |
1917 | end | |
1918 | end | |
1919 | elseif ht and hit:IsA("Hat") then | |
1920 | if hit.Parent.Name ~= p.Name then | |
1921 | if hit.Parent:FindFirstChild("Humanoid") then | |
1922 | --[[ if Debounces.Slashing == true and Debounces.Slashed == false then | |
1923 | Debounces.Slashed = true]]-- | |
1924 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
1925 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
1926 | ||
1927 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,12))do | |
1928 | if v:IsA'Model' and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Head") then | |
1929 | v:breakJoints'' | |
1930 | end | |
1931 | end | |
1932 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70 | |
1933 | --Debounces.Slashed = false | |
1934 | end | |
1935 | end | |
1936 | end | |
1937 | end) | |
1938 | for i = 1, 14 do | |
1939 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.5) | |
1940 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.6, .9, -.4)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.5) | |
1941 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.2)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), 0.5) | |
1942 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 0.5) | |
1943 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.8, -3, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(15)), 0.5) | |
1944 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(15)), 0.5) | |
1945 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.3, -1.1) * CFrame.Angles(math.rad(-60), math.rad(-90), math.rad(0)), 0.9) | |
1946 | if Debounces.on == false then break end | |
1947 | wait() | |
1948 | end | |
1949 | charge() | |
1950 | z = Instance.new("Sound",char) | |
1951 | z.SoundId = "rbxassetid://200632875" | |
1952 | z.Volume = 1 | |
1953 | z.Pitch = .8 | |
1954 | z1 = Instance.new("Sound",char) | |
1955 | z1.SoundId = "rbxassetid://200632875" | |
1956 | z1.Volume = 1 | |
1957 | z1.Pitch = .9 | |
1958 | z:Play() | |
1959 | z1:Play() | |
1960 | wait(1) | |
1961 | z:Destroy() | |
1962 | z1:Destroy() | |
1963 | chrg:disconnect() | |
1964 | if Debounces.CanAttack == false then | |
1965 | Debounces.CanAttack = true | |
1966 | Debounces.on = false | |
1967 | Debounces.NoIdl = false | |
1968 | larm.BrickColor = BrickColor.new("White") | |
1969 | rarm.BrickColor = BrickColor.new("White") | |
1970 | end | |
1971 | end | |
1972 | end | |
1973 | end) | |
1974 | ---------------------------------------------------- | |
1975 | pt = {1, 1.1, 1.2} | |
1976 | mouse.KeyDown:connect(function(key) | |
1977 | if key == "h" then | |
1978 | if Debounces.CanJoke == true then | |
1979 | Debounces.CanJoke = false | |
1980 | u = Instance.new("Sound") | |
1981 | u.SoundId = "http://www.roblox.com/asset/?id=134978657" | |
1982 | local dance = Instance.new("Animation") | |
1983 | dance.AnimationId = "rbxassetid://435170121" | |
1984 | local animloader = p.Character.Humanoid:LoadAnimation(dance) | |
1985 | animloader:Play() | |
1986 | u.Parent = char | |
1987 | u.Looped = false | |
1988 | u.Pitch = pt[math.random(1,#pt)] | |
1989 | u.Volume = 1 | |
1990 | local u2 = Instance.new("Sound") | |
1991 | u2.SoundId = "http://www.roblox.com/asset/?id=435170121" | |
1992 | u2.Parent = char | |
1993 | u2.Looped = false | |
1994 | u2.Pitch = u.Pitch | |
1995 | u2.Volume = 1 | |
1996 | wait(.01) | |
1997 | u:Play() | |
1998 | u2:Play() | |
1999 | ||
2000 | ||
2001 | angle = 0 | |
2002 | for i = 1, 100 do | |
2003 | p = Instance.new("Part") | |
2004 | p.Color = Color3.new(math.random(),math.random(),math.random()) | |
2005 | p.Material = "Neon" | |
2006 | p.Transparency = 0 | |
2007 | p.CanCollide = false | |
2008 | p.Anchored = true | |
2009 | p.Size = Vector3.new(50,50,50) | |
2010 | Instance.new("BlockMesh",p) | |
2011 | bv = Instance.new("BodyVelocity",p) | |
2012 | bv.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
2013 | bv.velocity = Vector3.new(math.random(-300,300),math.random(0,300),math.random(-300,300)) | |
2014 | p.Parent = game.Workspace | |
2015 | p.Anchored = false | |
2016 | angle = angle + 1 | |
2017 | wait() | |
2018 | end | |
2019 | wait(200) | |
2020 | ||
2021 | ||
2022 | ||
2023 | wait(6) | |
2024 | u:Destroy() | |
2025 | u2:Destroy() | |
2026 | if Debounces.CanJoke == false then | |
2027 | Debounces.CanJoke = true | |
2028 | end | |
2029 | end | |
2030 | end | |
2031 | end) | |
2032 | ---------------------------------------------------- | |
2033 | mouse.KeyDown:connect(function(key) | |
2034 | if key == "j" then | |
2035 | if Debounces.CanJoke == true then | |
2036 | Debounces.CanJoke = false | |
2037 | z = Instance.new("Sound",char) | |
2038 | z.SoundId = "rbxassetid://135017755" | |
2039 | z.Pitch = .76 | |
2040 | z.Volume = 1 | |
2041 | wait() | |
2042 | z:Play() | |
2043 | wait(6) | |
2044 | z:Destroy() | |
2045 | if Debounces.CanJoke == false then | |
2046 | Debounces.CanJoke = true | |
2047 | end | |
2048 | end | |
2049 | end | |
2050 | end) | |
2051 | ---------------------------------------------------- | |
2052 | mouse.KeyDown:connect(function(key) | |
2053 | if key == "n" then | |
2054 | if Debounces.CanJoke == true then | |
2055 | Debounces.CanJoke = false | |
2056 | z = Instance.new("Sound",char) | |
2057 | z.SoundId = "rbxassetid://130792236" | |
2058 | z.Pitch = .76 | |
2059 | z.Volume = 1 | |
2060 | wait() | |
2061 | z:Play() | |
2062 | wait(6) | |
2063 | z:Destroy() | |
2064 | if Debounces.CanJoke == false then | |
2065 | Debounces.CanJoke = true | |
2066 | end | |
2067 | end | |
2068 | end | |
2069 | end) | |
2070 | ---------------------------------------------------- | |
2071 | mouse.KeyDown:connect(function(key) | |
2072 | if key == "l" then | |
2073 | if Debounces.CanJoke == true then | |
2074 | Debounces.CanJoke = false | |
2075 | z = Instance.new("Sound",char) | |
2076 | z.SoundId = "rbxassetid://233774928" | |
2077 | z.Pitch = .76 | |
2078 | z.Volume = 1 | |
2079 | wait() | |
2080 | z:Play() | |
2081 | wait(6) | |
2082 | z:Destroy() | |
2083 | if Debounces.CanJoke == false then | |
2084 | Debounces.CanJoke = true | |
2085 | end | |
2086 | end | |
2087 | end | |
2088 | end) | |
2089 | ---------------------------------------------------- | |
2090 | mouse.KeyDown:connect(function(key) | |
2091 | if key == "k" then | |
2092 | if Debounces.CanJoke == true then | |
2093 | Debounces.CanJoke = false | |
2094 | z = Instance.new("Sound",char) | |
2095 | z.SoundId = "rbxassetid://135017578" | |
2096 | z.Pitch = .76 | |
2097 | z.Volume = 1 | |
2098 | wait() | |
2099 | z:Play() | |
2100 | wait(4) | |
2101 | z:Destroy() | |
2102 | if Debounces.CanJoke == false then | |
2103 | Debounces.CanJoke = true | |
2104 | end | |
2105 | end | |
2106 | end | |
2107 | end) | |
2108 | ---------------------------------------------------- | |
2109 | mouse.KeyDown:connect(function(key) | |
2110 | if key == "x" then | |
2111 | if Debounces.CanAttack == true then | |
2112 | Debounces.CanAttack = false | |
2113 | Debounces.NoIdl = true | |
2114 | Debounces.on = true | |
2115 | Debounces.ks = true | |
2116 | for i = 1, 10 do | |
2117 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.6) | |
2118 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.7,.9,-.5)*CFrame.Angles(math.rad(40),math.rad(0),math.rad(20)), 0.6) | |
2119 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.4)*CFrame.Angles(math.rad(-26),math.rad(0),0), 0.6) | |
2120 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.6) | |
2121 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.6) | |
2122 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.7, .6) * CFrame.Angles(math.rad(-70), math.rad(0), math.rad(0)), 0.6) | |
2123 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2124 | if Debounces.on == false then break end | |
2125 | wait() | |
2126 | end | |
2127 | z = Instance.new("Sound",hed) | |
2128 | z.SoundId = "rbxassetid://169445092" | |
2129 | z.Volume = 1 | |
2130 | wait(0.1) | |
2131 | z:Play() | |
2132 | kik = rleg.Touched:connect(function(ht) | |
2133 | hit = ht.Parent | |
2134 | if ht and hit:IsA("Model") then | |
2135 | if hit:FindFirstChild("Humanoid") then | |
2136 | if hit.Name ~= p.Name then | |
2137 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
2138 | Debounces.Slashed = true]]-- | |
2139 | if Debounces.ks==true then | |
2140 | z = Instance.new("Sound",hed) | |
2141 | z.SoundId = "rbxassetid://169380525" | |
2142 | z.Volume = 1 | |
2143 | z:Play() | |
2144 | Debounces.ks=false | |
2145 | end | |
2146 | hit:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
2147 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2148 | ||
2149 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,12))do | |
2150 | if v:IsA'Model' and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Head") then | |
2151 | v:breakJoints'' | |
2152 | end | |
2153 | end | |
2154 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70 | |
2155 | --Debounces.Slashed = false | |
2156 | --end | |
2157 | end | |
2158 | end | |
2159 | elseif ht and hit:IsA("Hat") then | |
2160 | if hit.Parent.Name ~= p.Name then | |
2161 | if hit.Parent:FindFirstChild("Humanoid") then | |
2162 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
2163 | Debounces.Slashed = true]]-- | |
2164 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
2165 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2166 | ||
2167 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,12))do | |
2168 | if v:IsA'Model' and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Head") then | |
2169 | v:breakJoints'' | |
2170 | end | |
2171 | end | |
2172 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70 | |
2173 | --Debounces.Slashed = false | |
2174 | --end | |
2175 | end | |
2176 | end | |
2177 | end | |
2178 | end) | |
2179 | for i = 1, 8 do | |
2180 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7) | |
2181 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-20)), 0.7) | |
2182 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,.2)*CFrame.Angles(math.rad(8),math.rad(0),0), 0.7) | |
2183 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(16), math.rad(0), 0), 0.7) | |
2184 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.7) | |
2185 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.6, -1.4) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)), 0.7) | |
2186 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2187 | if Debounces.on == false then break end | |
2188 | wait() | |
2189 | end | |
2190 | kik:disconnect() | |
2191 | if Debounces.CanAttack == false then | |
2192 | Debounces.CanAttack = true | |
2193 | Debounces.on = false | |
2194 | Debounces.NoIdl = false | |
2195 | end | |
2196 | end | |
2197 | end | |
2198 | end) | |
2199 | ---------------------------------------------------- | |
2200 | mouse.KeyDown:connect(function(key) | |
2201 | if key == "c" then | |
2202 | if Debounces.CanAttack == true then | |
2203 | Debounces.CanAttack = false | |
2204 | Debounces.NoIdl = true | |
2205 | Debounces.on = true | |
2206 | SIDZ = {"231917744", "231917742"} | |
2207 | PTZ = {0.7, 0.8, 0.9, 1} | |
2208 | for i = 1, 20 do | |
2209 | wait() | |
2210 | for i,v in pairs(char.Absolution:children()) do | |
2211 | if v:IsA("Part") or v:IsA("WedgePart") then | |
2212 | v.Transparency = 1 | |
2213 | end | |
2214 | end | |
2215 | end | |
2216 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
2217 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
2218 | local List = {} | |
2219 | for i,v in pairs(workspace:GetChildren())do | |
2220 | if v:IsA("Model")then | |
2221 | if v:findFirstChild("Torso")then | |
2222 | if v ~= char then | |
2223 | if(v.Torso.Position -Position).magnitude <= Distance then | |
2224 | table.insert(List,v) | |
2225 | end | |
2226 | end | |
2227 | end | |
2228 | end | |
2229 | end | |
2230 | return List | |
2231 | end | |
2232 | GroundPound() | |
2233 | for i = 1, 5 do | |
2234 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7) | |
2235 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7) | |
2236 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6) | |
2237 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6) | |
2238 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6) | |
2239 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2240 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2241 | if Debounces.on == false then break end | |
2242 | wait() | |
2243 | end | |
2244 | GroundPound() | |
2245 | for i = 1, 5 do | |
2246 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7) | |
2247 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7) | |
2248 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6) | |
2249 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6) | |
2250 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2251 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6) | |
2252 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2253 | if Debounces.on == false then break end | |
2254 | wait() | |
2255 | end | |
2256 | GroundPound() | |
2257 | for i = 1, 5 do | |
2258 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7) | |
2259 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7) | |
2260 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6) | |
2261 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6) | |
2262 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6) | |
2263 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2264 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2265 | if Debounces.on == false then break end | |
2266 | wait() | |
2267 | end | |
2268 | GroundPound() | |
2269 | for i = 1, 5 do | |
2270 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7) | |
2271 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7) | |
2272 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6) | |
2273 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6) | |
2274 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2275 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6) | |
2276 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2277 | if Debounces.on == false then break end | |
2278 | wait() | |
2279 | end | |
2280 | GroundPound() | |
2281 | for i = 1, 5 do | |
2282 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7) | |
2283 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7) | |
2284 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6) | |
2285 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6) | |
2286 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6) | |
2287 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2288 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2289 | if Debounces.on == false then break end | |
2290 | wait() | |
2291 | end | |
2292 | GroundPound() | |
2293 | for i = 1, 5 do | |
2294 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7) | |
2295 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7) | |
2296 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6) | |
2297 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6) | |
2298 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2299 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6) | |
2300 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2301 | if Debounces.on == false then break end | |
2302 | wait() | |
2303 | end | |
2304 | for i = 1, 18 do | |
2305 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-10)), 0.4) | |
2306 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(10)), 0.4) | |
2307 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.4) | |
2308 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.4) | |
2309 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4) | |
2310 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4) | |
2311 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
2312 | if Debounces.on == false then break end | |
2313 | wait() | |
2314 | end | |
2315 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,25))do | |
2316 | if v:FindFirstChild('Humanoid') then | |
2317 | v.Humanoid:TakeDamage(math.random(3,10)) | |
2318 | v.Humanoid.PlatformStand = true | |
2319 | ||
2320 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,12))do | |
2321 | if v:IsA'Model' and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Head") then | |
2322 | v:breakJoints'' | |
2323 | end | |
2324 | end | |
2325 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100 | |
2326 | end | |
2327 | end | |
2328 | x = Instance.new("Sound",char) | |
2329 | x.SoundId = "rbxassetid://"..SIDZ[math.random(1,#SIDZ)] | |
2330 | x.Pitch = PTZ[math.random(1,#PTZ)] | |
2331 | x.Volume = 1 | |
2332 | wait(0.1) | |
2333 | x:Play() | |
2334 | Crater(hed,20) | |
2335 | for i = 1, 14 do | |
2336 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.4, 3.2, -.5)*CFrame.Angles(math.rad(160),math.rad(0),math.rad(-10)), 0.6) | |
2337 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.4, 3.2, -.5)*CFrame.Angles(math.rad(160),math.rad(0),math.rad(10)), 0.6) | |
2338 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.6) | |
2339 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -5, 0) * CFrame.Angles(math.rad(-90), math.rad(0), 0), 0.6) | |
2340 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, .4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.6) | |
2341 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, .4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.6) | |
2342 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
2343 | if Debounces.on == false then break end | |
2344 | wait() | |
2345 | end | |
2346 | if Debounces.CanAttack == false then | |
2347 | Debounces.CanAttack = true | |
2348 | Debounces.on = false | |
2349 | Debounces.NoIdl = false | |
2350 | for i = 1, 20 do | |
2351 | wait() | |
2352 | for i,v in pairs(char.Absolution:children()) do | |
2353 | if v:IsA("Part") or v:IsA("WedgePart") then | |
2354 | v.Transparency = 1 | |
2355 | end | |
2356 | end | |
2357 | end | |
2358 | end | |
2359 | end | |
2360 | end | |
2361 | end) | |
2362 | ----------------------------------------------------176349813 | |
2363 | mouse.KeyDown:connect(function(key) | |
2364 | if key == "b" then | |
2365 | hum.WalkSpeed = 60 | |
2366 | if Debounces.CanAttack == true then | |
2367 | Debounces.CanAttack = false | |
2368 | Debounces.NoIdl = true | |
2369 | Debounces.on = true | |
2370 | for i = 1,20 do | |
2371 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(75), 0, math.rad(-30)), 0.1) | |
2372 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(75), 0, math.rad(30)), 0.1) | |
2373 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.1) | |
2374 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.1) | |
2375 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles (math.rad(30), 0, math.rad(-5)), 0.1) | |
2376 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles (math.rad(30), 0, math.rad(5)), 0.1) | |
2377 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
2378 | if Debounces.on == false then break end | |
2379 | wait() | |
2380 | end | |
2381 | wait(1) | |
2382 | v = Instance.new("Sound") | |
2383 | v.SoundId = "rbxassetid://181384451" | |
2384 | v.Parent = char | |
2385 | v.Looped = false | |
2386 | v.Pitch = 1.04 | |
2387 | v.Volume = 1 | |
2388 | wait(.01) | |
2389 | v:Play() | |
2390 | ||
2391 | if Daytime == true then | |
2392 | Daytime = false | |
2393 | l.TimeOfDay = 24 | |
2394 | else | |
2395 | Daytime = true | |
2396 | l.TimeOfDay = 12 | |
2397 | l.OutdoorAmbient = Color3.new(0.498039, 0.498039, 0.498039) | |
2398 | end | |
2399 | ||
2400 | local Shockwave = function() | |
2401 | local rng1 = Instance.new("Part", char) | |
2402 | rng1.Anchored = true | |
2403 | rng1.BrickColor = BrickColor.new("White") | |
2404 | rng1.CanCollide = false | |
2405 | rng1.FormFactor = 3 | |
2406 | rng1.Name = "Ring" | |
2407 | rng1.Size = Vector3.new(1, 1, 1) | |
2408 | rng1.Transparency = 0.35 | |
2409 | rng1.TopSurface = 0 | |
2410 | rng1.BottomSurface = 0 | |
2411 | local rngm1 = Instance.new("SpecialMesh", rng) | |
2412 | rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2413 | rngm1.Scale = Vector3.new(10, 10, 1) | |
2414 | rng1.CFrame = CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0) | |
2415 | local Wave = Instance.new("Part", game.Workspace--[[?]]) | |
2416 | Wave.Name = "Shockwave" | |
2417 | Wave.BrickColor = BrickColor.new("White") | |
2418 | Wave.Size = Vector3.new(1, 1, 1) | |
2419 | Wave.Shape = "Ball" | |
2420 | Wave.CanCollide = false | |
2421 | Wave.Anchored = true | |
2422 | Wave.TopSurface = 0 | |
2423 | Wave.BottomSurface = 0 | |
2424 | Wave.Touched:connect(function(hit) | |
2425 | if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then | |
2426 | local Occlude = true | |
2427 | local NotOccludes = { | |
2428 | char.Name; | |
2429 | "Wings"; | |
2430 | "Scythe"; | |
2431 | "Thingy"; | |
2432 | "Thingy2"; -- put all of the names in a table pls | |
2433 | } | |
2434 | for i,v in pairs(NotOccludes) do | |
2435 | if hit.Parent.Name == v then | |
2436 | Occlude = false | |
2437 | end | |
2438 | end | |
2439 | --if hit.Parent.Name ~= char.Name and hit.Name ~= "Wings" and hit.Name ~= "Scythe" and hit.Name ~= "Thingy" and hit.Name ~= "Thingy2" and hit.Parent.Name ~= "Wings" and hit.Parent.Name ~= "Scythe" and hit.Parent.Name ~= "Thingy" and hit.Parent.Name ~= "Thingy2" then | |
2440 | if Occlude then | |
2441 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 1 | |
2442 | hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * -120 | |
2443 | end | |
2444 | end | |
2445 | end) | |
2446 | ||
2447 | Instance.new("SpecialMesh", Wave).MeshType = "Sphere" | |
2448 | ||
2449 | coroutine.wrap(function() | |
2450 | for i = 1, 20, 0.2 do | |
2451 | rngm1.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
2452 | rng1.Transparency = i/20 | |
2453 | wait() | |
2454 | end | |
2455 | wait() | |
2456 | rng1:Destroy() | |
2457 | end)() | |
2458 | ||
2459 | Delay(0, function() | |
2460 | ||
2461 | if Daytime == false then | |
2462 | for i = 1, 50, 1 do | |
2463 | Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i) | |
2464 | Wave.CFrame = char.Torso.CFrame | |
2465 | local t = i / 50 | |
2466 | Wave.Transparency = t | |
2467 | wait() | |
2468 | end | |
2469 | else | |
2470 | for i = 1, 50, 1 do | |
2471 | Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i) | |
2472 | Wave.CFrame = char.Torso.CFrame | |
2473 | local t = i / 50 | |
2474 | Wave.Transparency = t | |
2475 | wait() | |
2476 | end | |
2477 | end | |
2478 | Wave:Destroy() | |
2479 | end) | |
2480 | Delay(0, function() | |
2481 | while wait() do | |
2482 | if Wave ~= nil then | |
2483 | Wave.CFrame = char.Torso.CFrame | |
2484 | else | |
2485 | break | |
2486 | end | |
2487 | end | |
2488 | end) | |
2489 | end | |
2490 | Shockwave() | |
2491 | for i = 1, 15 do | |
2492 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2) | |
2493 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2) | |
2494 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1) | |
2495 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2) | |
2496 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1) | |
2497 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
2498 | if Debounces.on == false then break end | |
2499 | wait() | |
2500 | end | |
2501 | for i = 1, 15 do | |
2502 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2) | |
2503 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2) | |
2504 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1) | |
2505 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2) | |
2506 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
2507 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1) | |
2508 | if Debounces.on == false then break end | |
2509 | wait() | |
2510 | end | |
2511 | for i = 1, 15 do | |
2512 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2) | |
2513 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2) | |
2514 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1) | |
2515 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2) | |
2516 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1) | |
2517 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
2518 | if Debounces.on == false then break end | |
2519 | wait() | |
2520 | end | |
2521 | for i = 1, 15 do | |
2522 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2) | |
2523 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2) | |
2524 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1) | |
2525 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2) | |
2526 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
2527 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1) | |
2528 | if Debounces.on == false then break end | |
2529 | wait() | |
2530 | end | |
2531 | for i = 1, 15 do | |
2532 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2) | |
2533 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2) | |
2534 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1) | |
2535 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2) | |
2536 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1) | |
2537 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
2538 | if Debounces.on == false then break end | |
2539 | wait() | |
2540 | end | |
2541 | for i = 1, 15 do | |
2542 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2) | |
2543 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2) | |
2544 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1) | |
2545 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2) | |
2546 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
2547 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1) | |
2548 | if Debounces.on == false then break end | |
2549 | wait() | |
2550 | end | |
2551 | wait(1.4) | |
2552 | Debounces.NoIdl = false | |
2553 | hum.WalkSpeed = 60 | |
2554 | Debounces.on = false | |
2555 | wait() | |
2556 | if Debounces.CanAttack == false then | |
2557 | Debounces.CanAttack = true | |
2558 | v:Destroy() | |
2559 | end | |
2560 | end | |
2561 | end | |
2562 | end) | |
2563 | ---------------------------------------------------- | |
2564 | mouse.KeyDown:connect(function(key) | |
2565 | if key == "m" then | |
2566 | hum.WalkSpeed = 60 | |
2567 | if Debounces.CanAttack == true then | |
2568 | Debounces.CanAttack = false | |
2569 | Debounces.on = true | |
2570 | Debounces.NoIdl = true | |
2571 | --[[x = Instance.new("Sound",char) | |
2572 | x.SoundId = "http://www.roblox.com/asset/?id=169445572" | |
2573 | x.Looped = false | |
2574 | x.Pitch = 1.1 | |
2575 | x.Volume = 1 | |
2576 | x:Play() | |
2577 | x2 = Instance.new("Sound",char) | |
2578 | x2.SoundId = "http://www.roblox.com/asset/?id=169380495" | |
2579 | x2.Looped = false | |
2580 | x2.Pitch = .7 | |
2581 | x2.Volume = 1 | |
2582 | wait(.1) | |
2583 | x:Play() | |
2584 | x2:Play() | |
2585 | for i = 1, 20 do | |
2586 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,0.6,-.2) *CFrame.Angles (math.rad (45),math.rad(0),math.rad(32)), 0.2) | |
2587 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,1,0)*CFrame.Angles(math.rad (0),math.rad(0),math.rad(-20)), 0.2) | |
2588 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.4)*CFrame.Angles(math.rad (- 8),math.rad(-40), math.rad(-8)),0.2) | |
2589 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3.2, 0) * CFrame.Angles (math.rad (-50), math.rad(40), math.rad(0)), 0.2) | |
2590 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, .4, -1.6) * CFrame.Angles (math.rad (30), 0, math.rad(20)), 0.2) | |
2591 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.6, -2, 0) * CFrame.Angles (math.rad(- 10), math.rad(-40), math.rad(0)), 0.2) | |
2592 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.3, -1.1) * CFrame.Angles(math.rad(-60), math.rad(-90), math.rad(0)), 0.4) | |
2593 | if Debounces.on == false then break end | |
2594 | wait() | |
2595 | x:Destroy() | |
2596 | x2:Destroy() | |
2597 | end | |
2598 | wait(1)]]-- | |
2599 | local rng = Instance.new("Part", char) | |
2600 | rng.Anchored = true | |
2601 | rng.BrickColor = BrickColor.new("White") | |
2602 | rng.CanCollide = false | |
2603 | rng.FormFactor = 3 | |
2604 | rng.Name = "Ring" | |
2605 | rng.Size = Vector3.new(1, 1, 1) | |
2606 | rng.Transparency = 0.35 | |
2607 | rng.TopSurface = 0 | |
2608 | rng.BottomSurface = 0 | |
2609 | rng.Position = torso.Position - Vector3.new(0,2,0) | |
2610 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
2611 | local rngm = Instance.new("SpecialMesh", rng) | |
2612 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2613 | rngm.Scale = Vector3.new(1, 1, 2) | |
2614 | x = Instance.new("Sound",char) | |
2615 | x.SoundId = "http://www.roblox.com/asset/?id=169445602" | |
2616 | x.Looped = false | |
2617 | x.Pitch = .7 | |
2618 | x.Volume = 1 | |
2619 | x:Play() | |
2620 | coroutine.wrap(function() | |
2621 | for i = 1, 60, 2 do | |
2622 | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1) | |
2623 | rng.Transparency = i/60 | |
2624 | wait() | |
2625 | end | |
2626 | wait() | |
2627 | rng:Destroy() | |
2628 | end)() | |
2629 | hum.WalkSpeed = 60 | |
2630 | BV = Instance.new("BodyVelocity", torso) | |
2631 | BV.maxForce = Vector3.new(0,200000,0) | |
2632 | BV.P = 100000 | |
2633 | BV.velocity = Vector3.new(0,800,0) | |
2634 | for i = 1, 20 do | |
2635 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0)*CFrame.Angles(math.rad(20),math.rad(0), math.rad(0)),0.7) | |
2636 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.7) | |
2637 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(40), 0, math.rad(-20)), 0.7) | |
2638 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(20)), 0.7) | |
2639 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7) | |
2640 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, 0, -2) * CFrame.Angles(math.rad(0), 0, 0), 0.7) | |
2641 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
2642 | if Debounces.on == false then break end | |
2643 | wait() | |
2644 | end | |
2645 | x:Destroy() | |
2646 | BV:Destroy() | |
2647 | --[[for i = 1, 30 do | |
2648 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-14),math.rad(0), math.rad(0)),0.3) | |
2649 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-16), math.rad (0), math.rad(0)), 0.3) | |
2650 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
2651 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
2652 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -1) * CFrame.Angles(math.rad(20), 0, 0), 0.3) | |
2653 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.6) * CFrame.Angles(math.rad(-30), 0, 0), 0.3) | |
2654 | if Debounces.on == false then break end | |
2655 | wait() | |
2656 | end]]-- | |
2657 | if (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 1 then | |
2658 | for i = 1, 30 do | |
2659 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0)*CFrame.Angles(math.rad(-14),math.rad(0), math.rad(0)),0.3) | |
2660 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
2661 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1.4, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
2662 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1.4, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
2663 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
2664 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
2665 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
2666 | if Debounces.on == false then break end | |
2667 | wait() | |
2668 | end | |
2669 | end | |
2670 | Debounces.on = false | |
2671 | Debounces.NoIdl = false | |
2672 | local ry,ht,ps=nil,nil,nil | |
2673 | while ht==nil do | |
2674 | ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char}) | |
2675 | wait() | |
2676 | end | |
2677 | z = Instance.new("Sound",char) | |
2678 | z.SoundId = "rbxassetid://142070127" | |
2679 | z.Volume = 1 | |
2680 | wait(.1) | |
2681 | z:Play() | |
2682 | Landing() | |
2683 | hum.WalkSpeed = 60 | |
2684 | if Debounces.CanAttack == false then | |
2685 | Debounces.CanAttack = true | |
2686 | end | |
2687 | end | |
2688 | end | |
2689 | end) | |
2690 | ---------------------------------------------------- | |
2691 | Grab = false | |
2692 | mouse.KeyDown:connect(function(key) | |
2693 | if key == "z" then | |
2694 | larm.BrickColor = BrickColor.new("Bright red") | |
2695 | rarm.BrickColor = BrickColor.new("Bright red") | |
2696 | Debounces.on = true | |
2697 | Debounces.NoIdl = true | |
2698 | if Grab == false then | |
2699 | gp = nil | |
2700 | con1=larm.Touched:connect(function(hit) -- this is grab | |
2701 | ht = hit.Parent | |
2702 | hum1=ht:FindFirstChild('Humanoid') | |
2703 | if hum1 ~= nil then | |
2704 | hum1.PlatformStand=true | |
2705 | gp = ht | |
2706 | Grab = true | |
2707 | asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-3.3,0),CFrame.new(0,0,0)) | |
2708 | asd.Parent = larm | |
2709 | asd.Name = "asd" | |
2710 | asd.C0=asd.C0*CFrame.Angles(math.rad(-90),0,0) | |
2711 | elseif hum1 == nil then | |
2712 | con1:disconnect() | |
2713 | wait() return | |
2714 | end | |
2715 | end) | |
2716 | for i = 1, 18 do | |
2717 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(36)), 0.2) | |
2718 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.65,.9,-.5)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.2) | |
2719 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2) | |
2720 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.8, 0) * CFrame.Angles(math.rad(-60), math.rad(0), 0), 0.2) | |
2721 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -.6) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)), 0.2) | |
2722 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, -.6) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)), 0.2) | |
2723 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.3, -1.1) * CFrame.Angles(math.rad(-60), math.rad(-90), math.rad(0)), 0.9) | |
2724 | if Debounces.on == false then break end | |
2725 | wait() | |
2726 | end | |
2727 | con1:disconnect() | |
2728 | Debounces.on = false | |
2729 | Debounces.NoIdl = false | |
2730 | elseif Grab == true then | |
2731 | Grab = false | |
2732 | for i = 1, 20 do | |
2733 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.2) | |
2734 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.6, .9, -.4)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-20)), 0.1) | |
2735 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2) | |
2736 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
2737 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
2738 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
2739 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2740 | if Debounces.on == false then end | |
2741 | wait() | |
2742 | end | |
2743 | if gp ~= nil then | |
2744 | for i,v in pairs(larm:GetChildren()) do | |
2745 | if v.Name == "asd" and v:IsA("Weld") then | |
2746 | v:Remove() | |
2747 | end | |
2748 | end | |
2749 | bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso")) | |
2750 | bv.maxForce = Vector3.new(400000, 400000, 400000) | |
2751 | bv.P = 125000 | |
2752 | bv.velocity = char.Head.CFrame.lookVector * 200 | |
2753 | for i = 1, 12 do | |
2754 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.6, .9, -.75)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(20)), 0.5) | |
2755 | if Debounces.on == false then end | |
2756 | wait() | |
2757 | end | |
2758 | ht=nil | |
2759 | Spawn(function() | |
2760 | wait(0.5) | |
2761 | bv:Destroy() | |
2762 | end) | |
2763 | Debounces.on = false | |
2764 | Debounces.NoIdl = false | |
2765 | elseif ht == nil then wait() | |
2766 | Grab = false | |
2767 | Debounces.on = false | |
2768 | Debounces.NoIdl = false | |
2769 | end | |
2770 | end | |
2771 | end | |
2772 | end) | |
2773 | ---------------------------------------------------- | |
2774 | mouse.KeyDown:connect(function(key) | |
2775 | if string.byte(key) == 52 then | |
2776 | char.Humanoid.WalkSpeed = 60 | |
2777 | end | |
2778 | end) | |
2779 | mouse.KeyUp:connect(function(key) | |
2780 | if string.byte(key) == 52 then | |
2781 | char.Humanoid.WalkSpeed = 60 | |
2782 | end | |
2783 | end) | |
2784 | ---------------------------------------------------- | |
2785 | local animpose = "Idle" | |
2786 | local lastanimpose = "Idle" | |
2787 | local sine = 0 | |
2788 | local change = 1 | |
2789 | local val = 0 | |
2790 | local ffing = false | |
2791 | ---------------------------------------------------- | |
2792 | --[[x = Instance.new("Sound", char) | |
2793 | x.SoundId = "http://www.roblox.com/asset/?id=187922823" | |
2794 | x.Looped = true | |
2795 | x.Volume = 1 | |
2796 | x.Pitch = 1 | |
2797 | local footsteps = false]]-- | |
2798 | ------------------------------- | |
2799 | game:GetService("RunService").RenderStepped:connect(function() | |
2800 | --[[if char.Humanoid.Jump == true then | |
2801 | jump = true | |
2802 | else | |
2803 | jump = false | |
2804 | end]] | |
2805 | char.Humanoid.FreeFalling:connect(function(f) | |
2806 | if f then | |
2807 | ffing = true | |
2808 | else | |
2809 | ffing = false | |
2810 | end | |
2811 | end) | |
2812 | sine = sine + change | |
2813 | if jumpn == true then | |
2814 | animpose = "Jumping" | |
2815 | elseif ffing == true then | |
2816 | animpose = "Freefalling" | |
2817 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
2818 | animpose = "Idle" | |
2819 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
2820 | animpose = "Walking" | |
2821 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
2822 | animpose = "Running" | |
2823 | end | |
2824 | if animpose ~= lastanimpose then | |
2825 | sine = 0 | |
2826 | if Debounces.NoIdl == false then | |
2827 | if animpose == "Idle" then | |
2828 | for i = 1, 2 do | |
2829 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.2) | |
2830 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.2) | |
2831 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2) | |
2832 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
2833 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
2834 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
2835 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2836 | end | |
2837 | elseif animpose == "Walking" then | |
2838 | for i = 1, 2 do | |
2839 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(20)), 0.2) | |
2840 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0)*CFrame.Angles(0, math.rad(1), math.rad(-10)), 0.2) | |
2841 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(-8), math.rad(0), math.rad(0)),0.2) | |
2842 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-4), 0, math.rad(0)), 0.2) | |
2843 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4) | |
2844 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4) | |
2845 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2846 | end | |
2847 | elseif animpose == "Running" then | |
2848 | for i = 1, 2 do | |
2849 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, .5) * CFrame.Angles(math.rad(-10), math.rad(-40), math.rad(50)), 0.2) | |
2850 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1.2, 0-1*math.cos(sine/4)/2)*CFrame.Angles(math.rad(50-80*math.cos(sine/8)/2), math.rad(0), math.rad(0-70*math.cos(sine/8)/2)), 0.2) | |
2851 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(6+8*math.cos(sine/4)/1.8), math.rad(0), math.rad(0)),0.2) | |
2852 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.2*math.cos(sine/4)/2, 0) * CFrame.Angles(math.rad(-14+4*math.cos(sine/4)/2), 0, math.rad(0)), 0.2) | |
2853 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3-0.44*math.cos(sine/8)/2.4, -.15 + math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + -math.sin(sine/8)/1.7, 0, 0), .4) | |
2854 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3+0.44*math.cos(sine/8)/2.4, -.15 + -math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + math.sin(sine/8)/1.7, 0, 0), .4) | |
2855 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
2856 | end | |
2857 | wait() | |
2858 | end | |
2859 | else | |
2860 | end | |
2861 | end | |
2862 | lastanimpose = animpose | |
2863 | if Debounces.NoIdl == false then | |
2864 | if animpose == "Idle" then | |
2865 | if stanceToggle == "Normal" then | |
2866 | change = 0.5 | |
2867 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(88+2*math.cos(sine/14)),math.rad(0),math.rad(20)), 0.2) | |
2868 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(50),math.rad(-30),math.rad(-40-2*math.cos(sine/14))), 0.2) | |
2869 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(40),0), 0.2) | |
2870 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-40), 0), 0.2) | |
2871 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.15, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
2872 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.15, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
2873 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2874 | elseif stanceToggle == "Sitting" then | |
2875 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(100-1*math.cos(sine/14)), math.rad(0), math.rad(20)), 0.2) | |
2876 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2, .9, -1)*CFrame.Angles(math.rad(78+1*math.cos(sine/14)), math.rad(0), math.rad(50)), 0.2) | |
2877 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.3) * CFrame.Angles(math.rad(-14+1*math.cos(sine/14)), math.rad(0), math.rad(0)),0.2) | |
2878 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3, 0) * CFrame.Angles(math.rad(-10+1*math.cos(sine/14)), 0, math.rad(0)), 0.2) | |
2879 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -2) * CFrame.Angles(math.rad(-10-1*math.cos(sine/14)), 0, 0), 0.2) | |
2880 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .6) * CFrame.Angles(math.rad(-50-1*math.cos(sine/14)), 0, 0), 0.2) | |
2881 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
2882 | end | |
2883 | elseif animpose == "Walking" then | |
2884 | if stanceToggle == "Normal" then | |
2885 | change = 1 | |
2886 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9+.1*math.cos(sine/7), 0) * CFrame.Angles(math.rad(90+2*math.cos(sine/7)), math.rad(0), math.rad(20)), 0.2) | |
2887 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9+.1*math.cos(sine/7), -math.sin(sine/14)/2)*CFrame.Angles(math.sin(sine/14)/4, math.rad(1) + -math.sin(sine/14)/2, math.rad(-30)), 0.2) | |
2888 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/7)), math.rad(0), math.rad(0)),0.2) | |
2889 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.1*math.cos(sine/7), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/7)), 0, math.rad(0)), 0.2) | |
2890 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3-0.3*math.cos(sine/14)/2, -.05 + math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + -math.sin(sine/14)/2.3, 0, 0), .4) | |
2891 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3+0.3*math.cos(sine/14)/2, -.05 + -math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + math.sin(sine/14)/2.3, 0, 0), .4) | |
2892 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2893 | end | |
2894 | elseif animpose == "Running" then | |
2895 | change = 1 | |
2896 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, .5) * CFrame.Angles(math.rad(-10-20*math.cos(sine/4)/2), math.rad(-40+10*math.cos(sine/4)/2), math.rad(50-10*math.cos(sine/4)/2)), 0.2) | |
2897 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, .5)*CFrame.Angles(math.rad(10+20*math.cos(sine/4)/2), math.rad(40-10*math.cos(sine/4)/2), math.rad(-50+10*math.cos(sine/4)/2)), 0.2) | |
2898 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(6+6*math.cos(sine/4)/1.8), math.rad(0), math.rad(0)),0.2) | |
2899 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.2*math.cos(sine/4)/2, 0) * CFrame.Angles(math.rad(-14+10*math.cos(sine/4)/2), 0, math.rad(0)), 0.2) | |
2900 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3-0.44*math.cos(sine/8)/2.4, -.15 + math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + -math.sin(sine/8)/1.7, 0, 0), .4) | |
2901 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3+0.44*math.cos(sine/8)/2.4, -.15 + -math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + math.sin(sine/8)/1.7, 0, 0), .4) | |
2902 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
2903 | end | |
2904 | end | |
2905 | --[[if animpose == "Walking" then | |
2906 | if footsteps == false then | |
2907 | x:Play() | |
2908 | footsteps = true | |
2909 | end | |
2910 | x.Pitch = 1.1 | |
2911 | elseif animpose == "Idle" then | |
2912 | x:Stop() | |
2913 | footsteps = false | |
2914 | elseif animpose == "Running" then | |
2915 | x.Pitch = 1.2 | |
2916 | if footsteps == false then | |
2917 | x:Play() | |
2918 | footsteps = true | |
2919 | end | |
2920 | end]]-- | |
2921 | end) |