SHOW:
|
|
- or go back to the newest paste.
1 | - | --Made by OpTic Null-- |
1 | + | --Noob Titan-- |
2 | - | -- based off of light titan-- |
2 | + | --Recreated from the MoonMan Titan-- |
3 | local p = game.Players.LocalPlayer | |
4 | print'Thank you Dr_Doge For Fixing this for me! And. DONT THE PEANUT LEAK THIS! Nuberzzz edits' | |
5 | local char = p.Character | |
6 | local mouse = p:GetMouse() | |
7 | local larm = char["Left Arm"] | |
8 | local rarm = char["Right Arm"] | |
9 | local lleg = char["Left Leg"] | |
10 | local rleg = char["Right Leg"] | |
11 | local hed = char.Head | |
12 | local torso = char.Torso | |
13 | local hum = char.Humanoid | |
14 | local cam = game.Workspace.CurrentCamera | |
15 | local root = char.HumanoidRootPart | |
16 | local deb = false | |
17 | local shot = 0 | |
18 | local l = game:GetService("Lighting") | |
19 | local rs = game:GetService("RunService").RenderStepped | |
20 | local stanceToggle = "Normal" | |
21 | - | hum.WalkSpeed = 7 |
21 | + | |
22 | - | char.Health:Destroy() |
22 | + | hum.WalkSpeed = 100 |
23 | hum.MaxHealth = 50000 | |
24 | wait(0.1) | |
25 | hum.Health = 50000 | |
26 | ---------------------------------------------------- | |
27 | pcall(function()char.Shirt:Destroy() | |
28 | char.Pants:Destroy() | |
29 | end) | |
30 | shirt = Instance.new("Shirt", char) | |
31 | shirt.Name = "Shirt" | |
32 | pants = Instance.new("Pants", char) | |
33 | pants.Name = "Pants" | |
34 | - | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=397040429" |
34 | + | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=224461438" |
35 | - | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=397040429" |
35 | + | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=236346751" |
36 | ---------------------------------------------------- | |
37 | Debounces = { | |
38 | on = false; | |
39 | ks = false; | |
40 | CanAttack = true; | |
41 | CanJoke = true; | |
42 | NoIdl = false; | |
43 | Slashing = false; | |
44 | Slashed = false; | |
45 | Grabbing = false; | |
46 | Grabbed = false; | |
47 | } | |
48 | local Touche = {char.Name, } | |
49 | ---------------------------------------------------- | |
50 | function lerp(a, b, t) -- Linear interpolation | |
51 | return a + (b - a)*t | |
52 | end | |
53 | ||
54 | function slerp(a, b, t) --Spherical interpolation | |
55 | dot = a:Dot(b) | |
56 | if dot > 0.99999 or dot < -0.99999 then | |
57 | return t <= 0.5 and a or b | |
58 | else | |
59 | r = math.acos(dot) | |
60 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
61 | end | |
62 | end | |
63 | ||
64 | function matrixInterpolate(a, b, t) | |
65 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
66 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
67 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
68 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
69 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
70 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
71 | local t = v1:Dot(v2) | |
72 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
73 | return CFrame.new() | |
74 | end | |
75 | return CFrame.new( | |
76 | v0.x, v0.y, v0.z, | |
77 | v1.x, v1.y, v1.z, | |
78 | v2.x, v2.y, v2.z, | |
79 | v3.x, v3.y, v3.z) | |
80 | end | |
81 | ---------------------------------------------------- | |
82 | function genWeld(a,b) | |
83 | local w = Instance.new("Weld",a) | |
84 | w.Part0 = a | |
85 | w.Part1 = b | |
86 | return w | |
87 | end | |
88 | function weld(a, b) | |
89 | local weld = Instance.new("Weld") | |
90 | weld.Name = "W" | |
91 | weld.Part0 = a | |
92 | weld.Part1 = b | |
93 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
94 | weld.Parent = a | |
95 | return weld; | |
96 | end | |
97 | ---------------------------------------------------- | |
98 | function Lerp(c1,c2,al) | |
99 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
100 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
101 | for i,v in pairs(com1) do | |
102 | com1[i] = v+(com2[i]-v)*al | |
103 | end | |
104 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
105 | end | |
106 | ---------------------------------------------------- | |
107 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
108 | local wld = Instance.new("Weld", wp1) | |
109 | wld.Part0 = wp0 | |
110 | wld.Part1 = wp1 | |
111 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
112 | end | |
113 | ---------------------------------------------------- | |
114 | for i,v in pairs(char:children()) do | |
115 | if v:IsA("Hat") then | |
116 | v:Destroy() | |
117 | end | |
118 | end | |
119 | for i,v in pairs(hed:children()) do | |
120 | if v:IsA("Sound") then | |
121 | v:Destroy() | |
122 | end | |
123 | end | |
124 | ---------------------------------------------------- | |
125 | function HasntTouched(plrname) | |
126 | local ret = true | |
127 | for _, v in pairs(Touche) do | |
128 | if v == plrname then | |
129 | ret = false | |
130 | end | |
131 | end | |
132 | return ret | |
133 | end | |
134 | ---------------------------------------------------- | |
135 | larm.Size = larm.Size * 2 | |
136 | rarm.Size = rarm.Size * 2 | |
137 | lleg.Size = lleg.Size * 2 | |
138 | rleg.Size = rleg.Size * 2 | |
139 | torso.Size = torso.Size * 2 | |
140 | hed.Size = hed.Size * 2 | |
141 | root.Size = root.Size * 2 | |
142 | ---------------------------------------------------- | |
143 | newWeld(torso, larm, -1.5, 0.5, 0) | |
144 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
145 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
146 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
147 | newWeld(torso, hed, 0, 1.5, 0) | |
148 | newWeld(torso, lleg, -0.5, -1, 0) | |
149 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
150 | newWeld(torso, rleg, 0.5, -1, 0) | |
151 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
152 | newWeld(root, torso, 0, -1, 0) | |
153 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
154 | ---------------------------------------------------- | |
155 | - | game:service'InsertService':LoadAsset(23301681):children()[1].Parent=char |
155 | + | jjth=game:service'InsertService':LoadAsset(1073690):children()[1] |
156 | - | char["Moon Seeing Stars"].Handle.Mesh.Scale = char["Moon Seeing Stars"].Handle.Mesh.Scale * 3.2 |
156 | + | jjth.Parent=char |
157 | - | char["Moon Seeing Stars"].Handle.Mesh.VertexColor = Vector3.new(1,1,1) |
157 | + | jjth.Handle.Mesh.Scale = jjth.Handle.Mesh.Scale * 2.1 |
158 | - | hed.face.Texture = "rbxassetid://127498555" |
158 | + | jjth.Handle.Mesh.VertexColor = Vector3.new(1,1,1) |
159 | hed.face.Texture = "rbxassetid://152628549" | |
160 | z=Instance.new('Decal',hed) | |
161 | - | z.Texture='rbxassetid://36527091' |
161 | + | |
162 | - | hed.BrickColor = BrickColor.new("Really black") |
162 | + | z.Texture='rbxassetid://177667491' |
163 | hed.BrickColor = BrickColor.new("New Yeller") | |
164 | lite = Instance.new("PointLight", torso) | |
165 | lite.Brightness = 14 | |
166 | lite.Range = 10 | |
167 | lite.Color = Color3.new(1, 0, 0) | |
168 | --[[local hed2 = hed:Clone() | |
169 | hed2.CanCollide = false | |
170 | hed2.Parent = char | |
171 | hed2:ClearAllChildren() | |
172 | hed2.Transparency = 1 | |
173 | hed2.Name = "DARP" | |
174 | local w = Instance.new("Weld",hed2) | |
175 | w.Part0 = hed | |
176 | w.Part1 = hed2 | |
177 | w.C0 = CFrame.new(0,0,-0.175) | |
178 | z=Instance.new("SurfaceGui",hed2) | |
179 | z.Enabled = true | |
180 | z.Face = "Front" | |
181 | z.Adornee = hed2 | |
182 | z.CanvasSize = Vector2.new(100,100) | |
183 | local face = Instance.new("ImageLabel",z) | |
184 | face.Size = UDim2.new(1,-30,1,0) | |
185 | face.Position = UDim2.new(0,15,0,0) | |
186 | - | face.Image='rbxassetid://46282671']]-- |
186 | + | |
187 | face.Image='rbxassetid://177667491']]-- | |
188 | ---------------------------------------------------- | |
189 | ---------------------------------------------------- | |
190 | ||
191 | - | z.SoundId = "rbxassetid://289054567 "--242463565 |
191 | + | |
192 | z.SoundId = "rbxassetid://315292724 "--242463565 | |
193 | z.Looped = true | |
194 | z.Pitch = 1 | |
195 | z.Volume = 10 | |
196 | wait(.01) | |
197 | z:Play() | |
198 | ---------------------------------------------------- | |
199 | local m = Instance.new("Model") | |
200 | m.Name = "Absolution" | |
201 | p1 = Instance.new("Part", m) | |
202 | p1.BrickColor = BrickColor.new("Bright Orange") | |
203 | p1.FormFactor = Enum.FormFactor.Custom | |
204 | p1.Size = Vector3.new(1, 0.600000024, 1.5) | |
205 | 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) | |
206 | p1.CanCollide = false | |
207 | p1.Locked = true | |
208 | p1.Elasticity = 0 | |
209 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
210 | p1.TopSurface = Enum.SurfaceType.Smooth | |
211 | b1 = Instance.new("SpecialMesh", p1) | |
212 | b1.MeshType = Enum.MeshType.Wedge | |
213 | b1.Name = "Mesh" | |
214 | b1.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928) | |
215 | p2 = Instance.new("Part", m) | |
216 | p2.BrickColor = BrickColor.new("Really black") | |
217 | p2.FormFactor = Enum.FormFactor.Custom | |
218 | p2.Size = Vector3.new(1, 2.9000001, 1) | |
219 | 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) | |
220 | p2.CanCollide = false | |
221 | p2.Locked = true | |
222 | p2.Elasticity = 0 | |
223 | p2.BottomSurface = Enum.SurfaceType.Smooth | |
224 | p2.TopSurface = Enum.SurfaceType.Smooth | |
225 | b2 = Instance.new("BlockMesh", p2) | |
226 | b2.Name = "Mesh" | |
227 | b2.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
228 | p3 = Instance.new("Part", m) | |
229 | p3.BrickColor = BrickColor.new("Bright Orange") | |
230 | p3.FormFactor = Enum.FormFactor.Custom | |
231 | p3.Size = Vector3.new(1, 1.20000005, 2.0999999) | |
232 | 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) | |
233 | p3.CanCollide = false | |
234 | p3.Locked = true | |
235 | p3.Elasticity = 0 | |
236 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
237 | p3.TopSurface = Enum.SurfaceType.Smooth | |
238 | b3 = Instance.new("SpecialMesh", p3) | |
239 | b3.MeshType = Enum.MeshType.Wedge | |
240 | b3.Name = "Mesh" | |
241 | b3.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928) | |
242 | p4 = Instance.new("Part", m) | |
243 | p4.BrickColor = BrickColor.new("Bright Orange") | |
244 | p4.FormFactor = Enum.FormFactor.Custom | |
245 | p4.Size = Vector3.new(1, 1.43999994, 2.05000019) | |
246 | 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) | |
247 | p4.CanCollide = false | |
248 | p4.Locked = true | |
249 | p4.Elasticity = 0 | |
250 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
251 | p4.TopSurface = Enum.SurfaceType.Smooth | |
252 | b4 = Instance.new("SpecialMesh", p4) | |
253 | b4.MeshType = Enum.MeshType.Wedge | |
254 | b4.Name = "Mesh" | |
255 | b4.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988) | |
256 | p5 = Instance.new("Part", m) | |
257 | p5.BrickColor = BrickColor.new("Bright Orange") | |
258 | p5.FormFactor = Enum.FormFactor.Custom | |
259 | p5.Size = Vector3.new(1, 1.20000005, 3.20000005) | |
260 | 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) | |
261 | p5.CanCollide = false | |
262 | p5.Locked = true | |
263 | p5.Elasticity = 0 | |
264 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
265 | p5.TopSurface = Enum.SurfaceType.Smooth | |
266 | b5 = Instance.new("SpecialMesh", p5) | |
267 | b5.MeshType = Enum.MeshType.Wedge | |
268 | b5.Name = "Mesh" | |
269 | b5.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928) | |
270 | p6 = Instance.new("Part", m) | |
271 | p6.Name = "Handle" | |
272 | p6.BrickColor = BrickColor.new("Really black") | |
273 | p6.FormFactor = Enum.FormFactor.Custom | |
274 | p6.Size = Vector3.new(1.5999999, 13.6000004, 1) | |
275 | 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) | |
276 | p6.CanCollide = false | |
277 | p6.Locked = true | |
278 | p6.Elasticity = 0 | |
279 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
280 | p6.TopSurface = Enum.SurfaceType.Smooth | |
281 | b6 = Instance.new("BlockMesh", p6) | |
282 | b6.Name = "Mesh" | |
283 | b6.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
284 | p7 = Instance.new("Part", m) | |
285 | p7.BrickColor = BrickColor.new("Bright Orange") | |
286 | p7.FormFactor = Enum.FormFactor.Custom | |
287 | p7.Size = Vector3.new(1, 1.00999999, 1.05000019) | |
288 | 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) | |
289 | p7.CanCollide = false | |
290 | p7.Locked = true | |
291 | p7.Elasticity = 0 | |
292 | p7.BottomSurface = Enum.SurfaceType.Smooth | |
293 | p7.TopSurface = Enum.SurfaceType.Smooth | |
294 | b7 = Instance.new("SpecialMesh", p7) | |
295 | b7.MeshType = Enum.MeshType.Wedge | |
296 | b7.Name = "Mesh" | |
297 | b7.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988) | |
298 | p8 = Instance.new("Part", m) | |
299 | p8.BrickColor = BrickColor.new("Bright Orange") | |
300 | p8.FormFactor = Enum.FormFactor.Custom | |
301 | p8.Size = Vector3.new(1, 1.00999999, 1.05000019) | |
302 | p8.CFrame = CFrame.new(67.5074387, 8.51285458, 76.8714371, 0.999972522, -2.76626724e-005, -6.72184387e-006, -4.73474684e-005, -0.91489917, -0.403581113, 2.14323354e-005, 0.403602153, -0.914867699) | |
303 | p8.CanCollide = false | |
304 | p8.Locked = true | |
305 | p8.Elasticity = 0 | |
306 | p8.BottomSurface = Enum.SurfaceType.Smooth | |
307 | p8.TopSurface = Enum.SurfaceType.Smooth | |
308 | b8 = Instance.new("SpecialMesh", p8) | |
309 | b8.MeshType = Enum.MeshType.Wedge | |
310 | b8.Name = "Mesh" | |
311 | b8.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988) | |
312 | p9 = Instance.new("Part", m) | |
313 | p9.BrickColor = BrickColor.new("Really black") | |
314 | p9.FormFactor = Enum.FormFactor.Custom | |
315 | p9.Size = Vector3.new(1, 1.07999957, 1) | |
316 | p9.CFrame = CFrame.new(67.5095749, 7.1092, 74.5051422, -2.60536999e-005, -5.21559741e-006, 0.999972522, 0.35323599, -0.935490847, -1.50012565e-005, 0.935460567, 0.353258699, 4.2632455e-005) | |
317 | p9.CanCollide = false | |
318 | p9.Locked = true | |
319 | p9.Elasticity = 0 | |
320 | p9.BottomSurface = Enum.SurfaceType.Smooth | |
321 | p9.TopSurface = Enum.SurfaceType.Smooth | |
322 | b9 = Instance.new("BlockMesh", p9) | |
323 | b9.Name = "Mesh" | |
324 | b9.Scale = Vector3.new(0.550000012, 1, 0.550000012) | |
325 | p10 = Instance.new("Part", m) | |
326 | p10.BrickColor = BrickColor.new("Really black") | |
327 | p10.FormFactor = Enum.FormFactor.Custom | |
328 | p10.Size = Vector3.new(1, 1.41999948, 1) | |
329 | p10.CFrame = CFrame.new(67.489624, 8.67401791, 72.7929764, -9.47785156e-006, -9.42233055e-006, 0.999972522, 0.292371064, 0.956263304, -7.54374832e-006, -0.956253231, 0.292334616, 1.01081387e-005) | |
330 | p10.CanCollide = false | |
331 | p10.Locked = true | |
332 | p10.Elasticity = 0 | |
333 | p10.BottomSurface = Enum.SurfaceType.Smooth | |
334 | p10.TopSurface = Enum.SurfaceType.Smooth | |
335 | b10 = Instance.new("BlockMesh", p10) | |
336 | b10.Name = "Mesh" | |
337 | b10.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
338 | p11 = Instance.new("Part", m) | |
339 | p11.BrickColor = BrickColor.new("Really black") | |
340 | p11.FormFactor = Enum.FormFactor.Custom | |
341 | p11.Size = Vector3.new(1, 1.50999951, 1) | |
342 | p11.CFrame = CFrame.new(67.509552, 7.11887455, 70.3475952, -1.87569385e-005, 1.80455972e-005, 0.999972522, -0.36222899, -0.932047009, -9.30004444e-006, 0.932039678, -0.362191886, 4.04359016e-005) | |
343 | p11.CanCollide = false | |
344 | p11.Locked = true | |
345 | p11.Elasticity = 0 | |
346 | p11.BottomSurface = Enum.SurfaceType.Smooth | |
347 | p11.TopSurface = Enum.SurfaceType.Smooth | |
348 | b11 = Instance.new("BlockMesh", p11) | |
349 | b11.Name = "Mesh" | |
350 | b11.Scale = Vector3.new(0.550000012, 1, 0.550000012) | |
351 | p12 = Instance.new("Part", m) | |
352 | p12.Name = "BladeCenter" | |
353 | p12.BrickColor = BrickColor.new("Dark stone grey") | |
354 | p12.Material = Enum.Material.Concrete | |
355 | p12.FormFactor = Enum.FormFactor.Symmetric | |
356 | p12.Size = Vector3.new(1, 2, 2) | |
357 | p12.CFrame = CFrame.new(67.4995346, 6.83217764, 72.2514038, -0.999972522, 2.42275873e-005, 0.000103325896, -8.39982677e-005, 4.44650614e-005, -0.999960959, -4.06451727e-005, -0.999940753, -1.25430051e-005) | |
358 | p12.CanCollide = false | |
359 | p12.Locked = true | |
360 | p12.BottomSurface = Enum.SurfaceType.Smooth | |
361 | p12.TopSurface = Enum.SurfaceType.Smooth | |
362 | b12 = Instance.new("SpecialMesh", p12) | |
363 | b12.MeshType = Enum.MeshType.Brick | |
364 | b12.Name = "Mesh" | |
365 | b12.Scale = Vector3.new(0.499999911, 1, 0.699999928) | |
366 | p13 = Instance.new("Part", m) | |
367 | p13.BrickColor = BrickColor.new("Really black") | |
368 | p13.FormFactor = Enum.FormFactor.Custom | |
369 | p13.Size = Vector3.new(2.91000009, 4.3300004, 1) | |
370 | p13.CFrame = CFrame.new(67.5096359, 9.31026554, 73.9751816, 7.60371313e-006, 1.0943455e-005, 0.999972522, -0.119072244, -0.99284631, -7.55448127e-006, 0.992830038, -0.119038157, 1.01703836e-005) | |
371 | p13.CanCollide = false | |
372 | p13.Locked = true | |
373 | p13.Elasticity = 0 | |
374 | p13.BottomSurface = Enum.SurfaceType.Smooth | |
375 | p13.TopSurface = Enum.SurfaceType.Smooth | |
376 | b13 = Instance.new("BlockMesh", p13) | |
377 | b13.Name = "Mesh" | |
378 | b13.Scale = Vector3.new(1, 1, 0.400000006) | |
379 | p14 = Instance.new("Part", m) | |
380 | p14.BrickColor = BrickColor.new("Really black") | |
381 | p14.FormFactor = Enum.FormFactor.Custom | |
382 | p14.Size = Vector3.new(2.5, 2.17999935, 1) | |
383 | p14.CFrame = CFrame.new(67.4896011, 10.1621294, 72.6420059, -1.55498967e-007, -1.33476442e-005, 0.999972522, -0.462319613, 0.886669755, -7.56198779e-006, -0.886637092, -0.462338567, 1.01078904e-005) | |
384 | p14.CanCollide = false | |
385 | p14.Locked = true | |
386 | p14.Elasticity = 0 | |
387 | p14.BottomSurface = Enum.SurfaceType.Smooth | |
388 | p14.TopSurface = Enum.SurfaceType.Smooth | |
389 | b14 = Instance.new("BlockMesh", p14) | |
390 | b14.Name = "Mesh" | |
391 | b14.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
392 | p15 = Instance.new("Part", m) | |
393 | p15.BrickColor = BrickColor.new("Really black") | |
394 | p15.FormFactor = Enum.FormFactor.Custom | |
395 | p15.Size = Vector3.new(1.16999996, 4.2699995, 1) | |
396 | p15.CFrame = CFrame.new(67.5095901, 9.35303593, 70.6884613, -1.24399676e-005, -4.94209144e-006, 0.999972522, 0.645082474, 0.764063478, -7.52419282e-006, -0.764068604, 0.645045042, 1.0099785e-005) | |
397 | p15.CanCollide = false | |
398 | p15.Locked = true | |
399 | p15.Elasticity = 0 | |
400 | p15.BottomSurface = Enum.SurfaceType.Smooth | |
401 | p15.TopSurface = Enum.SurfaceType.Smooth | |
402 | b15 = Instance.new("BlockMesh", p15) | |
403 | b15.Name = "Mesh" | |
404 | b15.Scale = Vector3.new(1, 1, 0.400000006) | |
405 | p16 = Instance.new("Part", m) | |
406 | p16.BrickColor = BrickColor.new("Really black") | |
407 | p16.FormFactor = Enum.FormFactor.Custom | |
408 | p16.Size = Vector3.new(1.68999994, 4.76000023, 1) | |
409 | p16.CFrame = CFrame.new(67.4996033, 9.63990211, 75.3800278, 2.98175655e-006, 1.30014914e-005, 0.999972522, 0.258795738, -0.965893507, -7.53869244e-006, 0.965865672, 0.258821338, 1.01718706e-005) | |
410 | p16.CanCollide = false | |
411 | p16.Locked = true | |
412 | p16.Elasticity = 0 | |
413 | p16.BottomSurface = Enum.SurfaceType.Smooth | |
414 | p16.TopSurface = Enum.SurfaceType.Smooth | |
415 | b16 = Instance.new("BlockMesh", p16) | |
416 | b16.Name = "Mesh" | |
417 | b16.Scale = Vector3.new(1, 1, 0.400000006) | |
418 | p17 = Instance.new("Part", m) | |
419 | p17.BrickColor = BrickColor.new("Really black") | |
420 | p17.FormFactor = Enum.FormFactor.Custom | |
421 | p17.Size = Vector3.new(1.78999996, 4.21999979, 1) | |
422 | p17.CFrame = CFrame.new(67.499588, 9.28996372, 69.8789978, -9.50601952e-006, -9.41252802e-006, 0.999972522, 0.293352425, 0.955965877, -7.53842551e-006, -0.955955863, 0.293315947, 1.00904235e-005) | |
423 | p17.CanCollide = false | |
424 | p17.Locked = true | |
425 | p17.Elasticity = 0 | |
426 | p17.BottomSurface = Enum.SurfaceType.Smooth | |
427 | p17.TopSurface = Enum.SurfaceType.Smooth | |
428 | b17 = Instance.new("BlockMesh", p17) | |
429 | b17.Name = "Mesh" | |
430 | b17.Scale = Vector3.new(1, 1, 0.400000006) | |
431 | p18 = Instance.new("WedgePart", m) | |
432 | p18.BrickColor = BrickColor.new("Dark stone grey") | |
433 | p18.Name = "BladePart1" | |
434 | p18.Material = Enum.Material.Concrete | |
435 | p18.Name = "Wedge" | |
436 | p18.FormFactor = Enum.FormFactor.Symmetric | |
437 | p18.Size = Vector3.new(1, 4, 2) | |
438 | p18.CFrame = CFrame.new(67.499321, 6.83199787, 69.4816895, 0.999972522, -3.68033288e-005, -4.22928351e-005, 2.29664256e-005, -1.65102574e-005, 0.999963701, -2.03872096e-005, -0.999943435, -4.84290831e-005) | |
439 | p18.CanCollide = false | |
440 | p18.Locked = true | |
441 | p18.BottomSurface = Enum.SurfaceType.Smooth | |
442 | p18.TopSurface = Enum.SurfaceType.Smooth | |
443 | b18 = Instance.new("SpecialMesh", p18) | |
444 | b18.MeshType = Enum.MeshType.Wedge | |
445 | b18.Name = "Mesh" | |
446 | b18.Scale = Vector3.new(0.499999911, 0.899999976, 0.699999928) | |
447 | p19 = Instance.new("WedgePart", m) | |
448 | p19.BrickColor = BrickColor.new("Dark stone grey") | |
449 | p19.Name = "BladePart2" | |
450 | p19.Material = Enum.Material.Concrete | |
451 | p19.Name = "Wedge" | |
452 | p19.FormFactor = Enum.FormFactor.Symmetric | |
453 | p19.Size = Vector3.new(1, 4, 2) | |
454 | p19.CFrame = CFrame.new(67.4994736, 6.83213568, 75.0314102, -0.999972522, 3.68059118e-005, -0.000103325001, -8.40002976e-005, -4.4521752e-005, 0.999963701, 2.03864402e-005, 0.999943435, 1.26029336e-005) | |
455 | p19.CanCollide = false | |
456 | p19.Locked = true | |
457 | p19.BottomSurface = Enum.SurfaceType.Smooth | |
458 | p19.TopSurface = Enum.SurfaceType.Smooth | |
459 | b19 = Instance.new("SpecialMesh", p19) | |
460 | b19.MeshType = Enum.MeshType.Wedge | |
461 | b19.Name = "Mesh" | |
462 | b19.Scale = Vector3.new(0.499999911, 0.899999976, 0.699999928) | |
463 | p20 = Instance.new("Part", m) | |
464 | p20.BrickColor = BrickColor.new("Really black") | |
465 | p20.FormFactor = Enum.FormFactor.Custom | |
466 | p20.Size = Vector3.new(2.53000021, 2.39999938, 1) | |
467 | p20.CFrame = CFrame.new(67.4996414, 7.91898966, 71.4148178, -1.09432585e-005, 7.6432425e-006, 0.999972522, 0.992849231, -0.119072601, -7.55000656e-006, 0.119038492, 0.992832959, 1.01311334e-005) | |
468 | p20.CanCollide = false | |
469 | p20.Locked = true | |
470 | p20.Elasticity = 0 | |
471 | p20.BottomSurface = Enum.SurfaceType.Smooth | |
472 | p20.TopSurface = Enum.SurfaceType.Smooth | |
473 | b20 = Instance.new("BlockMesh", p20) | |
474 | b20.Name = "Mesh" | |
475 | b20.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
476 | p21 = Instance.new("Part", m) | |
477 | p21.BrickColor = BrickColor.new("Bright Orange") | |
478 | p21.FormFactor = Enum.FormFactor.Custom | |
479 | p21.Size = Vector3.new(1, 1.43999994, 1.59000015) | |
480 | 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) | |
481 | p21.CanCollide = false | |
482 | p21.Locked = true | |
483 | p21.Elasticity = 0 | |
484 | p21.BottomSurface = Enum.SurfaceType.Smooth | |
485 | p21.TopSurface = Enum.SurfaceType.Smooth | |
486 | b21 = Instance.new("SpecialMesh", p21) | |
487 | b21.MeshType = Enum.MeshType.Wedge | |
488 | b21.Name = "Mesh" | |
489 | b21.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988) | |
490 | w1 = Instance.new("Weld", p1) | |
491 | w1.Name = "Part_Weld" | |
492 | w1.Part0 = p1 | |
493 | 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) | |
494 | w1.Part1 = p2 | |
495 | 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) | |
496 | w2 = Instance.new("Weld", p2) | |
497 | w2.Name = "Part_Weld" | |
498 | w2.Part0 = p2 | |
499 | 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) | |
500 | w2.Part1 = p3 | |
501 | 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) | |
502 | w3 = Instance.new("Weld", p3) | |
503 | w3.Name = "Part_Weld" | |
504 | w3.Part0 = p3 | |
505 | 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) | |
506 | w3.Part1 = p4 | |
507 | 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) | |
508 | w4 = Instance.new("Weld", p4) | |
509 | w4.Name = "Part_Weld" | |
510 | w4.Part0 = p4 | |
511 | 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) | |
512 | w4.Part1 = p5 | |
513 | 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) | |
514 | w5 = Instance.new("Weld", p5) | |
515 | w5.Name = "Part_Weld" | |
516 | w5.Part0 = p5 | |
517 | 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) | |
518 | w5.Part1 = p6 | |
519 | 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) | |
520 | w6 = Instance.new("Weld", p6) | |
521 | w6.Name = "Part_Weld" | |
522 | w6.Part0 = p6 | |
523 | 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) | |
524 | w6.Part1 = p7 | |
525 | 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) | |
526 | w7 = Instance.new("Weld", p7) | |
527 | w7.Name = "Part_Weld" | |
528 | w7.Part0 = p7 | |
529 | 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) | |
530 | w7.Part1 = p8 | |
531 | 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) | |
532 | w8 = Instance.new("Weld", p8) | |
533 | w8.Name = "Part_Weld" | |
534 | w8.Part0 = p8 | |
535 | 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) | |
536 | w8.Part1 = p9 | |
537 | 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) | |
538 | w9 = Instance.new("Weld", p9) | |
539 | w9.Name = "Part_Weld" | |
540 | w9.Part0 = p9 | |
541 | 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) | |
542 | w9.Part1 = p10 | |
543 | 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) | |
544 | w10 = Instance.new("Weld", p10) | |
545 | w10.Name = "Part_Weld" | |
546 | w10.Part0 = p10 | |
547 | 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) | |
548 | w10.Part1 = p11 | |
549 | 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) | |
550 | w11 = Instance.new("Weld", p11) | |
551 | w11.Name = "Part_Weld" | |
552 | w11.Part0 = p11 | |
553 | 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) | |
554 | w11.Part1 = p12 | |
555 | 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) | |
556 | w12 = Instance.new("Weld", p12) | |
557 | w12.Name = "Part_Weld" | |
558 | w12.Part0 = p12 | |
559 | 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) | |
560 | w12.Part1 = p13 | |
561 | 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) | |
562 | w13 = Instance.new("Weld", p13) | |
563 | w13.Name = "Part_Weld" | |
564 | w13.Part0 = p13 | |
565 | 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) | |
566 | w13.Part1 = p14 | |
567 | 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) | |
568 | w14 = Instance.new("Weld", p14) | |
569 | w14.Name = "Part_Weld" | |
570 | w14.Part0 = p14 | |
571 | 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) | |
572 | w14.Part1 = p15 | |
573 | 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) | |
574 | w15 = Instance.new("Weld", p15) | |
575 | w15.Name = "Part_Weld" | |
576 | w15.Part0 = p15 | |
577 | 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) | |
578 | w15.Part1 = p16 | |
579 | 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) | |
580 | w16 = Instance.new("Weld", p16) | |
581 | w16.Name = "Part_Weld" | |
582 | w16.Part0 = p16 | |
583 | 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) | |
584 | w16.Part1 = p17 | |
585 | 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) | |
586 | w17 = Instance.new("Weld", p17) | |
587 | w17.Name = "Wedge_Weld" | |
588 | w17.Part0 = p17 | |
589 | 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) | |
590 | w17.Part1 = p18 | |
591 | 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) | |
592 | w18 = Instance.new("Weld", p18) | |
593 | w18.Name = "Wedge_Weld" | |
594 | w18.Part0 = p18 | |
595 | 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) | |
596 | w18.Part1 = p19 | |
597 | 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) | |
598 | w19 = Instance.new("Weld", p19) | |
599 | w19.Name = "Part_Weld" | |
600 | w19.Part0 = p19 | |
601 | 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) | |
602 | w19.Part1 = p20 | |
603 | 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) | |
604 | w20 = Instance.new("Weld", p20) | |
605 | w20.Name = "Part_Weld" | |
606 | w20.Part0 = p20 | |
607 | 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) | |
608 | w20.Part1 = p21 | |
609 | 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) | |
610 | m.Parent = char | |
611 | m:MakeJoints() | |
612 | ---------------------------------------------------- | |
613 | local cor = Instance.new("Part", char.Absolution) | |
614 | cor.Name = "Thingy" | |
615 | cor.Locked = true | |
616 | cor.BottomSurface = 0 | |
617 | cor.CanCollide = false | |
618 | cor.Size = Vector3.new(1, 13, 1) | |
619 | cor.Transparency = 1 | |
620 | cor.TopSurface = 0 | |
621 | corw = Instance.new("Weld", cor) | |
622 | corw.Part0 = rarm | |
623 | corw.Part1 = cor | |
624 | corw.C0 = CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
625 | corw.C1 = CFrame.new(0, 0, 0) | |
626 | weld1 = Instance.new("Weld", char.Absolution) | |
627 | weld1.Part0 = cor | |
628 | weld1.Part1 = p6 | |
629 | weld1.C0 = CFrame.new(0, 0, 0) | |
630 | ---------------------------------------------------- | |
631 | hitb = Instance.new("Part", char.Absolution) | |
632 | hitb.Name = "Thingy2" | |
633 | hitb.Locked = true | |
634 | hitb.BottomSurface = 0 | |
635 | hitb.CanCollide = false | |
636 | hitb.Size = Vector3.new(0, 8, 6) | |
637 | hitb.Transparency = 1 | |
638 | hitb.TopSurface = 0 | |
639 | weld2 = Instance.new("Weld", char.Absolution) | |
640 | weld2.Part0 = hitb | |
641 | weld2.Part1 = p12 | |
642 | weld2.C0 = CFrame.new(0, .6, 1) | |
643 | ---------------------------------------------------- | |
644 | local m = Instance.new("Model") | |
645 | m.Name = "Claw" | |
646 | p1 = Instance.new("Part", m) | |
647 | p1.BrickColor = BrickColor.new("Really black") | |
648 | p1.FormFactor = Enum.FormFactor.Custom | |
649 | p1.Size = Vector3.new(1.5, 0.5, 0.5) | |
650 | 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) | |
651 | p1.CanCollide = false | |
652 | p1.Locked = true | |
653 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
654 | p1.TopSurface = Enum.SurfaceType.Smooth | |
655 | b1 = Instance.new("BlockMesh", p1) | |
656 | b1.Name = "Mesh" | |
657 | p2 = Instance.new("WedgePart", m) | |
658 | p2.BrickColor = BrickColor.new("Really black") | |
659 | p2.Name = "Wedge" | |
660 | p2.FormFactor = Enum.FormFactor.Custom | |
661 | p2.Size = Vector3.new(3, 1, 0.5) | |
662 | 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) | |
663 | p2.CanCollide = false | |
664 | p2.Locked = true | |
665 | p2.BottomSurface = Enum.SurfaceType.Smooth | |
666 | p2.TopSurface = Enum.SurfaceType.Smooth | |
667 | p3 = Instance.new("Part", m) | |
668 | p3.BrickColor = BrickColor.new("Really black") | |
669 | p3.FormFactor = Enum.FormFactor.Custom | |
670 | p3.Size = Vector3.new(1.5, 0.5, 0.5) | |
671 | 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) | |
672 | p3.CanCollide = false | |
673 | p3.Locked = true | |
674 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
675 | p3.TopSurface = Enum.SurfaceType.Smooth | |
676 | b2 = Instance.new("BlockMesh", p3) | |
677 | b2.Name = "Mesh" | |
678 | p4 = Instance.new("WedgePart", m) | |
679 | p4.BrickColor = BrickColor.new("Really black") | |
680 | p4.Name = "Wedge" | |
681 | p4.FormFactor = Enum.FormFactor.Custom | |
682 | p4.Size = Vector3.new(3, 1, 0.5) | |
683 | 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) | |
684 | p4.CanCollide = false | |
685 | p4.Locked = true | |
686 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
687 | p4.TopSurface = Enum.SurfaceType.Smooth | |
688 | p5 = Instance.new("Part", m) | |
689 | p5.BrickColor = BrickColor.new("Really black") | |
690 | p5.FormFactor = Enum.FormFactor.Custom | |
691 | p5.Size = Vector3.new(1.5, 0.5, 0.5) | |
692 | 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) | |
693 | p5.CanCollide = false | |
694 | p5.Locked = true | |
695 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
696 | p5.TopSurface = Enum.SurfaceType.Smooth | |
697 | b3 = Instance.new("BlockMesh", p5) | |
698 | b3.Name = "Mesh" | |
699 | p6 = Instance.new("Part", m) | |
700 | p6.BrickColor = BrickColor.new("Really black") | |
701 | p6.FormFactor = Enum.FormFactor.Custom | |
702 | p6.Size = Vector3.new(1.5, 0.5, 0.5) | |
703 | 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) | |
704 | p6.CanCollide = false | |
705 | p6.Locked = true | |
706 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
707 | p6.TopSurface = Enum.SurfaceType.Smooth | |
708 | b4 = Instance.new("BlockMesh", p6) | |
709 | b4.Name = "Mesh" | |
710 | p7 = Instance.new("Part", m) | |
711 | p7.BrickColor = BrickColor.new("Really black") | |
712 | p7.FormFactor = Enum.FormFactor.Custom | |
713 | p7.Size = Vector3.new(3, 1, 1.20000005) | |
714 | 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) | |
715 | p7.CanCollide = false | |
716 | p7.Locked = true | |
717 | p7.BottomSurface = Enum.SurfaceType.Smooth | |
718 | p7.TopSurface = Enum.SurfaceType.Smooth | |
719 | b5 = Instance.new("BlockMesh", p7) | |
720 | b5.Name = "Mesh" | |
721 | p8 = Instance.new("Part", m) | |
722 | p8.BrickColor = BrickColor.new("Bright Orange") | |
723 | p8.FormFactor = Enum.FormFactor.Symmetric | |
724 | p8.Size = Vector3.new(1, 1, 1) | |
725 | 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) | |
726 | p8.CanCollide = false | |
727 | p8.Locked = true | |
728 | b6 = Instance.new("SpecialMesh", p8) | |
729 | b6.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
730 | b6.TextureId = "" | |
731 | b6.MeshType = Enum.MeshType.FileMesh | |
732 | b6.Name = "Mesh" | |
733 | b6.Scale = Vector3.new(1.20000005, 0.449999988, 0.449999988) | |
734 | p9 = Instance.new("Part", m) | |
735 | p9.BrickColor = BrickColor.new("Really black") | |
736 | p9.FormFactor = Enum.FormFactor.Custom | |
737 | p9.Size = Vector3.new(1.5, 0.5, 0.5) | |
738 | 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) | |
739 | p9.CanCollide = false | |
740 | p9.Locked = true | |
741 | p9.BottomSurface = Enum.SurfaceType.Smooth | |
742 | p9.TopSurface = Enum.SurfaceType.Smooth | |
743 | b7 = Instance.new("BlockMesh", p9) | |
744 | b7.Name = "Mesh" | |
745 | p10 = Instance.new("Part", m) | |
746 | p10.BrickColor = BrickColor.new("Bright Orange") | |
747 | p10.FormFactor = Enum.FormFactor.Symmetric | |
748 | p10.Size = Vector3.new(1, 1, 1) | |
749 | 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) | |
750 | p10.CanCollide = false | |
751 | p10.Locked = true | |
752 | b8 = Instance.new("SpecialMesh", p10) | |
753 | b8.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
754 | b8.TextureId = "" | |
755 | b8.MeshType = Enum.MeshType.FileMesh | |
756 | b8.Name = "Mesh" | |
757 | b8.Scale = Vector3.new(1.20000005, 0.449999988, 0.449999988) | |
758 | p11 = Instance.new("Part", m) | |
759 | p11.BrickColor = BrickColor.new("Really black") | |
760 | p11.FormFactor = Enum.FormFactor.Custom | |
761 | p11.Size = Vector3.new(1.5, 0.5, 0.5) | |
762 | 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) | |
763 | p11.CanCollide = false | |
764 | p11.Locked = true | |
765 | p11.BottomSurface = Enum.SurfaceType.Smooth | |
766 | p11.TopSurface = Enum.SurfaceType.Smooth | |
767 | b9 = Instance.new("BlockMesh", p11) | |
768 | b9.Name = "Mesh" | |
769 | p12 = Instance.new("Part", m) | |
770 | p12.BrickColor = BrickColor.new("Really black") | |
771 | p12.FormFactor = Enum.FormFactor.Custom | |
772 | p12.Size = Vector3.new(1.5, 0.5, 0.5) | |
773 | 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) | |
774 | p12.CanCollide = false | |
775 | p12.Locked = true | |
776 | p12.BottomSurface = Enum.SurfaceType.Smooth | |
777 | p12.TopSurface = Enum.SurfaceType.Smooth | |
778 | b10 = Instance.new("BlockMesh", p12) | |
779 | b10.Name = "Mesh" | |
780 | p13 = Instance.new("Part", m) | |
781 | p13.BrickColor = BrickColor.new("Really black") | |
782 | p13.FormFactor = Enum.FormFactor.Custom | |
783 | p13.Size = Vector3.new(1.5, 0.5, 0.5) | |
784 | 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) | |
785 | p13.CanCollide = false | |
786 | p13.Locked = true | |
787 | p13.BottomSurface = Enum.SurfaceType.Smooth | |
788 | p13.TopSurface = Enum.SurfaceType.Smooth | |
789 | b11 = Instance.new("BlockMesh", p13) | |
790 | b11.Name = "Mesh" | |
791 | p14 = Instance.new("Part", m) | |
792 | p14.BrickColor = BrickColor.new("Bright Orange") | |
793 | p14.FormFactor = Enum.FormFactor.Symmetric | |
794 | p14.Size = Vector3.new(1, 1, 1) | |
795 | 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) | |
796 | p14.CanCollide = false | |
797 | p14.Locked = true | |
798 | b12 = Instance.new("SpecialMesh", p14) | |
799 | b12.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
800 | b12.TextureId = "" | |
801 | b12.MeshType = Enum.MeshType.FileMesh | |
802 | b12.Name = "Mesh" | |
803 | b12.Scale = Vector3.new(1.20000005, 0.449999988, 0.449999988) | |
804 | p15 = Instance.new("Part", m) | |
805 | p15.BrickColor = BrickColor.new("Medium stone grey") | |
806 | p15.Transparency = 1 | |
807 | p15.Name = "ArmPart" | |
808 | p15.FormFactor = Enum.FormFactor.Custom | |
809 | p15.Size = Vector3.new(2, 1, 1) | |
810 | 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) | |
811 | p15.CanCollide = false | |
812 | p15.Locked = true | |
813 | p15.BottomSurface = Enum.SurfaceType.Smooth | |
814 | p15.TopSurface = Enum.SurfaceType.Smooth | |
815 | b13 = Instance.new("BlockMesh", p15) | |
816 | b13.Name = "Mesh" | |
817 | p16 = Instance.new("Part", m) | |
818 | p16.BrickColor = BrickColor.new("Really black") | |
819 | p16.FormFactor = Enum.FormFactor.Custom | |
820 | p16.Size = Vector3.new(3, 1, 2.4000001) | |
821 | 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) | |
822 | p16.CanCollide = false | |
823 | p16.Locked = true | |
824 | p16.BottomSurface = Enum.SurfaceType.Smooth | |
825 | p16.TopSurface = Enum.SurfaceType.Smooth | |
826 | b14 = Instance.new("BlockMesh", p16) | |
827 | b14.Name = "Mesh" | |
828 | p17 = Instance.new("Part", m) | |
829 | p17.BrickColor = BrickColor.new("Really black") | |
830 | p17.FormFactor = Enum.FormFactor.Custom | |
831 | p17.Size = Vector3.new(1.5, 0.5, 0.5) | |
832 | 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) | |
833 | p17.CanCollide = false | |
834 | p17.Locked = true | |
835 | p17.BottomSurface = Enum.SurfaceType.Smooth | |
836 | p17.TopSurface = Enum.SurfaceType.Smooth | |
837 | b15 = Instance.new("BlockMesh", p17) | |
838 | b15.Name = "Mesh" | |
839 | p18 = Instance.new("Part", m) | |
840 | p18.BrickColor = BrickColor.new("Bright Orange") | |
841 | p18.FormFactor = Enum.FormFactor.Symmetric | |
842 | p18.Size = Vector3.new(1, 1, 1) | |
843 | 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) | |
844 | p18.CanCollide = false | |
845 | p18.Locked = true | |
846 | b16 = Instance.new("SpecialMesh", p18) | |
847 | b16.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
848 | b16.TextureId = "" | |
849 | b16.MeshType = Enum.MeshType.FileMesh | |
850 | b16.Name = "Mesh" | |
851 | b16.Scale = Vector3.new(1.20000005, 0.449999988, 0.449999988) | |
852 | p19 = Instance.new("Part", m) | |
853 | p19.BrickColor = BrickColor.new("Bright Orange") | |
854 | p19.FormFactor = Enum.FormFactor.Symmetric | |
855 | p19.Size = Vector3.new(1, 1, 1) | |
856 | 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) | |
857 | p19.CanCollide = false | |
858 | p19.Locked = true | |
859 | b17 = Instance.new("SpecialMesh", p19) | |
860 | b17.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
861 | b17.TextureId = "" | |
862 | b17.MeshType = Enum.MeshType.FileMesh | |
863 | b17.Name = "Mesh" | |
864 | b17.Scale = Vector3.new(1.20000005, 0.449999988, 0.449999988) | |
865 | p20 = Instance.new("Part", m) | |
866 | p20.BrickColor = BrickColor.new("Really black") | |
867 | p20.FormFactor = Enum.FormFactor.Custom | |
868 | p20.Size = Vector3.new(3, 1, 2.4000001) | |
869 | 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) | |
870 | p20.CanCollide = false | |
871 | p20.Locked = true | |
872 | p20.BottomSurface = Enum.SurfaceType.Smooth | |
873 | p20.TopSurface = Enum.SurfaceType.Smooth | |
874 | b18 = Instance.new("BlockMesh", p20) | |
875 | b18.Name = "Mesh" | |
876 | p21 = Instance.new("Part", m) | |
877 | p21.BrickColor = BrickColor.new("Really black") | |
878 | p21.FormFactor = Enum.FormFactor.Custom | |
879 | p21.Size = Vector3.new(3, 1, 1.19999993) | |
880 | 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) | |
881 | p21.CanCollide = false | |
882 | p21.Locked = true | |
883 | p21.BottomSurface = Enum.SurfaceType.Smooth | |
884 | p21.TopSurface = Enum.SurfaceType.Smooth | |
885 | b19 = Instance.new("BlockMesh", p21) | |
886 | b19.Name = "Mesh" | |
887 | p22 = Instance.new("WedgePart", m) | |
888 | p22.BrickColor = BrickColor.new("Really black") | |
889 | p22.Name = "Wedge" | |
890 | p22.FormFactor = Enum.FormFactor.Custom | |
891 | p22.Size = Vector3.new(3, 1, 0.5) | |
892 | 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) | |
893 | p22.CanCollide = false | |
894 | p22.Locked = true | |
895 | p22.BottomSurface = Enum.SurfaceType.Smooth | |
896 | p22.TopSurface = Enum.SurfaceType.Smooth | |
897 | p23 = Instance.new("Part", m) | |
898 | p23.BrickColor = BrickColor.new("Really black") | |
899 | p23.FormFactor = Enum.FormFactor.Custom | |
900 | p23.Size = Vector3.new(1.5, 0.5, 0.5) | |
901 | 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) | |
902 | p23.CanCollide = false | |
903 | p23.Locked = true | |
904 | p23.BottomSurface = Enum.SurfaceType.Smooth | |
905 | p23.TopSurface = Enum.SurfaceType.Smooth | |
906 | b20 = Instance.new("BlockMesh", p23) | |
907 | b20.Name = "Mesh" | |
908 | p24 = Instance.new("WedgePart", m) | |
909 | p24.BrickColor = BrickColor.new("Really black") | |
910 | p24.Name = "Wedge" | |
911 | p24.FormFactor = Enum.FormFactor.Custom | |
912 | p24.Size = Vector3.new(3, 1, 0.5) | |
913 | 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) | |
914 | p24.CanCollide = false | |
915 | p24.Locked = true | |
916 | p24.BottomSurface = Enum.SurfaceType.Smooth | |
917 | p24.TopSurface = Enum.SurfaceType.Smooth | |
918 | p25 = Instance.new("Part", m) | |
919 | p25.BrickColor = BrickColor.new("Bright Orange") | |
920 | p25.FormFactor = Enum.FormFactor.Symmetric | |
921 | p25.Size = Vector3.new(1, 1, 1) | |
922 | 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) | |
923 | p25.CanCollide = false | |
924 | p25.Locked = true | |
925 | p25.BottomSurface = Enum.SurfaceType.Smooth | |
926 | p25.TopSurface = Enum.SurfaceType.Smooth | |
927 | b21 = Instance.new("SpecialMesh", p25) | |
928 | b21.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
929 | b21.TextureId = "" | |
930 | b21.MeshType = Enum.MeshType.FileMesh | |
931 | b21.Name = "Mesh" | |
932 | b21.Scale = Vector3.new(1.39999998, 1.39999998, 0.600000024) | |
933 | p26 = Instance.new("Part", m) | |
934 | p26.BrickColor = BrickColor.new("Really black") | |
935 | p26.FormFactor = Enum.FormFactor.Symmetric | |
936 | p26.Size = Vector3.new(1, 1, 1) | |
937 | 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) | |
938 | p26.CanCollide = false | |
939 | p26.Locked = true | |
940 | p26.BottomSurface = Enum.SurfaceType.Smooth | |
941 | p26.TopSurface = Enum.SurfaceType.Smooth | |
942 | b22 = Instance.new("SpecialMesh", p26) | |
943 | b22.MeshType = Enum.MeshType.Brick | |
944 | b22.Name = "Mesh" | |
945 | w1 = Instance.new("Weld", p1) | |
946 | w1.Name = "Wedge_Weld" | |
947 | w1.Part0 = p1 | |
948 | 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) | |
949 | w1.Part1 = p2 | |
950 | 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) | |
951 | w2 = Instance.new("Weld", p2) | |
952 | w2.Name = "Part_Weld" | |
953 | w2.Part0 = p2 | |
954 | 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) | |
955 | w2.Part1 = p3 | |
956 | 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) | |
957 | w3 = Instance.new("Weld", p3) | |
958 | w3.Name = "Wedge_Weld" | |
959 | w3.Part0 = p3 | |
960 | 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) | |
961 | w3.Part1 = p4 | |
962 | 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) | |
963 | w4 = Instance.new("Weld", p4) | |
964 | w4.Name = "Part_Weld" | |
965 | w4.Part0 = p4 | |
966 | 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) | |
967 | w4.Part1 = p5 | |
968 | 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) | |
969 | w5 = Instance.new("Weld", p5) | |
970 | w5.Name = "Part_Weld" | |
971 | w5.Part0 = p5 | |
972 | 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) | |
973 | w5.Part1 = p6 | |
974 | 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) | |
975 | w6 = Instance.new("Weld", p6) | |
976 | w6.Name = "Part_Weld" | |
977 | w6.Part0 = p6 | |
978 | 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) | |
979 | w6.Part1 = p7 | |
980 | 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) | |
981 | w7 = Instance.new("Weld", p7) | |
982 | w7.Name = "Part_Weld" | |
983 | w7.Part0 = p7 | |
984 | 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) | |
985 | w7.Part1 = p8 | |
986 | 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) | |
987 | w8 = Instance.new("Weld", p8) | |
988 | w8.Name = "Part_Weld" | |
989 | w8.Part0 = p8 | |
990 | 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) | |
991 | w8.Part1 = p9 | |
992 | 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) | |
993 | w9 = Instance.new("Weld", p9) | |
994 | w9.Name = "Part_Weld" | |
995 | w9.Part0 = p9 | |
996 | 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) | |
997 | w9.Part1 = p10 | |
998 | 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) | |
999 | w10 = Instance.new("Weld", p10) | |
1000 | w10.Name = "Part_Weld" | |
1001 | w10.Part0 = p10 | |
1002 | 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) | |
1003 | w10.Part1 = p11 | |
1004 | 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) | |
1005 | w11 = Instance.new("Weld", p11) | |
1006 | w11.Name = "Part_Weld" | |
1007 | w11.Part0 = p11 | |
1008 | 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) | |
1009 | w11.Part1 = p12 | |
1010 | 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) | |
1011 | w12 = Instance.new("Weld", p12) | |
1012 | w12.Name = "Part_Weld" | |
1013 | w12.Part0 = p12 | |
1014 | 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) | |
1015 | w12.Part1 = p13 | |
1016 | 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) | |
1017 | w13 = Instance.new("Weld", p13) | |
1018 | w13.Name = "Part_Weld" | |
1019 | w13.Part0 = p13 | |
1020 | 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) | |
1021 | w13.Part1 = p14 | |
1022 | 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) | |
1023 | w14 = Instance.new("Weld", p14) | |
1024 | w14.Name = "ArmPart_Weld" | |
1025 | w14.Part0 = p14 | |
1026 | 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) | |
1027 | w14.Part1 = p15 | |
1028 | 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) | |
1029 | w15 = Instance.new("Weld", p15) | |
1030 | w15.Name = "Part_Weld" | |
1031 | w15.Part0 = p15 | |
1032 | 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) | |
1033 | w15.Part1 = p16 | |
1034 | 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) | |
1035 | w16 = Instance.new("Weld", p16) | |
1036 | w16.Name = "Part_Weld" | |
1037 | w16.Part0 = p16 | |
1038 | 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) | |
1039 | w16.Part1 = p17 | |
1040 | 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) | |
1041 | w17 = Instance.new("Weld", p17) | |
1042 | w17.Name = "Part_Weld" | |
1043 | w17.Part0 = p17 | |
1044 | 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) | |
1045 | w17.Part1 = p18 | |
1046 | 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) | |
1047 | w18 = Instance.new("Weld", p18) | |
1048 | w18.Name = "Part_Weld" | |
1049 | w18.Part0 = p18 | |
1050 | 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) | |
1051 | w18.Part1 = p19 | |
1052 | 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) | |
1053 | w19 = Instance.new("Weld", p19) | |
1054 | w19.Name = "Part_Weld" | |
1055 | w19.Part0 = p19 | |
1056 | 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) | |
1057 | w19.Part1 = p20 | |
1058 | 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) | |
1059 | w20 = Instance.new("Weld", p20) | |
1060 | w20.Name = "Part_Weld" | |
1061 | w20.Part0 = p20 | |
1062 | 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) | |
1063 | w20.Part1 = p21 | |
1064 | 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) | |
1065 | w21 = Instance.new("Weld", p21) | |
1066 | w21.Name = "Wedge_Weld" | |
1067 | w21.Part0 = p21 | |
1068 | 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) | |
1069 | w21.Part1 = p22 | |
1070 | 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) | |
1071 | w22 = Instance.new("Weld", p22) | |
1072 | w22.Name = "Part_Weld" | |
1073 | w22.Part0 = p22 | |
1074 | 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) | |
1075 | w22.Part1 = p23 | |
1076 | 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) | |
1077 | w23 = Instance.new("Weld", p23) | |
1078 | w23.Name = "Wedge_Weld" | |
1079 | w23.Part0 = p23 | |
1080 | 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) | |
1081 | w23.Part1 = p24 | |
1082 | 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) | |
1083 | w24 = Instance.new("Weld", p24) | |
1084 | w24.Name = "Part_Weld" | |
1085 | w24.Part0 = p24 | |
1086 | 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) | |
1087 | w24.Part1 = p25 | |
1088 | 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) | |
1089 | w25 = Instance.new("Weld", p25) | |
1090 | w25.Name = "Part_Weld" | |
1091 | w25.Part0 = p25 | |
1092 | 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) | |
1093 | w25.Part1 = p26 | |
1094 | 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) | |
1095 | m.Parent = char | |
1096 | m:MakeJoints() | |
1097 | ---------------------------------------------------- | |
1098 | local cor2 = Instance.new("Part", char.Claw) | |
1099 | cor2.Name = "Thingy" | |
1100 | cor2.Locked = true | |
1101 | cor2.BottomSurface = 0 | |
1102 | cor2.CanCollide = false | |
1103 | cor2.Size = Vector3.new(2, 1, 1) | |
1104 | cor2.Transparency = 1 | |
1105 | cor2.TopSurface = 0 | |
1106 | corw2 = Instance.new("Weld", cor2) | |
1107 | corw2.Part0 = larm | |
1108 | corw2.Part1 = cor2 | |
1109 | corw2.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(90)) | |
1110 | corw2.C1 = CFrame.new(0, 0, 0) | |
1111 | weld2 = Instance.new("Weld", char.Claw) | |
1112 | weld2.Part0 = cor2 | |
1113 | weld2.Part1 = char.Claw.ArmPart | |
1114 | weld2.C0 = CFrame.new(0, 0, 0) | |
1115 | ---------------------------------------------------- | |
1116 | function weld5(part0, part1, c0, c1) | |
1117 | weeld=Instance.new("Weld", part0) | |
1118 | weeld.Part0=part0 | |
1119 | weeld.Part1=part1 | |
1120 | weeld.C0=c0 | |
1121 | weeld.C1=c1 | |
1122 | return weeld | |
1123 | end | |
1124 | ---------------------------------------------------- | |
1125 | - | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) |
1125 | + | |
1126 | - | hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat) |
1126 | + | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) |
1127 | - | return rey,hit,pos |
1127 | + | hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat) |
1128 | return rey,hit,pos | |
1129 | end | |
1130 | ---------------------------------------------------- | |
1131 | mod5 = Instance.new("Model",char) | |
1132 | ||
1133 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
1134 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
1135 | local List = {} | |
1136 | for i,v in pairs(workspace:GetChildren())do | |
1137 | if v:IsA("Model")then | |
1138 | if v:findFirstChild("Torso")then | |
1139 | if v ~= char then | |
1140 | if(v.Torso.Position -Position).magnitude <= Distance then | |
1141 | table.insert(List,v) | |
1142 | end | |
1143 | end | |
1144 | end | |
1145 | end | |
1146 | end | |
1147 | return List | |
1148 | end | |
1149 | ||
1150 | function Landing() | |
1151 | part=Instance.new('Part',mod5) | |
1152 | part.Anchored=true | |
1153 | part.CanCollide=false | |
1154 | part.FormFactor='Custom' | |
1155 | part.Size=Vector3.new(.2,.2,.2) | |
1156 | part.CFrame=root.CFrame*CFrame.new(0,-2,0) | |
1157 | part.Transparency=.7 | |
1158 | part.BrickColor=BrickColor.new('Really black') | |
1159 | mesh=Instance.new('SpecialMesh',part) | |
1160 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
1161 | mesh.Scale=Vector3.new(10,5,10) | |
1162 | ||
1163 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,40))do | |
1164 | if v:FindFirstChild('Humanoid') then | |
1165 | v.Humanoid:TakeDamage(math.random(20,30)) | |
1166 | v.Humanoid.PlatformStand = true | |
1167 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100 | |
1168 | end | |
1169 | end | |
1170 | ||
1171 | coroutine.resume(coroutine.create(function() | |
1172 | for i=0,3.8,0.05 do | |
1173 | wait() | |
1174 | part.CFrame=part.CFrame | |
1175 | part.Transparency=i | |
1176 | mesh.Scale=mesh.Scale+Vector3.new(1,0.2,1) | |
1177 | end | |
1178 | part.Parent = nil | |
1179 | end)) | |
1180 | end | |
1181 | ---------------------------------------------------- | |
1182 | mod4 = Instance.new("Model",char) | |
1183 | ||
1184 | ptez = {0.7, 0.8, 0.9, 1} | |
1185 | ||
1186 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
1187 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
1188 | local List = {} | |
1189 | for i,v in pairs(workspace:GetChildren())do | |
1190 | if v:IsA("Model")then | |
1191 | if v:findFirstChild("Torso")then | |
1192 | if v ~= char then | |
1193 | if(v.Torso.Position -Position).magnitude <= Distance then | |
1194 | table.insert(List,v) | |
1195 | end | |
1196 | end | |
1197 | end | |
1198 | end | |
1199 | end | |
1200 | return List | |
1201 | end | |
1202 | ||
1203 | function GroundPound() | |
1204 | part=Instance.new('Part',mod4) | |
1205 | part.Anchored=true | |
1206 | part.CanCollide=false | |
1207 | part.FormFactor='Custom' | |
1208 | part.Size=Vector3.new(.2,.2,.2) | |
1209 | part.CFrame=root.CFrame*CFrame.new(0,-5.8,-2.4)*CFrame.Angles(math.rad(90),0,0) | |
1210 | part.Transparency=.7 | |
1211 | part.BrickColor=BrickColor.new('Really black') | |
1212 | mesh=Instance.new('SpecialMesh',part) | |
1213 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
1214 | mesh.Scale=Vector3.new(3,3,3) | |
1215 | part2=Instance.new('Part',mod4) | |
1216 | part2.Anchored=true | |
1217 | part2.CanCollide=false | |
1218 | part2.FormFactor='Custom' | |
1219 | part2.Size=Vector3.new(.2,.2,.2) | |
1220 | part2.CFrame=root.CFrame*CFrame.new(0,-5,-2.6) | |
1221 | part2.Transparency=.7 | |
1222 | part2.BrickColor=BrickColor.new('Really red') | |
1223 | mesh2=Instance.new('SpecialMesh',part2) | |
1224 | mesh2.MeshId='http://www.roblox.com/asset/?id=20329976' | |
1225 | mesh2.Scale=Vector3.new(3,1.5,3) | |
1226 | x = Instance.new("Sound",char) | |
1227 | x.SoundId = "http://www.roblox.com/asset/?id=142070127" | |
1228 | x.Pitch = ptez[math.random(1,#ptez)] | |
1229 | x.Volume = 1 | |
1230 | wait(.1) | |
1231 | x:Play() | |
1232 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,12))do | |
1233 | if v:FindFirstChild('Humanoid') then | |
1234 | v.Humanoid:TakeDamage(math.random(8,15)) | |
1235 | end | |
1236 | end | |
1237 | coroutine.resume(coroutine.create(function() | |
1238 | for i=0,0.62,0.13 do | |
1239 | wait() | |
1240 | part.CFrame=part.CFrame | |
1241 | part.Transparency=i | |
1242 | mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4) | |
1243 | part2.CFrame=part2.CFrame | |
1244 | part2.Transparency=i | |
1245 | mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4) | |
1246 | end | |
1247 | part.Parent=nil | |
1248 | part2.Parent=nil | |
1249 | x:Destroy() | |
1250 | end)) | |
1251 | end | |
1252 | ---------------------------------------------------- | |
1253 | mod=Instance.new('Model',char) | |
1254 | ||
1255 | function charge() | |
1256 | hed.Velocity=hed.CFrame.lookVector*200 | |
1257 | part=Instance.new('Part',mod) | |
1258 | part.Anchored=true | |
1259 | part.CanCollide=false | |
1260 | part.FormFactor='Custom' | |
1261 | part.Size=Vector3.new(.2,.2,.2) | |
1262 | part.CFrame=hed.CFrame*CFrame.Angles(math.rad(90),0,0) | |
1263 | part.Transparency=.7 | |
1264 | part.BrickColor=BrickColor.new('Bright Orange') | |
1265 | mesh=Instance.new('SpecialMesh',part) | |
1266 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
1267 | mesh.Scale=Vector3.new(10,5,10) | |
1268 | part2=part:clone() | |
1269 | part2.Parent=mod | |
1270 | part2.BrickColor=BrickColor.new('Bright red') | |
1271 | mesh2=mesh:clone() | |
1272 | mesh2.Parent=part2 | |
1273 | mesh2.Scale=Vector3.new(20,10,20) | |
1274 | part3=part2:clone() | |
1275 | part3.Parent = mod | |
1276 | part3.BrickColor=BrickColor.new('Really black') | |
1277 | mesh3=mesh2:clone() | |
1278 | mesh2.Parent=part3 | |
1279 | mesh3.Scale=Vector3.new(30,15,30) | |
1280 | coroutine.resume(coroutine.create(function() | |
1281 | for i=0,1,0.1 do | |
1282 | wait() | |
1283 | part.CFrame=part.CFrame | |
1284 | part.Transparency=i | |
1285 | mesh.Scale=mesh.Scale+Vector3.new(1,1,1) | |
1286 | part2.CFrame=part2.CFrame | |
1287 | part2.Transparency=i | |
1288 | mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1) | |
1289 | part3.CFrame=part3.CFrame | |
1290 | part3.Transparency=i | |
1291 | mesh3.Scale=mesh3.Scale+Vector3.new(1,1,1) | |
1292 | end | |
1293 | part.Parent=nil | |
1294 | part2.Parent=nil | |
1295 | part3.Parent = nil | |
1296 | end)) | |
1297 | end | |
1298 | ---------------------------------------------------- | |
1299 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
1300 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
1301 | local List = {} | |
1302 | for i,v in pairs(workspace:GetChildren())do | |
1303 | if v:IsA("Model")then | |
1304 | if v:findFirstChild("Torso")then | |
1305 | if v ~= char then | |
1306 | if(v.Torso.Position -Position).magnitude <= Distance then | |
1307 | table.insert(List,v) | |
1308 | end | |
1309 | end | |
1310 | end | |
1311 | end | |
1312 | end | |
1313 | return List | |
1314 | end | |
1315 | ||
1316 | mod3 = Instance.new("Model",rleg) | |
1317 | ||
1318 | function Stomp() | |
1319 | part=Instance.new('Part',mod3) | |
1320 | part.Anchored=true | |
1321 | part.CanCollide=false | |
1322 | part.FormFactor='Custom' | |
1323 | part.Size=Vector3.new(.2,.2,.2) | |
1324 | part.CFrame=rleg.CFrame*CFrame.new(0,-2.4,0)*CFrame.Angles(math.rad(90),0,0) | |
1325 | part.Transparency=.7 | |
1326 | part.BrickColor=BrickColor.new('Bright green') | |
1327 | mesh=Instance.new('SpecialMesh',part) | |
1328 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
1329 | mesh.Scale=Vector3.new(25,25,25) | |
1330 | part2=part:clone() | |
1331 | part2.Parent=mod3 | |
1332 | part2.BrickColor=BrickColor.new('Bright green') | |
1333 | mesh2=mesh:clone() | |
1334 | mesh2.Parent=part2 | |
1335 | mesh2.Scale=Vector3.new(15,15,15) | |
1336 | part3=part:clone() | |
1337 | part3.Parent=mod3 | |
1338 | part3.TopSurface=0 | |
1339 | part3.BottomSurface=0 | |
1340 | part3.CFrame=rleg.CFrame*CFrame.new(0,-3,0) | |
1341 | mesh3=Instance.new('SpecialMesh',part3) | |
1342 | mesh3.MeshType = 3 | |
1343 | mesh3.Scale=Vector3.new(12,12,12) | |
1344 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do | |
1345 | if v:FindFirstChild('Humanoid') then | |
1346 | v.Humanoid:TakeDamage(math.random(20,60)) | |
1347 | v.Humanoid.PlatformStand = true | |
1348 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100 | |
1349 | end | |
1350 | end | |
1351 | coroutine.resume(coroutine.create(function() | |
1352 | for i=0,3.8,0.05 do | |
1353 | wait() | |
1354 | part.CFrame=part.CFrame | |
1355 | part.Transparency=i | |
1356 | mesh.Scale=mesh.Scale+Vector3.new(2.8,2.8,2.8) | |
1357 | part2.CFrame=part2.CFrame | |
1358 | part2.Transparency=i | |
1359 | mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1) | |
1360 | part3.CFrame=part3.CFrame | |
1361 | part3.Transparency=i | |
1362 | mesh3.Scale=mesh3.Scale+Vector3.new(1.5,1.5,1.5) | |
1363 | end | |
1364 | end)) | |
1365 | end | |
1366 | ---------------------------------------------------- | |
1367 | ||
1368 | local acos = math.acos | |
1369 | local sqrt = math.sqrt | |
1370 | local Vec3 = Vector3.new | |
1371 | local fromAxisAngle = CFrame.fromAxisAngle | |
1372 | ||
1373 | local function toAxisAngle(CFr) | |
1374 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
1375 | local Angle = math.acos((R00+R11+R22-1)/2) | |
1376 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
1377 | A = A == 0 and 0.00001 or A | |
1378 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
1379 | B = B == 0 and 0.00001 or B | |
1380 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
1381 | C = C == 0 and 0.00001 or C | |
1382 | local x = (R21-R12)/sqrt(A) | |
1383 | local y = (R02-R20)/sqrt(B) | |
1384 | local z = (R10-R01)/sqrt(C) | |
1385 | return Vec3(x,y,z),Angle | |
1386 | end | |
1387 | ||
1388 | function ApplyTrig(Num,Func) | |
1389 | local Min,Max = Func(0),Func(1) | |
1390 | local i = Func(Num) | |
1391 | return (i-Min)/(Max-Min) | |
1392 | --[[if Func == "sin" then | |
1393 | return (math.sin((1-Num)*math.pi)+1)/2 | |
1394 | elseif Func == "cos" then | |
1395 | return (math.cos((1-Num)*math.pi)+1)/2 | |
1396 | end]] | |
1397 | end | |
1398 | ||
1399 | function LerpCFrame(CFrame1,CFrame2,Num) | |
1400 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
1401 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
1402 | end | |
1403 | ||
1404 | function Crater(Torso,Radius) | |
1405 | Spawn(function() | |
1406 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
1407 | local Ignore = {} | |
1408 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
1409 | if v.Character ~= nil then | |
1410 | Ignore[#Ignore+1] = v.Character | |
1411 | end | |
1412 | end | |
1413 | local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
1414 | if Hit == nil then return end | |
1415 | local Parts = {} | |
1416 | for i = 1,360,10 do | |
1417 | local P = Instance.new("Part",Torso.Parent) | |
1418 | P.Anchored = true | |
1419 | P.FormFactor = "Custom" | |
1420 | P.BrickColor = Hit.BrickColor | |
1421 | P.Material = Hit.Material | |
1422 | P.TopSurface = "Smooth" | |
1423 | P.BottomSurface = "Smooth" | |
1424 | P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100) | |
1425 | 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))) | |
1426 | 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} | |
1427 | if math.random(0,5) == 0 then -- rubble | |
1428 | local P = Instance.new("Part",Torso.Parent) | |
1429 | P.Anchored = true | |
1430 | P.FormFactor = "Custom" | |
1431 | P.BrickColor = Hit.BrickColor | |
1432 | P.Material = Hit.Material | |
1433 | P.TopSurface = "Smooth" | |
1434 | P.BottomSurface = "Smooth" | |
1435 | P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100) | |
1436 | 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))) | |
1437 | 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} | |
1438 | end | |
1439 | end | |
1440 | for i = 0,1,0.05 do | |
1441 | for i2,v in pairs(Parts) do | |
1442 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
1443 | end | |
1444 | wait(0.02) | |
1445 | end | |
1446 | for i,v in pairs(Parts) do | |
1447 | if v[1].Size.X > 2.1 then | |
1448 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
1449 | end | |
1450 | v[1].Anchored = false | |
1451 | end | |
1452 | for i = 0,1,0.05 do | |
1453 | for i2,v in pairs(Parts) do | |
1454 | v[1].Transparency = i | |
1455 | if i == 1 then | |
1456 | v[1]:Destroy() | |
1457 | elseif i >= 0.25 then | |
1458 | v[1].CanCollide = false | |
1459 | end | |
1460 | end | |
1461 | wait(0.02) | |
1462 | end | |
1463 | Parts = nil | |
1464 | end) | |
1465 | end | |
1466 | ||
1467 | ---------------------------------------------------- | |
1468 | mouse.KeyDown:connect(function(key) | |
1469 | if key == "r" then | |
1470 | larm.BrickColor = BrickColor.new("Bright red") | |
1471 | rarm.BrickColor = BrickColor.new("Bright red") | |
1472 | if Debounces.CanAttack == true then | |
1473 | Debounces.CanAttack = false | |
1474 | Debounces.on = true | |
1475 | Debounces.NoIdl = true | |
1476 | to = char.Absolution.Thingy2.Touched:connect(function(ht) | |
1477 | hit = ht.Parent | |
1478 | if ht and hit:IsA("Model") then | |
1479 | if hit:FindFirstChild("Humanoid") then | |
1480 | if hit.Name ~= p.Name then | |
1481 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
1482 | Debounces.Slashed = true]]-- | |
1483 | hit:FindFirstChild("Humanoid"):TakeDamage(10) | |
1484 | wait(1) | |
1485 | --Debounces.Slashed = false | |
1486 | --end | |
1487 | end | |
1488 | end | |
1489 | elseif ht and hit:IsA("Hat") then | |
1490 | if hit.Parent.Name ~= p.Name then | |
1491 | if hit.Parent:FindFirstChild("Humanoid") then | |
1492 | --[[ if Debounces.Slashing == true and Debounces.Slashed == false then | |
1493 | Debounces.Slashed = true]]-- | |
1494 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(10) | |
1495 | wait(1) | |
1496 | --Debounces.Slashed = false | |
1497 | end | |
1498 | end | |
1499 | end | |
1500 | end) | |
1501 | q = Instance.new("Sound",hed) | |
1502 | q.SoundId = "http://www.roblox.com/asset/?id=134012322" | |
1503 | q.Pitch = 0.85 | |
1504 | q.Looped = false | |
1505 | q1 = Instance.new("Sound",hed) | |
1506 | q1.SoundId = "http://www.roblox.com/asset/?id=134012322" | |
1507 | q1.Pitch = 0.85 | |
1508 | q1.Looped = false | |
1509 | q:Play() | |
1510 | q1:Play() | |
1511 | for i = 1,20 do | |
1512 | 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) | |
1513 | 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) | |
1514 | 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) | |
1515 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 4, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.4) | |
1516 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 1) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4) | |
1517 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .6) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4) | |
1518 | 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) | |
1519 | if Debounces.on == false then break end | |
1520 | wait() | |
1521 | end | |
1522 | n = Instance.new("Sound",hed) | |
1523 | n.SoundId = "http://www.roblox.com/asset/?id=168514932" | |
1524 | n.Pitch = 0.94 | |
1525 | n.Looped = false | |
1526 | n1 = Instance.new("Sound",hed) | |
1527 | n1.SoundId = "http://www.roblox.com/asset/?id=168514932" | |
1528 | n1.Pitch = 0.94 | |
1529 | n1.Looped = false | |
1530 | n:Play() | |
1531 | n1:Play() | |
1532 | b = Instance.new("Sound",hed) | |
1533 | b.SoundId = "http://www.roblox.com/asset/?id=168586586" | |
1534 | b.Pitch = 0.94 | |
1535 | b.Looped = false | |
1536 | b1 = Instance.new("Sound",hed) | |
1537 | b1.SoundId = "http://www.roblox.com/asset/?id=168586586" | |
1538 | b1.Pitch = 0.94 | |
1539 | b1.Looped = false | |
1540 | b:Play() | |
1541 | b1:Play() | |
1542 | for i = 1,26 do | |
1543 | 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) | |
1544 | 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) | |
1545 | 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) | |
1546 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), 0), 0.5) | |
1547 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -1) * CFrame.Angles(math.rad(50), 0, math.rad(0)), 0.5) | |
1548 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .4) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.5) | |
1549 | 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) | |
1550 | if Debounces.on == false then break end | |
1551 | wait() | |
1552 | end | |
1553 | wait(.5) | |
1554 | to:disconnect() | |
1555 | q:Destroy() | |
1556 | q1:Destroy() | |
1557 | n:Destroy() | |
1558 | n1:Destroy() | |
1559 | larm.BrickColor = BrickColor.new("Really black") | |
1560 | rarm.BrickColor = BrickColor.new("Really black") | |
1561 | if Debounces.CanAttack == false then | |
1562 | Debounces.CanAttack = true | |
1563 | Debounces.on = false | |
1564 | Debounces.NoIdl = false | |
1565 | end | |
1566 | end | |
1567 | end | |
1568 | end) | |
1569 | ---------------------------------------------------- | |
1570 | mouse.KeyDown:connect(function(key) | |
1571 | if key == "q" then | |
1572 | larm.BrickColor = BrickColor.new("Bright red") | |
1573 | rarm.BrickColor = BrickColor.new("Bright red") | |
1574 | if Debounces.CanAttack == true then | |
1575 | Debounces.CanAttack = false | |
1576 | Debounces.on = true | |
1577 | Debounces.NoIdl = true | |
1578 | to = char.Absolution.Thingy2.Touched:connect(function(ht) | |
1579 | hit = ht.Parent | |
1580 | if ht and hit:IsA("Model") then | |
1581 | if hit:FindFirstChild("Humanoid") then | |
1582 | if hit.Name ~= p.Name then | |
1583 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
1584 | Debounces.Slashed = true]]-- | |
1585 | hit:FindFirstChild("Humanoid"):TakeDamage(4) | |
1586 | wait(1) | |
1587 | --Debounces.Slashed = false | |
1588 | --end | |
1589 | end | |
1590 | end | |
1591 | elseif ht and hit:IsA("Hat") then | |
1592 | if hit.Parent.Name ~= p.Name then | |
1593 | if hit.Parent:FindFirstChild("Humanoid") then | |
1594 | --[[ if Debounces.Slashing == true and Debounces.Slashed == false then | |
1595 | Debounces.Slashed = true]]-- | |
1596 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(4) | |
1597 | wait(1) | |
1598 | --Debounces.Slashed = false | |
1599 | end | |
1600 | end | |
1601 | end | |
1602 | end) | |
1603 | for i = 1, 20 do | |
1604 | 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) | |
1605 | 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) | |
1606 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(-60),0), 0.5) | |
1607 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(70), 0), 0.5) | |
1608 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.5) | |
1609 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.5) | |
1610 | 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) | |
1611 | if Debounces.on == false then break end | |
1612 | wait() | |
1613 | end | |
1614 | z = Instance.new("Sound",hed) | |
1615 | z.SoundId = "rbxassetid://160069154" | |
1616 | z.Looped = false | |
1617 | z.Pitch = .9 | |
1618 | z1 = Instance.new("Sound",hed) | |
1619 | z1.SoundId = "rbxassetid://160069154" | |
1620 | z1.Looped = false | |
1621 | z1.Pitch = .9 | |
1622 | wait(0.01) | |
1623 | z:Play() | |
1624 | z1:Play() | |
1625 | for i = 1, 12 do | |
1626 | 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) | |
1627 | 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) | |
1628 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(30),0), 0.5) | |
1629 | 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) | |
1630 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -2) * CFrame.Angles(math.rad(-10), 0, 0), 0.5) | |
1631 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.8, .6) * CFrame.Angles(math.rad(-65), 0, 0), 0.5) | |
1632 | 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) | |
1633 | if Debounces.on == false then break end | |
1634 | wait() | |
1635 | end | |
1636 | for i = 1, 12 do | |
1637 | 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) | |
1638 | 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) | |
1639 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(10),0), 0.5) | |
1640 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-10), 0), 0.5) | |
1641 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.5) | |
1642 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.5) | |
1643 | 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) | |
1644 | if Debounces.on == false then break end | |
1645 | wait() | |
1646 | end | |
1647 | z = Instance.new("Sound",hed) | |
1648 | z.SoundId = "rbxassetid://168586621" | |
1649 | z.Looped = false | |
1650 | z.Pitch = 1 | |
1651 | z1 = Instance.new("Sound",hed) | |
1652 | z1.SoundId = "rbxassetid://168586621" | |
1653 | z1.Looped = false | |
1654 | z1.Pitch = 1 | |
1655 | wait(0.01) | |
1656 | z:Play() | |
1657 | z1:Play() | |
1658 | for i = 1, 12 do | |
1659 | 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) | |
1660 | 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) | |
1661 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(-40),0), 0.5) | |
1662 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(40), 0), 0.5) | |
1663 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(-10)), 0.5) | |
1664 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(20), 0, math.rad(10)), 0.5) | |
1665 | 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) | |
1666 | if Debounces.on == false then break end | |
1667 | wait() | |
1668 | end | |
1669 | to:disconnect() | |
1670 | larm.BrickColor = BrickColor.new("Really black") | |
1671 | rarm.BrickColor = BrickColor.new("Really black") | |
1672 | if Debounces.CanAttack == false then | |
1673 | Debounces.CanAttack = true | |
1674 | Debounces.on = false | |
1675 | Debounces.NoIdl = false | |
1676 | end | |
1677 | end | |
1678 | end | |
1679 | end) | |
1680 | ---------------------------------------------------- | |
1681 | Sit = false | |
1682 | mouse.KeyDown:connect(function(key) | |
1683 | if key == "v" then | |
1684 | if Sit == false then | |
1685 | Sit = true | |
1686 | hum.WalkSpeed = 0.001 | |
1687 | stanceToggle = "Sitting" | |
1688 | elseif Sit == true then | |
1689 | Sit = false | |
1690 | hum.WalkSpeed = 7 | |
1691 | stanceToggle = "Normal" | |
1692 | end | |
1693 | end | |
1694 | end) | |
1695 | ---------------------------------------------------- | |
1696 | mouse.KeyDown:connect(function(key) | |
1697 | if key == "t" then | |
1698 | if Debounces.CanAttack == true then | |
1699 | Debounces.CanAttack = false | |
1700 | Debounces.on = true | |
1701 | Debounces.NoIdl = true | |
1702 | for i = 1, 20 do | |
1703 | 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) | |
1704 | 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) | |
1705 | 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) | |
1706 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.4) | |
1707 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, .6) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.4) | |
1708 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.2) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.4) | |
1709 | 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) | |
1710 | if Debounces.on == false then break end | |
1711 | wait() | |
1712 | end | |
1713 | Spawn(function() | |
1714 | local Parts = {} | |
1715 | for Y = -5,5 do | |
1716 | local P = Instance.new("Part",char) | |
1717 | P.Anchored = true | |
1718 | P.FormFactor = "Custom" | |
1719 | P.CanCollide = false | |
1720 | P.Size = Vector3.new(1,2,1) | |
1721 | P.TopSurface = "SmoothNoOutlines" | |
1722 | P.BottomSurface = "SmoothNoOutlines" | |
1723 | P.BrickColor = BrickColor.new("Really black") | |
1724 | P.Name = tostring(Y) | |
1725 | local i = (Y+5)/(10) | |
1726 | i = 1-math.cos(math.pi*i-(math.pi/2)) | |
1727 | P.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,Y,-15+(i*1.5))*CFrame.Angles(math.rad(Y*5),0,0) | |
1728 | --[[P.Touched:connect(function(ht) | |
1729 | local hit = ht.Parent | |
1730 | if hit:FindFirstChild("Humanoid") then | |
1731 | hit.Humanoid:TakeDamage(math.random(20,50)) | |
1732 | end | |
1733 | end)]]-- | |
1734 | s = Instance.new("Sound",P) | |
1735 | s.SoundId = "rbxassetid://228343271" | |
1736 | s.Volume = .7 | |
1737 | s.Pitch = 0.9 | |
1738 | s:Play() | |
1739 | P.Touched:connect(function(ht) | |
1740 | hit = ht.Parent | |
1741 | if ht and hit:IsA("Model") then | |
1742 | if hit:FindFirstChild("Humanoid") then | |
1743 | if hit.Name ~= p.Name then | |
1744 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
1745 | Debounces.Slashed = true]]-- | |
1746 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(1,3)) | |
1747 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
1748 | wait(1) | |
1749 | --Debounces.Slashed = false | |
1750 | --end | |
1751 | end | |
1752 | end | |
1753 | elseif ht and hit:IsA("Hat") then | |
1754 | if hit.Parent.Name ~= p.Name then | |
1755 | if hit.Parent:FindFirstChild("Humanoid") then | |
1756 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
1757 | Debounces.Slashed = true]]-- | |
1758 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random (1,3)) | |
1759 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
1760 | wait(1) | |
1761 | --Debounces.Slashed = false | |
1762 | --end | |
1763 | end | |
1764 | end | |
1765 | end | |
1766 | end) | |
1767 | Parts[#Parts+1] = P | |
1768 | end | |
1769 | local BREAKIT = false | |
1770 | local CParts = {} | |
1771 | local Rocks = {} | |
1772 | local LastPos = nil | |
1773 | for i = 1,70 do | |
1774 | for i2,v in pairs(Parts) do | |
1775 | v.CFrame = v.CFrame*CFrame.new(0,0,-4) | |
1776 | local cf = v.CFrame | |
1777 | v.Size = v.Size+Vector3.new(0.4,0.35,0) | |
1778 | v.CFrame = cf | |
1779 | v.Transparency = v.Transparency+0.02 | |
1780 | if v.Transparency >= 0.975 then BREAKIT = true end | |
1781 | if v.Name == "0" then | |
1782 | local Ignore = {} | |
1783 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
1784 | if v.Character ~= nil then | |
1785 | Ignore[#Ignore+1] = v.Character | |
1786 | end | |
1787 | end | |
1788 | local ray = Ray.new(v.Position+Vector3.new(0,20,0),Vector3.new(0,-200,0)) | |
1789 | local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(ray,Ignore) | |
1790 | if Hit ~= nil then | |
1791 | if #Rocks == 0 then | |
1792 | for i = 1,5 do | |
1793 | local P = Instance.new("Part",char) | |
1794 | Rocks[#Rocks+1] = P | |
1795 | P.Anchored = true | |
1796 | P.FormFactor = "Custom" | |
1797 | P.BrickColor = Hit.BrickColor | |
1798 | P.Material = Hit.Material | |
1799 | P.TopSurface = "Smooth" | |
1800 | P.BottomSurface = "Smooth" | |
1801 | P.Size = Vector3.new(1,1,1)*(math.random(500,900)/100) | |
1802 | end | |
1803 | end | |
1804 | for i,P in pairs(Rocks) do | |
1805 | 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))) | |
1806 | end | |
1807 | local P = Instance.new("Part",char) | |
1808 | CParts[#CParts+1] = {P,tick()} | |
1809 | P.Anchored = true | |
1810 | P.FormFactor = "Custom" | |
1811 | P.BrickColor = Hit.BrickColor | |
1812 | P.Material = Hit.Material | |
1813 | P.TopSurface = "Smooth" | |
1814 | P.BottomSurface = "Smooth" | |
1815 | P.Size = Vector3.new(1,1,1)*(math.random(100,300)/100) | |
1816 | Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,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(20,50))) | |
1819 | local P = P:Clone() | |
1820 | CParts[#CParts+1] = {P,tick()} | |
1821 | P.Parent = char | |
1822 | Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(-v.Size.X,0,0) | |
1823 | Pos = Pos.p | |
1824 | 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))) | |
1825 | if LastPos ~= nil then | |
1826 | local P = P:Clone() | |
1827 | CParts[#CParts+1] = {P,tick()} | |
1828 | P.Parent = char | |
1829 | P.BrickColor = BrickColor.new("Really black") | |
1830 | Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0) | |
1831 | Pos = Pos.p | |
1832 | local CFr = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0) | |
1833 | P.Size = Vector3.new(v.Size.X-0.25,1,(CFr.p-LastPos.p).Magnitude+0.25) | |
1834 | --P.Velocity = Vector3.new(0,-1000,0) | |
1835 | P.CFrame = CFrame.new(CFr.p,LastPos.p)*CFrame.new(0,0,-((CFr.p-LastPos.p).Magnitude+0.25)/2) | |
1836 | end | |
1837 | LastPos = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0) | |
1838 | end | |
1839 | end | |
1840 | end | |
1841 | if BREAKIT then break end | |
1842 | wait(0.002) | |
1843 | end | |
1844 | for i,v in pairs(Rocks) do | |
1845 | CParts[#CParts+1] = {v,tick()} | |
1846 | end | |
1847 | for i,v in pairs(Parts) do | |
1848 | v:Destroy() | |
1849 | end | |
1850 | Parts = nil | |
1851 | while true do | |
1852 | local t = tick() | |
1853 | local p = nil | |
1854 | for i,v in pairs(CParts) do | |
1855 | if t-v[2] > 4 then | |
1856 | v[1].Transparency = v[1].Transparency+0.05 | |
1857 | if v[1].Transparency >= 1 then | |
1858 | v[1]:Destroy() | |
1859 | CParts[i] = nil | |
1860 | end | |
1861 | end | |
1862 | p = v | |
1863 | end | |
1864 | if p == nil then break end | |
1865 | wait(0.002) | |
1866 | end | |
1867 | for i,v in pairs(CParts) do | |
1868 | v:Destroy() | |
1869 | end | |
1870 | CParts = {} | |
1871 | end) | |
1872 | for i = 1, 20 do | |
1873 | 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) | |
1874 | 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) | |
1875 | 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) | |
1876 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.6, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.4) | |
1877 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -1.4) * CFrame.Angles(math.rad(40), 0, math.rad(0)), 0.4) | |
1878 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1.6, -.9) * CFrame.Angles(math.rad(10), 0, math.rad(0)), 0.4) | |
1879 | 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) | |
1880 | if Debounces.on == false then break end | |
1881 | wait() | |
1882 | end | |
1883 | if Debounces.CanAttack == false then | |
1884 | Debounces.CanAttack = true | |
1885 | Debounces.on = false | |
1886 | Debounces.NoIdl = false | |
1887 | end | |
1888 | end | |
1889 | end | |
1890 | end) | |
1891 | ---------------------------------------------------- | |
1892 | mouse.KeyDown:connect(function(key) | |
1893 | if key == "e" then | |
1894 | larm.BrickColor = BrickColor.new("Bright red") | |
1895 | rarm.BrickColor = BrickColor.new("Bright red") | |
1896 | if Debounces.CanAttack == true then | |
1897 | Debounces.CanAttack = false | |
1898 | Debounces.on = true | |
1899 | Debounces.NoIdl = true | |
1900 | for i = 1, 18 do | |
1901 | 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) | |
1902 | 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) | |
1903 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
1904 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4) | |
1905 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.4) | |
1906 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4) | |
1907 | 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) | |
1908 | if Debounces.on == false then break end | |
1909 | wait() | |
1910 | end | |
1911 | 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)) | |
1912 | local rng = Instance.new("Part", char.Absolution.Handle) | |
1913 | rng.Anchored = true | |
1914 | rng.BrickColor = BrickColor.new("Really black") | |
1915 | rng.CanCollide = true | |
1916 | rng.FormFactor = 3 | |
1917 | rng.Name = "Ring" | |
1918 | rng.Size = Vector3.new(1, 1, 1) | |
1919 | rng.CanCollide = false | |
1920 | rng.Transparency = 0.35 | |
1921 | rng.TopSurface = 0 | |
1922 | rng.BottomSurface = 0 | |
1923 | rng.CFrame = HandCF | |
1924 | local rngm = Instance.new("SpecialMesh", rng) | |
1925 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1926 | rngm.Scale = Vector3.new(1, 1, 2) | |
1927 | x = Instance.new("Sound", hed) | |
1928 | x.SoundId = "http://www.roblox.com/asset/?id=169445602" | |
1929 | x.Looped = false | |
1930 | x.Pitch = .7 | |
1931 | x.Volume = 1 | |
1932 | x1 = Instance.new("Sound", hed) | |
1933 | x1.SoundId = "http://www.roblox.com/asset/?id=169445602" | |
1934 | x1.Looped = false | |
1935 | x1.Pitch = .7 | |
1936 | x1.Volume = 1 | |
1937 | x:Play() | |
1938 | x1:Play() | |
1939 | rngto = rng.Touched:connect(function(ht) | |
1940 | hit = ht.Parent | |
1941 | if ht and hit:IsA("Model") then | |
1942 | if hit:FindFirstChild("Humanoid") then | |
1943 | if hit.Name ~= p.Name then | |
1944 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
1945 | Debounces.Slashed = true]]-- | |
1946 | hit:FindFirstChild("Humanoid"):TakeDamage(4) | |
1947 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
1948 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -120 | |
1949 | --Debounces.Slashed = false | |
1950 | --end | |
1951 | end | |
1952 | end | |
1953 | elseif ht and hit:IsA("Hat") then | |
1954 | if hit.Parent.Name ~= p.Name then | |
1955 | if hit.Parent:FindFirstChild("Humanoid") then | |
1956 | --[[ if Debounces.Slashing == true and Debounces.Slashed == false then | |
1957 | Debounces.Slashed = true]]-- | |
1958 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(4) | |
1959 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
1960 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -120 | |
1961 | --Debounces.Slashed = false | |
1962 | end | |
1963 | end | |
1964 | end | |
1965 | end) | |
1966 | coroutine.wrap(function() | |
1967 | for i = 1, 60, 2 do | |
1968 | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1) | |
1969 | rng.Size = rngm.Scale | |
1970 | rng.CFrame = HandCF | |
1971 | rng.Transparency = i/60 | |
1972 | wait() | |
1973 | end | |
1974 | wait() | |
1975 | rng:Destroy() | |
1976 | end)() | |
1977 | for i = 1, 18 do | |
1978 | 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) | |
1979 | 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) | |
1980 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
1981 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4) | |
1982 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.4) | |
1983 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4) | |
1984 | 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) | |
1985 | if Debounces.on == false then break end | |
1986 | wait() | |
1987 | end | |
1988 | larm.BrickColor = BrickColor.new("Really black") | |
1989 | rarm.BrickColor = BrickColor.new("Really black") | |
1990 | x:Destroy() | |
1991 | x1:Destroy() | |
1992 | if Debounces.CanAttack == false then | |
1993 | Debounces.CanAttack = true | |
1994 | Debounces.on = false | |
1995 | Debounces.NoIdl = false | |
1996 | end | |
1997 | end | |
1998 | end | |
1999 | end) | |
2000 | ---------------------------------------------------- | |
2001 | - | if key == "y" then |
2001 | + | |
2002 | - | if Debounces.CanAttack == true then |
2002 | + | if key == "y" then |
2003 | if Debounces.CanAttack == true then | |
2004 | Debounces.CanAttack = false | |
2005 | Debounces.on = true | |
2006 | - | for i = 1, 15 do |
2006 | + | |
2007 | - | 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) |
2007 | + | for i = 1, 15 do |
2008 | - | 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) |
2008 | + | 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) |
2009 | - | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2) |
2009 | + | 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) |
2010 | - | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.2) |
2010 | + | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2) |
2011 | - | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) |
2011 | + | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.2) |
2012 | - | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) |
2012 | + | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) |
2013 | - | 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) |
2013 | + | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) |
2014 | 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) | |
2015 | if Debounces.on == false then break end | |
2016 | wait() | |
2017 | - | x = Instance.new("Sound",char) |
2017 | + | |
2018 | - | x.SoundId = "rbxassetid://228343271" |
2018 | + | x = Instance.new("Sound",char) |
2019 | - | x.Pitch = 1 |
2019 | + | x.SoundId = "rbxassetid://228343271" |
2020 | - | x.Volume = .8 |
2020 | + | x.Pitch = 1 |
2021 | - | wait(.1) |
2021 | + | x.Volume = .8 |
2022 | - | x:Play() |
2022 | + | wait(.1) |
2023 | - | Debounces.on = false |
2023 | + | x:Play() |
2024 | - | Debounces.Here = false |
2024 | + | Debounces.on = false |
2025 | - | shot = shot + 1 |
2025 | + | Debounces.Here = false |
2026 | shot = shot + 1 | |
2027 | local rng = Instance.new("Part", char) | |
2028 | rng.Anchored = true | |
2029 | rng.BrickColor = BrickColor.new("Really black") | |
2030 | rng.CanCollide = false | |
2031 | rng.FormFactor = 3 | |
2032 | rng.Name = "Ring" | |
2033 | rng.Size = Vector3.new(1, 1, 1) | |
2034 | rng.Transparency = 0.35 | |
2035 | rng.TopSurface = 0 | |
2036 | rng.BottomSurface = 0 | |
2037 | rng2 = rng:clone() | |
2038 | rng3 = rng2:clone() | |
2039 | rng4 = rng2:clone() | |
2040 | local rngm = Instance.new("SpecialMesh", rng) | |
2041 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2042 | rngm.Scale = Vector3.new(10, 10, 1) | |
2043 | rngm2 = rngm:clone() | |
2044 | rngm2.Scale = Vector3.new(5, 5, 1) | |
2045 | rngm3=rngm2:clone() | |
2046 | rngm3.Parent = rng3 | |
2047 | rngm3.Scale = Vector3.new(8, 8, 1) | |
2048 | rngm4 = rngm2:clone() | |
2049 | rngm4.Parent = rng4 | |
2050 | rngm4.Scale = Vector3.new(6, 6, 1) | |
2051 | local bem = Instance.new("Part", char) | |
2052 | bem.Anchored = true | |
2053 | bem.BrickColor = BrickColor.new("Really black") | |
2054 | bem.CanCollide = false | |
2055 | bem.FormFactor = 3 | |
2056 | bem.Name = "Beam" .. shot | |
2057 | bem.Size = Vector3.new(1, 1, 1) | |
2058 | bem.Transparency = 0.35 | |
2059 | bem.TopSurface = 0 | |
2060 | bem.BottomSurface = 0 | |
2061 | local bemm = Instance.new("SpecialMesh", bem) | |
2062 | bemm.MeshType = 4 | |
2063 | bemm.Scale = Vector3.new(1, 4, 4) | |
2064 | local out = Instance.new("Part", char) | |
2065 | out.Anchored = true | |
2066 | out.BrickColor = BrickColor.new("Really black") | |
2067 | out.CanCollide = false | |
2068 | out.FormFactor = 3 | |
2069 | out.Name = "Out" | |
2070 | out.Size = Vector3.new(4, 4, 4) | |
2071 | out.Transparency = 0.35 | |
2072 | out.TopSurface = 0 | |
2073 | out.BottomSurface = 0 | |
2074 | local outm = Instance.new("SpecialMesh", out) | |
2075 | outm.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
2076 | outm.Scale = Vector3.new(4, 4, 4) | |
2077 | local bnd = Instance.new("Part", char) | |
2078 | bnd.Anchored = true | |
2079 | bnd.BrickColor = BrickColor.new("Really black") | |
2080 | bnd.CanCollide = false | |
2081 | bnd.FormFactor = 3 | |
2082 | bnd.Name = "Bend" | |
2083 | bnd.Size = Vector3.new(1, 1, 1) | |
2084 | bnd.Transparency = 1 | |
2085 | bnd.TopSurface = 0 | |
2086 | bnd.BottomSurface = 0 | |
2087 | local bndm = Instance.new("SpecialMesh", bnd) | |
2088 | bndm.MeshType = 3 | |
2089 | bndm.Scale = Vector3.new(8, 8, 8) | |
2090 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
2091 | bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
2092 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
2093 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
2094 | rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0) | |
2095 | rng4.CFrame = rng3.CFrame * CFrame.new(0, -.5, 0) | |
2096 | Debounces.Shewt = true | |
2097 | coroutine.wrap(function() | |
2098 | for i = 1, 20, 0.2 do | |
2099 | rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
2100 | rngm3.Scale = Vector3.new(8 + i*2, 8 + i*2, 1) | |
2101 | rngm4.Scale = Vector3.new(6 + i*2, 6 + i*2, 1) | |
2102 | rng.Transparency = i/20 | |
2103 | rng3.Transparency = 1/16 | |
2104 | rng4.Transparency = i/12 | |
2105 | wait() | |
2106 | end | |
2107 | wait() | |
2108 | rng:Destroy() | |
2109 | end)() | |
2110 | if Debounces.Shewt == true then | |
2111 | char:WaitForChild("Beam" .. shot).Touched:connect(function(ht) | |
2112 | hit = ht.Parent | |
2113 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then | |
2114 | if HasntTouched(hit.Name) == true and deb == false then | |
2115 | deb = true | |
2116 | coroutine.wrap(function() | |
2117 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2118 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180 | |
2119 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73)) | |
2120 | end)() | |
2121 | table.insert(Touche, hit.Name) | |
2122 | deb = false | |
2123 | end | |
2124 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then | |
2125 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
2126 | deb = true | |
2127 | coroutine.wrap(function() | |
2128 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true | |
2129 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180 | |
2130 | wait(1) | |
2131 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false | |
2132 | end)() | |
2133 | table.insert(Touche, hit.Parent.Name) | |
2134 | deb = false | |
2135 | for i, v in pairs(Touche) do | |
2136 | print(v) | |
2137 | end | |
2138 | end | |
2139 | end | |
2140 | end) | |
2141 | end | |
2142 | for i = 0, 260, 8 do | |
2143 | bem.Size = Vector3.new(i, 2, 2) | |
2144 | bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
2145 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2) | |
2146 | bnd.Size = Vector3.new(1,1,1) | |
2147 | bndm.Scale = Vector3.new(8,8,8) | |
2148 | if i % 10 == 0 then | |
2149 | local newRng = rng2:Clone() | |
2150 | newRng.Parent = char | |
2151 | newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
2152 | local newRngm = rngm2:clone() | |
2153 | newRngm.Parent=newRng | |
2154 | coroutine.wrap(function() | |
2155 | for i = 1, 10, 0.2 do | |
2156 | newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 1) | |
2157 | newRng.Transparency = i/10 | |
2158 | wait() | |
2159 | end | |
2160 | wait() | |
2161 | newRng:Destroy() | |
2162 | end)() | |
2163 | end | |
2164 | wait() | |
2165 | end | |
2166 | wait() | |
2167 | Debounces.Shewt = false | |
2168 | bem:Destroy() | |
2169 | out:Destroy() | |
2170 | bnd:Destroy() | |
2171 | Debounces.Ready = false | |
2172 | for i, v in pairs(Touche) do | |
2173 | table.remove(Touche, i) | |
2174 | end | |
2175 | wait() | |
2176 | table.insert(Touche, char.Name) | |
2177 | Debounces.NoIdl = false | |
2178 | if Debounces.CanAttack == false then | |
2179 | Debounces.CanAttack = true | |
2180 | end | |
2181 | end | |
2182 | end | |
2183 | end) | |
2184 | ---------------------------------------------------- | |
2185 | sidz = {"231917888", "231917845", "231917806"} | |
2186 | ptz = {0.65, 0.7, 0.75, 0.8, 0.95, 1} | |
2187 | mouse.KeyDown:connect(function(key) | |
2188 | if key == "f" then | |
2189 | larm.BrickColor = BrickColor.new("Bright red") | |
2190 | rarm.BrickColor = BrickColor.new("Bright red") | |
2191 | if Debounces.CanAttack == true then | |
2192 | Debounces.CanAttack = false | |
2193 | Debounces.on = true | |
2194 | Debounces.NoIdl = true | |
2195 | for i = 1, 10 do | |
2196 | 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) | |
2197 | 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) | |
2198 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.4) | |
2199 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.4) | |
2200 | 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) | |
2201 | 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) | |
2202 | 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) | |
2203 | if Debounces.on == false then break end | |
2204 | wait() | |
2205 | end | |
2206 | z = Instance.new("Sound",char) | |
2207 | z.SoundId = "rbxassetid://"..sidz[math.random(1,#sidz)] | |
2208 | z.Pitch = ptz[math.random(1,#ptz)] | |
2209 | z.Volume = 1 | |
2210 | z1 = Instance.new("Sound",char) | |
2211 | z1.SoundId = z.SoundId | |
2212 | z1.Pitch = z.Pitch | |
2213 | z1.Volume = 1 | |
2214 | wait(1) | |
2215 | z:Play() | |
2216 | z1:Play() | |
2217 | Stomp() | |
2218 | for i = 1, 20 do | |
2219 | 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) | |
2220 | 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) | |
2221 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.2)*CFrame.Angles(math.rad(-26),math.rad(0),0), 0.6) | |
2222 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, -.6) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.6) | |
2223 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(30), 0, math.rad(0)), 0.6) | |
2224 | 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) | |
2225 | 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) | |
2226 | if Debounces.on == false then break end | |
2227 | wait() | |
2228 | end | |
2229 | if Debounces.CanAttack == false then | |
2230 | Debounces.CanAttack = true | |
2231 | Debounces.on = false | |
2232 | Debounces.NoIdl = false | |
2233 | larm.BrickColor = BrickColor.new("Really black") | |
2234 | rarm.BrickColor = BrickColor.new("Really black") | |
2235 | end | |
2236 | end | |
2237 | end | |
2238 | end) | |
2239 | ---------------------------------------------------- | |
2240 | mouse.KeyDown:connect(function(key) | |
2241 | if key == "g" then | |
2242 | larm.BrickColor = BrickColor.new("Bright red") | |
2243 | rarm.BrickColor = BrickColor.new("Bright red") | |
2244 | if Debounces.CanAttack == true then | |
2245 | Debounces.CanAttack = false | |
2246 | Debounces.on = true | |
2247 | Debounces.NoIdl = true | |
2248 | chrg = lleg.Touched:connect(function(ht) | |
2249 | hit = ht.Parent | |
2250 | if ht and hit:IsA("Model") then | |
2251 | if hit:FindFirstChild("Humanoid") then | |
2252 | if hit.Name ~= p.Name then | |
2253 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
2254 | Debounces.Slashed = true]]-- | |
2255 | hit:FindFirstChild("Humanoid"):TakeDamage(2) | |
2256 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2257 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70 | |
2258 | --Debounces.Slashed = false | |
2259 | --end | |
2260 | end | |
2261 | end | |
2262 | elseif ht and hit:IsA("Hat") then | |
2263 | if hit.Parent.Name ~= p.Name then | |
2264 | if hit.Parent:FindFirstChild("Humanoid") then | |
2265 | --[[ if Debounces.Slashing == true and Debounces.Slashed == false then | |
2266 | Debounces.Slashed = true]]-- | |
2267 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2) | |
2268 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2269 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70 | |
2270 | --Debounces.Slashed = false | |
2271 | end | |
2272 | end | |
2273 | end | |
2274 | end) | |
2275 | for i = 1, 14 do | |
2276 | 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) | |
2277 | 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) | |
2278 | 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) | |
2279 | 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) | |
2280 | 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) | |
2281 | 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) | |
2282 | 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) | |
2283 | if Debounces.on == false then break end | |
2284 | wait() | |
2285 | end | |
2286 | charge() | |
2287 | z = Instance.new("Sound",char) | |
2288 | z.SoundId = "rbxassetid://200632875" | |
2289 | z.Volume = 1 | |
2290 | z.Pitch = .8 | |
2291 | z1 = Instance.new("Sound",char) | |
2292 | z1.SoundId = "rbxassetid://200632875" | |
2293 | z1.Volume = 1 | |
2294 | z1.Pitch = .9 | |
2295 | z:Play() | |
2296 | z1:Play() | |
2297 | wait(1) | |
2298 | z:Destroy() | |
2299 | z1:Destroy() | |
2300 | chrg:disconnect() | |
2301 | if Debounces.CanAttack == false then | |
2302 | Debounces.CanAttack = true | |
2303 | Debounces.on = false | |
2304 | Debounces.NoIdl = false | |
2305 | larm.BrickColor = BrickColor.new("Really black") | |
2306 | rarm.BrickColor = BrickColor.new("Really black") | |
2307 | end | |
2308 | end | |
2309 | end | |
2310 | end) | |
2311 | ---------------------------------------------------- | |
2312 | pt = {0.7, 0.8, 0.9} | |
2313 | mouse.KeyDown:connect(function(key) | |
2314 | if key == "h" then | |
2315 | if Debounces.CanJoke == true then | |
2316 | Debounces.CanJoke = false | |
2317 | u = Instance.new("Sound") | |
2318 | u.SoundId = "http://www.roblox.com/asset/?id=333446256" | |
2319 | u.Parent = char | |
2320 | u.Looped = false | |
2321 | u.Pitch = pt[math.random(1,#pt)] | |
2322 | u.Volume = 1 | |
2323 | u2 = Instance.new("Sound") | |
2324 | u2.SoundId = "http://www.roblox.com/asset/?id=333446256" | |
2325 | u2.Parent = char | |
2326 | u2.Looped = false | |
2327 | u2.Pitch = u.Pitch | |
2328 | u2.Volume = 1 | |
2329 | wait(.01) | |
2330 | u:Play() | |
2331 | u2:Play() | |
2332 | wait(6) | |
2333 | u:Destroy() | |
2334 | u2:Destroy() | |
2335 | if Debounces.CanJoke == false then | |
2336 | Debounces.CanJoke = true | |
2337 | end | |
2338 | end | |
2339 | end | |
2340 | end) | |
2341 | ---------------------------------------------------- | |
2342 | mouse.KeyDown:connect(function(key) | |
2343 | - | if Debounces.CanJoke == true then |
2343 | + | |
2344 | - | Debounces.CanJoke = false |
2344 | + | if Debounces.CanJoke == true then |
2345 | Debounces.CanJoke = false | |
2346 | z = Instance.new("Sound",char) | |
2347 | z.SoundId = "rbxassetid://233774928" | |
2348 | z.Pitch = .76 | |
2349 | - | wait() |
2349 | + | |
2350 | - | z:Play() |
2350 | + | wait() |
2351 | - | wait(6) |
2351 | + | z:Play() |
2352 | - | z:Destroy() |
2352 | + | wait(6) |
2353 | - | if Debounces.CanJoke == false then |
2353 | + | z:Destroy() |
2354 | - | Debounces.CanJoke = true |
2354 | + | if Debounces.CanJoke == false then |
2355 | - | end |
2355 | + | Debounces.CanJoke = true |
2356 | - | end |
2356 | + | |
2357 | - | end |
2357 | + | |
2358 | end | |
2359 | end) | |
2360 | ---------------------------------------------------- | |
2361 | mouse.KeyDown:connect(function(key) | |
2362 | - | if Debounces.CanJoke == true then |
2362 | + | |
2363 | - | Debounces.CanJoke = false |
2363 | + | if Debounces.CanJoke == true then |
2364 | Debounces.CanJoke = false | |
2365 | z = Instance.new("Sound",char) | |
2366 | z.SoundId = "rbxassetid://135017456" | |
2367 | z.Pitch = .76 | |
2368 | - | wait() |
2368 | + | |
2369 | - | z:Play() |
2369 | + | wait() |
2370 | - | wait(6) |
2370 | + | z:Play() |
2371 | - | z:Destroy() |
2371 | + | wait(6) |
2372 | - | if Debounces.CanJoke == false then |
2372 | + | z:Destroy() |
2373 | - | Debounces.CanJoke = true |
2373 | + | if Debounces.CanJoke == false then |
2374 | - | end |
2374 | + | Debounces.CanJoke = true |
2375 | - | end |
2375 | + | |
2376 | - | end |
2376 | + | |
2377 | end | |
2378 | end) | |
2379 | ---------------------------------------------------- | |
2380 | mouse.KeyDown:connect(function(key) | |
2381 | - | if Debounces.CanJoke == true then |
2381 | + | |
2382 | - | Debounces.CanJoke = false |
2382 | + | if Debounces.CanJoke == true then |
2383 | Debounces.CanJoke = false | |
2384 | z = Instance.new("Sound",char) | |
2385 | z.SoundId = "rbxassetid://130792236" | |
2386 | z.Pitch = .76 | |
2387 | - | wait() |
2387 | + | |
2388 | - | z:Play() |
2388 | + | wait() |
2389 | - | wait(6) |
2389 | + | z:Play() |
2390 | - | z:Destroy() |
2390 | + | wait(6) |
2391 | - | if Debounces.CanJoke == false then |
2391 | + | z:Destroy() |
2392 | - | Debounces.CanJoke = true |
2392 | + | if Debounces.CanJoke == false then |
2393 | - | end |
2393 | + | Debounces.CanJoke = true |
2394 | - | end |
2394 | + | |
2395 | - | end |
2395 | + | |
2396 | end | |
2397 | end) | |
2398 | ---------------------------------------------------- | |
2399 | mouse.KeyDown:connect(function(key) | |
2400 | - | if Debounces.CanJoke == true then |
2400 | + | |
2401 | - | Debounces.CanJoke = false |
2401 | + | if Debounces.CanJoke == true then |
2402 | Debounces.CanJoke = false | |
2403 | z = Instance.new("Sound",char) | |
2404 | z.SoundId = "rbxassetid://135014184" | |
2405 | z.Pitch = .76 | |
2406 | - | wait() |
2406 | + | |
2407 | - | z:Play() |
2407 | + | wait() |
2408 | - | wait(4) |
2408 | + | z:Play() |
2409 | - | z:Destroy() |
2409 | + | wait(4) |
2410 | - | if Debounces.CanJoke == false then |
2410 | + | z:Destroy() |
2411 | - | Debounces.CanJoke = true |
2411 | + | if Debounces.CanJoke == false then |
2412 | - | end |
2412 | + | Debounces.CanJoke = true |
2413 | - | end |
2413 | + | |
2414 | - | end |
2414 | + | |
2415 | end | |
2416 | end) | |
2417 | ---------------------------------------------------- | |
2418 | mouse.KeyDown:connect(function(key) | |
2419 | if key == "x" then | |
2420 | if Debounces.CanAttack == true then | |
2421 | Debounces.CanAttack = false | |
2422 | Debounces.NoIdl = true | |
2423 | Debounces.on = true | |
2424 | Debounces.ks = true | |
2425 | for i = 1, 10 do | |
2426 | 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) | |
2427 | 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) | |
2428 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.4)*CFrame.Angles(math.rad(-26),math.rad(0),0), 0.6) | |
2429 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.6) | |
2430 | 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) | |
2431 | 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) | |
2432 | 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) | |
2433 | if Debounces.on == false then break end | |
2434 | wait() | |
2435 | end | |
2436 | z = Instance.new("Sound",hed) | |
2437 | z.SoundId = "rbxassetid://169445092" | |
2438 | z.Volume = 1 | |
2439 | wait(0.1) | |
2440 | z:Play() | |
2441 | kik = rleg.Touched:connect(function(ht) | |
2442 | hit = ht.Parent | |
2443 | if ht and hit:IsA("Model") then | |
2444 | if hit:FindFirstChild("Humanoid") then | |
2445 | if hit.Name ~= p.Name then | |
2446 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
2447 | Debounces.Slashed = true]]-- | |
2448 | if Debounces.ks==true then | |
2449 | z = Instance.new("Sound",hed) | |
2450 | z.SoundId = "rbxassetid://169380525" | |
2451 | z.Volume = 1 | |
2452 | z:Play() | |
2453 | Debounces.ks=false | |
2454 | end | |
2455 | hit:FindFirstChild("Humanoid"):TakeDamage(2) | |
2456 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2457 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70 | |
2458 | --Debounces.Slashed = false | |
2459 | --end | |
2460 | end | |
2461 | end | |
2462 | elseif ht and hit:IsA("Hat") then | |
2463 | if hit.Parent.Name ~= p.Name then | |
2464 | if hit.Parent:FindFirstChild("Humanoid") then | |
2465 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
2466 | Debounces.Slashed = true]]-- | |
2467 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2) | |
2468 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2469 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70 | |
2470 | --Debounces.Slashed = false | |
2471 | --end | |
2472 | end | |
2473 | end | |
2474 | end | |
2475 | end) | |
2476 | for i = 1, 8 do | |
2477 | 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) | |
2478 | 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) | |
2479 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,.2)*CFrame.Angles(math.rad(8),math.rad(0),0), 0.7) | |
2480 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(16), math.rad(0), 0), 0.7) | |
2481 | 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) | |
2482 | 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) | |
2483 | 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) | |
2484 | if Debounces.on == false then break end | |
2485 | wait() | |
2486 | end | |
2487 | kik:disconnect() | |
2488 | if Debounces.CanAttack == false then | |
2489 | Debounces.CanAttack = true | |
2490 | Debounces.on = false | |
2491 | Debounces.NoIdl = false | |
2492 | end | |
2493 | end | |
2494 | end | |
2495 | end) | |
2496 | ---------------------------------------------------- | |
2497 | mouse.KeyDown:connect(function(key) | |
2498 | if key == "c" then | |
2499 | if Debounces.CanAttack == true then | |
2500 | Debounces.CanAttack = false | |
2501 | Debounces.NoIdl = true | |
2502 | Debounces.on = true | |
2503 | SIDZ = {"231917744", "231917742"} | |
2504 | PTZ = {0.7, 0.8, 0.9, 1} | |
2505 | for i = 1, 20 do | |
2506 | wait() | |
2507 | for i,v in pairs(char.Absolution:children()) do | |
2508 | if v:IsA("Part") or v:IsA("WedgePart") then | |
2509 | v.Transparency = v.Transparency + 0.05 | |
2510 | end | |
2511 | end | |
2512 | end | |
2513 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
2514 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
2515 | local List = {} | |
2516 | for i,v in pairs(workspace:GetChildren())do | |
2517 | if v:IsA("Model")then | |
2518 | if v:findFirstChild("Torso")then | |
2519 | if v ~= char then | |
2520 | if(v.Torso.Position -Position).magnitude <= Distance then | |
2521 | table.insert(List,v) | |
2522 | end | |
2523 | end | |
2524 | end | |
2525 | end | |
2526 | end | |
2527 | return List | |
2528 | end | |
2529 | GroundPound() | |
2530 | for i = 1, 5 do | |
2531 | 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) | |
2532 | 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) | |
2533 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6) | |
2534 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6) | |
2535 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6) | |
2536 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2537 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2538 | if Debounces.on == false then break end | |
2539 | wait() | |
2540 | end | |
2541 | GroundPound() | |
2542 | for i = 1, 5 do | |
2543 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7) | |
2544 | 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) | |
2545 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6) | |
2546 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6) | |
2547 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2548 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6) | |
2549 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2550 | if Debounces.on == false then break end | |
2551 | wait() | |
2552 | end | |
2553 | GroundPound() | |
2554 | for i = 1, 5 do | |
2555 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7) | |
2556 | 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) | |
2557 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6) | |
2558 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6) | |
2559 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6) | |
2560 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2561 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2562 | if Debounces.on == false then break end | |
2563 | wait() | |
2564 | end | |
2565 | GroundPound() | |
2566 | for i = 1, 5 do | |
2567 | 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) | |
2568 | 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) | |
2569 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6) | |
2570 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6) | |
2571 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2572 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6) | |
2573 | 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) | |
2574 | if Debounces.on == false then break end | |
2575 | wait() | |
2576 | end | |
2577 | GroundPound() | |
2578 | for i = 1, 5 do | |
2579 | 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) | |
2580 | 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) | |
2581 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6) | |
2582 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6) | |
2583 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6) | |
2584 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2585 | 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) | |
2586 | if Debounces.on == false then break end | |
2587 | wait() | |
2588 | end | |
2589 | GroundPound() | |
2590 | for i = 1, 5 do | |
2591 | 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) | |
2592 | 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) | |
2593 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6) | |
2594 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6) | |
2595 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2596 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6) | |
2597 | 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) | |
2598 | if Debounces.on == false then break end | |
2599 | wait() | |
2600 | end | |
2601 | for i = 1, 18 do | |
2602 | 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) | |
2603 | 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) | |
2604 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.4) | |
2605 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.4) | |
2606 | 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) | |
2607 | 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) | |
2608 | 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) | |
2609 | if Debounces.on == false then break end | |
2610 | wait() | |
2611 | end | |
2612 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,25))do | |
2613 | if v:FindFirstChild('Humanoid') then | |
2614 | v.Humanoid:TakeDamage(math.random(20,60)) | |
2615 | v.Humanoid.PlatformStand = true | |
2616 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100 | |
2617 | end | |
2618 | end | |
2619 | x = Instance.new("Sound",char) | |
2620 | x.SoundId = "rbxassetid://"..SIDZ[math.random(1,#SIDZ)] | |
2621 | x.Pitch = PTZ[math.random(1,#PTZ)] | |
2622 | x.Volume = 1 | |
2623 | wait(0.1) | |
2624 | x:Play() | |
2625 | Crater(hed,20) | |
2626 | for i = 1, 14 do | |
2627 | 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) | |
2628 | 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) | |
2629 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.6) | |
2630 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -5, 0) * CFrame.Angles(math.rad(-90), math.rad(0), 0), 0.6) | |
2631 | 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) | |
2632 | 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) | |
2633 | 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) | |
2634 | if Debounces.on == false then break end | |
2635 | wait() | |
2636 | end | |
2637 | if Debounces.CanAttack == false then | |
2638 | Debounces.CanAttack = true | |
2639 | Debounces.on = false | |
2640 | Debounces.NoIdl = false | |
2641 | for i = 1, 20 do | |
2642 | wait() | |
2643 | for i,v in pairs(char.Absolution:children()) do | |
2644 | if v:IsA("Part") or v:IsA("WedgePart") then | |
2645 | v.Transparency = v.Transparency - 0.05 | |
2646 | end | |
2647 | end | |
2648 | end | |
2649 | end | |
2650 | end | |
2651 | end | |
2652 | end) | |
2653 | ----------------------------------------------------176349813 | |
2654 | mouse.KeyDown:connect(function(key) | |
2655 | if key == "b" then | |
2656 | hum.WalkSpeed = 0.01 | |
2657 | if Debounces.CanAttack == true then | |
2658 | Debounces.CanAttack = false | |
2659 | Debounces.NoIdl = true | |
2660 | Debounces.on = true | |
2661 | for i = 1,20 do | |
2662 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(75), 0, math.rad(-30)), 0.1) | |
2663 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(75), 0, math.rad(30)), 0.1) | |
2664 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.1) | |
2665 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.1) | |
2666 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles (math.rad(30), 0, math.rad(-5)), 0.1) | |
2667 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles (math.rad(30), 0, math.rad(5)), 0.1) | |
2668 | 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) | |
2669 | if Debounces.on == false then break end | |
2670 | wait() | |
2671 | end | |
2672 | wait(1) | |
2673 | v = Instance.new("Sound") | |
2674 | v.SoundId = "rbxassetid://181384451" | |
2675 | v.Parent = char | |
2676 | v.Looped = false | |
2677 | v.Pitch = 1.04 | |
2678 | v.Volume = 1 | |
2679 | wait(.01) | |
2680 | v:Play() | |
2681 | ||
2682 | if Daytime == true then | |
2683 | Daytime = false | |
2684 | l.TimeOfDay = 24 | |
2685 | else | |
2686 | Daytime = true | |
2687 | l.TimeOfDay = 12 | |
2688 | l.OutdoorAmbient = Color3.new(0.498039, 0.498039, 0.498039) | |
2689 | end | |
2690 | ||
2691 | local Shockwave = function() | |
2692 | local rng1 = Instance.new("Part", char) | |
2693 | rng1.Anchored = true | |
2694 | rng1.BrickColor = BrickColor.new("Really black") | |
2695 | rng1.CanCollide = false | |
2696 | rng1.FormFactor = 3 | |
2697 | rng1.Name = "Ring" | |
2698 | rng1.Size = Vector3.new(1, 1, 1) | |
2699 | rng1.Transparency = 0.35 | |
2700 | rng1.TopSurface = 0 | |
2701 | rng1.BottomSurface = 0 | |
2702 | local rngm1 = Instance.new("SpecialMesh", rng) | |
2703 | rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2704 | rngm1.Scale = Vector3.new(10, 10, 1) | |
2705 | rng1.CFrame = CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0) | |
2706 | local Wave = Instance.new("Part", game.Workspace--[[?]]) | |
2707 | Wave.Name = "Shockwave" | |
2708 | Wave.BrickColor = BrickColor.new("Really black") | |
2709 | Wave.Size = Vector3.new(1, 1, 1) | |
2710 | Wave.Shape = "Ball" | |
2711 | Wave.CanCollide = false | |
2712 | Wave.Anchored = true | |
2713 | Wave.TopSurface = 0 | |
2714 | Wave.BottomSurface = 0 | |
2715 | Wave.Touched:connect(function(hit) | |
2716 | if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then | |
2717 | local Occlude = true | |
2718 | local NotOccludes = { | |
2719 | char.Name; | |
2720 | "Wings"; | |
2721 | "Scythe"; | |
2722 | "Thingy"; | |
2723 | "Thingy2"; -- put all of the names in a table pls | |
2724 | } | |
2725 | for i,v in pairs(NotOccludes) do | |
2726 | if hit.Parent.Name == v then | |
2727 | Occlude = false | |
2728 | end | |
2729 | end | |
2730 | --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 | |
2731 | if Occlude then | |
2732 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 1 | |
2733 | hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * -120 | |
2734 | end | |
2735 | end | |
2736 | end) | |
2737 | ||
2738 | Instance.new("SpecialMesh", Wave).MeshType = "Sphere" | |
2739 | ||
2740 | coroutine.wrap(function() | |
2741 | for i = 1, 20, 0.2 do | |
2742 | rngm1.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
2743 | rng1.Transparency = i/20 | |
2744 | wait() | |
2745 | end | |
2746 | wait() | |
2747 | rng1:Destroy() | |
2748 | end)() | |
2749 | ||
2750 | Delay(0, function() | |
2751 | ||
2752 | if Daytime == false then | |
2753 | for i = 1, 50, 1 do | |
2754 | Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i) | |
2755 | Wave.CFrame = char.Torso.CFrame | |
2756 | local t = i / 50 | |
2757 | Wave.Transparency = t | |
2758 | wait() | |
2759 | end | |
2760 | else | |
2761 | for i = 1, 50, 1 do | |
2762 | Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i) | |
2763 | Wave.CFrame = char.Torso.CFrame | |
2764 | local t = i / 50 | |
2765 | Wave.Transparency = t | |
2766 | wait() | |
2767 | end | |
2768 | end | |
2769 | Wave:Destroy() | |
2770 | end) | |
2771 | Delay(0, function() | |
2772 | while wait() do | |
2773 | if Wave ~= nil then | |
2774 | Wave.CFrame = char.Torso.CFrame | |
2775 | else | |
2776 | break | |
2777 | end | |
2778 | end | |
2779 | end) | |
2780 | end | |
2781 | Shockwave() | |
2782 | for i = 1, 15 do | |
2783 | 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) | |
2784 | 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) | |
2785 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1) | |
2786 | 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) | |
2787 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1) | |
2788 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
2789 | if Debounces.on == false then break end | |
2790 | wait() | |
2791 | end | |
2792 | for i = 1, 15 do | |
2793 | 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) | |
2794 | 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) | |
2795 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1) | |
2796 | 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) | |
2797 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
2798 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1) | |
2799 | if Debounces.on == false then break end | |
2800 | wait() | |
2801 | end | |
2802 | for i = 1, 15 do | |
2803 | 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) | |
2804 | 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) | |
2805 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1) | |
2806 | 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) | |
2807 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1) | |
2808 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
2809 | if Debounces.on == false then break end | |
2810 | wait() | |
2811 | end | |
2812 | for i = 1, 15 do | |
2813 | 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) | |
2814 | 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) | |
2815 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1) | |
2816 | 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) | |
2817 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
2818 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1) | |
2819 | if Debounces.on == false then break end | |
2820 | wait() | |
2821 | end | |
2822 | for i = 1, 15 do | |
2823 | 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) | |
2824 | 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) | |
2825 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1) | |
2826 | 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) | |
2827 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1) | |
2828 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
2829 | if Debounces.on == false then break end | |
2830 | wait() | |
2831 | end | |
2832 | for i = 1, 15 do | |
2833 | 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) | |
2834 | 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) | |
2835 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1) | |
2836 | 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) | |
2837 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
2838 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1) | |
2839 | if Debounces.on == false then break end | |
2840 | wait() | |
2841 | end | |
2842 | wait(1.4) | |
2843 | Debounces.NoIdl = false | |
2844 | hum.WalkSpeed = 5 | |
2845 | Debounces.on = false | |
2846 | wait() | |
2847 | if Debounces.CanAttack == false then | |
2848 | Debounces.CanAttack = true | |
2849 | v:Destroy() | |
2850 | end | |
2851 | end | |
2852 | end | |
2853 | end) | |
2854 | ---------------------------------------------------- | |
2855 | mouse.KeyDown:connect(function(key) | |
2856 | if key == "m" then | |
2857 | hum.WalkSpeed = 0 | |
2858 | if Debounces.CanAttack == true then | |
2859 | Debounces.CanAttack = false | |
2860 | Debounces.on = true | |
2861 | Debounces.NoIdl = true | |
2862 | --[[x = Instance.new("Sound",char) | |
2863 | x.SoundId = "http://www.roblox.com/asset/?id=169445572" | |
2864 | x.Looped = false | |
2865 | x.Pitch = 1.1 | |
2866 | x.Volume = 1 | |
2867 | x:Play() | |
2868 | x2 = Instance.new("Sound",char) | |
2869 | x2.SoundId = "http://www.roblox.com/asset/?id=169380495" | |
2870 | x2.Looped = false | |
2871 | x2.Pitch = .7 | |
2872 | x2.Volume = 1 | |
2873 | wait(.1) | |
2874 | x:Play() | |
2875 | x2:Play() | |
2876 | for i = 1, 20 do | |
2877 | 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) | |
2878 | 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) | |
2879 | 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) | |
2880 | 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) | |
2881 | 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) | |
2882 | 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) | |
2883 | 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) | |
2884 | if Debounces.on == false then break end | |
2885 | wait() | |
2886 | x:Destroy() | |
2887 | x2:Destroy() | |
2888 | end | |
2889 | wait(1)]]-- | |
2890 | local rng = Instance.new("Part", char) | |
2891 | rng.Anchored = true | |
2892 | rng.BrickColor = BrickColor.new("Really black") | |
2893 | rng.CanCollide = false | |
2894 | rng.FormFactor = 3 | |
2895 | rng.Name = "Ring" | |
2896 | rng.Size = Vector3.new(1, 1, 1) | |
2897 | rng.Transparency = 0.35 | |
2898 | rng.TopSurface = 0 | |
2899 | rng.BottomSurface = 0 | |
2900 | rng.Position = torso.Position - Vector3.new(0,2,0) | |
2901 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
2902 | local rngm = Instance.new("SpecialMesh", rng) | |
2903 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2904 | rngm.Scale = Vector3.new(1, 1, 2) | |
2905 | x = Instance.new("Sound",char) | |
2906 | x.SoundId = "http://www.roblox.com/asset/?id=169445602" | |
2907 | x.Looped = false | |
2908 | x.Pitch = .7 | |
2909 | x.Volume = 1 | |
2910 | x:Play() | |
2911 | coroutine.wrap(function() | |
2912 | for i = 1, 60, 2 do | |
2913 | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1) | |
2914 | rng.Transparency = i/60 | |
2915 | wait() | |
2916 | end | |
2917 | wait() | |
2918 | rng:Destroy() | |
2919 | end)() | |
2920 | hum.WalkSpeed = 50 | |
2921 | BV = Instance.new("BodyVelocity", torso) | |
2922 | BV.maxForce = Vector3.new(0,200000,0) | |
2923 | BV.P = 100000 | |
2924 | BV.velocity = Vector3.new(0,800,0) | |
2925 | for i = 1, 20 do | |
2926 | 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) | |
2927 | 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) | |
2928 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(40), 0, math.rad(-20)), 0.7) | |
2929 | 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) | |
2930 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7) | |
2931 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, 0, -2) * CFrame.Angles(math.rad(0), 0, 0), 0.7) | |
2932 | 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) | |
2933 | if Debounces.on == false then break end | |
2934 | wait() | |
2935 | end | |
2936 | x:Destroy() | |
2937 | BV:Destroy() | |
2938 | --[[for i = 1, 30 do | |
2939 | 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) | |
2940 | 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) | |
2941 | 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) | |
2942 | 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) | |
2943 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -1) * CFrame.Angles(math.rad(20), 0, 0), 0.3) | |
2944 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.6) * CFrame.Angles(math.rad(-30), 0, 0), 0.3) | |
2945 | if Debounces.on == false then break end | |
2946 | wait() | |
2947 | end]]-- | |
2948 | if (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 1 then | |
2949 | for i = 1, 30 do | |
2950 | 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) | |
2951 | 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) | |
2952 | 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) | |
2953 | 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) | |
2954 | 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) | |
2955 | 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) | |
2956 | 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) | |
2957 | if Debounces.on == false then break end | |
2958 | wait() | |
2959 | end | |
2960 | end | |
2961 | Debounces.on = false | |
2962 | Debounces.NoIdl = false | |
2963 | local ry,ht,ps=nil,nil,nil | |
2964 | - | ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char}) |
2964 | + | |
2965 | - | wait() |
2965 | + | ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char}) |
2966 | wait() | |
2967 | end | |
2968 | z = Instance.new("Sound",char) | |
2969 | z.SoundId = "rbxassetid://142070127" | |
2970 | z.Volume = 1 | |
2971 | wait(.1) | |
2972 | z:Play() | |
2973 | Landing() | |
2974 | hum.WalkSpeed = 8 | |
2975 | if Debounces.CanAttack == false then | |
2976 | Debounces.CanAttack = true | |
2977 | end | |
2978 | end | |
2979 | end | |
2980 | end) | |
2981 | ---------------------------------------------------- | |
2982 | Grab = false | |
2983 | mouse.KeyDown:connect(function(key) | |
2984 | if key == "z" then | |
2985 | larm.BrickColor = BrickColor.new("Bright red") | |
2986 | rarm.BrickColor = BrickColor.new("Bright red") | |
2987 | Debounces.on = true | |
2988 | Debounces.NoIdl = true | |
2989 | if Grab == false then | |
2990 | gp = nil | |
2991 | con1=larm.Touched:connect(function(hit) -- this is grab | |
2992 | ht = hit.Parent | |
2993 | hum1=ht:FindFirstChild('Humanoid') | |
2994 | if hum1 ~= nil then | |
2995 | hum1.PlatformStand=true | |
2996 | gp = ht | |
2997 | Grab = true | |
2998 | asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-3.3,0),CFrame.new(0,0,0)) | |
2999 | asd.Parent = larm | |
3000 | asd.Name = "asd" | |
3001 | asd.C0=asd.C0*CFrame.Angles(math.rad(-90),0,0) | |
3002 | elseif hum1 == nil then | |
3003 | con1:disconnect() | |
3004 | wait() return | |
3005 | end | |
3006 | end) | |
3007 | for i = 1, 18 do | |
3008 | 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) | |
3009 | 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) | |
3010 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2) | |
3011 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.8, 0) * CFrame.Angles(math.rad(-60), math.rad(0), 0), 0.2) | |
3012 | 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) | |
3013 | 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) | |
3014 | 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) | |
3015 | if Debounces.on == false then break end | |
3016 | wait() | |
3017 | end | |
3018 | con1:disconnect() | |
3019 | Debounces.on = false | |
3020 | Debounces.NoIdl = false | |
3021 | elseif Grab == true then | |
3022 | Grab = false | |
3023 | for i = 1, 20 do | |
3024 | 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) | |
3025 | 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) | |
3026 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2) | |
3027 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
3028 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
3029 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
3030 | 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) | |
3031 | if Debounces.on == false then end | |
3032 | wait() | |
3033 | end | |
3034 | if gp ~= nil then | |
3035 | for i,v in pairs(larm:GetChildren()) do | |
3036 | if v.Name == "asd" and v:IsA("Weld") then | |
3037 | v:Remove() | |
3038 | end | |
3039 | end | |
3040 | bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso")) | |
3041 | bv.maxForce = Vector3.new(400000, 400000, 400000) | |
3042 | bv.P = 125000 | |
3043 | bv.velocity = char.Head.CFrame.lookVector * 200 | |
3044 | for i = 1, 12 do | |
3045 | 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) | |
3046 | if Debounces.on == false then end | |
3047 | wait() | |
3048 | end | |
3049 | ht=nil | |
3050 | Spawn(function() | |
3051 | wait(0.5) | |
3052 | bv:Destroy() | |
3053 | end) | |
3054 | Debounces.on = false | |
3055 | Debounces.NoIdl = false | |
3056 | elseif ht == nil then wait() | |
3057 | Grab = false | |
3058 | Debounces.on = false | |
3059 | Debounces.NoIdl = false | |
3060 | end | |
3061 | end | |
3062 | end | |
3063 | end) | |
3064 | ---------------------------------------------------- | |
3065 | mouse.KeyDown:connect(function(key) | |
3066 | if string.byte(key) == 52 then | |
3067 | char.Humanoid.WalkSpeed = 21 | |
3068 | end | |
3069 | end) | |
3070 | mouse.KeyUp:connect(function(key) | |
3071 | if string.byte(key) == 52 then | |
3072 | char.Humanoid.WalkSpeed = 5 | |
3073 | end | |
3074 | end) | |
3075 | ---------------------------------------------------- | |
3076 | local animpose = "Idle" | |
3077 | local lastanimpose = "Idle" | |
3078 | local sine = 0 | |
3079 | local change = 1 | |
3080 | local val = 0 | |
3081 | local ffing = false | |
3082 | ---------------------------------------------------- | |
3083 | --[[x = Instance.new("Sound", char) | |
3084 | x.SoundId = "http://www.roblox.com/asset/?id=187922823" | |
3085 | x.Looped = true | |
3086 | x.Volume = 1 | |
3087 | x.Pitch = 1 | |
3088 | local footsteps = false]]-- | |
3089 | ------------------------------- | |
3090 | game:GetService("RunService").RenderStepped:connect(function() | |
3091 | --[[if char.Humanoid.Jump == true then | |
3092 | jump = true | |
3093 | else | |
3094 | jump = false | |
3095 | end]] | |
3096 | char.Humanoid.FreeFalling:connect(function(f) | |
3097 | if f then | |
3098 | ffing = true | |
3099 | else | |
3100 | ffing = false | |
3101 | end | |
3102 | end) | |
3103 | sine = sine + change | |
3104 | if jumpn == true then | |
3105 | animpose = "Jumping" | |
3106 | elseif ffing == true then | |
3107 | animpose = "Freefalling" | |
3108 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
3109 | animpose = "Idle" | |
3110 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
3111 | animpose = "Walking" | |
3112 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
3113 | animpose = "Running" | |
3114 | end | |
3115 | if animpose ~= lastanimpose then | |
3116 | sine = 0 | |
3117 | if Debounces.NoIdl == false then | |
3118 | if animpose == "Idle" then | |
3119 | for i = 1, 2 do | |
3120 | 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) | |
3121 | 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) | |
3122 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2) | |
3123 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
3124 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
3125 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
3126 | 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) | |
3127 | end | |
3128 | elseif animpose == "Walking" then | |
3129 | for i = 1, 2 do | |
3130 | 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) | |
3131 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0)*CFrame.Angles(0, math.rad(1), math.rad(-10)), 0.2) | |
3132 | 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) | |
3133 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-4), 0, math.rad(0)), 0.2) | |
3134 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4) | |
3135 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4) | |
3136 | 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) | |
3137 | end | |
3138 | elseif animpose == "Running" then | |
3139 | for i = 1, 2 do | |
3140 | 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) | |
3141 | 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) | |
3142 | 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) | |
3143 | 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) | |
3144 | 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) | |
3145 | 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) | |
3146 | 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) | |
3147 | end | |
3148 | wait() | |
3149 | end | |
3150 | else | |
3151 | end | |
3152 | end | |
3153 | lastanimpose = animpose | |
3154 | if Debounces.NoIdl == false then | |
3155 | if animpose == "Idle" then | |
3156 | if stanceToggle == "Normal" then | |
3157 | change = 0.5 | |
3158 | 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) | |
3159 | 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) | |
3160 | 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) | |
3161 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-40), 0), 0.2) | |
3162 | 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) | |
3163 | 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) | |
3164 | 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) | |
3165 | elseif stanceToggle == "Sitting" then | |
3166 | 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) | |
3167 | 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) | |
3168 | 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) | |
3169 | 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) | |
3170 | 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) | |
3171 | 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) | |
3172 | 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) | |
3173 | end | |
3174 | elseif animpose == "Walking" then | |
3175 | if stanceToggle == "Normal" then | |
3176 | change = 1 | |
3177 | 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) | |
3178 | 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) | |
3179 | 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) | |
3180 | 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) | |
3181 | 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) | |
3182 | 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) | |
3183 | 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) | |
3184 | end | |
3185 | elseif animpose == "Running" then | |
3186 | change = 1 | |
3187 | 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) | |
3188 | 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) | |
3189 | 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) | |
3190 | 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) | |
3191 | 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) | |
3192 | 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) | |
3193 | 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) | |
3194 | end | |
3195 | end | |
3196 | --[[if animpose == "Walking" then | |
3197 | if footsteps == false then | |
3198 | x:Play() | |
3199 | footsteps = true | |
3200 | end | |
3201 | x.Pitch = 1.1 | |
3202 | elseif animpose == "Idle" then | |
3203 | x:Stop() | |
3204 | footsteps = false | |
3205 | elseif animpose == "Running" then | |
3206 | x.Pitch = 1.2 | |
3207 | if footsteps == false then | |
3208 | x:Play() | |
3209 | footsteps = true | |
3210 | end | |
3211 | end]]-- | |
3212 | - | game.Players.LocalPlayer.Humanoid.MaxHealth = 10000000 |
3212 | + | |
3213 | hum.MaxHealth = 10000000 | |
3214 | - | game.Players.LocalPlayer.Humanoid.Health = 10000000 |
3214 | + | |
3215 | hum.Health = 10000000 " | |
3216 | z.Looped = true | |
3217 | z.Pitch = 1 | |
3218 | z.Volume = 10 | |
3219 | wait(.01) | |
3220 | z:Play() | |
3221 | ---------------------------------------------------- | |
3222 | local m = Instance.new("Model") | |
3223 | m.Name = "Absolution" | |
3224 | p1 = Instance.new("Part", m) | |
3225 | p1.BrickColor = BrickColor.new("Bright Orange") | |
3226 | p1.FormFactor = Enum.FormFactor.Custom | |
3227 | p1.Size = Vector3.new(1, 0.600000024, 1.5) | |
3228 | 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) | |
3229 | p1.CanCollide = false | |
3230 | p1.Locked = true | |
3231 | p1.Elasticity = 0 | |
3232 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
3233 | p1.TopSurface = Enum.SurfaceType.Smooth | |
3234 | b1 = Instance.new("SpecialMesh", p1) | |
3235 | b1.MeshType = Enum.MeshType.Wedge | |
3236 | b1.Name = "Mesh" | |
3237 | b1.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928) | |
3238 | p2 = Instance.new("Part", m) | |
3239 | p2.BrickColor = BrickColor.new("Really black") | |
3240 | p2.FormFactor = Enum.FormFactor.Custom | |
3241 | p2.Size = Vector3.new(1, 2.9000001, 1) | |
3242 | 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) | |
3243 | p2.CanCollide = false | |
3244 | p2.Locked = true | |
3245 | p2.Elasticity = 0 | |
3246 | p2.BottomSurface = Enum.SurfaceType.Smooth | |
3247 | p2.TopSurface = Enum.SurfaceType.Smooth | |
3248 | b2 = Instance.new("BlockMesh", p2) | |
3249 | b2.Name = "Mesh" | |
3250 | b2.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
3251 | p3 = Instance.new("Part", m) | |
3252 | p3.BrickColor = BrickColor.new("Bright Orange") | |
3253 | p3.FormFactor = Enum.FormFactor.Custom | |
3254 | p3.Size = Vector3.new(1, 1.20000005, 2.0999999) | |
3255 | 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) | |
3256 | p3.CanCollide = false | |
3257 | p3.Locked = true | |
3258 | p3.Elasticity = 0 | |
3259 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
3260 | p3.TopSurface = Enum.SurfaceType.Smooth | |
3261 | b3 = Instance.new("SpecialMesh", p3) | |
3262 | b3.MeshType = Enum.MeshType.Wedge | |
3263 | b3.Name = "Mesh" | |
3264 | b3.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928) | |
3265 | p4 = Instance.new("Part", m) | |
3266 | p4.BrickColor = BrickColor.new("Bright Orange") | |
3267 | p4.FormFactor = Enum.FormFactor.Custom | |
3268 | p4.Size = Vector3.new(1, 1.43999994, 2.05000019) | |
3269 | 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) | |
3270 | p4.CanCollide = false | |
3271 | p4.Locked = true | |
3272 | p4.Elasticity = 0 | |
3273 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
3274 | p4.TopSurface = Enum.SurfaceType.Smooth | |
3275 | b4 = Instance.new("SpecialMesh", p4) | |
3276 | b4.MeshType = Enum.MeshType.Wedge | |
3277 | b4.Name = "Mesh" | |
3278 | b4.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988) | |
3279 | p5 = Instance.new("Part", m) | |
3280 | p5.BrickColor = BrickColor.new("Bright Orange") | |
3281 | p5.FormFactor = Enum.FormFactor.Custom | |
3282 | p5.Size = Vector3.new(1, 1.20000005, 3.20000005) | |
3283 | 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) | |
3284 | p5.CanCollide = false | |
3285 | p5.Locked = true | |
3286 | p5.Elasticity = 0 | |
3287 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
3288 | p5.TopSurface = Enum.SurfaceType.Smooth | |
3289 | b5 = Instance.new("SpecialMesh", p5) | |
3290 | b5.MeshType = Enum.MeshType.Wedge | |
3291 | b5.Name = "Mesh" | |
3292 | b5.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928) | |
3293 | p6 = Instance.new("Part", m) | |
3294 | p6.Name = "Handle" | |
3295 | p6.BrickColor = BrickColor.new("Really black") | |
3296 | p6.FormFactor = Enum.FormFactor.Custom | |
3297 | p6.Size = Vector3.new(1.5999999, 13.6000004, 1) | |
3298 | 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) | |
3299 | p6.CanCollide = false | |
3300 | p6.Locked = true | |
3301 | p6.Elasticity = 0 | |
3302 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
3303 | p6.TopSurface = Enum.SurfaceType.Smooth | |
3304 | b6 = Instance.new("BlockMesh", p6) | |
3305 | b6.Name = "Mesh" | |
3306 | b6.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
3307 | p7 = Instance.new("Part", m) | |
3308 | p7.BrickColor = BrickColor.new("Bright Orange") | |
3309 | p7.FormFactor = Enum.FormFactor.Custom | |
3310 | p7.Size = Vector3.new(1, 1.00999999, 1.05000019) | |
3311 | 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) | |
3312 | p7.CanCollide = false | |
3313 | p7.Locked = true | |
3314 | p7.Elasticity = 0 | |
3315 | p7.BottomSurface = Enum.SurfaceType.Smooth | |
3316 | p7.TopSurface = Enum.SurfaceType.Smooth | |
3317 | b7 = Instance.new("SpecialMesh", p7) | |
3318 | b7.MeshType = Enum.MeshType.Wedge | |
3319 | b7.Name = "Mesh" | |
3320 | b7.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988) | |
3321 | p8 = Instance.new("Part", m) | |
3322 | p8.BrickColor = BrickColor.new("Bright Orange") | |
3323 | p8.FormFactor = Enum.FormFactor.Custom | |
3324 | p8.Size = Vector3.new(1, 1.00999999, 1.05000019) | |
3325 | 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) | |
3326 | p8.CanCollide = false | |
3327 | p8.Locked = true | |
3328 | p8.Elasticity = 0 | |
3329 | p8.BottomSurface = Enum.SurfaceType.Smooth | |
3330 | p8.TopSurface = Enum.SurfaceType.Smooth | |
3331 | b8 = Instance.new("SpecialMesh", p8) | |
3332 | b8.MeshType = Enum.MeshType.Wedge | |
3333 | b8.Name = "Mesh" | |
3334 | b8.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988) | |
3335 | p9 = Instance.new("Part", m) | |
3336 | p9.BrickColor = BrickColor.new("Really black") | |
3337 | p9.FormFactor = Enum.FormFactor.Custom | |
3338 | p9.Size = Vector3.new(1, 1.07999957, 1) | |
3339 | 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) | |
3340 | p9.CanCollide = false | |
3341 | p9.Locked = true | |
3342 | p9.Elasticity = 0 | |
3343 | p9.BottomSurface = Enum.SurfaceType.Smooth | |
3344 | p9.TopSurface = Enum.SurfaceType.Smooth | |
3345 | b9 = Instance.new("BlockMesh", p9) | |
3346 | b9.Name = "Mesh" | |
3347 | b9.Scale = Vector3.new(0.550000012, 1, 0.550000012) | |
3348 | p10 = Instance.new("Part", m) | |
3349 | p10.BrickColor = BrickColor.new("Really black") | |
3350 | p10.FormFactor = Enum.FormFactor.Custom | |
3351 | p10.Size = Vector3.new(1, 1.41999948, 1) | |
3352 | 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) | |
3353 | p10.CanCollide = false | |
3354 | p10.Locked = true | |
3355 | p10.Elasticity = 0 | |
3356 | p10.BottomSurface = Enum.SurfaceType.Smooth | |
3357 | p10.TopSurface = Enum.SurfaceType.Smooth | |
3358 | b10 = Instance.new("BlockMesh", p10) | |
3359 | b10.Name = "Mesh" | |
3360 | b10.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
3361 | p11 = Instance.new("Part", m) | |
3362 | p11.BrickColor = BrickColor.new("Really black") | |
3363 | p11.FormFactor = Enum.FormFactor.Custom | |
3364 | p11.Size = Vector3.new(1, 1.50999951, 1) | |
3365 | 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) | |
3366 | p11.CanCollide = false | |
3367 | p11.Locked = true | |
3368 | p11.Elasticity = 0 | |
3369 | p11.BottomSurface = Enum.SurfaceType.Smooth | |
3370 | p11.TopSurface = Enum.SurfaceType.Smooth | |
3371 | b11 = Instance.new("BlockMesh", p11) | |
3372 | b11.Name = "Mesh" | |
3373 | b11.Scale = Vector3.new(0.550000012, 1, 0.550000012) | |
3374 | p12 = Instance.new("Part", m) | |
3375 | p12.Name = "BladeCenter" | |
3376 | p12.BrickColor = BrickColor.new("Dark stone grey") | |
3377 | p12.Material = Enum.Material.Concrete | |
3378 | p12.FormFactor = Enum.FormFactor.Symmetric | |
3379 | p12.Size = Vector3.new(1, 2, 2) | |
3380 | 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) | |
3381 | p12.CanCollide = false | |
3382 | p12.Locked = true | |
3383 | p12.BottomSurface = Enum.SurfaceType.Smooth | |
3384 | p12.TopSurface = Enum.SurfaceType.Smooth | |
3385 | b12 = Instance.new("SpecialMesh", p12) | |
3386 | b12.MeshType = Enum.MeshType.Brick | |
3387 | b12.Name = "Mesh" | |
3388 | b12.Scale = Vector3.new(0.499999911, 1, 0.699999928) | |
3389 | p13 = Instance.new("Part", m) | |
3390 | p13.BrickColor = BrickColor.new("Really black") | |
3391 | p13.FormFactor = Enum.FormFactor.Custom | |
3392 | p13.Size = Vector3.new(2.91000009, 4.3300004, 1) | |
3393 | 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) | |
3394 | p13.CanCollide = false | |
3395 | p13.Locked = true | |
3396 | p13.Elasticity = 0 | |
3397 | p13.BottomSurface = Enum.SurfaceType.Smooth | |
3398 | p13.TopSurface = Enum.SurfaceType.Smooth | |
3399 | b13 = Instance.new("BlockMesh", p13) | |
3400 | b13.Name = "Mesh" | |
3401 | b13.Scale = Vector3.new(1, 1, 0.400000006) | |
3402 | p14 = Instance.new("Part", m) | |
3403 | p14.BrickColor = BrickColor.new("Really black") | |
3404 | p14.FormFactor = Enum.FormFactor.Custom | |
3405 | p14.Size = Vector3.new(2.5, 2.17999935, 1) | |
3406 | 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) | |
3407 | p14.CanCollide = false | |
3408 | p14.Locked = true | |
3409 | p14.Elasticity = 0 | |
3410 | p14.BottomSurface = Enum.SurfaceType.Smooth | |
3411 | p14.TopSurface = Enum.SurfaceType.Smooth | |
3412 | b14 = Instance.new("BlockMesh", p14) | |
3413 | b14.Name = "Mesh" | |
3414 | b14.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
3415 | p15 = Instance.new("Part", m) | |
3416 | p15.BrickColor = BrickColor.new("Really black") | |
3417 | p15.FormFactor = Enum.FormFactor.Custom | |
3418 | p15.Size = Vector3.new(1.16999996, 4.2699995, 1) | |
3419 | 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) | |
3420 | p15.CanCollide = false | |
3421 | p15.Locked = true | |
3422 | p15.Elasticity = 0 | |
3423 | p15.BottomSurface = Enum.SurfaceType.Smooth | |
3424 | p15.TopSurface = Enum.SurfaceType.Smooth | |
3425 | b15 = Instance.new("BlockMesh", p15) | |
3426 | b15.Name = "Mesh" | |
3427 | b15.Scale = Vector3.new(1, 1, 0.400000006) | |
3428 | p16 = Instance.new("Part", m) | |
3429 | p16.BrickColor = BrickColor.new("Really black") | |
3430 | p16.FormFactor = Enum.FormFactor.Custom | |
3431 | p16.Size = Vector3.new(1.68999994, 4.76000023, 1) | |
3432 | 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) | |
3433 | p16.CanCollide = false | |
3434 | p16.Locked = true | |
3435 | p16.Elasticity = 0 | |
3436 | p16.BottomSurface = Enum.SurfaceType.Smooth | |
3437 | p16.TopSurface = Enum.SurfaceType.Smooth | |
3438 | b16 = Instance.new("BlockMesh", p16) | |
3439 | b16.Name = "Mesh" | |
3440 | b16.Scale = Vector3.new(1, 1, 0.400000006) | |
3441 | p17 = Instance.new("Part", m) | |
3442 | p17.BrickColor = BrickColor.new("Really black") | |
3443 | p17.FormFactor = Enum.FormFactor.Custom | |
3444 | p17.Size = Vector3.new(1.78999996, 4.21999979, 1) | |
3445 | 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) | |
3446 | p17.CanCollide = false | |
3447 | p17.Locked = true | |
3448 | p17.Elasticity = 0 | |
3449 | p17.BottomSurface = Enum.SurfaceType.Smooth | |
3450 | p17.TopSurface = Enum.SurfaceType.Smooth | |
3451 | b17 = Instance.new("BlockMesh", p17) | |
3452 | b17.Name = "Mesh" | |
3453 | b17.Scale = Vector3.new(1, 1, 0.400000006) | |
3454 | p18 = Instance.new("WedgePart", m) | |
3455 | p18.BrickColor = BrickColor.new("Dark stone grey") | |
3456 | p18.Name = "BladePart1" | |
3457 | p18.Material = Enum.Material.Concrete | |
3458 | p18.Name = "Wedge" | |
3459 | p18.FormFactor = Enum.FormFactor.Symmetric | |
3460 | p18.Size = Vector3.new(1, 4, 2) | |
3461 | 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) | |
3462 | p18.CanCollide = false | |
3463 | p18.Locked = true | |
3464 | p18.BottomSurface = Enum.SurfaceType.Smooth | |
3465 | p18.TopSurface = Enum.SurfaceType.Smooth | |
3466 | b18 = Instance.new("SpecialMesh", p18) | |
3467 | b18.MeshType = Enum.MeshType.Wedge | |
3468 | b18.Name = "Mesh" | |
3469 | b18.Scale = Vector3.new(0.499999911, 0.899999976, 0.699999928) | |
3470 | p19 = Instance.new("WedgePart", m) | |
3471 | p19.BrickColor = BrickColor.new("Dark stone grey") | |
3472 | p19.Name = "BladePart2" | |
3473 | p19.Material = Enum.Material.Concrete | |
3474 | p19.Name = "Wedge" | |
3475 | p19.FormFactor = Enum.FormFactor.Symmetric | |
3476 | p19.Size = Vector3.new(1, 4, 2) | |
3477 | 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) | |
3478 | p19.CanCollide = false | |
3479 | p19.Locked = true | |
3480 | p19.BottomSurface = Enum.SurfaceType.Smooth | |
3481 | p19.TopSurface = Enum.SurfaceType.Smooth | |
3482 | b19 = Instance.new("SpecialMesh", p19) | |
3483 | b19.MeshType = Enum.MeshType.Wedge | |
3484 | b19.Name = "Mesh" | |
3485 | b19.Scale = Vector3.new(0.499999911, 0.899999976, 0.699999928) | |
3486 | p20 = Instance.new("Part", m) | |
3487 | p20.BrickColor = BrickColor.new("Really black") | |
3488 | p20.FormFactor = Enum.FormFactor.Custom | |
3489 | p20.Size = Vector3.new(2.53000021, 2.39999938, 1) | |
3490 | 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) | |
3491 | p20.CanCollide = false | |
3492 | p20.Locked = true | |
3493 | p20.Elasticity = 0 | |
3494 | p20.BottomSurface = Enum.SurfaceType.Smooth | |
3495 | p20.TopSurface = Enum.SurfaceType.Smooth | |
3496 | b20 = Instance.new("BlockMesh", p20) | |
3497 | b20.Name = "Mesh" | |
3498 | b20.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
3499 | p21 = Instance.new("Part", m) | |
3500 | p21.BrickColor = BrickColor.new("Bright Orange") | |
3501 | p21.FormFactor = Enum.FormFactor.Custom | |
3502 | p21.Size = Vector3.new(1, 1.43999994, 1.59000015) | |
3503 | 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) | |
3504 | p21.CanCollide = false | |
3505 | p21.Locked = true | |
3506 | p21.Elasticity = 0 | |
3507 | p21.BottomSurface = Enum.SurfaceType.Smooth | |
3508 | p21.TopSurface = Enum.SurfaceType.Smooth | |
3509 | b21 = Instance.new("SpecialMesh", p21) | |
3510 | b21.MeshType = Enum.MeshType.Wedge | |
3511 | b21.Name = "Mesh" | |
3512 | b21.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988) | |
3513 | w1 = Instance.new("Weld", p1) | |
3514 | w1.Name = "Part_Weld" | |
3515 | w1.Part0 = p1 | |
3516 | 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) | |
3517 | w1.Part1 = p2 | |
3518 | 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) | |
3519 | w2 = Instance.new("Weld", p2) | |
3520 | w2.Name = "Part_Weld" | |
3521 | w2.Part0 = p2 | |
3522 | 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) | |
3523 | w2.Part1 = p3 | |
3524 | 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) | |
3525 | w3 = Instance.new("Weld", p3) | |
3526 | w3.Name = "Part_Weld" | |
3527 | w3.Part0 = p3 | |
3528 | 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) | |
3529 | w3.Part1 = p4 | |
3530 | 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) | |
3531 | w4 = Instance.new("Weld", p4) | |
3532 | w4.Name = "Part_Weld" | |
3533 | w4.Part0 = p4 | |
3534 | 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) | |
3535 | w4.Part1 = p5 | |
3536 | 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) | |
3537 | w5 = Instance.new("Weld", p5) | |
3538 | w5.Name = "Part_Weld" | |
3539 | w5.Part0 = p5 | |
3540 | 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) | |
3541 | w5.Part1 = p6 | |
3542 | 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) | |
3543 | w6 = Instance.new("Weld", p6) | |
3544 | w6.Name = "Part_Weld" | |
3545 | w6.Part0 = p6 | |
3546 | 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) | |
3547 | w6.Part1 = p7 | |
3548 | 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) | |
3549 | w7 = Instance.new("Weld", p7) | |
3550 | w7.Name = "Part_Weld" | |
3551 | w7.Part0 = p7 | |
3552 | 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) | |
3553 | w7.Part1 = p8 | |
3554 | 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) | |
3555 | w8 = Instance.new("Weld", p8) | |
3556 | w8.Name = "Part_Weld" | |
3557 | w8.Part0 = p8 | |
3558 | 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) | |
3559 | w8.Part1 = p9 | |
3560 | 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) | |
3561 | w9 = Instance.new("Weld", p9) | |
3562 | w9.Name = "Part_Weld" | |
3563 | w9.Part0 = p9 | |
3564 | 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) | |
3565 | w9.Part1 = p10 | |
3566 | 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) | |
3567 | w10 = Instance.new("Weld", p10) | |
3568 | w10.Name = "Part_Weld" | |
3569 | w10.Part0 = p10 | |
3570 | 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) | |
3571 | w10.Part1 = p11 | |
3572 | 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) | |
3573 | w11 = Instance.new("Weld", p11) | |
3574 | w11.Name = "Part_Weld" | |
3575 | w11.Part0 = p11 | |
3576 | 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) | |
3577 | w11.Part1 = p12 | |
3578 | 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) | |
3579 | w12 = Instance.new("Weld", p12) | |
3580 | w12.Name = "Part_Weld" | |
3581 | w12.Part0 = p12 | |
3582 | 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) | |
3583 | w12.Part1 = p13 | |
3584 | 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) | |
3585 | w13 = Instance.new("Weld", p13) | |
3586 | w13.Name = "Part_Weld" | |
3587 | w13.Part0 = p13 | |
3588 | 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) | |
3589 | w13.Part1 = p14 | |
3590 | 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) | |
3591 | w14 = Instance.new("Weld", p14) | |
3592 | w14.Name = "Part_Weld" | |
3593 | w14.Part0 = p14 | |
3594 | 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) | |
3595 | w14.Part1 = p15 | |
3596 | 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) | |
3597 | w15 = Instance.new("Weld", p15) | |
3598 | w15.Name = "Part_Weld" | |
3599 | w15.Part0 = p15 | |
3600 | 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) | |
3601 | w15.Part1 = p16 | |
3602 | 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) | |
3603 | w16 = Instance.new("Weld", p16) | |
3604 | w16.Name = "Part_Weld" | |
3605 | w16.Part0 = p16 | |
3606 | 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) | |
3607 | w16.Part1 = p17 | |
3608 | 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) | |
3609 | w17 = Instance.new("Weld", p17) | |
3610 | w17.Name = "Wedge_Weld" | |
3611 | w17.Part0 = p17 | |
3612 | 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) | |
3613 | w17.Part1 = p18 | |
3614 | 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) | |
3615 | w18 = Instance.new("Weld", p18) | |
3616 | w18.Name = "Wedge_Weld" | |
3617 | w18.Part0 = p18 | |
3618 | 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) | |
3619 | w18.Part1 = p19 | |
3620 | 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) | |
3621 | w19 = Instance.new("Weld", p19) | |
3622 | w19.Name = "Part_Weld" | |
3623 | w19.Part0 = p19 | |
3624 | 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) | |
3625 | w19.Part1 = p20 | |
3626 | 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) | |
3627 | w20 = Instance.new("Weld", p20) | |
3628 | w20.Name = "Part_Weld" | |
3629 | w20.Part0 = p20 | |
3630 | 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) | |
3631 | w20.Part1 = p21 | |
3632 | 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) | |
3633 | m.Parent = char | |
3634 | m:MakeJoints() | |
3635 | ---------------------------------------------------- | |
3636 | local cor = Instance.new("Part", char.Absolution) | |
3637 | cor.Name = "Thingy" | |
3638 | cor.Locked = true | |
3639 | cor.BottomSurface = 0 | |
3640 | cor.CanCollide = false | |
3641 | cor.Size = Vector3.new(1, 13, 1) | |
3642 | cor.Transparency = 1 | |
3643 | cor.TopSurface = 0 | |
3644 | corw = Instance.new("Weld", cor) | |
3645 | corw.Part0 = rarm | |
3646 | corw.Part1 = cor | |
3647 | corw.C0 = CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
3648 | corw.C1 = CFrame.new(0, 0, 0) | |
3649 | weld1 = Instance.new("Weld", char.Absolution) | |
3650 | weld1.Part0 = cor | |
3651 | weld1.Part1 = p6 | |
3652 | weld1.C0 = CFrame.new(0, 0, 0) | |
3653 | ---------------------------------------------------- | |
3654 | hitb = Instance.new("Part", char.Absolution) | |
3655 | hitb.Name = "Thingy2" | |
3656 | hitb.Locked = true | |
3657 | hitb.BottomSurface = 0 | |
3658 | hitb.CanCollide = false | |
3659 | hitb.Size = Vector3.new(0, 8, 6) | |
3660 | hitb.Transparency = 1 | |
3661 | hitb.TopSurface = 0 | |
3662 | weld2 = Instance.new("Weld", char.Absolution) | |
3663 | weld2.Part0 = hitb | |
3664 | weld2.Part1 = p12 | |
3665 | weld2.C0 = CFrame.new(0, .6, 1) | |
3666 | ---------------------------------------------------- | |
3667 | local m = Instance.new("Model") | |
3668 | m.Name = "Claw" | |
3669 | p1 = Instance.new("Part", m) | |
3670 | p1.BrickColor = BrickColor.new("Really black") | |
3671 | p1.FormFactor = Enum.FormFactor.Custom | |
3672 | p1.Size = Vector3.new(1.5, 0.5, 0.5) | |
3673 | 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) | |
3674 | p1.CanCollide = false | |
3675 | p1.Locked = true | |
3676 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
3677 | p1.TopSurface = Enum.SurfaceType.Smooth | |
3678 | b1 = Instance.new("BlockMesh", p1) | |
3679 | b1.Name = "Mesh" | |
3680 | p2 = Instance.new("WedgePart", m) | |
3681 | p2.BrickColor = BrickColor.new("Really black") | |
3682 | p2.Name = "Wedge" | |
3683 | p2.FormFactor = Enum.FormFactor.Custom | |
3684 | p2.Size = Vector3.new(3, 1, 0.5) | |
3685 | 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) | |
3686 | p2.CanCollide = false | |
3687 | p2.Locked = true | |
3688 | p2.BottomSurface = Enum.SurfaceType.Smooth | |
3689 | p2.TopSurface = Enum.SurfaceType.Smooth | |
3690 | p3 = Instance.new("Part", m) | |
3691 | p3.BrickColor = BrickColor.new("Really black") | |
3692 | p3.FormFactor = Enum.FormFactor.Custom | |
3693 | p3.Size = Vector3.new(1.5, 0.5, 0.5) | |
3694 | 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) | |
3695 | p3.CanCollide = false | |
3696 | p3.Locked = true | |
3697 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
3698 | p3.TopSurface = Enum.SurfaceType.Smooth | |
3699 | b2 = Instance.new("BlockMesh", p3) | |
3700 | b2.Name = "Mesh" | |
3701 | p4 = Instance.new("WedgePart", m) | |
3702 | p4.BrickColor = BrickColor.new("Really black") | |
3703 | p4.Name = "Wedge" | |
3704 | p4.FormFactor = Enum.FormFactor.Custom | |
3705 | p4.Size = Vector3.new(3, 1, 0.5) | |
3706 | 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) | |
3707 | p4.CanCollide = false | |
3708 | p4.Locked = true | |
3709 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
3710 | p4.TopSurface = Enum.SurfaceType.Smooth | |
3711 | p5 = Instance.new("Part", m) | |
3712 | p5.BrickColor = BrickColor.new("Really black") | |
3713 | p5.FormFactor = Enum.FormFactor.Custom | |
3714 | p5.Size = Vector3.new(1.5, 0.5, 0.5) | |
3715 | 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) | |
3716 | p5.CanCollide = false | |
3717 | p5.Locked = true | |
3718 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
3719 | p5.TopSurface = Enum.SurfaceType.Smooth | |
3720 | b3 = Instance.new("BlockMesh", p5) | |
3721 | b3.Name = "Mesh" | |
3722 | p6 = Instance.new("Part", m) | |
3723 | p6.BrickColor = BrickColor.new("Really black") | |
3724 | p6.FormFactor = Enum.FormFactor.Custom | |
3725 | p6.Size = Vector3.new(1.5, 0.5, 0.5) | |
3726 | 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) | |
3727 | p6.CanCollide = false | |
3728 | p6.Locked = true | |
3729 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
3730 | p6.TopSurface = Enum.SurfaceType.Smooth | |
3731 | b4 = Instance.new("BlockMesh", p6) | |
3732 | b4.Name = "Mesh" | |
3733 | p7 = Instance.new("Part", m) | |
3734 | p7.BrickColor = BrickColor.new("Really black") | |
3735 | p7.FormFactor = Enum.FormFactor.Custom | |
3736 | p7.Size = Vector3.new(3, 1, 1.20000005) | |
3737 | 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) | |
3738 | p7.CanCollide = false | |
3739 | p7.Locked = true | |
3740 | p7.BottomSurface = Enum.SurfaceType.Smooth | |
3741 | p7.TopSurface = Enum.SurfaceType.Smooth | |
3742 | b5 = Instance.new("BlockMesh", p7) | |
3743 | b5.Name = "Mesh" | |
3744 | p8 = Instance.new("Part", m) | |
3745 | p8.BrickColor = BrickColor.new("Bright Orange") | |
3746 | p8.FormFactor = Enum.FormFactor.Symmetric | |
3747 | p8.Size = Vector3.new(1, 1, 1) | |
3748 | 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) | |
3749 | p8.CanCollide = false | |
3750 | p8.Locked = true | |
3751 | b6 = Instance.new("SpecialMesh", p8) | |
3752 | b6.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
3753 | b6.TextureId = "" | |
3754 | b6.MeshType = Enum.MeshType.FileMesh | |
3755 | b6.Name = "Mesh" | |
3756 | b6.Scale = Vector3.new(1.20000005, 0.449999988, 0.449999988) | |
3757 | p9 = Instance.new("Part", m) | |
3758 | p9.BrickColor = BrickColor.new("Really black") | |
3759 | p9.FormFactor = Enum.FormFactor.Custom | |
3760 | p9.Size = Vector3.new(1.5, 0.5, 0.5) | |
3761 | 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) | |
3762 | p9.CanCollide = false | |
3763 | p9.Locked = true | |
3764 | p9.BottomSurface = Enum.SurfaceType.Smooth | |
3765 | p9.TopSurface = Enum.SurfaceType.Smooth | |
3766 | b7 = Instance.new("BlockMesh", p9) | |
3767 | b7.Name = "Mesh" | |
3768 | p10 = Instance.new("Part", m) | |
3769 | p10.BrickColor = BrickColor.new("Bright Orange") | |
3770 | p10.FormFactor = Enum.FormFactor.Symmetric | |
3771 | p10.Size = Vector3.new(1, 1, 1) | |
3772 | 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) | |
3773 | p10.CanCollide = false | |
3774 | p10.Locked = true | |
3775 | b8 = Instance.new("SpecialMesh", p10) | |
3776 | b8.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
3777 | b8.TextureId = "" | |
3778 | b8.MeshType = Enum.MeshType.FileMesh | |
3779 | b8.Name = "Mesh" | |
3780 | b8.Scale = Vector3.new(1.20000005, 0.449999988, 0.449999988) | |
3781 | p11 = Instance.new("Part", m) | |
3782 | p11.BrickColor = BrickColor.new("Really black") | |
3783 | p11.FormFactor = Enum.FormFactor.Custom | |
3784 | p11.Size = Vector3.new(1.5, 0.5, 0.5) | |
3785 | 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) | |
3786 | p11.CanCollide = false | |
3787 | p11.Locked = true | |
3788 | p11.BottomSurface = Enum.SurfaceType.Smooth | |
3789 | p11.TopSurface = Enum.SurfaceType.Smooth | |
3790 | b9 = Instance.new("BlockMesh", p11) | |
3791 | b9.Name = "Mesh" | |
3792 | p12 = Instance.new("Part", m) | |
3793 | p12.BrickColor = BrickColor.new("Really black") | |
3794 | p12.FormFactor = Enum.FormFactor.Custom | |
3795 | p12.Size = Vector3.new(1.5, 0.5, 0.5) | |
3796 | 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) | |
3797 | p12.CanCollide = false | |
3798 | p12.Locked = true | |
3799 | p12.BottomSurface = Enum.SurfaceType.Smooth | |
3800 | p12.TopSurface = Enum.SurfaceType.Smooth | |
3801 | b10 = Instance.new("BlockMesh", p12) | |
3802 | b10.Name = "Mesh" | |
3803 | p13 = Instance.new("Part", m) | |
3804 | p13.BrickColor = BrickColor.new("Really black") | |
3805 | p13.FormFactor = Enum.FormFactor.Custom | |
3806 | p13.Size = Vector3.new(1.5, 0.5, 0.5) | |
3807 | 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) | |
3808 | p13.CanCollide = false | |
3809 | p13.Locked = true | |
3810 | p13.BottomSurface = Enum.SurfaceType.Smooth | |
3811 | p13.TopSurface = Enum.SurfaceType.Smooth | |
3812 | b11 = Instance.new("BlockMesh", p13) | |
3813 | b11.Name = "Mesh" | |
3814 | p14 = Instance.new("Part", m) | |
3815 | p14.BrickColor = BrickColor.new("Bright Orange") | |
3816 | p14.FormFactor = Enum.FormFactor.Symmetric | |
3817 | p14.Size = Vector3.new(1, 1, 1) | |
3818 | 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) | |
3819 | p14.CanCollide = false | |
3820 | p14.Locked = true | |
3821 | b12 = Instance.new("SpecialMesh", p14) | |
3822 | b12.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
3823 | b12.TextureId = "" | |
3824 | b12.MeshType = Enum.MeshType.FileMesh | |
3825 | b12.Name = "Mesh" | |
3826 | b12.Scale = Vector3.new(1.20000005, 0.449999988, 0.449999988) | |
3827 | p15 = Instance.new("Part", m) | |
3828 | p15.BrickColor = BrickColor.new("Medium stone grey") | |
3829 | p15.Transparency = 1 | |
3830 | p15.Name = "ArmPart" | |
3831 | p15.FormFactor = Enum.FormFactor.Custom | |
3832 | p15.Size = Vector3.new(2, 1, 1) | |
3833 | 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) | |
3834 | p15.CanCollide = false | |
3835 | p15.Locked = true | |
3836 | p15.BottomSurface = Enum.SurfaceType.Smooth | |
3837 | p15.TopSurface = Enum.SurfaceType.Smooth | |
3838 | b13 = Instance.new("BlockMesh", p15) | |
3839 | b13.Name = "Mesh" | |
3840 | p16 = Instance.new("Part", m) | |
3841 | p16.BrickColor = BrickColor.new("Really black") | |
3842 | p16.FormFactor = Enum.FormFactor.Custom | |
3843 | p16.Size = Vector3.new(3, 1, 2.4000001) | |
3844 | 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) | |
3845 | p16.CanCollide = false | |
3846 | p16.Locked = true | |
3847 | p16.BottomSurface = Enum.SurfaceType.Smooth | |
3848 | p16.TopSurface = Enum.SurfaceType.Smooth | |
3849 | b14 = Instance.new("BlockMesh", p16) | |
3850 | b14.Name = "Mesh" | |
3851 | p17 = Instance.new("Part", m) | |
3852 | p17.BrickColor = BrickColor.new("Really black") | |
3853 | p17.FormFactor = Enum.FormFactor.Custom | |
3854 | p17.Size = Vector3.new(1.5, 0.5, 0.5) | |
3855 | 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) | |
3856 | p17.CanCollide = false | |
3857 | p17.Locked = true | |
3858 | p17.BottomSurface = Enum.SurfaceType.Smooth | |
3859 | p17.TopSurface = Enum.SurfaceType.Smooth | |
3860 | b15 = Instance.new("BlockMesh", p17) | |
3861 | b15.Name = "Mesh" | |
3862 | p18 = Instance.new("Part", m) | |
3863 | p18.BrickColor = BrickColor.new("Bright Orange") | |
3864 | p18.FormFactor = Enum.FormFactor.Symmetric | |
3865 | p18.Size = Vector3.new(1, 1, 1) | |
3866 | 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) | |
3867 | p18.CanCollide = false | |
3868 | p18.Locked = true | |
3869 | b16 = Instance.new("SpecialMesh", p18) | |
3870 | b16.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
3871 | b16.TextureId = "" | |
3872 | b16.MeshType = Enum.MeshType.FileMesh | |
3873 | b16.Name = "Mesh" | |
3874 | b16.Scale = Vector3.new(1.20000005, 0.449999988, 0.449999988) | |
3875 | p19 = Instance.new("Part", m) | |
3876 | p19.BrickColor = BrickColor.new("Bright Orange") | |
3877 | p19.FormFactor = Enum.FormFactor.Symmetric | |
3878 | p19.Size = Vector3.new(1, 1, 1) | |
3879 | 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) | |
3880 | p19.CanCollide = false | |
3881 | p19.Locked = true | |
3882 | b17 = Instance.new("SpecialMesh", p19) | |
3883 | b17.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
3884 | b17.TextureId = "" | |
3885 | b17.MeshType = Enum.MeshType.FileMesh | |
3886 | b17.Name = "Mesh" | |
3887 | b17.Scale = Vector3.new(1.20000005, 0.449999988, 0.449999988) | |
3888 | p20 = Instance.new("Part", m) | |
3889 | p20.BrickColor = BrickColor.new("Really black") | |
3890 | p20.FormFactor = Enum.FormFactor.Custom | |
3891 | p20.Size = Vector3.new(3, 1, 2.4000001) | |
3892 | 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) | |
3893 | p20.CanCollide = false | |
3894 | p20.Locked = true | |
3895 | p20.BottomSurface = Enum.SurfaceType.Smooth | |
3896 | p20.TopSurface = Enum.SurfaceType.Smooth | |
3897 | b18 = Instance.new("BlockMesh", p20) | |
3898 | b18.Name = "Mesh" | |
3899 | p21 = Instance.new("Part", m) | |
3900 | p21.BrickColor = BrickColor.new("Really black") | |
3901 | p21.FormFactor = Enum.FormFactor.Custom | |
3902 | p21.Size = Vector3.new(3, 1, 1.19999993) | |
3903 | 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) | |
3904 | p21.CanCollide = false | |
3905 | p21.Locked = true | |
3906 | p21.BottomSurface = Enum.SurfaceType.Smooth | |
3907 | p21.TopSurface = Enum.SurfaceType.Smooth | |
3908 | b19 = Instance.new("BlockMesh", p21) | |
3909 | b19.Name = "Mesh" | |
3910 | p22 = Instance.new("WedgePart", m) | |
3911 | p22.BrickColor = BrickColor.new("Really black") | |
3912 | p22.Name = "Wedge" | |
3913 | p22.FormFactor = Enum.FormFactor.Custom | |
3914 | p22.Size = Vector3.new(3, 1, 0.5) | |
3915 | 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) | |
3916 | p22.CanCollide = false | |
3917 | p22.Locked = true | |
3918 | p22.BottomSurface = Enum.SurfaceType.Smooth | |
3919 | p22.TopSurface = Enum.SurfaceType.Smooth | |
3920 | p23 = Instance.new("Part", m) | |
3921 | p23.BrickColor = BrickColor.new("Really black") | |
3922 | p23.FormFactor = Enum.FormFactor.Custom | |
3923 | p23.Size = Vector3.new(1.5, 0.5, 0.5) | |
3924 | 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) | |
3925 | p23.CanCollide = false | |
3926 | p23.Locked = true | |
3927 | p23.BottomSurface = Enum.SurfaceType.Smooth | |
3928 | p23.TopSurface = Enum.SurfaceType.Smooth | |
3929 | b20 = Instance.new("BlockMesh", p23) | |
3930 | b20.Name = "Mesh" | |
3931 | p24 = Instance.new("WedgePart", m) | |
3932 | p24.BrickColor = BrickColor.new("Really black") | |
3933 | p24.Name = "Wedge" | |
3934 | p24.FormFactor = Enum.FormFactor.Custom | |
3935 | p24.Size = Vector3.new(3, 1, 0.5) | |
3936 | 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) | |
3937 | p24.CanCollide = false | |
3938 | p24.Locked = true | |
3939 | p24.BottomSurface = Enum.SurfaceType.Smooth | |
3940 | p24.TopSurface = Enum.SurfaceType.Smooth | |
3941 | p25 = Instance.new("Part", m) | |
3942 | p25.BrickColor = BrickColor.new("Bright Orange") | |
3943 | p25.FormFactor = Enum.FormFactor.Symmetric | |
3944 | p25.Size = Vector3.new(1, 1, 1) | |
3945 | 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) | |
3946 | p25.CanCollide = false | |
3947 | p25.Locked = true | |
3948 | p25.BottomSurface = Enum.SurfaceType.Smooth | |
3949 | p25.TopSurface = Enum.SurfaceType.Smooth | |
3950 | b21 = Instance.new("SpecialMesh", p25) | |
3951 | b21.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
3952 | b21.TextureId = "" | |
3953 | b21.MeshType = Enum.MeshType.FileMesh | |
3954 | b21.Name = "Mesh" | |
3955 | b21.Scale = Vector3.new(1.39999998, 1.39999998, 0.600000024) | |
3956 | p26 = Instance.new("Part", m) | |
3957 | p26.BrickColor = BrickColor.new("Really black") | |
3958 | p26.FormFactor = Enum.FormFactor.Symmetric | |
3959 | p26.Size = Vector3.new(1, 1, 1) | |
3960 | 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) | |
3961 | p26.CanCollide = false | |
3962 | p26.Locked = true | |
3963 | p26.BottomSurface = Enum.SurfaceType.Smooth | |
3964 | p26.TopSurface = Enum.SurfaceType.Smooth | |
3965 | b22 = Instance.new("SpecialMesh", p26) | |
3966 | b22.MeshType = Enum.MeshType.Brick | |
3967 | b22.Name = "Mesh" | |
3968 | w1 = Instance.new("Weld", p1) | |
3969 | w1.Name = "Wedge_Weld" | |
3970 | w1.Part0 = p1 | |
3971 | 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) | |
3972 | w1.Part1 = p2 | |
3973 | 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) | |
3974 | w2 = Instance.new("Weld", p2) | |
3975 | w2.Name = "Part_Weld" | |
3976 | w2.Part0 = p2 | |
3977 | 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) | |
3978 | w2.Part1 = p3 | |
3979 | 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) | |
3980 | w3 = Instance.new("Weld", p3) | |
3981 | w3.Name = "Wedge_Weld" | |
3982 | w3.Part0 = p3 | |
3983 | 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) | |
3984 | w3.Part1 = p4 | |
3985 | 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) | |
3986 | w4 = Instance.new("Weld", p4) | |
3987 | w4.Name = "Part_Weld" | |
3988 | w4.Part0 = p4 | |
3989 | 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) | |
3990 | w4.Part1 = p5 | |
3991 | 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) | |
3992 | w5 = Instance.new("Weld", p5) | |
3993 | w5.Name = "Part_Weld" | |
3994 | w5.Part0 = p5 | |
3995 | 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) | |
3996 | w5.Part1 = p6 | |
3997 | 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) | |
3998 | w6 = Instance.new("Weld", p6) | |
3999 | w6.Name = "Part_Weld" | |
4000 | w6.Part0 = p6 | |
4001 | 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) | |
4002 | w6.Part1 = p7 | |
4003 | 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) | |
4004 | w7 = Instance.new("Weld", p7) | |
4005 | w7.Name = "Part_Weld" | |
4006 | w7.Part0 = p7 | |
4007 | 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) | |
4008 | w7.Part1 = p8 | |
4009 | 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) | |
4010 | w8 = Instance.new("Weld", p8) | |
4011 | w8.Name = "Part_Weld" | |
4012 | w8.Part0 = p8 | |
4013 | 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) | |
4014 | w8.Part1 = p9 | |
4015 | 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) | |
4016 | w9 = Instance.new("Weld", p9) | |
4017 | w9.Name = "Part_Weld" | |
4018 | w9.Part0 = p9 | |
4019 | 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) | |
4020 | w9.Part1 = p10 | |
4021 | 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) | |
4022 | w10 = Instance.new("Weld", p10) | |
4023 | w10.Name = "Part_Weld" | |
4024 | w10.Part0 = p10 | |
4025 | 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) | |
4026 | w10.Part1 = p11 | |
4027 | 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) | |
4028 | w11 = Instance.new("Weld", p11) | |
4029 | w11.Name = "Part_Weld" | |
4030 | w11.Part0 = p11 | |
4031 | 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) | |
4032 | w11.Part1 = p12 | |
4033 | 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) | |
4034 | w12 = Instance.new("Weld", p12) | |
4035 | w12.Name = "Part_Weld" | |
4036 | w12.Part0 = p12 | |
4037 | 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) | |
4038 | w12.Part1 = p13 | |
4039 | 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) | |
4040 | w13 = Instance.new("Weld", p13) | |
4041 | w13.Name = "Part_Weld" | |
4042 | w13.Part0 = p13 | |
4043 | 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) | |
4044 | w13.Part1 = p14 | |
4045 | 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) | |
4046 | w14 = Instance.new("Weld", p14) | |
4047 | w14.Name = "ArmPart_Weld" | |
4048 | w14.Part0 = p14 | |
4049 | 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) | |
4050 | w14.Part1 = p15 | |
4051 | 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) | |
4052 | w15 = Instance.new("Weld", p15) | |
4053 | w15.Name = "Part_Weld" | |
4054 | w15.Part0 = p15 | |
4055 | 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) | |
4056 | w15.Part1 = p16 | |
4057 | 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) | |
4058 | w16 = Instance.new("Weld", p16) | |
4059 | w16.Name = "Part_Weld" | |
4060 | w16.Part0 = p16 | |
4061 | 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) | |
4062 | w16.Part1 = p17 | |
4063 | 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) | |
4064 | w17 = Instance.new("Weld", p17) | |
4065 | w17.Name = "Part_Weld" | |
4066 | w17.Part0 = p17 | |
4067 | 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) | |
4068 | w17.Part1 = p18 | |
4069 | 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) | |
4070 | w18 = Instance.new("Weld", p18) | |
4071 | w18.Name = "Part_Weld" | |
4072 | w18.Part0 = p18 | |
4073 | 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) | |
4074 | w18.Part1 = p19 | |
4075 | 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) | |
4076 | w19 = Instance.new("Weld", p19) | |
4077 | w19.Name = "Part_Weld" | |
4078 | w19.Part0 = p19 | |
4079 | 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) | |
4080 | w19.Part1 = p20 | |
4081 | 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) | |
4082 | w20 = Instance.new("Weld", p20) | |
4083 | w20.Name = "Part_Weld" | |
4084 | w20.Part0 = p20 | |
4085 | 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) | |
4086 | w20.Part1 = p21 | |
4087 | 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) | |
4088 | w21 = Instance.new("Weld", p21) | |
4089 | w21.Name = "Wedge_Weld" | |
4090 | w21.Part0 = p21 | |
4091 | 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) | |
4092 | w21.Part1 = p22 | |
4093 | 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) | |
4094 | w22 = Instance.new("Weld", p22) | |
4095 | w22.Name = "Part_Weld" | |
4096 | w22.Part0 = p22 | |
4097 | 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) | |
4098 | w22.Part1 = p23 | |
4099 | 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) | |
4100 | w23 = Instance.new("Weld", p23) | |
4101 | w23.Name = "Wedge_Weld" | |
4102 | w23.Part0 = p23 | |
4103 | 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) | |
4104 | w23.Part1 = p24 | |
4105 | 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) | |
4106 | w24 = Instance.new("Weld", p24) | |
4107 | w24.Name = "Part_Weld" | |
4108 | w24.Part0 = p24 | |
4109 | 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) | |
4110 | w24.Part1 = p25 | |
4111 | 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) | |
4112 | w25 = Instance.new("Weld", p25) | |
4113 | w25.Name = "Part_Weld" | |
4114 | w25.Part0 = p25 | |
4115 | 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) | |
4116 | w25.Part1 = p26 | |
4117 | 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) | |
4118 | m.Parent = char | |
4119 | m:MakeJoints() | |
4120 | ---------------------------------------------------- | |
4121 | local cor2 = Instance.new("Part", char.Claw) | |
4122 | cor2.Name = "Thingy" | |
4123 | cor2.Locked = true | |
4124 | cor2.BottomSurface = 0 | |
4125 | cor2.CanCollide = false | |
4126 | cor2.Size = Vector3.new(2, 1, 1) | |
4127 | cor2.Transparency = 1 | |
4128 | cor2.TopSurface = 0 | |
4129 | corw2 = Instance.new("Weld", cor2) | |
4130 | corw2.Part0 = larm | |
4131 | corw2.Part1 = cor2 | |
4132 | corw2.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(90)) | |
4133 | corw2.C1 = CFrame.new(0, 0, 0) | |
4134 | weld2 = Instance.new("Weld", char.Claw) | |
4135 | weld2.Part0 = cor2 | |
4136 | weld2.Part1 = char.Claw.ArmPart | |
4137 | weld2.C0 = CFrame.new(0, 0, 0) | |
4138 | ---------------------------------------------------- | |
4139 | function weld5(part0, part1, c0, c1) | |
4140 | weeld=Instance.new("Weld", part0) | |
4141 | weeld.Part0=part0 | |
4142 | weeld.Part1=part1 | |
4143 | weeld.C0=c0 | |
4144 | weeld.C1=c1 | |
4145 | return weeld | |
4146 | end | |
4147 | ---------------------------------------------------- | |
4148 | function newRay(start,face,range,wat) | |
4149 | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) | |
4150 | hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat) | |
4151 | return rey,hit,pos | |
4152 | end | |
4153 | ---------------------------------------------------- | |
4154 | mod5 = Instance.new("Model",char) | |
4155 | ||
4156 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
4157 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
4158 | local List = {} | |
4159 | for i,v in pairs(workspace:GetChildren())do | |
4160 | if v:IsA("Model")then | |
4161 | if v:findFirstChild("Torso")then | |
4162 | if v ~= char then | |
4163 | if(v.Torso.Position -Position).magnitude <= Distance then | |
4164 | table.insert(List,v) | |
4165 | end | |
4166 | end | |
4167 | end | |
4168 | end | |
4169 | end | |
4170 | return List | |
4171 | end | |
4172 | ||
4173 | function Landing() | |
4174 | part=Instance.new('Part',mod5) | |
4175 | part.Anchored=true | |
4176 | part.CanCollide=false | |
4177 | part.FormFactor='Custom' | |
4178 | part.Size=Vector3.new(.2,.2,.2) | |
4179 | part.CFrame=root.CFrame*CFrame.new(0,-2,0) | |
4180 | part.Transparency=.7 | |
4181 | part.BrickColor=BrickColor.new('Really black') | |
4182 | mesh=Instance.new('SpecialMesh',part) | |
4183 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
4184 | mesh.Scale=Vector3.new(10,5,10) | |
4185 | ||
4186 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,40))do | |
4187 | if v:FindFirstChild('Humanoid') then | |
4188 | v.Humanoid:TakeDamage(math.random(20,30)) | |
4189 | v.Humanoid.PlatformStand = true | |
4190 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100 | |
4191 | end | |
4192 | end | |
4193 | ||
4194 | coroutine.resume(coroutine.create(function() | |
4195 | for i=0,3.8,0.05 do | |
4196 | wait() | |
4197 | part.CFrame=part.CFrame | |
4198 | part.Transparency=i | |
4199 | mesh.Scale=mesh.Scale+Vector3.new(1,0.2,1) | |
4200 | end | |
4201 | part.Parent = nil | |
4202 | end)) | |
4203 | end | |
4204 | ---------------------------------------------------- | |
4205 | mod4 = Instance.new("Model",char) | |
4206 | ||
4207 | ptez = {0.7, 0.8, 0.9, 1} | |
4208 | ||
4209 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
4210 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
4211 | local List = {} | |
4212 | for i,v in pairs(workspace:GetChildren())do | |
4213 | if v:IsA("Model")then | |
4214 | if v:findFirstChild("Torso")then | |
4215 | if v ~= char then | |
4216 | if(v.Torso.Position -Position).magnitude <= Distance then | |
4217 | table.insert(List,v) | |
4218 | end | |
4219 | end | |
4220 | end | |
4221 | end | |
4222 | end | |
4223 | return List | |
4224 | end | |
4225 | ||
4226 | function GroundPound() | |
4227 | part=Instance.new('Part',mod4) | |
4228 | part.Anchored=true | |
4229 | part.CanCollide=false | |
4230 | part.FormFactor='Custom' | |
4231 | part.Size=Vector3.new(.2,.2,.2) | |
4232 | part.CFrame=root.CFrame*CFrame.new(0,-5.8,-2.4)*CFrame.Angles(math.rad(90),0,0) | |
4233 | part.Transparency=.7 | |
4234 | part.BrickColor=BrickColor.new('Really black') | |
4235 | mesh=Instance.new('SpecialMesh',part) | |
4236 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
4237 | mesh.Scale=Vector3.new(3,3,3) | |
4238 | part2=Instance.new('Part',mod4) | |
4239 | part2.Anchored=true | |
4240 | part2.CanCollide=false | |
4241 | part2.FormFactor='Custom' | |
4242 | part2.Size=Vector3.new(.2,.2,.2) | |
4243 | part2.CFrame=root.CFrame*CFrame.new(0,-5,-2.6) | |
4244 | part2.Transparency=.7 | |
4245 | part2.BrickColor=BrickColor.new('Really red') | |
4246 | mesh2=Instance.new('SpecialMesh',part2) | |
4247 | mesh2.MeshId='http://www.roblox.com/asset/?id=20329976' | |
4248 | mesh2.Scale=Vector3.new(3,1.5,3) | |
4249 | x = Instance.new("Sound",char) | |
4250 | x.SoundId = "http://www.roblox.com/asset/?id=142070127" | |
4251 | x.Pitch = ptez[math.random(1,#ptez)] | |
4252 | x.Volume = 1 | |
4253 | wait(.1) | |
4254 | x:Play() | |
4255 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,12))do | |
4256 | if v:FindFirstChild('Humanoid') then | |
4257 | v.Humanoid:TakeDamage(math.random(8,15)) | |
4258 | end | |
4259 | end | |
4260 | coroutine.resume(coroutine.create(function() | |
4261 | for i=0,0.62,0.13 do | |
4262 | wait() | |
4263 | part.CFrame=part.CFrame | |
4264 | part.Transparency=i | |
4265 | mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4) | |
4266 | part2.CFrame=part2.CFrame | |
4267 | part2.Transparency=i | |
4268 | mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4) | |
4269 | end | |
4270 | part.Parent=nil | |
4271 | part2.Parent=nil | |
4272 | x:Destroy() | |
4273 | end)) | |
4274 | end | |
4275 | ---------------------------------------------------- | |
4276 | mod=Instance.new('Model',char) | |
4277 | ||
4278 | function charge() | |
4279 | hed.Velocity=hed.CFrame.lookVector*200 | |
4280 | part=Instance.new('Part',mod) | |
4281 | part.Anchored=true | |
4282 | part.CanCollide=false | |
4283 | part.FormFactor='Custom' | |
4284 | part.Size=Vector3.new(.2,.2,.2) | |
4285 | part.CFrame=hed.CFrame*CFrame.Angles(math.rad(90),0,0) | |
4286 | part.Transparency=.7 | |
4287 | part.BrickColor=BrickColor.new('Bright Orange') | |
4288 | mesh=Instance.new('SpecialMesh',part) | |
4289 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
4290 | mesh.Scale=Vector3.new(10,5,10) | |
4291 | part2=part:clone() | |
4292 | part2.Parent=mod | |
4293 | part2.BrickColor=BrickColor.new('Bright red') | |
4294 | mesh2=mesh:clone() | |
4295 | mesh2.Parent=part2 | |
4296 | mesh2.Scale=Vector3.new(20,10,20) | |
4297 | part3=part2:clone() | |
4298 | part3.Parent = mod | |
4299 | part3.BrickColor=BrickColor.new('Really black') | |
4300 | mesh3=mesh2:clone() | |
4301 | mesh2.Parent=part3 | |
4302 | mesh3.Scale=Vector3.new(30,15,30) | |
4303 | coroutine.resume(coroutine.create(function() | |
4304 | for i=0,1,0.1 do | |
4305 | wait() | |
4306 | part.CFrame=part.CFrame | |
4307 | part.Transparency=i | |
4308 | mesh.Scale=mesh.Scale+Vector3.new(1,1,1) | |
4309 | part2.CFrame=part2.CFrame | |
4310 | part2.Transparency=i | |
4311 | mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1) | |
4312 | part3.CFrame=part3.CFrame | |
4313 | part3.Transparency=i | |
4314 | mesh3.Scale=mesh3.Scale+Vector3.new(1,1,1) | |
4315 | end | |
4316 | part.Parent=nil | |
4317 | part2.Parent=nil | |
4318 | part3.Parent = nil | |
4319 | end)) | |
4320 | end | |
4321 | ---------------------------------------------------- | |
4322 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
4323 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
4324 | local List = {} | |
4325 | for i,v in pairs(workspace:GetChildren())do | |
4326 | if v:IsA("Model")then | |
4327 | if v:findFirstChild("Torso")then | |
4328 | if v ~= char then | |
4329 | if(v.Torso.Position -Position).magnitude <= Distance then | |
4330 | table.insert(List,v) | |
4331 | end | |
4332 | end | |
4333 | end | |
4334 | end | |
4335 | end | |
4336 | return List | |
4337 | end | |
4338 | ||
4339 | mod3 = Instance.new("Model",rleg) | |
4340 | ||
4341 | function Stomp() | |
4342 | part=Instance.new('Part',mod3) | |
4343 | part.Anchored=true | |
4344 | part.CanCollide=false | |
4345 | part.FormFactor='Custom' | |
4346 | part.Size=Vector3.new(.2,.2,.2) | |
4347 | part.CFrame=rleg.CFrame*CFrame.new(0,-2.4,0)*CFrame.Angles(math.rad(90),0,0) | |
4348 | part.Transparency=.7 | |
4349 | part.BrickColor=BrickColor.new('Bright green') | |
4350 | mesh=Instance.new('SpecialMesh',part) | |
4351 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
4352 | mesh.Scale=Vector3.new(25,25,25) | |
4353 | part2=part:clone() | |
4354 | part2.Parent=mod3 | |
4355 | part2.BrickColor=BrickColor.new('Bright green') | |
4356 | mesh2=mesh:clone() | |
4357 | mesh2.Parent=part2 | |
4358 | mesh2.Scale=Vector3.new(15,15,15) | |
4359 | part3=part:clone() | |
4360 | part3.Parent=mod3 | |
4361 | part3.TopSurface=0 | |
4362 | part3.BottomSurface=0 | |
4363 | part3.CFrame=rleg.CFrame*CFrame.new(0,-3,0) | |
4364 | mesh3=Instance.new('SpecialMesh',part3) | |
4365 | mesh3.MeshType = 3 | |
4366 | mesh3.Scale=Vector3.new(12,12,12) | |
4367 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do | |
4368 | if v:FindFirstChild('Humanoid') then | |
4369 | v.Humanoid:TakeDamage(math.random(20,60)) | |
4370 | v.Humanoid.PlatformStand = true | |
4371 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100 | |
4372 | end | |
4373 | end | |
4374 | coroutine.resume(coroutine.create(function() | |
4375 | for i=0,3.8,0.05 do | |
4376 | wait() | |
4377 | part.CFrame=part.CFrame | |
4378 | part.Transparency=i | |
4379 | mesh.Scale=mesh.Scale+Vector3.new(2.8,2.8,2.8) | |
4380 | part2.CFrame=part2.CFrame | |
4381 | part2.Transparency=i | |
4382 | mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1) | |
4383 | part3.CFrame=part3.CFrame | |
4384 | part3.Transparency=i | |
4385 | mesh3.Scale=mesh3.Scale+Vector3.new(1.5,1.5,1.5) | |
4386 | end | |
4387 | end)) | |
4388 | end | |
4389 | ---------------------------------------------------- | |
4390 | ||
4391 | local acos = math.acos | |
4392 | local sqrt = math.sqrt | |
4393 | local Vec3 = Vector3.new | |
4394 | local fromAxisAngle = CFrame.fromAxisAngle | |
4395 | ||
4396 | local function toAxisAngle(CFr) | |
4397 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
4398 | local Angle = math.acos((R00+R11+R22-1)/2) | |
4399 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
4400 | A = A == 0 and 0.00001 or A | |
4401 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
4402 | B = B == 0 and 0.00001 or B | |
4403 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
4404 | C = C == 0 and 0.00001 or C | |
4405 | local x = (R21-R12)/sqrt(A) | |
4406 | local y = (R02-R20)/sqrt(B) | |
4407 | local z = (R10-R01)/sqrt(C) | |
4408 | return Vec3(x,y,z),Angle | |
4409 | end | |
4410 | ||
4411 | function ApplyTrig(Num,Func) | |
4412 | local Min,Max = Func(0),Func(1) | |
4413 | local i = Func(Num) | |
4414 | return (i-Min)/(Max-Min) | |
4415 | --[[if Func == "sin" then | |
4416 | return (math.sin((1-Num)*math.pi)+1)/2 | |
4417 | elseif Func == "cos" then | |
4418 | return (math.cos((1-Num)*math.pi)+1)/2 | |
4419 | end]] | |
4420 | end | |
4421 | ||
4422 | function LerpCFrame(CFrame1,CFrame2,Num) | |
4423 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
4424 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
4425 | end | |
4426 | ||
4427 | function Crater(Torso,Radius) | |
4428 | Spawn(function() | |
4429 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
4430 | local Ignore = {} | |
4431 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
4432 | if v.Character ~= nil then | |
4433 | Ignore[#Ignore+1] = v.Character | |
4434 | end | |
4435 | end | |
4436 | local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
4437 | if Hit == nil then return end | |
4438 | local Parts = {} | |
4439 | for i = 1,360,10 do | |
4440 | local P = Instance.new("Part",Torso.Parent) | |
4441 | P.Anchored = true | |
4442 | P.FormFactor = "Custom" | |
4443 | P.BrickColor = Hit.BrickColor | |
4444 | P.Material = Hit.Material | |
4445 | P.TopSurface = "Smooth" | |
4446 | P.BottomSurface = "Smooth" | |
4447 | P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100) | |
4448 | 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))) | |
4449 | 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} | |
4450 | if math.random(0,5) == 0 then -- rubble | |
4451 | local P = Instance.new("Part",Torso.Parent) | |
4452 | P.Anchored = true | |
4453 | P.FormFactor = "Custom" | |
4454 | P.BrickColor = Hit.BrickColor | |
4455 | P.Material = Hit.Material | |
4456 | P.TopSurface = "Smooth" | |
4457 | P.BottomSurface = "Smooth" | |
4458 | P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100) | |
4459 | 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))) | |
4460 | 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} | |
4461 | end | |
4462 | end | |
4463 | for i = 0,1,0.05 do | |
4464 | for i2,v in pairs(Parts) do | |
4465 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
4466 | end | |
4467 | wait(0.02) | |
4468 | end | |
4469 | for i,v in pairs(Parts) do | |
4470 | if v[1].Size.X > 2.1 then | |
4471 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
4472 | end | |
4473 | v[1].Anchored = false | |
4474 | end | |
4475 | for i = 0,1,0.05 do | |
4476 | for i2,v in pairs(Parts) do | |
4477 | v[1].Transparency = i | |
4478 | if i == 1 then | |
4479 | v[1]:Destroy() | |
4480 | elseif i >= 0.25 then | |
4481 | v[1].CanCollide = false | |
4482 | end | |
4483 | end | |
4484 | wait(0.02) | |
4485 | end | |
4486 | Parts = nil | |
4487 | end) | |
4488 | end | |
4489 | ||
4490 | ---------------------------------------------------- | |
4491 | mouse.KeyDown:connect(function(key) | |
4492 | if key == "r" then | |
4493 | larm.BrickColor = BrickColor.new("Bright red") | |
4494 | rarm.BrickColor = BrickColor.new("Bright red") | |
4495 | if Debounces.CanAttack == true then | |
4496 | Debounces.CanAttack = false | |
4497 | Debounces.on = true | |
4498 | Debounces.NoIdl = true | |
4499 | to = char.Absolution.Thingy2.Touched:connect(function(ht) | |
4500 | hit = ht.Parent | |
4501 | if ht and hit:IsA("Model") then | |
4502 | if hit:FindFirstChild("Humanoid") then | |
4503 | if hit.Name ~= p.Name then | |
4504 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
4505 | Debounces.Slashed = true]]-- | |
4506 | hit:FindFirstChild("Humanoid"):TakeDamage(10) | |
4507 | wait(1) | |
4508 | --Debounces.Slashed = false | |
4509 | --end | |
4510 | end | |
4511 | end | |
4512 | elseif ht and hit:IsA("Hat") then | |
4513 | if hit.Parent.Name ~= p.Name then | |
4514 | if hit.Parent:FindFirstChild("Humanoid") then | |
4515 | --[[ if Debounces.Slashing == true and Debounces.Slashed == false then | |
4516 | Debounces.Slashed = true]]-- | |
4517 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(10) | |
4518 | wait(1) | |
4519 | --Debounces.Slashed = false | |
4520 | end | |
4521 | end | |
4522 | end | |
4523 | end) | |
4524 | q = Instance.new("Sound",hed) | |
4525 | q.SoundId = "http://www.roblox.com/asset/?id=134012322" | |
4526 | q.Pitch = 0.85 | |
4527 | q.Looped = false | |
4528 | q1 = Instance.new("Sound",hed) | |
4529 | q1.SoundId = "http://www.roblox.com/asset/?id=134012322" | |
4530 | q1.Pitch = 0.85 | |
4531 | q1.Looped = false | |
4532 | q:Play() | |
4533 | q1:Play() | |
4534 | for i = 1,20 do | |
4535 | 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) | |
4536 | 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) | |
4537 | 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) | |
4538 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 4, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.4) | |
4539 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 1) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4) | |
4540 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .6) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4) | |
4541 | 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) | |
4542 | if Debounces.on == false then break end | |
4543 | wait() | |
4544 | end | |
4545 | n = Instance.new("Sound",hed) | |
4546 | n.SoundId = "http://www.roblox.com/asset/?id=168514932" | |
4547 | n.Pitch = 0.94 | |
4548 | n.Looped = false | |
4549 | n1 = Instance.new("Sound",hed) | |
4550 | n1.SoundId = "http://www.roblox.com/asset/?id=168514932" | |
4551 | n1.Pitch = 0.94 | |
4552 | n1.Looped = false | |
4553 | n:Play() | |
4554 | n1:Play() | |
4555 | b = Instance.new("Sound",hed) | |
4556 | b.SoundId = "http://www.roblox.com/asset/?id=168586586" | |
4557 | b.Pitch = 0.94 | |
4558 | b.Looped = false | |
4559 | b1 = Instance.new("Sound",hed) | |
4560 | b1.SoundId = "http://www.roblox.com/asset/?id=168586586" | |
4561 | b1.Pitch = 0.94 | |
4562 | b1.Looped = false | |
4563 | b:Play() | |
4564 | b1:Play() | |
4565 | for i = 1,26 do | |
4566 | 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) | |
4567 | 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) | |
4568 | 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) | |
4569 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), 0), 0.5) | |
4570 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -1) * CFrame.Angles(math.rad(50), 0, math.rad(0)), 0.5) | |
4571 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .4) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.5) | |
4572 | 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) | |
4573 | if Debounces.on == false then break end | |
4574 | wait() | |
4575 | end | |
4576 | wait(.5) | |
4577 | to:disconnect() | |
4578 | q:Destroy() | |
4579 | q1:Destroy() | |
4580 | n:Destroy() | |
4581 | n1:Destroy() | |
4582 | larm.BrickColor = BrickColor.new("Really black") | |
4583 | rarm.BrickColor = BrickColor.new("Really black") | |
4584 | if Debounces.CanAttack == false then | |
4585 | Debounces.CanAttack = true | |
4586 | Debounces.on = false | |
4587 | Debounces.NoIdl = false | |
4588 | end | |
4589 | end | |
4590 | end | |
4591 | end) | |
4592 | ---------------------------------------------------- | |
4593 | mouse.KeyDown:connect(function(key) | |
4594 | if key == "q" then | |
4595 | larm.BrickColor = BrickColor.new("Bright red") | |
4596 | rarm.BrickColor = BrickColor.new("Bright red") | |
4597 | if Debounces.CanAttack == true then | |
4598 | Debounces.CanAttack = false | |
4599 | Debounces.on = true | |
4600 | Debounces.NoIdl = true | |
4601 | to = char.Absolution.Thingy2.Touched:connect(function(ht) | |
4602 | hit = ht.Parent | |
4603 | if ht and hit:IsA("Model") then | |
4604 | if hit:FindFirstChild("Humanoid") then | |
4605 | if hit.Name ~= p.Name then | |
4606 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
4607 | Debounces.Slashed = true]]-- | |
4608 | hit:FindFirstChild("Humanoid"):TakeDamage(4) | |
4609 | wait(1) | |
4610 | --Debounces.Slashed = false | |
4611 | --end | |
4612 | end | |
4613 | end | |
4614 | elseif ht and hit:IsA("Hat") then | |
4615 | if hit.Parent.Name ~= p.Name then | |
4616 | if hit.Parent:FindFirstChild("Humanoid") then | |
4617 | --[[ if Debounces.Slashing == true and Debounces.Slashed == false then | |
4618 | Debounces.Slashed = true]]-- | |
4619 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(4) | |
4620 | wait(1) | |
4621 | --Debounces.Slashed = false | |
4622 | end | |
4623 | end | |
4624 | end | |
4625 | end) | |
4626 | for i = 1, 20 do | |
4627 | 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) | |
4628 | 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) | |
4629 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(-60),0), 0.5) | |
4630 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(70), 0), 0.5) | |
4631 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.5) | |
4632 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.5) | |
4633 | 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) | |
4634 | if Debounces.on == false then break end | |
4635 | wait() | |
4636 | end | |
4637 | z = Instance.new("Sound",hed) | |
4638 | z.SoundId = "rbxassetid://160069154" | |
4639 | z.Looped = false | |
4640 | z.Pitch = .9 | |
4641 | z1 = Instance.new("Sound",hed) | |
4642 | z1.SoundId = "rbxassetid://160069154" | |
4643 | z1.Looped = false | |
4644 | z1.Pitch = .9 | |
4645 | wait(0.01) | |
4646 | z:Play() | |
4647 | z1:Play() | |
4648 | for i = 1, 12 do | |
4649 | 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) | |
4650 | 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) | |
4651 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(30),0), 0.5) | |
4652 | 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) | |
4653 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -2) * CFrame.Angles(math.rad(-10), 0, 0), 0.5) | |
4654 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.8, .6) * CFrame.Angles(math.rad(-65), 0, 0), 0.5) | |
4655 | 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) | |
4656 | if Debounces.on == false then break end | |
4657 | wait() | |
4658 | end | |
4659 | for i = 1, 12 do | |
4660 | 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) | |
4661 | 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) | |
4662 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(10),0), 0.5) | |
4663 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-10), 0), 0.5) | |
4664 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.5) | |
4665 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.5) | |
4666 | 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) | |
4667 | if Debounces.on == false then break end | |
4668 | wait() | |
4669 | end | |
4670 | z = Instance.new("Sound",hed) | |
4671 | z.SoundId = "rbxassetid://168586621" | |
4672 | z.Looped = false | |
4673 | z.Pitch = 1 | |
4674 | z1 = Instance.new("Sound",hed) | |
4675 | z1.SoundId = "rbxassetid://168586621" | |
4676 | z1.Looped = false | |
4677 | z1.Pitch = 1 | |
4678 | wait(0.01) | |
4679 | z:Play() | |
4680 | z1:Play() | |
4681 | for i = 1, 12 do | |
4682 | 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) | |
4683 | 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) | |
4684 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(-40),0), 0.5) | |
4685 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(40), 0), 0.5) | |
4686 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(-10)), 0.5) | |
4687 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(20), 0, math.rad(10)), 0.5) | |
4688 | 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) | |
4689 | if Debounces.on == false then break end | |
4690 | wait() | |
4691 | end | |
4692 | to:disconnect() | |
4693 | larm.BrickColor = BrickColor.new("Really black") | |
4694 | rarm.BrickColor = BrickColor.new("Really black") | |
4695 | if Debounces.CanAttack == false then | |
4696 | Debounces.CanAttack = true | |
4697 | Debounces.on = false | |
4698 | Debounces.NoIdl = false | |
4699 | end | |
4700 | end | |
4701 | end | |
4702 | end) | |
4703 | ---------------------------------------------------- | |
4704 | Sit = false | |
4705 | mouse.KeyDown:connect(function(key) | |
4706 | if key == "v" then | |
4707 | if Sit == false then | |
4708 | Sit = true | |
4709 | hum.WalkSpeed = 0.001 | |
4710 | stanceToggle = "Sitting" | |
4711 | elseif Sit == true then | |
4712 | Sit = false | |
4713 | hum.WalkSpeed = 7 | |
4714 | stanceToggle = "Normal" | |
4715 | end | |
4716 | end | |
4717 | end) | |
4718 | ---------------------------------------------------- | |
4719 | mouse.KeyDown:connect(function(key) | |
4720 | if key == "t" then | |
4721 | if Debounces.CanAttack == true then | |
4722 | Debounces.CanAttack = false | |
4723 | Debounces.on = true | |
4724 | Debounces.NoIdl = true | |
4725 | for i = 1, 20 do | |
4726 | 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) | |
4727 | 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) | |
4728 | 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) | |
4729 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.4) | |
4730 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, .6) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.4) | |
4731 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.2) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.4) | |
4732 | 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) | |
4733 | if Debounces.on == false then break end | |
4734 | wait() | |
4735 | end | |
4736 | Spawn(function() | |
4737 | local Parts = {} | |
4738 | for Y = -5,5 do | |
4739 | local P = Instance.new("Part",char) | |
4740 | P.Anchored = true | |
4741 | P.FormFactor = "Custom" | |
4742 | P.CanCollide = false | |
4743 | P.Size = Vector3.new(1,2,1) | |
4744 | P.TopSurface = "SmoothNoOutlines" | |
4745 | P.BottomSurface = "SmoothNoOutlines" | |
4746 | P.BrickColor = BrickColor.new("Really black") | |
4747 | P.Name = tostring(Y) | |
4748 | local i = (Y+5)/(10) | |
4749 | i = 1-math.cos(math.pi*i-(math.pi/2)) | |
4750 | P.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,Y,-15+(i*1.5))*CFrame.Angles(math.rad(Y*5),0,0) | |
4751 | --[[P.Touched:connect(function(ht) | |
4752 | local hit = ht.Parent | |
4753 | if hit:FindFirstChild("Humanoid") then | |
4754 | hit.Humanoid:TakeDamage(math.random(20,50)) | |
4755 | end | |
4756 | end)]]-- | |
4757 | s = Instance.new("Sound",P) | |
4758 | s.SoundId = "rbxassetid://228343271" | |
4759 | s.Volume = .7 | |
4760 | s.Pitch = 0.9 | |
4761 | s:Play() | |
4762 | P.Touched:connect(function(ht) | |
4763 | hit = ht.Parent | |
4764 | if ht and hit:IsA("Model") then | |
4765 | if hit:FindFirstChild("Humanoid") then | |
4766 | if hit.Name ~= p.Name then | |
4767 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
4768 | Debounces.Slashed = true]]-- | |
4769 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(1,3)) | |
4770 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
4771 | wait(1) | |
4772 | --Debounces.Slashed = false | |
4773 | --end | |
4774 | end | |
4775 | end | |
4776 | elseif ht and hit:IsA("Hat") then | |
4777 | if hit.Parent.Name ~= p.Name then | |
4778 | if hit.Parent:FindFirstChild("Humanoid") then | |
4779 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
4780 | Debounces.Slashed = true]]-- | |
4781 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random (1,3)) | |
4782 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
4783 | wait(1) | |
4784 | --Debounces.Slashed = false | |
4785 | --end | |
4786 | end | |
4787 | end | |
4788 | end | |
4789 | end) | |
4790 | Parts[#Parts+1] = P | |
4791 | end | |
4792 | local BREAKIT = false | |
4793 | local CParts = {} | |
4794 | local Rocks = {} | |
4795 | local LastPos = nil | |
4796 | for i = 1,70 do | |
4797 | for i2,v in pairs(Parts) do | |
4798 | v.CFrame = v.CFrame*CFrame.new(0,0,-4) | |
4799 | local cf = v.CFrame | |
4800 | v.Size = v.Size+Vector3.new(0.4,0.35,0) | |
4801 | v.CFrame = cf | |
4802 | v.Transparency = v.Transparency+0.02 | |
4803 | if v.Transparency >= 0.975 then BREAKIT = true end | |
4804 | if v.Name == "0" then | |
4805 | local Ignore = {} | |
4806 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
4807 | if v.Character ~= nil then | |
4808 | Ignore[#Ignore+1] = v.Character | |
4809 | end | |
4810 | end | |
4811 | local ray = Ray.new(v.Position+Vector3.new(0,20,0),Vector3.new(0,-200,0)) | |
4812 | local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(ray,Ignore) | |
4813 | if Hit ~= nil then | |
4814 | if #Rocks == 0 then | |
4815 | for i = 1,5 do | |
4816 | local P = Instance.new("Part",char) | |
4817 | Rocks[#Rocks+1] = P | |
4818 | P.Anchored = true | |
4819 | P.FormFactor = "Custom" | |
4820 | P.BrickColor = Hit.BrickColor | |
4821 | P.Material = Hit.Material | |
4822 | P.TopSurface = "Smooth" | |
4823 | P.BottomSurface = "Smooth" | |
4824 | P.Size = Vector3.new(1,1,1)*(math.random(500,900)/100) | |
4825 | end | |
4826 | end | |
4827 | for i,P in pairs(Rocks) do | |
4828 | 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))) | |
4829 | end | |
4830 | local P = Instance.new("Part",char) | |
4831 | CParts[#CParts+1] = {P,tick()} | |
4832 | P.Anchored = true | |
4833 | P.FormFactor = "Custom" | |
4834 | P.BrickColor = Hit.BrickColor | |
4835 | P.Material = Hit.Material | |
4836 | P.TopSurface = "Smooth" | |
4837 | P.BottomSurface = "Smooth" | |
4838 | P.Size = Vector3.new(1,1,1)*(math.random(100,300)/100) | |
4839 | Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0) | |
4840 | Pos = Pos.p | |
4841 | 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))) | |
4842 | local P = P:Clone() | |
4843 | CParts[#CParts+1] = {P,tick()} | |
4844 | P.Parent = char | |
4845 | Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(-v.Size.X,0,0) | |
4846 | Pos = Pos.p | |
4847 | 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))) | |
4848 | if LastPos ~= nil then | |
4849 | local P = P:Clone() | |
4850 | CParts[#CParts+1] = {P,tick()} | |
4851 | P.Parent = char | |
4852 | P.BrickColor = BrickColor.new("Really black") | |
4853 | Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0) | |
4854 | Pos = Pos.p | |
4855 | local CFr = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0) | |
4856 | P.Size = Vector3.new(v.Size.X-0.25,1,(CFr.p-LastPos.p).Magnitude+0.25) | |
4857 | --P.Velocity = Vector3.new(0,-1000,0) | |
4858 | P.CFrame = CFrame.new(CFr.p,LastPos.p)*CFrame.new(0,0,-((CFr.p-LastPos.p).Magnitude+0.25)/2) | |
4859 | end | |
4860 | LastPos = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0) | |
4861 | end | |
4862 | end | |
4863 | end | |
4864 | if BREAKIT then break end | |
4865 | wait(0.002) | |
4866 | end | |
4867 | for i,v in pairs(Rocks) do | |
4868 | CParts[#CParts+1] = {v,tick()} | |
4869 | end | |
4870 | for i,v in pairs(Parts) do | |
4871 | v:Destroy() | |
4872 | end | |
4873 | Parts = nil | |
4874 | while true do | |
4875 | local t = tick() | |
4876 | local p = nil | |
4877 | for i,v in pairs(CParts) do | |
4878 | if t-v[2] > 4 then | |
4879 | v[1].Transparency = v[1].Transparency+0.05 | |
4880 | if v[1].Transparency >= 1 then | |
4881 | v[1]:Destroy() | |
4882 | CParts[i] = nil | |
4883 | end | |
4884 | end | |
4885 | p = v | |
4886 | end | |
4887 | if p == nil then break end | |
4888 | wait(0.002) | |
4889 | end | |
4890 | for i,v in pairs(CParts) do | |
4891 | v:Destroy() | |
4892 | end | |
4893 | CParts = {} | |
4894 | end) | |
4895 | for i = 1, 20 do | |
4896 | 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) | |
4897 | 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) | |
4898 | 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) | |
4899 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.6, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.4) | |
4900 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -1.4) * CFrame.Angles(math.rad(40), 0, math.rad(0)), 0.4) | |
4901 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1.6, -.9) * CFrame.Angles(math.rad(10), 0, math.rad(0)), 0.4) | |
4902 | 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) | |
4903 | if Debounces.on == false then break end | |
4904 | wait() | |
4905 | end | |
4906 | if Debounces.CanAttack == false then | |
4907 | Debounces.CanAttack = true | |
4908 | Debounces.on = false | |
4909 | Debounces.NoIdl = false | |
4910 | end | |
4911 | end | |
4912 | end | |
4913 | end) | |
4914 | ---------------------------------------------------- | |
4915 | mouse.KeyDown:connect(function(key) | |
4916 | if key == "e" then | |
4917 | larm.BrickColor = BrickColor.new("Bright red") | |
4918 | rarm.BrickColor = BrickColor.new("Bright red") | |
4919 | if Debounces.CanAttack == true then | |
4920 | Debounces.CanAttack = false | |
4921 | Debounces.on = true | |
4922 | Debounces.NoIdl = true | |
4923 | for i = 1, 18 do | |
4924 | 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) | |
4925 | 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) | |
4926 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
4927 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4) | |
4928 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.4) | |
4929 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4) | |
4930 | 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) | |
4931 | if Debounces.on == false then break end | |
4932 | wait() | |
4933 | end | |
4934 | 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)) | |
4935 | local rng = Instance.new("Part", char.Absolution.Handle) | |
4936 | rng.Anchored = true | |
4937 | rng.BrickColor = BrickColor.new("Really black") | |
4938 | rng.CanCollide = true | |
4939 | rng.FormFactor = 3 | |
4940 | rng.Name = "Ring" | |
4941 | rng.Size = Vector3.new(1, 1, 1) | |
4942 | rng.CanCollide = false | |
4943 | rng.Transparency = 0.35 | |
4944 | rng.TopSurface = 0 | |
4945 | rng.BottomSurface = 0 | |
4946 | rng.CFrame = HandCF | |
4947 | local rngm = Instance.new("SpecialMesh", rng) | |
4948 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
4949 | rngm.Scale = Vector3.new(1, 1, 2) | |
4950 | x = Instance.new("Sound", hed) | |
4951 | x.SoundId = "http://www.roblox.com/asset/?id=169445602" | |
4952 | x.Looped = false | |
4953 | x.Pitch = .7 | |
4954 | x.Volume = 1 | |
4955 | x1 = Instance.new("Sound", hed) | |
4956 | x1.SoundId = "http://www.roblox.com/asset/?id=169445602" | |
4957 | x1.Looped = false | |
4958 | x1.Pitch = .7 | |
4959 | x1.Volume = 1 | |
4960 | x:Play() | |
4961 | x1:Play() | |
4962 | rngto = rng.Touched:connect(function(ht) | |
4963 | hit = ht.Parent | |
4964 | if ht and hit:IsA("Model") then | |
4965 | if hit:FindFirstChild("Humanoid") then | |
4966 | if hit.Name ~= p.Name then | |
4967 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
4968 | Debounces.Slashed = true]]-- | |
4969 | hit:FindFirstChild("Humanoid"):TakeDamage(4) | |
4970 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
4971 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -120 | |
4972 | --Debounces.Slashed = false | |
4973 | --end | |
4974 | end | |
4975 | end | |
4976 | elseif ht and hit:IsA("Hat") then | |
4977 | if hit.Parent.Name ~= p.Name then | |
4978 | if hit.Parent:FindFirstChild("Humanoid") then | |
4979 | --[[ if Debounces.Slashing == true and Debounces.Slashed == false then | |
4980 | Debounces.Slashed = true]]-- | |
4981 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(4) | |
4982 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
4983 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -120 | |
4984 | --Debounces.Slashed = false | |
4985 | end | |
4986 | end | |
4987 | end | |
4988 | end) | |
4989 | coroutine.wrap(function() | |
4990 | for i = 1, 60, 2 do | |
4991 | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1) | |
4992 | rng.Size = rngm.Scale | |
4993 | rng.CFrame = HandCF | |
4994 | rng.Transparency = i/60 | |
4995 | wait() | |
4996 | end | |
4997 | wait() | |
4998 | rng:Destroy() | |
4999 | end)() | |
5000 | for i = 1, 18 do | |
5001 | 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) | |
5002 | 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) | |
5003 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
5004 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4) | |
5005 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.4) | |
5006 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4) | |
5007 | 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) | |
5008 | if Debounces.on == false then break end | |
5009 | wait() | |
5010 | end | |
5011 | larm.BrickColor = BrickColor.new("Really black") | |
5012 | rarm.BrickColor = BrickColor.new("Really black") | |
5013 | x:Destroy() | |
5014 | x1:Destroy() | |
5015 | if Debounces.CanAttack == false then | |
5016 | Debounces.CanAttack = true | |
5017 | Debounces.on = false | |
5018 | Debounces.NoIdl = false | |
5019 | end | |
5020 | end | |
5021 | end | |
5022 | end) | |
5023 | ---------------------------------------------------- | |
5024 | mouse.KeyDown:connect(function(key) | |
5025 | if key == "y" then | |
5026 | if Debounces.CanAttack == true then | |
5027 | Debounces.CanAttack = false | |
5028 | Debounces.on = true | |
5029 | Debounces.NoIdl = true | |
5030 | for i = 1, 15 do | |
5031 | 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) | |
5032 | 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) | |
5033 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2) | |
5034 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.2) | |
5035 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
5036 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
5037 | 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) | |
5038 | if Debounces.on == false then break end | |
5039 | wait() | |
5040 | end | |
5041 | x = Instance.new("Sound",char) | |
5042 | x.SoundId = "rbxassetid://228343271" | |
5043 | x.Pitch = 1 | |
5044 | x.Volume = .8 | |
5045 | wait(.1) | |
5046 | x:Play() | |
5047 | Debounces.on = false | |
5048 | Debounces.Here = false | |
5049 | shot = shot + 1 | |
5050 | local rng = Instance.new("Part", char) | |
5051 | rng.Anchored = true | |
5052 | rng.BrickColor = BrickColor.new("Really black") | |
5053 | rng.CanCollide = false | |
5054 | rng.FormFactor = 3 | |
5055 | rng.Name = "Ring" | |
5056 | rng.Size = Vector3.new(1, 1, 1) | |
5057 | rng.Transparency = 0.35 | |
5058 | rng.TopSurface = 0 | |
5059 | rng.BottomSurface = 0 | |
5060 | rng2 = rng:clone() | |
5061 | rng3 = rng2:clone() | |
5062 | rng4 = rng2:clone() | |
5063 | local rngm = Instance.new("SpecialMesh", rng) | |
5064 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
5065 | rngm.Scale = Vector3.new(10, 10, 1) | |
5066 | rngm2 = rngm:clone() | |
5067 | rngm2.Scale = Vector3.new(5, 5, 1) | |
5068 | rngm3=rngm2:clone() | |
5069 | rngm3.Parent = rng3 | |
5070 | rngm3.Scale = Vector3.new(8, 8, 1) | |
5071 | rngm4 = rngm2:clone() | |
5072 | rngm4.Parent = rng4 | |
5073 | rngm4.Scale = Vector3.new(6, 6, 1) | |
5074 | local bem = Instance.new("Part", char) | |
5075 | bem.Anchored = true | |
5076 | bem.BrickColor = BrickColor.new("Really black") | |
5077 | bem.CanCollide = false | |
5078 | bem.FormFactor = 3 | |
5079 | bem.Name = "Beam" .. shot | |
5080 | bem.Size = Vector3.new(1, 1, 1) | |
5081 | bem.Transparency = 0.35 | |
5082 | bem.TopSurface = 0 | |
5083 | bem.BottomSurface = 0 | |
5084 | local bemm = Instance.new("SpecialMesh", bem) | |
5085 | bemm.MeshType = 4 | |
5086 | bemm.Scale = Vector3.new(1, 4, 4) | |
5087 | local out = Instance.new("Part", char) | |
5088 | out.Anchored = true | |
5089 | out.BrickColor = BrickColor.new("Really black") | |
5090 | out.CanCollide = false | |
5091 | out.FormFactor = 3 | |
5092 | out.Name = "Out" | |
5093 | out.Size = Vector3.new(4, 4, 4) | |
5094 | out.Transparency = 0.35 | |
5095 | out.TopSurface = 0 | |
5096 | out.BottomSurface = 0 | |
5097 | local outm = Instance.new("SpecialMesh", out) | |
5098 | outm.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
5099 | outm.Scale = Vector3.new(4, 4, 4) | |
5100 | local bnd = Instance.new("Part", char) | |
5101 | bnd.Anchored = true | |
5102 | bnd.BrickColor = BrickColor.new("Really black") | |
5103 | bnd.CanCollide = false | |
5104 | bnd.FormFactor = 3 | |
5105 | bnd.Name = "Bend" | |
5106 | bnd.Size = Vector3.new(1, 1, 1) | |
5107 | bnd.Transparency = 1 | |
5108 | bnd.TopSurface = 0 | |
5109 | bnd.BottomSurface = 0 | |
5110 | local bndm = Instance.new("SpecialMesh", bnd) | |
5111 | bndm.MeshType = 3 | |
5112 | bndm.Scale = Vector3.new(8, 8, 8) | |
5113 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
5114 | bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
5115 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
5116 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
5117 | rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0) | |
5118 | rng4.CFrame = rng3.CFrame * CFrame.new(0, -.5, 0) | |
5119 | Debounces.Shewt = true | |
5120 | coroutine.wrap(function() | |
5121 | for i = 1, 20, 0.2 do | |
5122 | rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
5123 | rngm3.Scale = Vector3.new(8 + i*2, 8 + i*2, 1) | |
5124 | rngm4.Scale = Vector3.new(6 + i*2, 6 + i*2, 1) | |
5125 | rng.Transparency = i/20 | |
5126 | rng3.Transparency = 1/16 | |
5127 | rng4.Transparency = i/12 | |
5128 | wait() | |
5129 | end | |
5130 | wait() | |
5131 | rng:Destroy() | |
5132 | end)() | |
5133 | if Debounces.Shewt == true then | |
5134 | char:WaitForChild("Beam" .. shot).Touched:connect(function(ht) | |
5135 | hit = ht.Parent | |
5136 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then | |
5137 | if HasntTouched(hit.Name) == true and deb == false then | |
5138 | deb = true | |
5139 | coroutine.wrap(function() | |
5140 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
5141 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180 | |
5142 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73)) | |
5143 | end)() | |
5144 | table.insert(Touche, hit.Name) | |
5145 | deb = false | |
5146 | end | |
5147 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then | |
5148 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
5149 | deb = true | |
5150 | coroutine.wrap(function() | |
5151 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true | |
5152 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180 | |
5153 | wait(1) | |
5154 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false | |
5155 | end)() | |
5156 | table.insert(Touche, hit.Parent.Name) | |
5157 | deb = false | |
5158 | for i, v in pairs(Touche) do | |
5159 | print(v) | |
5160 | end | |
5161 | end | |
5162 | end | |
5163 | end) | |
5164 | end | |
5165 | for i = 0, 260, 8 do | |
5166 | bem.Size = Vector3.new(i, 2, 2) | |
5167 | bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
5168 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2) | |
5169 | bnd.Size = Vector3.new(1,1,1) | |
5170 | bndm.Scale = Vector3.new(8,8,8) | |
5171 | if i % 10 == 0 then | |
5172 | local newRng = rng2:Clone() | |
5173 | newRng.Parent = char | |
5174 | newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
5175 | local newRngm = rngm2:clone() | |
5176 | newRngm.Parent=newRng | |
5177 | coroutine.wrap(function() | |
5178 | for i = 1, 10, 0.2 do | |
5179 | newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 1) | |
5180 | newRng.Transparency = i/10 | |
5181 | wait() | |
5182 | end | |
5183 | wait() | |
5184 | newRng:Destroy() | |
5185 | end)() | |
5186 | end | |
5187 | wait() | |
5188 | end | |
5189 | wait() | |
5190 | Debounces.Shewt = false | |
5191 | bem:Destroy() | |
5192 | out:Destroy() | |
5193 | bnd:Destroy() | |
5194 | Debounces.Ready = false | |
5195 | for i, v in pairs(Touche) do | |
5196 | table.remove(Touche, i) | |
5197 | end | |
5198 | wait() | |
5199 | table.insert(Touche, char.Name) | |
5200 | Debounces.NoIdl = false | |
5201 | if Debounces.CanAttack == false then | |
5202 | Debounces.CanAttack = true | |
5203 | end | |
5204 | end | |
5205 | end | |
5206 | end) | |
5207 | ---------------------------------------------------- | |
5208 | sidz = {"231917888", "231917845", "231917806"} | |
5209 | ptz = {0.65, 0.7, 0.75, 0.8, 0.95, 1} | |
5210 | mouse.KeyDown:connect(function(key) | |
5211 | if key == "f" then | |
5212 | larm.BrickColor = BrickColor.new("Bright red") | |
5213 | rarm.BrickColor = BrickColor.new("Bright red") | |
5214 | if Debounces.CanAttack == true then | |
5215 | Debounces.CanAttack = false | |
5216 | Debounces.on = true | |
5217 | Debounces.NoIdl = true | |
5218 | for i = 1, 10 do | |
5219 | 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) | |
5220 | 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) | |
5221 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.4) | |
5222 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.4) | |
5223 | 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) | |
5224 | 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) | |
5225 | 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) | |
5226 | if Debounces.on == false then break end | |
5227 | wait() | |
5228 | end | |
5229 | z = Instance.new("Sound",char) | |
5230 | z.SoundId = "rbxassetid://"..sidz[math.random(1,#sidz)] | |
5231 | z.Pitch = ptz[math.random(1,#ptz)] | |
5232 | z.Volume = 1 | |
5233 | z1 = Instance.new("Sound",char) | |
5234 | z1.SoundId = z.SoundId | |
5235 | z1.Pitch = z.Pitch | |
5236 | z1.Volume = 1 | |
5237 | wait(1) | |
5238 | z:Play() | |
5239 | z1:Play() | |
5240 | Stomp() | |
5241 | for i = 1, 20 do | |
5242 | 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) | |
5243 | 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) | |
5244 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.2)*CFrame.Angles(math.rad(-26),math.rad(0),0), 0.6) | |
5245 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, -.6) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.6) | |
5246 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(30), 0, math.rad(0)), 0.6) | |
5247 | 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) | |
5248 | 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) | |
5249 | if Debounces.on == false then break end | |
5250 | wait() | |
5251 | end | |
5252 | if Debounces.CanAttack == false then | |
5253 | Debounces.CanAttack = true | |
5254 | Debounces.on = false | |
5255 | Debounces.NoIdl = false | |
5256 | larm.BrickColor = BrickColor.new("Really black") | |
5257 | rarm.BrickColor = BrickColor.new("Really black") | |
5258 | end | |
5259 | end | |
5260 | end | |
5261 | end) | |
5262 | ---------------------------------------------------- | |
5263 | mouse.KeyDown:connect(function(key) | |
5264 | if key == "g" then | |
5265 | larm.BrickColor = BrickColor.new("Bright red") | |
5266 | rarm.BrickColor = BrickColor.new("Bright red") | |
5267 | if Debounces.CanAttack == true then | |
5268 | Debounces.CanAttack = false | |
5269 | Debounces.on = true | |
5270 | Debounces.NoIdl = true | |
5271 | chrg = lleg.Touched:connect(function(ht) | |
5272 | hit = ht.Parent | |
5273 | if ht and hit:IsA("Model") then | |
5274 | if hit:FindFirstChild("Humanoid") then | |
5275 | if hit.Name ~= p.Name then | |
5276 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
5277 | Debounces.Slashed = true]]-- | |
5278 | hit:FindFirstChild("Humanoid"):TakeDamage(2) | |
5279 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
5280 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70 | |
5281 | --Debounces.Slashed = false | |
5282 | --end | |
5283 | end | |
5284 | end | |
5285 | elseif ht and hit:IsA("Hat") then | |
5286 | if hit.Parent.Name ~= p.Name then | |
5287 | if hit.Parent:FindFirstChild("Humanoid") then | |
5288 | --[[ if Debounces.Slashing == true and Debounces.Slashed == false then | |
5289 | Debounces.Slashed = true]]-- | |
5290 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2) | |
5291 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
5292 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70 | |
5293 | --Debounces.Slashed = false | |
5294 | end | |
5295 | end | |
5296 | end | |
5297 | end) | |
5298 | for i = 1, 14 do | |
5299 | 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) | |
5300 | 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) | |
5301 | 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) | |
5302 | 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) | |
5303 | 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) | |
5304 | 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) | |
5305 | 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) | |
5306 | if Debounces.on == false then break end | |
5307 | wait() | |
5308 | end | |
5309 | charge() | |
5310 | z = Instance.new("Sound",char) | |
5311 | z.SoundId = "rbxassetid://200632875" | |
5312 | z.Volume = 1 | |
5313 | z.Pitch = .8 | |
5314 | z1 = Instance.new("Sound",char) | |
5315 | z1.SoundId = "rbxassetid://200632875" | |
5316 | z1.Volume = 1 | |
5317 | z1.Pitch = .9 | |
5318 | z:Play() | |
5319 | z1:Play() | |
5320 | wait(1) | |
5321 | z:Destroy() | |
5322 | z1:Destroy() | |
5323 | chrg:disconnect() | |
5324 | if Debounces.CanAttack == false then | |
5325 | Debounces.CanAttack = true | |
5326 | Debounces.on = false | |
5327 | Debounces.NoIdl = false | |
5328 | larm.BrickColor = BrickColor.new("Really black") | |
5329 | rarm.BrickColor = BrickColor.new("Really black") | |
5330 | end | |
5331 | end | |
5332 | end | |
5333 | end) | |
5334 | ---------------------------------------------------- | |
5335 | pt = {0.7, 0.8, 0.9} | |
5336 | mouse.KeyDown:connect(function(key) | |
5337 | if key == "h" then | |
5338 | if Debounces.CanJoke == true then | |
5339 | Debounces.CanJoke = false | |
5340 | u = Instance.new("Sound") | |
5341 | u.SoundId = "http://www.roblox.com/asset/?id=333446256" | |
5342 | u.Parent = char | |
5343 | u.Looped = false | |
5344 | u.Pitch = pt[math.random(1,#pt)] | |
5345 | u.Volume = 1 | |
5346 | u2 = Instance.new("Sound") | |
5347 | u2.SoundId = "http://www.roblox.com/asset/?id=333446256" | |
5348 | u2.Parent = char | |
5349 | u2.Looped = false | |
5350 | u2.Pitch = u.Pitch | |
5351 | u2.Volume = 1 | |
5352 | wait(.01) | |
5353 | u:Play() | |
5354 | u2:Play() | |
5355 | wait(6) | |
5356 | u:Destroy() | |
5357 | u2:Destroy() | |
5358 | if Debounces.CanJoke == false then | |
5359 | Debounces.CanJoke = true | |
5360 | end | |
5361 | end | |
5362 | end | |
5363 | end) | |
5364 | ---------------------------------------------------- | |
5365 | mouse.KeyDown:connect(function(key) | |
5366 | if key == "l" then | |
5367 | if Debounces.CanJoke == true then | |
5368 | Debounces.CanJoke = false | |
5369 | z = Instance.new("Sound",char) | |
5370 | z.SoundId = "rbxassetid://233774928" | |
5371 | z.Pitch = .76 | |
5372 | z.Volume = 1 | |
5373 | wait() | |
5374 | z:Play() | |
5375 | wait(6) | |
5376 | z:Destroy() | |
5377 | if Debounces.CanJoke == false then | |
5378 | Debounces.CanJoke = true | |
5379 | end | |
5380 | end | |
5381 | end | |
5382 | end) | |
5383 | ---------------------------------------------------- | |
5384 | mouse.KeyDown:connect(function(key) | |
5385 | if key == "j" then | |
5386 | if Debounces.CanJoke == true then | |
5387 | Debounces.CanJoke = false | |
5388 | z = Instance.new("Sound",char) | |
5389 | z.SoundId = "rbxassetid://135017456" | |
5390 | z.Pitch = .76 | |
5391 | z.Volume = 1 | |
5392 | wait() | |
5393 | z:Play() | |
5394 | wait(6) | |
5395 | z:Destroy() | |
5396 | if Debounces.CanJoke == false then | |
5397 | Debounces.CanJoke = true | |
5398 | end | |
5399 | end | |
5400 | end | |
5401 | end) | |
5402 | ---------------------------------------------------- | |
5403 | mouse.KeyDown:connect(function(key) | |
5404 | if key == "n" then | |
5405 | if Debounces.CanJoke == true then | |
5406 | Debounces.CanJoke = false | |
5407 | z = Instance.new("Sound",char) | |
5408 | z.SoundId = "rbxassetid://130792236" | |
5409 | z.Pitch = .76 | |
5410 | z.Volume = 1 | |
5411 | wait() | |
5412 | z:Play() | |
5413 | wait(6) | |
5414 | z:Destroy() | |
5415 | if Debounces.CanJoke == false then | |
5416 | Debounces.CanJoke = true | |
5417 | end | |
5418 | end | |
5419 | end | |
5420 | end) | |
5421 | ---------------------------------------------------- | |
5422 | mouse.KeyDown:connect(function(key) | |
5423 | if key == "k" then | |
5424 | if Debounces.CanJoke == true then | |
5425 | Debounces.CanJoke = false | |
5426 | z = Instance.new("Sound",char) | |
5427 | z.SoundId = "rbxassetid://135014184" | |
5428 | z.Pitch = .76 | |
5429 | z.Volume = 1 | |
5430 | wait() | |
5431 | z:Play() | |
5432 | wait(4) | |
5433 | z:Destroy() | |
5434 | if Debounces.CanJoke == false then | |
5435 | Debounces.CanJoke = true | |
5436 | end | |
5437 | end | |
5438 | end | |
5439 | end) | |
5440 | ---------------------------------------------------- | |
5441 | mouse.KeyDown:connect(function(key) | |
5442 | if key == "x" then | |
5443 | if Debounces.CanAttack == true then | |
5444 | Debounces.CanAttack = false | |
5445 | Debounces.NoIdl = true | |
5446 | Debounces.on = true | |
5447 | Debounces.ks = true | |
5448 | for i = 1, 10 do | |
5449 | 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) | |
5450 | 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) | |
5451 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.4)*CFrame.Angles(math.rad(-26),math.rad(0),0), 0.6) | |
5452 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.6) | |
5453 | 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) | |
5454 | 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) | |
5455 | 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) | |
5456 | if Debounces.on == false then break end | |
5457 | wait() | |
5458 | end | |
5459 | z = Instance.new("Sound",hed) | |
5460 | z.SoundId = "rbxassetid://169445092" | |
5461 | z.Volume = 1 | |
5462 | wait(0.1) | |
5463 | z:Play() | |
5464 | kik = rleg.Touched:connect(function(ht) | |
5465 | hit = ht.Parent | |
5466 | if ht and hit:IsA("Model") then | |
5467 | if hit:FindFirstChild("Humanoid") then | |
5468 | if hit.Name ~= p.Name then | |
5469 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
5470 | Debounces.Slashed = true]]-- | |
5471 | if Debounces.ks==true then | |
5472 | z = Instance.new("Sound",hed) | |
5473 | z.SoundId = "rbxassetid://169380525" | |
5474 | z.Volume = 1 | |
5475 | z:Play() | |
5476 | Debounces.ks=false | |
5477 | end | |
5478 | hit:FindFirstChild("Humanoid"):TakeDamage(2) | |
5479 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
5480 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70 | |
5481 | --Debounces.Slashed = false | |
5482 | --end | |
5483 | end | |
5484 | end | |
5485 | elseif ht and hit:IsA("Hat") then | |
5486 | if hit.Parent.Name ~= p.Name then | |
5487 | if hit.Parent:FindFirstChild("Humanoid") then | |
5488 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
5489 | Debounces.Slashed = true]]-- | |
5490 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2) | |
5491 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
5492 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70 | |
5493 | --Debounces.Slashed = false | |
5494 | --end | |
5495 | end | |
5496 | end | |
5497 | end | |
5498 | end) | |
5499 | for i = 1, 8 do | |
5500 | 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) | |
5501 | 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) | |
5502 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,.2)*CFrame.Angles(math.rad(8),math.rad(0),0), 0.7) | |
5503 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(16), math.rad(0), 0), 0.7) | |
5504 | 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) | |
5505 | 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) | |
5506 | 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) | |
5507 | if Debounces.on == false then break end | |
5508 | wait() | |
5509 | end | |
5510 | kik:disconnect() | |
5511 | if Debounces.CanAttack == false then | |
5512 | Debounces.CanAttack = true | |
5513 | Debounces.on = false | |
5514 | Debounces.NoIdl = false | |
5515 | end | |
5516 | end | |
5517 | end | |
5518 | end) | |
5519 | ---------------------------------------------------- | |
5520 | mouse.KeyDown:connect(function(key) | |
5521 | if key == "c" then | |
5522 | if Debounces.CanAttack == true then | |
5523 | Debounces.CanAttack = false | |
5524 | Debounces.NoIdl = true | |
5525 | Debounces.on = true | |
5526 | SIDZ = {"231917744", "231917742"} | |
5527 | PTZ = {0.7, 0.8, 0.9, 1} | |
5528 | for i = 1, 20 do | |
5529 | wait() | |
5530 | for i,v in pairs(char.Absolution:children()) do | |
5531 | if v:IsA("Part") or v:IsA("WedgePart") then | |
5532 | v.Transparency = v.Transparency + 0.05 | |
5533 | end | |
5534 | end | |
5535 | end | |
5536 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
5537 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
5538 | local List = {} | |
5539 | for i,v in pairs(workspace:GetChildren())do | |
5540 | if v:IsA("Model")then | |
5541 | if v:findFirstChild("Torso")then | |
5542 | if v ~= char then | |
5543 | if(v.Torso.Position -Position).magnitude <= Distance then | |
5544 | table.insert(List,v) | |
5545 | end | |
5546 | end | |
5547 | end | |
5548 | end | |
5549 | end | |
5550 | return List | |
5551 | end | |
5552 | GroundPound() | |
5553 | for i = 1, 5 do | |
5554 | 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) | |
5555 | 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) | |
5556 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6) | |
5557 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6) | |
5558 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6) | |
5559 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
5560 | 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) | |
5561 | if Debounces.on == false then break end | |
5562 | wait() | |
5563 | end | |
5564 | GroundPound() | |
5565 | for i = 1, 5 do | |
5566 | 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) | |
5567 | 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) | |
5568 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6) | |
5569 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6) | |
5570 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
5571 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6) | |
5572 | 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) | |
5573 | if Debounces.on == false then break end | |
5574 | wait() | |
5575 | end | |
5576 | GroundPound() | |
5577 | for i = 1, 5 do | |
5578 | 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) | |
5579 | 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) | |
5580 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6) | |
5581 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6) | |
5582 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6) | |
5583 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
5584 | 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) | |
5585 | if Debounces.on == false then break end | |
5586 | wait() | |
5587 | end | |
5588 | GroundPound() | |
5589 | for i = 1, 5 do | |
5590 | 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) | |
5591 | 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) | |
5592 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6) | |
5593 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6) | |
5594 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
5595 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6) | |
5596 | 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) | |
5597 | if Debounces.on == false then break end | |
5598 | wait() | |
5599 | end | |
5600 | GroundPound() | |
5601 | for i = 1, 5 do | |
5602 | 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) | |
5603 | 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) | |
5604 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6) | |
5605 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6) | |
5606 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6) | |
5607 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
5608 | 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) | |
5609 | if Debounces.on == false then break end | |
5610 | wait() | |
5611 | end | |
5612 | GroundPound() | |
5613 | for i = 1, 5 do | |
5614 | 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) | |
5615 | 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) | |
5616 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6) | |
5617 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6) | |
5618 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
5619 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6) | |
5620 | 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) | |
5621 | if Debounces.on == false then break end | |
5622 | wait() | |
5623 | end | |
5624 | for i = 1, 18 do | |
5625 | 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) | |
5626 | 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) | |
5627 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.4) | |
5628 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.4) | |
5629 | 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) | |
5630 | 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) | |
5631 | 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) | |
5632 | if Debounces.on == false then break end | |
5633 | wait() | |
5634 | end | |
5635 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,25))do | |
5636 | if v:FindFirstChild('Humanoid') then | |
5637 | v.Humanoid:TakeDamage(math.random(20,60)) | |
5638 | v.Humanoid.PlatformStand = true | |
5639 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100 | |
5640 | end | |
5641 | end | |
5642 | x = Instance.new("Sound",char) | |
5643 | x.SoundId = "rbxassetid://"..SIDZ[math.random(1,#SIDZ)] | |
5644 | x.Pitch = PTZ[math.random(1,#PTZ)] | |
5645 | x.Volume = 1 | |
5646 | wait(0.1) | |
5647 | x:Play() | |
5648 | Crater(hed,20) | |
5649 | for i = 1, 14 do | |
5650 | 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) | |
5651 | 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) | |
5652 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.6) | |
5653 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -5, 0) * CFrame.Angles(math.rad(-90), math.rad(0), 0), 0.6) | |
5654 | 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) | |
5655 | 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) | |
5656 | 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) | |
5657 | if Debounces.on == false then break end | |
5658 | wait() | |
5659 | end | |
5660 | if Debounces.CanAttack == false then | |
5661 | Debounces.CanAttack = true | |
5662 | Debounces.on = false | |
5663 | Debounces.NoIdl = false | |
5664 | for i = 1, 20 do | |
5665 | wait() | |
5666 | for i,v in pairs(char.Absolution:children()) do | |
5667 | if v:IsA("Part") or v:IsA("WedgePart") then | |
5668 | v.Transparency = v.Transparency - 0.05 | |
5669 | end | |
5670 | end | |
5671 | end | |
5672 | end | |
5673 | end | |
5674 | end | |
5675 | end) | |
5676 | ----------------------------------------------------176349813 | |
5677 | mouse.KeyDown:connect(function(key) | |
5678 | if key == "b" then | |
5679 | hum.WalkSpeed = 0.01 | |
5680 | if Debounces.CanAttack == true then | |
5681 | Debounces.CanAttack = false | |
5682 | Debounces.NoIdl = true | |
5683 | Debounces.on = true | |
5684 | for i = 1,20 do | |
5685 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(75), 0, math.rad(-30)), 0.1) | |
5686 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(75), 0, math.rad(30)), 0.1) | |
5687 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.1) | |
5688 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.1) | |
5689 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles (math.rad(30), 0, math.rad(-5)), 0.1) | |
5690 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles (math.rad(30), 0, math.rad(5)), 0.1) | |
5691 | 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) | |
5692 | if Debounces.on == false then break end | |
5693 | wait() | |
5694 | end | |
5695 | wait(1) | |
5696 | v = Instance.new("Sound") | |
5697 | v.SoundId = "rbxassetid://181384451" | |
5698 | v.Parent = char | |
5699 | v.Looped = false | |
5700 | v.Pitch = 1.04 | |
5701 | v.Volume = 1 | |
5702 | wait(.01) | |
5703 | v:Play() | |
5704 | ||
5705 | if Daytime == true then | |
5706 | Daytime = false | |
5707 | l.TimeOfDay = 24 | |
5708 | else | |
5709 | Daytime = true | |
5710 | l.TimeOfDay = 12 | |
5711 | l.OutdoorAmbient = Color3.new(0.498039, 0.498039, 0.498039) | |
5712 | end | |
5713 | ||
5714 | local Shockwave = function() | |
5715 | local rng1 = Instance.new("Part", char) | |
5716 | rng1.Anchored = true | |
5717 | rng1.BrickColor = BrickColor.new("Really black") | |
5718 | rng1.CanCollide = false | |
5719 | rng1.FormFactor = 3 | |
5720 | rng1.Name = "Ring" | |
5721 | rng1.Size = Vector3.new(1, 1, 1) | |
5722 | rng1.Transparency = 0.35 | |
5723 | rng1.TopSurface = 0 | |
5724 | rng1.BottomSurface = 0 | |
5725 | local rngm1 = Instance.new("SpecialMesh", rng) | |
5726 | rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
5727 | rngm1.Scale = Vector3.new(10, 10, 1) | |
5728 | rng1.CFrame = CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0) | |
5729 | local Wave = Instance.new("Part", game.Workspace--[[?]]) | |
5730 | Wave.Name = "Shockwave" | |
5731 | Wave.BrickColor = BrickColor.new("Really black") | |
5732 | Wave.Size = Vector3.new(1, 1, 1) | |
5733 | Wave.Shape = "Ball" | |
5734 | Wave.CanCollide = false | |
5735 | Wave.Anchored = true | |
5736 | Wave.TopSurface = 0 | |
5737 | Wave.BottomSurface = 0 | |
5738 | Wave.Touched:connect(function(hit) | |
5739 | if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then | |
5740 | local Occlude = true | |
5741 | local NotOccludes = { | |
5742 | char.Name; | |
5743 | "Wings"; | |
5744 | "Scythe"; | |
5745 | "Thingy"; | |
5746 | "Thingy2"; -- put all of the names in a table pls | |
5747 | } | |
5748 | for i,v in pairs(NotOccludes) do | |
5749 | if hit.Parent.Name == v then | |
5750 | Occlude = false | |
5751 | end | |
5752 | end | |
5753 | --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 | |
5754 | if Occlude then | |
5755 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 1 | |
5756 | hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * -120 | |
5757 | end | |
5758 | end | |
5759 | end) | |
5760 | ||
5761 | Instance.new("SpecialMesh", Wave).MeshType = "Sphere" | |
5762 | ||
5763 | coroutine.wrap(function() | |
5764 | for i = 1, 20, 0.2 do | |
5765 | rngm1.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
5766 | rng1.Transparency = i/20 | |
5767 | wait() | |
5768 | end | |
5769 | wait() | |
5770 | rng1:Destroy() | |
5771 | end)() | |
5772 | ||
5773 | Delay(0, function() | |
5774 | ||
5775 | if Daytime == false then | |
5776 | for i = 1, 50, 1 do | |
5777 | Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i) | |
5778 | Wave.CFrame = char.Torso.CFrame | |
5779 | local t = i / 50 | |
5780 | Wave.Transparency = t | |
5781 | wait() | |
5782 | end | |
5783 | else | |
5784 | for i = 1, 50, 1 do | |
5785 | Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i) | |
5786 | Wave.CFrame = char.Torso.CFrame | |
5787 | local t = i / 50 | |
5788 | Wave.Transparency = t | |
5789 | wait() | |
5790 | end | |
5791 | end | |
5792 | Wave:Destroy() | |
5793 | end) | |
5794 | Delay(0, function() | |
5795 | while wait() do | |
5796 | if Wave ~= nil then | |
5797 | Wave.CFrame = char.Torso.CFrame | |
5798 | else | |
5799 | break | |
5800 | end | |
5801 | end | |
5802 | end) | |
5803 | end | |
5804 | Shockwave() | |
5805 | for i = 1, 15 do | |
5806 | 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) | |
5807 | 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) | |
5808 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1) | |
5809 | 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) | |
5810 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1) | |
5811 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
5812 | if Debounces.on == false then break end | |
5813 | wait() | |
5814 | end | |
5815 | for i = 1, 15 do | |
5816 | 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) | |
5817 | 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) | |
5818 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1) | |
5819 | 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) | |
5820 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
5821 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1) | |
5822 | if Debounces.on == false then break end | |
5823 | wait() | |
5824 | end | |
5825 | for i = 1, 15 do | |
5826 | 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) | |
5827 | 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) | |
5828 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1) | |
5829 | 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) | |
5830 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1) | |
5831 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
5832 | if Debounces.on == false then break end | |
5833 | wait() | |
5834 | end | |
5835 | for i = 1, 15 do | |
5836 | 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) | |
5837 | 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) | |
5838 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1) | |
5839 | 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) | |
5840 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
5841 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1) | |
5842 | if Debounces.on == false then break end | |
5843 | wait() | |
5844 | end | |
5845 | for i = 1, 15 do | |
5846 | 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) | |
5847 | 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) | |
5848 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1) | |
5849 | 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) | |
5850 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1) | |
5851 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
5852 | if Debounces.on == false then break end | |
5853 | wait() | |
5854 | end | |
5855 | for i = 1, 15 do | |
5856 | 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) | |
5857 | 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) | |
5858 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1) | |
5859 | 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) | |
5860 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
5861 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1) | |
5862 | if Debounces.on == false then break end | |
5863 | wait() | |
5864 | end | |
5865 | wait(1.4) | |
5866 | Debounces.NoIdl = false | |
5867 | hum.WalkSpeed = 5 | |
5868 | Debounces.on = false | |
5869 | wait() | |
5870 | if Debounces.CanAttack == false then | |
5871 | Debounces.CanAttack = true | |
5872 | v:Destroy() | |
5873 | end | |
5874 | end | |
5875 | end | |
5876 | end) | |
5877 | ---------------------------------------------------- | |
5878 | mouse.KeyDown:connect(function(key) | |
5879 | if key == "m" then | |
5880 | hum.WalkSpeed = 0 | |
5881 | if Debounces.CanAttack == true then | |
5882 | Debounces.CanAttack = false | |
5883 | Debounces.on = true | |
5884 | Debounces.NoIdl = true | |
5885 | --[[x = Instance.new("Sound",char) | |
5886 | x.SoundId = "http://www.roblox.com/asset/?id=169445572" | |
5887 | x.Looped = false | |
5888 | x.Pitch = 1.1 | |
5889 | x.Volume = 1 | |
5890 | x:Play() | |
5891 | x2 = Instance.new("Sound",char) | |
5892 | x2.SoundId = "http://www.roblox.com/asset/?id=169380495" | |
5893 | x2.Looped = false | |
5894 | x2.Pitch = .7 | |
5895 | x2.Volume = 1 | |
5896 | wait(.1) | |
5897 | x:Play() | |
5898 | x2:Play() | |
5899 | for i = 1, 20 do | |
5900 | 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) | |
5901 | 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) | |
5902 | 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) | |
5903 | 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) | |
5904 | 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) | |
5905 | 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) | |
5906 | 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) | |
5907 | if Debounces.on == false then break end | |
5908 | wait() | |
5909 | x:Destroy() | |
5910 | x2:Destroy() | |
5911 | end | |
5912 | wait(1)]]-- | |
5913 | local rng = Instance.new("Part", char) | |
5914 | rng.Anchored = true | |
5915 | rng.BrickColor = BrickColor.new("Really black") | |
5916 | rng.CanCollide = false | |
5917 | rng.FormFactor = 3 | |
5918 | rng.Name = "Ring" | |
5919 | rng.Size = Vector3.new(1, 1, 1) | |
5920 | rng.Transparency = 0.35 | |
5921 | rng.TopSurface = 0 | |
5922 | rng.BottomSurface = 0 | |
5923 | rng.Position = torso.Position - Vector3.new(0,2,0) | |
5924 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
5925 | local rngm = Instance.new("SpecialMesh", rng) | |
5926 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
5927 | rngm.Scale = Vector3.new(1, 1, 2) | |
5928 | x = Instance.new("Sound",char) | |
5929 | x.SoundId = "http://www.roblox.com/asset/?id=169445602" | |
5930 | x.Looped = false | |
5931 | x.Pitch = .7 | |
5932 | x.Volume = 1 | |
5933 | x:Play() | |
5934 | coroutine.wrap(function() | |
5935 | for i = 1, 60, 2 do | |
5936 | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1) | |
5937 | rng.Transparency = i/60 | |
5938 | wait() | |
5939 | end | |
5940 | wait() | |
5941 | rng:Destroy() | |
5942 | end)() | |
5943 | hum.WalkSpeed = 50 | |
5944 | BV = Instance.new("BodyVelocity", torso) | |
5945 | BV.maxForce = Vector3.new(0,200000,0) | |
5946 | BV.P = 100000 | |
5947 | BV.velocity = Vector3.new(0,800,0) | |
5948 | for i = 1, 20 do | |
5949 | 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) | |
5950 | 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) | |
5951 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(40), 0, math.rad(-20)), 0.7) | |
5952 | 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) | |
5953 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7) | |
5954 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, 0, -2) * CFrame.Angles(math.rad(0), 0, 0), 0.7) | |
5955 | 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) | |
5956 | if Debounces.on == false then break end | |
5957 | wait() | |
5958 | end | |
5959 | x:Destroy() | |
5960 | BV:Destroy() | |
5961 | --[[for i = 1, 30 do | |
5962 | 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) | |
5963 | 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) | |
5964 | 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) | |
5965 | 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) | |
5966 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -1) * CFrame.Angles(math.rad(20), 0, 0), 0.3) | |
5967 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.6) * CFrame.Angles(math.rad(-30), 0, 0), 0.3) | |
5968 | if Debounces.on == false then break end | |
5969 | wait() | |
5970 | end]]-- | |
5971 | if (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 1 then | |
5972 | for i = 1, 30 do | |
5973 | 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) | |
5974 | 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) | |
5975 | 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) | |
5976 | 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) | |
5977 | 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) | |
5978 | 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) | |
5979 | 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) | |
5980 | if Debounces.on == false then break end | |
5981 | wait() | |
5982 | end | |
5983 | end | |
5984 | Debounces.on = false | |
5985 | Debounces.NoIdl = false | |
5986 | local ry,ht,ps=nil,nil,nil | |
5987 | while ht==nil do | |
5988 | ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char}) | |
5989 | wait() | |
5990 | end | |
5991 | z = Instance.new("Sound",char) | |
5992 | z.SoundId = "rbxassetid://142070127" | |
5993 | z.Volume = 1 | |
5994 | wait(.1) | |
5995 | z:Play() | |
5996 | Landing() | |
5997 | hum.WalkSpeed = 8 | |
5998 | if Debounces.CanAttack == false then | |
5999 | Debounces.CanAttack = true | |
6000 | end | |
6001 | end | |
6002 | end | |
6003 | end) | |
6004 | ---------------------------------------------------- | |
6005 | Grab = false | |
6006 | mouse.KeyDown:connect(function(key) | |
6007 | if key == "z" then | |
6008 | larm.BrickColor = BrickColor.new("Bright red") | |
6009 | rarm.BrickColor = BrickColor.new("Bright red") | |
6010 | Debounces.on = true | |
6011 | Debounces.NoIdl = true | |
6012 | if Grab == false then | |
6013 | gp = nil | |
6014 | con1=larm.Touched:connect(function(hit) -- this is grab | |
6015 | ht = hit.Parent | |
6016 | hum1=ht:FindFirstChild('Humanoid') | |
6017 | if hum1 ~= nil then | |
6018 | hum1.PlatformStand=true | |
6019 | gp = ht | |
6020 | Grab = true | |
6021 | asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-3.3,0),CFrame.new(0,0,0)) | |
6022 | asd.Parent = larm | |
6023 | asd.Name = "asd" | |
6024 | asd.C0=asd.C0*CFrame.Angles(math.rad(-90),0,0) | |
6025 | elseif hum1 == nil then | |
6026 | con1:disconnect() | |
6027 | wait() return | |
6028 | end | |
6029 | end) | |
6030 | for i = 1, 18 do | |
6031 | 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) | |
6032 | 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) | |
6033 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2) | |
6034 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.8, 0) * CFrame.Angles(math.rad(-60), math.rad(0), 0), 0.2) | |
6035 | 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) | |
6036 | 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) | |
6037 | 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) | |
6038 | if Debounces.on == false then break end | |
6039 | wait() | |
6040 | end | |
6041 | con1:disconnect() | |
6042 | Debounces.on = false | |
6043 | Debounces.NoIdl = false | |
6044 | elseif Grab == true then | |
6045 | Grab = false | |
6046 | for i = 1, 20 do | |
6047 | 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) | |
6048 | 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) | |
6049 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2) | |
6050 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
6051 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
6052 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
6053 | 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) | |
6054 | if Debounces.on == false then end | |
6055 | wait() | |
6056 | end | |
6057 | if gp ~= nil then | |
6058 | for i,v in pairs(larm:GetChildren()) do | |
6059 | if v.Name == "asd" and v:IsA("Weld") then | |
6060 | v:Remove() | |
6061 | end | |
6062 | end | |
6063 | bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso")) | |
6064 | bv.maxForce = Vector3.new(400000, 400000, 400000) | |
6065 | bv.P = 125000 | |
6066 | bv.velocity = char.Head.CFrame.lookVector * 200 | |
6067 | for i = 1, 12 do | |
6068 | 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) | |
6069 | if Debounces.on == false then end | |
6070 | wait() | |
6071 | end | |
6072 | ht=nil | |
6073 | Spawn(function() | |
6074 | wait(0.5) | |
6075 | bv:Destroy() | |
6076 | end) | |
6077 | Debounces.on = false | |
6078 | Debounces.NoIdl = false | |
6079 | elseif ht == nil then wait() | |
6080 | Grab = false | |
6081 | Debounces.on = false | |
6082 | Debounces.NoIdl = false | |
6083 | end | |
6084 | end | |
6085 | end | |
6086 | end) | |
6087 | ---------------------------------------------------- | |
6088 | mouse.KeyDown:connect(function(key) | |
6089 | if string.byte(key) == 52 then | |
6090 | char.Humanoid.WalkSpeed = 21 | |
6091 | end | |
6092 | end) | |
6093 | mouse.KeyUp:connect(function(key) | |
6094 | if string.byte(key) == 52 then | |
6095 | char.Humanoid.WalkSpeed = 5 | |
6096 | end | |
6097 | end) | |
6098 | ---------------------------------------------------- | |
6099 | local animpose = "Idle" | |
6100 | local lastanimpose = "Idle" | |
6101 | local sine = 0 | |
6102 | local change = 1 | |
6103 | local val = 0 | |
6104 | local ffing = false | |
6105 | ---------------------------------------------------- | |
6106 | --[[x = Instance.new("Sound", char) | |
6107 | x.SoundId = "http://www.roblox.com/asset/?id=187922823" | |
6108 | x.Looped = true | |
6109 | x.Volume = 1 | |
6110 | x.Pitch = 1 | |
6111 | local footsteps = false]]-- | |
6112 | ------------------------------- | |
6113 | game:GetService("RunService").RenderStepped:connect(function() | |
6114 | --[[if char.Humanoid.Jump == true then | |
6115 | jump = true | |
6116 | else | |
6117 | jump = false | |
6118 | end]] | |
6119 | char.Humanoid.FreeFalling:connect(function(f) | |
6120 | if f then | |
6121 | ffing = true | |
6122 | else | |
6123 | ffing = false | |
6124 | end | |
6125 | end) | |
6126 | sine = sine + change | |
6127 | if jumpn == true then | |
6128 | animpose = "Jumping" | |
6129 | elseif ffing == true then | |
6130 | animpose = "Freefalling" | |
6131 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
6132 | animpose = "Idle" | |
6133 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
6134 | animpose = "Walking" | |
6135 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
6136 | animpose = "Running" | |
6137 | end | |
6138 | if animpose ~= lastanimpose then | |
6139 | sine = 0 | |
6140 | if Debounces.NoIdl == false then | |
6141 | if animpose == "Idle" then | |
6142 | for i = 1, 2 do | |
6143 | 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) | |
6144 | 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) | |
6145 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2) | |
6146 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
6147 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
6148 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
6149 | 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) | |
6150 | end | |
6151 | elseif animpose == "Walking" then | |
6152 | for i = 1, 2 do | |
6153 | 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) | |
6154 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0)*CFrame.Angles(0, math.rad(1), math.rad(-10)), 0.2) | |
6155 | 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) | |
6156 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-4), 0, math.rad(0)), 0.2) | |
6157 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4) | |
6158 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4) | |
6159 | 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) | |
6160 | end | |
6161 | elseif animpose == "Running" then | |
6162 | for i = 1, 2 do | |
6163 | 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) | |
6164 | 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) | |
6165 | 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) | |
6166 | 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) | |
6167 | 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) | |
6168 | 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) | |
6169 | 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) | |
6170 | end | |
6171 | wait() | |
6172 | end | |
6173 | else | |
6174 | end | |
6175 | end | |
6176 | lastanimpose = animpose | |
6177 | if Debounces.NoIdl == false then | |
6178 | if animpose == "Idle" then | |
6179 | if stanceToggle == "Normal" then | |
6180 | change = 0.5 | |
6181 | 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) | |
6182 | 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) | |
6183 | 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) | |
6184 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-40), 0), 0.2) | |
6185 | 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) | |
6186 | 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) | |
6187 | 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) | |
6188 | elseif stanceToggle == "Sitting" then | |
6189 | 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) | |
6190 | 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) | |
6191 | 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) | |
6192 | 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) | |
6193 | 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) | |
6194 | 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) | |
6195 | 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) | |
6196 | end | |
6197 | elseif animpose == "Walking" then | |
6198 | if stanceToggle == "Normal" then | |
6199 | change = 1 | |
6200 | 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) | |
6201 | 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) | |
6202 | 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) | |
6203 | 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) | |
6204 | 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) | |
6205 | 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) | |
6206 | 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) | |
6207 | end | |
6208 | elseif animpose == "Running" then | |
6209 | change = 1 | |
6210 | 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) | |
6211 | 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) | |
6212 | 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) | |
6213 | 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) | |
6214 | 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) | |
6215 | 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) | |
6216 | 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) | |
6217 | end | |
6218 | end | |
6219 | --[[if animpose == "Walking" then | |
6220 | if footsteps == false then | |
6221 | x:Play() | |
6222 | footsteps = true | |
6223 | end | |
6224 | x.Pitch = 1.1 | |
6225 | elseif animpose == "Idle" then | |
6226 | x:Stop() | |
6227 | footsteps = false | |
6228 | elseif animpose == "Running" then | |
6229 | x.Pitch = 1.2 | |
6230 | if footsteps == false then | |
6231 | x:Play() | |
6232 | footsteps = true | |
6233 | end | |
6234 | end]]-- | |
6235 | end) | |
6236 | hum.MaxHealth = 10000000 | |
6237 | wait() | |
6238 | hum.Health = 10000000 |