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