SHOW:
|
|
- or go back to the newest paste.
1 | if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {} | |
2 | do | |
3 | script.Parent = owner.Character | |
4 | local Event = Instance.new("RemoteEvent");Event.Name = "UserInput" | |
5 | local function NewFakeEvent() | |
6 | local Bind = Instance.new("BindableEvent") | |
7 | local Fake;Fake = {Connections = {}, | |
8 | fakeEvent=true; | |
9 | Connect=function(self,Func) | |
10 | Bind.Event:connect(Func) | |
11 | self.Connections[Bind] = true | |
12 | return setmetatable({Connected = true},{ | |
13 | __index = function (self,Index) | |
14 | if Index:lower() == "disconnect" then | |
15 | return function() Fake.Connections[Bind] = false;self.Connected = false end | |
16 | end | |
17 | return Fake[Index] | |
18 | end; | |
19 | __tostring = function() return "Connection" end; | |
20 | }) | |
21 | end} | |
22 | Fake.connect = Fake.Connect;return Fake; | |
23 | end | |
24 | local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()} | |
25 | local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()} | |
26 | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...) | |
27 | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil | |
28 | end};ContextActionService.UnBindAction = ContextActionService.BindAction | |
29 | local function TriggerEvent(self,Event,...) | |
30 | local Trigger = Mouse[Event] | |
31 | if Trigger and Trigger.fakeEvent and Trigger.Connections then | |
32 | for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end | |
33 | end | |
34 | end | |
35 | Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent | |
36 | Event.OnServerEvent:Connect(function(FiredBy,Input) | |
37 | if FiredBy.Name ~= owner.Name then return end | |
38 | if Input.MouseEvent then | |
39 | Mouse.Target = Input.Target;Mouse.Hit = Input.Hit | |
40 | else | |
41 | local Begin = Input.UserInputState == Enum.UserInputState.Begin | |
42 | if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end | |
43 | for _,Action in pairs(ContextActionService.Actions) do | |
44 | for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end | |
45 | end | |
46 | Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower()) | |
47 | UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false) | |
48 | end | |
49 | end) | |
50 | InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService | |
51 | Event.Parent = NLS([[ | |
52 | local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse() | |
53 | local Input = function(Input,gameProcessedEvent) | |
54 | if gameProcessedEvent then return end | |
55 | Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState}) | |
56 | end | |
57 | UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input) | |
58 | local Hit,Target | |
59 | while wait(1/30) do | |
60 | if Hit ~= Mouse.Hit or Target ~= Mouse.Target then | |
61 | Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit}) | |
62 | end | |
63 | end | |
64 | ]],owner.Character) | |
65 | end | |
66 | RealGame = game;game = setmetatable({},{ | |
67 | __index = function (self,Index) | |
68 | local Sandbox = function (Thing) | |
69 | if Thing:IsA("Player") then | |
70 | local RealPlayer = Thing | |
71 | return setmetatable({},{ | |
72 | __index = function (self,Index) | |
73 | local Type = type(RealPlayer[Index]) | |
74 | if Type == "function" then | |
75 | if Index:lower() == "getmouse" or Index:lower() == "mouse" then | |
76 | return function (self)return InternalData["Mouse"] end | |
77 | end | |
78 | return function (self,...)return RealPlayer[Index](RealPlayer,...) end | |
79 | end | |
80 | return RealPlayer[Index] | |
81 | end; | |
82 | __tostring = function(self) return RealPlayer.Name end | |
83 | }) | |
84 | end | |
85 | end | |
86 | if RealGame[Index] then | |
87 | local Type = type(RealGame[Index]) | |
88 | if Type == "function" then | |
89 | if Index:lower() == "getservice" or Index:lower() == "service" then | |
90 | return function (self,Service) | |
91 | local FakeServices = { | |
92 | ["players"] = function() | |
93 | return setmetatable({},{ | |
94 | __index = function (self2,Index2) | |
95 | local RealService = RealGame:GetService(Service) | |
96 | local Type2 = type(Index2) | |
97 | if Type2 == "function" then | |
98 | return function (self,...) return RealService[Index2](RealService,...)end | |
99 | else | |
100 | if Index2:lower() == "localplayer" then return Sandbox(owner) end | |
101 | return RealService[Index2] | |
102 | end | |
103 | end; | |
104 | __tostring = function(self) return RealGame:GetService(Service).Name end | |
105 | }) | |
106 | end; | |
107 | ["contextactionservice"] = function() return InternalData["ContextActionService"] end; | |
108 | ["userinputservice"] = function() return InternalData["UserInputService"] end; | |
109 | ["runservice"] = function() | |
110 | return setmetatable({},{ | |
111 | __index = function(self2,Index2) | |
112 | local RealService = RealGame:GetService(Service) | |
113 | local Type2 = type(Index2) | |
114 | if Type2 == "function" then | |
115 | return function (self,...) return RealService[Index2](RealService,...) end | |
116 | else | |
117 | local RunServices = { | |
118 | ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end; | |
119 | ["renderstepped"] = function() return RealService["Stepped"] end | |
120 | } | |
121 | if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end | |
122 | return RealService[Index2] | |
123 | end | |
124 | end | |
125 | }) | |
126 | end | |
127 | } | |
128 | if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end | |
129 | return RealGame:GetService(Service) | |
130 | end | |
131 | end | |
132 | return function (self,...) return RealGame[Index](RealGame,...) end | |
133 | else | |
134 | if game:GetService(Index) then return game:GetService(Index) end | |
135 | return RealGame[Index] | |
136 | end | |
137 | end | |
138 | return nil | |
139 | end | |
140 | });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...") | |
141 | ||
142 | ----------------------- | |
143 | --WhAT ANOTHER ONE????????!-- | |
144 | ------------------------------------------------------- | |
145 | --A script By makhail07 | |
146 | ||
147 | --Discord Creterisk#2958 | |
148 | ||
149 | ||
150 | --https://cdn.discordapp.com/attachments/424766294303309844/424769047436197888/e41a6cbd-23cb-4553-bd39-1338429743a7.png | |
151 | ------------------------------------------------------- | |
152 | ||
153 | local FavIDs = { | |
154 | 340106355, --Nefl Crystals | |
155 | 927529620, --Dimension | |
156 | 876981900, --Fantasy | |
157 | 398987889, --Ordinary Days | |
158 | 1117396305, --Oh wait, it's you. | |
159 | 885996042, --Action Winter Journey | |
160 | 919231299, --Sprawling Idiot Effigy | |
161 | 743466274, --Good Day Sunshine | |
162 | 727411183, --Knife Fight | |
163 | 1402748531, --The Earth Is Counting On You! | |
164 | 595230126 --Robot Language | |
165 | } | |
166 | ||
167 | ||
168 | ||
169 | --The reality of my life isn't real but a Universe -makhail07 | |
170 | wait() | |
171 | local plr = game:service'Players'.LocalPlayer | |
172 | print('Local User is '..plr.Name) | |
173 | local char = plr.Character | |
174 | local hum = char.Humanoid | |
175 | local ra = char["Right Arm"] | |
176 | local la= char["Left Arm"] | |
177 | local rl= char["Right Leg"] | |
178 | local ll = char["Left Leg"] | |
179 | local hed = char.Head | |
180 | local root = char.HumanoidRootPart | |
181 | local rootj = root.RootJoint | |
182 | local tors = char.Torso | |
183 | local mouse = plr:GetMouse() | |
184 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
185 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
186 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
187 | local EdgyMode = false | |
188 | local Divinity = false | |
189 | local Fighter = false | |
190 | local Purity = false | |
191 | local Destruction = false | |
192 | local helpme = false | |
193 | local Planetary = false | |
194 | local maincolor = BrickColor.new("Institutional white") | |
195 | ------------------------------------------------------- | |
196 | --Start Good Stuff-- | |
197 | ------------------------------------------------------- | |
198 | CF = CFrame.new | |
199 | angles = CFrame.Angles | |
200 | attack = false | |
201 | Euler = CFrame.fromEulerAnglesXYZ | |
202 | Rad = math.rad | |
203 | IT = Instance.new | |
204 | BrickC = BrickColor.new | |
205 | Cos = math.cos | |
206 | Acos = math.acos | |
207 | Sin = math.sin | |
208 | Asin = math.asin | |
209 | Abs = math.abs | |
210 | Mrandom = math.random | |
211 | Floor = math.floor | |
212 | ------------------------------------------------------- | |
213 | --End Good Stuff-- | |
214 | ------------------------------------------------------- | |
215 | necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
216 | RSH, LSH = nil, nil | |
217 | RW = Instance.new("Weld") | |
218 | LW = Instance.new("Weld") | |
219 | RH = tors["Right Hip"] | |
220 | LH = tors["Left Hip"] | |
221 | RSH = tors["Right Shoulder"] | |
222 | LSH = tors["Left Shoulder"] | |
223 | RSH.Parent = nil | |
224 | LSH.Parent = nil | |
225 | RW.Name = "RW" | |
226 | RW.Part0 = tors | |
227 | RW.C0 = CF(1.5, 0.5, 0) | |
228 | RW.C1 = CF(0, 0.5, 0) | |
229 | RW.Part1 = ra | |
230 | RW.Parent = tors | |
231 | LW.Name = "LW" | |
232 | LW.Part0 = tors | |
233 | LW.C0 = CF(-1.5, 0.5, 0) | |
234 | LW.C1 = CF(0, 0.5, 0) | |
235 | LW.Part1 = la | |
236 | LW.Parent = tors | |
237 | Effects = {} | |
238 | ||
239 | ------------------------------------------------------- | |
240 | --Start HeartBeat-- | |
241 | ------------------------------------------------------- | |
242 | ArtificialHB = Instance.new("BindableEvent", script) | |
243 | ArtificialHB.Name = "Heartbeat" | |
244 | script:WaitForChild("Heartbeat") | |
245 | ||
246 | frame = 1 / 60 | |
247 | tf = 0 | |
248 | allowframeloss = false | |
249 | tossremainder = false | |
250 | ||
251 | ||
252 | lastframe = tick() | |
253 | script.Heartbeat:Fire() | |
254 | ||
255 | ||
256 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
257 | tf = tf + s | |
258 | if tf >= frame then | |
259 | if allowframeloss then | |
260 | script.Heartbeat:Fire() | |
261 | lastframe = tick() | |
262 | else | |
263 | for i = 1, math.floor(tf / frame) do | |
264 | script.Heartbeat:Fire() | |
265 | end | |
266 | lastframe = tick() | |
267 | end | |
268 | if tossremainder then | |
269 | tf = 0 | |
270 | else | |
271 | tf = tf - frame * math.floor(tf / frame) | |
272 | end | |
273 | end | |
274 | end) | |
275 | ------------------------------------------------------- | |
276 | --End HeartBeat-- | |
277 | ------------------------------------------------------- | |
278 | ||
279 | ------------------------------------------------------- | |
280 | --Start Important Functions-- | |
281 | ------------------------------------------------------- | |
282 | function swait(num) | |
283 | if num == 0 or num == nil then | |
284 | game:service("RunService").Stepped:wait(0) | |
285 | else | |
286 | for i = 0, num do | |
287 | game:service("RunService").Stepped:wait(0) | |
288 | end | |
289 | end | |
290 | end | |
291 | function thread(f) | |
292 | coroutine.resume(coroutine.create(f)) | |
293 | end | |
294 | function clerp(a, b, t) | |
295 | local qa = { | |
296 | QuaternionFromCFrame(a) | |
297 | } | |
298 | local qb = { | |
299 | QuaternionFromCFrame(b) | |
300 | } | |
301 | local ax, ay, az = a.x, a.y, a.z | |
302 | local bx, by, bz = b.x, b.y, b.z | |
303 | local _t = 1 - t | |
304 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
305 | end | |
306 | function QuaternionFromCFrame(cf) | |
307 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
308 | local trace = m00 + m11 + m22 | |
309 | if trace > 0 then | |
310 | local s = math.sqrt(1 + trace) | |
311 | local recip = 0.5 / s | |
312 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
313 | else | |
314 | local i = 0 | |
315 | if m00 < m11 then | |
316 | i = 1 | |
317 | end | |
318 | if m22 > (i == 0 and m00 or m11) then | |
319 | i = 2 | |
320 | end | |
321 | if i == 0 then | |
322 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
323 | local recip = 0.5 / s | |
324 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
325 | elseif i == 1 then | |
326 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
327 | local recip = 0.5 / s | |
328 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
329 | elseif i == 2 then | |
330 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
331 | local recip = 0.5 / s | |
332 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
333 | end | |
334 | end | |
335 | end | |
336 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
337 | local xs, ys, zs = x + x, y + y, z + z | |
338 | local wx, wy, wz = w * xs, w * ys, w * zs | |
339 | local xx = x * xs | |
340 | local xy = x * ys | |
341 | local xz = x * zs | |
342 | local yy = y * ys | |
343 | local yz = y * zs | |
344 | local zz = z * zs | |
345 | 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)) | |
346 | end | |
347 | function QuaternionSlerp(a, b, t) | |
348 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
349 | local startInterp, finishInterp | |
350 | if cosTheta >= 1.0E-4 then | |
351 | if 1 - cosTheta > 1.0E-4 then | |
352 | local theta = math.acos(cosTheta) | |
353 | local invSinTheta = 1 / Sin(theta) | |
354 | startInterp = Sin((1 - t) * theta) * invSinTheta | |
355 | finishInterp = Sin(t * theta) * invSinTheta | |
356 | else | |
357 | startInterp = 1 - t | |
358 | finishInterp = t | |
359 | end | |
360 | elseif 1 + cosTheta > 1.0E-4 then | |
361 | local theta = math.acos(-cosTheta) | |
362 | local invSinTheta = 1 / Sin(theta) | |
363 | startInterp = Sin((t - 1) * theta) * invSinTheta | |
364 | finishInterp = Sin(t * theta) * invSinTheta | |
365 | else | |
366 | startInterp = t - 1 | |
367 | finishInterp = t | |
368 | end | |
369 | 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 | |
370 | end | |
371 | function rayCast(Position, Direction, Range, Ignore) | |
372 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
373 | end | |
374 | local RbxUtility = LoadLibrary("RbxUtility") | |
375 | local Create = RbxUtility.Create | |
376 | ||
377 | ------------------------------------------------------- | |
378 | --Start Damage Function-- | |
379 | ------------------------------------------------------- | |
380 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
381 | if hit.Parent == nil then | |
382 | return | |
383 | end | |
384 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
385 | for _, v in pairs(hit.Parent:children()) do | |
386 | if v:IsA("Humanoid") then | |
387 | h = v | |
388 | end | |
389 | end | |
390 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then | |
391 | ||
392 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
393 | end | |
394 | ||
395 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
396 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
397 | if hit.Parent.DebounceHit.Value == true then | |
398 | return | |
399 | end | |
400 | end | |
401 | if insta == true then | |
402 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
403 | end | |
404 | local c = Create("ObjectValue"){ | |
405 | Name = "creator", | |
406 | Value = game:service("Players").LocalPlayer, | |
407 | Parent = h, | |
408 | } | |
409 | game:GetService("Debris"):AddItem(c, .5) | |
410 | if HitSound ~= nil and HitPitch ~= nil then | |
411 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
412 | end | |
413 | local Damage = math.random(minim, maxim) | |
414 | local blocked = false | |
415 | local block = hit.Parent:findFirstChild("Block") | |
416 | if block ~= nil then | |
417 | if block.className == "IntValue" then | |
418 | if block.Value > 0 then | |
419 | blocked = true | |
420 | block.Value = block.Value - 1 | |
421 | print(block.Value) | |
422 | end | |
423 | end | |
424 | end | |
425 | if blocked == false then | |
426 | h.Health = h.Health - Damage | |
427 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, maincolor.Color) | |
428 | else | |
429 | h.Health = h.Health - (Damage / 2) | |
430 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, maincolor.Color) | |
431 | end | |
432 | if Type == "Knockdown" then | |
433 | local hum = hit.Parent.Humanoid | |
434 | hum.PlatformStand = true | |
435 | coroutine.resume(coroutine.create(function(HHumanoid) | |
436 | swait(1) | |
437 | HHumanoid.PlatformStand = false | |
438 | end), hum) | |
439 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
440 | local bodvol = Create("BodyVelocity"){ | |
441 | velocity = angle * knockback, | |
442 | P = 5000, | |
443 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
444 | Parent = hit, | |
445 | } | |
446 | local rl = Create("BodyAngularVelocity"){ | |
447 | P = 3000, | |
448 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
449 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
450 | Parent = hit, | |
451 | } | |
452 | game:GetService("Debris"):AddItem(bodvol, .5) | |
453 | game:GetService("Debris"):AddItem(rl, .5) | |
454 | elseif Type == "Normal" then | |
455 | local vp = Create("BodyVelocity"){ | |
456 | P = 500, | |
457 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
458 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
459 | } | |
460 | if knockback > 0 then | |
461 | vp.Parent = hit.Parent.Torso | |
462 | end | |
463 | game:GetService("Debris"):AddItem(vp, .5) | |
464 | elseif Type == "Up" then | |
465 | local bodyVelocity = Create("BodyVelocity"){ | |
466 | velocity = Vector3.new(0, 20, 0), | |
467 | P = 5000, | |
468 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
469 | Parent = hit, | |
470 | } | |
471 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
472 | elseif Type == "DarkUp" then | |
473 | coroutine.resume(coroutine.create(function() | |
474 | for i = 0, 1, 0.1 do | |
475 | swait() | |
476 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
477 | end | |
478 | end)) | |
479 | local bodyVelocity = Create("BodyVelocity"){ | |
480 | velocity = Vector3.new(0, 20, 0), | |
481 | P = 5000, | |
482 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
483 | Parent = hit, | |
484 | } | |
485 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
486 | elseif Type == "Snare" then | |
487 | local bp = Create("BodyPosition"){ | |
488 | P = 2000, | |
489 | D = 100, | |
490 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
491 | position = hit.Parent.Torso.Position, | |
492 | Parent = hit.Parent.Torso, | |
493 | } | |
494 | game:GetService("Debris"):AddItem(bp, 1) | |
495 | elseif Type == "Freeze" then | |
496 | local BodPos = Create("BodyPosition"){ | |
497 | P = 50000, | |
498 | D = 1000, | |
499 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
500 | position = hit.Parent.Torso.Position, | |
501 | Parent = hit.Parent.Torso, | |
502 | } | |
503 | local BodGy = Create("BodyGyro") { | |
504 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
505 | P = 20e+003, | |
506 | Parent = hit.Parent.Torso, | |
507 | cframe = hit.Parent.Torso.CFrame, | |
508 | } | |
509 | hit.Parent.Torso.Anchored = true | |
510 | coroutine.resume(coroutine.create(function(Part) | |
511 | swait(1.5) | |
512 | Part.Anchored = false | |
513 | end), hit.Parent.Torso) | |
514 | game:GetService("Debris"):AddItem(BodPos, 3) | |
515 | game:GetService("Debris"):AddItem(BodGy, 3) | |
516 | end | |
517 | local debounce = Create("BoolValue"){ | |
518 | Name = "DebounceHit", | |
519 | Parent = hit.Parent, | |
520 | Value = true, | |
521 | } | |
522 | game:GetService("Debris"):AddItem(debounce, Delay) | |
523 | c = Create("ObjectValue"){ | |
524 | Name = "creator", | |
525 | Value = Player, | |
526 | Parent = h, | |
527 | } | |
528 | game:GetService("Debris"):AddItem(c, .5) | |
529 | end | |
530 | end | |
531 | ------------------------------------------------------- | |
532 | --End Damage Function-- | |
533 | ------------------------------------------------------- | |
534 | ||
535 | ------------------------------------------------------- | |
536 | --Start Damage Function Customization-- | |
537 | ------------------------------------------------------- | |
538 | function ShowDamage(Pos, Text, Time, Color) | |
539 | local Rate = (1 / 30) | |
540 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
541 | local Text = (Text or "") | |
542 | local Time = (Time or 2) | |
543 | local Color = (Color or Color3.new(1, 0, 1)) | |
544 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
545 | EffectPart.Anchored = true | |
546 | local BillboardGui = Create("BillboardGui"){ | |
547 | Size = UDim2.new(3, 0, 3, 0), | |
548 | Adornee = EffectPart, | |
549 | Parent = EffectPart, | |
550 | } | |
551 | local TextLabel = Create("TextLabel"){ | |
552 | BackgroundTransparency = 1, | |
553 | Size = UDim2.new(1, 0, 1, 0), | |
554 | Text = Text, | |
555 | Font = "Highway", | |
556 | TextColor3 = Color, | |
557 | TextScaled = true, | |
558 | TextStrokeColor3 = Color3.fromRGB(0,0,0), | |
559 | Parent = BillboardGui, | |
560 | } | |
561 | game.Debris:AddItem(EffectPart, (Time)) | |
562 | EffectPart.Parent = game:GetService("Workspace") | |
563 | delay(0, function() | |
564 | local Frames = (Time / Rate) | |
565 | for Frame = 1, Frames do | |
566 | wait(Rate) | |
567 | local Percent = (Frame / Frames) | |
568 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
569 | TextLabel.TextTransparency = Percent | |
570 | end | |
571 | if EffectPart and EffectPart.Parent then | |
572 | EffectPart:Destroy() | |
573 | end | |
574 | end) | |
575 | end | |
576 | ------------------------------------------------------- | |
577 | --End Damage Function Customization-- | |
578 | ------------------------------------------------------- | |
579 | ||
580 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
581 | for _, c in pairs(workspace:children()) do | |
582 | local hum = c:findFirstChild("Humanoid") | |
583 | if hum ~= nil then | |
584 | local head = c:findFirstChild("Head") | |
585 | if head ~= nil then | |
586 | local targ = head.Position - Part.Position | |
587 | local mag = targ.magnitude | |
588 | if magni >= mag and c.Name ~= plr.Name then | |
589 | Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2) | |
590 | end | |
591 | end | |
592 | end | |
593 | end | |
594 | end | |
595 | ||
596 | ||
597 | CFuncs = { | |
598 | Part = { | |
599 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
600 | local Part = Create("Part")({ | |
601 | Parent = Parent, | |
602 | Reflectance = Reflectance, | |
603 | Transparency = Transparency, | |
604 | CanCollide = false, | |
605 | Locked = true, | |
606 | BrickColor = BrickColor.new(tostring(BColor)), | |
607 | Name = Name, | |
608 | Size = Size, | |
609 | Material = Material | |
610 | }) | |
611 | RemoveOutlines(Part) | |
612 | return Part | |
613 | end | |
614 | }, | |
615 | Mesh = { | |
616 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
617 | local Msh = Create(Mesh)({ | |
618 | Parent = Part, | |
619 | Offset = OffSet, | |
620 | Scale = Scale | |
621 | }) | |
622 | if Mesh == "SpecialMesh" then | |
623 | Msh.MeshType = MeshType | |
624 | Msh.MeshId = MeshId | |
625 | end | |
626 | return Msh | |
627 | end | |
628 | }, | |
629 | Mesh = { | |
630 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
631 | local Msh = Create(Mesh)({ | |
632 | Parent = Part, | |
633 | Offset = OffSet, | |
634 | Scale = Scale | |
635 | }) | |
636 | if Mesh == "SpecialMesh" then | |
637 | Msh.MeshType = MeshType | |
638 | Msh.MeshId = MeshId | |
639 | end | |
640 | return Msh | |
641 | end | |
642 | }, | |
643 | Weld = { | |
644 | Create = function(Parent, Part0, Part1, C0, C1) | |
645 | local Weld = Create("Weld")({ | |
646 | Parent = Parent, | |
647 | Part0 = Part0, | |
648 | Part1 = Part1, | |
649 | C0 = C0, | |
650 | C1 = C1 | |
651 | }) | |
652 | return Weld | |
653 | end | |
654 | }, | |
655 | Sound = { | |
656 | Create = function(id, par, vol, pit) | |
657 | coroutine.resume(coroutine.create(function() | |
658 | local S = Create("Sound")({ | |
659 | Volume = vol, | |
660 | Pitch = pit or 1, | |
661 | SoundId = id, | |
662 | Parent = par or workspace | |
663 | }) | |
664 | wait() | |
665 | S:play() | |
666 | game:GetService("Debris"):AddItem(S, 6) | |
667 | end)) | |
668 | end | |
669 | }, | |
670 | ParticleEmitter = { | |
671 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
672 | local fp = Create("ParticleEmitter")({ | |
673 | Parent = Parent, | |
674 | Color = ColorSequence.new(Color1, Color2), | |
675 | LightEmission = LightEmission, | |
676 | Size = Size, | |
677 | Texture = Texture, | |
678 | Transparency = Transparency, | |
679 | ZOffset = ZOffset, | |
680 | Acceleration = Accel, | |
681 | Drag = Drag, | |
682 | LockedToPart = LockedToPart, | |
683 | VelocityInheritance = VelocityInheritance, | |
684 | EmissionDirection = EmissionDirection, | |
685 | Enabled = Enabled, | |
686 | Lifetime = LifeTime, | |
687 | Rate = Rate, | |
688 | Rotation = Rotation, | |
689 | RotSpeed = RotSpeed, | |
690 | Speed = Speed, | |
691 | VelocitySpread = VelocitySpread | |
692 | }) | |
693 | return fp | |
694 | end | |
695 | } | |
696 | } | |
697 | function RemoveOutlines(part) | |
698 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
699 | end | |
700 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
701 | local Part = Create("Part")({ | |
702 | formFactor = FormFactor, | |
703 | Parent = Parent, | |
704 | Reflectance = Reflectance, | |
705 | Transparency = Transparency, | |
706 | CanCollide = false, | |
707 | Locked = true, | |
708 | BrickColor = BrickColor.new(tostring(BColor)), | |
709 | Name = Name, | |
710 | Size = Size, | |
711 | Material = Material | |
712 | }) | |
713 | RemoveOutlines(Part) | |
714 | return Part | |
715 | end | |
716 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
717 | local Msh = Create(Mesh)({ | |
718 | Parent = Part, | |
719 | Offset = OffSet, | |
720 | Scale = Scale | |
721 | }) | |
722 | if Mesh == "SpecialMesh" then | |
723 | Msh.MeshType = MeshType | |
724 | Msh.MeshId = MeshId | |
725 | end | |
726 | return Msh | |
727 | end | |
728 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
729 | local Weld = Create("Weld")({ | |
730 | Parent = Parent, | |
731 | Part0 = Part0, | |
732 | Part1 = Part1, | |
733 | C0 = C0, | |
734 | C1 = C1 | |
735 | }) | |
736 | return Weld | |
737 | end | |
738 | ||
739 | ||
740 | ------------------------------------------------------- | |
741 | --Start Effect Function-- | |
742 | ------------------------------------------------------- | |
743 | EffectModel = Instance.new("Model", char) | |
744 | Effects = { | |
745 | Block = { | |
746 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
747 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
748 | prt.Anchored = true | |
749 | prt.CFrame = cframe | |
750 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
751 | game:GetService("Debris"):AddItem(prt, 10) | |
752 | if Type == 1 or Type == nil then | |
753 | table.insert(Effects, { | |
754 | prt, | |
755 | "Block1", | |
756 | delay, | |
757 | x3, | |
758 | y3, | |
759 | z3, | |
760 | msh | |
761 | }) | |
762 | elseif Type == 2 then | |
763 | table.insert(Effects, { | |
764 | prt, | |
765 | "Block2", | |
766 | delay, | |
767 | x3, | |
768 | y3, | |
769 | z3, | |
770 | msh | |
771 | }) | |
772 | else | |
773 | table.insert(Effects, { | |
774 | prt, | |
775 | "Block3", | |
776 | delay, | |
777 | x3, | |
778 | y3, | |
779 | z3, | |
780 | msh | |
781 | }) | |
782 | end | |
783 | end | |
784 | }, | |
785 | Sphere = { | |
786 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
787 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
788 | prt.Anchored = true | |
789 | prt.CFrame = cframe | |
790 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
791 | game:GetService("Debris"):AddItem(prt, 10) | |
792 | table.insert(Effects, { | |
793 | prt, | |
794 | "Cylinder", | |
795 | delay, | |
796 | x3, | |
797 | y3, | |
798 | z3, | |
799 | msh | |
800 | }) | |
801 | end | |
802 | }, | |
803 | Cylinder = { | |
804 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
805 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
806 | prt.Anchored = true | |
807 | prt.CFrame = cframe | |
808 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
809 | game:GetService("Debris"):AddItem(prt, 10) | |
810 | table.insert(Effects, { | |
811 | prt, | |
812 | "Cylinder", | |
813 | delay, | |
814 | x3, | |
815 | y3, | |
816 | z3, | |
817 | msh | |
818 | }) | |
819 | end | |
820 | }, | |
821 | Wave = { | |
822 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
823 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
824 | prt.Anchored = true | |
825 | prt.CFrame = cframe | |
826 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60)) | |
827 | game:GetService("Debris"):AddItem(prt, 10) | |
828 | table.insert(Effects, { | |
829 | prt, | |
830 | "Cylinder", | |
831 | delay, | |
832 | x3 / 60, | |
833 | y3 / 60, | |
834 | z3 / 60, | |
835 | msh | |
836 | }) | |
837 | end | |
838 | }, | |
839 | Ring = { | |
840 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
841 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
842 | prt.Anchored = true | |
843 | prt.CFrame = cframe | |
844 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
845 | game:GetService("Debris"):AddItem(prt, 10) | |
846 | table.insert(Effects, { | |
847 | prt, | |
848 | "Cylinder", | |
849 | delay, | |
850 | x3, | |
851 | y3, | |
852 | z3, | |
853 | msh | |
854 | }) | |
855 | end | |
856 | }, | |
857 | Break = { | |
858 | Create = function(brickcolor, cframe, x1, y1, z1) | |
859 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
860 | prt.Anchored = true | |
861 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
862 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
863 | local num = math.random(10, 50) / 1000 | |
864 | game:GetService("Debris"):AddItem(prt, 10) | |
865 | table.insert(Effects, { | |
866 | prt, | |
867 | "Shatter", | |
868 | num, | |
869 | prt.CFrame, | |
870 | math.random() - math.random(), | |
871 | 0, | |
872 | math.random(50, 100) / 100 | |
873 | }) | |
874 | end | |
875 | }, | |
876 | Spiral = { | |
877 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
878 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
879 | prt.Anchored = true | |
880 | prt.CFrame = cframe | |
881 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
882 | game:GetService("Debris"):AddItem(prt, 10) | |
883 | table.insert(Effects, { | |
884 | prt, | |
885 | "Cylinder", | |
886 | delay, | |
887 | x3, | |
888 | y3, | |
889 | z3, | |
890 | msh | |
891 | }) | |
892 | end | |
893 | }, | |
894 | Push = { | |
895 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
896 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
897 | prt.Anchored = true | |
898 | prt.CFrame = cframe | |
899 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
900 | game:GetService("Debris"):AddItem(prt, 10) | |
901 | table.insert(Effects, { | |
902 | prt, | |
903 | "Cylinder", | |
904 | delay, | |
905 | x3, | |
906 | y3, | |
907 | z3, | |
908 | msh | |
909 | }) | |
910 | end | |
911 | } | |
912 | } | |
913 | ------------------------------------------------------- | |
914 | --End Effect Function-- | |
915 | ------------------------------------------------------- | |
916 | ||
917 | function CreateSound(ID, PARENT, VOLUME, PITCH) | |
918 | local NSound = nil | |
919 | coroutine.resume(coroutine.create(function() | |
920 | NSound = Instance.new("Sound", PARENT) | |
921 | NSound.Volume = VOLUME | |
922 | NSound.Pitch = PITCH | |
923 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
924 | swait() | |
925 | NSound:play() | |
926 | game:GetService("Debris"):AddItem(NSound, 10) | |
927 | end)) | |
928 | return NSound | |
929 | end | |
930 | ||
931 | function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
932 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
933 | prt.Anchored = true | |
934 | prt.CFrame = cframe | |
935 | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
936 | game:GetService("Debris"):AddItem(prt, 10) | |
937 | if Type == 1 or Type == nil then | |
938 | table.insert(Effects, { | |
939 | prt, | |
940 | "Block1", | |
941 | delay, | |
942 | x3, | |
943 | y3, | |
944 | z3, | |
945 | msh | |
946 | }) | |
947 | elseif Type == 2 then | |
948 | table.insert(Effects, { | |
949 | prt, | |
950 | "Block2", | |
951 | delay, | |
952 | x3, | |
953 | y3, | |
954 | z3, | |
955 | msh | |
956 | }) | |
957 | elseif Type == 3 then | |
958 | table.insert(Effects, { | |
959 | prt, | |
960 | "Block3", | |
961 | delay, | |
962 | x3, | |
963 | y3, | |
964 | z3, | |
965 | msh | |
966 | }) | |
967 | end | |
968 | end | |
969 | ||
970 | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
971 | local fp=Instance.new("Part") | |
972 | fp.formFactor=formfactor | |
973 | fp.Parent=parent | |
974 | fp.Reflectance=reflectance | |
975 | fp.Transparency=transparency | |
976 | fp.CanCollide=false | |
977 | fp.Locked=true | |
978 | fp.BrickColor=brickcolor | |
979 | fp.Name=name | |
980 | fp.Size=size | |
981 | fp.Position=tors.Position | |
982 | RemoveOutlines(fp) | |
983 | fp.Material="SmoothPlastic" | |
984 | fp:BreakJoints() | |
985 | return fp | |
986 | end | |
987 | ||
988 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
989 | local mesh=Instance.new(Mesh) | |
990 | mesh.Parent=part | |
991 | if Mesh=="SpecialMesh" then | |
992 | mesh.MeshType=meshtype | |
993 | if meshid~="nil" then | |
994 | mesh.MeshId="http://www.roblox.com/asset/?id="..meshid | |
995 | end | |
996 | end | |
997 | mesh.Offset=offset | |
998 | mesh.Scale=scale | |
999 | return mesh | |
1000 | end | |
1001 | ||
1002 | function MagicShockTrailAlt2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype) | |
1003 | local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1004 | prt.Anchored = true | |
1005 | prt.Material = "Neon" | |
1006 | prt.CFrame = cframe | |
1007 | local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1008 | game:GetService("Debris"):AddItem(prt, 5) | |
1009 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1010 | local rtype = rottype | |
1011 | for i = 0, 1, delay do | |
1012 | swait() | |
1013 | if rtype == 1 then | |
1014 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1) | |
1015 | elseif rtype == 2 then | |
1016 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1) | |
1017 | end | |
1018 | prt.Transparency = i | |
1019 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
1020 | end | |
1021 | Part.Parent = nil | |
1022 | end), prt, msh) | |
1023 | end | |
1024 | ||
1025 | ||
1026 | function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1027 | local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1028 | prt.Anchored = true | |
1029 | prt.Material = "Neon" | |
1030 | prt.CFrame = cframe | |
1031 | prt.CFrame = prt.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1032 | local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1033 | game:GetService("Debris"):AddItem(prt, 5) | |
1034 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1035 | for i = 0, 1, delay do | |
1036 | swait() | |
1037 | Part.CFrame = Part.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1038 | Part.Transparency = i | |
1039 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
1040 | end | |
1041 | Part.Parent = nil | |
1042 | end), prt, msh) | |
1043 | end | |
1044 | ||
1045 | ||
1046 | function MagicShockAlt(brickcolor, cframe, x1, y1, x3, y3, delay, rottype) | |
1047 | local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1048 | prt.Anchored = true | |
1049 | prt.Material = "Neon" | |
1050 | prt.CFrame = cframe | |
1051 | local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, 0.01)) | |
1052 | game:GetService("Debris"):AddItem(prt, 5) | |
1053 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1054 | local rtype = rottype | |
1055 | for i = 0, 1, delay do | |
1056 | swait() | |
1057 | if rtype == 1 then | |
1058 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1) | |
1059 | elseif rtype == 2 then | |
1060 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1) | |
1061 | end | |
1062 | prt.Transparency = i | |
1063 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, 0) | |
1064 | end | |
1065 | Part.Parent = nil | |
1066 | end), prt, msh) | |
1067 | end | |
1068 | ||
1069 | function Eviscerate(dude) | |
1070 | if dude.Name ~= char then | |
1071 | local bgf = IT("BodyGyro", dude.Head) | |
1072 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
1073 | local val = IT("BoolValue", dude) | |
1074 | val.Name = "IsHit" | |
1075 | local ds = coroutine.wrap(function() | |
1076 | dude:WaitForChild("Head"):BreakJoints() | |
1077 | wait(0.5) | |
1078 | target = nil | |
1079 | coroutine.resume(coroutine.create(function() | |
1080 | for i, v in pairs(dude:GetChildren()) do | |
1081 | if v:IsA("Accessory") then | |
1082 | v:Destroy() | |
1083 | end | |
1084 | if v:IsA("Humanoid") then | |
1085 | v:Destroy() | |
1086 | end | |
1087 | if v:IsA("CharacterMesh") then | |
1088 | v:Destroy() | |
1089 | end | |
1090 | if v:IsA("Model") then | |
1091 | v:Destroy() | |
1092 | end | |
1093 | if v:IsA("Part") or v:IsA("MeshPart") then | |
1094 | for x, o in pairs(v:GetChildren()) do | |
1095 | if o:IsA("Decal") then | |
1096 | o:Destroy() | |
1097 | end | |
1098 | end | |
1099 | coroutine.resume(coroutine.create(function() | |
1100 | v.Material = "Neon" | |
1101 | v.CanCollide = false | |
1102 | local PartEmmit1 = IT("ParticleEmitter", v) | |
1103 | PartEmmit1.LightEmission = 1 | |
1104 | PartEmmit1.Texture = "rbxassetid://284205403" | |
1105 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
1106 | PartEmmit1.Rate = 150 | |
1107 | PartEmmit1.Lifetime = NumberRange.new(1) | |
1108 | PartEmmit1.Size = NumberSequence.new({ | |
1109 | NumberSequenceKeypoint.new(0, 0.75, 0), | |
1110 | NumberSequenceKeypoint.new(1, 0, 0) | |
1111 | }) | |
1112 | PartEmmit1.Transparency = NumberSequence.new({ | |
1113 | NumberSequenceKeypoint.new(0, 0, 0), | |
1114 | NumberSequenceKeypoint.new(1, 1, 0) | |
1115 | }) | |
1116 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
1117 | PartEmmit1.VelocitySpread = 30000 | |
1118 | PartEmmit1.Rotation = NumberRange.new(-500, 500) | |
1119 | PartEmmit1.RotSpeed = NumberRange.new(-500, 500) | |
1120 | local BodPoss = IT("BodyPosition", v) | |
1121 | BodPoss.P = 3000 | |
1122 | BodPoss.D = 1000 | |
1123 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
1124 | BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
1125 | v.Color = maincolor.Color | |
1126 | coroutine.resume(coroutine.create(function() | |
1127 | for i = 0, 49 do | |
1128 | swait(1) | |
1129 | v.Transparency = v.Transparency + 0.08 | |
1130 | end | |
1131 | wait(0.5) | |
1132 | PartEmmit1.Enabled = false | |
1133 | wait(3) | |
1134 | v:Destroy() | |
1135 | dude:Destroy() | |
1136 | end)) | |
1137 | end)) | |
1138 | end | |
1139 | end | |
1140 | end)) | |
1141 | end) | |
1142 | ds() | |
1143 | end | |
1144 | end | |
1145 | function FindNearestHead(Position, Distance, SinglePlayer) | |
1146 | if SinglePlayer then | |
1147 | return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude | |
1148 | end | |
1149 | local List = {} | |
1150 | for i, v in pairs(workspace:GetChildren()) do | |
1151 | if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then | |
1152 | table.insert(List, v) | |
1153 | end | |
1154 | end | |
1155 | return List | |
1156 | end | |
1157 | function sphereMK(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos) | |
1158 | local type = type | |
1159 | local rng = Instance.new("Part", char) | |
1160 | rng.Anchored = true | |
1161 | rng.BrickColor = color | |
1162 | rng.CanCollide = false | |
1163 | rng.FormFactor = 3 | |
1164 | rng.Name = "Ring" | |
1165 | rng.Material = "Neon" | |
1166 | rng.Size = Vector3.new(1, 1, 1) | |
1167 | rng.Transparency = 0 | |
1168 | rng.TopSurface = 0 | |
1169 | rng.BottomSurface = 0 | |
1170 | rng.CFrame = pos | |
1171 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos | |
1172 | local rngm = Instance.new("SpecialMesh", rng) | |
1173 | rngm.MeshType = "Sphere" | |
1174 | rngm.Scale = Vector3.new(x1, y1, z1) | |
1175 | local scaler2 = 1 | |
1176 | local speeder = FastSpeed | |
1177 | if type == "Add" then | |
1178 | scaler2 = 1 * value | |
1179 | elseif type == "Divide" then | |
1180 | scaler2 = 1 / value | |
1181 | end | |
1182 | coroutine.resume(coroutine.create(function() | |
1183 | for i = 0, 10 / bonuspeed, 0.1 do | |
1184 | swait() | |
1185 | if type == "Add" then | |
1186 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
1187 | elseif type == "Divide" then | |
1188 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
1189 | end | |
1190 | speeder = speeder - 0.01 * FastSpeed * bonuspeed | |
1191 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed | |
1192 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
1193 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) | |
1194 | end | |
1195 | rng:Destroy() | |
1196 | end)) | |
1197 | end | |
1198 | ------------------------------------------------------- | |
1199 | --End Important Functions-- | |
1200 | ------------------------------------------------------- | |
1201 | ||
1202 | --[[ | |
1203 | Thanks for using Build-To-Lua by jarredbcv. | |
1204 | ]]-- | |
1205 | ||
1206 | New = function(Object, Parent, Name, Data) | |
1207 | local Object = Instance.new(Object) | |
1208 | for Index, Value in pairs(Data or {}) do | |
1209 | Object[Index] = Value | |
1210 | end | |
1211 | Object.Parent = Parent | |
1212 | Object.Name = Name | |
1213 | return Object | |
1214 | end | |
1215 | ||
1216 | NewInstance = function(instance,parent,properties) | |
1217 | local inst = Instance.new(instance,parent) | |
1218 | if(properties)then | |
1219 | for i,v in next, properties do | |
1220 | pcall(function() inst[i] = v end) | |
1221 | end | |
1222 | end | |
1223 | return inst; | |
1224 | end | |
1225 | ||
1226 | Gunty = New("Model",char,"Gunty",{}) | |
1227 | 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),}) | |
1228 | Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1229 | 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),}) | |
1230 | Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1.14999998, 0.699999988, 1.04999995),}) | |
1231 | 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),}) | |
1232 | 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),}) | |
1233 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) | |
1234 | 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),}) | |
1235 | 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),}) | |
1236 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) | |
1237 | 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),}) | |
1238 | 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),}) | |
1239 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) | |
1240 | 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),}) | |
1241 | 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),}) | |
1242 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) | |
1243 | 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),}) | |
1244 | 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),}) | |
1245 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) | |
1246 | 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),}) | |
1247 | 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),}) | |
1248 | Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) | |
1249 | 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),}) | |
1250 | 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),}) | |
1251 | Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) | |
1252 | 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),}) | |
1253 | 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),}) | |
1254 | Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) | |
1255 | 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),}) | |
1256 | 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),}) | |
1257 | Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) | |
1258 | 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),}) | |
1259 | 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),}) | |
1260 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 0.899999976, 0.400000006),}) | |
1261 | 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),}) | |
1262 | 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),}) | |
1263 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 0.899999976, 0.400000006),}) | |
1264 | 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),}) | |
1265 | 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),}) | |
1266 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 0.930000007),}) | |
1267 | 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),}) | |
1268 | 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),}) | |
1269 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) | |
1270 | 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),}) | |
1271 | 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),}) | |
1272 | Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) | |
1273 | 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),}) | |
1274 | 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),}) | |
1275 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) | |
1276 | 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),}) | |
1277 | 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),}) | |
1278 | 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),}) | |
1279 | 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),}) | |
1280 | 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),}) | |
1281 | 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),}) | |
1282 | 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),}) | |
1283 | 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),}) | |
1284 | 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),}) | |
1285 | 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),}) | |
1286 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 0.930000007),}) | |
1287 | 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),}) | |
1288 | ||
1289 | local HW = NewInstance('Motor', char, {Part0 = ra, Part1 = Handle, C0 = CF(-.1,-.51,0)}) | |
1290 | ||
1291 | for _,v in next, Gunty:children() do | |
1292 | v.CanCollide = false | |
1293 | end | |
1294 | ||
1295 | local all, last = {}, nil | |
1296 | ArmourParts = {} | |
1297 | ArmourParts2 = {} | |
1298 | NeonParts = {} | |
1299 | function scan(p) | |
1300 | for _, v in pairs(p:GetChildren()) do | |
1301 | if v:IsA("BasePart") then | |
1302 | if v.BrickColor == BrickColor.new("Smoky grey") then | |
1303 | table.insert(ArmourParts, v) | |
1304 | end | |
1305 | if v.BrickColor == BrickColor.new("Fossil") then | |
1306 | table.insert(ArmourParts2, v) | |
1307 | end | |
1308 | if v.BrickColor == BrickColor.new("Institutional white") then | |
1309 | table.insert(NeonParts, v) | |
1310 | end | |
1311 | if last then | |
1312 | local w = Instance.new("Weld") | |
1313 | w.Part0, w.Part1 = last, v | |
1314 | w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse() | |
1315 | w.Parent = last | |
1316 | end | |
1317 | table.insert(all, v) | |
1318 | last = v | |
1319 | end | |
1320 | scan(v) | |
1321 | end | |
1322 | end | |
1323 | scan(Gunty) | |
1324 | for _, v in pairs(all) do | |
1325 | v.Anchored = false | |
1326 | v.CanCollide = false | |
1327 | end | |
1328 | function resetmode() | |
1329 | for i, v in pairs(ArmourParts) do | |
1330 | v.BrickColor = BrickColor.new("Smoky grey") | |
1331 | end | |
1332 | for i, v in pairs(ArmourParts2) do | |
1333 | v.BrickColor = BrickColor.new("Fossil") | |
1334 | end | |
1335 | for i, v in pairs(NeonParts) do | |
1336 | v.BrickColor = BrickColor.new("Institutional white") | |
1337 | end | |
1338 | maincolor = BrickColor.new("Institutional white") | |
1339 | end | |
1340 | ------------------------------------------------------- | |
1341 | --Start Music Option-- | |
1342 | ------------------------------------------------------- | |
1343 | local Music = Instance.new("Sound",tors) | |
1344 | Music.Volume = 2.5 | |
1345 | Music.SoundId = "rbxassetid://1117396305" | |
1346 | Music.Looped = true | |
1347 | Music.Pitch = 1 --Pitcher | |
1348 | Music:Play() | |
1349 | ------------------------------------------------------- | |
1350 | --End Music Option-- | |
1351 | ------------------------------------------------------- | |
1352 | ||
1353 | local naeeym2 = Instance.new("BillboardGui",char) | |
1354 | naeeym2.AlwaysOnTop = true | |
1355 | naeeym2.Size = UDim2.new(5,35,2,35) | |
1356 | naeeym2.StudsOffset = Vector3.new(0,2,0) | |
1357 | naeeym2.Adornee = hed | |
1358 | naeeym2.Name = "Name" | |
1359 | ||
1360 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
1361 | tecks2.BackgroundTransparency = 1 | |
1362 | tecks2.TextScaled = true | |
1363 | tecks2.BorderSizePixel = 0 | |
1364 | tecks2.Text = "Neutral" | |
1365 | tecks2.Font = "Code" | |
1366 | tecks2.TextSize = 30 | |
1367 | tecks2.TextStrokeTransparency = 0 | |
1368 | tecks2.TextColor3 = Color3.new(0,0,0) | |
1369 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
1370 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
1371 | tecks2.Parent = naeeym2 | |
1372 | ||
1373 | ------------------------------------------------------- | |
1374 | --Start Attacks N Stuff-- | |
1375 | ------------------------------------------------------- | |
1376 | local sine=0 | |
1377 | function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype) | |
1378 | local Hitboxpart = Instance.new("Part", EffectModel) | |
1379 | RemoveOutlines(Hitboxpart) | |
1380 | Hitboxpart.Size = Vector3.new(siz1, siz2, siz3) | |
1381 | Hitboxpart.CanCollide = false | |
1382 | Hitboxpart.Transparency = 1 | |
1383 | Hitboxpart.Anchored = true | |
1384 | Hitboxpart.CFrame = Pose | |
1385 | game:GetService("Debris"):AddItem(Hitboxpart, lifetime) | |
1386 | MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype) | |
1387 | end | |
1388 | wait2 = false | |
1389 | combo = 1 | |
1390 | mouse.Button1Down:connect(function(key) | |
1391 | if attack == false then | |
1392 | attack = true | |
1393 | hum.WalkSpeed = 3.01 | |
1394 | if combo == 1 and wait2 == false then | |
1395 | wait2 = true | |
1396 | for i = 0, 1.2, 0.1 do | |
1397 | swait() | |
1398 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3) | |
1399 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
1400 | 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) | |
1401 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
1402 | 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) | |
1403 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3) | |
1404 | end | |
1405 | CreateSound("138097048", ra, 3, .8) | |
1406 | HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 9, 3, "Normal") | |
1407 | for i = 0, 1.2, 0.1 do | |
1408 | swait() | |
1409 | BlockEffect(maincolor, Handle.CFrame, 21, 41, 21, -2, -3, -2, 0.08, 2) | |
1410 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(55)), 0.3) | |
1411 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
1412 | 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) | |
1413 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
1414 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-17)), 0.3) | |
1415 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3) | |
1416 | end | |
1417 | combo = 2 | |
1418 | end | |
1419 | if combo == 2 and wait2 == false then | |
1420 | wait2 = true | |
1421 | for i = 0, 1.2, 0.1 do | |
1422 | swait() | |
1423 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-25), math.rad(10), math.rad(-65)), 0.3) | |
1424 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
1425 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.1) | |
1426 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
1427 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-25)), 0.3) | |
1428 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(-20)), 0.3) | |
1429 | end | |
1430 | CreateSound("138097048", rl, 3, 1) | |
1431 | HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 5, 10, 3, "Normal") | |
1432 | for i = 0, 1.6, 0.1 do | |
1433 | swait() | |
1434 | 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) | |
1435 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
1436 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(54), math.rad(0), math.rad(35)), 0.1) | |
1437 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-34), math.rad(0), math.rad(-35)), 0.3) | |
1438 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(95)), 0.3) | |
1439 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-4.5), math.rad(-30), math.rad(0)), 0.3) | |
1440 | end | |
1441 | combo = 3 | |
1442 | end | |
1443 | if combo == 3 and wait2 == false then | |
1444 | for i = 0, 1.2, 0.1 do | |
1445 | swait() | |
1446 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3) | |
1447 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
1448 | 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) | |
1449 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
1450 | 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) | |
1451 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3) | |
1452 | end | |
1453 | CreateSound("138097048", ra, 3, .8) | |
1454 | HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal") | |
1455 | for i = 0, 1.2, 0.1 do | |
1456 | swait() | |
1457 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(35)), 0.3) | |
1458 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
1459 | 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) | |
1460 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
1461 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3) | |
1462 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3) | |
1463 | end | |
1464 | Effects.Sphere.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 0.1, 0.1, 0.1, 0.03) | |
1465 | Effects.Ring.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 2, 2, 2, 0.1, 0.1, 0.1, 0.03) | |
1466 | HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal") | |
1467 | for i = 0, 1.2, 0.1 do | |
1468 | swait() | |
1469 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(-35)), 0.3) | |
1470 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
1471 | 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) | |
1472 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
1473 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3) | |
1474 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3) | |
1475 | end | |
1476 | combo = 1 | |
1477 | end | |
1478 | hum.WalkSpeed = 8 | |
1479 | wait2 = false | |
1480 | attack = false | |
1481 | end | |
1482 | end) | |
1483 | function Decapitate() | |
1484 | local target = nil | |
1485 | local targettorso = nil | |
1486 | if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then | |
1487 | if mouse.Target.Parent.Humanoid.PlatformStand == false then | |
1488 | target = mouse.Target.Parent.Humanoid | |
1489 | targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso") | |
1490 | targethead = mouse.Target.Parent:FindFirstChild("Head") | |
1491 | end | |
1492 | end | |
1493 | if target ~= nil then | |
1494 | targettorso.Anchored = true | |
1495 | attack = true | |
1496 | hum.WalkSpeed = 0 | |
1497 | root.CFrame = targettorso.CFrame * CF(0,0,2.6) | |
1498 | for i = 0,4.2,0.1 do | |
1499 | swait() | |
1500 | 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) | |
1501 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3) | |
1502 | 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) | |
1503 | 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) | |
1504 | 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) | |
1505 | 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) | |
1506 | end | |
1507 | local ModelHead01 = New("Model", char, "", {}) | |
1508 | local Humanoid01 = New("Humanoid", ModelHead01, "Humanoid", {}) | |
1509 | local Head01 = targethead:Clone() | |
1510 | targethead.Transparency = 1 | |
1511 | Head01.Parent = ModelHead01 | |
1512 | local weldHead01 = Instance.new("Weld") | |
1513 | weldHead01.Parent = Head01 | |
1514 | weldHead01.Part0 = targethead | |
1515 | weldHead01.Part1 = Head01 | |
1516 | weldHead01.C1 = CFrame.new(0, 0, 0) | |
1517 | targethead.face:Remove() | |
1518 | weldHead01.Part0 = ra | |
1519 | weldHead01.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0)) | |
1520 | targettorso:BreakJoints() | |
1521 | CreateSound("314390675", targettorso, 5, .7) | |
1522 | for i = 0,3.2,0.1 do | |
1523 | swait() | |
1524 | 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) | |
1525 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
1526 | 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) | |
1527 | 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) | |
1528 | 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) | |
1529 | 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) | |
1530 | end | |
1531 | for i = 0,4.2,0.1 do | |
1532 | swait() | |
1533 | 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) | |
1534 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3) | |
1535 | 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) | |
1536 | 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) | |
1537 | 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) | |
1538 | 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) | |
1539 | end | |
1540 | CreateSound("541909763", targettorso, 5, .8) | |
1541 | weldHead01:Destroy() | |
1542 | Head01.CanCollide = true | |
1543 | local bodyVelocity2 = Create("BodyVelocity")({ | |
1544 | velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50, | |
1545 | P = 5000, | |
1546 | maxForce = Vector3.new(8000, 8000, 8000), | |
1547 | Parent = Head01 | |
1548 | }) | |
1549 | game:GetService("Debris"):AddItem(bodyVelocity2, 0.05) | |
1550 | for i = 0,6.2,0.1 do | |
1551 | swait() | |
1552 | 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) | |
1553 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.3) | |
1554 | 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) | |
1555 | 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) | |
1556 | 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) | |
1557 | 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) | |
1558 | end | |
1559 | targettorso.Anchored = false | |
1560 | attack = false | |
1561 | hum.WalkSpeed = 8 | |
1562 | root.CFrame = targettorso.CFrame * CF(0,0,3.4) | |
1563 | end | |
1564 | end | |
1565 | function Laugh() | |
1566 | attack = true | |
1567 | hum.WalkSpeed = 0 | |
1568 | CreateSound("300208779", hed, 10, 1) | |
1569 | for i = 0,9,0.1 do | |
1570 | swait() | |
1571 | 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) | |
1572 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30 - 2.5 * Sin(sine / 2)), Rad(0), Rad(0)), 0.3) | |
1573 | if Mrandom(1,15) == 1 then | |
1574 | 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) | |
1575 | end | |
1576 | 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) | |
1577 | 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) | |
1578 | 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) | |
1579 | 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) | |
1580 | end | |
1581 | attack = false | |
1582 | hum.WalkSpeed = 10 | |
1583 | end | |
1584 | function Flying_Kick() | |
1585 | attack = true | |
1586 | hum.WalkSpeed = 0 | |
1587 | for i = 0,2.7,0.1 do | |
1588 | swait() | |
1589 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.7 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15) | |
1590 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.3) | |
1591 | 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) | |
1592 | 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) | |
1593 | 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) | |
1594 | 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) | |
1595 | end | |
1596 | local bodyVelocity = Create("BodyVelocity")({ | |
1597 | velocity = Vector3.new(0, 0, 0) + root.CFrame.lookVector * 250, | |
1598 | P = 5000, | |
1599 | maxForce = Vector3.new(9e99, 9e99, 9e99), | |
1600 | Parent = root | |
1601 | }) | |
1602 | game:GetService("Debris"):AddItem(bodyVelocity, 0.05) | |
1603 | CreateSound("138097048", rl, 3, 1) | |
1604 | for i = 0,2.1,0.1 do | |
1605 | swait() | |
1606 | HitboxFunction(rl.CFrame, 0.01, 1, 1, 1, 7, 6, 8, 3, "Knockdown") | |
1607 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, .6 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(20), Rad(90)), 0.15) | |
1608 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
1609 | 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) | |
1610 | 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) | |
1611 | 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) | |
1612 | 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) | |
1613 | end | |
1614 | attack = false | |
1615 | hum.WalkSpeed = 8 | |
1616 | end | |
1617 | function UpperCut() | |
1618 | attack = true | |
1619 | hum.WalkSpeed = 0 | |
1620 | for i = 0,2.3,0.1 do | |
1621 | swait() | |
1622 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.7 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15) | |
1623 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
1624 | 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) | |
1625 | 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) | |
1626 | 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) | |
1627 | 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) | |
1628 | end | |
1629 | CreateSound("138097048", ra, 3, .8) | |
1630 | HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 8, 3, "Knockdown") | |
1631 | for i = 0,2.8,0.1 do | |
1632 | swait() | |
1633 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-35), Rad(0), Rad(10)), 0.15) | |
1634 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.3) | |
1635 | 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) | |
1636 | 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) | |
1637 | 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) | |
1638 | 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) | |
1639 | end | |
1640 | attack = false | |
1641 | hum.WalkSpeed = 8 | |
1642 | end | |
1643 | function Spinning_Kick() | |
1644 | attack = true | |
1645 | hum.WalkSpeed = 3.01 | |
1646 | for i = 0, 1.2, 0.1 do | |
1647 | swait() | |
1648 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-25), math.rad(10), math.rad(-65)), 0.3) | |
1649 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
1650 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.1) | |
1651 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
1652 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-25)), 0.3) | |
1653 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(-20)), 0.3) | |
1654 | end | |
1655 | for i = 0, 4.6, 0.1 do | |
1656 | swait() | |
1657 | CreateSound("138097048", rl, 3, 1) | |
1658 | HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 5, 10, 3, "Normal") | |
1659 | 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) | |
1660 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
1661 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-54), math.rad(0), math.rad(47)), 0.1) | |
1662 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-34), math.rad(0), math.rad(-47)), 0.3) | |
1663 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(95)), 0.3) | |
1664 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-4.5), math.rad(-30), math.rad(30)), 0.3) | |
1665 | end | |
1666 | attack = false | |
1667 | hum.WalkSpeed = 8 | |
1668 | end | |
1669 | function Beam_Of_Light() | |
1670 | ||
1671 | end | |
1672 | function Blast_Of_God() | |
1673 | attack = true | |
1674 | hum.WalkSpeed = 3.01 | |
1675 | for i = 0,6.3,0.1 do | |
1676 | swait() | |
1677 | Effects.Sphere.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
1678 | 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) | |
1679 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-90)), 0.3) | |
1680 | 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) | |
1681 | 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) | |
1682 | 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) | |
1683 | 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) | |
1684 | end | |
1685 | Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05) | |
1686 | Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.03) | |
1687 | Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05) | |
1688 | Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05) | |
1689 | Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 10.5, 10.5, 10.5, 0.05) | |
1690 | 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) | |
1691 | CreateSound("142070127", tors, 10, 1) | |
1692 | MagniDamage(ra, 12, 40, 60, 10, "Normal") | |
1693 | for i = 0,2.6,0.1 do | |
1694 | swait() | |
1695 | 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) | |
1696 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-90)), 0.3) | |
1697 | 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) | |
1698 | 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) | |
1699 | 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) | |
1700 | 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) | |
1701 | end | |
1702 | attack = false | |
1703 | hum.WalkSpeed = 8 | |
1704 | end | |
1705 | function Diablo_Explosion() | |
1706 | attack = true | |
1707 | hum.WalkSpeed = 3.01 | |
1708 | for i = 0,6.3,0.1 do | |
1709 | swait() | |
1710 | Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
1711 | Effects.Block.Create(BrickC("Really red"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
1712 | 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) | |
1713 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1714 | 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) | |
1715 | 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) | |
1716 | 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) | |
1717 | 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) | |
1718 | end | |
1719 | Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 14, 14, 14, 0.05) | |
1720 | Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 11, 11, 11, 0.03) | |
1721 | Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 8, 8, 8, 0.05) | |
1722 | Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 6, 6, 6, 0.05) | |
1723 | Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 10.5, 10.5, 10.5, 0.05) | |
1724 | Effects.Ring.Create(BrickC("Really red"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3.6, 3.6, 3.6, 0.03) | |
1725 | CreateSound("142070127", tors, 10, 1) | |
1726 | MagniDamage(tors, 12, 34, 54, 10, "DarkUp") | |
1727 | for i = 0,4.6,0.1 do | |
1728 | 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) | |
1729 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1730 | 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) | |
1731 | 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) | |
1732 | 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) | |
1733 | 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) | |
1734 | end | |
1735 | wait(.6) | |
1736 | attack = false | |
1737 | hum.WalkSpeed = 8 | |
1738 | end | |
1739 | function Hell_From_Above() | |
1740 | 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,}) | |
1741 | attack = true | |
1742 | hum.WalkSpeed = 3.01 | |
1743 | for i = 0,6.3,0.1 do | |
1744 | swait() | |
1745 | Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
1746 | 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) | |
1747 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1748 | 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) | |
1749 | 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) | |
1750 | 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) | |
1751 | 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) | |
1752 | end | |
1753 | CreateSound("142070127", tors, 10, 1) | |
1754 | Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05) | |
1755 | Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05) | |
1756 | Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05) | |
1757 | Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05) | |
1758 | for i = 0,3.8,0.1 do | |
1759 | swait() | |
1760 | 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) | |
1761 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1762 | 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) | |
1763 | 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) | |
1764 | 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) | |
1765 | 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) | |
1766 | end | |
1767 | CreateSound("224339201", tors, 10, 0.5) | |
1768 | for i = 1, 3 do | |
1769 | MagniDamage(UhhhhThing, 12, 34, 54, 10, "DarkUp") | |
1770 | UhhhhThing.CFrame = mouse.Hit | |
1771 | Effects.Cylinder.Create(BrickColor.new("Really red"), UhhhhThing.CFrame, .5, 9999, .5, 10, 0, 10, 0.05) | |
1772 | Effects.Block.Create(BrickColor.new("Really red"), UhhhhThing.CFrame, 1, 1, 1, 10, 10, 10, 0.05) | |
1773 | end | |
1774 | UhhhhThing:Destroy() | |
1775 | attack = false | |
1776 | hum.WalkSpeed = 8 | |
1777 | end | |
1778 | function Spinning_Below() | |
1779 | attack = true | |
1780 | hum.WalkSpeed = 3.01 | |
1781 | CreateSound("649634100", tors, 10, 0.5) | |
1782 | for i = 0,6.3,0.1 do | |
1783 | swait() | |
1784 | Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
1785 | Effects.Block.Create(BrickC("Really red"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
1786 | 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) | |
1787 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1788 | 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) | |
1789 | 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) | |
1790 | 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) | |
1791 | 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) | |
1792 | end | |
1793 | attack = false | |
1794 | hum.WalkSpeed = 8 | |
1795 | end | |
1796 | function Purity_Slam() | |
1797 | attack = true | |
1798 | for i = 0,5.2,0.1 do | |
1799 | swait() | |
1800 | 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) | |
1801 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1802 | 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) | |
1803 | 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) | |
1804 | 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) | |
1805 | 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) | |
1806 | end | |
1807 | CreateSound("331666100", tors, 10, 1) | |
1808 | 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) | |
1809 | 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) | |
1810 | 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) | |
1811 | 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) | |
1812 | MagniDamage(tors, 12, 40, 60, 10, "Normal") | |
1813 | coroutine.resume(coroutine.create(function() | |
1814 | for i = 0,1.8,0.1 do | |
1815 | swait() | |
1816 | hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)) | |
1817 | end | |
1818 | for i = 0,1.8,0.1 do | |
1819 | swait() | |
1820 | hum.CameraOffset = Vector3.new(0,0,0) | |
1821 | end | |
1822 | end)) | |
1823 | for i = 1,4.7,0.1 do | |
1824 | 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) | |
1825 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3) | |
1826 | 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) | |
1827 | 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) | |
1828 | 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) | |
1829 | 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) | |
1830 | end | |
1831 | wait(.6) | |
1832 | attack = false | |
1833 | end | |
1834 | function Painful_Stomp() | |
1835 | attack = true | |
1836 | for i = 0,5.2,0.1 do | |
1837 | swait() | |
1838 | 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) | |
1839 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1840 | 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) | |
1841 | 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) | |
1842 | 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) | |
1843 | 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) | |
1844 | end | |
1845 | CreateSound("331666100", char, 10, 1) | |
1846 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
1847 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
1848 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
1849 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
1850 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05) | |
1851 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05) | |
1852 | 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) | |
1853 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do | |
1854 | if v:FindFirstChild("Head") then | |
1855 | Eviscerate(v) | |
1856 | end | |
1857 | end | |
1858 | coroutine.resume(coroutine.create(function() | |
1859 | for i = 0,2.8,0.1 do | |
1860 | swait() | |
1861 | hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)) | |
1862 | end | |
1863 | for i = 0,1.8,0.1 do | |
1864 | swait() | |
1865 | hum.CameraOffset = Vector3.new(0,0,0) | |
1866 | end | |
1867 | end)) | |
1868 | for i = 0,3.7,0.1 do | |
1869 | 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) | |
1870 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1871 | 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) | |
1872 | 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) | |
1873 | 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) | |
1874 | 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) | |
1875 | end | |
1876 | wait(.6) | |
1877 | attack = false | |
1878 | end | |
1879 | function Ending() | |
1880 | local target = nil | |
1881 | local targettorso = nil | |
1882 | if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then | |
1883 | if mouse.Target.Parent.Humanoid.PlatformStand == false then | |
1884 | targetT = mouse.Target.Parent | |
1885 | target = mouse.Target.Parent.Humanoid | |
1886 | targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso") | |
1887 | targethead = mouse.Target.Parent:FindFirstChild("Head") | |
1888 | end | |
1889 | end | |
1890 | if target ~= nil then | |
1891 | targettorso.Anchored = true | |
1892 | attack = true | |
1893 | hum.WalkSpeed = 0 | |
1894 | local originalpos = root.CFrame | |
1895 | root.CFrame = targettorso.CFrame * CF(0,0,2.6) | |
1896 | for i = 0,1.8,0.1 do | |
1897 | swait() | |
1898 | 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) | |
1899 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(65)), 0.3) | |
1900 | 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) | |
1901 | 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) | |
1902 | 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) | |
1903 | 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) | |
1904 | end | |
1905 | Eviscerate(targetT) | |
1906 | CreateSound("331666100", ra, 4, 1) | |
1907 | CreateSound("180083286", targettorso, 10, 1) | |
1908 | coroutine.resume(coroutine.create(function() | |
1909 | for i = 0,1.8,0.1 do | |
1910 | swait() | |
1911 | hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)) | |
1912 | end | |
1913 | for i = 0,1.8,0.1 do | |
1914 | swait() | |
1915 | hum.CameraOffset = Vector3.new(0,0,0) | |
1916 | end | |
1917 | end)) | |
1918 | for i = 0,4.6,0.1 do | |
1919 | 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) | |
1920 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
1921 | 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) | |
1922 | 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) | |
1923 | 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) | |
1924 | 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) | |
1925 | end | |
1926 | wait(.6) | |
1927 | root.CFrame = originalpos | |
1928 | attack = false | |
1929 | hum.WalkSpeed = 8 | |
1930 | end | |
1931 | end | |
1932 | ||
1933 | --[[I don't take ANY credit for this attack, | |
1934 | this was all nooby's hard work and the only reason i uhhh "used" it | |
1935 | is cause I i didn't have attack ideas at the time so yeah, | |
1936 | 100% nooby's credit <3]] | |
1937 | function Ende_der_Weld() | |
1938 | attack = true | |
1939 | hum.WalkSpeed = 0 | |
1940 | for i = 0,4.6,0.1 do | |
1941 | swait() | |
1942 | 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) | |
1943 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
1944 | 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) | |
1945 | 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) | |
1946 | 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) | |
1947 | 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) | |
1948 | end | |
1949 | local a = Instance.new("Part",char) | |
1950 | a.BrickColor = BrickColor.random() | |
1951 | a.Name = "Lazer" | |
1952 | a.Anchored = true | |
1953 | a.Material = "Neon" | |
1954 | a.Transparency = 1 | |
1955 | a.CanCollide = false | |
1956 | local hitbox = Instance.new("Part",char) | |
1957 | hitbox.Size = Vector3.new(5,5,5) | |
1958 | hitbox.CFrame = mouse.hit | |
1959 | hitbox.Anchored = true | |
1960 | hitbox.Transparency = 1 | |
1961 | hitbox.CanCollide = false | |
1962 | local ray = Ray.new( | |
1963 | ra.CFrame.p, -- origin | |
1964 | (mouse.Hit.p - ra.CFrame.p).unit * 500 -- direction | |
1965 | ) | |
1966 | local ignore = char | |
1967 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
1968 | if hit then | |
1969 | local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid") | |
1970 | ||
1971 | if not humanoid then | |
1972 | humanoid = hit.Parent.Parent:FindFirstChildOfClass("Humanoid") | |
1973 | end | |
1974 | if humanoid then | |
1975 | if humanoid.Parent:IsA"Model" then | |
1976 | end | |
1977 | end | |
1978 | end | |
1979 | a.BottomSurface = 10 | |
1980 | a.TopSurface = 10 | |
1981 | local distance = (ra.CFrame.p - position).magnitude | |
1982 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
1983 | a.CFrame = CFrame.new(ra.CFrame.p, position) * CFrame.new(0, 0, 0) | |
1984 | game:GetService("Debris"):AddItem(a, 5) | |
1985 | game:GetService("Debris"):AddItem(hitbox, 1) | |
1986 | local newmesh = Instance.new("BlockMesh",a) | |
1987 | MagicBlock(BrickColor.Random(),ra.CFrame,5,5,5,0.25,0.25,0.25,0.025) | |
1988 | MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1.5,1.5,0.015,1) | |
1989 | MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1.25,1.25,0.015,2) | |
1990 | MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1,1,0.015,1) | |
1991 | local lbs = Instance.new("Part") | |
1992 | lbs.Parent = char | |
1993 | CreateSound("929619479", lbs, 10, 1) | |
1994 | lbs.Material = "Neon" | |
1995 | lbs.Color = BrickColor.Random().Color | |
1996 | lbs.CanCollide = false | |
1997 | lbs.Shape = "Ball" | |
1998 | lbs.Anchored = true | |
1999 | lbs.Transparency = 0 | |
2000 | lbs.Size = Vector3.new(20,20,20) | |
2001 | lbs.CFrame = a.CFrame | |
2002 | local thing = Instance.new("SpecialMesh",lbs) | |
2003 | thing.MeshType = "Sphere" | |
2004 | lbs.Anchored = false | |
2005 | local bvs = Instance.new("BodyVelocity") | |
2006 | bvs.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
2007 | bvs.velocity = a.CFrame.lookVector*75 | |
2008 | bvs.Parent = lbs | |
2009 | lbs.Touched:connect(function(hit) | |
2010 | MagniDamage(hit, 12, 40, 60, 10, "Normal") | |
2011 | end) | |
2012 | attack = false | |
2013 | game:GetService("Debris"):AddItem(lbs, 10) | |
2014 | for x = 0, 4 do | |
2015 | local bulletgos = IT("Model",char) | |
2016 | local bulletgos2 = IT("Model",char) | |
2017 | for z = 0, 24 do | |
2018 | local lb = Instance.new("Part") | |
2019 | lb.Parent = bulletgos | |
2020 | lb.Material = "Neon" | |
2021 | lb.Color = BrickColor.Random().Color | |
2022 | lb.CanCollide = false | |
2023 | lb.Anchored = true | |
2024 | lb.Transparency = 0 | |
2025 | lb.Size = Vector3.new(2,2,2) | |
2026 | local thing = Instance.new("SpecialMesh",lb) | |
2027 | thing.MeshType = "Sphere" | |
2028 | thing.Scale = Vector3.new(0.5,0.5,1.5) | |
2029 | lb.CFrame = lbs.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
2030 | lb.CFrame = lb.CFrame + lb.CFrame.lookVector*15 | |
2031 | local lb2 = Instance.new("Part") | |
2032 | lb2.Parent = bulletgos2 | |
2033 | lb2.Material = "Neon" | |
2034 | lb2.Color = lb.Color | |
2035 | lb2.CanCollide = false | |
2036 | lb2.Anchored = true | |
2037 | lb2.Transparency = 0 | |
2038 | lb2.Size = Vector3.new(2,2,2) | |
2039 | lb2.CFrame = lbs.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
2040 | lb2.CFrame = lb2.CFrame + lb.CFrame.lookVector*15 | |
2041 | local thing2 = Instance.new("SpecialMesh",lb2) | |
2042 | thing2.MeshType = "Sphere" | |
2043 | thing2.Scale = Vector3.new(0.5,0.5,1.5) | |
2044 | lb.Touched:connect(function(hit) | |
2045 | MagniDamage(hit, 12, 40, 60, 10, "Normal") | |
2046 | end) | |
2047 | lb2.Touched:connect(function(hit) | |
2048 | MagniDamage(hit, 12, 40, 60, 10, "Normal") | |
2049 | end) | |
2050 | end | |
2051 | MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,-0.1,-0.1,-0.1,0.025) | |
2052 | MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,-0.1,-0.1,-0.1,0.025) | |
2053 | MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,0.5,0.5,0.5,0.025) | |
2054 | MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,0.5,0.5,0.5,0.025) | |
2055 | CreateSound("925629856", lbs, 5, 1) | |
2056 | game:GetService("Debris"):AddItem(bulletgos, 7) | |
2057 | game:GetService("Debris"):AddItem(bulletgos2, 7) | |
2058 | for i,v in pairs(bulletgos:children()) do | |
2059 | if v:IsA("Part") then | |
2060 | v.Anchored = false | |
2061 | MagicBlock(v.BrickColor,v.CFrame,1,1,1,0.25,0.25,0.25,0.025) | |
2062 | local bv = Instance.new("BodyVelocity") | |
2063 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
2064 | bv.velocity = v.CFrame.lookVector*25 | |
2065 | bv.Parent = v | |
2066 | game:GetService("Debris"):AddItem(v, 5) | |
2067 | end | |
2068 | end | |
2069 | for i,v in pairs(bulletgos2:children()) do | |
2070 | if v:IsA("Part") then | |
2071 | v.Anchored = false | |
2072 | MagicBlock(v.BrickColor,v.CFrame,1,1,1,0.25,0.25,0.25,0.025) | |
2073 | local bv = Instance.new("BodyVelocity") | |
2074 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
2075 | bv.velocity = v.CFrame.lookVector*-25 | |
2076 | bv.Parent = v | |
2077 | game:GetService("Debris"):AddItem(v, 5) | |
2078 | end | |
2079 | end | |
2080 | wait(1) | |
2081 | end | |
2082 | attack = false | |
2083 | hum.WalkSpeed = 8 | |
2084 | end | |
2085 | ------------------------------------------------------- | |
2086 | --End Attacks N Stuff-- | |
2087 | ------------------------------------------------------- | |
2088 | mouse.KeyDown:connect(function(key) | |
2089 | if string.byte(key) == 48 then | |
2090 | Swing = 2 | |
2091 | hum.WalkSpeed = 38.82 | |
2092 | end | |
2093 | end) | |
2094 | mouse.KeyUp:connect(function(key) | |
2095 | if string.byte(key) == 48 then | |
2096 | Swing = 1 | |
2097 | hum.WalkSpeed = 8 | |
2098 | end | |
2099 | end) | |
2100 | mouse.KeyDown:connect(function(key) | |
2101 | if attack == false then | |
2102 | if key == 'q' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
2103 | EdgyMode = true | |
2104 | tecks2.Text = "Edgy" | |
2105 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
2106 | tecks2.TextStrokeColor3 = Color3.fromRGB(98, 37, 209) | |
2107 | for i, v in pairs(ArmourParts) do | |
2108 | v.BrickColor = BrickColor.new("Black") | |
2109 | end | |
2110 | for i, v in pairs(ArmourParts2) do | |
2111 | v.BrickColor = BrickColor.new("Really black") | |
2112 | end | |
2113 | for i, v in pairs(NeonParts) do | |
2114 | v.BrickColor = BrickColor.new("Royal purple") | |
2115 | end | |
2116 | maincolor = BrickColor.new("Royal purple") | |
2117 | Music.SoundId = "rbxassetid://1470848774" | |
2118 | Music.Parent = tors | |
2119 | Music:Play() | |
2120 | elseif key == 'q' and EdgyMode == true and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
2121 | EdgyMode = false | |
2122 | tecks2.Text = "Neutral" | |
2123 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
2124 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
2125 | resetmode() | |
2126 | Music.SoundId = "rbxassetid://1117396305" | |
2127 | Music.Parent = tors | |
2128 | Music:Play() | |
2129 | elseif key == 'e' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
2130 | Divinity = true | |
2131 | tecks2.Text = "Divinity" | |
2132 | tecks2.TextColor3 = Color3.new(1, 1, 1) | |
2133 | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 0) | |
2134 | for i, v in pairs(ArmourParts) do | |
2135 | v.BrickColor = BrickColor.new("Institutional white") | |
2136 | end | |
2137 | for i, v in pairs(ArmourParts2) do | |
2138 | v.BrickColor = BrickColor.new("White") | |
2139 | end | |
2140 | for i, v in pairs(NeonParts) do | |
2141 | v.BrickColor = BrickColor.new("New Yeller") | |
2142 | end | |
2143 | maincolor = BrickColor.new("New Yeller") | |
2144 | Music.SoundId = "rbxassetid://595800581" | |
2145 | Music.Parent = tors | |
2146 | Music:Play() | |
2147 | elseif key == 'e' and EdgyMode == false and Divinity == true and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
2148 | Divinity = false | |
2149 | tecks2.Text = "Neutral" | |
2150 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
2151 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
2152 | resetmode() | |
2153 | Music.SoundId = "rbxassetid://1117396305" | |
2154 | Music.Parent = tors | |
2155 | Music:Play() | |
2156 | elseif key == 'r' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
2157 | Fighter = true | |
2158 | tecks2.Text = "Fighter" | |
2159 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
2160 | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255) | |
2161 | for i, v in pairs(ArmourParts) do | |
2162 | v.BrickColor = BrickColor.new("Black") | |
2163 | end | |
2164 | for i, v in pairs(ArmourParts2) do | |
2165 | v.BrickColor = BrickColor.new("Really black") | |
2166 | end | |
2167 | for i, v in pairs(NeonParts) do | |
2168 | v.BrickColor = BrickColor.new("Institutional white") | |
2169 | end | |
2170 | maincolor = BrickColor.new("Institutional white") | |
2171 | Music.SoundId = "rbxassetid://493647101" | |
2172 | Music.Parent = tors | |
2173 | Music:Play() | |
2174 | elseif key == 'r' and EdgyMode == false and Divinity == false and Fighter == true and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
2175 | Fighter = false | |
2176 | tecks2.Text = "Neutral" | |
2177 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
2178 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
2179 | resetmode() | |
2180 | Music.SoundId = "rbxassetid://1117396305" | |
2181 | Music.Parent = tors | |
2182 | Music:Play() | |
2183 | elseif key == 't' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
2184 | Purity = true | |
2185 | tecks2.Text = "Purity" | |
2186 | tecks2.TextColor3 = Color3.new(1, 1, 1) | |
2187 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 255, 255) | |
2188 | for i, v in pairs(ArmourParts) do | |
2189 | v.BrickColor = BrickColor.new("Institutional white") | |
2190 | end | |
2191 | for i, v in pairs(ArmourParts2) do | |
2192 | v.BrickColor = BrickColor.new("Institutional white") | |
2193 | end | |
2194 | for i, v in pairs(NeonParts) do | |
2195 | v.BrickColor = BrickColor.new("Toothpaste") | |
2196 | end | |
2197 | maincolor = BrickColor.new("Toothpaste") | |
2198 | Music.SoundId = "rbxassetid://553751015" | |
2199 | Music.Parent = tors | |
2200 | Music:Play() | |
2201 | elseif key == 't' and EdgyMode == false and Divinity == false and Fighter == false and Purity == true and Destruction == false and helpme == false and Planetary == false then | |
2202 | Purity = false | |
2203 | tecks2.Text = "Neutral" | |
2204 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
2205 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
2206 | resetmode() | |
2207 | Music.SoundId = "rbxassetid://1117396305" | |
2208 | Music.Parent = tors | |
2209 | Music:Play() | |
2210 | elseif key == 'y' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
2211 | Destruction = true | |
2212 | tecks2.Text = "Destruction" | |
2213 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
2214 | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 0, 0) | |
2215 | for i, v in pairs(ArmourParts) do | |
2216 | v.BrickColor = BrickColor.new("Really black") | |
2217 | end | |
2218 | for i, v in pairs(ArmourParts2) do | |
2219 | v.BrickColor = BrickColor.new("Black") | |
2220 | end | |
2221 | for i, v in pairs(NeonParts) do | |
2222 | v.BrickColor = BrickColor.new("Really red") | |
2223 | end | |
2224 | maincolor = BrickColor.new("Really red") | |
2225 | Music.SoundId = "rbxassetid://613361202" | |
2226 | Music.Parent = tors | |
2227 | Music:Play() | |
2228 | elseif key == 'y' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == true and helpme == false and Planetary == false then | |
2229 | Destruction = false | |
2230 | tecks2.Text = "Neutral" | |
2231 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
2232 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
2233 | resetmode() | |
2234 | Music.SoundId = "rbxassetid://1117396305" | |
2235 | Music.Parent = tors | |
2236 | Music:Play() | |
2237 | elseif key == 'u' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
2238 | helpme = true | |
2239 | tecks2.Text = "iNsAnItY" | |
2240 | Music.SoundId = "rbxassetid://460874877" | |
2241 | Music.Parent = tors | |
2242 | Music:Play() | |
2243 | elseif key == 'u' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == true and Planetary == false then | |
2244 | helpme = false | |
2245 | tecks2.Text = "Neutral" | |
2246 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
2247 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
2248 | resetmode() | |
2249 | Music.SoundId = "rbxassetid://1117396305" | |
2250 | Music.Parent = tors | |
2251 | Music:Play() | |
2252 | elseif key == 'n' and tecks2.TextTransparency == 1 and tecks2.TextStrokeTransparency == 1 then | |
2253 | tecks2.TextTransparency = 0 | |
2254 | tecks2.TextStrokeTransparency = 0 | |
2255 | elseif key == 'n' and tecks2.TextTransparency == 0 and tecks2.TextStrokeTransparency == 0 then | |
2256 | tecks2.TextTransparency = 1 | |
2257 | tecks2.TextStrokeTransparency = 1 | |
2258 | elseif key == 'f' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
2259 | Planetary = true | |
2260 | tecks2.Text = "Planetary" | |
2261 | tecks2.TextColor3 = Color3.fromRGB(61, 21, 133) | |
2262 | tecks2.TextStrokeColor3 = Color3.fromRGB(61, 21, 133) | |
2263 | for i, v in pairs(ArmourParts) do | |
2264 | v.BrickColor = BrickColor.new("Dark indigo") | |
2265 | end | |
2266 | for i, v in pairs(ArmourParts2) do | |
2267 | v.BrickColor = BrickColor.new("Dark indigo") | |
2268 | end | |
2269 | for i, v in pairs(NeonParts) do | |
2270 | v.BrickColor = BrickColor.new("Dark indigo") | |
2271 | end | |
2272 | maincolor = BrickColor.new("Dark indigo") | |
2273 | Music.SoundId = "rbxassetid://609934004" | |
2274 | Music.Parent = tors | |
2275 | Music:Play() | |
2276 | elseif key == 'f' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == true then | |
2277 | Planetary = false | |
2278 | tecks2.Text = "Neutral" | |
2279 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
2280 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
2281 | resetmode() | |
2282 | Music.SoundId = "rbxassetid://1117396305" | |
2283 | Music.Parent = tors | |
2284 | Music:Play() | |
2285 | end | |
2286 | end | |
2287 | end) | |
2288 | mouse.KeyDown:connect(function(key) | |
2289 | if attack == false then | |
2290 | if EdgyMode == true then | |
2291 | if key == 'r' then | |
2292 | Decapitate() | |
2293 | elseif key == 'e' then | |
2294 | Laugh() | |
2295 | end | |
2296 | end | |
2297 | if Divinity == true then | |
2298 | if key == 'r' then | |
2299 | Beam_Of_Light() | |
2300 | elseif key == 'f' then | |
2301 | Blast_Of_God() | |
2302 | end | |
2303 | end | |
2304 | if Fighter == true then | |
2305 | if key == 'e' then | |
2306 | Flying_Kick() | |
2307 | elseif key == 'f' then | |
2308 | UpperCut() | |
2309 | elseif key == 't' then | |
2310 | Spinning_Kick() | |
2311 | end | |
2312 | end | |
2313 | if Purity == true then | |
2314 | if key == 'r' then | |
2315 | Purity_Slam() | |
2316 | end | |
2317 | end | |
2318 | if Destruction == true then | |
2319 | if key == 'r' then | |
2320 | Diablo_Explosion() | |
2321 | elseif key == 'f' then | |
2322 | Hell_From_Above() | |
2323 | elseif key == 't' then | |
2324 | Spinning_Below() | |
2325 | end | |
2326 | end | |
2327 | if helpme == true then | |
2328 | if key == 'r' then | |
2329 | Painful_Stomp() | |
2330 | elseif key == 'f' then | |
2331 | Ending() | |
2332 | elseif key == 't' then | |
2333 | Ende_der_Weld() | |
2334 | end | |
2335 | end | |
2336 | end | |
2337 | end) | |
2338 | ||
2339 | ||
2340 | ||
2341 | ||
2342 | ||
2343 | ||
2344 | ------------------------------------------------------- | |
2345 | --Start Animations-- | |
2346 | ------------------------------------------------------- | |
2347 | local equipped = false | |
2348 | local idle = 0 | |
2349 | local change = 1 | |
2350 | local val = 0 | |
2351 | local toim = 0 | |
2352 | local idleanim = 0.4 | |
2353 | hum.WalkSpeed = 8 | |
2354 | hum.Animator.Parent = nil | |
2355 | while true do | |
2356 | swait() | |
2357 | Music.Parent = char | |
2358 | if helpme == true then | |
2359 | for i, v in pairs(ArmourParts) do | |
2360 | v.BrickColor = BrickColor.random() | |
2361 | end | |
2362 | for i, v in pairs(ArmourParts2) do | |
2363 | v.BrickColor = BrickColor.random() | |
2364 | end | |
2365 | for i, v in pairs(NeonParts) do | |
2366 | v.BrickColor = BrickColor.random() | |
2367 | end | |
2368 | maincolor = BrickColor.random() | |
2369 | tecks2.TextColor3 = maincolor.Color | |
2370 | tecks2.TextStrokeColor3 = maincolor.Color | |
2371 | 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)) | |
2372 | end | |
2373 | if Planetary == true then | |
2374 | 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) | |
2375 | end | |
2376 | sine = sine + change | |
2377 | local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude | |
2378 | local velderp = root.Velocity.y | |
2379 | hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char) | |
2380 | if equipped == true or equipped == false then | |
2381 | if attack == false then | |
2382 | idle = idle + 1 | |
2383 | else | |
2384 | idle = 0 | |
2385 | end | |
2386 | if 1 < root.Velocity.y and hitfloor == nil then | |
2387 | Anim = "Jump" | |
2388 | change = 1 | |
2389 | if attack == false then | |
2390 | rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3) | |
2391 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(0)), 0.3) | |
2392 | 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) | |
2393 | 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) | |
2394 | LH.C0=clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15) | |
2395 | RH.C0=clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3) | |
2396 | end | |
2397 | elseif -1 > root.Velocity.y and hitfloor == nil then | |
2398 | Anim = "Fall" | |
2399 | change = 1 | |
2400 | if attack == false then | |
2401 | rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3) | |
2402 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(0)), 0.3) | |
2403 | 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) | |
2404 | 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) | |
2405 | LH.C0 = clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15) | |
2406 | RH.C0 = clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3) | |
2407 | end | |
2408 | elseif torvel < 1 and hitfloor ~= nil then | |
2409 | Anim = "Idle" | |
2410 | change = 1 | |
2411 | if attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
2412 | 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) | |
2413 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2414 | 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) | |
2415 | 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) | |
2416 | 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) | |
2417 | 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) | |
2418 | elseif attack == false and EdgyMode == true and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
2419 | 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) | |
2420 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2421 | if Mrandom(1,15) == 1 then | |
2422 | 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) | |
2423 | end | |
2424 | 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) | |
2425 | 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) | |
2426 | 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) | |
2427 | 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) | |
2428 | elseif attack == false and EdgyMode == false and Divinity == true and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
2429 | 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) | |
2430 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3) | |
2431 | 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) | |
2432 | 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) | |
2433 | 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) | |
2434 | 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) | |
2435 | elseif attack == false and EdgyMode == false and Divinity == false and Fighter == true and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
2436 | 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) | |
2437 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-7.5 * Sin(sine / 20)), Rad(0), Rad(-85)), 0.3) | |
2438 | 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) | |
2439 | 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) | |
2440 | 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) | |
2441 | 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) | |
2442 | elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == true and Destruction == false and helpme == false and Planetary == false then | |
2443 | 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) | |
2444 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2445 | 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) | |
2446 | 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) | |
2447 | 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) | |
2448 | 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) | |
2449 | elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == true and helpme == false and Planetary == false then | |
2450 | 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) | |
2451 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(20), Rad(-15)), 0.3) | |
2452 | 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) | |
2453 | 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) | |
2454 | 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) | |
2455 | 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) | |
2456 | elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == true and Planetary == false then | |
2457 | 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) | |
2458 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(45), Rad(0), Rad(-20)), 0.3) | |
2459 | if math.random(1,1) == 1 then | |
2460 | 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) | |
2461 | 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) | |
2462 | 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) | |
2463 | 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) | |
2464 | 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) | |
2465 | 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) | |
2466 | end | |
2467 | for i, v in pairs(ArmourParts) do | |
2468 | v.BrickColor = BrickColor.random() | |
2469 | end | |
2470 | for i, v in pairs(ArmourParts2) do | |
2471 | v.BrickColor = BrickColor.random() | |
2472 | end | |
2473 | for i, v in pairs(NeonParts) do | |
2474 | v.BrickColor = BrickColor.random() | |
2475 | end | |
2476 | maincolor = BrickColor.random() | |
2477 | tecks2.TextColor3 = maincolor.Color | |
2478 | tecks2.TextStrokeColor3 = maincolor.Color | |
2479 | 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) | |
2480 | 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) | |
2481 | 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) | |
2482 | 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) | |
2483 | elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == true then | |
2484 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15) | |
2485 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3) | |
2486 | 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) | |
2487 | 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) | |
2488 | 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) | |
2489 | 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) | |
2490 | end | |
2491 | elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then | |
2492 | Anim = "Walk" | |
2493 | change = .6 | |
2494 | if attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == false then | |
2495 | 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) | |
2496 | 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) | |
2497 | 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) | |
2498 | 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) | |
2499 | 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) | |
2500 | 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) | |
2501 | elseif attack == false and EdgyMode == false and Divinity == true and Destruction == false and helpme == false and Planetary == false then | |
2502 | 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) | |
2503 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
2504 | 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) | |
2505 | 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) | |
2506 | 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) | |
2507 | 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) | |
2508 | elseif attack == false and EdgyMode == false and Divinity == false and Destruction == true and helpme == false and Planetary == false then | |
2509 | 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) | |
2510 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2511 | 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) | |
2512 | 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) | |
2513 | 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) | |
2514 | 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) | |
2515 | elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == true and Planetary == false then | |
2516 | 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) | |
2517 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(45), Rad(0), Rad(-20)), 0.3) | |
2518 | if math.random(1,1) == 1 then | |
2519 | 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) | |
2520 | 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) | |
2521 | 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) | |
2522 | 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) | |
2523 | 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) | |
2524 | 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) | |
2525 | end | |
2526 | for i, v in pairs(ArmourParts) do | |
2527 | v.BrickColor = BrickColor.random() | |
2528 | end | |
2529 | for i, v in pairs(ArmourParts2) do | |
2530 | v.BrickColor = BrickColor.random() | |
2531 | end | |
2532 | for i, v in pairs(NeonParts) do | |
2533 | v.BrickColor = BrickColor.random() | |
2534 | end | |
2535 | maincolor = BrickColor.random() | |
2536 | tecks2.TextColor3 = maincolor.Color | |
2537 | tecks2.TextStrokeColor3 = maincolor.Color | |
2538 | 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) | |
2539 | 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) | |
2540 | 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) | |
2541 | 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) | |
2542 | elseif attack == false and EdgyMode == true and Divinity == false and Destruction == false and helpme == false and Planetary == false then | |
2543 | 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) | |
2544 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2545 | if Mrandom(1,15) == 1 then | |
2546 | 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) | |
2547 | end | |
2548 | 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) | |
2549 | 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) | |
2550 | 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) | |
2551 | 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) | |
2552 | elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == true then | |
2553 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(35), Rad(0), Rad(0)), 0.15) | |
2554 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
2555 | 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) | |
2556 | 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) | |
2557 | 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) | |
2558 | 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) | |
2559 | end | |
2560 | elseif torvel >= 25 and hitfloor ~= nil then | |
2561 | Anim = "Sprint" | |
2562 | change = 1.35 | |
2563 | if attack == false and Divinity == false and Destruction == false and helpme == false and Planetary == false then | |
2564 | 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) | |
2565 | 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) | |
2566 | 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) | |
2567 | 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) | |
2568 | 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) | |
2569 | 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) | |
2570 | elseif attack == false and EdgyMode == false and Divinity == true and Destruction == false and helpme == false and Planetary == false then | |
2571 | 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) | |
2572 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
2573 | 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) | |
2574 | 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) | |
2575 | 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) | |
2576 | 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) | |
2577 | elseif attack == false and EdgyMode == false and Divinity == false and Destruction == true and helpme == false and Planetary == false then | |
2578 | 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) | |
2579 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-25 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2580 | 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) | |
2581 | 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) | |
2582 | 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) | |
2583 | 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) | |
2584 | elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == true and Planetary == false then | |
2585 | 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) | |
2586 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(25), Rad(0), Rad(0)), 0.3) | |
2587 | if math.random(1,1) == 1 then | |
2588 | 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) | |
2589 | 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) | |
2590 | 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) | |
2591 | 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) | |
2592 | 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) | |
2593 | 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) | |
2594 | end | |
2595 | for i, v in pairs(ArmourParts) do | |
2596 | v.BrickColor = BrickColor.random() | |
2597 | end | |
2598 | for i, v in pairs(ArmourParts2) do | |
2599 | v.BrickColor = BrickColor.random() | |
2600 | end | |
2601 | for i, v in pairs(NeonParts) do | |
2602 | v.BrickColor = BrickColor.random() | |
2603 | end | |
2604 | maincolor = BrickColor.random() | |
2605 | tecks2.TextColor3 = maincolor.Color | |
2606 | tecks2.TextStrokeColor3 = maincolor.Color | |
2607 | 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) | |
2608 | 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) | |
2609 | 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) | |
2610 | 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) | |
2611 | elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == true then | |
2612 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(75), Rad(0), Rad(10)), 0.15) | |
2613 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-40 - 4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3) | |
2614 | 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) | |
2615 | 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) | |
2616 | 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) | |
2617 | 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) | |
2618 | end | |
2619 | end | |
2620 | end | |
2621 | if 0 < #Effects then | |
2622 | for e = 1, #Effects do | |
2623 | if Effects[e] ~= nil then | |
2624 | local Thing = Effects[e] | |
2625 | if Thing ~= nil then | |
2626 | local Part = Thing[1] | |
2627 | local Mode = Thing[2] | |
2628 | local Delay = Thing[3] | |
2629 | local IncX = Thing[4] | |
2630 | local IncY = Thing[5] | |
2631 | local IncZ = Thing[6] | |
2632 | if 1 >= Thing[1].Transparency then | |
2633 | if Thing[2] == "Block1" then | |
2634 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2635 | local Mesh = Thing[1].Mesh | |
2636 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2637 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2638 | elseif Thing[2] == "Block2" then | |
2639 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
2640 | local Mesh = Thing[7] | |
2641 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2642 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2643 | elseif Thing[2] == "Block3" then | |
2644 | 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) | |
2645 | local Mesh = Thing[7] | |
2646 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2647 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2648 | elseif Thing[2] == "Cylinder" then | |
2649 | local Mesh = Thing[1].Mesh | |
2650 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2651 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2652 | elseif Thing[2] == "Blood" then | |
2653 | local Mesh = Thing[7] | |
2654 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
2655 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2656 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2657 | elseif Thing[2] == "Elec" then | |
2658 | local Mesh = Thing[1].Mesh | |
2659 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
2660 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2661 | elseif Thing[2] == "Disappear" then | |
2662 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2663 | elseif Thing[2] == "Shatter" then | |
2664 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2665 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
2666 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
2667 | Thing[6] = Thing[6] + Thing[5] | |
2668 | end | |
2669 | else | |
2670 | Part.Parent = nil | |
2671 | table.remove(Effects, e) | |
2672 | end | |
2673 | end | |
2674 | end | |
2675 | end | |
2676 | end | |
2677 | end | |
2678 | ------------------------------------------------------- | |
2679 | --End Animations And Script-- | |
2680 | ------------------------------------------------------- |