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