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