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