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