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