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