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