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