SHOW:
|
|
- or go back to the newest paste.
1 | ----------------------- | |
2 | --WhAT ANOTHER ONE????????!-- | |
3 | ------------------------------------------------------- | |
4 | --A script By makhail07 | |
5 | ||
6 | - | --This edit by 2003boobear |
6 | + | --This edit by ggrelior333 |
7 | ||
8 | - | --Discord Creterisk#2958 |
8 | + | |
9 | --https://cdn.discordapp.com/attachments/424766294303309844/424769047436197888/e41a6cbd-23cb-4553-bd39-1338429743a7.png | |
10 | ------------------------------------------------------- | |
11 | ||
12 | local FavIDs = { | |
13 | 340106355, --Nefl Crystals | |
14 | 927529620, --Dimension | |
15 | 876981900, --Fantasy | |
16 | 398987889, --Ordinary Days | |
17 | 1117396305, --Oh wait, it's you. | |
18 | 885996042, --Action Winter Journey | |
19 | 919231299, --Sprawling Idiot Effigy | |
20 | 743466274, --Good Day Sunshine | |
21 | 727411183, --Knife Fight | |
22 | 1402748531, --The Earth Is Counting On You! | |
23 | 595230126 --Robot Language | |
24 | } | |
25 | ||
26 | ||
27 | ||
28 | --The reality of my life isn't real but a Universe -makhail07 | |
29 | wait() | |
30 | local Player = game.Players.localPlayer | |
31 | local Character = Player.Character | |
32 | local plr = game:service'Players'.LocalPlayer | |
33 | local char = plr.Character | |
34 | local hum = char.Humanoid | |
35 | local ra = char["Right Arm"] | |
36 | local la= char["Left Arm"] | |
37 | local rl= char["Right Leg"] | |
38 | local ll = char["Left Leg"] | |
39 | local hed = char.Head | |
40 | local root = char.HumanoidRootPart | |
41 | local rootj = root.RootJoint | |
42 | local tors = char.Torso | |
43 | local mouse = plr:GetMouse() | |
44 | local LeftArm = Character["Left Arm"] | |
45 | local RightArm = Character["Right Arm"] | |
46 | local LeftLeg = Character["Left Leg"] | |
47 | local RightLeg = Character["Right Leg"] | |
48 | local Head = Character.Head | |
49 | local Torso = Character.Torso | |
50 | local cam = game.Workspace.CurrentCamera | |
51 | local RootPart = Character.HumanoidRootPart | |
52 | local RootJoint = RootPart.RootJoint | |
53 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
54 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
55 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
56 | local u good bro = false | |
57 | local death = false | |
58 | - | local EdgyMode = false |
58 | + | local combat = false |
59 | - | local Divinity = false |
59 | + | local ?? = false |
60 | - | local Fighter = false |
60 | + | local your death is here = false |
61 | - | local Purity = false |
61 | + | local plx stop = false |
62 | - | local Destruction = false |
62 | + | local the flying thing = false |
63 | - | local helpme = false |
63 | + | local Solar power = false |
64 | - | local Planetary = false |
64 | + | local wat = false |
65 | - | local Solar = false |
65 | + | local anime = false |
66 | - | local Lunar = false |
66 | + | local Ash = false |
67 | - | local Frost = false |
67 | + | |
68 | - | local Ashes = false |
68 | + | |
69 | ||
70 | --do a die | |
71 | ||
72 | ------------------------------------------------------- | |
73 | --Start Good Stuff-- | |
74 | ------------------------------------------------------- | |
75 | CF = CFrame.new | |
76 | VT = Vector3.new | |
77 | angles = CFrame.Angles | |
78 | attack = false | |
79 | Euler = CFrame.fromEulerAnglesXYZ | |
80 | Rad = math.rad | |
81 | IT = Instance.new | |
82 | BrickC = BrickColor.new | |
83 | Cos = math.cos | |
84 | Acos = math.acos | |
85 | Sin = math.sin | |
86 | Asin = math.asin | |
87 | Abs = math.abs | |
88 | Mrandom = math.random | |
89 | Floor = math.floor | |
90 | local cn = CFrame.new | |
91 | local mr = math.rad | |
92 | local angles = CFrame.Angles | |
93 | local ud = UDim2.new | |
94 | local c3 = Color3.new | |
95 | ------------------------------------------------------- | |
96 | --End Good Stuff-- | |
97 | ------------------------------------------------------- | |
98 | necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
99 | RSH, LSH = nil, nil | |
100 | RW = Instance.new("Weld") | |
101 | LW = Instance.new("Weld") | |
102 | RH = tors["Right Hip"] | |
103 | LH = tors["Left Hip"] | |
104 | RSH = tors["Right Shoulder"] | |
105 | LSH = tors["Left Shoulder"] | |
106 | RSH.Parent = nil | |
107 | LSH.Parent = nil | |
108 | RW.Name = "RW" | |
109 | RW.Part0 = tors | |
110 | RW.C0 = CF(1.5, 0.5, 0) | |
111 | RW.C1 = CF(0, 0.5, 0) | |
112 | RW.Part1 = ra | |
113 | RW.Parent = tors | |
114 | LW.Name = "LW" | |
115 | LW.Part0 = tors | |
116 | LW.C0 = CF(-1.5, 0.5, 0) | |
117 | LW.C1 = CF(0, 0.5, 0) | |
118 | LW.Part1 = la | |
119 | LW.Parent = tors | |
120 | Effects = {} | |
121 | ||
122 | ------------------------------------------------------- | |
123 | --Start HeartBeat-- | |
124 | ------------------------------------------------------- | |
125 | ArtificialHB = Instance.new("BindableEvent", script) | |
126 | ArtificialHB.Name = "Heartbeat" | |
127 | script:WaitForChild("Heartbeat") | |
128 | ||
129 | frame = 1 / 60 | |
130 | tf = 0 | |
131 | allowframeloss = false | |
132 | tossremainder = false | |
133 | ||
134 | ||
135 | lastframe = tick() | |
136 | script.Heartbeat:Fire() | |
137 | ||
138 | ||
139 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
140 | tf = tf + s | |
141 | if tf >= frame then | |
142 | if allowframeloss then | |
143 | script.Heartbeat:Fire() | |
144 | lastframe = tick() | |
145 | else | |
146 | for i = 1, math.floor(tf / frame) do | |
147 | script.Heartbeat:Fire() | |
148 | end | |
149 | lastframe = tick() | |
150 | end | |
151 | if tossremainder then | |
152 | tf = 0 | |
153 | else | |
154 | tf = tf - frame * math.floor(tf / frame) | |
155 | end | |
156 | end | |
157 | end) | |
158 | ||
159 | ------------------------------------------------------- | |
160 | --End HeartBeat-- | |
161 | ------------------------------------------------------- | |
162 | ||
163 | local insanity={"hELPmE","iNsAnItY","iNsAnItY","InsAnITTTTY","InsAnityYyyyy","iNsAnItY","Insane","rUN","sCATTER","bEGoNE","cRAZY","mAD wIth pOWeR","hAHAAA","SanItyyYYYyYy","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","hELP","iNsAnItY","iNsAnItY","dREaD","nIgHTFAll","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY"} --why | |
164 | ||
165 | local NOUSE={"nOUsE","dONT TrYYYYYY","DiE FOr MEEEEE","HAAHHHHHA","BeGONE","UnSTOpPAbLE","WRYYyY","rUN","NoUsE","nO HOPe FOr tHE HoPELEsS","cRAZY","mAD wIth pOWeR","hAHAAA","SanItyyYYYyYy","S o U L S","fEED","hUNgEr","HAHAAAAAAAAHHAHAAHA","aAAAaAAAAaA","bEGoNE sINnERRRR"} --aaaaaaa | |
166 | ||
167 | local insanityface={"843367143","280233855","148988280","859779193","163713156","313921371","304942859","315792941","1684367763","335761015"} | |
168 | ||
169 | ------------------------------------------------------- | |
170 | --Start Important Functions-- | |
171 | ------------------------------------------------------- | |
172 | function swait(num) | |
173 | if num == 0 or num == nil then | |
174 | game:service("RunService").Stepped:wait(0) | |
175 | else | |
176 | for i = 0, num do | |
177 | game:service("RunService").Stepped:wait(0) | |
178 | end | |
179 | end | |
180 | end | |
181 | function thread(f) | |
182 | coroutine.resume(coroutine.create(f)) | |
183 | end | |
184 | function clerp(a, b, t) | |
185 | local qa = { | |
186 | QuaternionFromCFrame(a) | |
187 | } | |
188 | local qb = { | |
189 | QuaternionFromCFrame(b) | |
190 | } | |
191 | local ax, ay, az = a.x, a.y, a.z | |
192 | local bx, by, bz = b.x, b.y, b.z | |
193 | local _t = 1 - t | |
194 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
195 | end | |
196 | function QuaternionFromCFrame(cf) | |
197 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
198 | local trace = m00 + m11 + m22 | |
199 | if trace > 0 then | |
200 | local s = math.sqrt(1 + trace) | |
201 | local recip = 0.5 / s | |
202 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
203 | else | |
204 | local i = 0 | |
205 | if m00 < m11 then | |
206 | i = 1 | |
207 | end | |
208 | if m22 > (i == 0 and m00 or m11) then | |
209 | i = 2 | |
210 | end | |
211 | if i == 0 then | |
212 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
213 | local recip = 0.5 / s | |
214 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
215 | elseif i == 1 then | |
216 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
217 | local recip = 0.5 / s | |
218 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
219 | elseif i == 2 then | |
220 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
221 | local recip = 0.5 / s | |
222 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
223 | end | |
224 | end | |
225 | end | |
226 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
227 | local xs, ys, zs = x + x, y + y, z + z | |
228 | local wx, wy, wz = w * xs, w * ys, w * zs | |
229 | local xx = x * xs | |
230 | local xy = x * ys | |
231 | local xz = x * zs | |
232 | local yy = y * ys | |
233 | local yz = y * zs | |
234 | local zz = z * zs | |
235 | return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy)) | |
236 | end | |
237 | function QuaternionSlerp(a, b, t) | |
238 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
239 | local startInterp, finishInterp | |
240 | if cosTheta >= 1.0E-4 then | |
241 | if 1 - cosTheta > 1.0E-4 then | |
242 | local theta = math.acos(cosTheta) | |
243 | local invSinTheta = 1 / Sin(theta) | |
244 | startInterp = Sin((1 - t) * theta) * invSinTheta | |
245 | finishInterp = Sin(t * theta) * invSinTheta | |
246 | else | |
247 | startInterp = 1 - t | |
248 | finishInterp = t | |
249 | end | |
250 | elseif 1 + cosTheta > 1.0E-4 then | |
251 | local theta = math.acos(-cosTheta) | |
252 | local invSinTheta = 1 / Sin(theta) | |
253 | startInterp = Sin((t - 1) * theta) * invSinTheta | |
254 | finishInterp = Sin(t * theta) * invSinTheta | |
255 | else | |
256 | startInterp = t - 1 | |
257 | finishInterp = t | |
258 | end | |
259 | return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp | |
260 | end | |
261 | function rayCast(Position, Direction, Range, Ignore) | |
262 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
263 | end | |
264 | local RbxUtility = LoadLibrary("RbxUtility") | |
265 | local Create = RbxUtility.Create | |
266 | ||
267 | warn("I'ma just call dis WhAT ANOTHER ONE V1.5") | |
268 | ||
269 | warn("Please support the original creator, makhail07.") | |
270 | ||
271 | warn("Also, 2003boobear made this edit.") | |
272 | ||
273 | shirt = Instance.new("Shirt", char) | |
274 | shirt.Name = "Shirt" | |
275 | pants = Instance.new("Pants", char) | |
276 | pants.Name = "Pants" | |
277 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=276792537" | |
278 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=276792689" | |
279 | ||
280 | local BC = char["Body Colors"] | |
281 | BC.HeadColor = BrickColor.new("Fossil") | |
282 | BC.LeftArmColor = BrickColor.new("Fossil") | |
283 | BC.LeftLegColor = BrickColor.new("Fossil") | |
284 | BC.RightArmColor = BrickColor.new("Smoky grey") | |
285 | BC.RightLegColor = BrickColor.new("Fossil") | |
286 | BC.TorsoColor = BrickColor.new("Fossil") | |
287 | ------------------------------------------------------- | |
288 | --Start Damage Function-- | |
289 | ------------------------------------------------------- | |
290 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
291 | if hit.Parent == nil then | |
292 | return | |
293 | end | |
294 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
295 | for _, v in pairs(hit.Parent:children()) do | |
296 | if v:IsA("Humanoid") then | |
297 | h = v | |
298 | end | |
299 | end | |
300 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then | |
301 | ||
302 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
303 | end | |
304 | ||
305 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
306 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
307 | if hit.Parent.DebounceHit.Value == true then | |
308 | return | |
309 | end | |
310 | end | |
311 | if insta == true then | |
312 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
313 | end | |
314 | local c = Create("ObjectValue"){ | |
315 | Name = "creator", | |
316 | Value = game:service("Players").LocalPlayer, | |
317 | Parent = h, | |
318 | } | |
319 | game:GetService("Debris"):AddItem(c, .5) | |
320 | if HitSound ~= nil and HitPitch ~= nil then | |
321 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
322 | end | |
323 | local Damage = math.random(minim, maxim) | |
324 | local blocked = false | |
325 | local block = hit.Parent:findFirstChild("Block") | |
326 | if block ~= nil then | |
327 | if block.className == "IntValue" then | |
328 | if block.Value > 0 then | |
329 | blocked = true | |
330 | block.Value = block.Value - 1 | |
331 | print(block.Value) | |
332 | end | |
333 | end | |
334 | end | |
335 | if blocked == false then | |
336 | h.Health = h.Health - Damage | |
337 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, maincolor.Color) | |
338 | else | |
339 | h.Health = h.Health - (Damage / 2) | |
340 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, maincolor.Color) | |
341 | end | |
342 | if Type == "Knockdown" then | |
343 | local hum = hit.Parent.Humanoid | |
344 | hum.PlatformStand = true | |
345 | coroutine.resume(coroutine.create(function(HHumanoid) | |
346 | swait(1) | |
347 | HHumanoid.PlatformStand = false | |
348 | end), hum) | |
349 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
350 | local bodvol = Create("BodyVelocity"){ | |
351 | velocity = angle * knockback, | |
352 | P = 5000, | |
353 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
354 | Parent = hit, | |
355 | } | |
356 | local rl = Create("BodyAngularVelocity"){ | |
357 | P = 3000, | |
358 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
359 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
360 | Parent = hit, | |
361 | } | |
362 | game:GetService("Debris"):AddItem(bodvol, .5) | |
363 | game:GetService("Debris"):AddItem(rl, .5) | |
364 | elseif Type == "Normal" then | |
365 | local vp = Create("BodyVelocity"){ | |
366 | P = 500, | |
367 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
368 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
369 | } | |
370 | if knockback > 0 then | |
371 | vp.Parent = hit.Parent.Torso | |
372 | end | |
373 | game:GetService("Debris"):AddItem(vp, .5) | |
374 | elseif Type == "Up" then | |
375 | local bodyVelocity = Create("BodyVelocity"){ | |
376 | velocity = Vector3.new(0, 20, 0), | |
377 | P = 5000, | |
378 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
379 | Parent = hit, | |
380 | } | |
381 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
382 | elseif Type == "DarkUp" then | |
383 | coroutine.resume(coroutine.create(function() | |
384 | for i = 0, 1, 0.1 do | |
385 | swait() | |
386 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
387 | end | |
388 | end)) | |
389 | local bodyVelocity = Create("BodyVelocity"){ | |
390 | velocity = Vector3.new(0, 20, 0), | |
391 | P = 5000, | |
392 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
393 | Parent = hit, | |
394 | } | |
395 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
396 | elseif Type == "Snare" then | |
397 | local bp = Create("BodyPosition"){ | |
398 | P = 2000, | |
399 | D = 100, | |
400 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
401 | position = hit.Parent.Torso.Position, | |
402 | Parent = hit.Parent.Torso, | |
403 | } | |
404 | game:GetService("Debris"):AddItem(bp, 1) | |
405 | elseif Type == "Freeze" then | |
406 | local BodPos = Create("BodyPosition"){ | |
407 | P = 50000, | |
408 | D = 1000, | |
409 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
410 | position = hit.Parent.Torso.Position, | |
411 | Parent = hit.Parent.Torso, | |
412 | } | |
413 | local BodGy = Create("BodyGyro") { | |
414 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
415 | P = 20e+003, | |
416 | Parent = hit.Parent.Torso, | |
417 | cframe = hit.Parent.Torso.CFrame, | |
418 | } | |
419 | hit.Parent.Torso.Anchored = true | |
420 | coroutine.resume(coroutine.create(function(Part) | |
421 | swait(1.5) | |
422 | Part.Anchored = false | |
423 | end), hit.Parent.Torso) | |
424 | game:GetService("Debris"):AddItem(BodPos, 3) | |
425 | game:GetService("Debris"):AddItem(BodGy, 3) | |
426 | end | |
427 | local debounce = Create("BoolValue"){ | |
428 | Name = "DebounceHit", | |
429 | Parent = hit.Parent, | |
430 | Value = true, | |
431 | } | |
432 | game:GetService("Debris"):AddItem(debounce, Delay) | |
433 | c = Create("ObjectValue"){ | |
434 | Name = "creator", | |
435 | Value = Player, | |
436 | Parent = h, | |
437 | } | |
438 | game:GetService("Debris"):AddItem(c, .5) | |
439 | end | |
440 | end | |
441 | ------------------------------------------------------- | |
442 | --End Damage Function-- | |
443 | ------------------------------------------------------- | |
444 | local DColorsArray ={ColorSequenceKeypoint.new(0, Color3.new(1,0,0)), | |
445 | ColorSequenceKeypoint.new(0.16, Color3.new(1,0,0)), | |
446 | ColorSequenceKeypoint.new(0.32, Color3.new(1,0,0)), | |
447 | ColorSequenceKeypoint.new(0.48, Color3.new(1,0,0)), | |
448 | ColorSequenceKeypoint.new(0.64, Color3.new(1,0,0)), | |
449 | ColorSequenceKeypoint.new(0.80, Color3.new(0,0,0)), | |
450 | ColorSequenceKeypoint.new(0.96, Color3.new(0,0,0)), | |
451 | ColorSequenceKeypoint.new(1, Color3.new(0,0,0))} | |
452 | local DAtch3 = Instance.new("Attachment",ll)DAtch3.Position = Vector3.new(0,1.1,0) | |
453 | local DAtch4 = Instance.new("Attachment",ll)DAtch4.Position = Vector3.new(0,-0.6,0) | |
454 | local DTrail2 = Instance.new("Trail",ll)DTrail2.Attachment0 = DAtch3 DTrail2.Attachment1 = DAtch4 | |
455 | DTrail2.Texture = "rbxassetid://22636887" DTrail2.Lifetime = 0.2 DTrail2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
456 | DTrail2.Color = ColorSequence.new(DColorsArray) DTrail2.LightEmission = 1 | |
457 | DTrail2.Enabled = false | |
458 | local DAtch5 = Instance.new("Attachment",rl)DAtch5.Position = Vector3.new(0,1.1,0) | |
459 | local DAtch6 = Instance.new("Attachment",rl)DAtch6.Position = Vector3.new(0,-0.6,0) | |
460 | local DTrail3 = Instance.new("Trail",rl)DTrail3.Attachment0 = DAtch5 DTrail3.Attachment1 = DAtch6 | |
461 | DTrail3.Texture = "rbxassetid://22636887" DTrail3.Lifetime = 0.2 DTrail3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
462 | DTrail3.Color = ColorSequence.new(DColorsArray) DTrail3.LightEmission = 1 | |
463 | DTrail3.Enabled = false | |
464 | local DAtch7 = Instance.new("Attachment",ra)DAtch7.Position = Vector3.new(0,1.1,0) | |
465 | local DAtch8 = Instance.new("Attachment",ra)DAtch8.Position = Vector3.new(0,-0.6,0) | |
466 | local DTrail4 = Instance.new("Trail",ra)DTrail4.Attachment0 = DAtch7 DTrail4.Attachment1 = DAtch8 | |
467 | DTrail4.Texture = "rbxassetid://22636887" DTrail4.Lifetime = 0.2 DTrail4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
468 | DTrail4.Color = ColorSequence.new(DColorsArray) DTrail4.LightEmission = 1 | |
469 | DTrail4.Enabled = false | |
470 | local DAtch9 = Instance.new("Attachment",la)DAtch9.Position = Vector3.new(0,1.1,0) | |
471 | local DAtch10 = Instance.new("Attachment",la)DAtch10.Position = Vector3.new(0,-0.6,0) | |
472 | local DTrail5 = Instance.new("Trail",la)DTrail5.Attachment0 = DAtch9 DTrail5.Attachment1 = DAtch10 | |
473 | DTrail5.Texture = "rbxassetid://22636887" DTrail5.Lifetime = 0.2 DTrail5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
474 | DTrail5.Color = ColorSequence.new(DColorsArray) DTrail5.LightEmission = 1 | |
475 | DTrail5.Enabled = false | |
476 | local DAtch1 = Instance.new("Attachment",Torso)DAtch1.Position = Vector3.new(0,1.1,0) | |
477 | local DAtch2 = Instance.new("Attachment",Torso)DAtch2.Position = Vector3.new(0,-2.5,0) | |
478 | local DTrail = Instance.new("Trail",Torso)DTrail.Attachment0 = DAtch1 DTrail.Attachment1 = DAtch2 | |
479 | DTrail.Texture = "rbxassetid://22636887" DTrail.Lifetime = 0.2 DTrail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
480 | DTrail.Color = ColorSequence.new(DColorsArray) DTrail.LightEmission = 1 | |
481 | DTrail.Enabled = false | |
482 | ------------------------------------------------------- | |
483 | --Start Damage Function Customization-- | |
484 | ------------------------------------------------------- | |
485 | function ShowDamage(Pos, Text, Time, Color) | |
486 | local Rate = (1 / 30) | |
487 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
488 | local Text = (Text or "") | |
489 | local Time = (Time or 2) | |
490 | local Color = (Color or Color3.new(1, 0, 1)) | |
491 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
492 | EffectPart.Anchored = true | |
493 | local BillboardGui = Create("BillboardGui"){ | |
494 | Size = UDim2.new(3, 0, 3, 0), | |
495 | Adornee = EffectPart, | |
496 | Parent = EffectPart, | |
497 | } | |
498 | local TextLabel = Create("TextLabel"){ | |
499 | BackgroundTransparency = 1, | |
500 | Size = UDim2.new(1, 0, 1, 0), | |
501 | Text = Text, | |
502 | Font = "Highway", | |
503 | TextColor3 = Color, | |
504 | TextScaled = true, | |
505 | TextStrokeColor3 = Color3.fromRGB(0,0,0), | |
506 | Parent = BillboardGui, | |
507 | } | |
508 | game.Debris:AddItem(EffectPart, (Time)) | |
509 | EffectPart.Parent = game:GetService("Workspace") | |
510 | delay(0, function() | |
511 | local Frames = (Time / Rate) | |
512 | for Frame = 1, Frames do | |
513 | wait(Rate) | |
514 | local Percent = (Frame / Frames) | |
515 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
516 | TextLabel.TextTransparency = Percent | |
517 | end | |
518 | if EffectPart and EffectPart.Parent then | |
519 | EffectPart:Destroy() | |
520 | end | |
521 | end) | |
522 | end | |
523 | ------------------------------------------------------- | |
524 | --End Damage Function Customization-- | |
525 | ------------------------------------------------------- | |
526 | ||
527 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
528 | for _, c in pairs(workspace:children()) do | |
529 | local hum = c:findFirstChild("Humanoid") | |
530 | if hum ~= nil then | |
531 | local head = c:findFirstChild("Head") | |
532 | if head ~= nil then | |
533 | local targ = head.Position - Part.Position | |
534 | local mag = targ.magnitude | |
535 | if magni >= mag and c.Name ~= plr.Name then | |
536 | Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2) | |
537 | end | |
538 | end | |
539 | end | |
540 | end | |
541 | end | |
542 | ||
543 | function PlayAnimationFromTable(table, speed, bool) --i didn't make this you fattie | |
544 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
545 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
546 | RW.C0 = clerp(RW.C0, table[3], speed) | |
547 | LW.C0 = clerp(LW.C0, table[4], speed) | |
548 | RH.C0 = clerp(RH.C0, table[5], speed) | |
549 | LH.C0 = clerp(LH.C0, table[6], speed) | |
550 | if bool == true then | |
551 | if resetc1 == false then | |
552 | resetc1 = true | |
553 | RootJoint.C1 = RootJoint.C1 | |
554 | Torso.Neck.C1 = Torso.Neck.C1 | |
555 | RW.C1 = rarmc1 | |
556 | LW.C1 = larmc1 | |
557 | RH.C1 = rlegc1 | |
558 | LH.C1 = llegc1 | |
559 | end | |
560 | end | |
561 | end | |
562 | ||
563 | CFuncs = { | |
564 | Part = { | |
565 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
566 | local Part = Create("Part")({ | |
567 | Parent = Parent, | |
568 | Reflectance = Reflectance, | |
569 | Transparency = Transparency, | |
570 | CanCollide = false, | |
571 | Locked = true, | |
572 | BrickColor = BrickColor.new(tostring(BColor)), | |
573 | Name = Name, | |
574 | Size = Size, | |
575 | Material = Material | |
576 | }) | |
577 | RemoveOutlines(Part) | |
578 | return Part | |
579 | end | |
580 | }, | |
581 | Mesh = { | |
582 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
583 | local Msh = Create(Mesh)({ | |
584 | Parent = Part, | |
585 | Offset = OffSet, | |
586 | Scale = Scale | |
587 | }) | |
588 | if Mesh == "SpecialMesh" then | |
589 | Msh.MeshType = MeshType | |
590 | Msh.MeshId = MeshId | |
591 | end | |
592 | return Msh | |
593 | end | |
594 | }, | |
595 | Mesh = { | |
596 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
597 | local Msh = Create(Mesh)({ | |
598 | Parent = Part, | |
599 | Offset = OffSet, | |
600 | Scale = Scale | |
601 | }) | |
602 | if Mesh == "SpecialMesh" then | |
603 | Msh.MeshType = MeshType | |
604 | Msh.MeshId = MeshId | |
605 | end | |
606 | return Msh | |
607 | end | |
608 | }, | |
609 | Weld = { | |
610 | Create = function(Parent, Part0, Part1, C0, C1) | |
611 | local Weld = Create("Weld")({ | |
612 | Parent = Parent, | |
613 | Part0 = Part0, | |
614 | Part1 = Part1, | |
615 | C0 = C0, | |
616 | C1 = C1 | |
617 | }) | |
618 | return Weld | |
619 | end | |
620 | }, | |
621 | Sound = { | |
622 | Create = function(id, par, vol, pit) | |
623 | coroutine.resume(coroutine.create(function() | |
624 | local S = Create("Sound")({ | |
625 | Volume = vol, | |
626 | Pitch = pit or 1, | |
627 | SoundId = id, | |
628 | Parent = par or workspace | |
629 | }) | |
630 | wait() | |
631 | S:play() | |
632 | game:GetService("Debris"):AddItem(S, 6) | |
633 | end)) | |
634 | end | |
635 | }, | |
636 | ParticleEmitter = { | |
637 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
638 | local fp = Create("ParticleEmitter")({ | |
639 | Parent = Parent, | |
640 | Color = ColorSequence.new(Color1, Color2), | |
641 | LightEmission = LightEmission, | |
642 | Size = Size, | |
643 | Texture = Texture, | |
644 | Transparency = Transparency, | |
645 | ZOffset = ZOffset, | |
646 | Acceleration = Accel, | |
647 | Drag = Drag, | |
648 | LockedToPart = LockedToPart, | |
649 | VelocityInheritance = VelocityInheritance, | |
650 | EmissionDirection = EmissionDirection, | |
651 | Enabled = Enabled, | |
652 | Lifetime = LifeTime, | |
653 | Rate = Rate, | |
654 | Rotation = Rotation, | |
655 | RotSpeed = RotSpeed, | |
656 | Speed = Speed, | |
657 | VelocitySpread = VelocitySpread | |
658 | }) | |
659 | return fp | |
660 | end | |
661 | } | |
662 | } | |
663 | function RemoveOutlines(part) | |
664 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
665 | end | |
666 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
667 | local Part = Create("Part")({ | |
668 | formFactor = FormFactor, | |
669 | Parent = Parent, | |
670 | Reflectance = Reflectance, | |
671 | Transparency = Transparency, | |
672 | CanCollide = false, | |
673 | Locked = true, | |
674 | BrickColor = BrickColor.new(tostring(BColor)), | |
675 | Name = Name, | |
676 | Size = Size, | |
677 | Material = Material | |
678 | }) | |
679 | RemoveOutlines(Part) | |
680 | return Part | |
681 | end | |
682 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
683 | local Msh = Create(Mesh)({ | |
684 | Parent = Part, | |
685 | Offset = OffSet, | |
686 | Scale = Scale | |
687 | }) | |
688 | if Mesh == "SpecialMesh" then | |
689 | Msh.MeshType = MeshType | |
690 | Msh.MeshId = MeshId | |
691 | end | |
692 | return Msh | |
693 | end | |
694 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
695 | local Weld = Create("Weld")({ | |
696 | Parent = Parent, | |
697 | Part0 = Part0, | |
698 | Part1 = Part1, | |
699 | C0 = C0, | |
700 | C1 = C1 | |
701 | }) | |
702 | return Weld | |
703 | end | |
704 | ||
705 | ||
706 | ------------------------------------------------------- | |
707 | --Start Effect Function-- | |
708 | ------------------------------------------------------- | |
709 | EffectModel = Instance.new("Model", char) | |
710 | Effects = { | |
711 | Block = { | |
712 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
713 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
714 | prt.Anchored = true | |
715 | prt.CFrame = cframe | |
716 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
717 | game:GetService("Debris"):AddItem(prt, 10) | |
718 | if Type == 1 or Type == nil then | |
719 | table.insert(Effects, { | |
720 | prt, | |
721 | "Block1", | |
722 | delay, | |
723 | x3, | |
724 | y3, | |
725 | z3, | |
726 | msh | |
727 | }) | |
728 | elseif Type == 2 then | |
729 | table.insert(Effects, { | |
730 | prt, | |
731 | "Block2", | |
732 | delay, | |
733 | x3, | |
734 | y3, | |
735 | z3, | |
736 | msh | |
737 | }) | |
738 | else | |
739 | table.insert(Effects, { | |
740 | prt, | |
741 | "Block3", | |
742 | delay, | |
743 | x3, | |
744 | y3, | |
745 | z3, | |
746 | msh | |
747 | }) | |
748 | end | |
749 | end | |
750 | }, | |
751 | Sphere = { | |
752 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
753 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
754 | prt.Anchored = true | |
755 | prt.CFrame = cframe | |
756 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
757 | game:GetService("Debris"):AddItem(prt, 10) | |
758 | table.insert(Effects, { | |
759 | prt, | |
760 | "Cylinder", | |
761 | delay, | |
762 | x3, | |
763 | y3, | |
764 | z3, | |
765 | msh | |
766 | }) | |
767 | end | |
768 | }, | |
769 | Cylinder = { | |
770 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
771 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
772 | prt.Anchored = true | |
773 | prt.CFrame = cframe | |
774 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
775 | game:GetService("Debris"):AddItem(prt, 10) | |
776 | table.insert(Effects, { | |
777 | prt, | |
778 | "Cylinder", | |
779 | delay, | |
780 | x3, | |
781 | y3, | |
782 | z3, | |
783 | msh | |
784 | }) | |
785 | end | |
786 | }, | |
787 | Wave = { | |
788 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
789 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
790 | prt.Anchored = true | |
791 | prt.CFrame = cframe | |
792 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60)) | |
793 | game:GetService("Debris"):AddItem(prt, 10) | |
794 | table.insert(Effects, { | |
795 | prt, | |
796 | "Cylinder", | |
797 | delay, | |
798 | x3 / 60, | |
799 | y3 / 60, | |
800 | z3 / 60, | |
801 | msh | |
802 | }) | |
803 | end | |
804 | }, | |
805 | Ring = { | |
806 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
807 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
808 | prt.Anchored = true | |
809 | prt.CFrame = cframe | |
810 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
811 | game:GetService("Debris"):AddItem(prt, 10) | |
812 | table.insert(Effects, { | |
813 | prt, | |
814 | "Cylinder", | |
815 | delay, | |
816 | x3, | |
817 | y3, | |
818 | z3, | |
819 | msh | |
820 | }) | |
821 | end | |
822 | }, | |
823 | Break = { | |
824 | Create = function(brickcolor, cframe, x1, y1, z1) | |
825 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
826 | prt.Anchored = true | |
827 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
828 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
829 | local num = math.random(10, 50) / 1000 | |
830 | game:GetService("Debris"):AddItem(prt, 10) | |
831 | table.insert(Effects, { | |
832 | prt, | |
833 | "Shatter", | |
834 | num, | |
835 | prt.CFrame, | |
836 | math.random() - math.random(), | |
837 | 0, | |
838 | math.random(50, 100) / 100 | |
839 | }) | |
840 | end | |
841 | }, | |
842 | Spiral = { | |
843 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
844 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
845 | prt.Anchored = true | |
846 | prt.CFrame = cframe | |
847 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
848 | game:GetService("Debris"):AddItem(prt, 10) | |
849 | table.insert(Effects, { | |
850 | prt, | |
851 | "Cylinder", | |
852 | delay, | |
853 | x3, | |
854 | y3, | |
855 | z3, | |
856 | msh | |
857 | }) | |
858 | end | |
859 | }, | |
860 | Push = { | |
861 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
862 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
863 | prt.Anchored = true | |
864 | prt.CFrame = cframe | |
865 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
866 | game:GetService("Debris"):AddItem(prt, 10) | |
867 | table.insert(Effects, { | |
868 | prt, | |
869 | "Cylinder", | |
870 | delay, | |
871 | x3, | |
872 | y3, | |
873 | z3, | |
874 | msh | |
875 | }) | |
876 | end | |
877 | } | |
878 | } | |
879 | ------------------------------------------------------- | |
880 | --End Effect Function-- | |
881 | ------------------------------------------------------- | |
882 | ||
883 | function CreateSound(ID, PARENT, VOLUME, PITCH) | |
884 | local NSound = nil | |
885 | coroutine.resume(coroutine.create(function() | |
886 | NSound = Instance.new("Sound", PARENT) | |
887 | NSound.Volume = VOLUME | |
888 | NSound.Pitch = PITCH | |
889 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
890 | swait() | |
891 | NSound:play() | |
892 | game:GetService("Debris"):AddItem(NSound, 10) | |
893 | end)) | |
894 | return NSound | |
895 | end | |
896 | ||
897 | function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
898 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
899 | prt.Anchored = true | |
900 | prt.CFrame = cframe | |
901 | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
902 | game:GetService("Debris"):AddItem(prt, 10) | |
903 | if Type == 1 or Type == nil then | |
904 | table.insert(Effects, { | |
905 | prt, | |
906 | "Block1", | |
907 | delay, | |
908 | x3, | |
909 | y3, | |
910 | z3, | |
911 | msh | |
912 | }) | |
913 | elseif Type == 2 then | |
914 | table.insert(Effects, { | |
915 | prt, | |
916 | "Block2", | |
917 | delay, | |
918 | x3, | |
919 | y3, | |
920 | z3, | |
921 | msh | |
922 | }) | |
923 | elseif Type == 3 then | |
924 | table.insert(Effects, { | |
925 | prt, | |
926 | "Block3", | |
927 | delay, | |
928 | x3, | |
929 | y3, | |
930 | z3, | |
931 | msh | |
932 | }) | |
933 | end | |
934 | end | |
935 | ||
936 | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
937 | local fp=Instance.new("Part") | |
938 | fp.formFactor=formfactor | |
939 | fp.Parent=parent | |
940 | fp.Reflectance=reflectance | |
941 | fp.Transparency=transparency | |
942 | fp.CanCollide=false | |
943 | fp.Locked=true | |
944 | fp.BrickColor=brickcolor | |
945 | fp.Name=name | |
946 | fp.Size=size | |
947 | fp.Position=tors.Position | |
948 | RemoveOutlines(fp) | |
949 | fp.Material="SmoothPlastic" | |
950 | fp:BreakJoints() | |
951 | return fp | |
952 | end | |
953 | ||
954 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
955 | local mesh=Instance.new(Mesh) | |
956 | mesh.Parent=part | |
957 | if Mesh=="SpecialMesh" then | |
958 | mesh.MeshType=meshtype | |
959 | if meshid~="nil" then | |
960 | mesh.MeshId="http://www.roblox.com/asset/?id="..meshid | |
961 | end | |
962 | end | |
963 | mesh.Offset=offset | |
964 | mesh.Scale=scale | |
965 | return mesh | |
966 | end | |
967 | ||
968 | function MagicShockTrailAlt2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype) | |
969 | local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
970 | prt.Anchored = true | |
971 | prt.Material = "Neon" | |
972 | prt.CFrame = cframe | |
973 | local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
974 | game:GetService("Debris"):AddItem(prt, 5) | |
975 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
976 | local rtype = rottype | |
977 | for i = 0, 1, delay do | |
978 | swait() | |
979 | if rtype == 1 then | |
980 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1) | |
981 | elseif rtype == 2 then | |
982 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1) | |
983 | end | |
984 | prt.Transparency = i | |
985 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
986 | end | |
987 | Part.Parent = nil | |
988 | end), prt, msh) | |
989 | end | |
990 | ||
991 | ||
992 | function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
993 | local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
994 | prt.Anchored = true | |
995 | prt.Material = "Neon" | |
996 | prt.CFrame = cframe | |
997 | prt.CFrame = prt.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
998 | local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
999 | game:GetService("Debris"):AddItem(prt, 5) | |
1000 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1001 | for i = 0, 1, delay do | |
1002 | swait() | |
1003 | Part.CFrame = Part.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1004 | Part.Transparency = i | |
1005 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
1006 | end | |
1007 | Part.Parent = nil | |
1008 | end), prt, msh) | |
1009 | end | |
1010 | ||
1011 | ||
1012 | function MagicShockAlt(brickcolor, cframe, x1, y1, x3, y3, delay, rottype) | |
1013 | local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1014 | prt.Anchored = true | |
1015 | prt.Material = "Neon" | |
1016 | prt.CFrame = cframe | |
1017 | local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, 0.01)) | |
1018 | game:GetService("Debris"):AddItem(prt, 5) | |
1019 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1020 | local rtype = rottype | |
1021 | for i = 0, 1, delay do | |
1022 | swait() | |
1023 | if rtype == 1 then | |
1024 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1) | |
1025 | elseif rtype == 2 then | |
1026 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1) | |
1027 | end | |
1028 | prt.Transparency = i | |
1029 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, 0) | |
1030 | end | |
1031 | Part.Parent = nil | |
1032 | end), prt, msh) | |
1033 | end | |
1034 | ||
1035 | function Eviscerate(dude) | |
1036 | if dude.Name ~= char then | |
1037 | local bgf = IT("BodyGyro", dude.Head) | |
1038 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
1039 | local val = IT("BoolValue", dude) | |
1040 | val.Name = "IsHit" | |
1041 | local ds = coroutine.wrap(function() | |
1042 | dude:WaitForChild("Head"):BreakJoints() | |
1043 | wait(0.5) | |
1044 | target = nil | |
1045 | coroutine.resume(coroutine.create(function() | |
1046 | for i, v in pairs(dude:GetChildren()) do | |
1047 | if v:IsA("Accessory") then | |
1048 | v:Destroy() | |
1049 | end | |
1050 | if v:IsA("Humanoid") then | |
1051 | v:Destroy() | |
1052 | end | |
1053 | if v:IsA("CharacterMesh") then | |
1054 | v:Destroy() | |
1055 | end | |
1056 | if v:IsA("Model") then | |
1057 | v:Destroy() | |
1058 | end | |
1059 | if v:IsA("Part") or v:IsA("MeshPart") then | |
1060 | for x, o in pairs(v:GetChildren()) do | |
1061 | if o:IsA("Decal") then | |
1062 | o:Destroy() | |
1063 | end | |
1064 | end | |
1065 | coroutine.resume(coroutine.create(function() | |
1066 | v.Material = "Neon" | |
1067 | v.CanCollide = false | |
1068 | local PartEmmit1 = IT("ParticleEmitter", v) | |
1069 | PartEmmit1.LightEmission = 1 | |
1070 | PartEmmit1.Texture = "rbxassetid://284205403" | |
1071 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
1072 | PartEmmit1.Rate = 150 | |
1073 | PartEmmit1.Lifetime = NumberRange.new(1) | |
1074 | PartEmmit1.Size = NumberSequence.new({ | |
1075 | NumberSequenceKeypoint.new(0, 0.75, 0), | |
1076 | NumberSequenceKeypoint.new(1, 0, 0) | |
1077 | }) | |
1078 | PartEmmit1.Transparency = NumberSequence.new({ | |
1079 | NumberSequenceKeypoint.new(0, 0, 0), | |
1080 | NumberSequenceKeypoint.new(1, 1, 0) | |
1081 | }) | |
1082 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
1083 | PartEmmit1.VelocitySpread = 30000 | |
1084 | PartEmmit1.Rotation = NumberRange.new(-500, 500) | |
1085 | PartEmmit1.RotSpeed = NumberRange.new(-500, 500) | |
1086 | local BodPoss = IT("BodyPosition", v) | |
1087 | BodPoss.P = 3000 | |
1088 | BodPoss.D = 1000 | |
1089 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
1090 | BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
1091 | v.Color = maincolor.Color | |
1092 | coroutine.resume(coroutine.create(function() | |
1093 | for i = 0, 49 do | |
1094 | swait(1) | |
1095 | v.Transparency = v.Transparency + 0.08 | |
1096 | end | |
1097 | wait(0.5) | |
1098 | PartEmmit1.Enabled = false | |
1099 | wait(3) | |
1100 | v:Destroy() | |
1101 | dude:Destroy() | |
1102 | end)) | |
1103 | end)) | |
1104 | end | |
1105 | end | |
1106 | end)) | |
1107 | end) | |
1108 | ds() | |
1109 | end | |
1110 | end | |
1111 | function FindNearestHead(Position, Distance, SinglePlayer) | |
1112 | if SinglePlayer then | |
1113 | return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude | |
1114 | end | |
1115 | local List = {} | |
1116 | for i, v in pairs(workspace:GetChildren()) do | |
1117 | if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then | |
1118 | table.insert(List, v) | |
1119 | end | |
1120 | end | |
1121 | return List | |
1122 | end | |
1123 | function sphereMK(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos) | |
1124 | local type = type | |
1125 | local rng = Instance.new("Part", char) | |
1126 | rng.Anchored = true | |
1127 | rng.BrickColor = color | |
1128 | rng.CanCollide = false | |
1129 | rng.FormFactor = 3 | |
1130 | rng.Name = "Ring" | |
1131 | rng.Material = "Neon" | |
1132 | rng.Size = Vector3.new(1, 1, 1) | |
1133 | rng.Transparency = 0 | |
1134 | rng.TopSurface = 0 | |
1135 | rng.BottomSurface = 0 | |
1136 | rng.CFrame = pos | |
1137 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos | |
1138 | local rngm = Instance.new("SpecialMesh", rng) | |
1139 | rngm.MeshType = "Sphere" | |
1140 | rngm.Scale = Vector3.new(x1, y1, z1) | |
1141 | local scaler2 = 1 | |
1142 | local speeder = FastSpeed | |
1143 | if type == "Add" then | |
1144 | scaler2 = 1 * value | |
1145 | elseif type == "Divide" then | |
1146 | scaler2 = 1 / value | |
1147 | end | |
1148 | coroutine.resume(coroutine.create(function() | |
1149 | for i = 0, 10 / bonuspeed, 0.1 do | |
1150 | swait() | |
1151 | if type == "Add" then | |
1152 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
1153 | elseif type == "Divide" then | |
1154 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
1155 | end | |
1156 | speeder = speeder - 0.01 * FastSpeed * bonuspeed | |
1157 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed | |
1158 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
1159 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) | |
1160 | end | |
1161 | rng:Destroy() | |
1162 | end)) | |
1163 | end | |
1164 | ------------------------------------------------------- | |
1165 | --End Important Functions-- | |
1166 | ------------------------------------------------------- | |
1167 | ||
1168 | --[[ | |
1169 | Thanks for using Build-To-Lua by jarredbcv. | |
1170 | ]]-- | |
1171 | ||
1172 | New = function(Object, Parent, Name, Data) | |
1173 | local Object = Instance.new(Object) | |
1174 | for Index, Value in pairs(Data or {}) do | |
1175 | Object[Index] = Value | |
1176 | end | |
1177 | Object.Parent = Parent | |
1178 | Object.Name = Name | |
1179 | return Object | |
1180 | end | |
1181 | ||
1182 | NewInstance = function(instance,parent,properties) | |
1183 | local inst = Instance.new(instance,parent) | |
1184 | if(properties)then | |
1185 | for i,v in next, properties do | |
1186 | pcall(function() inst[i] = v end) | |
1187 | end | |
1188 | end | |
1189 | return inst; | |
1190 | end | |
1191 | ||
1192 | Gunty = New("Model",char,"Gunty",{}) | |
1193 | Handle = New("Part",Gunty,"Handle",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.799999952, 0.980000019, 1),CFrame = CFrame.new(-6.17461252, 2.89117765, -81.6553421, 0.999894261, 0.010924357, 0.00963267777, -0.0110270018, 0.999882579, 0.0106679145, -0.00951499958, -0.0107729975, 0.999897003),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1194 | Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1195 | Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.449999958, 0.300000012, 1.00999999),CFrame = CFrame.new(-5.79491472, 3.31696463, -81.668541, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1196 | Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1.14999998, 0.699999988, 1.04999995),}) | |
1197 | mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.375087738, 0.43002677, -0.00499725342, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1198 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.400000006, 0.800000012, 1.43999994),CFrame = CFrame.new(-5.77552652, 2.79678607, -81.6581802, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),}) | |
1199 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) | |
1200 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.400111198, -0.089990139, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1201 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.50999999, 1.00999999, 1.38),CFrame = CFrame.new(-5.79167271, 2.89196372, -81.6569061, 0.999894142, 0.0109243561, 0.00963267591, -0.0110270008, 0.99988246, 0.0106679127, -0.00951499958, -0.0107729975, 0.999896884),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),}) | |
1202 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) | |
1203 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.382905483, 0.00498604774, 0.00213623047, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1204 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.340000033, 0.179999962, 1.27999997),CFrame = CFrame.new(-6.43716383, 3.22691417, -81.656456, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),}) | |
1205 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) | |
1206 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.266214848, 0.332840681, -6.10351563e-05, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1207 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.340000033, 0.239999965, 1.27999997),CFrame = CFrame.new(-6.43716383, 2.87691402, -81.6564636, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),}) | |
1208 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) | |
1209 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.262355328, -0.0171182156, -0.00379943848, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1210 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.380000025, 0.239999965, 1.27999997),CFrame = CFrame.new(-6.41705704, 2.5166924, -81.6567535, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),}) | |
1211 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) | |
1212 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.238276005, -0.37707448, -0.00774383545, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1213 | Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.080000028, 0.829999983, 1.24000001),CFrame = CFrame.new(-6.28731203, 2.83357024, -81.6548691, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1214 | Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) | |
1215 | mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.112056732, -0.058836937, -0.00122833252, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1216 | Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.580000043, 0.209999949, 1.24000001),CFrame = CFrame.new(-6.30723286, 3.2204814, -81.6576462, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1217 | Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) | |
1218 | mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.136215687, 0.327841043, -6.86645508e-05, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1219 | Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.580000043, 0.269999951, 1.24000001),CFrame = CFrame.new(-6.30756044, 2.87048483, -81.6573257, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1220 | Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) | |
1221 | mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.132686615, -0.0221214294, -0.0034866333, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1222 | Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.580000043, 0.249999955, 1.25),CFrame = CFrame.new(-6.30751181, 2.53053808, -81.6523285, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1223 | Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) | |
1224 | mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.128937244, -0.362081289, -0.00211334229, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1225 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(-5.71910667, 3.10924911, -81.0621643, 0.968651533, -0.24823907, 0.00961919595, 0.248137087, 0.968666732, 0.0106559293, -0.0119630033, -0.007934995, 0.999897361),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1226 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 0.899999976, 0.400000006),}) | |
1227 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.968651116, 0.248137027, -0.0119630015, -0.248238936, 0.968666434, -0.007934995, 0.00961919129, 0.0106559228, 0.999897003),C1 = CFrame.new(0.447408676, 0.216631651, 0.599830627, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1228 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(-5.74061537, 3.09643626, -82.2620392, 0.968651533, -0.24823907, 0.00961919595, 0.248137087, 0.968666732, 0.0106559293, -0.0119630033, -0.007934995, 0.999897361),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1229 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 0.899999976, 0.400000006),}) | |
1230 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.968651116, 0.248137027, -0.0119630015, -0.248238936, 0.968666434, -0.007934995, 0.00961919129, 0.0106559228, 0.999897003),C1 = CFrame.new(0.437460423, 0.216511488, -0.600265503, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1231 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 1.4000001),CFrame = CFrame.new(-5.66842175, 2.87551188, -81.6588593, 0.699307382, 0.714757025, 0.00962753966, -0.714821219, 0.699226558, 0.0106663266, 0.000891998934, -0.0143409977, 0.999897063),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),}) | |
1232 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 0.930000007),}) | |
1233 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.699307024, -0.714820981, 0.000891999982, 0.714756727, 0.69922626, -0.0143409977, 0.00962753501, 0.010666322, 0.999896765),C1 = CFrame.new(0.506342888, -0.0100963116, 0.00119018555, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1234 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.320000023, 0.919999957, 1.27999997),CFrame = CFrame.new(-6.08716917, 2.84636235, -81.6569443, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),}) | |
1235 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) | |
1236 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.0879435539, -0.0438375473, -0.00123596191, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1237 | Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.329999983, 0.269999981, 0.860000074),CFrame = CFrame.new(-5.68526602, 2.76024342, -81.6548996, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1238 | Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) | |
1239 | mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.4907341, -0.125577688, 0.0037612915, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1240 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.279999971, 0.389999986, 1.05000007),CFrame = CFrame.new(-5.67011929, 2.75067925, -81.6596603, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),}) | |
1241 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) | |
1242 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.506030083, -0.134924173, -0.000953674316, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1243 | Credits = New("Part",Gunty,"Credits",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,Size = Vector3.new(0.249999985, 0.230000019, 0.0599999875),CFrame = CFrame.new(-5.65182352, 3.14374733, -82.1123657, 1.00000036, -2.32830644e-10, 1.86264515e-09, 2.76486389e-10, 0.945462108, -0.325733244, 2.79396772e-09, 0.325733304, 0.945462048),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),}) | |
1244 | mot = New("Motor",Credits,"mot",{Part0 = Credits,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.94546175, 0.325733155, 0, -0.325733155, 0.94546175),C1 = CFrame.new(0.524296761, 0.263174534, -0.449249268, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1245 | Credits = New("Part",Gunty,"Credits",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,Size = Vector3.new(0.249999985, 0.150000021, 0.0599999875),CFrame = CFrame.new(-5.651824, 3.16514564, -82.0512466, 1.00000036, -1.28056854e-09, 1.86264515e-09, 2.76486389e-10, 0.990724444, 0.135888785, 2.79396772e-09, -0.13588877, 0.990724444),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),}) | |
1246 | mot = New("Motor",Credits,"mot",{Part0 = Credits,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.990724087, -0.135888726, 0, 0.135888726, 0.990724087),C1 = CFrame.new(0.523478985, 0.283911943, -0.387901306, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1247 | Credits = New("Part",Gunty,"Credits",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,Size = Vector3.new(0.249999985, 0.170000017, 0.0599999875),CFrame = CFrame.new(-5.651824, 3.15523815, -81.9898987, 1.00000036, -9.31322575e-10, 1.86264515e-09, 2.76486389e-10, 0.841228187, -0.540680885, 2.79396772e-09, 0.540680885, 0.841228247),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),}) | |
1248 | mot = New("Motor",Credits,"mot",{Part0 = Credits,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.841227949, 0.540680707, 0, -0.540680707, 0.841227949),C1 = CFrame.new(0.523004532, 0.273344755, -0.326667786, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1249 | Credits = New("Part",Gunty,"Credits",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,Size = Vector3.new(0.249999985, 0.230000019, 0.0599999875),CFrame = CFrame.new(-5.65182352, 3.12556744, -81.9521408, 1.00000036, -5.82076609e-10, 9.31322575e-10, 2.76486389e-10, 0.99409467, -0.10851986, 2.79396772e-09, 0.108519867, 0.99409461),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),}) | |
1250 | mot = New("Motor",Credits,"mot",{Part0 = Credits,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.994094312, 0.10851983, 0, -0.10851983, 0.994094312),C1 = CFrame.new(0.522972584, 0.243270636, -0.289230347, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1251 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 1.18000007),CFrame = CFrame.new(-6.06842232, 2.94551158, -81.6588593, 0.699307382, 0.714757025, 0.00962753966, -0.714821219, 0.699226558, 0.0106663266, 0.000891998934, -0.0143409977, 0.999897063),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),}) | |
1252 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 0.930000007),}) | |
1253 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.699307024, -0.714820981, 0.000891999982, 0.714756727, 0.69922626, -0.0143409977, 0.00962753501, 0.010666322, 0.999896765),C1 = CFrame.new(0.105613232, 0.0555255413, -0.00191497803, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1254 | ||
1255 | local HW = NewInstance('Motor', char, {Part0 = ra, Part1 = Handle, C0 = CF(-.1,-.51,0)}) | |
1256 | ||
1257 | for _,v in next, Gunty:children() do | |
1258 | v.CanCollide = false | |
1259 | end | |
1260 | ||
1261 | local all, last = {}, nil | |
1262 | ArmourParts = {} | |
1263 | ArmourParts2 = {} | |
1264 | NeonParts = {} | |
1265 | function scan(p) | |
1266 | for _, v in pairs(p:GetChildren()) do | |
1267 | if v:IsA("BasePart") then | |
1268 | if v.BrickColor == BrickColor.new("Smoky grey") then | |
1269 | table.insert(ArmourParts, v) | |
1270 | end | |
1271 | if v.BrickColor == BrickColor.new("Fossil") then | |
1272 | table.insert(ArmourParts2, v) | |
1273 | end | |
1274 | if v.BrickColor == BrickColor.new("Institutional white") then | |
1275 | table.insert(NeonParts, v) | |
1276 | end | |
1277 | if last then | |
1278 | local w = Instance.new("Weld") | |
1279 | w.Part0, w.Part1 = last, v | |
1280 | w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse() | |
1281 | w.Parent = last | |
1282 | end | |
1283 | table.insert(all, v) | |
1284 | last = v | |
1285 | end | |
1286 | scan(v) | |
1287 | end | |
1288 | end | |
1289 | scan(Gunty) | |
1290 | for _, v in pairs(all) do | |
1291 | v.Anchored = false | |
1292 | v.CanCollide = false | |
1293 | end | |
1294 | function resetmode() | |
1295 | for i, v in pairs(ArmourParts) do | |
1296 | v.BrickColor = BrickColor.new("Smoky grey") | |
1297 | end | |
1298 | for i, v in pairs(ArmourParts2) do | |
1299 | v.BrickColor = BrickColor.new("Fossil") | |
1300 | end | |
1301 | for i, v in pairs(NeonParts) do | |
1302 | v.BrickColor = BrickColor.new("Institutional white") | |
1303 | end | |
1304 | maincolor = BrickColor.new("Institutional white") | |
1305 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=843367143" | |
1306 | end | |
1307 | ------------------------------------------------------- | |
1308 | --Start Music Option-- | |
1309 | ------------------------------------------------------- | |
1310 | local Music = Instance.new("Sound",tors) | |
1311 | Music.Volume = 7.5 | |
1312 | Music.SoundId = "rbxassetid://1117396305" | |
1313 | Music.Looped = true | |
1314 | Music.Pitch = 1 --Pitcher | |
1315 | Music:Play() | |
1316 | ------------------------------------------------------- | |
1317 | --End Music Option-- | |
1318 | ------------------------------------------------------- | |
1319 | ||
1320 | local naeeym2 = Instance.new("BillboardGui",char) | |
1321 | naeeym2.AlwaysOnTop = true | |
1322 | naeeym2.Size = UDim2.new(5,35,2,35) | |
1323 | naeeym2.StudsOffset = Vector3.new(0,2,0) | |
1324 | naeeym2.Adornee = hed | |
1325 | naeeym2.Name = "Name" | |
1326 | ||
1327 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
1328 | tecks2.BackgroundTransparency = 1 | |
1329 | tecks2.TextScaled = true | |
1330 | tecks2.BorderSizePixel = 0 | |
1331 | tecks2.Text = "Neutral" | |
1332 | tecks2.Font = "Code" | |
1333 | tecks2.TextSize = 30 | |
1334 | tecks2.TextStrokeTransparency = 0 | |
1335 | tecks2.TextColor3 = Color3.new(0,0,0) | |
1336 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
1337 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
1338 | tecks2.Rotation = 0 | |
1339 | tecks2.Parent = naeeym2 | |
1340 | ||
1341 | ------------------------------------------------------- | |
1342 | --Start Attacks N Stuff-- | |
1343 | ------------------------------------------------------- | |
1344 | local sine=0 | |
1345 | function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype) | |
1346 | local Hitboxpart = Instance.new("Part", EffectModel) | |
1347 | RemoveOutlines(Hitboxpart) | |
1348 | Hitboxpart.Size = Vector3.new(siz1, siz2, siz3) | |
1349 | Hitboxpart.CanCollide = false | |
1350 | Hitboxpart.Transparency = 1 | |
1351 | Hitboxpart.Anchored = true | |
1352 | Hitboxpart.CFrame = Pose | |
1353 | game:GetService("Debris"):AddItem(Hitboxpart, lifetime) | |
1354 | MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype) | |
1355 | end | |
1356 | wait2 = false | |
1357 | combo = 1 | |
1358 | mouse.Button1Down:connect(function(key) | |
1359 | if attack == false then | |
1360 | attack = true | |
1361 | hum.WalkSpeed = 3.01 | |
1362 | if combo == 1 and wait2 == false then | |
1363 | wait2 = true | |
1364 | for i = 0, 1.2, 0.1 do | |
1365 | swait() | |
1366 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3) | |
1367 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
1368 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1) | |
1369 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
1370 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(-2.5), math.rad(0), math.rad(-0)), 0.3) | |
1371 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3) | |
1372 | end | |
1373 | CreateSound("138097048", ra, 3, .8) | |
1374 | HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 9, 3, "Normal") | |
1375 | for i = 0, 1.2, 0.1 do | |
1376 | swait() | |
1377 | BlockEffect(maincolor, Handle.CFrame, 21, 41, 21, -2, -3, -2, 0.08, 2) | |
1378 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(55)), 0.3) | |
1379 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
1380 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(95), math.rad(0), math.rad(40)), 0.1) | |
1381 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
1382 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-17)), 0.3) | |
1383 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3) | |
1384 | end | |
1385 | combo = 2 | |
1386 | end | |
1387 | if combo == 2 and wait2 == false then | |
1388 | wait2 = true | |
1389 | for i = 0, 1.2, 0.1 do | |
1390 | swait() | |
1391 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-25), math.rad(10), math.rad(-65)), 0.3) | |
1392 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
1393 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.1) | |
1394 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
1395 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-25)), 0.3) | |
1396 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(-20)), 0.3) | |
1397 | end | |
1398 | CreateSound("138097048", rl, 3, 1) | |
1399 | HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 5, 10, 3, "Normal") | |
1400 | for i = 0, 1.6, 0.1 do | |
1401 | swait() | |
1402 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(65+255.45*i)), 0.3) | |
1403 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
1404 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(54), math.rad(0), math.rad(35)), 0.1) | |
1405 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-34), math.rad(0), math.rad(-35)), 0.3) | |
1406 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(95)), 0.3) | |
1407 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-4.5), math.rad(-30), math.rad(0)), 0.3) | |
1408 | end | |
1409 | combo = 3 | |
1410 | end | |
1411 | if combo == 3 and wait2 == false then | |
1412 | for i = 0, 1.2, 0.1 do | |
1413 | swait() | |
1414 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3) | |
1415 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
1416 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1) | |
1417 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
1418 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(-2.5), math.rad(0), math.rad(-0)), 0.3) | |
1419 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3) | |
1420 | end | |
1421 | CreateSound("138097048", ra, 3, .8) | |
1422 | HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal") | |
1423 | for i = 0, 1.2, 0.1 do | |
1424 | swait() | |
1425 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(35)), 0.3) | |
1426 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
1427 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(96), math.rad(0), math.rad(10)), 0.1) | |
1428 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
1429 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3) | |
1430 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3) | |
1431 | end | |
1432 | Effects.Sphere.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 0.1, 0.1, 0.1, 0.03) | |
1433 | Effects.Ring.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 2, 2, 2, 0.1, 0.1, 0.1, 0.03) | |
1434 | HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal") | |
1435 | for i = 0, 1.2, 0.1 do | |
1436 | swait() | |
1437 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(-35)), 0.3) | |
1438 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
1439 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(25), math.rad(0), math.rad(10)), 0.1) | |
1440 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
1441 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3) | |
1442 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3) | |
1443 | end | |
1444 | combo = 1 | |
1445 | end | |
1446 | hum.WalkSpeed = 8 | |
1447 | wait2 = false | |
1448 | attack = false | |
1449 | end | |
1450 | end) | |
1451 | function Decapitate() | |
1452 | local target = nil | |
1453 | local targettorso = nil | |
1454 | if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then | |
1455 | if mouse.Target.Parent.Humanoid.PlatformStand == false then | |
1456 | target = mouse.Target.Parent.Humanoid | |
1457 | targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso") | |
1458 | targethead = mouse.Target.Parent:FindFirstChild("Head") | |
1459 | end | |
1460 | end | |
1461 | if target ~= nil then | |
1462 | targettorso.Anchored = true | |
1463 | attack = true | |
1464 | hum.WalkSpeed = 0 | |
1465 | root.CFrame = targettorso.CFrame * CF(0,0,2.6) | |
1466 | for i = 0,4.2,0.1 do | |
1467 | swait() | |
1468 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-40)), 0.15) | |
1469 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3) | |
1470 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) | |
1471 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
1472 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(0), Rad(35)), 0.1) | |
1473 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1) | |
1474 | end | |
1475 | local ModelHead01 = New("Model", char, "", {}) | |
1476 | local Humanoid01 = New("Humanoid", ModelHead01, "Humanoid", {}) | |
1477 | local Head01 = targethead:Clone() | |
1478 | targethead.Transparency = 1 | |
1479 | Head01.Parent = ModelHead01 | |
1480 | local weldHead01 = Instance.new("Weld") | |
1481 | weldHead01.Parent = Head01 | |
1482 | weldHead01.Part0 = targethead | |
1483 | weldHead01.Part1 = Head01 | |
1484 | weldHead01.C1 = CFrame.new(0, 0, 0) | |
1485 | targethead.face:Remove() | |
1486 | weldHead01.Part0 = ra | |
1487 | weldHead01.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0)) | |
1488 | targettorso:BreakJoints() | |
1489 | CreateSound("314390675", targettorso, 5, .7) | |
1490 | for i = 0,3.2,0.1 do | |
1491 | swait() | |
1492 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15) | |
1493 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
1494 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15) | |
1495 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(50)), 0.15) | |
1496 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(20), Rad(90)), 0.1) | |
1497 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1) | |
1498 | end | |
1499 | for i = 0,4.2,0.1 do | |
1500 | swait() | |
1501 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-40)), 0.15) | |
1502 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3) | |
1503 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15) | |
1504 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15) | |
1505 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(185), Rad(0), Rad(15)), 0.1) | |
1506 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.1) | |
1507 | end | |
1508 | CreateSound("541909763", targettorso, 5, .8) | |
1509 | weldHead01:Destroy() | |
1510 | Head01.CanCollide = true | |
1511 | local bodyVelocity2 = Create("BodyVelocity")({ | |
1512 | velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50, | |
1513 | P = 5000, | |
1514 | maxForce = Vector3.new(8000, 8000, 8000), | |
1515 | Parent = Head01 | |
1516 | }) | |
1517 | game:GetService("Debris"):AddItem(bodyVelocity2, 0.05) | |
1518 | for i = 0,6.2,0.1 do | |
1519 | swait() | |
1520 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(40)), 0.15) | |
1521 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.3) | |
1522 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15) | |
1523 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15) | |
1524 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-15)), 0.1) | |
1525 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.1) | |
1526 | end | |
1527 | targettorso.Anchored = false | |
1528 | attack = false | |
1529 | hum.WalkSpeed = 8 | |
1530 | root.CFrame = targettorso.CFrame * CF(0,0,3.4) | |
1531 | end | |
1532 | end | |
1533 | function Laugh() | |
1534 | attack = true | |
1535 | hum.WalkSpeed = 0 | |
1536 | CreateSound("300208779", hed, 10, 1) | |
1537 | for i = 0,9,0.1 do | |
1538 | swait() | |
1539 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 2)) * angles(Rad(-30), Rad(0), Rad(0)), 0.15) | |
1540 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30 - 2.5 * Sin(sine / 2)), Rad(0), Rad(0)), 0.3) | |
1541 | if Mrandom(1,15) == 1 then | |
1542 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15))), 1) | |
1543 | end | |
1544 | RH.C0 = clerp(RH.C0, CF(1, -1 - 0.1 * Cos(sine / 2), 0.025 * Cos(sine / 2)) * RHCF * angles(Rad(-4.5 - 7.5 * Sin(sine / 2)), Rad(0), Rad(-30)), 0.15) | |
1545 | LH.C0 = clerp(LH.C0, CF(-1, -1 - 0.1 * Cos(sine / 2), 0.025 * Cos(sine / 2)) * LHCF * angles(Rad(-6.5 - 7.5 * Sin(sine / 2)), Rad(0), Rad(30)), 0.15) | |
1546 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 2), 0.025 * Cos(sine / 2)) * angles(Rad(-35 - 7.5 * Sin(sine / 2)), Rad(0), Rad(15 - 7.5 * Sin(sine / 2))), 0.1) | |
1547 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 2), 0.025 * Cos(sine / 2)) * angles(Rad(-35 - 7.5 * Sin(sine / 2)), Rad(0), Rad(-15 - 7.5 * Sin(sine / 2))), 0.1) | |
1548 | end | |
1549 | attack = false | |
1550 | hum.WalkSpeed = 10 | |
1551 | end | |
1552 | function Flying_Kick() | |
1553 | attack = true | |
1554 | hum.WalkSpeed = 0 | |
1555 | for i = 0,2.7,0.1 do | |
1556 | swait() | |
1557 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.7 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15) | |
1558 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.3) | |
1559 | RH.C0 = clerp(RH.C0, CF(1, -0.3 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15) | |
1560 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(30)), 0.15) | |
1561 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(15)), 0.1) | |
1562 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(-15)), 0.1) | |
1563 | end | |
1564 | local bodyVelocity = Create("BodyVelocity")({ | |
1565 | velocity = Vector3.new(0, 0, 0) + root.CFrame.lookVector * 250, | |
1566 | P = 5000, | |
1567 | maxForce = Vector3.new(9e99, 9e99, 9e99), | |
1568 | Parent = root | |
1569 | }) | |
1570 | game:GetService("Debris"):AddItem(bodyVelocity, 0.05) | |
1571 | CreateSound("138097048", rl, 3, 1) | |
1572 | for i = 0,2.1,0.1 do | |
1573 | swait() | |
1574 | HitboxFunction(rl.CFrame, 0.01, 1, 1, 1, 7, 6, 8, 3, "Knockdown") | |
1575 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, .6 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(20), Rad(90)), 0.15) | |
1576 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
1577 | RH.C0 = clerp(RH.C0, CF(.4, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-125), Rad(0), Rad(0)), 0.15) | |
1578 | LH.C0 = clerp(LH.C0, CF(-1.3, -1.3 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(35), Rad(0), Rad(0)), 0.15) | |
1579 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1) | |
1580 | LW.C0 = clerp(LW.C0, CF(-1.9, 0.8 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-215)), 0.1) | |
1581 | end | |
1582 | attack = false | |
1583 | hum.WalkSpeed = 8 | |
1584 | end | |
1585 | function UpperCut() | |
1586 | attack = true | |
1587 | hum.WalkSpeed = 0 | |
1588 | for i = 0,2.3,0.1 do | |
1589 | swait() | |
1590 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.7 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15) | |
1591 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
1592 | RH.C0 = clerp(RH.C0, CF(1, -0.3 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15) | |
1593 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(30)), 0.15) | |
1594 | RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 30), -.8 + 0.025 * Cos(sine / 20)) * angles(Rad(165), Rad(0), Rad(0)), 0.1) | |
1595 | LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 30), -1 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(75)), 0.1) | |
1596 | end | |
1597 | CreateSound("138097048", ra, 3, .8) | |
1598 | HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 8, 3, "Knockdown") | |
1599 | for i = 0,2.8,0.1 do | |
1600 | swait() | |
1601 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-35), Rad(0), Rad(10)), 0.15) | |
1602 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.3) | |
1603 | RH.C0 = clerp(RH.C0, CF(1, -1.2 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(-55)), 0.15) | |
1604 | LH.C0 = clerp(LH.C0, CF(-1, -1.2 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(35)), 0.15) | |
1605 | RW.C0 = clerp(RW.C0, CF(1.3, .8 + 0.05 * Sin(sine / 30), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(125), Rad(0), Rad(0)), 0.1) | |
1606 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-10)), 0.1) | |
1607 | end | |
1608 | attack = false | |
1609 | hum.WalkSpeed = 8 | |
1610 | end | |
1611 | function Spinning_Kick() | |
1612 | attack = true | |
1613 | hum.WalkSpeed = 3.01 | |
1614 | for i = 0, 1.2, 0.1 do | |
1615 | swait() | |
1616 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-25), math.rad(10), math.rad(-65)), 0.3) | |
1617 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
1618 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.1) | |
1619 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
1620 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-25)), 0.3) | |
1621 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(-20)), 0.3) | |
1622 | end | |
1623 | for i = 0, 4.6, 0.1 do | |
1624 | swait() | |
1625 | CreateSound("138097048", rl, 3, 1) | |
1626 | HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 5, 10, 3, "Normal") | |
1627 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(65 + 255.45 * i)), 0.3) | |
1628 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
1629 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-54), math.rad(0), math.rad(47)), 0.1) | |
1630 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-34), math.rad(0), math.rad(-47)), 0.3) | |
1631 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(95)), 0.3) | |
1632 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-4.5), math.rad(-30), math.rad(30)), 0.3) | |
1633 | end | |
1634 | attack = false | |
1635 | hum.WalkSpeed = 8 | |
1636 | end | |
1637 | function Beam_Of_Light() | |
1638 | ||
1639 | end | |
1640 | function Blast_Of_God() | |
1641 | attack = true | |
1642 | hum.WalkSpeed = 3.01 | |
1643 | for i = 0,6.3,0.1 do | |
1644 | swait() | |
1645 | Effects.Sphere.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
1646 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(90)), 0.15) | |
1647 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-90)), 0.3) | |
1648 | RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15) | |
1649 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15) | |
1650 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1) | |
1651 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-13 + 2.5 * Sin(sine / 20))), 0.1) | |
1652 | end | |
1653 | Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05) | |
1654 | Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.03) | |
1655 | Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05) | |
1656 | Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05) | |
1657 | Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 10.5, 10.5, 10.5, 0.05) | |
1658 | Effects.Ring.Create(BrickC("New Yeller"), ra.CFrame * angles(Rad(90),0,0) * CF(0, -1, 0), 2, 2, 2, 7.6, 7.6, 7.6, 0.03) | |
1659 | CreateSound("142070127", tors, 10, 1) | |
1660 | MagniDamage(ra, 12, 40, 60, 10, "Normal") | |
1661 | for i = 0,2.6,0.1 do | |
1662 | swait() | |
1663 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(90)), 0.15) | |
1664 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-90)), 0.3) | |
1665 | RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-16 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15) | |
1666 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-25 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15) | |
1667 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(195 - 2.5 * Sin(sine / 20))), 0.1) | |
1668 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-35 + 2.5 * Sin(sine / 20))), 0.1) | |
1669 | end | |
1670 | attack = false | |
1671 | hum.WalkSpeed = 8 | |
1672 | end | |
1673 | function Diablo_Explosion() | |
1674 | attack = true | |
1675 | hum.WalkSpeed = 3.01 | |
1676 | for i = 0,6.3,0.1 do | |
1677 | swait() | |
1678 | Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
1679 | Effects.Block.Create(BrickC("Really red"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
1680 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1681 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1682 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
1683 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 3 * Sin(sine / 20))), 0.15) | |
1684 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1) | |
1685 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1) | |
1686 | end | |
1687 | Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 14, 14, 14, 0.05) | |
1688 | Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 11, 11, 11, 0.03) | |
1689 | Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 8, 8, 8, 0.05) | |
1690 | Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 6, 6, 6, 0.05) | |
1691 | Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 10.5, 10.5, 10.5, 0.05) | |
1692 | Effects.Ring.Create(BrickC("Really red"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3.6, 3.6, 3.6, 0.03) | |
1693 | CreateSound("142070127", tors, 10, 1) | |
1694 | MagniDamage(tors, 12, 34, 54, 10, "DarkUp") | |
1695 | for i = 0,4.6,0.1 do | |
1696 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1697 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1698 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
1699 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) | |
1700 | RW.C0 = clerp(RW.C0, CF(1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(-35 - 2.5 * Sin(sine / 20))), 0.1) | |
1701 | LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1) | |
1702 | end | |
1703 | wait(.6) | |
1704 | attack = false | |
1705 | hum.WalkSpeed = 8 | |
1706 | end | |
1707 | function Multi_Bombs() | |
1708 | attack = true | |
1709 | hum.WalkSpeed = 3.01 | |
1710 | for i = 0,3,0.1 do | |
1711 | swait() | |
1712 | Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
1713 | Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
1714 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1715 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1716 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
1717 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 3 * Sin(sine / 20))), 0.15) | |
1718 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1) | |
1719 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1) | |
1720 | end | |
1721 | Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 18, 18, 18, 0.05) | |
1722 | Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 14, 14, 14, 0.03) | |
1723 | Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.5, 4.5, 4.5, 10, 10, 10, 0.05) | |
1724 | Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.2, 4.2, 4.2, 8, 8, 8, 0.05) | |
1725 | Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 11.5, 11.5, 11.5, 0.05) | |
1726 | Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 3, 3, 3, 3.6, 3.6, 3.6, 0.02) | |
1727 | Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3, 3, 3, 0.05) | |
1728 | CreateSound("142070127", tors, 10, 1) | |
1729 | MagniDamage(tors, 17, 15, 35, 10, "Normal") | |
1730 | for i = 0,1,0.1 do | |
1731 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1732 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1733 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
1734 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) | |
1735 | RW.C0 = clerp(RW.C0, CF(1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(-35 - 2.5 * Sin(sine / 20))), 0.1) | |
1736 | LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1) | |
1737 | end | |
1738 | for i = 0,2,0.1 do | |
1739 | swait() | |
1740 | Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
1741 | Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
1742 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1743 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1744 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
1745 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 3 * Sin(sine / 20))), 0.15) | |
1746 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1) | |
1747 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1) | |
1748 | end | |
1749 | Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 18, 18, 18, 0.05) | |
1750 | Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 14, 14, 14, 0.03) | |
1751 | Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.5, 4.5, 4.5, 10, 10, 10, 0.05) | |
1752 | Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.2, 4.2, 4.2, 8, 8, 8, 0.05) | |
1753 | Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 11.5, 11.5, 11.5, 0.05) | |
1754 | Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 3, 3, 3, 3.6, 3.6, 3.6, 0.02) | |
1755 | Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3, 3, 3, 0.05) | |
1756 | CreateSound("142070127", tors, 10, 1) | |
1757 | MagniDamage(tors, 17, 15, 35, 10, "Normal") | |
1758 | for i = 0,1,0.1 do | |
1759 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1760 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1761 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
1762 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) | |
1763 | RW.C0 = clerp(RW.C0, CF(1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(-35 - 2.5 * Sin(sine / 20))), 0.1) | |
1764 | LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1) | |
1765 | end | |
1766 | for i = 0,2,0.1 do | |
1767 | swait() | |
1768 | Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
1769 | Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
1770 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1771 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1772 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
1773 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 3 * Sin(sine / 20))), 0.15) | |
1774 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1) | |
1775 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1) | |
1776 | end | |
1777 | Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 18, 18, 18, 0.05) | |
1778 | Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 14, 14, 14, 0.03) | |
1779 | Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.5, 4.5, 4.5, 10, 10, 10, 0.05) | |
1780 | Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.2, 4.2, 4.2, 8, 8, 8, 0.05) | |
1781 | Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 11.5, 11.5, 11.5, 0.05) | |
1782 | Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 3, 3, 3, 3.6, 3.6, 3.6, 0.02) | |
1783 | Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3, 3, 3, 0.05) | |
1784 | CreateSound("142070127", tors, 10, 1) | |
1785 | MagniDamage(tors, 17, 15, 35, 10, "Normal") | |
1786 | for i = 0,1,0.1 do | |
1787 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1788 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1789 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
1790 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) | |
1791 | RW.C0 = clerp(RW.C0, CF(1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(-35 - 2.5 * Sin(sine / 20))), 0.1) | |
1792 | LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1) | |
1793 | end | |
1794 | wait(.6) | |
1795 | attack = false | |
1796 | hum.WalkSpeed = 8 | |
1797 | end | |
1798 | function Hell_From_Above() | |
1799 | local UhhhhThing = New("Part",EffectModel,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = tors.CFrame,Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
1800 | attack = true | |
1801 | hum.WalkSpeed = 3.01 | |
1802 | for i = 0,6.3,0.1 do | |
1803 | swait() | |
1804 | Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
1805 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1806 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1807 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
1808 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) | |
1809 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1) | |
1810 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1) | |
1811 | end | |
1812 | CreateSound("142070127", tors, 10, 1) | |
1813 | Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05) | |
1814 | Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05) | |
1815 | Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05) | |
1816 | Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05) | |
1817 | for i = 0,3.8,0.1 do | |
1818 | swait() | |
1819 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1820 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1821 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
1822 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) | |
1823 | RW.C0 = clerp(RW.C0, CF(1.5, .2 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1) | |
1824 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1) | |
1825 | end | |
1826 | CreateSound("224339201", tors, 10, 0.5) | |
1827 | for i = 1, 3 do | |
1828 | MagniDamage(UhhhhThing, 12, 34, 54, 10, "DarkUp") | |
1829 | UhhhhThing.CFrame = mouse.Hit | |
1830 | Effects.Cylinder.Create(BrickColor.new("Really red"), UhhhhThing.CFrame, .5, 9999, .5, 10, 0, 10, 0.05) | |
1831 | Effects.Block.Create(BrickColor.new("Really red"), UhhhhThing.CFrame, 1, 1, 1, 10, 10, 10, 0.05) | |
1832 | end | |
1833 | UhhhhThing:Destroy() | |
1834 | attack = false | |
1835 | hum.WalkSpeed = 8 | |
1836 | end | |
1837 | function Spinning_Below() | |
1838 | attack = true | |
1839 | hum.WalkSpeed = 3.01 | |
1840 | CreateSound("649634100", tors, 10, 0.5) | |
1841 | for i = 0,6.3,0.1 do | |
1842 | swait() | |
1843 | Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
1844 | Effects.Block.Create(BrickC("Really red"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
1845 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0 + 255.45 * i)), 0.15) | |
1846 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1847 | RH.C0 = clerp(RH.C0, CF(1, -0.7 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
1848 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) | |
1849 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1) | |
1850 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1) | |
1851 | end | |
1852 | attack = false | |
1853 | hum.WalkSpeed = 8 | |
1854 | end | |
1855 | function Blizzard() | |
1856 | attack = true | |
1857 | hum.WalkSpeed = 2 | |
1858 | hum.JumpPower = 0 | |
1859 | for i = 0,70,0.1 do | |
1860 | MagniDamage(tors, 41, 1, 3, 1, "Normal") | |
1861 | Effects.Block.Create(BrickC("Institutional white"), tors.CFrame * CF(Mrandom(-40,40),Mrandom(-40,40),Mrandom(-40,40)), 2, 2, 2, 4, 4, 4, 0.03) | |
1862 | swait() | |
1863 | Effects.Block.Create(BrickC("Institutional white"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
1864 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.15) | |
1865 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
1866 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1867 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1868 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(110)), 0.1) | |
1869 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-110)), 0.1) | |
1870 | end | |
1871 | hum.WalkSpeed = 16 | |
1872 | hum.JumpPower = 50 | |
1873 | attack = false | |
1874 | end | |
1875 | ||
1876 | function Cryo_Freeze() | |
1877 | attack = true | |
1878 | for i = 0,5.2,0.03 do | |
1879 | swait() | |
1880 | Effects.Block.Create(BrickC("Cyan"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
1881 | Effects.Block.Create(BrickC("White"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
1882 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
1883 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1884 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
1885 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
1886 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
1887 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
1888 | end | |
1889 | CreateSound("331666100", tors, 10, 1) | |
1890 | Effects.Ring.Create(BrickC("Cyan"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 14, 14, 14, 27, 27, 27, 0.01) | |
1891 | for i = 1,3,0.1 do | |
1892 | hum.WalkSpeed = 0.10 | |
1893 | MagniDamage(tors, 400, 1, 10, 0, "Normal") | |
1894 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15) | |
1895 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3) | |
1896 | RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15) | |
1897 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15) | |
1898 | RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1) | |
1899 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1) | |
1900 | end | |
1901 | for i = 1,10,0.1 do | |
1902 | swait(10) | |
1903 | hum.WalkSpeed = 0.10 | |
1904 | MagniDamage(tors, 400, 1, 1, 0, "Normal") | |
1905 | Effects.Ring.Create(BrickC("Cyan"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 14, 14, 14, 27, 27, 1, 0.02) | |
1906 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15) | |
1907 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3) | |
1908 | RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15) | |
1909 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15) | |
1910 | RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1) | |
1911 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1) | |
1912 | end | |
1913 | wait(.6) | |
1914 | attack = false | |
1915 | end | |
1916 | function Menacing_Aura() | |
1917 | attack = true | |
1918 | notmenacing = false | |
1919 | for i = 0,2,0.1 do | |
1920 | swait() | |
1921 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
1922 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1923 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
1924 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
1925 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
1926 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
1927 | end | |
1928 | CreateSound("331666100", tors, 10, 1) | |
1929 | coroutine.resume(coroutine.create(function() | |
1930 | for i = 0,25,0.1 do | |
1931 | swait(10) | |
1932 | MagniDamage(tors, 6.5, 1, 2, 0, "Normal") | |
1933 | Effects.Ring.Create(maincolor, root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 0.05, 0.05, 0.05, 0.20, 0.20, 0.05, 0.02) | |
1934 | end | |
1935 | notmenacing = true | |
1936 | end)) | |
1937 | wait(.6) | |
1938 | attack = false | |
1939 | end | |
1940 | local alternatecooldownbecausewhynotdood = false | |
1941 | function Heat_Stroke()--This was NOT MADE BY ME! It's from Ruin II. Credit goes to When_kun, NoobyGames12, Injectioneer and Salvo_Starly! | |
1942 | attack = true | |
1943 | alternatecooldownbecausewhynotdood = true | |
1944 | for i = 0,2,0.1 do | |
1945 | swait() | |
1946 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
1947 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1948 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
1949 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
1950 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
1951 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
1952 | end | |
1953 | Effects.Block.Create(BrickColor.new("Bright red"), RightArm.CFrame * CFrame.new(0, -1.5, 0), 5, 5, 5, 4, 4, 4, .06) | |
1954 | ref = New("Part",m,"ref",{Anchored = true, CanCollide = false,Transparency = 1,Size = Vector3.new(0.200000018, 0.299999923, 0.2),Position = mouse.Hit.p,Color = Color3.new(1, 0, 0),}) | |
1955 | coroutine.resume(coroutine.create(function() | |
1956 | for i = 1,150,0.1 do | |
1957 | swait() | |
1958 | MagniDamage(ref, 23.3, 3, 9, 0, "Normal") | |
1959 | Effects.Block.Create(BrickColor.new("Bright red"), ref.CFrame * CFrame.new(math.random(-20,20), math.random(-20,20), math.random(-20,20)), 5, 5, 5, 2, 2, 2, 0.05) | |
1960 | Effects.Block.Create(BrickColor.new("Black"), ref.CFrame * CFrame.new(math.random(-20,20), math.random(-20,20), math.random(-20,20)), 5, 5, 5, 2, 2, 2, 0.05) | |
1961 | Effects.Block.Create(BrickColor.new("Bright red"), ref.CFrame * CFrame.new(math.random(-20,20), math.random(-20,20), math.random(-20,20)), 5, 5, 5, 2, 2, 2, 0.05) | |
1962 | end | |
1963 | swait(50) | |
1964 | alternatecooldownbecausewhynotdood = false | |
1965 | ref:Remove() -- still lazy to use debris | |
1966 | end)) | |
1967 | attack = false | |
1968 | end | |
1969 | function Eruption() | |
1970 | attack = true | |
1971 | hum.WalkSpeed = 2 | |
1972 | hum.JumpPower = 0 | |
1973 | for i = 0,7,0.1 do | |
1974 | HitboxFunction(tors.CFrame, 0.01, 1, 1, 1, 7, 5, 10, 1, "Normal") | |
1975 | swait() | |
1976 | Effects.Block.Create(BrickC("Deep orange"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
1977 | Effects.Block.Create(BrickC("New Yeller"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
1978 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.15) | |
1979 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
1980 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1981 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1982 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(110)), 0.1) | |
1983 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-45)), 0.1) | |
1984 | end | |
1985 | CreateSound("144699494", tors, 10, 1) | |
1986 | Effects.Ring.Create(BrickC("Deep orange"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 1, 1, 1, 1.6, 1.6, 1.6, 0.02) | |
1987 | Effects.Ring.Create(BrickC("New Yeller"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 1, 1, 1, 3.6, 3.6, 3.6, 0.02) | |
1988 | Effects.Ring.Create(BrickC("Deep orange"), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 1, 1, 1, 5.6, 5.6, 5.6, 0.02) | |
1989 | Effects.Ring.Create(BrickC("New Yeller"), root.CFrame * CF(0, -1.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 1, 1, 1, 8.6, 8, 8, 0.03) | |
1990 | MagniDamage(tors, 30, 40, 75, 7, "DarkUp") | |
1991 | coroutine.resume(coroutine.create(function() | |
1992 | for i = 0,1.8,0.1 do | |
1993 | swait() | |
1994 | hum.CameraOffset = Vector3.new(Mrandom(-4,4),Mrandom(-4,4),Mrandom(-4,4)) | |
1995 | end | |
1996 | for i = 0,1.8,0.1 do | |
1997 | swait() | |
1998 | hum.CameraOffset = Vector3.new(0,0,0) | |
1999 | end | |
2000 | end)) | |
2001 | local vel2 = Instance.new("BodyVelocity",tors) | |
2002 | vel2.Velocity = Vector3.new(0,55,0) | |
2003 | vel2.MaxForce = Vector3.new(10000000,10000000,10000000) | |
2004 | for i = 0,4,0.1 do | |
2005 | HitboxFunction(tors.CFrame, 0.01, 1, 1, 1, 7, 20, 35, 3, "Normal") | |
2006 | swait() | |
2007 | Effects.Block.Create(BrickC("Deep orange"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
2008 | Effects.Block.Create(BrickC("New Yeller"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
2009 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.15) | |
2010 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
2011 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2012 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2013 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(110)), 0.1) | |
2014 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-45)), 0.1) | |
2015 | end | |
2016 | hum.WalkSpeed = 16 | |
2017 | vel2:Destroy() | |
2018 | hum.JumpPower = 50 | |
2019 | attack = false | |
2020 | end | |
2021 | function Solar_Flare() | |
2022 | attack = true | |
2023 | hum.WalkSpeed = 2 | |
2024 | hum.JumpPower = 75 | |
2025 | hum.Jump = true | |
2026 | wait(0.4) | |
2027 | CreateSound("144699494", tors, 10, 1) | |
2028 | hum.JumpPower = 0 | |
2029 | Effects.Ring.Create(BrickC("Deep orange"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(0),Rad(0),Rad(0)), .2, .2, .2, .6, .6, .6, 0.02) | |
2030 | Effects.Ring.Create(BrickC("New Yeller"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(0),Rad(0),Rad(0)), .2, .2, .2, 1.6, 1.6, 1.6, 0.02) | |
2031 | Effects.Ring.Create(BrickC("Deep orange"), root.CFrame * CF(0, -1.7, 0) * angles(Rad(0),Rad(0),Rad(0)), .2, .2, .2, 2.6, 2.6, 2.6, 0.02) | |
2032 | for i = 0,20,0.1 do | |
2033 | root.Velocity = root.CFrame.lookVector * 60 | |
2034 | HitboxFunction(tors.CFrame, 0.01, 1, 1, 1, 14, 25, 35, 0, "Freeze") | |
2035 | swait() | |
2036 | Effects.Block.Create(BrickC("Deep orange"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 12, 12, 12, 0.05) | |
2037 | Effects.Block.Create(BrickC("New Yeller"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 12, 12, 12, 0.05) | |
2038 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(90), Rad(0), Rad(0-255.45*i)), 0.15) | |
2039 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
2040 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2041 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2042 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1) | |
2043 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.1) | |
2044 | end | |
2045 | hum.WalkSpeed = 16 | |
2046 | hum.JumpPower = 50 | |
2047 | attack = false | |
2048 | end | |
2049 | function ShadowWarp() | |
2050 | MagniDamage(tors, 5, 5, 10, 0, "Normal") | |
2051 | Effects.Ring.Create(BrickC("Dark blue"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 0.2, 0.2, 0.2, 0.6, 0.6, 0.6, 0.03) | |
2052 | Effects.Ring.Create(BrickC("Steel blue"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 0.1, 0.1, 0.1, 0.3, 0.3, 0.3, 0.02) | |
2053 | Effects.Block.Create(BrickC("Steel blue"), tors.CFrame * CF(0, 0, 0), 2, 2, 2, 6, 6, 6, 0.05) | |
2054 | local pos = root.Position | |
2055 | root.CFrame = CF(mouse.Hit.p+VT(0,3,0),pos) | |
2056 | CreateSound("769380905", tors, 10, 1) | |
2057 | MagniDamage(tors, 5, 15, 20, 0, "DarkUp") | |
2058 | Effects.Block.Create(BrickC("Dark blue"), tors.CFrame * CF(0, 0, 0), 2, 2, 2, 6, 6, 6, 0.05) | |
2059 | Effects.Ring.Create(BrickC("Dark blue"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 0.2, 0.2, 0.2, 0.6, 0.6, 0.6, 0.03) | |
2060 | Effects.Ring.Create(BrickC("Steel blue"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 0.1, 0.1, 0.1, 0.3, 0.3, 0.3, 0.02) | |
2061 | end | |
2062 | function Shade() | |
2063 | hum.WalkSpeed = 3 | |
2064 | attack = true | |
2065 | for i = 0,2,0.1 do | |
2066 | swait() | |
2067 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
2068 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2069 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
2070 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
2071 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
2072 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
2073 | end | |
2074 | hum.WalkSpeed = 3 | |
2075 | CreateSound("588736969", tors, 10, 1) | |
2076 | Effects.Block.Create(BrickC("Deep blue"), tors.CFrame * CF(0, 0, 0), 80, 80, 80, 40, 40, 40, 0.05) | |
2077 | MagniDamage(tors, 27, 12, 24, 2, "Normal") | |
2078 | for i = 0,3,0.1 do | |
2079 | swait() | |
2080 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
2081 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2082 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
2083 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
2084 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
2085 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
2086 | end | |
2087 | hum.WalkSpeed = 3 | |
2088 | CreateSound("588736969", tors, 10, 1) | |
2089 | Effects.Block.Create(BrickC("Deep blue"), tors.CFrame * CF(0, 0, 0), 80, 80, 80, 40, 40, 40, 0.05) | |
2090 | MagniDamage(tors, 27, 12, 24, 2, "Normal") | |
2091 | for i = 0,3,0.1 do | |
2092 | swait() | |
2093 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
2094 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2095 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
2096 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
2097 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
2098 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
2099 | end | |
2100 | CreateSound("588736969", tors, 10, 1) | |
2101 | Effects.Block.Create(BrickC("Deep blue"), tors.CFrame * CF(0, 0, 0), 80, 80, 80, 40, 40, 40, 0.05) | |
2102 | MagniDamage(tors, 27, 12, 24, 2, "Normal") | |
2103 | hum.WalkSpeed = 3 | |
2104 | wait(.6) | |
2105 | hum.WalkSpeed = 16 | |
2106 | attack = false | |
2107 | end | |
2108 | function Purity_Slam() | |
2109 | attack = true | |
2110 | for i = 0,5.2,0.1 do | |
2111 | swait() | |
2112 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
2113 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2114 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
2115 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
2116 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
2117 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
2118 | end | |
2119 | CreateSound("331666100", tors, 10, 1) | |
2120 | Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 3.6, 3.6, 3.6, 0.03) | |
2121 | Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 5.6, 5.6, 5.6, 0.03) | |
2122 | Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03) | |
2123 | Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -1.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 10.6, 10, 10, 0.03) | |
2124 | MagniDamage(tors, 12, 40, 60, 10, "Normal") | |
2125 | coroutine.resume(coroutine.create(function() | |
2126 | for i = 0,1.8,0.1 do | |
2127 | swait() | |
2128 | hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)) | |
2129 | end | |
2130 | for i = 0,1.8,0.1 do | |
2131 | swait() | |
2132 | hum.CameraOffset = Vector3.new(0,0,0) | |
2133 | end | |
2134 | end)) | |
2135 | for i = 1,4.7,0.1 do | |
2136 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15) | |
2137 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3) | |
2138 | RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15) | |
2139 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15) | |
2140 | RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1) | |
2141 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1) | |
2142 | end | |
2143 | wait(.6) | |
2144 | attack = false | |
2145 | end | |
2146 | function Universal_Crush() | |
2147 | attack = true | |
2148 | for i = 0,5.2,0.05 do | |
2149 | swait() | |
2150 | Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
2151 | Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
2152 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
2153 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2154 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
2155 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
2156 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
2157 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
2158 | end | |
2159 | CreateSound("331666100", tors, 10, 1) | |
2160 | Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 14, 14, 14, 16.6, 16.6, 16.6, 0.01) | |
2161 | Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 16, 16, 16, 19.6, 19.6, 19.6, 0.01) | |
2162 | Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 18, 18, 18, 22.6, 22.6, 22.6, 0.01) | |
2163 | Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, -1.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 20, 20, 20, 25.6, 25, 25, 0.01) | |
2164 | MagniDamage(tors, 170, 80, 175, 15, "DarkUp") | |
2165 | coroutine.resume(coroutine.create(function() | |
2166 | for i = 0,1.8,0.1 do | |
2167 | swait() | |
2168 | hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)) | |
2169 | end | |
2170 | for i = 0,1.8,0.1 do | |
2171 | swait() | |
2172 | hum.CameraOffset = Vector3.new(0,0,0) | |
2173 | end | |
2174 | end)) | |
2175 | for i = 1,4.7,0.1 do | |
2176 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15) | |
2177 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3) | |
2178 | RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15) | |
2179 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15) | |
2180 | RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1) | |
2181 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1) | |
2182 | end | |
2183 | wait(.6) | |
2184 | attack = false | |
2185 | end | |
2186 | function Painful_Stomp() | |
2187 | attack = true | |
2188 | for i = 0,5.2,0.1 do | |
2189 | swait() | |
2190 | tecks2.Rotation = math.random(-20, 20) | |
2191 | tecks2.Text = ""..NOUSE[math.random(1,#NOUSE)] | |
2192 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
2193 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2194 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
2195 | LH.C0 = clerp(LH.C0, CF(-1, -0.3 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
2196 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(-45 - 2.5 * Sin(sine / 20))), 0.1) | |
2197 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(45 + 2.5 * Sin(sine / 20))), 0.1) | |
2198 | end | |
2199 | CreateSound("331666100", char, 10, 1) | |
2200 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
2201 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
2202 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
2203 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
2204 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05) | |
2205 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05) | |
2206 | Effects.Ring.Create(BrickColor.Random(), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03) | |
2207 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do | |
2208 | if v:FindFirstChild("Head") then | |
2209 | Eviscerate(v) | |
2210 | end | |
2211 | end | |
2212 | coroutine.resume(coroutine.create(function() | |
2213 | for i = 0,2.8,0.1 do | |
2214 | swait() | |
2215 | hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)) | |
2216 | end | |
2217 | for i = 0,1.8,0.1 do | |
2218 | swait() | |
2219 | hum.CameraOffset = Vector3.new(0,0,0) | |
2220 | end | |
2221 | end)) | |
2222 | for i = 0,3.7,0.1 do | |
2223 | tecks2.Rotation = math.random(-20, 20) | |
2224 | tecks2.Text = ""..NOUSE[math.random(1,#NOUSE)] | |
2225 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15) | |
2226 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2227 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(20)), 0.15) | |
2228 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(-25)), 0.15) | |
2229 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
2230 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
2231 | end | |
2232 | wait(.6) | |
2233 | attack = false | |
2234 | end | |
2235 | function Ending() | |
2236 | local target = nil | |
2237 | local targettorso = nil | |
2238 | if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then | |
2239 | if mouse.Target.Parent.Humanoid.PlatformStand == false then | |
2240 | targetT = mouse.Target.Parent | |
2241 | target = mouse.Target.Parent.Humanoid | |
2242 | targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso") | |
2243 | targethead = mouse.Target.Parent:FindFirstChild("Head") | |
2244 | end | |
2245 | end | |
2246 | if target ~= nil then | |
2247 | targettorso.Anchored = true | |
2248 | attack = true | |
2249 | hum.WalkSpeed = 0 | |
2250 | local originalpos = root.CFrame | |
2251 | root.CFrame = targettorso.CFrame * CF(0,0,2.6) | |
2252 | for i = 0,1.8,0.1 do | |
2253 | tecks2.Rotation = math.random(-20, 20) | |
2254 | swait() | |
2255 | tecks2.Text = ""..NOUSE[math.random(1,#NOUSE)] | |
2256 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-65)), 0.15) | |
2257 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(65)), 0.3) | |
2258 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) | |
2259 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
2260 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(35)), 0.1) | |
2261 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1) | |
2262 | end | |
2263 | Eviscerate(targetT) | |
2264 | CreateSound("331666100", ra, 4, 1) | |
2265 | CreateSound("180083286", targettorso, 10, 1) | |
2266 | coroutine.resume(coroutine.create(function() | |
2267 | for i = 0,1.8,0.1 do | |
2268 | swait() | |
2269 | hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)) | |
2270 | end | |
2271 | for i = 0,1.8,0.1 do | |
2272 | swait() | |
2273 | hum.CameraOffset = Vector3.new(0,0,0) | |
2274 | end | |
2275 | end)) | |
2276 | for i = 0,4.6,0.1 do | |
2277 | tecks2.Text = ""..NOUSE[math.random(1,#NOUSE)] | |
2278 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15) | |
2279 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
2280 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) | |
2281 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
2282 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1) | |
2283 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1) | |
2284 | end | |
2285 | wait(.6) | |
2286 | root.CFrame = originalpos | |
2287 | attack = false | |
2288 | hum.WalkSpeed = 8 | |
2289 | end | |
2290 | end | |
2291 | ||
2292 | --[[I don't take ANY credit for this attack, | |
2293 | this was all nooby's hard work and the only reason i uhhh "used" it | |
2294 | is cause I i didn't have attack ideas at the time so yeah, | |
2295 | 100% nooby's credit <3]] | |
2296 | function Ende_der_Weld() | |
2297 | attack = true | |
2298 | hum.WalkSpeed = 0 | |
2299 | for i = 0,4.6,0.1 do | |
2300 | swait() | |
2301 | tecks2.Rotation = math.random(-20, 20) | |
2302 | tecks2.Text = ""..NOUSE[math.random(1,#NOUSE)] | |
2303 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15) | |
2304 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
2305 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) | |
2306 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
2307 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1) | |
2308 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1) | |
2309 | end | |
2310 | local a = Instance.new("Part",char) | |
2311 | a.BrickColor = BrickColor.random() | |
2312 | a.Name = "Lazer" | |
2313 | a.Anchored = true | |
2314 | a.Material = "Neon" | |
2315 | a.Transparency = 1 | |
2316 | a.CanCollide = false | |
2317 | local hitbox = Instance.new("Part",char) | |
2318 | hitbox.Size = Vector3.new(5,5,5) | |
2319 | hitbox.CFrame = mouse.hit | |
2320 | hitbox.Anchored = true | |
2321 | hitbox.Transparency = 1 | |
2322 | hitbox.CanCollide = false | |
2323 | local ray = Ray.new( | |
2324 | ra.CFrame.p, -- origin | |
2325 | (mouse.Hit.p - ra.CFrame.p).unit * 500 -- direction | |
2326 | ) | |
2327 | local ignore = char | |
2328 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
2329 | if hit then | |
2330 | local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid") | |
2331 | ||
2332 | if not humanoid then | |
2333 | humanoid = hit.Parent.Parent:FindFirstChildOfClass("Humanoid") | |
2334 | end | |
2335 | if humanoid then | |
2336 | if humanoid.Parent:IsA"Model" then | |
2337 | end | |
2338 | end | |
2339 | end | |
2340 | a.BottomSurface = 10 | |
2341 | a.TopSurface = 10 | |
2342 | local distance = (ra.CFrame.p - position).magnitude | |
2343 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
2344 | a.CFrame = CFrame.new(ra.CFrame.p, position) * CFrame.new(0, 0, 0) | |
2345 | game:GetService("Debris"):AddItem(a, 5) | |
2346 | game:GetService("Debris"):AddItem(hitbox, 1) | |
2347 | local newmesh = Instance.new("BlockMesh",a) | |
2348 | MagicBlock(BrickColor.Random(),ra.CFrame,5,5,5,0.25,0.25,0.25,0.025) | |
2349 | MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1.5,1.5,0.015,1) | |
2350 | MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1.25,1.25,0.015,2) | |
2351 | MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1,1,0.015,1) | |
2352 | local lbs = Instance.new("Part") | |
2353 | lbs.Parent = char | |
2354 | CreateSound("929619479", lbs, 10, 1) | |
2355 | lbs.Material = "Neon" | |
2356 | lbs.Color = BrickColor.Random().Color | |
2357 | lbs.CanCollide = false | |
2358 | lbs.Shape = "Ball" | |
2359 | lbs.Anchored = true | |
2360 | lbs.Transparency = 0 | |
2361 | lbs.Size = Vector3.new(20,20,20) | |
2362 | lbs.CFrame = a.CFrame | |
2363 | local thing = Instance.new("SpecialMesh",lbs) | |
2364 | thing.MeshType = "Sphere" | |
2365 | lbs.Anchored = false | |
2366 | local bvs = Instance.new("BodyVelocity") | |
2367 | bvs.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
2368 | bvs.velocity = a.CFrame.lookVector*75 | |
2369 | bvs.Parent = lbs | |
2370 | lbs.Touched:connect(function(hit) | |
2371 | MagniDamage(hit, 12, 40, 60, 10, "Normal") | |
2372 | end) | |
2373 | attack = false | |
2374 | game:GetService("Debris"):AddItem(lbs, 10) | |
2375 | for x = 0, 4 do | |
2376 | local bulletgos = IT("Model",char) | |
2377 | local bulletgos2 = IT("Model",char) | |
2378 | for z = 0, 24 do | |
2379 | local lb = Instance.new("Part") | |
2380 | lb.Parent = bulletgos | |
2381 | lb.Material = "Neon" | |
2382 | lb.Color = BrickColor.Random().Color | |
2383 | lb.CanCollide = false | |
2384 | lb.Anchored = true | |
2385 | lb.Transparency = 0 | |
2386 | lb.Size = Vector3.new(2,2,2) | |
2387 | local thing = Instance.new("SpecialMesh",lb) | |
2388 | thing.MeshType = "Sphere" | |
2389 | thing.Scale = Vector3.new(0.5,0.5,1.5) | |
2390 | lb.CFrame = lbs.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
2391 | lb.CFrame = lb.CFrame + lb.CFrame.lookVector*15 | |
2392 | local lb2 = Instance.new("Part") | |
2393 | lb2.Parent = bulletgos2 | |
2394 | lb2.Material = "Neon" | |
2395 | lb2.Color = lb.Color | |
2396 | lb2.CanCollide = false | |
2397 | lb2.Anchored = true | |
2398 | lb2.Transparency = 0 | |
2399 | lb2.Size = Vector3.new(2,2,2) | |
2400 | lb2.CFrame = lbs.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
2401 | lb2.CFrame = lb2.CFrame + lb.CFrame.lookVector*15 | |
2402 | local thing2 = Instance.new("SpecialMesh",lb2) | |
2403 | thing2.MeshType = "Sphere" | |
2404 | thing2.Scale = Vector3.new(0.5,0.5,1.5) | |
2405 | lb.Touched:connect(function(hit) | |
2406 | MagniDamage(hit, 12, 40, 60, 10, "Normal") | |
2407 | end) | |
2408 | lb2.Touched:connect(function(hit) | |
2409 | MagniDamage(hit, 12, 40, 60, 10, "Normal") | |
2410 | end) | |
2411 | end | |
2412 | MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,-0.1,-0.1,-0.1,0.025) | |
2413 | MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,-0.1,-0.1,-0.1,0.025) | |
2414 | MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,0.5,0.5,0.5,0.025) | |
2415 | MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,0.5,0.5,0.5,0.025) | |
2416 | CreateSound("925629856", lbs, 5, 1) | |
2417 | game:GetService("Debris"):AddItem(bulletgos, 7) | |
2418 | game:GetService("Debris"):AddItem(bulletgos2, 7) | |
2419 | for i,v in pairs(bulletgos:children()) do | |
2420 | if v:IsA("Part") then | |
2421 | v.Anchored = false | |
2422 | MagicBlock(v.BrickColor,v.CFrame,1,1,1,0.25,0.25,0.25,0.025) | |
2423 | local bv = Instance.new("BodyVelocity") | |
2424 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
2425 | bv.velocity = v.CFrame.lookVector*25 | |
2426 | bv.Parent = v | |
2427 | game:GetService("Debris"):AddItem(v, 5) | |
2428 | end | |
2429 | end | |
2430 | for i,v in pairs(bulletgos2:children()) do | |
2431 | if v:IsA("Part") then | |
2432 | v.Anchored = false | |
2433 | MagicBlock(v.BrickColor,v.CFrame,1,1,1,0.25,0.25,0.25,0.025) | |
2434 | local bv = Instance.new("BodyVelocity") | |
2435 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
2436 | bv.velocity = v.CFrame.lookVector*-25 | |
2437 | bv.Parent = v | |
2438 | game:GetService("Debris"):AddItem(v, 5) | |
2439 | end | |
2440 | end | |
2441 | wait(1) | |
2442 | end | |
2443 | attack = false | |
2444 | hum.WalkSpeed = 8 | |
2445 | end | |
2446 | ------------------------------------------------------- | |
2447 | --End Attacks N Stuff-- | |
2448 | ------------------------------------------------------- | |
2449 | mouse.KeyDown:connect(function(key) | |
2450 | if string.byte(key) == 48 then | |
2451 | Swing = 2 | |
2452 | hum.WalkSpeed = 38.82 | |
2453 | end | |
2454 | end) | |
2455 | mouse.KeyUp:connect(function(key) | |
2456 | if string.byte(key) == 48 then | |
2457 | Swing = 1 | |
2458 | hum.WalkSpeed = 8 | |
2459 | end | |
2460 | end) | |
2461 | mouse.KeyDown:connect(function(key) | |
2462 | if attack == false then | |
2463 | if key == 'q' and EdgyMode == false and Divinity == false and combat == false and ?? == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then | |
2464 | DTrail5.Enabled = false | |
2465 | - | if key == 'q' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then |
2465 | + | |
2466 | DTrail3.Enabled = false | |
2467 | DTrail2.Enabled = false | |
2468 | DTrail.Enabled = false | |
2469 | EdgyMode = true | |
2470 | tecks2.Text = "Edgy" | |
2471 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
2472 | tecks2.TextStrokeColor3 = Color3.fromRGB(98, 37, 209) | |
2473 | for i, v in pairs(ArmourParts) do | |
2474 | v.BrickColor = BrickColor.new("Black") | |
2475 | end | |
2476 | for i, v in pairs(ArmourParts2) do | |
2477 | v.BrickColor = BrickColor.new("Really black") | |
2478 | end | |
2479 | for i, v in pairs(NeonParts) do | |
2480 | v.BrickColor = BrickColor.new("Royal purple") | |
2481 | end | |
2482 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=457729356" | |
2483 | maincolor = BrickColor.new("Royal purple") | |
2484 | BC.HeadColor = BrickColor.new("Black") | |
2485 | BC.LeftArmColor = BrickColor.new("Black") | |
2486 | BC.LeftLegColor = BrickColor.new("Black") | |
2487 | BC.RightArmColor = BrickColor.new("Royal purple") | |
2488 | BC.RightLegColor = BrickColor.new("Black") | |
2489 | BC.TorsoColor = BrickColor.new("Black") | |
2490 | Music.TimePosition = 0 | |
2491 | Music.SoundId = "rbxassetid://1693948941" | |
2492 | Music.Parent = tors | |
2493 | Music:Play() | |
2494 | elseif key == 'q' and EdgyMode == true and Divinity == false and combat == false and ?? == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then | |
2495 | DTrail5.Enabled = false | |
2496 | - | elseif key == 'q' and EdgyMode == true and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then |
2496 | + | |
2497 | DTrail3.Enabled = false | |
2498 | DTrail2.Enabled = false | |
2499 | DTrail.Enabled = false | |
2500 | EdgyMode = false | |
2501 | tecks2.Text = "Neutral" | |
2502 | tecks2.Rotation = 0 | |
2503 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
2504 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
2505 | resetmode() | |
2506 | Music.TimePosition = 0 | |
2507 | Music.SoundId = "rbxassetid://1117396305" | |
2508 | Music.Parent = tors | |
2509 | Music:Play() | |
2510 | BC.HeadColor = BrickColor.new("Fossil") | |
2511 | BC.LeftArmColor = BrickColor.new("Fossil") | |
2512 | BC.LeftLegColor = BrickColor.new("Fossil") | |
2513 | BC.RightArmColor = BrickColor.new("Smoky grey") | |
2514 | BC.RightLegColor = BrickColor.new("Fossil") | |
2515 | BC.TorsoColor = BrickColor.new("Fossil") | |
2516 | elseif key == 'e' and EdgyMode == false and Divinity == false and combat == false and ?? == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then | |
2517 | DTrail5.Enabled = false | |
2518 | - | elseif key == 'e' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then |
2518 | + | |
2519 | DTrail3.Enabled = false | |
2520 | DTrail2.Enabled = false | |
2521 | DTrail.Enabled = false | |
2522 | Divinity = true | |
2523 | tecks2.Text = "Divinity" | |
2524 | tecks2.Rotation = 0 | |
2525 | tecks2.TextColor3 = Color3.new(1, 1, 1) | |
2526 | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 0) | |
2527 | for i, v in pairs(ArmourParts) do | |
2528 | v.BrickColor = BrickColor.new("Institutional white") | |
2529 | end | |
2530 | for i, v in pairs(ArmourParts2) do | |
2531 | v.BrickColor = BrickColor.new("White") | |
2532 | end | |
2533 | for i, v in pairs(NeonParts) do | |
2534 | v.BrickColor = BrickColor.new("New Yeller") | |
2535 | end | |
2536 | maincolor = BrickColor.new("New Yeller") | |
2537 | BC.HeadColor = BrickColor.new("White") | |
2538 | BC.LeftArmColor = BrickColor.new("White") | |
2539 | BC.LeftLegColor = BrickColor.new("White") | |
2540 | BC.RightArmColor = BrickColor.new("New Yeller") | |
2541 | BC.RightLegColor = BrickColor.new("White") | |
2542 | BC.TorsoColor = BrickColor.new("White") | |
2543 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=329945268" | |
2544 | Music.TimePosition = 0 | |
2545 | Music.SoundId = "rbxassetid://595800581" | |
2546 | Music.Parent = tors | |
2547 | Music:Play() | |
2548 | elseif key == 'e' and EdgyMode == false and Divinity == true and combat == false and ?? == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then | |
2549 | DTrail5.Enabled = false | |
2550 | - | elseif key == 'e' and EdgyMode == false and Divinity == true and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then |
2550 | + | |
2551 | DTrail3.Enabled = false | |
2552 | DTrail2.Enabled = false | |
2553 | DTrail.Enabled = false | |
2554 | Divinity = false | |
2555 | tecks2.Text = "Neutral" | |
2556 | tecks2.Rotation = 0 | |
2557 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
2558 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
2559 | resetmode() | |
2560 | BC.HeadColor = BrickColor.new("Fossil") | |
2561 | BC.LeftArmColor = BrickColor.new("Fossil") | |
2562 | BC.LeftLegColor = BrickColor.new("Fossil") | |
2563 | BC.RightArmColor = BrickColor.new("Smoky grey") | |
2564 | BC.RightLegColor = BrickColor.new("Fossil") | |
2565 | BC.TorsoColor = BrickColor.new("Fossil") | |
2566 | Music.TimePosition = 0 | |
2567 | Music.SoundId = "rbxassetid://1117396305" | |
2568 | Music.Parent = tors | |
2569 | Music:Play() | |
2570 | elseif key == 'r' and EdgyMode == false and Divinity == false and combat == false and ?? == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then | |
2571 | DTrail5.Enabled = false | |
2572 | - | elseif key == 'r' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then |
2572 | + | |
2573 | DTrail3.Enabled = false | |
2574 | DTrail2.Enabled = false | |
2575 | DTrail.Enabled = false | |
2576 | combat = true | |
2577 | tecks2.Text = "combat" | |
2578 | - | Fighter = true |
2578 | + | |
2579 | - | tecks2.Text = "Fighter" |
2579 | + | |
2580 | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255) | |
2581 | for i, v in pairs(ArmourParts) do | |
2582 | v.BrickColor = BrickColor.new("Black") | |
2583 | end | |
2584 | for i, v in pairs(ArmourParts2) do | |
2585 | v.BrickColor = BrickColor.new("Really black") | |
2586 | end | |
2587 | for i, v in pairs(NeonParts) do | |
2588 | v.BrickColor = BrickColor.new("Institutional white") | |
2589 | end | |
2590 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=300139178" | |
2591 | maincolor = BrickColor.new("Institutional white") | |
2592 | BC.HeadColor = BrickColor.new("Really black") | |
2593 | BC.LeftArmColor = BrickColor.new("Really black") | |
2594 | BC.LeftLegColor = BrickColor.new("Really black") | |
2595 | BC.RightArmColor = BrickColor.new("Institutional white") | |
2596 | BC.RightLegColor = BrickColor.new("Really black") | |
2597 | BC.TorsoColor = BrickColor.new("Really black") | |
2598 | Music.SoundId = "rbxassetid://207375545" | |
2599 | Music.Parent = tors | |
2600 | Music.TimePosition = 8.3 | |
2601 | Music:Play() | |
2602 | elseif key == 'r' and EdgyMode == false and Divinity == false and combat == true and ?? == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then | |
2603 | DTrail5.Enabled = false | |
2604 | - | elseif key == 'r' and EdgyMode == false and Divinity == false and Fighter == true and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then |
2604 | + | |
2605 | DTrail3.Enabled = false | |
2606 | DTrail2.Enabled = false | |
2607 | DTrail.Enabled = false | |
2608 | combat = false | |
2609 | tecks2.Text = "Neutral" | |
2610 | - | Fighter = false |
2610 | + | |
2611 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
2612 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
2613 | resetmode() | |
2614 | BC.HeadColor = BrickColor.new("Fossil") | |
2615 | BC.LeftArmColor = BrickColor.new("Fossil") | |
2616 | BC.LeftLegColor = BrickColor.new("Fossil") | |
2617 | BC.RightArmColor = BrickColor.new("Smoky grey") | |
2618 | BC.RightLegColor = BrickColor.new("Fossil") | |
2619 | BC.TorsoColor = BrickColor.new("Fossil") | |
2620 | Music.TimePosition = 0 | |
2621 | Music.SoundId = "rbxassetid://1117396305" | |
2622 | Music.Parent = tors | |
2623 | Music:Play() | |
2624 | elseif key == 't' and EdgyMode == false and Divinity == false and combat == false and ?? == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then | |
2625 | DTrail5.Enabled = false | |
2626 | - | elseif key == 't' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then |
2626 | + | |
2627 | DTrail3.Enabled = false | |
2628 | DTrail2.Enabled = false | |
2629 | DTrail.Enabled = false | |
2630 | ?? = true | |
2631 | tecks2.Text = "??" | |
2632 | - | Purity = true |
2632 | + | |
2633 | - | tecks2.Text = "Purity" |
2633 | + | |
2634 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 255, 255) | |
2635 | for i, v in pairs(ArmourParts) do | |
2636 | v.BrickColor = BrickColor.new("Institutional white") | |
2637 | end | |
2638 | for i, v in pairs(ArmourParts2) do | |
2639 | v.BrickColor = BrickColor.new("Institutional white") | |
2640 | end | |
2641 | for i, v in pairs(NeonParts) do | |
2642 | v.BrickColor = BrickColor.new("Toothpaste") | |
2643 | end | |
2644 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=155195214" | |
2645 | maincolor = BrickColor.new("Toothpaste") | |
2646 | BC.HeadColor = BrickColor.new("Institutional white") | |
2647 | BC.LeftArmColor = BrickColor.new("Institutional white") | |
2648 | BC.LeftLegColor = BrickColor.new("Institutional white") | |
2649 | BC.RightArmColor = BrickColor.new("Toothpaste") | |
2650 | BC.RightLegColor = BrickColor.new("Institutional white") | |
2651 | BC.TorsoColor = BrickColor.new("Institutional white") | |
2652 | Music.TimePosition = 0 | |
2653 | Music.SoundId = "rbxassetid://174212509" | |
2654 | Music.Parent = tors | |
2655 | Music:Play() | |
2656 | elseif key == 't' and EdgyMode == false and Divinity == false and combat == false and ?? == true and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then | |
2657 | DTrail5.Enabled = false | |
2658 | - | elseif key == 't' and EdgyMode == false and Divinity == false and Fighter == false and Purity == true and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then |
2658 | + | |
2659 | DTrail3.Enabled = false | |
2660 | DTrail2.Enabled = false | |
2661 | DTrail.Enabled = false | |
2662 | ?? = false | |
2663 | tecks2.Text = "Neutral" | |
2664 | - | Purity = false |
2664 | + | |
2665 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
2666 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
2667 | resetmode() | |
2668 | Music.TimePosition = 0 | |
2669 | Music.SoundId = "rbxassetid://1117396305" | |
2670 | Music.Parent = tors | |
2671 | Music:Play() | |
2672 | BC.HeadColor = BrickColor.new("Fossil") | |
2673 | BC.LeftArmColor = BrickColor.new("Fossil") | |
2674 | BC.LeftLegColor = BrickColor.new("Fossil") | |
2675 | BC.RightArmColor = BrickColor.new("Smoky grey") | |
2676 | BC.RightLegColor = BrickColor.new("Fossil") | |
2677 | BC.TorsoColor = BrickColor.new("Fossil") | |
2678 | elseif key == 'p' and EdgyMode == false and Divinity == false and combat == false and ?? == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then | |
2679 | DTrail5.Enabled = false | |
2680 | - | elseif key == 'p' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then |
2680 | + | |
2681 | DTrail3.Enabled = false | |
2682 | DTrail2.Enabled = false | |
2683 | DTrail.Enabled = false | |
2684 | Solar = true | |
2685 | tecks2.Text = "Solar" | |
2686 | tecks2.Rotation = 0 | |
2687 | tecks2.TextColor3 = Color3.new(1, 1, 0) | |
2688 | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 170, 0) | |
2689 | for i, v in pairs(ArmourParts) do | |
2690 | v.BrickColor = BrickColor.new("New Yeller") | |
2691 | end | |
2692 | for i, v in pairs(ArmourParts2) do | |
2693 | v.BrickColor = BrickColor.new("Bright yellow") | |
2694 | end | |
2695 | for i, v in pairs(NeonParts) do | |
2696 | v.BrickColor = BrickColor.new("Deep orange") | |
2697 | end | |
2698 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=246991049" | |
2699 | maincolor = BrickColor.new("Deep orange") | |
2700 | BC.HeadColor = BrickColor.new("New Yeller") | |
2701 | BC.LeftArmColor = BrickColor.new("New Yeller") | |
2702 | BC.LeftLegColor = BrickColor.new("New Yeller") | |
2703 | BC.RightArmColor = BrickColor.new("Deep orange") | |
2704 | BC.RightLegColor = BrickColor.new("New Yeller") | |
2705 | BC.TorsoColor = BrickColor.new("New Yeller") | |
2706 | Music.TimePosition = 5 | |
2707 | Music.SoundId = "rbxassetid://1167066393" | |
2708 | Music.Parent = tors | |
2709 | Music:Play() | |
2710 | elseif key == 'p' and EdgyMode == false and Divinity == false and combat == false and ?? == false and Destruction == false and helpme == false and Planetary == false and Solar == true and Lunar == false and Frost == false and Ashes == false then | |
2711 | DTrail5.Enabled = false | |
2712 | - | elseif key == 'p' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == true and Lunar == false and Frost == false and Ashes == false then |
2712 | + | |
2713 | DTrail3.Enabled = false | |
2714 | DTrail2.Enabled = false | |
2715 | DTrail.Enabled = false | |
2716 | Solar = false | |
2717 | tecks2.Text = "Neutral" | |
2718 | tecks2.Rotation = 0 | |
2719 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
2720 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
2721 | resetmode() | |
2722 | Music.TimePosition = 0 | |
2723 | Music.SoundId = "rbxassetid://1117396305" | |
2724 | Music.Parent = tors | |
2725 | Music:Play() | |
2726 | BC.HeadColor = BrickColor.new("Fossil") | |
2727 | BC.LeftArmColor = BrickColor.new("Fossil") | |
2728 | BC.LeftLegColor = BrickColor.new("Fossil") | |
2729 | BC.RightArmColor = BrickColor.new("Smoky grey") | |
2730 | BC.RightLegColor = BrickColor.new("Fossil") | |
2731 | BC.TorsoColor = BrickColor.new("Fossil") | |
2732 | elseif key == 'g' and EdgyMode == false and Divinity == false and combat == false and ?? == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then | |
2733 | DTrail5.Enabled = false | |
2734 | - | elseif key == 'g' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then |
2734 | + | |
2735 | DTrail3.Enabled = false | |
2736 | DTrail2.Enabled = false | |
2737 | DTrail.Enabled = false | |
2738 | Lunar = true | |
2739 | tecks2.Text = "Lunar" | |
2740 | tecks2.Rotation = 0 | |
2741 | tecks2.TextColor3 = Color3.new(0, 0, 1) | |
2742 | tecks2.TextStrokeColor3 = Color3.fromRGB(170, 255, 255) | |
2743 | for i, v in pairs(ArmourParts) do | |
2744 | v.BrickColor = BrickColor.new("Dark blue") | |
2745 | end | |
2746 | for i, v in pairs(ArmourParts2) do | |
2747 | v.BrickColor = BrickColor.new("Cyan") | |
2748 | end | |
2749 | for i, v in pairs(NeonParts) do | |
2750 | v.BrickColor = BrickColor.new("Steel blue") | |
2751 | end | |
2752 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=231432333" | |
2753 | maincolor = BrickColor.new("Steel blue") | |
2754 | BC.HeadColor = BrickColor.new("Dark blue") | |
2755 | BC.LeftArmColor = BrickColor.new("Dark blue") | |
2756 | BC.LeftLegColor = BrickColor.new("Dark blue") | |
2757 | BC.RightArmColor = BrickColor.new("Steel blue") | |
2758 | BC.RightLegColor = BrickColor.new("Dark blue") | |
2759 | BC.TorsoColor = BrickColor.new("Dark blue") | |
2760 | Music.TimePosition = 0.5 | |
2761 | Music.SoundId = "rbxassetid://1574603917" | |
2762 | Music.Parent = tors | |
2763 | Music:Play() | |
2764 | elseif key == 'g' and EdgyMode == false and Divinity == false and combat == false and ?? == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == true and Frost == false and Ashes == false then | |
2765 | DTrail5.Enabled = false | |
2766 | - | elseif key == 'g' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == true and Frost == false and Ashes == false then |
2766 | + | |
2767 | DTrail3.Enabled = false | |
2768 | DTrail2.Enabled = false | |
2769 | DTrail.Enabled = false | |
2770 | Lunar = false | |
2771 | tecks2.Text = "Neutral" | |
2772 | tecks2.Rotation = 0 | |
2773 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
2774 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
2775 | resetmode() | |
2776 | Music.TimePosition = 0 | |
2777 | Music.SoundId = "rbxassetid://1117396305" | |
2778 | Music.Parent = tors | |
2779 | Music:Play() | |
2780 | BC.HeadColor = BrickColor.new("Fossil") | |
2781 | BC.LeftArmColor = BrickColor.new("Fossil") | |
2782 | BC.LeftLegColor = BrickColor.new("Fossil") | |
2783 | BC.RightArmColor = BrickColor.new("Smoky grey") | |
2784 | BC.RightLegColor = BrickColor.new("Fossil") | |
2785 | BC.TorsoColor = BrickColor.new("Fossil") | |
2786 | elseif key == 'y' and EdgyMode == false and Divinity == false and combat == false and ?? == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then | |
2787 | Destruction = true | |
2788 | - | elseif key == 'y' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then |
2788 | + | |
2789 | tecks2.Rotation = 0 | |
2790 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
2791 | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 0, 0) | |
2792 | for i, v in pairs(ArmourParts) do | |
2793 | v.BrickColor = BrickColor.new("Really black") | |
2794 | end | |
2795 | for i, v in pairs(ArmourParts2) do | |
2796 | v.BrickColor = BrickColor.new("Black") | |
2797 | end | |
2798 | for i, v in pairs(NeonParts) do | |
2799 | v.BrickColor = BrickColor.new("Really red") | |
2800 | end | |
2801 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=201400785" | |
2802 | DTrail5.Enabled = true | |
2803 | DTrail4.Enabled = true | |
2804 | DTrail3.Enabled = true | |
2805 | DTrail2.Enabled = true | |
2806 | DTrail.Enabled = true | |
2807 | maincolor = BrickColor.new("Really red") | |
2808 | BC.HeadColor = BrickColor.new("Black") | |
2809 | BC.LeftArmColor = BrickColor.new("Black") | |
2810 | BC.LeftLegColor = BrickColor.new("Black") | |
2811 | BC.RightArmColor = BrickColor.new("Really red") | |
2812 | BC.RightLegColor = BrickColor.new("Black") | |
2813 | BC.TorsoColor = BrickColor.new("Black") | |
2814 | Music.TimePosition = 2 | |
2815 | Music.SoundId = "rbxassetid://1703475948" | |
2816 | Music.Parent = tors | |
2817 | Music:Play() | |
2818 | elseif key == 'y' and EdgyMode == false and Divinity == false and combat == false and ?? == false and Destruction == true and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then | |
2819 | DTrail5.Enabled = false | |
2820 | - | elseif key == 'y' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == true and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then |
2820 | + | |
2821 | DTrail3.Enabled = false | |
2822 | DTrail2.Enabled = false | |
2823 | DTrail.Enabled = false | |
2824 | Destruction = false | |
2825 | tecks2.Text = "Neutral" | |
2826 | tecks2.Rotation = 0 | |
2827 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
2828 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
2829 | resetmode() | |
2830 | Music.TimePosition = 0 | |
2831 | Music.SoundId = "rbxassetid://1117396305" | |
2832 | Music.Parent = tors | |
2833 | Music:Play() | |
2834 | BC.HeadColor = BrickColor.new("Fossil") | |
2835 | BC.LeftArmColor = BrickColor.new("Fossil") | |
2836 | BC.LeftLegColor = BrickColor.new("Fossil") | |
2837 | BC.RightArmColor = BrickColor.new("Smoky grey") | |
2838 | BC.RightLegColor = BrickColor.new("Fossil") | |
2839 | BC.TorsoColor = BrickColor.new("Fossil") | |
2840 | elseif key == 'u' and EdgyMode == false and Divinity == false and combat == false and ?? == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then | |
2841 | helpme = true | |
2842 | - | elseif key == 'u' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then |
2842 | + | |
2843 | DTrail4.Enabled = false | |
2844 | DTrail3.Enabled = false | |
2845 | DTrail2.Enabled = false | |
2846 | DTrail.Enabled = false | |
2847 | Music.TimePosition = 1 | |
2848 | tecks2.Text = "iNsAnItY" | |
2849 | Music.SoundId = "rbxassetid://943961217" | |
2850 | Music.Parent = tors | |
2851 | Music:Play() | |
2852 | BC.HeadColor = BrickColor.random() | |
2853 | BC.LeftArmColor = BrickColor.random() | |
2854 | BC.LeftLegColor = BrickColor.random() | |
2855 | BC.RightArmColor = BrickColor.random() | |
2856 | BC.RightLegColor = BrickColor.random() | |
2857 | BC.TorsoColor = BrickColor.random() | |
2858 | elseif key == 'u' and EdgyMode == false and Divinity == false and combat == false and ?? == false and Destruction == false and helpme == true and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then | |
2859 | DTrail5.Enabled = false | |
2860 | - | elseif key == 'u' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == true and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then |
2860 | + | |
2861 | DTrail3.Enabled = false | |
2862 | DTrail2.Enabled = false | |
2863 | DTrail.Enabled = false | |
2864 | helpme = false | |
2865 | tecks2.Text = "Neutral" | |
2866 | tecks2.Rotation = 0 | |
2867 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
2868 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
2869 | resetmode() | |
2870 | Music.TimePosition = 0 | |
2871 | Music.SoundId = "rbxassetid://1117396305" | |
2872 | Music.Parent = tors | |
2873 | Music:Play() | |
2874 | BC.HeadColor = BrickColor.new("Fossil") | |
2875 | BC.LeftArmColor = BrickColor.new("Fossil") | |
2876 | BC.LeftLegColor = BrickColor.new("Fossil") | |
2877 | BC.RightArmColor = BrickColor.new("Smoky grey") | |
2878 | BC.RightLegColor = BrickColor.new("Fossil") | |
2879 | BC.TorsoColor = BrickColor.new("Fossil") | |
2880 | elseif key == 'h' and EdgyMode == false and Divinity == false and combat == false and ?? == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then | |
2881 | Frost = true | |
2882 | - | elseif key == 'h' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then |
2882 | + | |
2883 | DTrail4.Enabled = false | |
2884 | DTrail3.Enabled = false | |
2885 | DTrail2.Enabled = false | |
2886 | DTrail.Enabled = false | |
2887 | tecks2.Text = "Frost" | |
2888 | tecks2.Rotation = 0 | |
2889 | tecks2.TextColor3 = Color3.new(1, 1, 1) | |
2890 | tecks2.TextStrokeColor3 = Color3.fromRGB(170, 255, 255) | |
2891 | for i, v in pairs(ArmourParts) do | |
2892 | v.BrickColor = BrickColor.new("Cyan") | |
2893 | end | |
2894 | for i, v in pairs(ArmourParts2) do | |
2895 | v.BrickColor = BrickColor.new("White") | |
2896 | end | |
2897 | for i, v in pairs(NeonParts) do | |
2898 | v.BrickColor = BrickColor.new("Teal") | |
2899 | end | |
2900 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=111523405" | |
2901 | maincolor = BrickColor.new("Teal") | |
2902 | BC.HeadColor = BrickColor.new("Cyan") | |
2903 | BC.LeftArmColor = BrickColor.new("Cyan") | |
2904 | BC.LeftLegColor = BrickColor.new("Cyan") | |
2905 | BC.RightArmColor = BrickColor.new("Teal") | |
2906 | BC.RightLegColor = BrickColor.new("Cyan") | |
2907 | BC.TorsoColor = BrickColor.new("Cyan") | |
2908 | Music.TimePosition = 1 | |
2909 | Music.SoundId = "rbxassetid://1579308042" | |
2910 | Music.Parent = tors | |
2911 | Music:Play() | |
2912 | elseif key == 'h' and EdgyMode == false and Divinity == false and combat == false and ?? == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == true and Ashes == false then | |
2913 | DTrail5.Enabled = false | |
2914 | - | elseif key == 'h' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == true and Ashes == false then |
2914 | + | |
2915 | DTrail3.Enabled = false | |
2916 | DTrail2.Enabled = false | |
2917 | DTrail.Enabled = false | |
2918 | Frost = false | |
2919 | tecks2.Text = "Neutral" | |
2920 | tecks2.Rotation = 0 | |
2921 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
2922 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
2923 | resetmode() | |
2924 | Music.TimePosition = 0 | |
2925 | Music.SoundId = "rbxassetid://1117396305" | |
2926 | Music.Parent = tors | |
2927 | Music:Play() | |
2928 | BC.HeadColor = BrickColor.new("Fossil") | |
2929 | BC.LeftArmColor = BrickColor.new("Fossil") | |
2930 | BC.LeftLegColor = BrickColor.new("Fossil") | |
2931 | BC.RightArmColor = BrickColor.new("Smoky grey") | |
2932 | BC.RightLegColor = BrickColor.new("Fossil") | |
2933 | BC.TorsoColor = BrickColor.new("Fossil") | |
2934 | elseif key == 'j' and EdgyMode == false and Divinity == false and combat == false and ?? == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then | |
2935 | Ashes = true | |
2936 | - | elseif key == 'j' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then |
2936 | + | |
2937 | DTrail4.Enabled = false | |
2938 | DTrail3.Enabled = false | |
2939 | DTrail2.Enabled = false | |
2940 | DTrail.Enabled = false | |
2941 | tecks2.Text = "Ash" | |
2942 | tecks2.Rotation = 0 | |
2943 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
2944 | tecks2.TextStrokeColor3 = Color3.fromRGB(91, 93, 105) | |
2945 | for i, v in pairs(ArmourParts) do | |
2946 | v.BrickColor = BrickColor.new("Smoky grey") | |
2947 | end | |
2948 | for i, v in pairs(ArmourParts2) do | |
2949 | v.BrickColor = BrickColor.new("Black") | |
2950 | end | |
2951 | for i, v in pairs(NeonParts) do | |
2952 | v.BrickColor = BrickColor.new("Really black") | |
2953 | end | |
2954 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=300139178" | |
2955 | maincolor = BrickColor.new("Really black") | |
2956 | BC.HeadColor = BrickColor.new("Smoky grey") | |
2957 | BC.LeftArmColor = BrickColor.new("Smoky grey") | |
2958 | BC.LeftLegColor = BrickColor.new("Smoky grey") | |
2959 | BC.RightArmColor = BrickColor.new("Really black") | |
2960 | BC.RightLegColor = BrickColor.new("Smoky grey") | |
2961 | BC.TorsoColor = BrickColor.new("Smoky grey") | |
2962 | Music.TimePosition = 2 | |
2963 | Music.SoundId = "rbxassetid://1514078310" | |
2964 | Music.Parent = tors | |
2965 | Music:Play() | |
2966 | elseif key == 'j' and EdgyMode == false and Divinity == false and combat == false and ?? == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == true then | |
2967 | DTrail5.Enabled = false | |
2968 | - | elseif key == 'j' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == true then |
2968 | + | |
2969 | DTrail3.Enabled = false | |
2970 | DTrail2.Enabled = false | |
2971 | DTrail.Enabled = false | |
2972 | Ashes = false | |
2973 | tecks2.Text = "Neutral" | |
2974 | tecks2.Rotation = 0 | |
2975 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
2976 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
2977 | resetmode() | |
2978 | Music.TimePosition = 0 | |
2979 | Music.SoundId = "rbxassetid://1117396305" | |
2980 | Music.Parent = tors | |
2981 | Music:Play() | |
2982 | BC.HeadColor = BrickColor.new("Fossil") | |
2983 | BC.LeftArmColor = BrickColor.new("Fossil") | |
2984 | BC.LeftLegColor = BrickColor.new("Fossil") | |
2985 | BC.RightArmColor = BrickColor.new("Smoky grey") | |
2986 | BC.RightLegColor = BrickColor.new("Fossil") | |
2987 | BC.TorsoColor = BrickColor.new("Fossil") | |
2988 | elseif key == 'n' and tecks2.TextTransparency == 1 and tecks2.TextStrokeTransparency == 1 then | |
2989 | tecks2.TextTransparency = 0 | |
2990 | tecks2.TextStrokeTransparency = 0 | |
2991 | elseif key == 'n' and tecks2.TextTransparency == 0 and tecks2.TextStrokeTransparency == 0 then | |
2992 | tecks2.TextTransparency = 1 | |
2993 | tecks2.TextStrokeTransparency = 1 | |
2994 | elseif key == 'f' and EdgyMode == false and Divinity == false and combat == false and ?? == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then | |
2995 | DTrail5.Enabled = false | |
2996 | - | elseif key == 'f' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then |
2996 | + | |
2997 | DTrail3.Enabled = false | |
2998 | DTrail2.Enabled = false | |
2999 | DTrail.Enabled = false | |
3000 | Planetary = true | |
3001 | tecks2.Text = "Planetary" | |
3002 | tecks2.Rotation = 0 | |
3003 | tecks2.TextColor3 = Color3.fromRGB(61, 21, 133) | |
3004 | tecks2.TextStrokeColor3 = Color3.fromRGB(61, 21, 133) | |
3005 | for i, v in pairs(ArmourParts) do | |
3006 | v.BrickColor = BrickColor.new("Dark indigo") | |
3007 | end | |
3008 | for i, v in pairs(ArmourParts2) do | |
3009 | v.BrickColor = BrickColor.new("Dark indigo") | |
3010 | end | |
3011 | for i, v in pairs(NeonParts) do | |
3012 | v.BrickColor = BrickColor.new("Dark indigo") | |
3013 | end | |
3014 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=148988280" | |
3015 | maincolor = BrickColor.new("Dark indigo") | |
3016 | BC.HeadColor = BrickColor.new("Dark indigo") | |
3017 | BC.LeftArmColor = BrickColor.new("Dark indigo") | |
3018 | BC.LeftLegColor = BrickColor.new("Dark indigo") | |
3019 | BC.RightArmColor = BrickColor.new("Dark indigo") | |
3020 | BC.RightLegColor = BrickColor.new("Dark indigo") | |
3021 | BC.TorsoColor = BrickColor.new("Dark indigo") | |
3022 | Music.TimePosition = 0 | |
3023 | Music.SoundId = "rbxassetid://609934004" | |
3024 | Music.Parent = tors | |
3025 | Music:Play() | |
3026 | elseif key == 'f' and EdgyMode == false and Divinity == false and combat == false and ?? == false and Destruction == false and helpme == false and Planetary == true and Solar == false and Lunar == false and Frost == false and Ashes == false then | |
3027 | Planetary = false | |
3028 | - | elseif key == 'f' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == true and Solar == false and Lunar == false and Frost == false and Ashes == false then |
3028 | + | |
3029 | DTrail4.Enabled = false | |
3030 | DTrail3.Enabled = false | |
3031 | DTrail2.Enabled = false | |
3032 | DTrail.Enabled = false | |
3033 | tecks2.Text = "Neutral" | |
3034 | tecks2.Rotation = 0 | |
3035 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
3036 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
3037 | resetmode() | |
3038 | Music.TimePosition = 0 | |
3039 | Music.SoundId = "rbxassetid://1117396305" | |
3040 | Music.Parent = tors | |
3041 | Music:Play() | |
3042 | BC.HeadColor = BrickColor.new("Fossil") | |
3043 | BC.LeftArmColor = BrickColor.new("Fossil") | |
3044 | BC.LeftLegColor = BrickColor.new("Fossil") | |
3045 | BC.RightArmColor = BrickColor.new("Smoky grey") | |
3046 | BC.RightLegColor = BrickColor.new("Fossil") | |
3047 | BC.TorsoColor = BrickColor.new("Fossil") | |
3048 | end | |
3049 | end | |
3050 | end) | |
3051 | mouse.KeyDown:connect(function(key) | |
3052 | if attack == false then | |
3053 | if EdgyMode == true then | |
3054 | if key == 'r' then | |
3055 | Decapitate() | |
3056 | elseif key == 'e' then | |
3057 | Laugh() | |
3058 | end | |
3059 | end | |
3060 | if Divinity == true then | |
3061 | if key == 'r' then | |
3062 | Beam_Of_Light() | |
3063 | elseif key == 'f' then | |
3064 | Blast_Of_God() | |
3065 | end | |
3066 | end | |
3067 | if combat == true then | |
3068 | if key == 'e' then | |
3069 | - | if Fighter == true then |
3069 | + | |
3070 | elseif key == 'f' then | |
3071 | UpperCut() | |
3072 | elseif key == 't' then | |
3073 | Spinning_Kick() | |
3074 | end | |
3075 | end | |
3076 | if ?? == true then | |
3077 | if key == 'r' then | |
3078 | - | if Purity == true then |
3078 | + | |
3079 | end | |
3080 | end | |
3081 | if Solar == true then | |
3082 | if key == 'r' then | |
3083 | Eruption() | |
3084 | elseif key == 't' then | |
3085 | Solar_Flare() | |
3086 | end | |
3087 | end | |
3088 | if Frost == true then | |
3089 | if key == 'r' then | |
3090 | Blizzard() | |
3091 | elseif key == 't' then | |
3092 | Cryo_Freeze() | |
3093 | end | |
3094 | end | |
3095 | if Ashes == true then | |
3096 | if key == 't' and notmenacing then | |
3097 | Menacing_Aura() | |
3098 | elseif key == 'r' and alternatecooldownbecausewhynotdood == false then | |
3099 | Heat_Stroke() | |
3100 | end | |
3101 | end | |
3102 | if Lunar == true then | |
3103 | if key == 't' then | |
3104 | ShadowWarp() | |
3105 | elseif key == 'r' then | |
3106 | Shade() | |
3107 | end | |
3108 | end | |
3109 | if Destruction == true then | |
3110 | if key == 'r' then | |
3111 | Diablo_Explosion() | |
3112 | elseif key == 'f' then | |
3113 | Hell_From_Above() | |
3114 | elseif key == 't' then | |
3115 | Spinning_Below() | |
3116 | end | |
3117 | end | |
3118 | if Planetary == true then | |
3119 | if key == 'r' then | |
3120 | Multi_Bombs() | |
3121 | elseif key == 't' then | |
3122 | Universal_Crush() | |
3123 | end | |
3124 | end | |
3125 | if helpme == true then | |
3126 | if key == 'r' then | |
3127 | Painful_Stomp() | |
3128 | elseif key == 'f' then | |
3129 | Ending() | |
3130 | elseif key == 't' then | |
3131 | Ende_der_Weld() | |
3132 | end | |
3133 | end | |
3134 | end | |
3135 | end) | |
3136 | ||
3137 | ||
3138 | coroutine.resume(coroutine.create(function() | |
3139 | while true do | |
3140 | swait(8) | |
3141 | if Solar == true then | |
3142 | sphereMK(5, 0.12, "Add", root.CFrame * CFrame.new(math.random(-6, 6), -10, math.random(-6, 6)) * CFrame.Angles(math.rad(90 + math.random(-15, 15)), math.rad(math.random(-15, 15)), 0), 1, 1, 15, -0.01, maincolor, 0) | |
3143 | end | |
3144 | end | |
3145 | end)) | |
3146 | coroutine.resume(coroutine.create(function() | |
3147 | while true do | |
3148 | swait(4) | |
3149 | if Frost == true then | |
3150 | Effects.Block.Create(BrickC("Institutional white"), tors.CFrame * CF(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)), 2, 2, 2, 0.5, 0.5, 0.5, 0.03) | |
3151 | Effects.Ring.Create(BrickC("Teal"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 0.05, 0.05, 0.05, 0.15, 0.15, 0.15, 0.02) | |
3152 | end | |
3153 | end | |
3154 | end)) | |
3155 | coroutine.resume(coroutine.create(function() | |
3156 | while true do | |
3157 | swait(4) | |
3158 | if Lunar == true then | |
3159 | Effects.Block.Create(BrickC("Dark blue"), tors.CFrame * CF(Mrandom(-4,4),Mrandom(-4,4),Mrandom(-4,4)), 2, 2, 2, 0.5, 0.5, 0.5, 0.03) | |
3160 | end | |
3161 | end | |
3162 | end)) | |
3163 | ||
3164 | ||
3165 | ||
3166 | ------------------------------------------------------- | |
3167 | --Start Animations-- | |
3168 | ------------------------------------------------------- | |
3169 | local equipped = false | |
3170 | local idle = 0 | |
3171 | local change = 1 | |
3172 | local val = 0 | |
3173 | local toim = 0 | |
3174 | local idleanim = 0.4 | |
3175 | hum.WalkSpeed = 8 | |
3176 | hum.Animator.Parent = nil | |
3177 | while true do | |
3178 | swait() | |
3179 | Music.Parent = tors | |
3180 | if helpme == true then | |
3181 | for i, v in pairs(ArmourParts) do | |
3182 | v.BrickColor = BrickColor.random() | |
3183 | end | |
3184 | for i, v in pairs(ArmourParts2) do | |
3185 | v.BrickColor = BrickColor.random() | |
3186 | end | |
3187 | for i, v in pairs(NeonParts) do | |
3188 | v.BrickColor = BrickColor.random() | |
3189 | end | |
3190 | maincolor = BrickColor.random() | |
3191 | char.Head.face.Texture = "http://www.roblox.com/asset/?id="..insanityface[math.random(1,#insanityface)] | |
3192 | tecks2.Text = ""..insanity[math.random(1,#insanity)] | |
3193 | tecks2.TextColor3 = maincolor.Color | |
3194 | tecks2.TextStrokeColor3 = maincolor.Color | |
3195 | tecks2.Rotation = math.random(-11, 11) | |
3196 | BC.HeadColor = BrickColor.random() | |
3197 | BC.LeftArmColor = BrickColor.random() | |
3198 | BC.LeftLegColor = BrickColor.random() | |
3199 | BC.RightArmColor = BrickColor.random() | |
3200 | BC.RightLegColor = BrickColor.random() | |
3201 | BC.TorsoColor = BrickColor.random() | |
3202 | MagicShockTrailAlt2(maincolor, root.CFrame * CF(Mrandom(-15,15),-3,Mrandom(-15,15)) * angles(Rad(90 + Mrandom(-25, 25)),Rad(0),Rad(0)),1,.5,.5,-0.01,-0.01,7,0.1,Mrandom(1,2)) | |
3203 | end | |
3204 | if EdgyMode == true then | |
3205 | tecks2.Rotation = math.random(-2, 2) | |
3206 | end | |
3207 | if Planetary == true then | |
3208 | MagicShockTrailAlt2(maincolor, root.CFrame * CF(Mrandom(-25,25),-3,Mrandom(-25,25)) * angles(Rad(90 + Mrandom(-15, 15)),Rad(0),Rad(0)),1,.5,.5,-0.01,-0.01,7,0.1,2) | |
3209 | tecks2.Rotation = math.random(-4, 4) | |
3210 | end | |
3211 | sine = sine + change | |
3212 | local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude | |
3213 | local velderp = root.Velocity.y | |
3214 | hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char) | |
3215 | if equipped == true or equipped == false then | |
3216 | if attack == false then | |
3217 | idle = idle + 1 | |
3218 | else | |
3219 | idle = 0 | |
3220 | end | |
3221 | if 1 < root.Velocity.y and hitfloor == nil then | |
3222 | Anim = "Jump" | |
3223 | change = 1 | |
3224 | if attack == false then | |
3225 | rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3) | |
3226 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(0)), 0.3) | |
3227 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(15)),0.3) | |
3228 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(-15)),0.3) | |
3229 | LH.C0=clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15) | |
3230 | RH.C0=clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3) | |
3231 | end | |
3232 | elseif -1 > root.Velocity.y and hitfloor == nil then | |
3233 | Anim = "Fall" | |
3234 | change = 1 | |
3235 | if attack == false then | |
3236 | rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3) | |
3237 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(0)), 0.3) | |
3238 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(90)),0.3) | |
3239 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(-90)),0.3) | |
3240 | LH.C0 = clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15) | |
3241 | RH.C0 = clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3) | |
3242 | end | |
3243 | elseif torvel < 1 and hitfloor ~= nil then | |
3244 | Anim = "Idle" | |
3245 | change = 1 | |
3246 | if attack == false and EdgyMode == false and Divinity == false and combat == false and ?? == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false then | |
3247 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
3248 | - | if attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false then |
3248 | + | |
3249 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(0)), 0.15) | |
3250 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
3251 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(5 - 2.5 * Sin(sine / 20))), 0.1) | |
3252 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-5 + 2.5 * Sin(sine / 20))), 0.1) | |
3253 | elseif attack == false and EdgyMode == true and Divinity == false and combat == false and ?? == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Frost == false then | |
3254 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15) | |
3255 | - | elseif attack == false and EdgyMode == true and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Frost == false then |
3255 | + | |
3256 | if Mrandom(1,15) == 1 then | |
3257 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15))), 1) | |
3258 | end | |
3259 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(10)), 0.15) | |
3260 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(-10)), 0.15) | |
3261 | RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-20), Rad(215)), 0.1) | |
3262 | LW.C0 = clerp(LW.C0, CF(-.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(20), Rad(-215)), 0.1) | |
3263 | elseif attack == false and EdgyMode == false and Divinity == false and combat == false and ?? == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == true and Frost == false then | |
3264 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
3265 | - | elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == true and Frost == false then |
3265 | + | |
3266 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(0)), 0.15) | |
3267 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
3268 | RW.C0 = clerp(RW.C0, CF(1.1, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(-0), Rad(-30)), 0.1) | |
3269 | LW.C0 = clerp(LW.C0, CF(-1.1, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(30)), 0.1) | |
3270 | elseif attack == false and EdgyMode == false and Divinity == true and combat == false and ?? == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false then | |
3271 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15) | |
3272 | - | elseif attack == false and EdgyMode == false and Divinity == true and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false then |
3272 | + | |
3273 | RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15) | |
3274 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15) | |
3275 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(13 - 2.5 * Sin(sine / 20))), 0.1) | |
3276 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-13 + 2.5 * Sin(sine / 20))), 0.1) | |
3277 | elseif attack == false and EdgyMode == false and Divinity == false and combat == true and ?? == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Frost == false then | |
3278 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.4 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(85)), 0.15) | |
3279 | - | elseif attack == false and EdgyMode == false and Divinity == false and Fighter == true and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Frost == false then |
3279 | + | |
3280 | RH.C0 = clerp(RH.C0, CF(.6, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-70), Rad(0), Rad(0)), 0.15) | |
3281 | LH.C0 = clerp(LH.C0, CF(-1, -0.7 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-16.5), Rad(0), Rad(0)), 0.15) | |
3282 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90 + 2.5 * Sin(sine / 20))), 0.1) | |
3283 | LW.C0 = clerp(LW.C0, CF(-1, 0.3 + 0.05 * Sin(sine / 20), .4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1) | |
3284 | elseif attack == false and EdgyMode == false and Divinity == false and combat == false and ?? == true and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false then | |
3285 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(10)), 0.15) | |
3286 | - | elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == true and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false then |
3286 | + | |
3287 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-10)), 0.15) | |
3288 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(6)), 0.15) | |
3289 | RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(21), Rad(11), Rad(-90 - 2.5 * Sin(sine / 20))), 0.1) | |
3290 | LW.C0 = clerp(LW.C0, CF(-.8, 0.3 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(8), Rad(5), Rad(90 + 2.5 * Sin(sine / 20))), 0.1) | |
3291 | elseif attack == false and EdgyMode == false and Divinity == false and combat == false and ?? == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == true then | |
3292 | rootj.C0 = clerp(rootj.C0, RootCF * cn(0, 0, -0.5 + 0.02 * Cos(sine / 2)) * angles(Rad(-2), Rad(1), Rad(15)), 0.1) | |
3293 | - | elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == true then |
3293 | + | |
3294 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.35) * angles(Rad(90 - 2 * Cos(sine / 1)), Rad(0), Rad(-50)), 0.1) | |
3295 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.15) * angles(Rad(70 + 2 * Cos(sine / 1)), Rad(-7), Rad(70)), 0.1) | |
3296 | RH.C0 = clerp(RH.C0, cn(1, -0.5 - 0.02 * Cos(sine / 2), -0.2) * RHCF * angles(Rad(-4), Rad(0), Rad(-10 + 0.05 * math.cos(sine / 25))), 0.1) | |
3297 | LH.C0 = clerp(LH.C0, cn(-1, -0.5 - 0.02 * Cos(sine / 2), -0.2) * LHCF * angles(Rad(-4), Rad(0), Rad(10 + 0.05 * Cos(sine / 25))), 0.1) | |
3298 | elseif attack == false and EdgyMode == false and Divinity == false and combat == false and ?? == false and Destruction == false and helpme == false and Planetary == false and Solar == true and Lunar == false and Frost == false then | |
3299 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(10)), 0.15) | |
3300 | - | elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == true and Lunar == false and Frost == false then |
3300 | + | |
3301 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-10)), 0.15) | |
3302 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(6)), 0.15) | |
3303 | RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(21), Rad(11), Rad(-90 - 2.5 * Sin(sine / 20))), 0.1) | |
3304 | LW.C0 = clerp(LW.C0, CF(-.8, 0.3 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(8), Rad(5), Rad(90 + 2.5 * Sin(sine / 20))), 0.1) | |
3305 | elseif attack == false and EdgyMode == false and Divinity == false and combat == false and ?? == false and Destruction == true and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false then | |
3306 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(25)), 0.15) | |
3307 | - | elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == true and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false then |
3307 | + | |
3308 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
3309 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) | |
3310 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(65 - 2.5 * Sin(sine / 20))), 0.1) | |
3311 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1) | |
3312 | elseif attack == false and EdgyMode == false and Divinity == false and combat == false and ?? == false and Destruction == false and helpme == true and Planetary == false and Solar == false and Lunar == false and Frost == false then | |
3313 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2 + 0.1 * Cos(sine / 7)) * angles(Rad(10), Rad(0), Rad(0)), 0.15) | |
3314 | - | elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == true and Planetary == false and Solar == false and Lunar == false and Frost == false then |
3314 | + | |
3315 | if math.random(1,1) == 1 then | |
3316 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 7)) * angles(Rad(10 + Mrandom(-6,6)), Rad(0), Rad(Mrandom(-6,6))), 0.15) | |
3317 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(45 + Mrandom(-4,4)), Rad(Mrandom(-4,4)), Rad(-20 + Mrandom(-4,4))), 1) | |
3318 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(180 + Mrandom(-35,35)), Rad(35 + Mrandom(-35,35)), Rad(-50 - 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1) | |
3319 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(15 + Mrandom(-35,35)), Rad(Mrandom(-35,35)), Rad(-15 + 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1) | |
3320 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 7), -.2 + 0.025 * Cos(sine / 7)) * RHCF * angles(Rad(-5 + Mrandom(-6,6)), Rad(0), Rad(10 + Mrandom(-6,6))), 0.15) | |
3321 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 7), 0.025 * Cos(sine / 7)) * LHCF * angles(Rad(-5 + Mrandom(-6,6)), Rad(0), Rad(-10 + Mrandom(-6,6))), 0.15) | |
3322 | end | |
3323 | for i, v in pairs(ArmourParts) do | |
3324 | v.BrickColor = BrickColor.random() | |
3325 | end | |
3326 | for i, v in pairs(ArmourParts2) do | |
3327 | v.BrickColor = BrickColor.random() | |
3328 | end | |
3329 | for i, v in pairs(NeonParts) do | |
3330 | v.BrickColor = BrickColor.random() | |
3331 | end | |
3332 | maincolor = BrickColor.random() | |
3333 | tecks2.TextColor3 = maincolor.Color | |
3334 | tecks2.TextStrokeColor3 = maincolor.Color | |
3335 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 7), -.2 + 0.025 * Cos(sine / 7)) * RHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15) | |
3336 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 7), 0.025 * Cos(sine / 7)) * LHCF * angles(Rad(-5), Rad(0), Rad(-10)), 0.15) | |
3337 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(20), Rad(-50)), 0.1) | |
3338 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1) | |
3339 | elseif attack == false and EdgyMode == false and Divinity == false and combat == false and ?? == false and Destruction == false and helpme == false and Planetary == true and Solar == false and Lunar == false and Frost == false then | |
3340 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15) | |
3341 | - | elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == true and Solar == false and Lunar == false and Frost == false then |
3341 | + | |
3342 | RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15) | |
3343 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15) | |
3344 | RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-90 - 2.5 * Sin(sine / 20))), 0.1) | |
3345 | LW.C0 = clerp(LW.C0, CF(-.8, 0.3 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(8), Rad(0), Rad(90 + 2.5 * Sin(sine / 20))), 0.1) | |
3346 | end | |
3347 | elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then | |
3348 | Anim = "Walk" | |
3349 | change = .6 | |
3350 | if attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == false and Lunar == false then | |
3351 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(4-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(5 * Cos(sine / 7))), 0.15) | |
3352 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
3353 | RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
3354 | LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
3355 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.15 * Cos(sine / 7)) * angles(Rad(45) * Cos(sine / 7) , Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.1) | |
3356 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), -0.15 * Cos(sine / 7)) * angles(Rad(-45) * Cos(sine / 7) , Rad(0) , Rad(-5) + la.RotVelocity.Y / 75), 0.1) | |
3357 | elseif attack == false and EdgyMode == false and Divinity == false and combat == false and ?? == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == true then | |
3358 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(4-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(5 * Cos(sine / 7))), 0.15) | |
3359 | - | elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == true then |
3359 | + | |
3360 | RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
3361 | LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
3362 | RW.C0 = clerp(RW.C0, CF(1.1, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(-0), Rad(-30)), 0.1) | |
3363 | LW.C0 = clerp(LW.C0, CF(-1.1, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(30)), 0.1) | |
3364 | elseif attack == false and EdgyMode == false and Divinity == true and Destruction == false and helpme == false and Planetary == false and Lunar == false then | |
3365 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.15) | |
3366 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
3367 | RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15) | |
3368 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15) | |
3369 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-25 - 3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(14 - 2.5 * Sin(sine / 20))), 0.1) | |
3370 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-25 + 4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-14 + 2.5 * Sin(sine / 20))), 0.1) | |
3371 | elseif attack == false and EdgyMode == false and Divinity == false and Destruction == true and helpme == false and Planetary == false and Lunar == false then | |
3372 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(0)), 0.15) | |
3373 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
3374 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) | |
3375 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
3376 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-17), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1) | |
3377 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-17), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1) | |
3378 | elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == true and Planetary == false and Lunar == false then | |
3379 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2 + 0.1 * Cos(sine / 7)) * angles(Rad(10), Rad(0), Rad(0)), 0.15) | |
3380 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(45), Rad(0), Rad(-20)), 0.3) | |
3381 | if math.random(1,1) == 1 then | |
3382 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 7)) * angles(Rad(10 + Mrandom(-6,6)), Rad(0), Rad(Mrandom(-6,6))), 0.15) | |
3383 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(45 + Mrandom(-4,4)), Rad(Mrandom(-4,4)), Rad(-20 + Mrandom(-4,4))), 1) | |
3384 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(180 + Mrandom(-35,35)), Rad(35 + Mrandom(-35,35)), Rad(-50 - 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1) | |
3385 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(15 + Mrandom(-35,35)), Rad(Mrandom(-35,35)), Rad(-15 + 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1) | |
3386 | RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
3387 | LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
3388 | end | |
3389 | for i, v in pairs(ArmourParts) do | |
3390 | v.BrickColor = BrickColor.random() | |
3391 | end | |
3392 | for i, v in pairs(ArmourParts2) do | |
3393 | v.BrickColor = BrickColor.random() | |
3394 | end | |
3395 | for i, v in pairs(NeonParts) do | |
3396 | v.BrickColor = BrickColor.random() | |
3397 | end | |
3398 | maincolor = BrickColor.random() | |
3399 | tecks2.TextColor3 = maincolor.Color | |
3400 | tecks2.TextStrokeColor3 = maincolor.Color | |
3401 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 7), -.2 + 0.025 * Cos(sine / 7)) * RHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15) | |
3402 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 7), 0.025 * Cos(sine / 7)) * LHCF * angles(Rad(-5), Rad(0), Rad(-10)), 0.15) | |
3403 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(20), Rad(-50)), 0.1) | |
3404 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1) | |
3405 | elseif attack == false and EdgyMode == true and Divinity == false and Destruction == false and helpme == false and Planetary == false then | |
3406 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(4-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(5 * Cos(sine / 7))), 0.15) | |
3407 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
3408 | if Mrandom(1,15) == 1 then | |
3409 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15))), 1) | |
3410 | end | |
3411 | RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
3412 | LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
3413 | RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-20), Rad(215)), 0.1) | |
3414 | LW.C0 = clerp(LW.C0, CF(-.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(20), Rad(-215)), 0.1) | |
3415 | elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == true and Lunar == false then | |
3416 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(35), Rad(0), Rad(0)), 0.15) | |
3417 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
3418 | RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15) | |
3419 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15) | |
3420 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
3421 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
3422 | end | |
3423 | elseif torvel >= 25 and hitfloor ~= nil then | |
3424 | Anim = "Sprint" | |
3425 | change = 1.35 | |
3426 | if attack == false and Divinity == false and Destruction == false and helpme == false and Planetary == false then | |
3427 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15) | |
3428 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
3429 | RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 - 35 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
3430 | LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 + 35 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
3431 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.34 * Cos(sine / 7)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15) | |
3432 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -0.34 * Cos(sine / 7)) * angles(Rad(-110) * Cos(sine / 7) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15) | |
3433 | elseif attack == false and EdgyMode == false and Divinity == true and Destruction == false and helpme == false and Planetary == false then | |
3434 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15) | |
3435 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
3436 | RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-34 + 2.5 * Sin(sine / 20))), 0.15) | |
3437 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(34 + 2.5 * Sin(sine / 20))), 0.15) | |
3438 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-55 - 3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(14 - 2.5 * Sin(sine / 20))), 0.1) | |
3439 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-55 + 4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-14 + 2.5 * Sin(sine / 20))), 0.1) | |
3440 | elseif attack == false and EdgyMode == false and Divinity == false and Destruction == true and helpme == false and Planetary == false then | |
3441 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(0)), 0.15) | |
3442 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-25 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
3443 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-14.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-35 + 3 * Sin(sine / 20))), 0.15) | |
3444 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-16.5 + 3 * Sin(sine / 20)), Rad(0), Rad(35 + 3 * Sin(sine / 20))), 0.15) | |
3445 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-35), Rad(-10 * Cos(sine / 20)), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
3446 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-35), Rad(10 * Cos(sine / 20)), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
3447 | elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == true and Planetary == false then | |
3448 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(10)), 0.15) | |
3449 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(25), Rad(0), Rad(0)), 0.3) | |
3450 | if math.random(1,1) == 1 then | |
3451 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15) | |
3452 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-25,25)), Rad(Mrandom(-25,25)), Rad(Mrandom(-25,25))), 1) | |
3453 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1) | |
3454 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1) | |
3455 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15) | |
3456 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15) | |
3457 | end | |
3458 | for i, v in pairs(ArmourParts) do | |
3459 | v.BrickColor = BrickColor.random() | |
3460 | end | |
3461 | for i, v in pairs(ArmourParts2) do | |
3462 | v.BrickColor = BrickColor.random() | |
3463 | end | |
3464 | for i, v in pairs(NeonParts) do | |
3465 | v.BrickColor = BrickColor.random() | |
3466 | end | |
3467 | maincolor = BrickColor.random() | |
3468 | tecks2.TextColor3 = maincolor.Color | |
3469 | tecks2.TextStrokeColor3 = maincolor.Color | |
3470 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15) | |
3471 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(16)), 0.15) | |
3472 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(10), Rad(10), Rad(15)), 0.1) | |
3473 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(-15)), 0.1) | |
3474 | elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == true then | |
3475 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(75), Rad(0), Rad(10)), 0.15) | |
3476 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-40 - 4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3) | |
3477 | RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15) | |
3478 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15) | |
3479 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-15 - 2.5 * Sin(sine / 20))), 0.1) | |
3480 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-35 + 2.5 * Sin(sine / 20))), 0.1) | |
3481 | end | |
3482 | end | |
3483 | end | |
3484 | if 0 < #Effects then | |
3485 | for e = 1, #Effects do | |
3486 | if Effects[e] ~= nil then | |
3487 | local Thing = Effects[e] | |
3488 | if Thing ~= nil then | |
3489 | local Part = Thing[1] | |
3490 | local Mode = Thing[2] | |
3491 | local Delay = Thing[3] | |
3492 | local IncX = Thing[4] | |
3493 | local IncY = Thing[5] | |
3494 | local IncZ = Thing[6] | |
3495 | if 1 >= Thing[1].Transparency then | |
3496 | if Thing[2] == "Block1" then | |
3497 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
3498 | local Mesh = Thing[1].Mesh | |
3499 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
3500 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3501 | elseif Thing[2] == "Block2" then | |
3502 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
3503 | local Mesh = Thing[7] | |
3504 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
3505 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3506 | elseif Thing[2] == "Block3" then | |
3507 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0) | |
3508 | local Mesh = Thing[7] | |
3509 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
3510 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3511 | elseif Thing[2] == "Cylinder" then | |
3512 | local Mesh = Thing[1].Mesh | |
3513 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
3514 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3515 | elseif Thing[2] == "Blood" then | |
3516 | local Mesh = Thing[7] | |
3517 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
3518 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
3519 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3520 | elseif Thing[2] == "Elec" then | |
3521 | local Mesh = Thing[1].Mesh | |
3522 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
3523 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3524 | elseif Thing[2] == "Disappear" then | |
3525 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3526 | elseif Thing[2] == "Shatter" then | |
3527 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3528 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
3529 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
3530 | Thing[6] = Thing[6] + Thing[5] | |
3531 | end | |
3532 | else | |
3533 | Part.Parent = nil | |
3534 | table.remove(Effects, e) | |
3535 | end | |
3536 | end | |
3537 | end | |
3538 | end | |
3539 | end | |
3540 | end | |
3541 | ------------------------------------------------------- | |
3542 | --End Animations And Script-- | |
3543 | ------------------------------------------------------- |