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