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