SHOW:
|
|
- or go back to the newest paste.
1 | --[[ | |
2 | ||
3 | Looks like CLarramore has done it again | |
4 | ||
5 | LEAKED BY ME | |
6 | ||
7 | Fuck you thedarkrevenant | |
8 | ||
9 | EDIT: | |
10 | Just to let you know. some guy is making unofficial edits of this so if you wanna check em' out | |
11 | heres the link: https://v3rmillion.net/showthread.php?tid=47138 | |
12 | be sure to create an account on v3rm :P | |
13 | EDIT 2: | |
14 | There is this thing called "Absalom" out here | |
15 | which is TDR's new titan script. Stay tuned for more info. | |
16 | ]]-- | |
17 | ||
18 | ||
19 | local p = game.Players.LocalPlayer | |
20 | local char = p.Character | |
21 | local mouse = p:GetMouse() | |
22 | local larm = char["Left Arm"] | |
23 | local rarm = char["Right Arm"] | |
24 | local lleg = char["Left Leg"] | |
25 | local rleg = char["Right Leg"] | |
26 | local hed = char.Head | |
27 | local torso = char.Torso | |
28 | local hum = char.Humanoid | |
29 | local cam = game.Workspace.CurrentCamera | |
30 | local root = char.HumanoidRootPart | |
31 | local deb = false | |
32 | local shot = 0 | |
33 | local l = game:GetService("Lighting") | |
34 | local rs = game:GetService("RunService").RenderStepped | |
35 | local stanceToggle = "Normal" | |
36 | math.randomseed(os.time()) | |
37 | hum.WalkSpeed = 7 | |
38 | char.Health:Destroy() | |
39 | hum.MaxHealth = 50000 | |
40 | wait(0.1) | |
41 | hum.Health = 50000 | |
42 | ---------------------------------------------------- | |
43 | char.Shirt:Destroy() | |
44 | char.Pants:Destroy() | |
45 | shirt = Instance.new("Shirt", char) | |
46 | shirt.Name = "Shirt" | |
47 | pants = Instance.new("Pants", char) | |
48 | pants.Name = "Pants" | |
49 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=236410507" | |
50 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=236412261" | |
51 | ---------------------------------------------------- | |
52 | Debounces = { | |
53 | on = false; | |
54 | ks = false; | |
55 | CanAttack = true; | |
56 | CanJoke = true; | |
57 | NoIdl = false; | |
58 | Slashing = false; | |
59 | Slashed = false; | |
60 | Grabbing = false; | |
61 | Grabbed = false; | |
62 | } | |
63 | local Touche = {char.Name, } | |
64 | ---------------------------------------------------- | |
65 | function lerp(a, b, t) -- Linear interpolation | |
66 | return a + (b - a)*t | |
67 | end | |
68 | ||
69 | function slerp(a, b, t) --Spherical interpolation | |
70 | dot = a:Dot(b) | |
71 | if dot > 0.99999 or dot < -0.99999 then | |
72 | return t <= 0.5 and a or b | |
73 | else | |
74 | r = math.acos(dot) | |
75 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
76 | end | |
77 | end | |
78 | ||
79 | function matrixInterpolate(a, b, t) | |
80 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
81 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
82 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
83 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
84 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
85 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
86 | local t = v1:Dot(v2) | |
87 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
88 | return CFrame.new() | |
89 | end | |
90 | return CFrame.new( | |
91 | v0.x, v0.y, v0.z, | |
92 | v1.x, v1.y, v1.z, | |
93 | v2.x, v2.y, v2.z, | |
94 | v3.x, v3.y, v3.z) | |
95 | end | |
96 | ---------------------------------------------------- | |
97 | function genWeld(a,b) | |
98 | local w = Instance.new("Weld",a) | |
99 | w.Part0 = a | |
100 | w.Part1 = b | |
101 | return w | |
102 | end | |
103 | function weld(a, b) | |
104 | local weld = Instance.new("Weld") | |
105 | weld.Name = "W" | |
106 | weld.Part0 = a | |
107 | weld.Part1 = b | |
108 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
109 | weld.Parent = a | |
110 | return weld; | |
111 | end | |
112 | ---------------------------------------------------- | |
113 | function Lerp(c1,c2,al) | |
114 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
115 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
116 | for i,v in pairs(com1) do | |
117 | com1[i] = v+(com2[i]-v)*al | |
118 | end | |
119 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
120 | end | |
121 | ---------------------------------------------------- | |
122 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
123 | local wld = Instance.new("Weld", wp1) | |
124 | wld.Part0 = wp0 | |
125 | wld.Part1 = wp1 | |
126 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
127 | end | |
128 | ---------------------------------------------------- | |
129 | for i,v in pairs(char:children()) do | |
130 | if v:IsA("Hat") then | |
131 | v:Destroy() | |
132 | end | |
133 | end | |
134 | for i,v in pairs(hed:children()) do | |
135 | if v:IsA("Sound") then | |
136 | v:Destroy() | |
137 | end | |
138 | end | |
139 | ---------------------------------------------------- | |
140 | function HasntTouched(plrname) | |
141 | local ret = true | |
142 | for _, v in pairs(Touche) do | |
143 | if v == plrname then | |
144 | ret = false | |
145 | end | |
146 | end | |
147 | return ret | |
148 | end | |
149 | ---------------------------------------------------- | |
150 | larm.Size = larm.Size * 2 | |
151 | rarm.Size = rarm.Size * 2 | |
152 | lleg.Size = lleg.Size * 2 | |
153 | rleg.Size = rleg.Size * 2 | |
154 | torso.Size = torso.Size * 2 | |
155 | hed.Size = hed.Size * 2 | |
156 | root.Size = root.Size * 2 | |
157 | ---------------------------------------------------- | |
158 | newWeld(torso, larm, -1.5, 0.5, 0) | |
159 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
160 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
161 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
162 | newWeld(torso, hed, 0, 1.5, 0) | |
163 | newWeld(torso, lleg, -0.5, -1, 0) | |
164 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
165 | newWeld(torso, rleg, 0.5, -1, 0) | |
166 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
167 | newWeld(root, torso, 0, -1, 0) | |
168 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
169 | ---------------------------------------------------- | |
170 | game:service'InsertService':LoadAsset(63993845):children()[1].Parent=char | |
171 | char.LavendarPlasmaHood.Handle.Mesh.Scale = char.LavendarPlasmaHood.Handle.Mesh.Scale * 1.8 | |
172 | char.LavendarPlasmaHood.Handle.Mesh.VertexColor = Vector3.new(0.1,0.1,0.1) | |
173 | hed.face.Texture = "rbxassetid://46282671" | |
174 | z=Instance.new('Decal',hed) | |
175 | z.Face = 'Front' | |
176 | z.Texture='rbxassetid://99174105' | |
177 | hed.BrickColor = BrickColor.new("Really black") | |
178 | lite = Instance.new("PointLight", torso) | |
179 | lite.Brightness = 14 | |
180 | lite.Range = 10 | |
181 | lite.Color = Color3.new(1, 0, 0) | |
182 | --[[local hed2 = hed:Clone() | |
183 | hed2.CanCollide = false | |
184 | hed2.Parent = char | |
185 | hed2:ClearAllChildren() | |
186 | hed2.Transparency = 1 | |
187 | hed2.Name = "DARP" | |
188 | local w = Instance.new("Weld",hed2) | |
189 | w.Part0 = hed | |
190 | w.Part1 = hed2 | |
191 | w.C0 = CFrame.new(0,0,-0.175) | |
192 | z=Instance.new("SurfaceGui",hed2) | |
193 | z.Enabled = true | |
194 | z.Face = "Front" | |
195 | z.Adornee = hed2 | |
196 | z.CanvasSize = Vector2.new(100,100) | |
197 | local face = Instance.new("ImageLabel",z) | |
198 | face.Size = UDim2.new(1,-30,1,0) | |
199 | face.Position = UDim2.new(0,15,0,0) | |
200 | face.BackgroundTransparency = 1 | |
201 | face.Image='rbxassetid://46282671']]-- | |
202 | ---------------------------------------------------- | |
203 | z = Instance.new("Sound", char) | |
204 | - | z.SoundId = "rbxassetid://242463565"--242463565 |
204 | + | z.SoundId = "rbxassetid://241180816"--242463565 |
205 | z.Looped = true | |
206 | z.Pitch = 1 | |
207 | - | z.Volume = 1 |
207 | + | z.Volume = 10 |
208 | wait(.01) | |
209 | z:Play() | |
210 | ---------------------------------------------------- | |
211 | local m = Instance.new("Model") | |
212 | m.Name = "Absolution" | |
213 | p1 = Instance.new("Part", m) | |
214 | p1.BrickColor = BrickColor.new("Bright blue") | |
215 | p1.FormFactor = Enum.FormFactor.Custom | |
216 | p1.Size = Vector3.new(1, 0.600000024, 1.5) | |
217 | 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) | |
218 | p1.CanCollide = false | |
219 | p1.Locked = true | |
220 | p1.Elasticity = 0 | |
221 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
222 | p1.TopSurface = Enum.SurfaceType.Smooth | |
223 | b1 = Instance.new("SpecialMesh", p1) | |
224 | b1.MeshType = Enum.MeshType.Wedge | |
225 | b1.Name = "Mesh" | |
226 | b1.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928) | |
227 | p2 = Instance.new("Part", m) | |
228 | p2.BrickColor = BrickColor.new("Really black") | |
229 | p2.FormFactor = Enum.FormFactor.Custom | |
230 | p2.Size = Vector3.new(1, 2.9000001, 1) | |
231 | 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) | |
232 | p2.CanCollide = false | |
233 | p2.Locked = true | |
234 | p2.Elasticity = 0 | |
235 | p2.BottomSurface = Enum.SurfaceType.Smooth | |
236 | p2.TopSurface = Enum.SurfaceType.Smooth | |
237 | b2 = Instance.new("BlockMesh", p2) | |
238 | b2.Name = "Mesh" | |
239 | b2.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
240 | p3 = Instance.new("Part", m) | |
241 | p3.BrickColor = BrickColor.new("Bright blue") | |
242 | p3.FormFactor = Enum.FormFactor.Custom | |
243 | p3.Size = Vector3.new(1, 1.20000005, 2.0999999) | |
244 | 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) | |
245 | p3.CanCollide = false | |
246 | p3.Locked = true | |
247 | p3.Elasticity = 0 | |
248 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
249 | p3.TopSurface = Enum.SurfaceType.Smooth | |
250 | b3 = Instance.new("SpecialMesh", p3) | |
251 | b3.MeshType = Enum.MeshType.Wedge | |
252 | b3.Name = "Mesh" | |
253 | b3.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928) | |
254 | p4 = Instance.new("Part", m) | |
255 | p4.BrickColor = BrickColor.new("Bright blue") | |
256 | p4.FormFactor = Enum.FormFactor.Custom | |
257 | p4.Size = Vector3.new(1, 1.43999994, 2.05000019) | |
258 | 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) | |
259 | p4.CanCollide = false | |
260 | p4.Locked = true | |
261 | p4.Elasticity = 0 | |
262 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
263 | p4.TopSurface = Enum.SurfaceType.Smooth | |
264 | b4 = Instance.new("SpecialMesh", p4) | |
265 | b4.MeshType = Enum.MeshType.Wedge | |
266 | b4.Name = "Mesh" | |
267 | b4.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988) | |
268 | p5 = Instance.new("Part", m) | |
269 | p5.BrickColor = BrickColor.new("Bright blue") | |
270 | p5.FormFactor = Enum.FormFactor.Custom | |
271 | p5.Size = Vector3.new(1, 1.20000005, 3.20000005) | |
272 | 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) | |
273 | p5.CanCollide = false | |
274 | p5.Locked = true | |
275 | p5.Elasticity = 0 | |
276 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
277 | p5.TopSurface = Enum.SurfaceType.Smooth | |
278 | b5 = Instance.new("SpecialMesh", p5) | |
279 | b5.MeshType = Enum.MeshType.Wedge | |
280 | b5.Name = "Mesh" | |
281 | b5.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928) | |
282 | p6 = Instance.new("Part", m) | |
283 | p6.Name = "Handle" | |
284 | p6.BrickColor = BrickColor.new("Really black") | |
285 | p6.FormFactor = Enum.FormFactor.Custom | |
286 | p6.Size = Vector3.new(1.5999999, 13.6000004, 1) | |
287 | 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) | |
288 | p6.CanCollide = false | |
289 | p6.Locked = true | |
290 | p6.Elasticity = 0 | |
291 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
292 | p6.TopSurface = Enum.SurfaceType.Smooth | |
293 | b6 = Instance.new("BlockMesh", p6) | |
294 | b6.Name = "Mesh" | |
295 | b6.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
296 | p7 = Instance.new("Part", m) | |
297 | p7.BrickColor = BrickColor.new("Bright blue") | |
298 | p7.FormFactor = Enum.FormFactor.Custom | |
299 | p7.Size = Vector3.new(1, 1.00999999, 1.05000019) | |
300 | 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) | |
301 | p7.CanCollide = false | |
302 | p7.Locked = true | |
303 | p7.Elasticity = 0 | |
304 | p7.BottomSurface = Enum.SurfaceType.Smooth | |
305 | p7.TopSurface = Enum.SurfaceType.Smooth | |
306 | b7 = Instance.new("SpecialMesh", p7) | |
307 | b7.MeshType = Enum.MeshType.Wedge | |
308 | b7.Name = "Mesh" | |
309 | b7.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988) | |
310 | p8 = Instance.new("Part", m) | |
311 | p8.BrickColor = BrickColor.new("Bright blue") | |
312 | p8.FormFactor = Enum.FormFactor.Custom | |
313 | p8.Size = Vector3.new(1, 1.00999999, 1.05000019) | |
314 | 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) | |
315 | p8.CanCollide = false | |
316 | p8.Locked = true | |
317 | p8.Elasticity = 0 | |
318 | p8.BottomSurface = Enum.SurfaceType.Smooth | |
319 | p8.TopSurface = Enum.SurfaceType.Smooth | |
320 | b8 = Instance.new("SpecialMesh", p8) | |
321 | b8.MeshType = Enum.MeshType.Wedge | |
322 | b8.Name = "Mesh" | |
323 | b8.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988) | |
324 | p9 = Instance.new("Part", m) | |
325 | p9.BrickColor = BrickColor.new("Really black") | |
326 | p9.FormFactor = Enum.FormFactor.Custom | |
327 | p9.Size = Vector3.new(1, 1.07999957, 1) | |
328 | 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) | |
329 | p9.CanCollide = false | |
330 | p9.Locked = true | |
331 | p9.Elasticity = 0 | |
332 | p9.BottomSurface = Enum.SurfaceType.Smooth | |
333 | p9.TopSurface = Enum.SurfaceType.Smooth | |
334 | b9 = Instance.new("BlockMesh", p9) | |
335 | b9.Name = "Mesh" | |
336 | b9.Scale = Vector3.new(0.550000012, 1, 0.550000012) | |
337 | p10 = Instance.new("Part", m) | |
338 | p10.BrickColor = BrickColor.new("Really black") | |
339 | p10.FormFactor = Enum.FormFactor.Custom | |
340 | p10.Size = Vector3.new(1, 1.41999948, 1) | |
341 | 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) | |
342 | p10.CanCollide = false | |
343 | p10.Locked = true | |
344 | p10.Elasticity = 0 | |
345 | p10.BottomSurface = Enum.SurfaceType.Smooth | |
346 | p10.TopSurface = Enum.SurfaceType.Smooth | |
347 | b10 = Instance.new("BlockMesh", p10) | |
348 | b10.Name = "Mesh" | |
349 | b10.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
350 | p11 = Instance.new("Part", m) | |
351 | p11.BrickColor = BrickColor.new("Really black") | |
352 | p11.FormFactor = Enum.FormFactor.Custom | |
353 | p11.Size = Vector3.new(1, 1.50999951, 1) | |
354 | 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) | |
355 | p11.CanCollide = false | |
356 | p11.Locked = true | |
357 | p11.Elasticity = 0 | |
358 | p11.BottomSurface = Enum.SurfaceType.Smooth | |
359 | p11.TopSurface = Enum.SurfaceType.Smooth | |
360 | b11 = Instance.new("BlockMesh", p11) | |
361 | b11.Name = "Mesh" | |
362 | b11.Scale = Vector3.new(0.550000012, 1, 0.550000012) | |
363 | p12 = Instance.new("Part", m) | |
364 | p12.Name = "BladeCenter" | |
365 | p12.BrickColor = BrickColor.new("Dark stone grey") | |
366 | p12.Material = Enum.Material.Concrete | |
367 | p12.FormFactor = Enum.FormFactor.Symmetric | |
368 | p12.Size = Vector3.new(1, 2, 2) | |
369 | 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) | |
370 | p12.CanCollide = false | |
371 | p12.Locked = true | |
372 | p12.BottomSurface = Enum.SurfaceType.Smooth | |
373 | p12.TopSurface = Enum.SurfaceType.Smooth | |
374 | b12 = Instance.new("SpecialMesh", p12) | |
375 | b12.MeshType = Enum.MeshType.Brick | |
376 | b12.Name = "Mesh" | |
377 | b12.Scale = Vector3.new(0.499999911, 1, 0.699999928) | |
378 | p13 = Instance.new("Part", m) | |
379 | p13.BrickColor = BrickColor.new("Really black") | |
380 | p13.FormFactor = Enum.FormFactor.Custom | |
381 | p13.Size = Vector3.new(2.91000009, 4.3300004, 1) | |
382 | 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) | |
383 | p13.CanCollide = false | |
384 | p13.Locked = true | |
385 | p13.Elasticity = 0 | |
386 | p13.BottomSurface = Enum.SurfaceType.Smooth | |
387 | p13.TopSurface = Enum.SurfaceType.Smooth | |
388 | b13 = Instance.new("BlockMesh", p13) | |
389 | b13.Name = "Mesh" | |
390 | b13.Scale = Vector3.new(1, 1, 0.400000006) | |
391 | p14 = Instance.new("Part", m) | |
392 | p14.BrickColor = BrickColor.new("Really black") | |
393 | p14.FormFactor = Enum.FormFactor.Custom | |
394 | p14.Size = Vector3.new(2.5, 2.17999935, 1) | |
395 | 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) | |
396 | p14.CanCollide = false | |
397 | p14.Locked = true | |
398 | p14.Elasticity = 0 | |
399 | p14.BottomSurface = Enum.SurfaceType.Smooth | |
400 | p14.TopSurface = Enum.SurfaceType.Smooth | |
401 | b14 = Instance.new("BlockMesh", p14) | |
402 | b14.Name = "Mesh" | |
403 | b14.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
404 | p15 = Instance.new("Part", m) | |
405 | p15.BrickColor = BrickColor.new("Really black") | |
406 | p15.FormFactor = Enum.FormFactor.Custom | |
407 | p15.Size = Vector3.new(1.16999996, 4.2699995, 1) | |
408 | 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) | |
409 | p15.CanCollide = false | |
410 | p15.Locked = true | |
411 | p15.Elasticity = 0 | |
412 | p15.BottomSurface = Enum.SurfaceType.Smooth | |
413 | p15.TopSurface = Enum.SurfaceType.Smooth | |
414 | b15 = Instance.new("BlockMesh", p15) | |
415 | b15.Name = "Mesh" | |
416 | b15.Scale = Vector3.new(1, 1, 0.400000006) | |
417 | p16 = Instance.new("Part", m) | |
418 | p16.BrickColor = BrickColor.new("Really black") | |
419 | p16.FormFactor = Enum.FormFactor.Custom | |
420 | p16.Size = Vector3.new(1.68999994, 4.76000023, 1) | |
421 | 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) | |
422 | p16.CanCollide = false | |
423 | p16.Locked = true | |
424 | p16.Elasticity = 0 | |
425 | p16.BottomSurface = Enum.SurfaceType.Smooth | |
426 | p16.TopSurface = Enum.SurfaceType.Smooth | |
427 | b16 = Instance.new("BlockMesh", p16) | |
428 | b16.Name = "Mesh" | |
429 | b16.Scale = Vector3.new(1, 1, 0.400000006) | |
430 | p17 = Instance.new("Part", m) | |
431 | p17.BrickColor = BrickColor.new("Really black") | |
432 | p17.FormFactor = Enum.FormFactor.Custom | |
433 | p17.Size = Vector3.new(1.78999996, 4.21999979, 1) | |
434 | 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) | |
435 | p17.CanCollide = false | |
436 | p17.Locked = true | |
437 | p17.Elasticity = 0 | |
438 | p17.BottomSurface = Enum.SurfaceType.Smooth | |
439 | p17.TopSurface = Enum.SurfaceType.Smooth | |
440 | b17 = Instance.new("BlockMesh", p17) | |
441 | b17.Name = "Mesh" | |
442 | b17.Scale = Vector3.new(1, 1, 0.400000006) | |
443 | p18 = Instance.new("WedgePart", m) | |
444 | p18.BrickColor = BrickColor.new("Dark stone grey") | |
445 | p18.Name = "BladePart1" | |
446 | p18.Material = Enum.Material.Concrete | |
447 | p18.Name = "Wedge" | |
448 | p18.FormFactor = Enum.FormFactor.Symmetric | |
449 | p18.Size = Vector3.new(1, 4, 2) | |
450 | 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) | |
451 | p18.CanCollide = false | |
452 | p18.Locked = true | |
453 | p18.BottomSurface = Enum.SurfaceType.Smooth | |
454 | p18.TopSurface = Enum.SurfaceType.Smooth | |
455 | b18 = Instance.new("SpecialMesh", p18) | |
456 | b18.MeshType = Enum.MeshType.Wedge | |
457 | b18.Name = "Mesh" | |
458 | b18.Scale = Vector3.new(0.499999911, 0.899999976, 0.699999928) | |
459 | p19 = Instance.new("WedgePart", m) | |
460 | p19.BrickColor = BrickColor.new("Dark stone grey") | |
461 | p19.Name = "BladePart2" | |
462 | p19.Material = Enum.Material.Concrete | |
463 | p19.Name = "Wedge" | |
464 | p19.FormFactor = Enum.FormFactor.Symmetric | |
465 | p19.Size = Vector3.new(1, 4, 2) | |
466 | 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) | |
467 | p19.CanCollide = false | |
468 | p19.Locked = true | |
469 | p19.BottomSurface = Enum.SurfaceType.Smooth | |
470 | p19.TopSurface = Enum.SurfaceType.Smooth | |
471 | b19 = Instance.new("SpecialMesh", p19) | |
472 | b19.MeshType = Enum.MeshType.Wedge | |
473 | b19.Name = "Mesh" | |
474 | b19.Scale = Vector3.new(0.499999911, 0.899999976, 0.699999928) | |
475 | p20 = Instance.new("Part", m) | |
476 | p20.BrickColor = BrickColor.new("Really black") | |
477 | p20.FormFactor = Enum.FormFactor.Custom | |
478 | p20.Size = Vector3.new(2.53000021, 2.39999938, 1) | |
479 | 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) | |
480 | p20.CanCollide = false | |
481 | p20.Locked = true | |
482 | p20.Elasticity = 0 | |
483 | p20.BottomSurface = Enum.SurfaceType.Smooth | |
484 | p20.TopSurface = Enum.SurfaceType.Smooth | |
485 | b20 = Instance.new("BlockMesh", p20) | |
486 | b20.Name = "Mesh" | |
487 | b20.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
488 | p21 = Instance.new("Part", m) | |
489 | p21.BrickColor = BrickColor.new("Bright blue") | |
490 | p21.FormFactor = Enum.FormFactor.Custom | |
491 | p21.Size = Vector3.new(1, 1.43999994, 1.59000015) | |
492 | 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) | |
493 | p21.CanCollide = false | |
494 | p21.Locked = true | |
495 | p21.Elasticity = 0 | |
496 | p21.BottomSurface = Enum.SurfaceType.Smooth | |
497 | p21.TopSurface = Enum.SurfaceType.Smooth | |
498 | b21 = Instance.new("SpecialMesh", p21) | |
499 | b21.MeshType = Enum.MeshType.Wedge | |
500 | b21.Name = "Mesh" | |
501 | b21.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988) | |
502 | w1 = Instance.new("Weld", p1) | |
503 | w1.Name = "Part_Weld" | |
504 | w1.Part0 = p1 | |
505 | 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) | |
506 | w1.Part1 = p2 | |
507 | 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) | |
508 | w2 = Instance.new("Weld", p2) | |
509 | w2.Name = "Part_Weld" | |
510 | w2.Part0 = p2 | |
511 | 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) | |
512 | w2.Part1 = p3 | |
513 | 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) | |
514 | w3 = Instance.new("Weld", p3) | |
515 | w3.Name = "Part_Weld" | |
516 | w3.Part0 = p3 | |
517 | 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) | |
518 | w3.Part1 = p4 | |
519 | 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) | |
520 | w4 = Instance.new("Weld", p4) | |
521 | w4.Name = "Part_Weld" | |
522 | w4.Part0 = p4 | |
523 | 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) | |
524 | w4.Part1 = p5 | |
525 | 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) | |
526 | w5 = Instance.new("Weld", p5) | |
527 | w5.Name = "Part_Weld" | |
528 | w5.Part0 = p5 | |
529 | 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) | |
530 | w5.Part1 = p6 | |
531 | 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) | |
532 | w6 = Instance.new("Weld", p6) | |
533 | w6.Name = "Part_Weld" | |
534 | w6.Part0 = p6 | |
535 | 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) | |
536 | w6.Part1 = p7 | |
537 | 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) | |
538 | w7 = Instance.new("Weld", p7) | |
539 | w7.Name = "Part_Weld" | |
540 | w7.Part0 = p7 | |
541 | 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) | |
542 | w7.Part1 = p8 | |
543 | 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) | |
544 | w8 = Instance.new("Weld", p8) | |
545 | w8.Name = "Part_Weld" | |
546 | w8.Part0 = p8 | |
547 | 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) | |
548 | w8.Part1 = p9 | |
549 | 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) | |
550 | w9 = Instance.new("Weld", p9) | |
551 | w9.Name = "Part_Weld" | |
552 | w9.Part0 = p9 | |
553 | 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) | |
554 | w9.Part1 = p10 | |
555 | 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) | |
556 | w10 = Instance.new("Weld", p10) | |
557 | w10.Name = "Part_Weld" | |
558 | w10.Part0 = p10 | |
559 | 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) | |
560 | w10.Part1 = p11 | |
561 | 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) | |
562 | w11 = Instance.new("Weld", p11) | |
563 | w11.Name = "Part_Weld" | |
564 | w11.Part0 = p11 | |
565 | 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) | |
566 | w11.Part1 = p12 | |
567 | 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) | |
568 | w12 = Instance.new("Weld", p12) | |
569 | w12.Name = "Part_Weld" | |
570 | w12.Part0 = p12 | |
571 | 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) | |
572 | w12.Part1 = p13 | |
573 | 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) | |
574 | w13 = Instance.new("Weld", p13) | |
575 | w13.Name = "Part_Weld" | |
576 | w13.Part0 = p13 | |
577 | 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) | |
578 | w13.Part1 = p14 | |
579 | 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) | |
580 | w14 = Instance.new("Weld", p14) | |
581 | w14.Name = "Part_Weld" | |
582 | w14.Part0 = p14 | |
583 | 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) | |
584 | w14.Part1 = p15 | |
585 | 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) | |
586 | w15 = Instance.new("Weld", p15) | |
587 | w15.Name = "Part_Weld" | |
588 | w15.Part0 = p15 | |
589 | 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) | |
590 | w15.Part1 = p16 | |
591 | 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) | |
592 | w16 = Instance.new("Weld", p16) | |
593 | w16.Name = "Part_Weld" | |
594 | w16.Part0 = p16 | |
595 | 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) | |
596 | w16.Part1 = p17 | |
597 | 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) | |
598 | w17 = Instance.new("Weld", p17) | |
599 | w17.Name = "Wedge_Weld" | |
600 | w17.Part0 = p17 | |
601 | 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) | |
602 | w17.Part1 = p18 | |
603 | 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) | |
604 | w18 = Instance.new("Weld", p18) | |
605 | w18.Name = "Wedge_Weld" | |
606 | w18.Part0 = p18 | |
607 | 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) | |
608 | w18.Part1 = p19 | |
609 | 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) | |
610 | w19 = Instance.new("Weld", p19) | |
611 | w19.Name = "Part_Weld" | |
612 | w19.Part0 = p19 | |
613 | 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) | |
614 | w19.Part1 = p20 | |
615 | 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) | |
616 | w20 = Instance.new("Weld", p20) | |
617 | w20.Name = "Part_Weld" | |
618 | w20.Part0 = p20 | |
619 | 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) | |
620 | w20.Part1 = p21 | |
621 | 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) | |
622 | m.Parent = char | |
623 | m:MakeJoints() | |
624 | ---------------------------------------------------- | |
625 | local cor = Instance.new("Part", char.Absolution) | |
626 | cor.Name = "Thingy" | |
627 | cor.Locked = true | |
628 | cor.BottomSurface = 0 | |
629 | cor.CanCollide = false | |
630 | cor.Size = Vector3.new(1, 13, 1) | |
631 | cor.Transparency = 1 | |
632 | cor.TopSurface = 0 | |
633 | corw = Instance.new("Weld", cor) | |
634 | corw.Part0 = rarm | |
635 | corw.Part1 = cor | |
636 | corw.C0 = CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
637 | corw.C1 = CFrame.new(0, 0, 0) | |
638 | weld1 = Instance.new("Weld", char.Absolution) | |
639 | weld1.Part0 = cor | |
640 | weld1.Part1 = p6 | |
641 | weld1.C0 = CFrame.new(0, 0, 0) | |
642 | ---------------------------------------------------- | |
643 | hitb = Instance.new("Part", char.Absolution) | |
644 | hitb.Name = "Thingy2" | |
645 | hitb.Locked = true | |
646 | hitb.BottomSurface = 0 | |
647 | hitb.CanCollide = false | |
648 | hitb.Size = Vector3.new(0, 8, 6) | |
649 | hitb.Transparency = 1 | |
650 | hitb.TopSurface = 0 | |
651 | weld2 = Instance.new("Weld", char.Absolution) | |
652 | weld2.Part0 = hitb | |
653 | weld2.Part1 = p12 | |
654 | weld2.C0 = CFrame.new(0, .6, 1) | |
655 | ---------------------------------------------------- | |
656 | local m = Instance.new("Model") | |
657 | m.Name = "Claw" | |
658 | p1 = Instance.new("Part", m) | |
659 | p1.BrickColor = BrickColor.new("Really black") | |
660 | p1.FormFactor = Enum.FormFactor.Custom | |
661 | p1.Size = Vector3.new(1.5, 0.5, 0.5) | |
662 | p1.CFrame = CFrame.new(2.91120553, 6.79703379, -19.5339718, -0.205515206, -0.209888965, 0.955883741, 0.52527827, -0.847774804, -0.0732159689, 0.825741529, 0.487057745, 0.284480691) | |
663 | p1.CanCollide = false | |
664 | p1.Locked = true | |
665 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
666 | p1.TopSurface = Enum.SurfaceType.Smooth | |
667 | b1 = Instance.new("BlockMesh", p1) | |
668 | b1.Name = "Mesh" | |
669 | p2 = Instance.new("WedgePart", m) | |
670 | p2.BrickColor = BrickColor.new("Really black") | |
671 | p2.Name = "Wedge" | |
672 | p2.FormFactor = Enum.FormFactor.Custom | |
673 | p2.Size = Vector3.new(3, 1, 0.5) | |
674 | p2.CFrame = CFrame.new(2.94872427, 6.13246727, -16.5004997, -5.96046448e-008, -4.47034836e-008, -1.00000358, -1.3615936e-005, 0.99999994, 4.47034836e-008, 1.00000358, 1.41002238e-005, 0) | |
675 | p2.CanCollide = false | |
676 | p2.Locked = true | |
677 | p2.BottomSurface = Enum.SurfaceType.Smooth | |
678 | p2.TopSurface = Enum.SurfaceType.Smooth | |
679 | p3 = Instance.new("Part", m) | |
680 | p3.BrickColor = BrickColor.new("Really black") | |
681 | p3.FormFactor = Enum.FormFactor.Custom | |
682 | p3.Size = Vector3.new(1.5, 0.5, 0.5) | |
683 | p3.CFrame = CFrame.new(1.84869456, 6.79700661, -18.5422173, -5.06400113e-008, 1.07230136e-007, 1.00000715, -0.499905825, -0.866079628, -1.1125789e-007, 0.86608547, -0.499910295, -2.17476881e-008) | |
684 | p3.CanCollide = false | |
685 | p3.Locked = true | |
686 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
687 | p3.TopSurface = Enum.SurfaceType.Smooth | |
688 | b2 = Instance.new("BlockMesh", p3) | |
689 | b2.Name = "Mesh" | |
690 | p4 = Instance.new("WedgePart", m) | |
691 | p4.BrickColor = BrickColor.new("Really black") | |
692 | p4.Name = "Wedge" | |
693 | p4.FormFactor = Enum.FormFactor.Custom | |
694 | p4.Size = Vector3.new(3, 1, 0.5) | |
695 | p4.CFrame = CFrame.new(0.0487272739, 4.13279819, -16.5004959, -1.62921424e-007, 1.78814929e-007, 1.00001431, -1.2755394e-005, -0.999999762, -1.78813849e-007, 1.00001431, -1.46627426e-005, -7.54998553e-008) | |
696 | p4.CanCollide = false | |
697 | p4.Locked = true | |
698 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
699 | p4.TopSurface = Enum.SurfaceType.Smooth | |
700 | p5 = Instance.new("Part", m) | |
701 | p5.BrickColor = BrickColor.new("Really black") | |
702 | p5.FormFactor = Enum.FormFactor.Custom | |
703 | p5.Size = Vector3.new(1.5, 0.5, 0.5) | |
704 | p5.CFrame = CFrame.new(1.84874606, 6.79701567, -19.6422844, -4.29027068e-007, 1.9046513e-007, 1.00001431, 0.500089467, -0.865973532, 2.18601315e-008, 0.865987122, 0.50009501, 3.78533827e-008) | |
705 | p5.CanCollide = false | |
706 | p5.Locked = true | |
707 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
708 | p5.TopSurface = Enum.SurfaceType.Smooth | |
709 | b3 = Instance.new("BlockMesh", p5) | |
710 | b3.Name = "Mesh" | |
711 | p6 = Instance.new("Part", m) | |
712 | p6.BrickColor = BrickColor.new("Really black") | |
713 | p6.FormFactor = Enum.FormFactor.Custom | |
714 | p6.Size = Vector3.new(1.5, 0.5, 0.5) | |
715 | p6.CFrame = CFrame.new(2.61122823, 6.79701757, -18.433939, -0.250001401, 0.0669622123, 0.965941966, -0.491382152, -0.868364573, -0.0669801831, 0.834303975, -0.491393685, 0.249996051) | |
716 | p6.CanCollide = false | |
717 | p6.Locked = true | |
718 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
719 | p6.TopSurface = Enum.SurfaceType.Smooth | |
720 | b4 = Instance.new("BlockMesh", p6) | |
721 | b4.Name = "Mesh" | |
722 | p7 = Instance.new("Part", m) | |
723 | p7.BrickColor = BrickColor.new("Really black") | |
724 | p7.FormFactor = Enum.FormFactor.Custom | |
725 | p7.Size = Vector3.new(3, 1, 1.20000005) | |
726 | p7.CFrame = CFrame.new(2.59874034, 5.13276958, -16.5005379, -3.27825546e-007, -3.57627869e-007, -1.00001431, -0.000133868307, 0.99999994, 1.49011612e-008, 1.00001442, 0.000135900453, -5.96046448e-008) | |
727 | p7.CanCollide = false | |
728 | p7.Locked = true | |
729 | p7.BottomSurface = Enum.SurfaceType.Smooth | |
730 | p7.TopSurface = Enum.SurfaceType.Smooth | |
731 | b5 = Instance.new("BlockMesh", p7) | |
732 | b5.Name = "Mesh" | |
733 | p8 = Instance.new("Part", m) | |
734 | p8.BrickColor = BrickColor.new("Bright blue") | |
735 | p8.FormFactor = Enum.FormFactor.Symmetric | |
736 | p8.Size = Vector3.new(1, 1, 1) | |
737 | p8.CFrame = CFrame.new(1.84841466, 6.25537968, -20.3997307, -1.42129729e-005, 0.00428489037, -1.00000513, 0.965967655, 0.258660465, 0.00109496934, 0.258668512, -0.965972245, -0.00414247159) | |
738 | p8.CanCollide = false | |
739 | p8.Locked = true | |
740 | b6 = Instance.new("SpecialMesh", p8) | |
741 | b6.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
742 | b6.TextureId = "" | |
743 | b6.MeshType = Enum.MeshType.FileMesh | |
744 | b6.Name = "Mesh" | |
745 | b6.Scale = Vector3.new(1.20000005, 0.449999988, 0.449999988) | |
746 | p9 = Instance.new("Part", m) | |
747 | p9.BrickColor = BrickColor.new("Really black") | |
748 | p9.FormFactor = Enum.FormFactor.Custom | |
749 | p9.Size = Vector3.new(1.5, 0.5, 0.5) | |
750 | p9.CFrame = CFrame.new(2.79691935, 3.68131566, -18.264101, -0.277095288, -0.561500967, -0.779720128, 0.631033003, 0.505603611, -0.58835566, 0.724593103, -0.655058563, 0.214224264) | |
751 | p9.CanCollide = false | |
752 | p9.Locked = true | |
753 | p9.BottomSurface = Enum.SurfaceType.Smooth | |
754 | p9.TopSurface = Enum.SurfaceType.Smooth | |
755 | b7 = Instance.new("BlockMesh", p9) | |
756 | b7.Name = "Mesh" | |
757 | p10 = Instance.new("Part", m) | |
758 | p10.BrickColor = BrickColor.new("Bright blue") | |
759 | p10.FormFactor = Enum.FormFactor.Symmetric | |
760 | p10.Size = Vector3.new(1, 1, 1) | |
761 | p10.CFrame = CFrame.new(3.09846497, 6.25236273, -20.2996788, -0.0669716895, 0.254178405, -0.964850724, 0.96595335, 0.258713901, 0.00110733509, 0.249903828, -0.93192625, -0.262850702) | |
762 | p10.CanCollide = false | |
763 | p10.Locked = true | |
764 | b8 = Instance.new("SpecialMesh", p10) | |
765 | b8.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
766 | b8.TextureId = "" | |
767 | b8.MeshType = Enum.MeshType.FileMesh | |
768 | b8.Name = "Mesh" | |
769 | b8.Scale = Vector3.new(1.20000005, 0.449999988, 0.449999988) | |
770 | p11 = Instance.new("Part", m) | |
771 | p11.BrickColor = BrickColor.new("Really black") | |
772 | p11.FormFactor = Enum.FormFactor.Custom | |
773 | p11.Size = Vector3.new(1.5, 0.5, 0.5) | |
774 | p11.CFrame = CFrame.new(0.386122227, 6.79699421, -18.533905, 0.250022948, -0.0669473261, 0.965937555, -0.491377324, -0.868365645, 0.0670026764, 0.834300399, -0.491393894, -0.250007868) | |
775 | p11.CanCollide = false | |
776 | p11.Locked = true | |
777 | p11.BottomSurface = Enum.SurfaceType.Smooth | |
778 | p11.TopSurface = Enum.SurfaceType.Smooth | |
779 | b9 = Instance.new("BlockMesh", p11) | |
780 | b9.Name = "Mesh" | |
781 | p12 = Instance.new("Part", m) | |
782 | p12.BrickColor = BrickColor.new("Really black") | |
783 | p12.FormFactor = Enum.FormFactor.Custom | |
784 | p12.Size = Vector3.new(1.5, 0.5, 0.5) | |
785 | p12.CFrame = CFrame.new(1.14871967, 6.79700947, -19.6422291, -4.76837158e-007, 2.83122063e-007, 1.00001442, 0.500089884, -0.865973473, 4.47034836e-008, 0.865987122, 0.500095367, 1.49011612e-008) | |
786 | p12.CanCollide = false | |
787 | p12.Locked = true | |
788 | p12.BottomSurface = Enum.SurfaceType.Smooth | |
789 | p12.TopSurface = Enum.SurfaceType.Smooth | |
790 | b10 = Instance.new("BlockMesh", p12) | |
791 | b10.Name = "Mesh" | |
792 | p13 = Instance.new("Part", m) | |
793 | p13.BrickColor = BrickColor.new("Really black") | |
794 | p13.FormFactor = Enum.FormFactor.Custom | |
795 | p13.Size = Vector3.new(1.5, 0.5, 0.5) | |
796 | p13.CFrame = CFrame.new(1.14870512, 6.79699612, -18.5421638, -4.63888163e-008, 5.08347114e-007, 1.00001442, -0.499899268, -0.866083562, -2.18518963e-008, 0.866095126, -0.499908328, 3.78581007e-008) | |
797 | p13.CanCollide = false | |
798 | p13.Locked = true | |
799 | p13.BottomSurface = Enum.SurfaceType.Smooth | |
800 | p13.TopSurface = Enum.SurfaceType.Smooth | |
801 | b11 = Instance.new("BlockMesh", p13) | |
802 | b11.Name = "Mesh" | |
803 | p14 = Instance.new("Part", m) | |
804 | p14.BrickColor = BrickColor.new("Bright blue") | |
805 | p14.FormFactor = Enum.FormFactor.Symmetric | |
806 | p14.Size = Vector3.new(1, 1, 1) | |
807 | p14.CFrame = CFrame.new(1.14845455, 6.25537348, -20.3996773, -1.42545232e-005, 0.00425684778, -1.00000536, 0.965958476, 0.258694947, 0.00108788908, 0.258703023, -0.965963125, -0.00411536777) | |
808 | p14.CanCollide = false | |
809 | p14.Locked = true | |
810 | b12 = Instance.new("SpecialMesh", p14) | |
811 | b12.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
812 | b12.TextureId = "" | |
813 | b12.MeshType = Enum.MeshType.FileMesh | |
814 | b12.Name = "Mesh" | |
815 | b12.Scale = Vector3.new(1.20000005, 0.449999988, 0.449999988) | |
816 | p15 = Instance.new("Part", m) | |
817 | p15.BrickColor = BrickColor.new("Medium stone grey") | |
818 | p15.Transparency = 1 | |
819 | p15.Name = "ArmPart" | |
820 | p15.FormFactor = Enum.FormFactor.Custom | |
821 | p15.Size = Vector3.new(2, 1, 1) | |
822 | 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) | |
823 | p15.CanCollide = false | |
824 | p15.Locked = true | |
825 | p15.BottomSurface = Enum.SurfaceType.Smooth | |
826 | p15.TopSurface = Enum.SurfaceType.Smooth | |
827 | b13 = Instance.new("BlockMesh", p15) | |
828 | b13.Name = "Mesh" | |
829 | p16 = Instance.new("Part", m) | |
830 | p16.BrickColor = BrickColor.new("Really black") | |
831 | p16.FormFactor = Enum.FormFactor.Custom | |
832 | p16.Size = Vector3.new(3, 1, 2.4000001) | |
833 | p16.CFrame = CFrame.new(1.49872661, 6.13250732, -16.5007095, -2.98894406e-007, 4.39006953e-007, 1.00001442, 0.000110270419, -1, 4.71678729e-012, 1.00001454, 0.000108154614, 4.37120207e-008) | |
834 | p16.CanCollide = false | |
835 | p16.Locked = true | |
836 | p16.BottomSurface = Enum.SurfaceType.Smooth | |
837 | p16.TopSurface = Enum.SurfaceType.Smooth | |
838 | b14 = Instance.new("BlockMesh", p16) | |
839 | b14.Name = "Mesh" | |
840 | p17 = Instance.new("Part", m) | |
841 | p17.BrickColor = BrickColor.new("Really black") | |
842 | p17.FormFactor = Enum.FormFactor.Custom | |
843 | p17.Size = Vector3.new(1.5, 0.5, 0.5) | |
844 | p17.CFrame = CFrame.new(2.77308726, 3.37837577, -19.2558823, 0.396035522, -0.497440547, -0.771840453, -0.207958207, 0.770127177, -0.603040278, 0.894391596, 0.399337679, 0.201549783) | |
845 | p17.CanCollide = false | |
846 | p17.Locked = true | |
847 | p17.BottomSurface = Enum.SurfaceType.Smooth | |
848 | p17.TopSurface = Enum.SurfaceType.Smooth | |
849 | b15 = Instance.new("BlockMesh", p17) | |
850 | b15.Name = "Mesh" | |
851 | p18 = Instance.new("Part", m) | |
852 | p18.BrickColor = BrickColor.new("Bright blue") | |
853 | p18.FormFactor = Enum.FormFactor.Symmetric | |
854 | p18.Size = Vector3.new(1, 1, 1) | |
855 | p18.CFrame = CFrame.new(-0.0516102314, 6.25535488, -20.1996384, 0.066943109, -0.245838761, -0.967011333, 0.965954781, 0.258709013, 0.00110003352, 0.249906152, -0.934162259, 0.254788101) | |
856 | p18.CanCollide = false | |
857 | p18.Locked = true | |
858 | b16 = Instance.new("SpecialMesh", p18) | |
859 | b16.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
860 | b16.TextureId = "" | |
861 | b16.MeshType = Enum.MeshType.FileMesh | |
862 | b16.Name = "Mesh" | |
863 | b16.Scale = Vector3.new(1.20000005, 0.449999988, 0.449999988) | |
864 | p19 = Instance.new("Part", m) | |
865 | p19.BrickColor = BrickColor.new("Bright blue") | |
866 | p19.FormFactor = Enum.FormFactor.Symmetric | |
867 | p19.Size = Vector3.new(1, 1, 1) | |
868 | p19.CFrame = CFrame.new(2.43177533, 3.59484506, -20.0301056, 0.559401393, 0.116905749, 0.820629179, -0.685213447, -0.491872638, 0.537163019, 0.466440916, -0.862796843, -0.195047855) | |
869 | p19.CanCollide = false | |
870 | p19.Locked = true | |
871 | b17 = Instance.new("SpecialMesh", p19) | |
872 | b17.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
873 | b17.TextureId = "" | |
874 | b17.MeshType = Enum.MeshType.FileMesh | |
875 | b17.Name = "Mesh" | |
876 | b17.Scale = Vector3.new(1.20000005, 0.449999988, 0.449999988) | |
877 | p20 = Instance.new("Part", m) | |
878 | p20.BrickColor = BrickColor.new("Really black") | |
879 | p20.FormFactor = Enum.FormFactor.Custom | |
880 | p20.Size = Vector3.new(3, 1, 2.4000001) | |
881 | p20.CFrame = CFrame.new(1.49873698, 4.13275099, -16.500618, -2.38418579e-007, -4.47034836e-007, -1.00001454, -0.000133797526, 1.00000024, -2.98023224e-008, 1.00001466, 0.000135831535, -5.96046448e-008) | |
882 | p20.CanCollide = false | |
883 | p20.Locked = true | |
884 | p20.BottomSurface = Enum.SurfaceType.Smooth | |
885 | p20.TopSurface = Enum.SurfaceType.Smooth | |
886 | b18 = Instance.new("BlockMesh", p20) | |
887 | b18.Name = "Mesh" | |
888 | p21 = Instance.new("Part", m) | |
889 | p21.BrickColor = BrickColor.new("Really black") | |
890 | p21.FormFactor = Enum.FormFactor.Custom | |
891 | p21.Size = Vector3.new(3, 1, 1.19999993) | |
892 | p21.CFrame = CFrame.new(0.398718834, 5.13273239, -16.5005798, -2.22529991e-007, -4.17224015e-007, -1.00001454, -0.000133820766, 1.00000024, 5.9472427e-012, 1.00001466, 0.000135854774, -4.37120207e-008) | |
893 | p21.CanCollide = false | |
894 | p21.Locked = true | |
895 | p21.BottomSurface = Enum.SurfaceType.Smooth | |
896 | p21.TopSurface = Enum.SurfaceType.Smooth | |
897 | b19 = Instance.new("BlockMesh", p21) | |
898 | b19.Name = "Mesh" | |
899 | p22 = Instance.new("WedgePart", m) | |
900 | p22.BrickColor = BrickColor.new("Really black") | |
901 | p22.Name = "Wedge" | |
902 | p22.FormFactor = Enum.FormFactor.Custom | |
903 | p22.Size = Vector3.new(3, 1, 0.5) | |
904 | p22.CFrame = CFrame.new(2.94884443, 4.13282013, -16.5005474, 1.35156796e-007, 4.17202415e-007, -1.00001454, 1.19470278e-005, -1.00000024, -6.07483681e-013, -1.00001466, -1.39792755e-005, 4.37120278e-008) | |
905 | p22.CanCollide = false | |
906 | p22.Locked = true | |
907 | p22.BottomSurface = Enum.SurfaceType.Smooth | |
908 | p22.TopSurface = Enum.SurfaceType.Smooth | |
909 | p23 = Instance.new("Part", m) | |
910 | p23.BrickColor = BrickColor.new("Really black") | |
911 | p23.FormFactor = Enum.FormFactor.Custom | |
912 | p23.Size = Vector3.new(1.5, 0.5, 0.5) | |
913 | p23.CFrame = CFrame.new(0.111123323, 6.79699326, -19.53405, 0.167916089, 0.220654398, 0.960804224, 0.593452632, -0.800862908, 0.0802069977, 0.787171543, 0.556722164, -0.265425682) | |
914 | p23.CanCollide = false | |
915 | p23.Locked = true | |
916 | p23.BottomSurface = Enum.SurfaceType.Smooth | |
917 | p23.TopSurface = Enum.SurfaceType.Smooth | |
918 | b20 = Instance.new("BlockMesh", p23) | |
919 | b20.Name = "Mesh" | |
920 | p24 = Instance.new("WedgePart", m) | |
921 | p24.BrickColor = BrickColor.new("Really black") | |
922 | p24.Name = "Wedge" | |
923 | p24.FormFactor = Enum.FormFactor.Custom | |
924 | p24.Size = Vector3.new(3, 1, 0.5) | |
925 | p24.CFrame = CFrame.new(0.0487362742, 6.13243389, -16.5004158, -0.000165194273, -0.00030361861, 1.00001442, 0.00304524973, 0.999995589, 0.000303655863, -1.00001013, 0.00304720178, -0.000164449215) | |
926 | p24.CanCollide = false | |
927 | p24.Locked = true | |
928 | p24.BottomSurface = Enum.SurfaceType.Smooth | |
929 | p24.TopSurface = Enum.SurfaceType.Smooth | |
930 | p25 = Instance.new("Part", m) | |
931 | p25.BrickColor = BrickColor.new("Bright blue") | |
932 | p25.FormFactor = Enum.FormFactor.Symmetric | |
933 | p25.Size = Vector3.new(1, 1, 1) | |
934 | p25.CFrame = CFrame.new(1.49870086, 5.13261318, -18.0007782, 1.20991026e-005, -1.00001454, -4.94604174e-005, -1.00000024, -1.16155716e-005, -0.000471511274, 0.000469659513, 4.96469293e-005, -1.00001466) | |
935 | p25.CanCollide = false | |
936 | p25.Locked = true | |
937 | p25.BottomSurface = Enum.SurfaceType.Smooth | |
938 | p25.TopSurface = Enum.SurfaceType.Smooth | |
939 | b21 = Instance.new("SpecialMesh", p25) | |
940 | b21.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
941 | b21.TextureId = "" | |
942 | b21.MeshType = Enum.MeshType.FileMesh | |
943 | b21.Name = "Mesh" | |
944 | b21.Scale = Vector3.new(1.39999998, 1.39999998, 0.600000024) | |
945 | p26 = Instance.new("Part", m) | |
946 | p26.BrickColor = BrickColor.new("Really black") | |
947 | p26.FormFactor = Enum.FormFactor.Symmetric | |
948 | p26.Size = Vector3.new(1, 1, 1) | |
949 | p26.CFrame = CFrame.new(1.49868095, 5.13287783, -17.5005093, 0.00030383491, 0.000164763711, -1.00001454, -0.999995768, -0.00302907336, -0.000303868263, -0.00303102471, 1.00001025, 0.000164022902) | |
950 | p26.CanCollide = false | |
951 | p26.Locked = true | |
952 | p26.BottomSurface = Enum.SurfaceType.Smooth | |
953 | p26.TopSurface = Enum.SurfaceType.Smooth | |
954 | b22 = Instance.new("SpecialMesh", p26) | |
955 | b22.MeshType = Enum.MeshType.Brick | |
956 | b22.Name = "Mesh" | |
957 | w1 = Instance.new("Weld", p1) | |
958 | w1.Name = "Wedge_Weld" | |
959 | w1.Part0 = p1 | |
960 | w1.C0 = CFrame.new(13.1579618, 15.8875484, 3.27191186, -0.205515206, 0.52527827, 0.825741529, -0.209888965, -0.847774804, 0.487057745, 0.955883741, -0.0732159689, 0.284480691) | |
961 | w1.Part1 = p2 | |
962 | w1.C1 = CFrame.new(16.5005817, -6.13223743, 2.94872212, -4.37113883e-008, -1.38580826e-005, 1, 0, 1, 1.38580826e-005, -1, 6.05756005e-013, -4.37113883e-008) | |
963 | w2 = Instance.new("Weld", p2) | |
964 | w2.Name = "Part_Weld" | |
965 | w2.Part0 = p2 | |
966 | w2.C0 = CFrame.new(16.5006275, -6.13223362, 2.94873357, -5.96046448e-008, -1.3615936e-005, 1.00000358, -4.47034836e-008, 0.99999994, 1.41002238e-005, -1.00000358, 4.47034836e-008, 0) | |
967 | w2.Part1 = p3 | |
968 | w2.C1 = CFrame.new(19.4568748, -3.38260746, -1.84870064, -4.37113883e-008, -0.499906301, 0.866079509, 0, -0.866079509, -0.499906301, 1, -2.18515979e-008, 3.78575393e-008) | |
969 | w3 = Instance.new("Weld", p3) | |
970 | w3.Name = "Wedge_Weld" | |
971 | w3.Part0 = p3 | |
972 | w3.C0 = CFrame.new(19.456995, -3.38268948, -1.84870648, -5.06400113e-008, -0.499905825, 0.86608547, 1.07230136e-007, -0.866079628, -0.499910295, 1.00000715, -1.1125789e-007, -2.17476881e-008) | |
973 | w3.Part1 = p4 | |
974 | w3.C1 = CFrame.new(16.5005646, 4.13256884, -0.0487511083, -4.37113883e-008, -1.37408551e-005, 1, 0, -1, -1.37408551e-005, 1, -6.00631849e-013, 4.37113883e-008) | |
975 | w4 = Instance.new("Weld", p4) | |
976 | w4.Name = "Part_Weld" | |
977 | w4.Part0 = p4 | |
978 | w4.C0 = CFrame.new(16.5007706, 4.13255453, -0.0487275235, -1.62921424e-007, -1.2755394e-005, 1.00001431, 1.78814929e-007, -0.999999762, -1.46627426e-005, 1.00001431, -1.78813849e-007, -7.54998553e-008) | |
979 | w4.Part1 = p5 | |
980 | w4.C1 = CFrame.new(13.6104183, 15.7089605, -1.84869325, -4.37113883e-008, 0.500093758, 0.865971267, 0, -0.865971267, 0.500093758, 1, 2.18597922e-008, 3.78528071e-008) | |
981 | w5 = Instance.new("Weld", p5) | |
982 | w5.Name = "Part_Weld" | |
983 | w5.Part0 = p5 | |
984 | w5.C0 = CFrame.new(13.6108379, 15.7090359, -1.84877098, -4.29027068e-007, 0.500089467, 0.865987122, 1.9046513e-007, -0.865973532, 0.50009501, 1.00001431, 2.18601315e-008, 3.78533827e-008) | |
985 | w5.Part1 = p6 | |
986 | w5.C1 = CFrame.new(19.3720245, -3.33087778, 2.54137325, -0.249996737, -0.491388977, 0.834289134, 0.0669635162, -0.868360817, -0.491391122, 0.965928316, -0.0669792444, 0.24999252) | |
987 | w6 = Instance.new("Weld", p6) | |
988 | w6.Name = "Part_Weld" | |
989 | w6.Part0 = p6 | |
990 | w6.C0 = CFrame.new(19.3722382, -3.33087826, 2.54137945, -0.250001401, -0.491382152, 0.834303975, 0.0669622123, -0.868364573, -0.491393685, 0.965941966, -0.0669801831, 0.249996051) | |
991 | w6.Part1 = p7 | |
992 | w6.C1 = CFrame.new(16.5012703, -5.1305232, 2.59873891, -4.37113883e-008, -0.000135861075, 1, 0, 1, 0.000135861075, -1, 5.9386762e-012, -4.37113883e-008) | |
993 | w7 = Instance.new("Weld", p7) | |
994 | w7.Name = "Part_Weld" | |
995 | w7.Part0 = p7 | |
996 | w7.C0 = CFrame.new(16.5014496, -5.13052464, 2.59877563, -3.27825546e-007, -0.000133868307, 1.00001442, -3.57627869e-007, 0.99999994, 0.000135900453, -1.00001431, 1.49011612e-008, -5.96046448e-008) | |
997 | w7.Part1 = p8 | |
998 | w7.C1 = CFrame.new(-0.765930653, -21.3311157, 1.75706458, -1.37833995e-005, 0.965968609, 0.258659452, 0.00428466033, 0.258657128, -0.965959728, -0.999990821, 0.00109495374, -0.00414241292) | |
999 | w8 = Instance.new("Weld", p8) | |
1000 | w8.Name = "Part_Weld" | |
1001 | w8.Part0 = p8 | |
1002 | w8.C0 = CFrame.new(-0.765703201, -21.3314991, 1.75706851, -1.42129729e-005, 0.965967655, 0.258668512, 0.00428489037, 0.258660465, -0.965972245, -1.00000513, 0.00109496934, -0.00414247159) | |
1003 | w8.Part1 = p9 | |
1004 | w8.C1 = CFrame.new(11.6857395, -12.2548676, 8.25926208, -0.277089596, 0.631037474, 0.724577785, -0.561487973, 0.505604029, -0.655054033, -0.779713154, -0.588350415, 0.214222342) | |
1005 | w9 = Instance.new("Weld", p9) | |
1006 | w9.Name = "Part_Weld" | |
1007 | w9.Part0 = p9 | |
1008 | w9.C0 = CFrame.new(11.6860123, -12.254859, 8.25934601, -0.277095288, 0.631033003, 0.724593103, -0.561500967, 0.505603611, -0.655058563, -0.779720128, -0.58835566, 0.214224264) | |
1009 | w9.Part1 = p10 | |
1010 | w9.C1 = CFrame.new(-0.759226322, -21.3225994, -2.35311079, -0.0669693872, 0.965954244, 0.249894977, 0.254174918, 0.258710593, -0.931914091, -0.964836895, 0.00110732042, -0.262847036) | |
1011 | w10 = Instance.new("Weld", p10) | |
1012 | w10.Name = "Part_Weld" | |
1013 | w10.Part0 = p10 | |
1014 | w10.C0 = CFrame.new(-0.759016514, -21.3229256, -2.3531487, -0.0669716895, 0.96595335, 0.249903828, 0.254178405, 0.258713901, -0.93192625, -0.964850724, 0.00110733509, -0.262850702) | |
1015 | w10.Part1 = p11 | |
1016 | w10.C1 = CFrame.new(18.7059784, -3.17931223, -5.46201515, 0.250018269, -0.49138394, 0.834285676, -0.0669495314, -0.86836195, -0.491391063, 0.965923727, 0.0670017004, -0.250004292) | |
1017 | w11 = Instance.new("Weld", p11) | |
1018 | w11.Name = "Part_Weld" | |
1019 | w11.Part0 = p11 | |
1020 | w11.C0 = CFrame.new(18.7061806, -3.17931461, -5.46200418, 0.250022948, -0.491377324, 0.834300399, -0.0669473261, -0.868365645, -0.491393894, 0.965937555, 0.0670026764, -0.250007868) | |
1021 | w11.Part1 = p12 | |
1022 | w11.C1 = CFrame.new(13.6104174, 15.708952, -1.1486963, -4.37113883e-008, 0.500093997, 0.865971148, 0, -0.865971148, 0.500093997, 1, 2.18598029e-008, 3.78528e-008) | |
1023 | w12 = Instance.new("Weld", p12) | |
1024 | w12.Name = "Part_Weld" | |
1025 | w12.Part0 = p12 | |
1026 | w12.C0 = CFrame.new(13.6107903, 15.7090092, -1.1487354, -4.76837158e-007, 0.500089884, 0.865987122, 2.83122063e-007, -0.865973473, 0.500095367, 1.00001442, 4.47034836e-008, 1.49011612e-008) | |
1027 | w12.Part1 = p13 | |
1028 | w12.C1 = CFrame.new(19.4568653, -3.38261366, -1.14870369, -4.37113883e-008, -0.499906093, 0.866079628, 0, -0.866079628, -0.499906093, 1, -2.1851589e-008, 3.78575429e-008) | |
1029 | w13 = Instance.new("Weld", p13) | |
1030 | w13.Name = "Part_Weld" | |
1031 | w13.Part0 = p13 | |
1032 | w13.C0 = CFrame.new(19.457077, -3.38260937, -1.14871991, -4.63888163e-008, -0.499899268, 0.866095126, 5.08347114e-007, -0.866083562, -0.499908328, 1.00001442, -2.18518963e-008, 3.78581007e-008) | |
1033 | w13.Part1 = p14 | |
1034 | w13.C1 = CFrame.new(-0.765169621, -21.3281136, 1.05768669, -1.37638153e-005, 0.96595937, 0.258693874, 0.00425664661, 0.258691579, -0.965950608, -0.99999094, 0.00108787336, -0.00411530817) | |
1035 | w14 = Instance.new("Weld", p14) | |
1036 | w14.Name = "ArmPart_Weld" | |
1037 | w14.Part0 = p14 | |
1038 | w14.C0 = CFrame.new(-0.764959335, -21.3284416, 1.05770254, -1.42545232e-005, 0.965958476, 0.258703023, 0.00425684778, 0.258694947, -0.965963125, -1.00000536, 0.00108788908, -0.00411536777) | |
1039 | w14.Part1 = p15 | |
1040 | w14.C1 = CFrame.new(16.0000172, 5.13429213, -1.49874043, -4.37113883e-008, 0.000108154614, 1, 0, -1, 0.000108154614, 1, 4.72758855e-012, 4.37113883e-008) | |
1041 | w15 = Instance.new("Weld", p15) | |
1042 | w15.Name = "Part_Weld" | |
1043 | w15.Part0 = p15 | |
1044 | w15.C0 = CFrame.new(16.0001163, 5.13430214, -1.49877143, -2.99420208e-007, 0.00011029192, 1.00001454, 4.39002179e-007, -1, 0.000108176115, 1.00001442, 0, 4.42378223e-008) | |
1045 | w15.Part1 = p16 | |
1046 | w15.C1 = CFrame.new(16.5000153, 6.13429213, -1.49872518, -4.37113883e-008, 0.000108154614, 1, 0, -1, 0.000108154614, 1, 4.72758855e-012, 4.37113883e-008) | |
1047 | w16 = Instance.new("Weld", p16) | |
1048 | w16.Name = "Part_Weld" | |
1049 | w16.Part0 = p16 | |
1050 | w16.C0 = CFrame.new(16.5002594, 6.1342907, -1.49874651, -2.98894406e-007, 0.000110270419, 1.00001454, 4.39006953e-007, -1, 0.000108154614, 1.00001442, 4.71678729e-012, 4.37120207e-008) | |
1051 | w16.Part1 = p17 | |
1052 | w16.C1 = CFrame.new(16.8263168, 6.46704865, 8.05857849, 0.396029502, -0.207962677, 0.894378066, -0.497426808, 0.770130157, 0.399332225, -0.771833658, -0.603034973, 0.201548025) | |
1053 | w17 = Instance.new("Weld", p17) | |
1054 | w17.Name = "Part_Weld" | |
1055 | w17.Part0 = p17 | |
1056 | w17.C0 = CFrame.new(16.8266068, 6.46726036, 8.05869198, 0.396035522, -0.207958207, 0.894391596, -0.497440547, 0.770127177, 0.399337679, -0.771840453, -0.603040278, 0.201549783) | |
1057 | w17.Part1 = p18 | |
1058 | w17.C1 = CFrame.new(-0.991122723, -20.5004215, 5.08983374, 0.0669417754, 0.965955615, 0.249897182, -0.245835528, 0.258705586, -0.9341501, -0.966997266, 0.00110005983, 0.254784435) | |
1059 | w18 = Instance.new("Weld", p18) | |
1060 | w18.Name = "Part_Weld" | |
1061 | w18.Part0 = p18 | |
1062 | w18.C0 = CFrame.new(-0.990923882, -20.5007305, 5.08983374, 0.066943109, 0.965954781, 0.249906152, -0.245838761, 0.258709013, -0.934162259, -0.967011333, 0.00110003352, 0.254788101) | |
1063 | w18.Part1 = p19 | |
1064 | w18.C1 = CFrame.new(10.4456682, -15.7977238, -7.8332901, 0.559388936, -0.68521893, 0.466432214, 0.116898462, -0.491870552, -0.862785101, 0.820620954, 0.537157655, -0.195045918) | |
1065 | w19 = Instance.new("Weld", p19) | |
1066 | w19.Name = "Part_Weld" | |
1067 | w19.Part0 = p19 | |
1068 | w19.C0 = CFrame.new(10.4457512, -15.7979813, -7.83342838, 0.559401393, -0.685213447, 0.466440916, 0.116905749, -0.491872638, -0.862796843, 0.820629179, 0.537163019, -0.195047855) | |
1069 | w19.Part1 = p20 | |
1070 | w19.C1 = CFrame.new(16.5012665, -4.13050127, 1.49876332, -4.37113883e-008, -0.000135854745, 1, 0, 1, 0.000135854745, -1, 5.93839951e-012, -4.37113883e-008) | |
1071 | w20 = Instance.new("Weld", p20) | |
1072 | w20.Name = "Part_Weld" | |
1073 | w20.Part0 = p20 | |
1074 | w20.C0 = CFrame.new(16.5013981, -4.13050938, 1.498757, -2.38418579e-007, -0.000133797526, 1.00001466, -4.47034836e-007, 1.00000024, 0.000135831535, -1.00001454, -2.98023224e-008, -5.96046448e-008) | |
1075 | w20.Part1 = p21 | |
1076 | w20.C1 = CFrame.new(16.5012627, -5.13048887, 0.39874959, -4.37113883e-008, -0.000135854745, 1, 0, 1, 0.000135854745, -1, 5.93839951e-012, -4.37113883e-008) | |
1077 | w21 = Instance.new("Weld", p21) | |
1078 | w21.Name = "Wedge_Weld" | |
1079 | w21.Part0 = p21 | |
1080 | w21.C0 = CFrame.new(16.5014935, -5.13049126, 0.398722976, -2.22529991e-007, -0.000133820766, 1.00001466, -4.17224015e-007, 1.00000024, 0.000135854774, -1.00001454, 5.9472427e-012, -4.37120207e-008) | |
1081 | w21.Part1 = p22 | |
1082 | w21.C1 = CFrame.new(-16.5005875, 4.13259029, 2.94876933, -4.37113883e-008, 1.39792737e-005, -1, 0, -1, -1.39792737e-005, -1, -6.11053471e-013, 4.37113883e-008) | |
1083 | w22 = Instance.new("Weld", p22) | |
1084 | w22.Name = "Part_Weld" | |
1085 | w22.Part0 = p22 | |
1086 | w22.C0 = CFrame.new(-16.500824, 4.13258791, 2.94888711, 1.35156796e-007, 1.19470278e-005, -1.00001466, 4.17202415e-007, -1.00000024, -1.39792755e-005, -1.00001454, -6.07483681e-013, 4.37120278e-008) | |
1087 | w22.Part1 = p23 | |
1088 | w22.C1 = CFrame.new(11.3238592, 16.2938461, -5.83674097, 0.167913347, 0.593457043, 0.787155509, 0.220650926, -0.800859332, 0.556720257, 0.960790455, 0.0802058354, -0.265421808) | |
1089 | w23 = Instance.new("Weld", p23) | |
1090 | w23.Name = "Wedge_Weld" | |
1091 | w23.Part0 = p23 | |
1092 | w23.C0 = CFrame.new(11.3242846, 16.2939701, -5.83676767, 0.167916089, 0.593452632, 0.787171543, 0.220654398, -0.800862908, 0.556722164, 0.960804224, 0.0802069977, -0.265425682) | |
1093 | w23.Part1 = p24 | |
1094 | w23.C1 = CFrame.new(-16.5190907, -6.08210278, -0.053311754, -0.000165350299, 0.00304719806, -0.999995351, -0.000303142268, 0.999995351, 0.00304725766, 0.99999994, 0.000303644716, -0.000164425801) | |
1095 | w24 = Instance.new("Weld", p24) | |
1096 | w24.Name = "Part_Weld" | |
1097 | w24.Part0 = p24 | |
1098 | w24.C0 = CFrame.new(-16.5192356, -6.08211088, -0.0533116534, -0.000165194273, 0.00304524973, -1.00001013, -0.00030361861, 0.999995589, 0.00304720178, 1.00001442, 0.000303655863, -0.000164449215) | |
1099 | w24.Part1 = p25 | |
1100 | w24.C1 = CFrame.new(5.14108515, 1.49960721, -17.9982204, 1.16387992e-005, -0.999999881, 0.000471503939, -1, -1.1615477e-005, 4.94651576e-005, -4.94596788e-005, -0.000471504522, -0.999999881) | |
1101 | w25 = Instance.new("Weld", p25) | |
1102 | w25.Name = "Part_Weld" | |
1103 | w25.Part0 = p25 | |
1104 | w25.C0 = CFrame.new(5.14104986, 1.49967504, -17.9985313, 1.20991026e-005, -1.00000024, 0.000469659513, -1.00001454, -1.16155716e-005, 4.96469293e-005, -4.94604174e-005, -0.000471511274, -1.00001466) | |
1105 | w25.Part1 = p26 | |
1106 | w25.C1 = CFrame.new(5.07938719, 17.5157299, 1.50311017, 0.00030336561, -0.99999541, -0.00302907825, 0.000164940167, -0.00302901864, 0.999995351, -0.99999994, -0.000303863839, 0.000164020501) | |
1107 | m.Parent = char | |
1108 | m:MakeJoints() | |
1109 | ---------------------------------------------------- | |
1110 | local cor2 = Instance.new("Part", char.Claw) | |
1111 | cor2.Name = "Thingy" | |
1112 | cor2.Locked = true | |
1113 | cor2.BottomSurface = 0 | |
1114 | cor2.CanCollide = false | |
1115 | cor2.Size = Vector3.new(2, 1, 1) | |
1116 | cor2.Transparency = 1 | |
1117 | cor2.TopSurface = 0 | |
1118 | corw2 = Instance.new("Weld", cor2) | |
1119 | corw2.Part0 = larm | |
1120 | corw2.Part1 = cor2 | |
1121 | corw2.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(90)) | |
1122 | corw2.C1 = CFrame.new(0, 0, 0) | |
1123 | weld2 = Instance.new("Weld", char.Claw) | |
1124 | weld2.Part0 = cor2 | |
1125 | weld2.Part1 = char.Claw.ArmPart | |
1126 | weld2.C0 = CFrame.new(0, 0, 0) | |
1127 | ---------------------------------------------------- | |
1128 | function weld5(part0, part1, c0, c1) | |
1129 | weeld=Instance.new("Weld", part0) | |
1130 | weeld.Part0=part0 | |
1131 | weeld.Part1=part1 | |
1132 | weeld.C0=c0 | |
1133 | weeld.C1=c1 | |
1134 | return weeld | |
1135 | end | |
1136 | ---------------------------------------------------- | |
1137 | function newRay(start,face,range,wat) | |
1138 | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) | |
1139 | hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat) | |
1140 | return rey,hit,pos | |
1141 | end | |
1142 | ---------------------------------------------------- | |
1143 | mod5 = Instance.new("Model",char) | |
1144 | ||
1145 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
1146 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
1147 | local List = {} | |
1148 | for i,v in pairs(workspace:GetChildren())do | |
1149 | if v:IsA("Model")then | |
1150 | if v:findFirstChild("Torso")then | |
1151 | if v ~= char then | |
1152 | if(v.Torso.Position -Position).magnitude <= Distance then | |
1153 | table.insert(List,v) | |
1154 | end | |
1155 | end | |
1156 | end | |
1157 | end | |
1158 | end | |
1159 | return List | |
1160 | end | |
1161 | ||
1162 | function Landing() | |
1163 | part=Instance.new('Part',mod5) | |
1164 | part.Anchored=true | |
1165 | part.CanCollide=false | |
1166 | part.FormFactor='Custom' | |
1167 | part.Size=Vector3.new(.2,.2,.2) | |
1168 | part.CFrame=root.CFrame*CFrame.new(0,-2,0) | |
1169 | part.Transparency=.7 | |
1170 | part.BrickColor=BrickColor.new('Really black') | |
1171 | mesh=Instance.new('SpecialMesh',part) | |
1172 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
1173 | mesh.Scale=Vector3.new(10,5,10) | |
1174 | ||
1175 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,40))do | |
1176 | if v:FindFirstChild('Humanoid') then | |
1177 | v.Humanoid:TakeDamage(math.random(20,30)) | |
1178 | v.Humanoid.PlatformStand = true | |
1179 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100 | |
1180 | end | |
1181 | end | |
1182 | ||
1183 | coroutine.resume(coroutine.create(function() | |
1184 | for i=0,3.8,0.05 do | |
1185 | wait() | |
1186 | part.CFrame=part.CFrame | |
1187 | part.Transparency=i | |
1188 | mesh.Scale=mesh.Scale+Vector3.new(1,0.2,1) | |
1189 | end | |
1190 | part.Parent = nil | |
1191 | end)) | |
1192 | end | |
1193 | ---------------------------------------------------- | |
1194 | mod4 = Instance.new("Model",char) | |
1195 | ||
1196 | ptez = {0.7, 0.8, 0.9, 1} | |
1197 | ||
1198 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
1199 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
1200 | local List = {} | |
1201 | for i,v in pairs(workspace:GetChildren())do | |
1202 | if v:IsA("Model")then | |
1203 | if v:findFirstChild("Torso")then | |
1204 | if v ~= char then | |
1205 | if(v.Torso.Position -Position).magnitude <= Distance then | |
1206 | table.insert(List,v) | |
1207 | end | |
1208 | end | |
1209 | end | |
1210 | end | |
1211 | end | |
1212 | return List | |
1213 | end | |
1214 | ||
1215 | function GroundPound() | |
1216 | part=Instance.new('Part',mod4) | |
1217 | part.Anchored=true | |
1218 | part.CanCollide=false | |
1219 | part.FormFactor='Custom' | |
1220 | part.Size=Vector3.new(.2,.2,.2) | |
1221 | part.CFrame=root.CFrame*CFrame.new(0,-5.8,-2.4)*CFrame.Angles(math.rad(90),0,0) | |
1222 | part.Transparency=.7 | |
1223 | part.BrickColor=BrickColor.new('Really black') | |
1224 | mesh=Instance.new('SpecialMesh',part) | |
1225 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
1226 | mesh.Scale=Vector3.new(3,3,3) | |
1227 | part2=Instance.new('Part',mod4) | |
1228 | part2.Anchored=true | |
1229 | part2.CanCollide=false | |
1230 | part2.FormFactor='Custom' | |
1231 | part2.Size=Vector3.new(.2,.2,.2) | |
1232 | part2.CFrame=root.CFrame*CFrame.new(0,-5,-2.6) | |
1233 | part2.Transparency=.7 | |
1234 | part2.BrickColor=BrickColor.new('Really red') | |
1235 | mesh2=Instance.new('SpecialMesh',part2) | |
1236 | mesh2.MeshId='http://www.roblox.com/asset/?id=20329976' | |
1237 | mesh2.Scale=Vector3.new(3,1.5,3) | |
1238 | x = Instance.new("Sound",char) | |
1239 | x.SoundId = "http://www.roblox.com/asset/?id=142070127" | |
1240 | x.Pitch = ptez[math.random(1,#ptez)] | |
1241 | x.Volume = 1 | |
1242 | wait(.1) | |
1243 | x:Play() | |
1244 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,12))do | |
1245 | if v:FindFirstChild('Humanoid') then | |
1246 | v.Humanoid:TakeDamage(math.random(8,15)) | |
1247 | end | |
1248 | end | |
1249 | coroutine.resume(coroutine.create(function() | |
1250 | for i=0,0.62,0.13 do | |
1251 | wait() | |
1252 | part.CFrame=part.CFrame | |
1253 | part.Transparency=i | |
1254 | mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4) | |
1255 | part2.CFrame=part2.CFrame | |
1256 | part2.Transparency=i | |
1257 | mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4) | |
1258 | end | |
1259 | part.Parent=nil | |
1260 | part2.Parent=nil | |
1261 | x:Destroy() | |
1262 | end)) | |
1263 | end | |
1264 | ---------------------------------------------------- | |
1265 | mod=Instance.new('Model',char) | |
1266 | ||
1267 | function charge() | |
1268 | hed.Velocity=hed.CFrame.lookVector*200 | |
1269 | part=Instance.new('Part',mod) | |
1270 | part.Anchored=true | |
1271 | part.CanCollide=false | |
1272 | part.FormFactor='Custom' | |
1273 | part.Size=Vector3.new(.2,.2,.2) | |
1274 | part.CFrame=hed.CFrame*CFrame.Angles(math.rad(90),0,0) | |
1275 | part.Transparency=.7 | |
1276 | part.BrickColor=BrickColor.new('Black') | |
1277 | mesh=Instance.new('SpecialMesh',part) | |
1278 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
1279 | mesh.Scale=Vector3.new(10,5,10) | |
1280 | part2=part:clone() | |
1281 | part2.Parent=mod | |
1282 | part2.BrickColor=BrickColor.new('Bright red') | |
1283 | mesh2=mesh:clone() | |
1284 | mesh2.Parent=part2 | |
1285 | mesh2.Scale=Vector3.new(20,10,20) | |
1286 | part3=part2:clone() | |
1287 | part3.Parent = mod | |
1288 | part3.BrickColor=BrickColor.new('Really black') | |
1289 | mesh3=mesh2:clone() | |
1290 | mesh2.Parent=part3 | |
1291 | mesh3.Scale=Vector3.new(30,15,30) | |
1292 | coroutine.resume(coroutine.create(function() | |
1293 | for i=0,1,0.1 do | |
1294 | wait() | |
1295 | part.CFrame=part.CFrame | |
1296 | part.Transparency=i | |
1297 | mesh.Scale=mesh.Scale+Vector3.new(1,1,1) | |
1298 | part2.CFrame=part2.CFrame | |
1299 | part2.Transparency=i | |
1300 | mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1) | |
1301 | part3.CFrame=part3.CFrame | |
1302 | part3.Transparency=i | |
1303 | mesh3.Scale=mesh3.Scale+Vector3.new(1,1,1) | |
1304 | end | |
1305 | part.Parent=nil | |
1306 | part2.Parent=nil | |
1307 | part3.Parent = nil | |
1308 | end)) | |
1309 | end | |
1310 | ---------------------------------------------------- | |
1311 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
1312 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
1313 | local List = {} | |
1314 | for i,v in pairs(workspace:GetChildren())do | |
1315 | if v:IsA("Model")then | |
1316 | if v:findFirstChild("Torso")then | |
1317 | if v ~= char then | |
1318 | if(v.Torso.Position -Position).magnitude <= Distance then | |
1319 | table.insert(List,v) | |
1320 | end | |
1321 | end | |
1322 | end | |
1323 | end | |
1324 | end | |
1325 | return List | |
1326 | end | |
1327 | ||
1328 | mod3 = Instance.new("Model",rleg) | |
1329 | ||
1330 | function Stomp() | |
1331 | part=Instance.new('Part',mod3) | |
1332 | part.Anchored=true | |
1333 | part.CanCollide=false | |
1334 | part.FormFactor='Custom' | |
1335 | part.Size=Vector3.new(.2,.2,.2) | |
1336 | part.CFrame=rleg.CFrame*CFrame.new(0,-2.4,0)*CFrame.Angles(math.rad(90),0,0) | |
1337 | part.Transparency=.7 | |
1338 | part.BrickColor=BrickColor.new('Bright green') | |
1339 | mesh=Instance.new('SpecialMesh',part) | |
1340 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
1341 | mesh.Scale=Vector3.new(25,25,25) | |
1342 | part2=part:clone() | |
1343 | part2.Parent=mod3 | |
1344 | part2.BrickColor=BrickColor.new('Bright green') | |
1345 | mesh2=mesh:clone() | |
1346 | mesh2.Parent=part2 | |
1347 | mesh2.Scale=Vector3.new(15,15,15) | |
1348 | part3=part:clone() | |
1349 | part3.Parent=mod3 | |
1350 | part3.TopSurface=0 | |
1351 | part3.BottomSurface=0 | |
1352 | part3.CFrame=rleg.CFrame*CFrame.new(0,-3,0) | |
1353 | mesh3=Instance.new('SpecialMesh',part3) | |
1354 | mesh3.MeshType = 3 | |
1355 | mesh3.Scale=Vector3.new(12,12,12) | |
1356 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do | |
1357 | if v:FindFirstChild('Humanoid') then | |
1358 | v.Humanoid:TakeDamage(math.random(20,60)) | |
1359 | v.Humanoid.PlatformStand = true | |
1360 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100 | |
1361 | end | |
1362 | end | |
1363 | coroutine.resume(coroutine.create(function() | |
1364 | for i=0,3.8,0.05 do | |
1365 | wait() | |
1366 | part.CFrame=part.CFrame | |
1367 | part.Transparency=i | |
1368 | mesh.Scale=mesh.Scale+Vector3.new(2.8,2.8,2.8) | |
1369 | part2.CFrame=part2.CFrame | |
1370 | part2.Transparency=i | |
1371 | mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1) | |
1372 | part3.CFrame=part3.CFrame | |
1373 | part3.Transparency=i | |
1374 | mesh3.Scale=mesh3.Scale+Vector3.new(1.5,1.5,1.5) | |
1375 | end | |
1376 | end)) | |
1377 | end | |
1378 | ---------------------------------------------------- | |
1379 | ||
1380 | local acos = math.acos | |
1381 | local sqrt = math.sqrt | |
1382 | local Vec3 = Vector3.new | |
1383 | local fromAxisAngle = CFrame.fromAxisAngle | |
1384 | ||
1385 | local function toAxisAngle(CFr) | |
1386 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
1387 | local Angle = math.acos((R00+R11+R22-1)/2) | |
1388 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
1389 | A = A == 0 and 0.00001 or A | |
1390 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
1391 | B = B == 0 and 0.00001 or B | |
1392 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
1393 | C = C == 0 and 0.00001 or C | |
1394 | local x = (R21-R12)/sqrt(A) | |
1395 | local y = (R02-R20)/sqrt(B) | |
1396 | local z = (R10-R01)/sqrt(C) | |
1397 | return Vec3(x,y,z),Angle | |
1398 | end | |
1399 | ||
1400 | function ApplyTrig(Num,Func) | |
1401 | local Min,Max = Func(0),Func(1) | |
1402 | local i = Func(Num) | |
1403 | return (i-Min)/(Max-Min) | |
1404 | --[[if Func == "sin" then | |
1405 | return (math.sin((1-Num)*math.pi)+1)/2 | |
1406 | elseif Func == "cos" then | |
1407 | return (math.cos((1-Num)*math.pi)+1)/2 | |
1408 | end]] | |
1409 | end | |
1410 | ||
1411 | function LerpCFrame(CFrame1,CFrame2,Num) | |
1412 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
1413 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
1414 | end | |
1415 | ||
1416 | function Crater(Torso,Radius) | |
1417 | Spawn(function() | |
1418 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
1419 | local Ignore = {} | |
1420 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
1421 | if v.Character ~= nil then | |
1422 | Ignore[#Ignore+1] = v.Character | |
1423 | end | |
1424 | end | |
1425 | local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
1426 | if Hit == nil then return end | |
1427 | local Parts = {} | |
1428 | for i = 1,360,10 do | |
1429 | local P = Instance.new("Part",Torso.Parent) | |
1430 | P.Anchored = true | |
1431 | P.FormFactor = "Custom" | |
1432 | P.BrickColor = Hit.BrickColor | |
1433 | P.Material = Hit.Material | |
1434 | P.TopSurface = "Smooth" | |
1435 | P.BottomSurface = "Smooth" | |
1436 | P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100) | |
1437 | 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))) | |
1438 | 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} | |
1439 | if math.random(0,5) == 0 then -- rubble | |
1440 | local P = Instance.new("Part",Torso.Parent) | |
1441 | P.Anchored = true | |
1442 | P.FormFactor = "Custom" | |
1443 | P.BrickColor = Hit.BrickColor | |
1444 | P.Material = Hit.Material | |
1445 | P.TopSurface = "Smooth" | |
1446 | P.BottomSurface = "Smooth" | |
1447 | P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100) | |
1448 | 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))) | |
1449 | 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} | |
1450 | end | |
1451 | end | |
1452 | for i = 0,1,0.05 do | |
1453 | for i2,v in pairs(Parts) do | |
1454 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
1455 | end | |
1456 | wait(0.02) | |
1457 | end | |
1458 | for i,v in pairs(Parts) do | |
1459 | if v[1].Size.X > 2.1 then | |
1460 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
1461 | end | |
1462 | v[1].Anchored = false | |
1463 | end | |
1464 | for i = 0,1,0.05 do | |
1465 | for i2,v in pairs(Parts) do | |
1466 | v[1].Transparency = i | |
1467 | if i == 1 then | |
1468 | v[1]:Destroy() | |
1469 | elseif i >= 0.25 then | |
1470 | v[1].CanCollide = false | |
1471 | end | |
1472 | end | |
1473 | wait(0.02) | |
1474 | end | |
1475 | Parts = nil | |
1476 | end) | |
1477 | end | |
1478 | ||
1479 | ---------------------------------------------------- | |
1480 | mouse.KeyDown:connect(function(key) | |
1481 | if key == "r" then | |
1482 | larm.BrickColor = BrickColor.new("Bright red") | |
1483 | rarm.BrickColor = BrickColor.new("Bright red") | |
1484 | if Debounces.CanAttack == true then | |
1485 | Debounces.CanAttack = false | |
1486 | Debounces.on = true | |
1487 | Debounces.NoIdl = true | |
1488 | to = char.Absolution.Thingy2.Touched:connect(function(ht) | |
1489 | hit = ht.Parent | |
1490 | if ht and hit:IsA("Model") then | |
1491 | if hit:FindFirstChild("Humanoid") then | |
1492 | if hit.Name ~= p.Name then | |
1493 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
1494 | Debounces.Slashed = true]]-- | |
1495 | hit:FindFirstChild("Humanoid"):TakeDamage(10) | |
1496 | wait(1) | |
1497 | --Debounces.Slashed = false | |
1498 | --end | |
1499 | end | |
1500 | end | |
1501 | elseif ht and hit:IsA("Hat") then | |
1502 | if hit.Parent.Name ~= p.Name then | |
1503 | if hit.Parent:FindFirstChild("Humanoid") then | |
1504 | --[[ if Debounces.Slashing == true and Debounces.Slashed == false then | |
1505 | Debounces.Slashed = true]]-- | |
1506 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(10) | |
1507 | wait(1) | |
1508 | --Debounces.Slashed = false | |
1509 | end | |
1510 | end | |
1511 | end | |
1512 | end) | |
1513 | q = Instance.new("Sound",hed) | |
1514 | q.SoundId = "http://www.roblox.com/asset/?id=134012322" | |
1515 | q.Pitch = 0.85 | |
1516 | q.Looped = false | |
1517 | q1 = Instance.new("Sound",hed) | |
1518 | q1.SoundId = "http://www.roblox.com/asset/?id=134012322" | |
1519 | q1.Pitch = 0.85 | |
1520 | q1.Looped = false | |
1521 | q:Play() | |
1522 | q1:Play() | |
1523 | for i = 1,20 do | |
1524 | 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) | |
1525 | 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) | |
1526 | 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) | |
1527 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 4, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.4) | |
1528 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 1) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4) | |
1529 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .6) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4) | |
1530 | 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) | |
1531 | if Debounces.on == false then break end | |
1532 | wait() | |
1533 | end | |
1534 | n = Instance.new("Sound",hed) | |
1535 | n.SoundId = "http://www.roblox.com/asset/?id=168514932" | |
1536 | n.Pitch = 0.94 | |
1537 | n.Looped = false | |
1538 | n1 = Instance.new("Sound",hed) | |
1539 | n1.SoundId = "http://www.roblox.com/asset/?id=168514932" | |
1540 | n1.Pitch = 0.94 | |
1541 | n1.Looped = false | |
1542 | n:Play() | |
1543 | n1:Play() | |
1544 | b = Instance.new("Sound",hed) | |
1545 | b.SoundId = "http://www.roblox.com/asset/?id=168586586" | |
1546 | b.Pitch = 0.94 | |
1547 | b.Looped = false | |
1548 | b1 = Instance.new("Sound",hed) | |
1549 | b1.SoundId = "http://www.roblox.com/asset/?id=168586586" | |
1550 | b1.Pitch = 0.94 | |
1551 | b1.Looped = false | |
1552 | b:Play() | |
1553 | b1:Play() | |
1554 | for i = 1,26 do | |
1555 | 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) | |
1556 | 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) | |
1557 | 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) | |
1558 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), 0), 0.5) | |
1559 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -1) * CFrame.Angles(math.rad(50), 0, math.rad(0)), 0.5) | |
1560 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .4) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.5) | |
1561 | 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) | |
1562 | if Debounces.on == false then break end | |
1563 | wait() | |
1564 | end | |
1565 | wait(.5) | |
1566 | to:disconnect() | |
1567 | q:Destroy() | |
1568 | q1:Destroy() | |
1569 | n:Destroy() | |
1570 | n1:Destroy() | |
1571 | larm.BrickColor = BrickColor.new("Really black") | |
1572 | rarm.BrickColor = BrickColor.new("Really black") | |
1573 | if Debounces.CanAttack == false then | |
1574 | Debounces.CanAttack = true | |
1575 | Debounces.on = false | |
1576 | Debounces.NoIdl = false | |
1577 | end | |
1578 | end | |
1579 | end | |
1580 | end) | |
1581 | ---------------------------------------------------- | |
1582 | mouse.KeyDown:connect(function(key) | |
1583 | if key == "q" then | |
1584 | larm.BrickColor = BrickColor.new("Bright red") | |
1585 | rarm.BrickColor = BrickColor.new("Bright red") | |
1586 | if Debounces.CanAttack == true then | |
1587 | Debounces.CanAttack = false | |
1588 | Debounces.on = true | |
1589 | Debounces.NoIdl = true | |
1590 | to = char.Absolution.Thingy2.Touched:connect(function(ht) | |
1591 | hit = ht.Parent | |
1592 | if ht and hit:IsA("Model") then | |
1593 | if hit:FindFirstChild("Humanoid") then | |
1594 | if hit.Name ~= p.Name then | |
1595 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
1596 | Debounces.Slashed = true]]-- | |
1597 | hit:FindFirstChild("Humanoid"):TakeDamage(4) | |
1598 | wait(1) | |
1599 | --Debounces.Slashed = false | |
1600 | --end | |
1601 | end | |
1602 | end | |
1603 | elseif ht and hit:IsA("Hat") then | |
1604 | if hit.Parent.Name ~= p.Name then | |
1605 | if hit.Parent:FindFirstChild("Humanoid") then | |
1606 | --[[ if Debounces.Slashing == true and Debounces.Slashed == false then | |
1607 | Debounces.Slashed = true]]-- | |
1608 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(4) | |
1609 | wait(1) | |
1610 | --Debounces.Slashed = false | |
1611 | end | |
1612 | end | |
1613 | end | |
1614 | end) | |
1615 | for i = 1, 20 do | |
1616 | 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) | |
1617 | 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) | |
1618 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(-60),0), 0.5) | |
1619 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(70), 0), 0.5) | |
1620 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.5) | |
1621 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.5) | |
1622 | 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) | |
1623 | if Debounces.on == false then break end | |
1624 | wait() | |
1625 | end | |
1626 | z = Instance.new("Sound",hed) | |
1627 | z.SoundId = "rbxassetid://160069154" | |
1628 | z.Looped = false | |
1629 | z.Pitch = .9 | |
1630 | z1 = Instance.new("Sound",hed) | |
1631 | z1.SoundId = "rbxassetid://160069154" | |
1632 | z1.Looped = false | |
1633 | z1.Pitch = .9 | |
1634 | wait(0.01) | |
1635 | z:Play() | |
1636 | z1:Play() | |
1637 | for i = 1, 12 do | |
1638 | 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) | |
1639 | 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) | |
1640 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(30),0), 0.5) | |
1641 | 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) | |
1642 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -2) * CFrame.Angles(math.rad(-10), 0, 0), 0.5) | |
1643 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.8, .6) * CFrame.Angles(math.rad(-65), 0, 0), 0.5) | |
1644 | 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) | |
1645 | if Debounces.on == false then break end | |
1646 | wait() | |
1647 | end | |
1648 | for i = 1, 12 do | |
1649 | 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) | |
1650 | 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) | |
1651 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(10),0), 0.5) | |
1652 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-10), 0), 0.5) | |
1653 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.5) | |
1654 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.5) | |
1655 | 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) | |
1656 | if Debounces.on == false then break end | |
1657 | wait() | |
1658 | end | |
1659 | z = Instance.new("Sound",hed) | |
1660 | z.SoundId = "rbxassetid://168586621" | |
1661 | z.Looped = false | |
1662 | z.Pitch = 1 | |
1663 | z1 = Instance.new("Sound",hed) | |
1664 | z1.SoundId = "rbxassetid://168586621" | |
1665 | z1.Looped = false | |
1666 | z1.Pitch = 1 | |
1667 | wait(0.01) | |
1668 | z:Play() | |
1669 | z1:Play() | |
1670 | for i = 1, 12 do | |
1671 | 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) | |
1672 | 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) | |
1673 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(-40),0), 0.5) | |
1674 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(40), 0), 0.5) | |
1675 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(-10)), 0.5) | |
1676 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(20), 0, math.rad(10)), 0.5) | |
1677 | 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) | |
1678 | if Debounces.on == false then break end | |
1679 | wait() | |
1680 | end | |
1681 | to:disconnect() | |
1682 | larm.BrickColor = BrickColor.new("Really black") | |
1683 | rarm.BrickColor = BrickColor.new("Really black") | |
1684 | if Debounces.CanAttack == false then | |
1685 | Debounces.CanAttack = true | |
1686 | Debounces.on = false | |
1687 | Debounces.NoIdl = false | |
1688 | end | |
1689 | end | |
1690 | end | |
1691 | end) | |
1692 | ---------------------------------------------------- | |
1693 | Sit = false | |
1694 | mouse.KeyDown:connect(function(key) | |
1695 | if key == "v" then | |
1696 | if Sit == false then | |
1697 | Sit = true | |
1698 | hum.WalkSpeed = 0.001 | |
1699 | stanceToggle = "Sitting" | |
1700 | elseif Sit == true then | |
1701 | Sit = false | |
1702 | hum.WalkSpeed = 7 | |
1703 | stanceToggle = "Normal" | |
1704 | end | |
1705 | end | |
1706 | end) | |
1707 | ---------------------------------------------------- | |
1708 | mouse.KeyDown:connect(function(key) | |
1709 | if key == "t" then | |
1710 | if Debounces.CanAttack == true then | |
1711 | Debounces.CanAttack = false | |
1712 | Debounces.on = true | |
1713 | Debounces.NoIdl = true | |
1714 | for i = 1, 20 do | |
1715 | 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) | |
1716 | 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) | |
1717 | 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) | |
1718 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.4) | |
1719 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, .6) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.4) | |
1720 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.2) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.4) | |
1721 | 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) | |
1722 | if Debounces.on == false then break end | |
1723 | wait() | |
1724 | end | |
1725 | Spawn(function() | |
1726 | local Parts = {} | |
1727 | for Y = -5,5 do | |
1728 | local P = Instance.new("Part",char) | |
1729 | P.Anchored = true | |
1730 | P.FormFactor = "Custom" | |
1731 | P.CanCollide = false | |
1732 | P.Size = Vector3.new(1,2,1) | |
1733 | P.TopSurface = "SmoothNoOutlines" | |
1734 | P.BottomSurface = "SmoothNoOutlines" | |
1735 | P.BrickColor = BrickColor.new("Really black") | |
1736 | P.Name = tostring(Y) | |
1737 | local i = (Y+5)/(10) | |
1738 | i = 1-math.cos(math.pi*i-(math.pi/2)) | |
1739 | P.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,Y,-15+(i*1.5))*CFrame.Angles(math.rad(Y*5),0,0) | |
1740 | --[[P.Touched:connect(function(ht) | |
1741 | local hit = ht.Parent | |
1742 | if hit:FindFirstChild("Humanoid") then | |
1743 | hit.Humanoid:TakeDamage(math.random(20,50)) | |
1744 | end | |
1745 | end)]]-- | |
1746 | s = Instance.new("Sound",P) | |
1747 | s.SoundId = "rbxassetid://228343271" | |
1748 | s.Volume = .7 | |
1749 | s.Pitch = 0.9 | |
1750 | s:Play() | |
1751 | P.Touched:connect(function(ht) | |
1752 | hit = ht.Parent | |
1753 | if ht and hit:IsA("Model") then | |
1754 | if hit:FindFirstChild("Humanoid") then | |
1755 | if hit.Name ~= p.Name then | |
1756 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
1757 | Debounces.Slashed = true]]-- | |
1758 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(1,3)) | |
1759 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
1760 | wait(1) | |
1761 | --Debounces.Slashed = false | |
1762 | --end | |
1763 | end | |
1764 | end | |
1765 | elseif ht and hit:IsA("Hat") then | |
1766 | if hit.Parent.Name ~= p.Name then | |
1767 | if hit.Parent:FindFirstChild("Humanoid") then | |
1768 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
1769 | Debounces.Slashed = true]]-- | |
1770 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random (1,3)) | |
1771 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
1772 | wait(1) | |
1773 | --Debounces.Slashed = false | |
1774 | --end | |
1775 | end | |
1776 | end | |
1777 | end | |
1778 | end) | |
1779 | Parts[#Parts+1] = P | |
1780 | end | |
1781 | local BREAKIT = false | |
1782 | local CParts = {} | |
1783 | local Rocks = {} | |
1784 | local LastPos = nil | |
1785 | for i = 1,70 do | |
1786 | for i2,v in pairs(Parts) do | |
1787 | v.CFrame = v.CFrame*CFrame.new(0,0,-4) | |
1788 | local cf = v.CFrame | |
1789 | v.Size = v.Size+Vector3.new(0.4,0.35,0) | |
1790 | v.CFrame = cf | |
1791 | v.Transparency = v.Transparency+0.02 | |
1792 | if v.Transparency >= 0.975 then BREAKIT = true end | |
1793 | if v.Name == "0" then | |
1794 | local Ignore = {} | |
1795 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
1796 | if v.Character ~= nil then | |
1797 | Ignore[#Ignore+1] = v.Character | |
1798 | end | |
1799 | end | |
1800 | local ray = Ray.new(v.Position+Vector3.new(0,20,0),Vector3.new(0,-200,0)) | |
1801 | local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(ray,Ignore) | |
1802 | if Hit ~= nil then | |
1803 | if #Rocks == 0 then | |
1804 | for i = 1,5 do | |
1805 | local P = Instance.new("Part",char) | |
1806 | Rocks[#Rocks+1] = P | |
1807 | P.Anchored = true | |
1808 | P.FormFactor = "Custom" | |
1809 | P.BrickColor = Hit.BrickColor | |
1810 | P.Material = Hit.Material | |
1811 | P.TopSurface = "Smooth" | |
1812 | P.BottomSurface = "Smooth" | |
1813 | P.Size = Vector3.new(1,1,1)*(math.random(500,900)/100) | |
1814 | end | |
1815 | end | |
1816 | for i,P in pairs(Rocks) do | |
1817 | 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))) | |
1818 | end | |
1819 | local P = Instance.new("Part",char) | |
1820 | CParts[#CParts+1] = {P,tick()} | |
1821 | P.Anchored = true | |
1822 | P.FormFactor = "Custom" | |
1823 | P.BrickColor = Hit.BrickColor | |
1824 | P.Material = Hit.Material | |
1825 | P.TopSurface = "Smooth" | |
1826 | P.BottomSurface = "Smooth" | |
1827 | P.Size = Vector3.new(1,1,1)*(math.random(100,300)/100) | |
1828 | Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0) | |
1829 | Pos = Pos.p | |
1830 | 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))) | |
1831 | local P = P:Clone() | |
1832 | CParts[#CParts+1] = {P,tick()} | |
1833 | P.Parent = char | |
1834 | Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(-v.Size.X,0,0) | |
1835 | Pos = Pos.p | |
1836 | 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))) | |
1837 | if LastPos ~= nil then | |
1838 | local P = P:Clone() | |
1839 | CParts[#CParts+1] = {P,tick()} | |
1840 | P.Parent = char | |
1841 | P.BrickColor = BrickColor.new("Really black") | |
1842 | Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0) | |
1843 | Pos = Pos.p | |
1844 | local CFr = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0) | |
1845 | P.Size = Vector3.new(v.Size.X-0.25,1,(CFr.p-LastPos.p).Magnitude+0.25) | |
1846 | --P.Velocity = Vector3.new(0,-1000,0) | |
1847 | P.CFrame = CFrame.new(CFr.p,LastPos.p)*CFrame.new(0,0,-((CFr.p-LastPos.p).Magnitude+0.25)/2) | |
1848 | end | |
1849 | LastPos = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0) | |
1850 | end | |
1851 | end | |
1852 | end | |
1853 | if BREAKIT then break end | |
1854 | wait(0.002) | |
1855 | end | |
1856 | for i,v in pairs(Rocks) do | |
1857 | CParts[#CParts+1] = {v,tick()} | |
1858 | end | |
1859 | for i,v in pairs(Parts) do | |
1860 | v:Destroy() | |
1861 | end | |
1862 | Parts = nil | |
1863 | while true do | |
1864 | local t = tick() | |
1865 | local p = nil | |
1866 | for i,v in pairs(CParts) do | |
1867 | if t-v[2] > 4 then | |
1868 | v[1].Transparency = v[1].Transparency+0.05 | |
1869 | if v[1].Transparency >= 1 then | |
1870 | v[1]:Destroy() | |
1871 | CParts[i] = nil | |
1872 | end | |
1873 | end | |
1874 | p = v | |
1875 | end | |
1876 | if p == nil then break end | |
1877 | wait(0.002) | |
1878 | end | |
1879 | for i,v in pairs(CParts) do | |
1880 | v:Destroy() | |
1881 | end | |
1882 | CParts = {} | |
1883 | end) | |
1884 | for i = 1, 20 do | |
1885 | 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) | |
1886 | 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) | |
1887 | 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) | |
1888 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.6, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.4) | |
1889 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -1.4) * CFrame.Angles(math.rad(40), 0, math.rad(0)), 0.4) | |
1890 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1.6, -.9) * CFrame.Angles(math.rad(10), 0, math.rad(0)), 0.4) | |
1891 | 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) | |
1892 | if Debounces.on == false then break end | |
1893 | wait() | |
1894 | end | |
1895 | if Debounces.CanAttack == false then | |
1896 | Debounces.CanAttack = true | |
1897 | Debounces.on = false | |
1898 | Debounces.NoIdl = false | |
1899 | end | |
1900 | end | |
1901 | end | |
1902 | end) | |
1903 | ---------------------------------------------------- | |
1904 | mouse.KeyDown:connect(function(key) | |
1905 | if key == "e" then | |
1906 | larm.BrickColor = BrickColor.new("Bright red") | |
1907 | rarm.BrickColor = BrickColor.new("Bright red") | |
1908 | if Debounces.CanAttack == true then | |
1909 | Debounces.CanAttack = false | |
1910 | Debounces.on = true | |
1911 | Debounces.NoIdl = true | |
1912 | for i = 1, 18 do | |
1913 | 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) | |
1914 | 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) | |
1915 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
1916 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4) | |
1917 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.4) | |
1918 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4) | |
1919 | 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) | |
1920 | if Debounces.on == false then break end | |
1921 | wait() | |
1922 | end | |
1923 | 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)) | |
1924 | local rng = Instance.new("Part", char.Absolution.Handle) | |
1925 | rng.Anchored = true | |
1926 | rng.BrickColor = BrickColor.new("Really black") | |
1927 | rng.CanCollide = true | |
1928 | rng.FormFactor = 3 | |
1929 | rng.Name = "Ring" | |
1930 | rng.Size = Vector3.new(1, 1, 1) | |
1931 | rng.CanCollide = false | |
1932 | rng.Transparency = 0.35 | |
1933 | rng.TopSurface = 0 | |
1934 | rng.BottomSurface = 0 | |
1935 | rng.CFrame = HandCF | |
1936 | local rngm = Instance.new("SpecialMesh", rng) | |
1937 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1938 | rngm.Scale = Vector3.new(1, 1, 2) | |
1939 | x = Instance.new("Sound", hed) | |
1940 | x.SoundId = "http://www.roblox.com/asset/?id=169445602" | |
1941 | x.Looped = false | |
1942 | x.Pitch = .7 | |
1943 | x.Volume = 1 | |
1944 | x1 = Instance.new("Sound", hed) | |
1945 | x1.SoundId = "http://www.roblox.com/asset/?id=169445602" | |
1946 | x1.Looped = false | |
1947 | x1.Pitch = .7 | |
1948 | x1.Volume = 1 | |
1949 | x:Play() | |
1950 | x1:Play() | |
1951 | rngto = rng.Touched:connect(function(ht) | |
1952 | hit = ht.Parent | |
1953 | if ht and hit:IsA("Model") then | |
1954 | if hit:FindFirstChild("Humanoid") then | |
1955 | if hit.Name ~= p.Name then | |
1956 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
1957 | Debounces.Slashed = true]]-- | |
1958 | hit:FindFirstChild("Humanoid"):TakeDamage(4) | |
1959 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
1960 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -120 | |
1961 | --Debounces.Slashed = false | |
1962 | --end | |
1963 | end | |
1964 | end | |
1965 | elseif ht and hit:IsA("Hat") then | |
1966 | if hit.Parent.Name ~= p.Name then | |
1967 | if hit.Parent:FindFirstChild("Humanoid") then | |
1968 | --[[ if Debounces.Slashing == true and Debounces.Slashed == false then | |
1969 | Debounces.Slashed = true]]-- | |
1970 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(4) | |
1971 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
1972 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -120 | |
1973 | --Debounces.Slashed = false | |
1974 | end | |
1975 | end | |
1976 | end | |
1977 | end) | |
1978 | coroutine.wrap(function() | |
1979 | for i = 1, 60, 2 do | |
1980 | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1) | |
1981 | rng.Size = rngm.Scale | |
1982 | rng.CFrame = HandCF | |
1983 | rng.Transparency = i/60 | |
1984 | wait() | |
1985 | end | |
1986 | wait() | |
1987 | rng:Destroy() | |
1988 | end)() | |
1989 | for i = 1, 18 do | |
1990 | 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) | |
1991 | 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) | |
1992 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
1993 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4) | |
1994 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.4) | |
1995 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4) | |
1996 | 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) | |
1997 | if Debounces.on == false then break end | |
1998 | wait() | |
1999 | end | |
2000 | larm.BrickColor = BrickColor.new("Really black") | |
2001 | rarm.BrickColor = BrickColor.new("Really black") | |
2002 | x:Destroy() | |
2003 | x1:Destroy() | |
2004 | if Debounces.CanAttack == false then | |
2005 | Debounces.CanAttack = true | |
2006 | Debounces.on = false | |
2007 | Debounces.NoIdl = false | |
2008 | end | |
2009 | end | |
2010 | end | |
2011 | end) | |
2012 | ---------------------------------------------------- | |
2013 | mouse.KeyDown:connect(function(key) | |
2014 | if key == "y" then | |
2015 | if Debounces.CanAttack == true then | |
2016 | Debounces.CanAttack = false | |
2017 | Debounces.on = true | |
2018 | Debounces.NoIdl = true | |
2019 | for i = 1, 15 do | |
2020 | 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) | |
2021 | 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) | |
2022 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2) | |
2023 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.2) | |
2024 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
2025 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
2026 | 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) | |
2027 | if Debounces.on == false then break end | |
2028 | wait() | |
2029 | end | |
2030 | x = Instance.new("Sound",char) | |
2031 | x.SoundId = "rbxassetid://228343271" | |
2032 | x.Pitch = 1 | |
2033 | x.Volume = .8 | |
2034 | wait(.1) | |
2035 | x:Play() | |
2036 | Debounces.on = false | |
2037 | Debounces.Here = false | |
2038 | shot = shot + 1 | |
2039 | local rng = Instance.new("Part", char) | |
2040 | rng.Anchored = true | |
2041 | rng.BrickColor = BrickColor.new("Really black") | |
2042 | rng.CanCollide = false | |
2043 | rng.FormFactor = 3 | |
2044 | rng.Name = "Ring" | |
2045 | rng.Size = Vector3.new(1, 1, 1) | |
2046 | rng.Transparency = 0.35 | |
2047 | rng.TopSurface = 0 | |
2048 | rng.BottomSurface = 0 | |
2049 | rng2 = rng:clone() | |
2050 | rng3 = rng2:clone() | |
2051 | rng4 = rng2:clone() | |
2052 | local rngm = Instance.new("SpecialMesh", rng) | |
2053 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2054 | rngm.Scale = Vector3.new(10, 10, 1) | |
2055 | rngm2 = rngm:clone() | |
2056 | rngm2.Scale = Vector3.new(5, 5, 1) | |
2057 | rngm3=rngm2:clone() | |
2058 | rngm3.Parent = rng3 | |
2059 | rngm3.Scale = Vector3.new(8, 8, 1) | |
2060 | rngm4 = rngm2:clone() | |
2061 | rngm4.Parent = rng4 | |
2062 | rngm4.Scale = Vector3.new(6, 6, 1) | |
2063 | local bem = Instance.new("Part", char) | |
2064 | bem.Anchored = true | |
2065 | bem.BrickColor = BrickColor.new("Really black") | |
2066 | bem.CanCollide = false | |
2067 | bem.FormFactor = 3 | |
2068 | bem.Name = "Beam" .. shot | |
2069 | bem.Size = Vector3.new(1, 1, 1) | |
2070 | bem.Transparency = 0.35 | |
2071 | bem.TopSurface = 0 | |
2072 | bem.BottomSurface = 0 | |
2073 | local bemm = Instance.new("SpecialMesh", bem) | |
2074 | bemm.MeshType = 4 | |
2075 | bemm.Scale = Vector3.new(1, 4, 4) | |
2076 | local out = Instance.new("Part", char) | |
2077 | out.Anchored = true | |
2078 | out.BrickColor = BrickColor.new("Really black") | |
2079 | out.CanCollide = false | |
2080 | out.FormFactor = 3 | |
2081 | out.Name = "Out" | |
2082 | out.Size = Vector3.new(4, 4, 4) | |
2083 | out.Transparency = 0.35 | |
2084 | out.TopSurface = 0 | |
2085 | out.BottomSurface = 0 | |
2086 | local outm = Instance.new("SpecialMesh", out) | |
2087 | outm.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
2088 | outm.Scale = Vector3.new(4, 4, 4) | |
2089 | local bnd = Instance.new("Part", char) | |
2090 | bnd.Anchored = true | |
2091 | bnd.BrickColor = BrickColor.new("Really black") | |
2092 | bnd.CanCollide = false | |
2093 | bnd.FormFactor = 3 | |
2094 | bnd.Name = "Bend" | |
2095 | bnd.Size = Vector3.new(1, 1, 1) | |
2096 | bnd.Transparency = 1 | |
2097 | bnd.TopSurface = 0 | |
2098 | bnd.BottomSurface = 0 | |
2099 | local bndm = Instance.new("SpecialMesh", bnd) | |
2100 | bndm.MeshType = 3 | |
2101 | bndm.Scale = Vector3.new(8, 8, 8) | |
2102 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
2103 | bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
2104 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
2105 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
2106 | rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0) | |
2107 | rng4.CFrame = rng3.CFrame * CFrame.new(0, -.5, 0) | |
2108 | Debounces.Shewt = true | |
2109 | coroutine.wrap(function() | |
2110 | for i = 1, 20, 0.2 do | |
2111 | rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
2112 | rngm3.Scale = Vector3.new(8 + i*2, 8 + i*2, 1) | |
2113 | rngm4.Scale = Vector3.new(6 + i*2, 6 + i*2, 1) | |
2114 | rng.Transparency = i/20 | |
2115 | rng3.Transparency = 1/16 | |
2116 | rng4.Transparency = i/12 | |
2117 | wait() | |
2118 | end | |
2119 | wait() | |
2120 | rng:Destroy() | |
2121 | end)() | |
2122 | if Debounces.Shewt == true then | |
2123 | char:WaitForChild("Beam" .. shot).Touched:connect(function(ht) | |
2124 | hit = ht.Parent | |
2125 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then | |
2126 | if HasntTouched(hit.Name) == true and deb == false then | |
2127 | deb = true | |
2128 | coroutine.wrap(function() | |
2129 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2130 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180 | |
2131 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73)) | |
2132 | end)() | |
2133 | table.insert(Touche, hit.Name) | |
2134 | deb = false | |
2135 | end | |
2136 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then | |
2137 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
2138 | deb = true | |
2139 | coroutine.wrap(function() | |
2140 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true | |
2141 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180 | |
2142 | wait(1) | |
2143 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false | |
2144 | end)() | |
2145 | table.insert(Touche, hit.Parent.Name) | |
2146 | deb = false | |
2147 | for i, v in pairs(Touche) do | |
2148 | print(v) | |
2149 | end | |
2150 | end | |
2151 | end | |
2152 | end) | |
2153 | end | |
2154 | for i = 0, 260, 8 do | |
2155 | bem.Size = Vector3.new(i, 2, 2) | |
2156 | bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
2157 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2) | |
2158 | bnd.Size = Vector3.new(1,1,1) | |
2159 | bndm.Scale = Vector3.new(8,8,8) | |
2160 | if i % 10 == 0 then | |
2161 | local newRng = rng2:Clone() | |
2162 | newRng.Parent = char | |
2163 | newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
2164 | local newRngm = rngm2:clone() | |
2165 | newRngm.Parent=newRng | |
2166 | coroutine.wrap(function() | |
2167 | for i = 1, 10, 0.2 do | |
2168 | newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 1) | |
2169 | newRng.Transparency = i/10 | |
2170 | wait() | |
2171 | end | |
2172 | wait() | |
2173 | newRng:Destroy() | |
2174 | end)() | |
2175 | end | |
2176 | wait() | |
2177 | end | |
2178 | wait() | |
2179 | Debounces.Shewt = false | |
2180 | bem:Destroy() | |
2181 | out:Destroy() | |
2182 | bnd:Destroy() | |
2183 | Debounces.Ready = false | |
2184 | for i, v in pairs(Touche) do | |
2185 | table.remove(Touche, i) | |
2186 | end | |
2187 | wait() | |
2188 | table.insert(Touche, char.Name) | |
2189 | Debounces.NoIdl = false | |
2190 | if Debounces.CanAttack == false then | |
2191 | Debounces.CanAttack = true | |
2192 | end | |
2193 | end | |
2194 | end | |
2195 | end) | |
2196 | ---------------------------------------------------- | |
2197 | sidz = {"231917888", "231917845", "231917806"} | |
2198 | ptz = {0.65, 0.7, 0.75, 0.8, 0.95, 1} | |
2199 | mouse.KeyDown:connect(function(key) | |
2200 | if key == "f" then | |
2201 | larm.BrickColor = BrickColor.new("Bright red") | |
2202 | rarm.BrickColor = BrickColor.new("Bright red") | |
2203 | if Debounces.CanAttack == true then | |
2204 | Debounces.CanAttack = false | |
2205 | Debounces.on = true | |
2206 | Debounces.NoIdl = true | |
2207 | for i = 1, 10 do | |
2208 | 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) | |
2209 | 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) | |
2210 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.4) | |
2211 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.4) | |
2212 | 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) | |
2213 | 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) | |
2214 | 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) | |
2215 | if Debounces.on == false then break end | |
2216 | wait() | |
2217 | end | |
2218 | z = Instance.new("Sound",char) | |
2219 | z.SoundId = "rbxassetid://"..sidz[math.random(1,#sidz)] | |
2220 | z.Pitch = ptz[math.random(1,#ptz)] | |
2221 | z.Volume = 1 | |
2222 | z1 = Instance.new("Sound",char) | |
2223 | z1.SoundId = z.SoundId | |
2224 | z1.Pitch = z.Pitch | |
2225 | z1.Volume = 1 | |
2226 | wait(1) | |
2227 | z:Play() | |
2228 | z1:Play() | |
2229 | Stomp() | |
2230 | for i = 1, 20 do | |
2231 | 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) | |
2232 | 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) | |
2233 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.2)*CFrame.Angles(math.rad(-26),math.rad(0),0), 0.6) | |
2234 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, -.6) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.6) | |
2235 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(30), 0, math.rad(0)), 0.6) | |
2236 | 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) | |
2237 | 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) | |
2238 | if Debounces.on == false then break end | |
2239 | wait() | |
2240 | end | |
2241 | if Debounces.CanAttack == false then | |
2242 | Debounces.CanAttack = true | |
2243 | Debounces.on = false | |
2244 | Debounces.NoIdl = false | |
2245 | larm.BrickColor = BrickColor.new("Really black") | |
2246 | rarm.BrickColor = BrickColor.new("Really black") | |
2247 | end | |
2248 | end | |
2249 | end | |
2250 | end) | |
2251 | ---------------------------------------------------- | |
2252 | mouse.KeyDown:connect(function(key) | |
2253 | if key == "g" then | |
2254 | larm.BrickColor = BrickColor.new("Bright red") | |
2255 | rarm.BrickColor = BrickColor.new("Bright red") | |
2256 | if Debounces.CanAttack == true then | |
2257 | Debounces.CanAttack = false | |
2258 | Debounces.on = true | |
2259 | Debounces.NoIdl = true | |
2260 | chrg = lleg.Touched:connect(function(ht) | |
2261 | hit = ht.Parent | |
2262 | if ht and hit:IsA("Model") then | |
2263 | if hit:FindFirstChild("Humanoid") then | |
2264 | if hit.Name ~= p.Name then | |
2265 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
2266 | Debounces.Slashed = true]]-- | |
2267 | hit:FindFirstChild("Humanoid"):TakeDamage(2) | |
2268 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2269 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70 | |
2270 | --Debounces.Slashed = false | |
2271 | --end | |
2272 | end | |
2273 | end | |
2274 | elseif ht and hit:IsA("Hat") then | |
2275 | if hit.Parent.Name ~= p.Name then | |
2276 | if hit.Parent:FindFirstChild("Humanoid") then | |
2277 | --[[ if Debounces.Slashing == true and Debounces.Slashed == false then | |
2278 | Debounces.Slashed = true]]-- | |
2279 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2) | |
2280 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2281 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70 | |
2282 | --Debounces.Slashed = false | |
2283 | end | |
2284 | end | |
2285 | end | |
2286 | end) | |
2287 | for i = 1, 14 do | |
2288 | 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) | |
2289 | 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) | |
2290 | 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) | |
2291 | 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) | |
2292 | 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) | |
2293 | 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) | |
2294 | 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) | |
2295 | if Debounces.on == false then break end | |
2296 | wait() | |
2297 | end | |
2298 | charge() | |
2299 | z = Instance.new("Sound",char) | |
2300 | z.SoundId = "rbxassetid://200632875" | |
2301 | z.Volume = 1 | |
2302 | z.Pitch = .8 | |
2303 | z1 = Instance.new("Sound",char) | |
2304 | z1.SoundId = "rbxassetid://200632875" | |
2305 | z1.Volume = 1 | |
2306 | z1.Pitch = .9 | |
2307 | z:Play() | |
2308 | z1:Play() | |
2309 | wait(1) | |
2310 | z:Destroy() | |
2311 | z1:Destroy() | |
2312 | chrg:disconnect() | |
2313 | if Debounces.CanAttack == false then | |
2314 | Debounces.CanAttack = true | |
2315 | Debounces.on = false | |
2316 | Debounces.NoIdl = false | |
2317 | larm.BrickColor = BrickColor.new("Really black") | |
2318 | rarm.BrickColor = BrickColor.new("Really black") | |
2319 | end | |
2320 | end | |
2321 | end | |
2322 | end) | |
2323 | ---------------------------------------------------- | |
2324 | pt = {0.7, 0.8, 0.9} | |
2325 | mouse.KeyDown:connect(function(key) | |
2326 | if key == "h" then | |
2327 | if Debounces.CanJoke == true then | |
2328 | Debounces.CanJoke = false | |
2329 | u = Instance.new("Sound") | |
2330 | u.SoundId = "http://www.roblox.com/asset/?id=138199573" | |
2331 | u.Parent = char | |
2332 | u.Looped = false | |
2333 | u.Pitch = pt[math.random(1,#pt)] | |
2334 | u.Volume = 1 | |
2335 | u2 = Instance.new("Sound") | |
2336 | u2.SoundId = "http://www.roblox.com/asset/?id=138199573" | |
2337 | u2.Parent = char | |
2338 | u2.Looped = false | |
2339 | u2.Pitch = u.Pitch | |
2340 | u2.Volume = 1 | |
2341 | wait(.01) | |
2342 | u:Play() | |
2343 | u2:Play() | |
2344 | wait(6) | |
2345 | u:Destroy() | |
2346 | u2:Destroy() | |
2347 | if Debounces.CanJoke == false then | |
2348 | Debounces.CanJoke = true | |
2349 | end | |
2350 | end | |
2351 | end | |
2352 | end) | |
2353 | ---------------------------------------------------- | |
2354 | mouse.KeyDown:connect(function(key) | |
2355 | if key == "j" then | |
2356 | if Debounces.CanJoke == true then | |
2357 | Debounces.CanJoke = false | |
2358 | z = Instance.new("Sound",char) | |
2359 | z.SoundId = "rbxassetid://135017755" | |
2360 | z.Pitch = .76 | |
2361 | z.Volume = 1 | |
2362 | wait() | |
2363 | z:Play() | |
2364 | wait(6) | |
2365 | z:Destroy() | |
2366 | if Debounces.CanJoke == false then | |
2367 | Debounces.CanJoke = true | |
2368 | end | |
2369 | end | |
2370 | end | |
2371 | end) | |
2372 | ---------------------------------------------------- | |
2373 | mouse.KeyDown:connect(function(key) | |
2374 | if key == "k" then | |
2375 | if Debounces.CanJoke == true then | |
2376 | Debounces.CanJoke = false | |
2377 | z = Instance.new("Sound",char) | |
2378 | z.SoundId = "rbxassetid://135017578" | |
2379 | z.Pitch = .76 | |
2380 | z.Volume = 1 | |
2381 | wait() | |
2382 | z:Play() | |
2383 | wait(4) | |
2384 | z:Destroy() | |
2385 | if Debounces.CanJoke == false then | |
2386 | Debounces.CanJoke = true | |
2387 | end | |
2388 | end | |
2389 | end | |
2390 | end) | |
2391 | ---------------------------------------------------- | |
2392 | mouse.KeyDown:connect(function(key) | |
2393 | if key == "x" then | |
2394 | if Debounces.CanAttack == true then | |
2395 | Debounces.CanAttack = false | |
2396 | Debounces.NoIdl = true | |
2397 | Debounces.on = true | |
2398 | Debounces.ks = true | |
2399 | for i = 1, 10 do | |
2400 | 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) | |
2401 | 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) | |
2402 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.4)*CFrame.Angles(math.rad(-26),math.rad(0),0), 0.6) | |
2403 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.6) | |
2404 | 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) | |
2405 | 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) | |
2406 | 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) | |
2407 | if Debounces.on == false then break end | |
2408 | wait() | |
2409 | end | |
2410 | z = Instance.new("Sound",hed) | |
2411 | z.SoundId = "rbxassetid://169445092" | |
2412 | z.Volume = 1 | |
2413 | wait(0.1) | |
2414 | z:Play() | |
2415 | kik = rleg.Touched:connect(function(ht) | |
2416 | hit = ht.Parent | |
2417 | if ht and hit:IsA("Model") then | |
2418 | if hit:FindFirstChild("Humanoid") then | |
2419 | if hit.Name ~= p.Name then | |
2420 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
2421 | Debounces.Slashed = true]]-- | |
2422 | if Debounces.ks==true then | |
2423 | z = Instance.new("Sound",hed) | |
2424 | z.SoundId = "rbxassetid://169380525" | |
2425 | z.Volume = 1 | |
2426 | z:Play() | |
2427 | Debounces.ks=false | |
2428 | end | |
2429 | hit:FindFirstChild("Humanoid"):TakeDamage(2) | |
2430 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2431 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70 | |
2432 | --Debounces.Slashed = false | |
2433 | --end | |
2434 | end | |
2435 | end | |
2436 | elseif ht and hit:IsA("Hat") then | |
2437 | if hit.Parent.Name ~= p.Name then | |
2438 | if hit.Parent:FindFirstChild("Humanoid") then | |
2439 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
2440 | Debounces.Slashed = true]]-- | |
2441 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2) | |
2442 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2443 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70 | |
2444 | --Debounces.Slashed = false | |
2445 | --end | |
2446 | end | |
2447 | end | |
2448 | end | |
2449 | end) | |
2450 | for i = 1, 8 do | |
2451 | 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) | |
2452 | 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) | |
2453 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,.2)*CFrame.Angles(math.rad(8),math.rad(0),0), 0.7) | |
2454 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(16), math.rad(0), 0), 0.7) | |
2455 | 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) | |
2456 | 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) | |
2457 | 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) | |
2458 | if Debounces.on == false then break end | |
2459 | wait() | |
2460 | end | |
2461 | kik:disconnect() | |
2462 | if Debounces.CanAttack == false then | |
2463 | Debounces.CanAttack = true | |
2464 | Debounces.on = false | |
2465 | Debounces.NoIdl = false | |
2466 | end | |
2467 | end | |
2468 | end | |
2469 | end) | |
2470 | ---------------------------------------------------- | |
2471 | mouse.KeyDown:connect(function(key) | |
2472 | if key == "c" then | |
2473 | if Debounces.CanAttack == true then | |
2474 | Debounces.CanAttack = false | |
2475 | Debounces.NoIdl = true | |
2476 | Debounces.on = true | |
2477 | SIDZ = {"231917744", "231917742"} | |
2478 | PTZ = {0.7, 0.8, 0.9, 1} | |
2479 | for i = 1, 20 do | |
2480 | wait() | |
2481 | for i,v in pairs(char.Absolution:children()) do | |
2482 | if v:IsA("Part") or v:IsA("WedgePart") then | |
2483 | v.Transparency = v.Transparency + 0.05 | |
2484 | end | |
2485 | end | |
2486 | end | |
2487 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
2488 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
2489 | local List = {} | |
2490 | for i,v in pairs(workspace:GetChildren())do | |
2491 | if v:IsA("Model")then | |
2492 | if v:findFirstChild("Torso")then | |
2493 | if v ~= char then | |
2494 | if(v.Torso.Position -Position).magnitude <= Distance then | |
2495 | table.insert(List,v) | |
2496 | end | |
2497 | end | |
2498 | end | |
2499 | end | |
2500 | end | |
2501 | return List | |
2502 | end | |
2503 | GroundPound() | |
2504 | for i = 1, 5 do | |
2505 | 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) | |
2506 | 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) | |
2507 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6) | |
2508 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6) | |
2509 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6) | |
2510 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2511 | 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) | |
2512 | if Debounces.on == false then break end | |
2513 | wait() | |
2514 | end | |
2515 | GroundPound() | |
2516 | for i = 1, 5 do | |
2517 | 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) | |
2518 | 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) | |
2519 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6) | |
2520 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6) | |
2521 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2522 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6) | |
2523 | 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) | |
2524 | if Debounces.on == false then break end | |
2525 | wait() | |
2526 | end | |
2527 | GroundPound() | |
2528 | for i = 1, 5 do | |
2529 | 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) | |
2530 | 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) | |
2531 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6) | |
2532 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6) | |
2533 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6) | |
2534 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2535 | 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) | |
2536 | if Debounces.on == false then break end | |
2537 | wait() | |
2538 | end | |
2539 | GroundPound() | |
2540 | for i = 1, 5 do | |
2541 | 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) | |
2542 | 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) | |
2543 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6) | |
2544 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6) | |
2545 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2546 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6) | |
2547 | 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) | |
2548 | if Debounces.on == false then break end | |
2549 | wait() | |
2550 | end | |
2551 | GroundPound() | |
2552 | for i = 1, 5 do | |
2553 | 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) | |
2554 | 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) | |
2555 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6) | |
2556 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6) | |
2557 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6) | |
2558 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2559 | 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) | |
2560 | if Debounces.on == false then break end | |
2561 | wait() | |
2562 | end | |
2563 | GroundPound() | |
2564 | for i = 1, 5 do | |
2565 | 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) | |
2566 | 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) | |
2567 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6) | |
2568 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6) | |
2569 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2570 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6) | |
2571 | 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) | |
2572 | if Debounces.on == false then break end | |
2573 | wait() | |
2574 | end | |
2575 | for i = 1, 18 do | |
2576 | 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) | |
2577 | 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) | |
2578 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.4) | |
2579 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.4) | |
2580 | 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) | |
2581 | 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) | |
2582 | 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) | |
2583 | if Debounces.on == false then break end | |
2584 | wait() | |
2585 | end | |
2586 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,25))do | |
2587 | if v:FindFirstChild('Humanoid') then | |
2588 | v.Humanoid:TakeDamage(math.random(20,60)) | |
2589 | v.Humanoid.PlatformStand = true | |
2590 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100 | |
2591 | end | |
2592 | end | |
2593 | x = Instance.new("Sound",char) | |
2594 | x.SoundId = "rbxassetid://"..SIDZ[math.random(1,#SIDZ)] | |
2595 | x.Pitch = PTZ[math.random(1,#PTZ)] | |
2596 | x.Volume = 1 | |
2597 | wait(0.1) | |
2598 | x:Play() | |
2599 | Crater(hed,20) | |
2600 | for i = 1, 14 do | |
2601 | 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) | |
2602 | 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) | |
2603 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.6) | |
2604 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -5, 0) * CFrame.Angles(math.rad(-90), math.rad(0), 0), 0.6) | |
2605 | 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) | |
2606 | 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) | |
2607 | 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) | |
2608 | if Debounces.on == false then break end | |
2609 | wait() | |
2610 | end | |
2611 | if Debounces.CanAttack == false then | |
2612 | Debounces.CanAttack = true | |
2613 | Debounces.on = false | |
2614 | Debounces.NoIdl = false | |
2615 | for i = 1, 20 do | |
2616 | wait() | |
2617 | for i,v in pairs(char.Absolution:children()) do | |
2618 | if v:IsA("Part") or v:IsA("WedgePart") then | |
2619 | v.Transparency = v.Transparency - 0.05 | |
2620 | end | |
2621 | end | |
2622 | end | |
2623 | end | |
2624 | end | |
2625 | end | |
2626 | end) | |
2627 | ----------------------------------------------------176349813 | |
2628 | mouse.KeyDown:connect(function(key) | |
2629 | if key == "b" then | |
2630 | hum.WalkSpeed = 0.01 | |
2631 | if Debounces.CanAttack == true then | |
2632 | Debounces.CanAttack = false | |
2633 | Debounces.NoIdl = true | |
2634 | Debounces.on = true | |
2635 | for i = 1,20 do | |
2636 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(75), 0, math.rad(-30)), 0.1) | |
2637 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(75), 0, math.rad(30)), 0.1) | |
2638 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.1) | |
2639 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.1) | |
2640 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles (math.rad(30), 0, math.rad(-5)), 0.1) | |
2641 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles (math.rad(30), 0, math.rad(5)), 0.1) | |
2642 | 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) | |
2643 | if Debounces.on == false then break end | |
2644 | wait() | |
2645 | end | |
2646 | wait(1) | |
2647 | v = Instance.new("Sound") | |
2648 | v.SoundId = "rbxassetid://181384451" | |
2649 | v.Parent = char | |
2650 | v.Looped = false | |
2651 | v.Pitch = 1.04 | |
2652 | v.Volume = 1 | |
2653 | wait(.01) | |
2654 | v:Play() | |
2655 | ||
2656 | if Daytime == true then | |
2657 | Daytime = false | |
2658 | l.TimeOfDay = 24 | |
2659 | else | |
2660 | Daytime = true | |
2661 | l.TimeOfDay = 12 | |
2662 | l.OutdoorAmbient = Color3.new(0.498039, 0.498039, 0.498039) | |
2663 | end | |
2664 | ||
2665 | local Shockwave = function() | |
2666 | local rng1 = Instance.new("Part", char) | |
2667 | rng1.Anchored = true | |
2668 | rng1.BrickColor = BrickColor.new("Really black") | |
2669 | rng1.CanCollide = false | |
2670 | rng1.FormFactor = 3 | |
2671 | rng1.Name = "Ring" | |
2672 | rng1.Size = Vector3.new(1, 1, 1) | |
2673 | rng1.Transparency = 0.35 | |
2674 | rng1.TopSurface = 0 | |
2675 | rng1.BottomSurface = 0 | |
2676 | local rngm1 = Instance.new("SpecialMesh", rng) | |
2677 | rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2678 | rngm1.Scale = Vector3.new(10, 10, 1) | |
2679 | rng1.CFrame = CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0) | |
2680 | local Wave = Instance.new("Part", game.Workspace--[[?]]) | |
2681 | Wave.Name = "Shockwave" | |
2682 | Wave.BrickColor = BrickColor.new("Really black") | |
2683 | Wave.Size = Vector3.new(1, 1, 1) | |
2684 | Wave.Shape = "Ball" | |
2685 | Wave.CanCollide = false | |
2686 | Wave.Anchored = true | |
2687 | Wave.TopSurface = 0 | |
2688 | Wave.BottomSurface = 0 | |
2689 | Wave.Touched:connect(function(hit) | |
2690 | if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then | |
2691 | local Occlude = true | |
2692 | local NotOccludes = { | |
2693 | char.Name; | |
2694 | "Wings"; | |
2695 | "Scythe"; | |
2696 | "Thingy"; | |
2697 | "Thingy2"; -- put all of the names in a table pls | |
2698 | } | |
2699 | for i,v in pairs(NotOccludes) do | |
2700 | if hit.Parent.Name == v then | |
2701 | Occlude = false | |
2702 | end | |
2703 | end | |
2704 | --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 | |
2705 | if Occlude then | |
2706 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 1 | |
2707 | hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * -120 | |
2708 | end | |
2709 | end | |
2710 | end) | |
2711 | ||
2712 | Instance.new("SpecialMesh", Wave).MeshType = "Sphere" | |
2713 | ||
2714 | coroutine.wrap(function() | |
2715 | for i = 1, 20, 0.2 do | |
2716 | rngm1.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
2717 | rng1.Transparency = i/20 | |
2718 | wait() | |
2719 | end | |
2720 | wait() | |
2721 | rng1:Destroy() | |
2722 | end)() | |
2723 | ||
2724 | Delay(0, function() | |
2725 | ||
2726 | if Daytime == false then | |
2727 | for i = 1, 50, 1 do | |
2728 | Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i) | |
2729 | Wave.CFrame = char.Torso.CFrame | |
2730 | local t = i / 50 | |
2731 | Wave.Transparency = t | |
2732 | wait() | |
2733 | end | |
2734 | else | |
2735 | for i = 1, 50, 1 do | |
2736 | Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i) | |
2737 | Wave.CFrame = char.Torso.CFrame | |
2738 | local t = i / 50 | |
2739 | Wave.Transparency = t | |
2740 | wait() | |
2741 | end | |
2742 | end | |
2743 | Wave:Destroy() | |
2744 | end) | |
2745 | Delay(0, function() | |
2746 | while wait() do | |
2747 | if Wave ~= nil then | |
2748 | Wave.CFrame = char.Torso.CFrame | |
2749 | else | |
2750 | break | |
2751 | end | |
2752 | end | |
2753 | end) | |
2754 | end | |
2755 | Shockwave() | |
2756 | for i = 1, 15 do | |
2757 | 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) | |
2758 | 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) | |
2759 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1) | |
2760 | 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) | |
2761 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1) | |
2762 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
2763 | if Debounces.on == false then break end | |
2764 | wait() | |
2765 | end | |
2766 | for i = 1, 15 do | |
2767 | 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) | |
2768 | 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) | |
2769 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1) | |
2770 | 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) | |
2771 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
2772 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1) | |
2773 | if Debounces.on == false then break end | |
2774 | wait() | |
2775 | end | |
2776 | for i = 1, 15 do | |
2777 | 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) | |
2778 | 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) | |
2779 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1) | |
2780 | 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) | |
2781 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1) | |
2782 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
2783 | if Debounces.on == false then break end | |
2784 | wait() | |
2785 | end | |
2786 | for i = 1, 15 do | |
2787 | 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) | |
2788 | 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) | |
2789 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1) | |
2790 | 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) | |
2791 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
2792 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1) | |
2793 | if Debounces.on == false then break end | |
2794 | wait() | |
2795 | end | |
2796 | for i = 1, 15 do | |
2797 | 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) | |
2798 | 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) | |
2799 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1) | |
2800 | 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) | |
2801 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1) | |
2802 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
2803 | if Debounces.on == false then break end | |
2804 | wait() | |
2805 | end | |
2806 | for i = 1, 15 do | |
2807 | 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) | |
2808 | 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) | |
2809 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1) | |
2810 | 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) | |
2811 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
2812 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1) | |
2813 | if Debounces.on == false then break end | |
2814 | wait() | |
2815 | end | |
2816 | wait(1.4) | |
2817 | Debounces.NoIdl = false | |
2818 | hum.WalkSpeed = 5 | |
2819 | Debounces.on = false | |
2820 | wait() | |
2821 | if Debounces.CanAttack == false then | |
2822 | Debounces.CanAttack = true | |
2823 | v:Destroy() | |
2824 | end | |
2825 | end | |
2826 | end | |
2827 | end) | |
2828 | ---------------------------------------------------- | |
2829 | mouse.KeyDown:connect(function(key) | |
2830 | if key == "m" then | |
2831 | hum.WalkSpeed = 0 | |
2832 | if Debounces.CanAttack == true then | |
2833 | Debounces.CanAttack = false | |
2834 | Debounces.on = true | |
2835 | Debounces.NoIdl = true | |
2836 | --[[x = Instance.new("Sound",char) | |
2837 | x.SoundId = "http://www.roblox.com/asset/?id=169445572" | |
2838 | x.Looped = false | |
2839 | x.Pitch = 1.1 | |
2840 | x.Volume = 1 | |
2841 | x:Play() | |
2842 | x2 = Instance.new("Sound",char) | |
2843 | x2.SoundId = "http://www.roblox.com/asset/?id=169380495" | |
2844 | x2.Looped = false | |
2845 | x2.Pitch = .7 | |
2846 | x2.Volume = 1 | |
2847 | wait(.1) | |
2848 | x:Play() | |
2849 | x2:Play() | |
2850 | for i = 1, 20 do | |
2851 | 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) | |
2852 | 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) | |
2853 | 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) | |
2854 | 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) | |
2855 | 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) | |
2856 | 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) | |
2857 | 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) | |
2858 | if Debounces.on == false then break end | |
2859 | wait() | |
2860 | x:Destroy() | |
2861 | x2:Destroy() | |
2862 | end | |
2863 | wait(1)]]-- | |
2864 | local rng = Instance.new("Part", char) | |
2865 | rng.Anchored = true | |
2866 | rng.BrickColor = BrickColor.new("Really black") | |
2867 | rng.CanCollide = false | |
2868 | rng.FormFactor = 3 | |
2869 | rng.Name = "Ring" | |
2870 | rng.Size = Vector3.new(1, 1, 1) | |
2871 | rng.Transparency = 0.35 | |
2872 | rng.TopSurface = 0 | |
2873 | rng.BottomSurface = 0 | |
2874 | rng.Position = torso.Position - Vector3.new(0,2,0) | |
2875 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
2876 | local rngm = Instance.new("SpecialMesh", rng) | |
2877 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2878 | rngm.Scale = Vector3.new(1, 1, 2) | |
2879 | x = Instance.new("Sound",char) | |
2880 | x.SoundId = "http://www.roblox.com/asset/?id=241180816" | |
2881 | x.Looped = false | |
2882 | x.Pitch = .7 | |
2883 | x.Volume = 1 | |
2884 | x:Play() | |
2885 | coroutine.wrap(function() | |
2886 | for i = 1, 60, 2 do | |
2887 | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1) | |
2888 | rng.Transparency = i/60 | |
2889 | wait() | |
2890 | end | |
2891 | wait() | |
2892 | rng:Destroy() | |
2893 | end)() | |
2894 | hum.WalkSpeed = 50 | |
2895 | BV = Instance.new("BodyVelocity", torso) | |
2896 | BV.maxForce = Vector3.new(0,200000,0) | |
2897 | BV.P = 100000 | |
2898 | BV.velocity = Vector3.new(0,800,0) | |
2899 | for i = 1, 20 do | |
2900 | 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) | |
2901 | 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) | |
2902 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(40), 0, math.rad(-20)), 0.7) | |
2903 | 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) | |
2904 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7) | |
2905 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, 0, -2) * CFrame.Angles(math.rad(0), 0, 0), 0.7) | |
2906 | 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) | |
2907 | if Debounces.on == false then break end | |
2908 | wait() | |
2909 | end | |
2910 | x:Destroy() | |
2911 | BV:Destroy() | |
2912 | --[[for i = 1, 30 do | |
2913 | 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) | |
2914 | 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) | |
2915 | 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) | |
2916 | 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) | |
2917 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -1) * CFrame.Angles(math.rad(20), 0, 0), 0.3) | |
2918 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.6) * CFrame.Angles(math.rad(-30), 0, 0), 0.3) | |
2919 | if Debounces.on == false then break end | |
2920 | wait() | |
2921 | end]]-- | |
2922 | if (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 1 then | |
2923 | for i = 1, 30 do | |
2924 | 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) | |
2925 | 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) | |
2926 | 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) | |
2927 | 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) | |
2928 | 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) | |
2929 | 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) | |
2930 | 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) | |
2931 | if Debounces.on == false then break end | |
2932 | wait() | |
2933 | end | |
2934 | end | |
2935 | Debounces.on = false | |
2936 | Debounces.NoIdl = false | |
2937 | local ry,ht,ps=nil,nil,nil | |
2938 | while ht==nil do | |
2939 | ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char}) | |
2940 | wait() | |
2941 | end | |
2942 | z = Instance.new("Sound",char) | |
2943 | - | z.SoundId = "rbxassetid://142070127" |
2943 | + | z.SoundId = "rbxassetid://241180816' |
2944 | - | z.Volume = 1 |
2944 | + | |
2945 | z.Volume = 10 | |
2946 | wait(.1) | |
2947 | z:Play() | |
2948 | Landing() | |
2949 | hum.WalkSpeed = 8 | |
2950 | if Debounces.CanAttack == false then | |
2951 | Debounces.CanAttack = true | |
2952 | end | |
2953 | end | |
2954 | end | |
2955 | end) | |
2956 | ---------------------------------------------------- | |
2957 | Grab = false | |
2958 | mouse.KeyDown:connect(function(key) | |
2959 | if key == "z" then | |
2960 | larm.BrickColor = BrickColor.new("Bright red") | |
2961 | rarm.BrickColor = BrickColor.new("Bright red") | |
2962 | Debounces.on = true | |
2963 | Debounces.NoIdl = true | |
2964 | if Grab == false then | |
2965 | gp = nil | |
2966 | con1=larm.Touched:connect(function(hit) -- this is grab | |
2967 | ht = hit.Parent | |
2968 | hum1=ht:FindFirstChild('Humanoid') | |
2969 | if hum1 ~= nil then | |
2970 | hum1.PlatformStand=true | |
2971 | gp = ht | |
2972 | Grab = true | |
2973 | asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-3.3,0),CFrame.new(0,0,0)) | |
2974 | asd.Parent = larm | |
2975 | asd.Name = "asd" | |
2976 | asd.C0=asd.C0*CFrame.Angles(math.rad(-90),0,0) | |
2977 | elseif hum1 == nil then | |
2978 | con1:disconnect() | |
2979 | wait() return | |
2980 | end | |
2981 | end) | |
2982 | for i = 1, 18 do | |
2983 | 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) | |
2984 | 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) | |
2985 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2) | |
2986 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.8, 0) * CFrame.Angles(math.rad(-60), math.rad(0), 0), 0.2) | |
2987 | 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) | |
2988 | 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) | |
2989 | 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) | |
2990 | if Debounces.on == false then break end | |
2991 | wait() | |
2992 | end | |
2993 | con1:disconnect() | |
2994 | Debounces.on = false | |
2995 | Debounces.NoIdl = false | |
2996 | elseif Grab == true then | |
2997 | Grab = false | |
2998 | for i = 1, 20 do | |
2999 | 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) | |
3000 | 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) | |
3001 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2) | |
3002 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
3003 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
3004 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
3005 | 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) | |
3006 | if Debounces.on == false then end | |
3007 | wait() | |
3008 | end | |
3009 | if gp ~= nil then | |
3010 | for i,v in pairs(larm:GetChildren()) do | |
3011 | if v.Name == "asd" and v:IsA("Weld") then | |
3012 | v:Remove() | |
3013 | end | |
3014 | end | |
3015 | bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso")) | |
3016 | bv.maxForce = Vector3.new(400000, 400000, 400000) | |
3017 | bv.P = 125000 | |
3018 | bv.velocity = char.Head.CFrame.lookVector * 200 | |
3019 | for i = 1, 12 do | |
3020 | 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) | |
3021 | if Debounces.on == false then end | |
3022 | wait() | |
3023 | end | |
3024 | ht=nil | |
3025 | Spawn(function() | |
3026 | wait(0.5) | |
3027 | bv:Destroy() | |
3028 | end) | |
3029 | Debounces.on = false | |
3030 | Debounces.NoIdl = false | |
3031 | elseif ht == nil then wait() | |
3032 | Grab = false | |
3033 | Debounces.on = false | |
3034 | Debounces.NoIdl = false | |
3035 | end | |
3036 | end | |
3037 | end | |
3038 | end) | |
3039 | ---------------------------------------------------- | |
3040 | mouse.KeyDown:connect(function(key) | |
3041 | if string.byte(key) == 52 then | |
3042 | char.Humanoid.WalkSpeed = 21 | |
3043 | end | |
3044 | end) | |
3045 | mouse.KeyUp:connect(function(key) | |
3046 | if string.byte(key) == 52 then | |
3047 | char.Humanoid.WalkSpeed = 5 | |
3048 | end | |
3049 | end) | |
3050 | ---------------------------------------------------- | |
3051 | local animpose = "Idle" | |
3052 | local lastanimpose = "Idle" | |
3053 | local sine = 0 | |
3054 | local change = 1 | |
3055 | local val = 0 | |
3056 | local ffing = false | |
3057 | ---------------------------------------------------- | |
3058 | --[[x = Instance.new("Sound", char) | |
3059 | x.SoundId = "http://www.roblox.com/asset/?id=187922823" | |
3060 | x.Looped = true | |
3061 | x.Volume = 1 | |
3062 | x.Pitch = 1 | |
3063 | local footsteps = false]]-- | |
3064 | ------------------------------- | |
3065 | game:GetService("RunService").RenderStepped:connect(function() | |
3066 | --[[if char.Humanoid.Jump == true then | |
3067 | jump = true | |
3068 | else | |
3069 | jump = false | |
3070 | end]] | |
3071 | char.Humanoid.FreeFalling:connect(function(f) | |
3072 | if f then | |
3073 | ffing = true | |
3074 | else | |
3075 | ffing = false | |
3076 | end | |
3077 | end) | |
3078 | sine = sine + change | |
3079 | if jumpn == true then | |
3080 | animpose = "Jumping" | |
3081 | elseif ffing == true then | |
3082 | animpose = "Freefalling" | |
3083 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
3084 | animpose = "Idle" | |
3085 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
3086 | animpose = "Walking" | |
3087 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
3088 | animpose = "Running" | |
3089 | end | |
3090 | if animpose ~= lastanimpose then | |
3091 | sine = 0 | |
3092 | if Debounces.NoIdl == false then | |
3093 | if animpose == "Idle" then | |
3094 | for i = 1, 2 do | |
3095 | 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) | |
3096 | 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) | |
3097 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2) | |
3098 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
3099 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
3100 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
3101 | 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) | |
3102 | end | |
3103 | elseif animpose == "Walking" then | |
3104 | for i = 1, 2 do | |
3105 | 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) | |
3106 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0)*CFrame.Angles(0, math.rad(1), math.rad(-10)), 0.2) | |
3107 | 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) | |
3108 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-4), 0, math.rad(0)), 0.2) | |
3109 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4) | |
3110 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4) | |
3111 | 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) | |
3112 | end | |
3113 | elseif animpose == "Running" then | |
3114 | for i = 1, 2 do | |
3115 | 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) | |
3116 | 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) | |
3117 | 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) | |
3118 | 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) | |
3119 | 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) | |
3120 | 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) | |
3121 | 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) | |
3122 | end | |
3123 | wait() | |
3124 | end | |
3125 | else | |
3126 | end | |
3127 | end | |
3128 | lastanimpose = animpose | |
3129 | if Debounces.NoIdl == false then | |
3130 | if animpose == "Idle" then | |
3131 | if stanceToggle == "Normal" then | |
3132 | change = 0.5 | |
3133 | 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) | |
3134 | 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) | |
3135 | 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) | |
3136 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-40), 0), 0.2) | |
3137 | 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) | |
3138 | 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) | |
3139 | 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) | |
3140 | elseif stanceToggle == "Sitting" then | |
3141 | 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) | |
3142 | 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) | |
3143 | 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) | |
3144 | 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) | |
3145 | 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) | |
3146 | 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) | |
3147 | 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) | |
3148 | end | |
3149 | elseif animpose == "Walking" then | |
3150 | if stanceToggle == "Normal" then | |
3151 | change = 1 | |
3152 | 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) | |
3153 | 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) | |
3154 | 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) | |
3155 | 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) | |
3156 | 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) | |
3157 | 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) | |
3158 | 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) | |
3159 | end | |
3160 | elseif animpose == "Running" then | |
3161 | change = 1 | |
3162 | 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) | |
3163 | 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) | |
3164 | 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) | |
3165 | 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) | |
3166 | 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) | |
3167 | 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) | |
3168 | 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) | |
3169 | end | |
3170 | end | |
3171 | --[[if animpose == "Walking" then | |
3172 | if footsteps == false then | |
3173 | x:Play() | |
3174 | footsteps = true | |
3175 | end | |
3176 | x.Pitch = 1.1 | |
3177 | elseif animpose == "Idle" then | |
3178 | x:Stop() | |
3179 | footsteps = false | |
3180 | elseif animpose == "Running" then | |
3181 | x.Pitch = 1.2 | |
3182 | if footsteps == false then | |
3183 | x:Play() | |
3184 | footsteps = true | |
3185 | end | |
3186 | end]]-- | |
3187 | end) |