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 | --|| CREATED BY SHACKLUSTER | |
144 | --\\====================================================//-- | |
145 | ||
146 | ||
147 | ||
148 | wait(0.2) | |
149 | ||
150 | ||
151 | ||
152 | Player = game:GetService("Players").LocalPlayer | |
153 | PlayerGui = Player.PlayerGui | |
154 | Cam = workspace.CurrentCamera | |
155 | Backpack = Player.Backpack | |
156 | Character = Player.Character | |
157 | Humanoid = Character.Humanoid | |
158 | Mouse = Player:GetMouse() | |
159 | RootPart = Character["HumanoidRootPart"] | |
160 | Torso = Character["Torso"] | |
161 | Head = Character["Head"] | |
162 | RightArm = Character["Right Arm"] | |
163 | LeftArm = Character["Left Arm"] | |
164 | RightLeg = Character["Right Leg"] | |
165 | LeftLeg = Character["Left Leg"] | |
166 | RootJoint = RootPart["RootJoint"] | |
167 | Neck = Torso["Neck"] | |
168 | RightShoulder = Torso["Right Shoulder"] | |
169 | LeftShoulder = Torso["Left Shoulder"] | |
170 | RightHip = Torso["Right Hip"] | |
171 | LeftHip = Torso["Left Hip"] | |
172 | local sick = Instance.new("Sound",Character) | |
173 | sick.SoundId = "rbxassetid://183142252" | |
174 | sick.Looped = true | |
175 | sick.Pitch = 1 | |
176 | sick.Volume = 5 | |
177 | sick:Play() | |
178 | Humanoid.DisplayDistanceType = "None" | |
179 | ||
180 | local naeeym2 = Instance.new("BillboardGui",Character) | |
181 | naeeym2.AlwaysOnTop = true | |
182 | naeeym2.Size = UDim2.new(5,35,2,35) | |
183 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
184 | naeeym2.Adornee = Character.Head | |
185 | naeeym2.Name = "Name" | |
186 | naeeym2.PlayerToHideFrom = Player | |
187 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
188 | tecks2.BackgroundTransparency = 1 | |
189 | tecks2.TextScaled = true | |
190 | tecks2.BorderSizePixel = 0 | |
191 | tecks2.Text = "Ali" | |
192 | tecks2.Font = "SourceSansBold" | |
193 | tecks2.TextSize = 30 | |
194 | tecks2.TextStrokeTransparency = 0 | |
195 | tecks2.TextColor3 = BrickColor.new("Really red").Color | |
196 | tecks2.TextStrokeColor3 = BrickColor.new("Really Red").Color | |
197 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
198 | tecks2.Parent = naeeym2 | |
199 | ||
200 | IT = Instance.new | |
201 | CF = CFrame.new | |
202 | VT = Vector3.new | |
203 | RAD = math.rad | |
204 | C3 = Color3.new | |
205 | UD2 = UDim2.new | |
206 | BRICKC = BrickColor.new | |
207 | ANGLES = CFrame.Angles | |
208 | EULER = CFrame.fromEulerAnglesXYZ | |
209 | COS = math.cos | |
210 | ACOS = math.acos | |
211 | SIN = math.sin | |
212 | ASIN = math.asin | |
213 | ABS = math.abs | |
214 | MRANDOM = math.random | |
215 | FLOOR = math.floor | |
216 | ||
217 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
218 | local NEWMESH = IT(MESH) | |
219 | if MESH == "SpecialMesh" then | |
220 | NEWMESH.MeshType = MESHTYPE | |
221 | if MESHID ~= "nil" and MESHID ~= "" then | |
222 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
223 | end | |
224 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
225 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
226 | end | |
227 | end | |
228 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
229 | NEWMESH.Scale = SCALE | |
230 | NEWMESH.Parent = PARENT | |
231 | return NEWMESH | |
232 | end | |
233 | ||
234 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
235 | local NEWPART = IT("Part") | |
236 | NEWPART.formFactor = FORMFACTOR | |
237 | NEWPART.Reflectance = REFLECTANCE | |
238 | NEWPART.Transparency = TRANSPARENCY | |
239 | NEWPART.CanCollide = false | |
240 | NEWPART.Locked = true | |
241 | NEWPART.Anchored = true | |
242 | if ANCHOR == false then | |
243 | NEWPART.Anchored = false | |
244 | end | |
245 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
246 | NEWPART.Name = NAME | |
247 | NEWPART.Size = SIZE | |
248 | NEWPART.Position = Torso.Position | |
249 | NEWPART.Material = MATERIAL | |
250 | NEWPART:BreakJoints() | |
251 | NEWPART.Parent = PARENT | |
252 | return NEWPART | |
253 | end | |
254 | ||
255 | --//=================================\\ | |
256 | --|| CUSTOMIZATION | |
257 | --\\=================================// | |
258 | ||
259 | Player_Size = 1 --Size of the player. | |
260 | Animation_Speed = 3 | |
261 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
262 | ||
263 | local Speed = 16 | |
264 | local Effects2 = {} | |
265 | ||
266 | --//=================================\\ | |
267 | --|| END OF CUSTOMIZATION | |
268 | --\\=================================// | |
269 | ||
270 | local function weldBetween(a, b) | |
271 | local weldd = Instance.new("ManualWeld") | |
272 | weldd.Part0 = a | |
273 | weldd.Part1 = b | |
274 | weldd.C0 = CFrame.new() | |
275 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
276 | weldd.Parent = a | |
277 | return weldd | |
278 | end | |
279 | ||
280 | --//=================================\\ | |
281 | --|| USEFUL VALUES | |
282 | --\\=================================// | |
283 | ||
284 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
285 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
286 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
287 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
288 | local CHANGEDEFENSE = 0 | |
289 | local CHANGEDAMAGE = 0 | |
290 | local CHANGEMOVEMENT = 0 | |
291 | local ANIM = "Idle" | |
292 | local ATTACK = false | |
293 | local EQUIPPED = false | |
294 | local HOLD = false | |
295 | local COMBO = 1 | |
296 | local Rooted = false | |
297 | local SINE = 0 | |
298 | local KEYHOLD = false | |
299 | local CHANGE = 2 / Animation_Speed | |
300 | local WALKINGANIM = false | |
301 | local WALK = 0 | |
302 | local VALUE1 = false | |
303 | local VALUE2 = false | |
304 | local POWERLEVEL = 1 | |
305 | local DEATH = false | |
306 | local ROBLOXIDLEANIMATION = IT("Animation") | |
307 | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
308 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
309 | --ROBLOXIDLEANIMATION.Parent = Humanoid | |
310 | local WEAPONGUI = IT("ScreenGui", PlayerGui) | |
311 | WEAPONGUI.Name = "Weapon GUI" | |
312 | local Weapon = IT("Model") | |
313 | Weapon.Name = "Adds" | |
314 | local Effects = IT("Folder", Weapon) | |
315 | Effects.Name = "Effects" | |
316 | local ANIMATOR = Humanoid.Animator | |
317 | local ANIMATE = Character.Animate | |
318 | local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"} | |
319 | local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"} | |
320 | local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"} | |
321 | local HITBLOCKSOUNDS = {"199148933", "199148947"} | |
322 | local UNANCHOR = true | |
323 | local LIMITBROKEN = false | |
324 | local HITFLOOR, HITPOS = nil | |
325 | local FLIGHT = false | |
326 | ||
327 | local SKILLTEXTCOLOR = BRICKC("Really red").Color | |
328 | ||
329 | --//=================================\\ | |
330 | --\\=================================// | |
331 | ||
332 | ||
333 | --//=================================\\ | |
334 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
335 | --\\=================================// | |
336 | ||
337 | ArtificialHB = Instance.new("BindableEvent", script) | |
338 | ArtificialHB.Name = "ArtificialHB" | |
339 | ||
340 | script:WaitForChild("ArtificialHB") | |
341 | ||
342 | frame = Frame_Speed | |
343 | tf = 0 | |
344 | allowframeloss = false | |
345 | tossremainder = false | |
346 | lastframe = tick() | |
347 | script.ArtificialHB:Fire() | |
348 | ||
349 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
350 | tf = tf + s | |
351 | if tf >= frame then | |
352 | if allowframeloss then | |
353 | script.ArtificialHB:Fire() | |
354 | lastframe = tick() | |
355 | else | |
356 | for i = 1, math.floor(tf / frame) do | |
357 | script.ArtificialHB:Fire() | |
358 | end | |
359 | lastframe = tick() | |
360 | end | |
361 | if tossremainder then | |
362 | tf = 0 | |
363 | else | |
364 | tf = tf - frame * math.floor(tf / frame) | |
365 | end | |
366 | end | |
367 | end) | |
368 | ||
369 | --//=================================\\ | |
370 | --\\=================================// | |
371 | ||
372 | ||
373 | ||
374 | ||
375 | ||
376 | --//=================================\\ | |
377 | --|| SOME FUNCTIONS | |
378 | --\\=================================// | |
379 | ||
380 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
381 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
382 | end | |
383 | ||
384 | function PositiveAngle(NUMBER) | |
385 | if NUMBER >= 0 then | |
386 | NUMBER = 0 | |
387 | end | |
388 | return NUMBER | |
389 | end | |
390 | ||
391 | function NegativeAngle(NUMBER) | |
392 | if NUMBER <= 0 then | |
393 | NUMBER = 0 | |
394 | end | |
395 | return NUMBER | |
396 | end | |
397 | ||
398 | function Swait(NUMBER) | |
399 | if NUMBER == 0 or NUMBER == nil then | |
400 | ArtificialHB.Event:wait() | |
401 | else | |
402 | for i = 1, NUMBER do | |
403 | ArtificialHB.Event:wait() | |
404 | end | |
405 | end | |
406 | end | |
407 | ||
408 | function QuaternionFromCFrame(cf) | |
409 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
410 | local trace = m00 + m11 + m22 | |
411 | if trace > 0 then | |
412 | local s = math.sqrt(1 + trace) | |
413 | local recip = 0.5 / s | |
414 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
415 | else | |
416 | local i = 0 | |
417 | if m11 > m00 then | |
418 | i = 1 | |
419 | end | |
420 | if m22 > (i == 0 and m00 or m11) then | |
421 | i = 2 | |
422 | end | |
423 | if i == 0 then | |
424 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
425 | local recip = 0.5 / s | |
426 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
427 | elseif i == 1 then | |
428 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
429 | local recip = 0.5 / s | |
430 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
431 | elseif i == 2 then | |
432 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
433 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
434 | end | |
435 | end | |
436 | end | |
437 | ||
438 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
439 | local xs, ys, zs = x + x, y + y, z + z | |
440 | local wx, wy, wz = w * xs, w * ys, w * zs | |
441 | local xx = x * xs | |
442 | local xy = x * ys | |
443 | local xz = x * zs | |
444 | local yy = y * ys | |
445 | local yz = y * zs | |
446 | local zz = z * zs | |
447 | 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)) | |
448 | end | |
449 | ||
450 | function QuaternionSlerp(a, b, t) | |
451 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
452 | local startInterp, finishInterp; | |
453 | if cosTheta >= 0.0001 then | |
454 | if (1 - cosTheta) > 0.0001 then | |
455 | local theta = ACOS(cosTheta) | |
456 | local invSinTheta = 1 / SIN(theta) | |
457 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
458 | finishInterp = SIN(t * theta) * invSinTheta | |
459 | else | |
460 | startInterp = 1 - t | |
461 | finishInterp = t | |
462 | end | |
463 | else | |
464 | if (1 + cosTheta) > 0.0001 then | |
465 | local theta = ACOS(-cosTheta) | |
466 | local invSinTheta = 1 / SIN(theta) | |
467 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
468 | finishInterp = SIN(t * theta) * invSinTheta | |
469 | else | |
470 | startInterp = t - 1 | |
471 | finishInterp = t | |
472 | end | |
473 | end | |
474 | 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 | |
475 | end | |
476 | ||
477 | function Clerp(a, b, t) | |
478 | local qa = {QuaternionFromCFrame(a)} | |
479 | local qb = {QuaternionFromCFrame(b)} | |
480 | local ax, ay, az = a.x, a.y, a.z | |
481 | local bx, by, bz = b.x, b.y, b.z | |
482 | local _t = 1 - t | |
483 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
484 | end | |
485 | ||
486 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
487 | local frame = IT("Frame") | |
488 | frame.BackgroundTransparency = TRANSPARENCY | |
489 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
490 | frame.Position = POSITION | |
491 | frame.Size = SIZE | |
492 | frame.BackgroundColor3 = COLOR | |
493 | frame.BorderColor3 = BORDERCOLOR | |
494 | frame.Name = NAME | |
495 | frame.Parent = PARENT | |
496 | return frame | |
497 | end | |
498 | ||
499 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
500 | local label = IT("TextLabel") | |
501 | label.BackgroundTransparency = 1 | |
502 | label.Size = UD2(1, 0, 1, 0) | |
503 | label.Position = UD2(0, 0, 0, 0) | |
504 | label.TextColor3 = TEXTCOLOR | |
505 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
506 | label.TextTransparency = TRANSPARENCY | |
507 | label.FontSize = TEXTFONTSIZE | |
508 | label.Font = TEXTFONT | |
509 | label.BorderSizePixel = BORDERSIZEPIXEL | |
510 | label.TextScaled = false | |
511 | label.Text = TEXT | |
512 | label.Name = NAME | |
513 | label.Parent = PARENT | |
514 | return label | |
515 | end | |
516 | ||
517 | function NoOutlines(PART) | |
518 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
519 | end | |
520 | ||
521 | ||
522 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
523 | local NEWWELD = IT(TYPE) | |
524 | NEWWELD.Part0 = PART0 | |
525 | NEWWELD.Part1 = PART1 | |
526 | NEWWELD.C0 = C0 | |
527 | NEWWELD.C1 = C1 | |
528 | NEWWELD.Parent = PARENT | |
529 | return NEWWELD | |
530 | end | |
531 | ||
532 | local SOUND = IT("Sound") | |
533 | ||
534 | function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP) | |
535 | local NEWSOUND = nil | |
536 | coroutine.resume(coroutine.create(function() | |
537 | NEWSOUND = SOUND:Clone() | |
538 | NEWSOUND.Parent = PARENT | |
539 | NEWSOUND.Volume = VOLUME | |
540 | NEWSOUND.Pitch = PITCH | |
541 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
542 | --Swait() | |
543 | NEWSOUND:play() | |
544 | if DOESLOOP == false then | |
545 | repeat Swait() until NEWSOUND.Playing == false | |
546 | NEWSOUND:remove() | |
547 | elseif DOESLOOP == true then | |
548 | NEWSOUND.Looped = true | |
549 | end | |
550 | end)) | |
551 | return NEWSOUND | |
552 | end | |
553 | ||
554 | function CFrameFromTopBack(at, top, back) | |
555 | local right = top:Cross(back) | |
556 | return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z) | |
557 | end | |
558 | ||
559 | function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW) | |
560 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0)) | |
561 | local mesh = IT("SpecialMesh",wave) | |
562 | mesh.MeshType = "FileMesh" | |
563 | mesh.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
564 | mesh.Scale = SIZE | |
565 | mesh.Offset = VT(0,0,-SIZE.X/8) | |
566 | wave.CFrame = CFRAME | |
567 | coroutine.resume(coroutine.create(function(PART) | |
568 | for i = 1, WAIT do | |
569 | Swait() | |
570 | mesh.Scale = mesh.Scale + GROW | |
571 | mesh.Offset = VT(0,0,-(mesh.Scale.X/8)) | |
572 | if DOESROT == true then | |
573 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) | |
574 | end | |
575 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
576 | if wave.Transparency > 0.99 then | |
577 | wave:remove() | |
578 | end | |
579 | end | |
580 | end)) | |
581 | end | |
582 | ||
583 | function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW) | |
584 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0)) | |
585 | local mesh = IT("SpecialMesh",wave) | |
586 | mesh.MeshType = "FileMesh" | |
587 | mesh.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
588 | mesh.Scale = SIZE | |
589 | mesh.Offset = VT(0,0,0) | |
590 | wave.CFrame = CFRAME | |
591 | coroutine.resume(coroutine.create(function(PART) | |
592 | for i = 1, WAIT do | |
593 | Swait() | |
594 | mesh.Scale = mesh.Scale + GROW | |
595 | if DOESROT == true then | |
596 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) | |
597 | end | |
598 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
599 | if wave.Transparency > 0.99 then | |
600 | wave:remove() | |
601 | end | |
602 | end | |
603 | end)) | |
604 | end | |
605 | ||
606 | function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW) | |
607 | local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true) | |
608 | local mesh = IT("SpecialMesh",wave) | |
609 | mesh.MeshType = "Sphere" | |
610 | mesh.Scale = SIZE | |
611 | mesh.Offset = VT(0,0,0) | |
612 | wave.CFrame = CFRAME | |
613 | coroutine.resume(coroutine.create(function(PART) | |
614 | for i = 1, WAIT do | |
615 | Swait() | |
616 | mesh.Scale = mesh.Scale + GROW | |
617 | wave.Transparency = wave.Transparency + (1/WAIT) | |
618 | if wave.Transparency > 0.99 then | |
619 | wave:remove() | |
620 | end | |
621 | end | |
622 | end)) | |
623 | end | |
624 | ||
625 | function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT) | |
626 | if FLOOR ~= nil then | |
627 | coroutine.resume(coroutine.create(function() | |
628 | local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Really red", "DebreeCenter", VT(0,0,0)) | |
629 | PART.CFrame = CF(POSITION) | |
630 | for i = 1, 45 do | |
631 | local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Really red", "DebreePart", BLOCKSIZE) | |
632 | RingPiece.Material = FLOOR.Material | |
633 | RingPiece.Color = FLOOR.Color | |
634 | RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))) | |
635 | Debris:AddItem(RingPiece,SWAIT) | |
636 | end | |
637 | PART:remove() | |
638 | end)) | |
639 | end | |
640 | end | |
641 | ||
642 | function Slice(SIZE,WAIT,CFRAME,COLOR,GROW) | |
643 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true) | |
644 | local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0)) | |
645 | wave.CFrame = CFRAME | |
646 | coroutine.resume(coroutine.create(function(PART) | |
647 | for i = 1, WAIT do | |
648 | Swait() | |
649 | mesh.Scale = mesh.Scale * GROW | |
650 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
651 | if wave.Transparency > 0.99 then | |
652 | wave:remove() | |
653 | end | |
654 | end | |
655 | end)) | |
656 | end | |
657 | ||
658 | function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH) | |
659 | if FLOOR ~= nil then | |
660 | for i = 1, AMOUNT do | |
661 | local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Debree", BLOCKSIZE, false) | |
662 | DEBREE.Material = FLOOR.Material | |
663 | DEBREE.Color = FLOOR.Color | |
664 | DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))) | |
665 | DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),STRENGTH,MRANDOM(-STRENGTH,STRENGTH)) | |
666 | coroutine.resume(coroutine.create(function() | |
667 | Swait(15) | |
668 | DEBREE.Parent = workspace | |
669 | DEBREE.CanCollide = true | |
670 | Debris:AddItem(DEBREE,SWAIT) | |
671 | end)) | |
672 | end | |
673 | end | |
674 | end | |
675 | ||
676 | function MakeForm(PART,TYPE) | |
677 | if TYPE == "Cyl" then | |
678 | local MSH = IT("CylinderMesh",PART) | |
679 | elseif TYPE == "Ball" then | |
680 | local MSH = IT("SpecialMesh",PART) | |
681 | MSH.MeshType = "Sphere" | |
682 | elseif TYPE == "Wedge" then | |
683 | local MSH = IT("SpecialMesh",PART) | |
684 | MSH.MeshType = "Wedge" | |
685 | end | |
686 | end | |
687 | ||
688 | function CheckTableForString(Table, String) | |
689 | for i, v in pairs(Table) do | |
690 | if string.find(string.lower(String), string.lower(v)) then | |
691 | return true | |
692 | end | |
693 | end | |
694 | return false | |
695 | end | |
696 | ||
697 | function CheckIntangible(Hit) | |
698 | local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"} | |
699 | if Hit and Hit.Parent then | |
700 | if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then | |
701 | return true | |
702 | end | |
703 | end | |
704 | return false | |
705 | end | |
706 | ||
707 | Debris = game:GetService("Debris") | |
708 | ||
709 | function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit) | |
710 | local Direction = CFrame.new(StartPos, Vec).lookVector | |
711 | local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore}) | |
712 | local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore) | |
713 | if RayHit and CheckIntangible(RayHit) then | |
714 | if DelayIfHit then | |
715 | wait() | |
716 | end | |
717 | RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit) | |
718 | end | |
719 | return RayHit, RayPos, RayNormal | |
720 | end | |
721 | ||
722 | function turnto(position) | |
723 | RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) | |
724 | end | |
725 | ||
726 | --//=================================\\ | |
727 | --|| WEAPON CREATION | |
728 | --\\=================================// | |
729 | ||
730 | function particles(art) | |
731 | local EyeSizes={ | |
732 | NumberSequenceKeypoint.new(0,1,0), | |
733 | NumberSequenceKeypoint.new(1,1,0) | |
734 | } | |
735 | local EyeTrans={ | |
736 | NumberSequenceKeypoint.new(0,0.8,0), | |
737 | NumberSequenceKeypoint.new(1,1,0) | |
738 | } | |
739 | local PE=Instance.new("ParticleEmitter",art) | |
740 | PE.LightEmission=.8 | |
741 | PE.Color = ColorSequence.new(BRICKC("Really red").Color) | |
742 | PE.Size=NumberSequence.new(EyeSizes) | |
743 | PE.Transparency=NumberSequence.new(EyeTrans) | |
744 | PE.Lifetime=NumberRange.new(0.35,0.35,0.35) | |
745 | PE.Rotation=NumberRange.new(0,360) | |
746 | PE.Rate=999 | |
747 | PE.VelocitySpread = 10000 | |
748 | PE.Acceleration = Vector3.new(0,75,0) | |
749 | PE.Drag = 5 | |
750 | PE.Speed = NumberRange.new(0,0,0) | |
751 | PE.Texture="http://www.roblox.com/asset/?id=341277531" | |
752 | PE.ZOffset = -1.5 | |
753 | PE.Name = "PE" | |
754 | end | |
755 | ||
756 | Weapon.Parent = Character | |
757 | ||
758 | Humanoid.Died:connect(function() | |
759 | ATTACK = true | |
760 | DEATH = true | |
761 | end) | |
762 | ||
763 | local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") | |
764 | local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame") | |
765 | local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame") | |
766 | local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame") | |
767 | local SKILL5FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame") | |
768 | local SKILL6FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame") | |
769 | ||
770 | local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Warp", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 1") | |
771 | local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Rival Smash", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 2") | |
772 | local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Chunk chuck", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 3") | |
773 | local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Boost", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 4") | |
774 | local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] X-Event", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 5") | |
775 | local SKILL6TEXT = CreateLabel(SKILL6FRAME, "Power level: ["..POWERLEVEL.."]", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 6") | |
776 | ||
777 | --//=================================\\ | |
778 | --|| DAMAGING | |
779 | --\\=================================// | |
780 | ||
781 | function killnearest(position,range,maxstrength) | |
782 | for i,v in ipairs(workspace:GetChildren()) do | |
783 | if v.ClassName == "Model" then | |
784 | local body = v:GetChildren() | |
785 | for part = 1, #body do | |
786 | if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then | |
787 | if(body[part].Position - position).Magnitude < range then | |
788 | if v.ClassName == "Model" then | |
789 | v:BreakJoints() | |
790 | end | |
791 | --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2}) | |
792 | body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength | |
793 | end | |
794 | end | |
795 | end | |
796 | end | |
797 | end | |
798 | end | |
799 | ||
800 | --//=================================\\ | |
801 | --|| ATTACK FUNCTIONS AND STUFF | |
802 | --\\=================================// | |
803 | ||
804 | Humanoid.HealthChanged:connect(function() | |
805 | if DEATH == false then | |
806 | if Humanoid.Health ~= "inf" then | |
807 | Humanoid.Health = "inf" | |
808 | CreateSound("907330011", Torso, 10, 1) | |
809 | end | |
810 | if Humanoid.MaxHealth ~= "inf" then | |
811 | Humanoid.MaxHealth = "inf" | |
812 | end | |
813 | end | |
814 | end) | |
815 | ||
816 | function VanishPlayer() | |
817 | tecks2.TextTransparency = 1 | |
818 | tecks2.TextStrokeTransparency = 1 | |
819 | for _, c in pairs(Character:GetChildren()) do | |
820 | if c.ClassName == "Part" then | |
821 | c.Transparency = 1 | |
822 | if c:FindFirstChildOfClass("Decal") then | |
823 | c:FindFirstChildOfClass("Decal").Transparency = 1 | |
824 | end | |
825 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
826 | c:FindFirstChildOfClass("ParticleEmitter").Enabled = false | |
827 | end | |
828 | elseif c.ClassName == "Accessory" then | |
829 | c.Handle.Transparency = 1 | |
830 | if c.Handle:FindFirstChildOfClass("ParticleEmitter") then | |
831 | c.Handle:FindFirstChildOfClass("ParticleEmitter").Enabled = false | |
832 | end | |
833 | end | |
834 | end | |
835 | end | |
836 | ||
837 | function Reappear() | |
838 | tecks2.TextTransparency = 0 | |
839 | tecks2.TextStrokeTransparency = 0 | |
840 | for _, c in pairs(Character:GetChildren()) do | |
841 | if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then | |
842 | c.Transparency = 0 | |
843 | if c:FindFirstChildOfClass("Decal") then | |
844 | c:FindFirstChildOfClass("Decal").Transparency = 0 | |
845 | end | |
846 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
847 | c:FindFirstChildOfClass("ParticleEmitter").Enabled = true | |
848 | end | |
849 | elseif c.ClassName == "Accessory" then | |
850 | c.Handle.Transparency = 0 | |
851 | if c.Handle:FindFirstChildOfClass("ParticleEmitter") then | |
852 | c.Handle:FindFirstChildOfClass("ParticleEmitter").Enabled = true | |
853 | end | |
854 | end | |
855 | end | |
856 | end | |
857 | ||
858 | function Warp() | |
859 | ATTACK = true | |
860 | Rooted = true | |
861 | for i = 1, 50 do | |
862 | Swait() | |
863 | CreateRing(VT(0,0,0),false,0,5,RootPart.CFrame*ANGLES(RAD(0),RAD(90),RAD(0)),"Institutional white",VT(i/3,i/3,0)) | |
864 | CreateRing(VT(0,0,0),false,0,5,RootPart.CFrame*ANGLES(RAD(0),RAD(0),RAD(0)),"Institutional white",VT(i/3,i/3,0)) | |
865 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.3 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed) | |
866 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0 + 2.5 * SIN(SINE / 12))), 3 / Animation_Speed) | |
867 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed) | |
868 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(-15), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed) | |
869 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed) | |
870 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed) | |
871 | end | |
872 | if VALUE2 == false then | |
873 | VALUE2 = true | |
874 | elseif VALUE2 == true then | |
875 | VALUE2 = false | |
876 | end | |
877 | ATTACK = false | |
878 | Rooted = false | |
879 | end | |
880 | ||
881 | function RivalingOverthrower() | |
882 | if HITFLOOR ~= nil then | |
883 | if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then | |
884 | local HITBODY = Mouse.Target.Parent | |
885 | local TORS = HITBODY:FindFirstChild("Torso") or HITBODY:FindFirstChild("UpperTorso") | |
886 | local HUMAN = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") | |
887 | if TORS ~= nil and HUMAN ~= nil then | |
888 | ATTACK = true | |
889 | Rooted = true | |
890 | TORS.Anchored = true | |
891 | RootPart.CFrame = TORS.CFrame * CF(0,0,4) | |
892 | HITFLOOR, HITPOS = Raycast(TORS.Position, (CF(TORS.Position, TORS.Position + VT(0, -1, 0))).lookVector, 4 * TORS.Size.Y/2, HITBODY) | |
893 | local FLOOR = HITFLOOR | |
894 | local POS = HITPOS | |
895 | print(FLOOR) | |
896 | UNANCHOR = false | |
897 | RootPart.Anchored = true | |
898 | CreateSound("1295446488", Torso, 10, 1) | |
899 | for i=0, 1, 0.1 / Animation_Speed do | |
900 | Swait() | |
901 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
902 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed) | |
903 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
904 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
905 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
906 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
907 | end | |
908 | local TAUNTS = {"907329532","907333294","907329893"} | |
909 | CreateSound(TAUNTS[MRANDOM(1,#TAUNTS)], Torso, 10, 1) | |
910 | for i=0, 1, 0.1 / Animation_Speed do | |
911 | Swait() | |
912 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 2 / Animation_Speed) | |
913 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 2 / Animation_Speed) | |
914 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
915 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
916 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
917 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
918 | end | |
919 | RootPart.CFrame = TORS.CFrame * CF(0,0,2) | |
920 | CreateSound("260411131", TORS, 10, 1) | |
921 | TORS.Anchored = false | |
922 | local WELD = CreateWeldOrSnapOrMotor("Weld", TORS, RightArm, TORS, CF(0,-1,-0.5) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
923 | for i=0, 1, 0.1 / Animation_Speed do | |
924 | Swait() | |
925 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 2 / Animation_Speed) | |
926 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 2 / Animation_Speed) | |
927 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
928 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
929 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
930 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
931 | end | |
932 | for i=0, 2, 0.1 / Animation_Speed do | |
933 | Swait() | |
934 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
935 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
936 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
937 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
938 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed) | |
939 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
940 | end | |
941 | for i = 1, 15 do | |
942 | CreateRing(VT(0,0,0),false,0,25,CF(TORS.Position+VT(0,-3,0))*ANGLES(RAD(90),RAD(0),RAD(0)),"Institutional white",VT(i/5,i/5,0)) | |
943 | end | |
944 | WELD:remove() | |
945 | local grav = Instance.new("BodyPosition",TORS) | |
946 | grav.P = 20000 | |
947 | grav.D = 100 | |
948 | grav.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
949 | grav.position = TORS.Position + VT(0,50,0) | |
950 | grav.Name = "GravityForce" | |
951 | for i=0, 1, 0.1 / Animation_Speed do | |
952 | Swait() | |
953 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(45)), 2 / Animation_Speed) | |
954 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 2 / Animation_Speed) | |
955 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
956 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
957 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed) | |
958 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed) | |
959 | end | |
960 | for i=0, 2, 0.1 / Animation_Speed do | |
961 | Swait() | |
962 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
963 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
964 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
965 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
966 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed) | |
967 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
968 | end | |
969 | CreateSound("1295446488", Torso, 10, 1) | |
970 | CreateWave(VT(0,0,0),15,CF(HITPOS),true,2,"Really red",VT(1,0.1,1)) | |
971 | RootPart.CFrame = CF(TORS.Position)*CF(0,0,5) | |
972 | for i=0, 2, 0.1 / Animation_Speed do | |
973 | Swait() | |
974 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
975 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed) | |
976 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
977 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
978 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 2 / Animation_Speed) | |
979 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 2 / Animation_Speed) | |
980 | end | |
981 | VanishPlayer() | |
982 | for i = 1, 50+(25*POWERLEVEL) do | |
983 | Swait() | |
984 | CreateRing(VT(0,0,0),false,0,25,TORS.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Institutional white",VT(POWERLEVEL/3,POWERLEVEL/3,0)) | |
985 | CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], TORS, 10, 1) | |
986 | local CFRAME = CF(TORS.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))) | |
987 | MagicSphere(VT(0,0,0),15,CFRAME,"Really red",VT(0.1,0.1,POWERLEVEL*5)) | |
988 | MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",VT(0.1,0.1,POWERLEVEL*5)) | |
989 | end | |
990 | RootPart.CFrame = CF(TORS.Position)*CF(0,15,1) | |
991 | Reappear() | |
992 | for i=0, 2, 0.1 / Animation_Speed do | |
993 | Swait() | |
994 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
995 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
996 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(160), RAD(0), RAD(-20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
997 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(160), RAD(0), RAD(20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
998 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
999 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1000 | end | |
1001 | for i = 1, 15 do | |
1002 | CreateRing(VT(0,0,0),false,0,25,CF(TORS.Position+VT(0,3,0))*ANGLES(RAD(90),RAD(0),RAD(0)),"Institutional white",VT(i/5,i/5,0)) | |
1003 | end | |
1004 | RootPart.CFrame = CF(TORS.Position)*CF(0,5,1) | |
1005 | grav.Position = POS | |
1006 | CreateDebreeRing(FLOOR,POS,6*POWERLEVEL,VT(6,6,6)*POWERLEVEL,10) | |
1007 | CreateFlyingDebree(FLOOR,CF(POS),25,VT(4,4,4)*POWERLEVEL,10,50*POWERLEVEL) | |
1008 | CreateSound("289842971", TORS, 3, 1) | |
1009 | MagicSphere(VT(0,0,0),35,CF(POS),"Really red",VT(POWERLEVEL/2,POWERLEVEL/2,POWERLEVEL/2)) | |
1010 | MagicSphere(VT(0.1,0.1,0.1),35,CF(POS),"Really red",VT(POWERLEVEL/2,POWERLEVEL/2,POWERLEVEL/2)) | |
1011 | killnearest(POS,POWERLEVEL*10,5) | |
1012 | if POWERLEVEL > 3 then | |
1013 | MagicSphere(VT(0.1,500,0.1),15,CF(POS),"Institutional white",VT(POWERLEVEL,0,POWERLEVEL)) | |
1014 | end | |
1015 | CreateWave(VT(0,0,0),15,CF(POS),true,2,"Really black",VT(POWERLEVEL*2,0.1,POWERLEVEL*2)) | |
1016 | for i=0, 1, 0.1 / Animation_Speed do | |
1017 | Swait() | |
1018 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(45), RAD(0), RAD(0)), 3 / Animation_Speed) | |
1019 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed) | |
1020 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(25), RAD(0), RAD(-20)) * RIGHTSHOULDERC0, 3 / Animation_Speed) | |
1021 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(25), RAD(0), RAD(20)) * LEFTSHOULDERC0, 3 / Animation_Speed) | |
1022 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed) | |
1023 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed) | |
1024 | end | |
1025 | HITBODY:BreakJoints() | |
1026 | grav:remove() | |
1027 | ATTACK = false | |
1028 | Rooted = false | |
1029 | UNANCHOR = true | |
1030 | RootPart.Anchored = false | |
1031 | if POWERLEVEL > 1 then | |
1032 | POWERLEVEL = POWERLEVEL - 1 | |
1033 | end | |
1034 | end | |
1035 | end | |
1036 | end | |
1037 | end | |
1038 | ||
1039 | function ChunkChuck() | |
1040 | if HITFLOOR ~= nil then | |
1041 | ATTACK = true | |
1042 | Rooted = true | |
1043 | CreateSound("305685800", Head, 10, 1) | |
1044 | for i=0, 1, 0.1 / Animation_Speed do | |
1045 | Swait() | |
1046 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1047 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1048 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1049 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1050 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed) | |
1051 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed) | |
1052 | end | |
1053 | for i=0, 1, 0.1 / Animation_Speed do | |
1054 | Swait() | |
1055 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.75, -0.75 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(65), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1056 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1057 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(65), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1058 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(65), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1059 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(65)), 2 / Animation_Speed) | |
1060 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-65)), 2 / Animation_Speed) | |
1061 | end | |
1062 | CreateDebreeRing(HITFLOOR,HITPOS,3*POWERLEVEL,VT(2,2,2)*POWERLEVEL,3) | |
1063 | CreateFlyingDebree(HITFLOOR,CF(HITPOS),25,VT(2,2,2)*POWERLEVEL,3,50*POWERLEVEL) | |
1064 | local CHUNK = CreatePart(3, Effects, "Neon", 0, 0, "Peal", "Debree", VT(5,5,5)*POWERLEVEL/1.5) | |
1065 | CHUNK.Color = HITFLOOR.Color | |
1066 | CHUNK.Material = HITFLOOR.Material | |
1067 | CHUNK.CFrame = Torso.CFrame*CF(0,0,-3*POWERLEVEL) | |
1068 | CreateSound("260411131", CHUNK, 10, 1) | |
1069 | CreateSound("289842971", Torso, 3, 1) | |
1070 | repeat | |
1071 | Swait() | |
1072 | CHUNK.CFrame = Torso.CFrame*CF(0,2+(2*POWERLEVEL),0) | |
1073 | turnto(Mouse.Hit.p) | |
1074 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1075 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1076 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1077 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1078 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1079 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1080 | until HOLD == true | |
1081 | for i=0, 1, 0.1 / Animation_Speed do | |
1082 | Swait() | |
1083 | CHUNK.CFrame = Torso.CFrame*CF(0,2+(2*POWERLEVEL),0) | |
1084 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1085 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1086 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1087 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1088 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed) | |
1089 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed) | |
1090 | end | |
1091 | CHUNK.CanCollide = true | |
1092 | CHUNK.Anchored = false | |
1093 | CHUNK.CFrame = RootPart.CFrame*CF(0,0,-1*POWERLEVEL) | |
1094 | for i = 1, 25 do | |
1095 | CreateRing(VT(0,0,0),false,0,15,RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(0),RAD(0),RAD(0)),"Really red",VT((POWERLEVEL/3)/i,(POWERLEVEL/3)/i,0)) | |
1096 | end | |
1097 | local bv = Instance.new("BodyVelocity") | |
1098 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
1099 | bv.velocity = RootPart.CFrame.lookVector*400 | |
1100 | bv.Parent = CHUNK | |
1101 | local HIT = CHUNK.Touched:Connect(function(hit) | |
1102 | if hit.Parent ~= workspace and hit.Parent ~= Character and hit.Parent.ClassName == "Model" then | |
1103 | hit.Parent:BreakJoints() | |
1104 | end | |
1105 | end) | |
1106 | CreateSound("138079201", CHUNK, 10, 1) | |
1107 | Debris:AddItem(CHUNK,5) | |
1108 | for i=0, 1, 0.1 / Animation_Speed do | |
1109 | Swait() | |
1110 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1111 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1112 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(115), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1113 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(115), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1114 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed) | |
1115 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed) | |
1116 | end | |
1117 | ATTACK = false | |
1118 | Rooted = false | |
1119 | if POWERLEVEL > 1 then | |
1120 | POWERLEVEL = POWERLEVEL - 1 | |
1121 | end | |
1122 | end | |
1123 | end | |
1124 | ||
1125 | function Boost() | |
1126 | ATTACK = true | |
1127 | Rooted = true | |
1128 | CreateSound("466493476", Torso, 10, MRANDOM(7, 12) / 10) | |
1129 | for i = 1, 50 do | |
1130 | Swait() | |
1131 | CreateRing(VT(0,0,0),false,0,5,RootPart.CFrame*ANGLES(RAD(0),RAD(90),RAD(0)),"Really red",VT(i/5,i/5,0)) | |
1132 | CreateRing(VT(0,0,0),false,0,5,RootPart.CFrame*ANGLES(RAD(0),RAD(0),RAD(0)),"Really red",VT(i/5,i/5,0)) | |
1133 | CreateRing(VT(0,0,0),false,0,25,RootPart.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Institutional white",VT(i/3,i/3,0)) | |
1134 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.3 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed) | |
1135 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0 + 2.5 * SIN(SINE / 12))), 3 / Animation_Speed) | |
1136 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed) | |
1137 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(-15), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed) | |
1138 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed) | |
1139 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed) | |
1140 | end | |
1141 | POWERLEVEL = POWERLEVEL + 1 | |
1142 | ATTACK = false | |
1143 | Rooted = false | |
1144 | end | |
1145 | ||
1146 | function XEvent() | |
1147 | if HITFLOOR ~= nil then | |
1148 | VALUE2 = false | |
1149 | CreateSound("907332670", Effects, 10, 1) | |
1150 | local POS = HITPOS | |
1151 | local FLOOR = HITFLOOR | |
1152 | local STARTPOS = RootPart.CFrame | |
1153 | ATTACK = true | |
1154 | Rooted = true | |
1155 | for i=0, 2, 0.1 / Animation_Speed do | |
1156 | Swait() | |
1157 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1158 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1159 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
1160 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
1161 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed) | |
1162 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
1163 | end | |
1164 | UNANCHOR = false | |
1165 | RootPart.Anchored = true | |
1166 | CreateSound("1295446488", Effects, 10, 1) | |
1167 | RootPart.CFrame = RootPart.CFrame*CF(0,100+(150*POWERLEVEL),0) | |
1168 | for i=0, 1, 0.1 / Animation_Speed do | |
1169 | Swait() | |
1170 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1171 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1172 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1173 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1174 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed) | |
1175 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed) | |
1176 | end | |
1177 | CreateSound("289315275", Effects, 10, 1) | |
1178 | for i=0, 5, 0.1 / Animation_Speed do | |
1179 | Swait() | |
1180 | CreateRing(VT(0,0,0),false,0,25,RootPart.CFrame*CF(0,5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/1.2,POWERLEVEL/1.2,0)) | |
1181 | CreateRing(VT(0,0,0),false,0,25,RootPart.CFrame*CF(0,5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL,POWERLEVEL,0)) | |
1182 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(45)), 2 / Animation_Speed) | |
1183 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 2 / Animation_Speed) | |
1184 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1185 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1186 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed) | |
1187 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed) | |
1188 | end | |
1189 | CreateSound("260411131", Effects, 3, 1) | |
1190 | for i=0, 1, 0.1 / Animation_Speed do | |
1191 | Swait() | |
1192 | CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/5,POWERLEVEL/5,0)) | |
1193 | CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/4,POWERLEVEL/4,0)) | |
1194 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1195 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 2 / Animation_Speed) | |
1196 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.75, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1197 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1198 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed) | |
1199 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed) | |
1200 | end | |
1201 | for i=0, 0.3, 0.1 / Animation_Speed do | |
1202 | Swait() | |
1203 | CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/5,POWERLEVEL/5,0)) | |
1204 | CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/4,POWERLEVEL/4,0)) | |
1205 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1206 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 2 / Animation_Speed) | |
1207 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1208 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1209 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed) | |
1210 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed) | |
1211 | end | |
1212 | for i=0, 0.3, 0.1 / Animation_Speed do | |
1213 | Swait() | |
1214 | CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/4,POWERLEVEL/4,0)) | |
1215 | CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/3,POWERLEVEL/3,0)) | |
1216 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(75), RAD(0), RAD(45)), 2 / Animation_Speed) | |
1217 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 2 / Animation_Speed) | |
1218 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1219 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1220 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed) | |
1221 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed) | |
1222 | end | |
1223 | local BURNMARKS = {} | |
1224 | local DEATHRAY1 = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "RAY", VT(0,0,0)) | |
1225 | MakeForm(DEATHRAY1,"Cyl") | |
1226 | local DEATHRAY2 = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "RAY", VT(0,0,0)) | |
1227 | MakeForm(DEATHRAY2,"Cyl") | |
1228 | local loopsound = CreateSound("487214658", Effects, 4, 1, true) | |
1229 | local AMOUNT = POWERLEVEL * 25 | |
1230 | for i = 1, POWERLEVEL * 50 do | |
1231 | Swait() | |
1232 | MagicSphere(VT(POWERLEVEL,POWERLEVEL,POWERLEVEL)*2,35,RightArm.CFrame*CF(0,-2,0),"Really red",VT(0,0,0)) | |
1233 | CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/4,POWERLEVEL/4,0)) | |
1234 | CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/3,POWERLEVEL/3,0)) | |
1235 | local MARK = CreatePart(3, Effects, "Neon", 0, 0, "Institutional white", "BurnMark", VT(POWERLEVEL,0,POWERLEVEL)*2) | |
1236 | MARK.CFrame = CF(POS+VT(AMOUNT,0,AMOUNT)) | |
1237 | table.insert(BURNMARKS,MARK) | |
1238 | MakeForm(MARK,"Cyl") | |
1239 | CreateRing(VT(0,0,0),false,0,25,CF(POS+VT(AMOUNT,0,AMOUNT))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/5,POWERLEVEL/5,0)) | |
1240 | CreateRing(VT(0,0,0),false,0,25,CF(POS+VT(AMOUNT,0,AMOUNT))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/4,POWERLEVEL/4,0)) | |
1241 | local distance = (RightArm.CFrame*CF(0,-2,0).p - POS+VT(AMOUNT,0,AMOUNT)).magnitude | |
1242 | DEATHRAY1.Size = Vector3.new(POWERLEVEL, distance, POWERLEVEL) | |
1243 | DEATHRAY1.CFrame = CFrame.new(RightArm.CFrame*CF(0,-2,0).p,POS+VT(AMOUNT,0,AMOUNT)) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(90),RAD(0),RAD(0)) | |
1244 | DEATHRAY2.Size = Vector3.new(POWERLEVEL+0.1, distance, POWERLEVEL+0.1) | |
1245 | DEATHRAY2.CFrame = CFrame.new(RightArm.CFrame*CF(0,-2,0).p,POS+VT(AMOUNT,0,AMOUNT)) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(90),RAD(0),RAD(0)) | |
1246 | AMOUNT = AMOUNT - 1 | |
1247 | end | |
1248 | local AMOUNT = POWERLEVEL * 25 | |
1249 | for i = 1, POWERLEVEL * 50 do | |
1250 | Swait() | |
1251 | MagicSphere(VT(POWERLEVEL,POWERLEVEL,POWERLEVEL)*2,35,RightArm.CFrame*CF(0,-2,0),"Institutional white",VT(0,0,0)) | |
1252 | CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/4,POWERLEVEL/4,0)) | |
1253 | CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Institutional red",VT(POWERLEVEL/3,POWERLEVEL/3,0)) | |
1254 | local MARK = CreatePart(3, Effects, "Neon", 0, 0, "Institutional white", "BurnMark", VT(POWERLEVEL,0,POWERLEVEL)*2) | |
1255 | MARK.CFrame = CF(POS+VT(AMOUNT,0,-AMOUNT)) | |
1256 | table.insert(BURNMARKS,MARK) | |
1257 | MakeForm(MARK,"Cyl") | |
1258 | CreateRing(VT(0,0,0),false,0,25,CF(POS+VT(AMOUNT,0,-AMOUNT))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/5,POWERLEVEL/5,0)) | |
1259 | CreateRing(VT(0,0,0),false,0,25,CF(POS+VT(AMOUNT,0,-AMOUNT))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/4,POWERLEVEL/4,0)) | |
1260 | local distance = (RightArm.CFrame*CF(0,-2,0).p - POS+VT(AMOUNT,0,-AMOUNT)).magnitude | |
1261 | DEATHRAY1.Size = Vector3.new(POWERLEVEL, distance, POWERLEVEL) | |
1262 | DEATHRAY1.CFrame = CFrame.new(RightArm.CFrame*CF(0,-2,0).p,POS+VT(AMOUNT,0,-AMOUNT)) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(90),RAD(0),RAD(0)) | |
1263 | DEATHRAY2.Size = Vector3.new(POWERLEVEL+0.1, distance, POWERLEVEL+0.1) | |
1264 | DEATHRAY2.CFrame = CFrame.new(RightArm.CFrame*CF(0,-2,0).p,POS+VT(AMOUNT,0,-AMOUNT)) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(90),RAD(0),RAD(0)) | |
1265 | AMOUNT = AMOUNT - 1 | |
1266 | end | |
1267 | DEATHRAY1:remove() | |
1268 | DEATHRAY2:remove() | |
1269 | loopsound:remove() | |
1270 | for i=0, 1, 0.1 / Animation_Speed do | |
1271 | Swait() | |
1272 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(-65), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1273 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1274 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
1275 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
1276 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed) | |
1277 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
1278 | end | |
1279 | RootPart.CFrame = STARTPOS | |
1280 | for i=0, 0.1, 0.1 / Animation_Speed do | |
1281 | Swait() | |
1282 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1283 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1284 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1285 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1286 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 2 / Animation_Speed) | |
1287 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 2 / Animation_Speed) | |
1288 | end | |
1289 | for i = 1, 10+(5*POWERLEVEL) do | |
1290 | Swait() | |
1291 | CreateRing(VT(0,0,0),false,0,5,CF(POS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL*5,POWERLEVEL*5,0)) | |
1292 | CreateRing(VT(0,0,0),false,0,5,CF(POS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL*15,POWERLEVEL*15,0)) | |
1293 | end | |
1294 | local SOUND = CreateSound("314970772", Effects, 10, 1) | |
1295 | CreateSound("414517163", Effects, 10, 1) | |
1296 | IT("EchoSoundEffect",SOUND) | |
1297 | MagicSphere(VT(0,0,0),35,CF(POS),"Institutional white",VT(POWERLEVEL,POWERLEVEL,POWERLEVEL)) | |
1298 | CreateDebreeRing(FLOOR,POS,25*POWERLEVEL,VT(25,25,25)*POWERLEVEL,3) | |
1299 | CreateFlyingDebree(FLOOR,CF(POS),25,VT(4,4,4)*POWERLEVEL,3,25*POWERLEVEL) | |
1300 | for i = 1, 25 do | |
1301 | Swait() | |
1302 | MagicSphere(VT(0,0,0),15,CF(POS),"Really black",VT(POWERLEVEL,POWERLEVEL,POWERLEVEL)) | |
1303 | CreateRing(VT(0,0,0.1),false,0,45,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"Institutional white",VT(POWERLEVEL*2,POWERLEVEL*2,0)) | |
1304 | killnearest(POS,POWERLEVEL*100,500) | |
1305 | CreateRing(VT(0,0,0),false,0,15,CF(POS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL*15,POWERLEVEL*15,0)) | |
1306 | CreateRing(VT(0,0,0),false,0,15,CF(POS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL*25,POWERLEVEL*25,0)) | |
1307 | end | |
1308 | for i = 1, 50 do | |
1309 | Swait() | |
1310 | for e=1,#BURNMARKS do | |
1311 | if BURNMARKS[e]~=nil then | |
1312 | local Thing=BURNMARKS[e] | |
1313 | if Thing~=nil then | |
1314 | local Part=Thing | |
1315 | Part.Transparency = Part.Transparency + (1/50) | |
1316 | end | |
1317 | end | |
1318 | end | |
1319 | end | |
1320 | for e=1,#BURNMARKS do | |
1321 | if BURNMARKS[e]~=nil then | |
1322 | local Thing=BURNMARKS[e] | |
1323 | if Thing~=nil then | |
1324 | local Part=Thing | |
1325 | Part:remove() | |
1326 | end | |
1327 | end | |
1328 | end | |
1329 | ATTACK = false | |
1330 | Rooted = false | |
1331 | UNANCHOR = true | |
1332 | RootPart.Anchored = false | |
1333 | POWERLEVEL = 1 | |
1334 | end | |
1335 | end | |
1336 | ||
1337 | function Taunt() | |
1338 | ATTACK = true | |
1339 | Rooted = true | |
1340 | CreateSound("907330011", Head, 10, 1.1) | |
1341 | for i=0, 1, 0.1 / Animation_Speed do | |
1342 | Swait() | |
1343 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1344 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1345 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(170), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1346 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1347 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1348 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1349 | end | |
1350 | for i=0, 2, 0.1 / Animation_Speed do | |
1351 | Swait() | |
1352 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1353 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1354 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(75), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1355 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1356 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1357 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1358 | end | |
1359 | ATTACK = false | |
1360 | Rooted = false | |
1361 | end | |
1362 | ||
1363 | function BreakLimit() | |
1364 | ATTACK = true | |
1365 | Rooted = false | |
1366 | UNANCHOR = false | |
1367 | RootPart.Anchored = true | |
1368 | for i=0, 5, 0.1 / Animation_Speed do | |
1369 | Swait() | |
1370 | RootPart.CFrame = RootPart.CFrame * CF(0,0.2,0) | |
1371 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1372 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1373 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1374 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1375 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 2 / Animation_Speed) | |
1376 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 2 / Animation_Speed) | |
1377 | end | |
1378 | CreateSound("1368598393", Effects, 10, 1) | |
1379 | for i=0, 2, 0.1 / Animation_Speed do | |
1380 | Swait() | |
1381 | local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))) | |
1382 | MagicSphere(VT(0,0,0),15,CFRAME,"Really black",VT(0.1,0.1,5)) | |
1383 | MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Institutional white",VT(0.1,0.1,5)) | |
1384 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1385 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1386 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1387 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1388 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1389 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1390 | end | |
1391 | CreateSound("1368583274", Effects, 10, 1) | |
1392 | for i=0, 6, 0.1 / Animation_Speed do | |
1393 | Swait() | |
1394 | CreateRing(VT(45,5,0)*2,false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(-1,0,0)) | |
1395 | CreateRing(VT(45,5,0)*3,false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(-1,0,0)*3) | |
1396 | local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))) | |
1397 | MagicSphere(VT(0,0,0),15,CFRAME,"Really red",VT(0.1,0.1,55)) | |
1398 | MagicSphere(VT(0,0,0),15,CFRAME,"Really red",VT(2,2,2)) | |
1399 | MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",VT(0.1,0.1,55)) | |
1400 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1401 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1402 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1403 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1404 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1405 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1406 | end | |
1407 | CreateSound("907329532", Effects, 10, 1.1) | |
1408 | Swait(175) | |
1409 | CreateRing(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(7,7,0)) | |
1410 | CreateSound("1368605755", Effects, 10, 1) | |
1411 | CreateSound("1368637781", Effects, 10, 1) | |
1412 | MagicSphere(VT(0,0,0),45,Torso.CFrame,"Really red",VT(5,5,5)) | |
1413 | LIMITBROKEN = true | |
1414 | for i=0, 1, 0.1 / Animation_Speed do | |
1415 | Swait() | |
1416 | CreateRing(VT(0,0,0),false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(4,4,0)) | |
1417 | CreateRing(VT(0,0,0),false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(5,5,0)) | |
1418 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1419 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1420 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1421 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1422 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-50)), 2 / Animation_Speed) | |
1423 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(50)), 2 / Animation_Speed) | |
1424 | end | |
1425 | UNANCHOR = true | |
1426 | RootPart.Anchored = false | |
1427 | ATTACK = false | |
1428 | Rooted = false | |
1429 | end | |
1430 | ||
1431 | -- LIMIT BROKEN | |
1432 | ||
1433 | function RivalingOverthrower2() | |
1434 | if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then | |
1435 | local HITBODY = Mouse.Target.Parent | |
1436 | local TORS = HITBODY:FindFirstChild("Torso") or HITBODY:FindFirstChild("UpperTorso") | |
1437 | local HUMAN = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") | |
1438 | if TORS ~= nil and HUMAN ~= nil then | |
1439 | ATTACK = true | |
1440 | Rooted = false | |
1441 | VanishPlayer() | |
1442 | TORS.Anchored = true | |
1443 | RootPart.CFrame = TORS.CFrame*CF(0,5,0) | |
1444 | CreateSound("260411131", RootPart, 3, 1) | |
1445 | for i = 1, 75 do | |
1446 | Swait() | |
1447 | CreateRing(VT(0,0,0),false,0,25,TORS.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/3,POWERLEVEL/3,0)) | |
1448 | CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], TORS, 10, 1) | |
1449 | local CFRAME = CF(TORS.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))) | |
1450 | MagicSphere(VT(0,0,0),15,CFRAME,"Really black",VT(0.1,0.1,POWERLEVEL*5)) | |
1451 | MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Institutional white",VT(0.1,0.1,POWERLEVEL*5)) | |
1452 | TORS.CFrame = TORS.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))) | |
1453 | end | |
1454 | RootPart.CFrame = CF(TORS.Position)*CF(MRANDOM(-45,45),45,MRANDOM(-45,45)) | |
1455 | Reappear() | |
1456 | CreateSound("1368583274", RightArm, 10, 1) | |
1457 | local ORB = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Neon", VT(0,0,0)) | |
1458 | MakeForm(ORB,"Ball") | |
1459 | ORB.Color = C3(0,0,0) | |
1460 | ORB.CFrame = RightArm.CFrame * CF(0,-2,0) | |
1461 | for i=0, 4, 0.1 / Animation_Speed do | |
1462 | Swait() | |
1463 | ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0) | |
1464 | ORB.Size = ORB.Size + VT(0.03,0.03,0.03) | |
1465 | CreateRing(VT(25,25,0),false,0,25,ORB.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(-1,-1,0)) | |
1466 | RootPart.CFrame = CF(RootPart.Position,TORS.Position) | |
1467 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed) | |
1468 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed) | |
1469 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1470 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1471 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1472 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1473 | end | |
1474 | for i = 1, 5 do | |
1475 | Swait() | |
1476 | RootPart.CFrame = CF(RootPart.Position,TORS.Position) | |
1477 | ORB.Size = ORB.Size * 0.8 | |
1478 | end | |
1479 | local BEAM = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Neon", VT(0,25,0)) | |
1480 | MakeForm(BEAM,"Ball") | |
1481 | local BEAM2 = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Neon", VT(0,1000,0)) | |
1482 | MakeForm(BEAM2,"Cyl") | |
1483 | BEAM.CFrame = ORB.CFrame * CF(0,0,10) | |
1484 | ORB.Color = BRICKC("Really red").Color | |
1485 | for i = 1, 5 do | |
1486 | Swait() | |
1487 | CreateRing(VT(0,0,0.1),false,0,10,RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(2,2,0)) | |
1488 | BEAM.CFrame = ORB.CFrame * CF(0,-12.5,0) | |
1489 | BEAM.Size = BEAM.Size + VT(2,0,2) | |
1490 | BEAM2.CFrame = ORB.CFrame * CF(0,-512.5,0) | |
1491 | BEAM2.Size = BEAM2.Size + VT(2,0,2) | |
1492 | RootPart.CFrame = CF(RootPart.Position,TORS.Position) | |
1493 | ORB.Size = ORB.Size * 1.3 | |
1494 | end | |
1495 | CreateSound("1368605755", Effects, 10, 1) | |
1496 | HITBODY:BreakJoints() | |
1497 | TORS.Anchored = false | |
1498 | local POS = TORS.Position | |
1499 | for i = 1, 25 do | |
1500 | CreateRing(VT(0,0,0),false,0,25,TORS.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/3,POWERLEVEL/3,0)) | |
1501 | CreateRing(VT(0,0,0),false,0,25,TORS.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/4,POWERLEVEL/4,0)) | |
1502 | end | |
1503 | for i=0, 2, 0.1 / Animation_Speed do | |
1504 | Swait() | |
1505 | killnearest(POS,15,700) | |
1506 | CreateRing(VT(0,0,0.1),false,0,10,RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(2,2,0)) | |
1507 | BEAM.CFrame = ORB.CFrame * CF(0,-12.5,0) | |
1508 | BEAM2.CFrame = ORB.CFrame * CF(0,-512.5,0) | |
1509 | ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0) | |
1510 | RootPart.CFrame = CF(RootPart.Position,POS) | |
1511 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed) | |
1512 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed) | |
1513 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1514 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1515 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1516 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1517 | end | |
1518 | for i = 1, 5 do | |
1519 | Swait() | |
1520 | BEAM.CFrame = ORB.CFrame * CF(0,-12.5,0) | |
1521 | BEAM.Size = BEAM.Size - VT(2,0,2) | |
1522 | BEAM2.CFrame = ORB.CFrame * CF(0,-512.5,0) | |
1523 | BEAM2.Size = BEAM2.Size - VT(2,0,2) | |
1524 | RootPart.CFrame = CF(RootPart.Position,TORS.Position) | |
1525 | ORB.Size = ORB.Size * 0.8 | |
1526 | end | |
1527 | turnto(POS) | |
1528 | ORB:remove() | |
1529 | BEAM:remove() | |
1530 | BEAM2:remove() | |
1531 | ATTACK = false | |
1532 | Rooted = false | |
1533 | end | |
1534 | end | |
1535 | end | |
1536 | ||
1537 | function ChunkChuck2() | |
1538 | if HITFLOOR ~= nil then | |
1539 | ATTACK = true | |
1540 | Rooted = false | |
1541 | for i=0, 1, 0.1 / Animation_Speed do | |
1542 | Swait() | |
1543 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(45)), 2 / Animation_Speed) | |
1544 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 2 / Animation_Speed) | |
1545 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1546 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1547 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed) | |
1548 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed) | |
1549 | end | |
1550 | local DIST = (RootPart.Position - HITPOS).Magnitude | |
1551 | RootPart.CFrame = RootPart.CFrame * CF(0,-(DIST-3),0) | |
1552 | for i=0, 0.1, 0.1 / Animation_Speed do | |
1553 | Swait() | |
1554 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 2 / Animation_Speed) | |
1555 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed) | |
1556 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1557 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1558 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1559 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1560 | end | |
1561 | CreateDebreeRing(HITFLOOR,HITPOS,15,VT(15,15,15)) | |
1562 | CreateFlyingDebree(HITFLOOR,CF(HITPOS),25,VT(2,2,2),3,150) | |
1563 | local CHUNK = CreatePart(3, Effects, "Neon", 0, 0, "Peal", "Debree", VT(25,25,25)) | |
1564 | CHUNK.Color = HITFLOOR.Color | |
1565 | CHUNK.Material = HITFLOOR.Material | |
1566 | CHUNK.CFrame = RootPart.CFrame*CF(0,-25,-0.5) | |
1567 | CreateSound("260411131", CHUNK, 10, 1) | |
1568 | CreateSound("289842971", Torso, 3, 1) | |
1569 | for i=0, 1, 0.1 / Animation_Speed do | |
1570 | Swait() | |
1571 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 2 / Animation_Speed) | |
1572 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed) | |
1573 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1574 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1575 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1576 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1577 | end | |
1578 | RootPart.CFrame = RootPart.CFrame * CF(0,(DIST-3),0) | |
1579 | CHUNK.CFrame = Torso.CFrame*CF(0.7,15,0) | |
1580 | repeat | |
1581 | Swait() | |
1582 | RootPart.CFrame = CF(RootPart.Position,Mouse.Hit.p) | |
1583 | CHUNK.CFrame = Torso.CFrame*CF(0.7,15,0) | |
1584 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(45)), 2 / Animation_Speed) | |
1585 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 2 / Animation_Speed) | |
1586 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1587 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1588 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed) | |
1589 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed) | |
1590 | until HOLD == true | |
1591 | for i=0, 1, 0.1 / Animation_Speed do | |
1592 | Swait() | |
1593 | CHUNK.CFrame = Torso.CFrame*CF(0.7,15,0) | |
1594 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-35), RAD(0), RAD(45)), 2 / Animation_Speed) | |
1595 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 2 / Animation_Speed) | |
1596 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1597 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1598 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed) | |
1599 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed) | |
1600 | end | |
1601 | coroutine.resume(coroutine.create(function() | |
1602 | local COLLISION = false | |
1603 | CHUNK.CFrame = RootPart.CFrame | |
1604 | for i = 1, 300 do | |
1605 | CHUNK.CFrame = CHUNK.CFrame * CF(0,0,-5) | |
1606 | killnearest(CHUNK.Position,CHUNK.Size.Z/1.8,15) | |
1607 | local TRAIL = CHUNK:Clone() | |
1608 | TRAIL.CanCollide = false | |
1609 | TRAIL.Transparency = 0.9 | |
1610 | TRAIL.Parent = Effects | |
1611 | TRAIL.CFrame = CHUNK.CFrame | |
1612 | coroutine.resume(coroutine.create(function() | |
1613 | for i = 1, 10 do | |
1614 | Swait() | |
1615 | TRAIL.Transparency = TRAIL.Transparency + (0.1/10) | |
1616 | end | |
1617 | TRAIL:remove() | |
1618 | end)) | |
1619 | local HIT = Raycast(CHUNK.Position, CHUNK.CFrame.lookVector, CHUNK.Size.Z/2, Character) | |
1620 | if HIT ~= nil then | |
1621 | COLLISION = true | |
1622 | break | |
1623 | end | |
1624 | end | |
1625 | CHUNK:remove() | |
1626 | if COLLISION == true then | |
1627 | CreateFlyingDebree(CHUNK,CF(CHUNK.Position),25,VT(10,10,10),3,MRANDOM(150,250)) | |
1628 | killnearest(CHUNK.Position,CHUNK.Size.Z,45) | |
1629 | end | |
1630 | end)) | |
1631 | turnto(CHUNK.Position) | |
1632 | for i=0, 1, 0.1 / Animation_Speed do | |
1633 | Swait() | |
1634 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(45)), 2 / Animation_Speed) | |
1635 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 2 / Animation_Speed) | |
1636 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1637 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1638 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed) | |
1639 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed) | |
1640 | end | |
1641 | ATTACK = false | |
1642 | Rooted = false | |
1643 | end | |
1644 | end | |
1645 | ||
1646 | function XEvent2() | |
1647 | local FLOOR,HITPOS = Raycast(RootPart.Position, CF(RootPart.Position,RootPart.Position+VT(0,-1,0)).lookVector, 100000, Character) | |
1648 | if FLOOR then | |
1649 | local BURNMARKS = {} | |
1650 | local POS = HITPOS | |
1651 | ATTACK = true | |
1652 | Rooted = false | |
1653 | local AMOUNT = 200 | |
1654 | for i=0, 3, 0.1 / Animation_Speed do | |
1655 | Swait() | |
1656 | RootPart.CFrame = CF(RootPart.Position,POS+VT(AMOUNT,0,AMOUNT))*CF(0,0,2) | |
1657 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1658 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1659 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1660 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1661 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(45), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1662 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(45), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1663 | end | |
1664 | CreateSound("1368583274", Effects, 10, 0.5) | |
1665 | local ORB = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Neon", VT(0,0,0)) | |
1666 | MakeForm(ORB,"Ball") | |
1667 | ORB.Color = C3(0,0,0) | |
1668 | ORB.CFrame = RightArm.CFrame * CF(0,-2,0) | |
1669 | for i=0, 12, 0.1 / Animation_Speed do | |
1670 | Swait() | |
1671 | ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0) | |
1672 | ORB.Size = ORB.Size + VT(0.03,0.03,0.03) | |
1673 | CreateRing(VT(250,250,0),false,0,25,ORB.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(-10,-10,0)) | |
1674 | CreateRing(VT(250,250,0),false,0,25,ORB.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(-10,-10,0)) | |
1675 | RootPart.CFrame = CF(RootPart.Position,POS+VT(AMOUNT,0,AMOUNT)) | |
1676 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed) | |
1677 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed) | |
1678 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1679 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1680 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1681 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1682 | end | |
1683 | for i = 1, 50 do | |
1684 | Swait() | |
1685 | ORB.Size = ORB.Size * 0.9 | |
1686 | ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0) | |
1687 | end | |
1688 | local BEAM = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Neon", VT(0,100,0)) | |
1689 | MakeForm(BEAM,"Ball") | |
1690 | local BEAM2 = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Neon", VT(0,1000,0)) | |
1691 | MakeForm(BEAM2,"Cyl") | |
1692 | BEAM.CFrame = ORB.CFrame * CF(0,0,10) | |
1693 | ORB.Color = BRICKC("Really red").Color | |
1694 | CreateSound("1368598393", Effects, 10, 0.3) | |
1695 | CreateSound("1368605755", Effects, 10, 0.3) | |
1696 | CreateSound("1368637781", Effects, 10, 0.3) | |
1697 | for i = 1, 10 do | |
1698 | local COLOR = C3(0,0,0) | |
1699 | ORB.Size = VT(10,10,10) | |
1700 | ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0) | |
1701 | CreateRing(VT(0,0,0.1),false,0,10,RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(10,10,0)) | |
1702 | CreateRing(VT(0,0,0.1),false,0,10,RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(20,20,0)) | |
1703 | BEAM.CFrame = ORB.CFrame * CF(0,-50-(ORB.Size.Z/3),0) | |
1704 | BEAM.Size = BEAM.Size + VT(4,0,4) | |
1705 | BEAM2.CFrame = ORB.CFrame * CF(0,-550-(ORB.Size.Z/3),0) | |
1706 | BEAM2.Size = BEAM2.Size + VT(4,0,4) | |
1707 | BEAM.Color = COLOR | |
1708 | ORB.Color = COLOR | |
1709 | BEAM2.Color = COLOR | |
1710 | end | |
1711 | for i = 1, 400 do | |
1712 | Swait() | |
1713 | local COLOR = C3(1,1,1) | |
1714 | BEAM.Color = COLOR | |
1715 | ORB.Color = COLOR | |
1716 | BEAM2.Color = COLOR | |
1717 | ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0) | |
1718 | BEAM.CFrame = ORB.CFrame * CF(0,-50-(ORB.Size.Z/3),0) | |
1719 | BEAM2.CFrame = ORB.CFrame * CF(0,-550-(ORB.Size.Z/3),0) | |
1720 | RootPart.CFrame = CF(RootPart.Position,POS+VT(AMOUNT,0,AMOUNT)) | |
1721 | CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/40,POWERLEVEL/40,0)) | |
1722 | CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/30,POWERLEVEL/30,0)) | |
1723 | local MARK = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "BurnMark", VT(15,0,15)*2) | |
1724 | MARK.CFrame = CF(POS+VT(AMOUNT,0,AMOUNT)) | |
1725 | table.insert(BURNMARKS,MARK) | |
1726 | MakeForm(MARK,"Cyl") | |
1727 | CreateRing(VT(0,0,0),false,0,25,CF(POS+VT(AMOUNT,0,AMOUNT))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/50,POWERLEVEL/50,0)) | |
1728 | CreateRing(VT(0,0,0),false,0,25,CF(POS+VT(AMOUNT,0,AMOUNT))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/40,POWERLEVEL/40,0)) | |
1729 | local distance = (RightArm.CFrame*CF(0,-2,0).p - POS+VT(AMOUNT,0,AMOUNT)).magnitude | |
1730 | AMOUNT = AMOUNT - 1 | |
1731 | --CreateFlyingDebree(FLOOR,CF(POS+VT(AMOUNT,0,AMOUNT)),1,VT(5,5,5),1,150) | |
1732 | end | |
1733 | local AMOUNT = 200 | |
1734 | for i = 1, 400 do | |
1735 | Swait() | |
1736 | local COLOR = C3(1,1,1) | |
1737 | BEAM.Color = COLOR | |
1738 | ORB.Color = COLOR | |
1739 | BEAM2.Color = COLOR | |
1740 | ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0) | |
1741 | BEAM.CFrame = ORB.CFrame * CF(0,-50-(ORB.Size.Z/3),0) | |
1742 | BEAM2.CFrame = ORB.CFrame * CF(0,-550-(ORB.Size.Z/3),0) | |
1743 | RootPart.CFrame = CF(RootPart.Position,POS+VT(AMOUNT,0,-AMOUNT)) | |
1744 | CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/40,POWERLEVEL/40,0)) | |
1745 | CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/30,POWERLEVEL/30,0)) | |
1746 | local MARK = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "BurnMark", VT(15,0,15)*2) | |
1747 | MARK.CFrame = CF(POS+VT(AMOUNT,0,-AMOUNT)) | |
1748 | table.insert(BURNMARKS,MARK) | |
1749 | MakeForm(MARK,"Cyl") | |
1750 | CreateRing(VT(0,0,0),false,0,25,CF(POS+VT(AMOUNT,0,-AMOUNT))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/50,POWERLEVEL/50,0)) | |
1751 | CreateRing(VT(0,0,0),false,0,25,CF(POS+VT(AMOUNT,0,-AMOUNT))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/40,POWERLEVEL/40,0)) | |
1752 | local distance = (RightArm.CFrame*CF(0,-2,0).p - POS+VT(AMOUNT,0,-AMOUNT)).magnitude | |
1753 | AMOUNT = AMOUNT - 1 | |
1754 | --CreateFlyingDebree(FLOOR,CF(POS+VT(AMOUNT,0,-AMOUNT)),1,VT(5,5,5),1,150) | |
1755 | end | |
1756 | for i = 1, 40 do | |
1757 | Swait() | |
1758 | local COLOR = C3(0,0,0) | |
1759 | BEAM.CFrame = ORB.CFrame * CF(0,-50-(ORB.Size.Z/3),0) | |
1760 | BEAM.Size = BEAM.Size - VT(2,0,2) | |
1761 | BEAM2.CFrame = ORB.CFrame * CF(0,-550-(ORB.Size.Z/3),0) | |
1762 | BEAM2.Size = BEAM2.Size - VT(2,0,2) | |
1763 | ORB.Size = ORB.Size * 0.9 | |
1764 | BEAM.Color = COLOR | |
1765 | ORB.Color = COLOR | |
1766 | BEAM2.Color = COLOR | |
1767 | end | |
1768 | ORB:remove() | |
1769 | BEAM:remove() | |
1770 | BEAM2:remove() | |
1771 | CreateSound("1368583274", Effects, 10, 0.375) | |
1772 | local ORB = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Neon", VT(0,0,0)) | |
1773 | MakeForm(ORB,"Ball") | |
1774 | ORB.Color = C3(0,0,0) | |
1775 | ORB.CFrame = RightArm.CFrame * CF(0,-2,0) | |
1776 | for i=0, 18, 0.1 / Animation_Speed do | |
1777 | Swait() | |
1778 | ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0) | |
1779 | ORB.Size = ORB.Size + VT(0.03,0.03,0.03) | |
1780 | CreateRing(VT(450,450,0),false,0,45,ORB.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(-10,-10,0)) | |
1781 | CreateRing(VT(450,450,0),false,0,45,ORB.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(-10,-10,0)) | |
1782 | RootPart.CFrame = CF(RootPart.Position,POS) | |
1783 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed) | |
1784 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed) | |
1785 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1786 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1787 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1788 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1789 | end | |
1790 | for i = 1, 50 do | |
1791 | Swait() | |
1792 | ORB.Size = ORB.Size * 0.9 | |
1793 | ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0) | |
1794 | end | |
1795 | local BEAM = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Neon", VT(0,100,0)) | |
1796 | MakeForm(BEAM,"Ball") | |
1797 | local BEAM2 = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Neon", VT(0,1000,0)) | |
1798 | MakeForm(BEAM2,"Cyl") | |
1799 | BEAM.CFrame = ORB.CFrame * CF(0,0,10) | |
1800 | ORB.Color = BRICKC("Institutional white").Color | |
1801 | CreateSound("1368598393", Effects, 10, 1) | |
1802 | CreateSound("1368605755", Effects, 10, 1) | |
1803 | CreateSound("1368637781", Effects, 10, 1) | |
1804 | CreateSound("314970772", Effects, 10, 1) | |
1805 | for i = 1, 60 do | |
1806 | Swait() | |
1807 | MagicSphere(VT(0,0,0),25,CF(POS),"Really red",VT(15,15,15)) | |
1808 | local COLOR = C3(0,0,0) | |
1809 | ORB.Size = VT(10,10,10) | |
1810 | ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0) | |
1811 | CreateRing(VT(0,0,0.1),false,0,10,RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(10,10,0)) | |
1812 | CreateRing(VT(0,0,0.1),false,0,10,RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(20,20,0)) | |
1813 | BEAM.CFrame = ORB.CFrame * CF(0,-50-(ORB.Size.Z/3),0) | |
1814 | BEAM.Size = BEAM.Size + VT(6,0,6) | |
1815 | BEAM2.CFrame = ORB.CFrame * CF(0,-550-(ORB.Size.Z/3),0) | |
1816 | BEAM2.Size = BEAM2.Size + VT(6,0,6) | |
1817 | BEAM.Color = COLOR | |
1818 | ORB.Color = COLOR | |
1819 | BEAM2.Color = COLOR | |
1820 | end | |
1821 | for _, c in pairs(workspace:GetChildren()) do | |
1822 | if c ~= Character then | |
1823 | if c.ClassName == "Model" then | |
1824 | c:BreakJoints() | |
1825 | for _, g in pairs(c:GetChildren()) do | |
1826 | if g ~= Character then | |
1827 | if g.ClassName == "Part" then | |
1828 | g.Anchored = false | |
1829 | g.Velocity = VT(MRANDOM(-150,150),MRANDOM(-150,150),MRANDOM(-150,150)) | |
1830 | end | |
1831 | end | |
1832 | end | |
1833 | elseif c.ClassName == "Folder" then | |
1834 | for _, g in pairs(c:GetChildren()) do | |
1835 | if g ~= Character then | |
1836 | if g.ClassName == "Part" then | |
1837 | g.Anchored = false | |
1838 | g.Velocity = VT(MRANDOM(-150,150),MRANDOM(-150,150),MRANDOM(-150,150)) | |
1839 | end | |
1840 | end | |
1841 | end | |
1842 | elseif c.ClassName == "Part" then | |
1843 | c.Anchored = false | |
1844 | c.Velocity = VT(MRANDOM(-150,150),MRANDOM(-150,150),MRANDOM(-150,150)) | |
1845 | end | |
1846 | end | |
1847 | end | |
1848 | for e=1,#BURNMARKS do | |
1849 | if BURNMARKS[e]~=nil then | |
1850 | local Thing=BURNMARKS[e] | |
1851 | if Thing~=nil then | |
1852 | local Part=Thing | |
1853 | Part:remove() | |
1854 | end | |
1855 | end | |
1856 | end | |
1857 | ORB:remove() | |
1858 | BEAM:remove() | |
1859 | BEAM2:remove() | |
1860 | Swait(100) | |
1861 | for i = 1, 60 do | |
1862 | Swait() | |
1863 | end | |
1864 | ATTACK = false | |
1865 | Rooted = false | |
1866 | end | |
1867 | end | |
1868 | ||
1869 | --//=================================\\ | |
1870 | --|| ASSIGN THINGS TO KEYS | |
1871 | --\\=================================// | |
1872 | ||
1873 | function MouseDown(Mouse) | |
1874 | HOLD = true | |
1875 | if ATTACK == false then | |
1876 | end | |
1877 | end | |
1878 | ||
1879 | function CastProperRay(StartPos, Vec, Length, Ignore) | |
1880 | local Direction = CFrame.new(StartPos, Vec).lookVector | |
1881 | local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore}) | |
1882 | local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore) | |
1883 | return RayHit, RayPos, RayNormal | |
1884 | end | |
1885 | ||
1886 | function MouseUp(Mouse) | |
1887 | HOLD = false | |
1888 | end | |
1889 | ||
1890 | function KeyDown(Key) | |
1891 | KEYHOLD = true | |
1892 | if LIMITBROKEN == false then | |
1893 | if Key == "t" and ATTACK == false then | |
1894 | Taunt() | |
1895 | end | |
1896 | ||
1897 | if Key == "z" and ATTACK == false then | |
1898 | Warp() | |
1899 | end | |
1900 | ||
1901 | if Key == "b" and ATTACK == false then | |
1902 | RivalingOverthrower() | |
1903 | end | |
1904 | ||
1905 | if Key == "c" and ATTACK == false then | |
1906 | ChunkChuck() | |
1907 | end | |
1908 | ||
1909 | if Key == "v" and ATTACK == false then | |
1910 | if POWERLEVEL < 5 then | |
1911 | Boost() | |
1912 | end | |
1913 | end | |
1914 | ||
1915 | if Key == "q" and ATTACK == false then | |
1916 | BreakLimit() | |
1917 | end | |
1918 | ||
1919 | if Key == "x" and ATTACK == false then | |
1920 | XEvent() | |
1921 | end | |
1922 | else | |
1923 | if Key == "b" and ATTACK == false then | |
1924 | RivalingOverthrower2() | |
1925 | end | |
1926 | ||
1927 | if Key == "c" and ATTACK == false then | |
1928 | ChunkChuck2() | |
1929 | end | |
1930 | ||
1931 | if Key == "x" and ATTACK == false then | |
1932 | XEvent2() | |
1933 | end | |
1934 | ||
1935 | if Key == "q" and ATTACK == false then | |
1936 | LIMITBROKEN = false | |
1937 | POWERLEVEL = 1 | |
1938 | end | |
1939 | ||
1940 | if Key == "w" and ATTACK == false then | |
1941 | FLIGHT = true | |
1942 | repeat | |
1943 | local RayHit, RayPos = CastProperRay(RootPart.Position, Mouse.Hit.p, 5, {workspace}) | |
1944 | RootPart.CFrame = CFrame.new(RayPos,VT(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z)) * CFrame.new(0, 0, 0) | |
1945 | Swait() | |
1946 | until KEYHOLD == false | |
1947 | FLIGHT = false | |
1948 | end | |
1949 | if Key == "s" and ATTACK == false then | |
1950 | FLIGHT = true | |
1951 | repeat | |
1952 | local RayHit1, RayPos1 = CastProperRay(Mouse.Hit.p, RootPart.Position, 10000, {workspace}) | |
1953 | local RayHit, RayPos = CastProperRay(RootPart.Position, RayPos1, 1, {workspace}) | |
1954 | RootPart.CFrame = CFrame.new(RayPos,VT(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z)) * CFrame.new(0, 0, 0) | |
1955 | Swait() | |
1956 | until KEYHOLD == false | |
1957 | FLIGHT = false | |
1958 | end | |
1959 | if Key == "a" and ATTACK == false then | |
1960 | FLIGHT = true | |
1961 | repeat | |
1962 | local RayHit, RayPos = CastProperRay(RootPart.Position, RootPart.CFrame*CF(-1,0,0).p, 1, {workspace}) | |
1963 | RootPart.CFrame = CFrame.new(RayPos,VT(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z)) * CFrame.new(0, 0, 0) | |
1964 | Swait() | |
1965 | until KEYHOLD == false | |
1966 | FLIGHT = false | |
1967 | end | |
1968 | if Key == "d" and ATTACK == false then | |
1969 | FLIGHT = true | |
1970 | repeat | |
1971 | local RayHit, RayPos = CastProperRay(RootPart.Position, RootPart.CFrame*CF(1,0,0).p, 1, {workspace}) | |
1972 | RootPart.CFrame = CFrame.new(RayPos,VT(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z)) * CFrame.new(0, 0, 0) | |
1973 | Swait() | |
1974 | until KEYHOLD == false | |
1975 | FLIGHT = false | |
1976 | end | |
1977 | end | |
1978 | end | |
1979 | ||
1980 | function KeyUp(Key) | |
1981 | KEYHOLD = false | |
1982 | end | |
1983 | ||
1984 | Mouse.Button1Down:connect(function(NEWKEY) | |
1985 | MouseDown(NEWKEY) | |
1986 | end) | |
1987 | Mouse.Button1Up:connect(function(NEWKEY) | |
1988 | MouseUp(NEWKEY) | |
1989 | end) | |
1990 | Mouse.KeyDown:connect(function(NEWKEY) | |
1991 | KeyDown(NEWKEY) | |
1992 | end) | |
1993 | Mouse.KeyUp:connect(function(NEWKEY) | |
1994 | KeyUp(NEWKEY) | |
1995 | end) | |
1996 | ||
1997 | --//=================================\\ | |
1998 | --\\=================================// | |
1999 | ||
2000 | ||
2001 | function unanchor() | |
2002 | if UNANCHOR == true then | |
2003 | g = Character:GetChildren() | |
2004 | for i = 1, #g do | |
2005 | if g[i].ClassName == "Part" and g[i].Name ~= "HumanoidRootPart" then | |
2006 | g[i].Anchored = false | |
2007 | end | |
2008 | if g[i].ClassName == "Accessory" then | |
2009 | g[i].Handle.Anchored = false | |
2010 | end | |
2011 | end | |
2012 | if LIMITBROKEN == false then | |
2013 | RootPart.Anchored = false | |
2014 | end | |
2015 | end | |
2016 | end | |
2017 | ||
2018 | ||
2019 | --//=================================\\ | |
2020 | --|| WRAP THE WHOLE SCRIPT UP | |
2021 | --\\=================================// | |
2022 | ||
2023 | Humanoid.Changed:connect(function(Jump) | |
2024 | if Jump == "Jump" and (Disable_Jump == true) then | |
2025 | Humanoid.Jump = false | |
2026 | end | |
2027 | end) | |
2028 | ||
2029 | Speed = 12 | |
2030 | Humanoid.JumpPower = 200 | |
2031 | ||
2032 | local FF = IT("ForceField",Character) | |
2033 | FF.Visible = false | |
2034 | ||
2035 | while true do | |
2036 | Swait() | |
2037 | ANIMATE.Parent = nil | |
2038 | local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION) | |
2039 | IDLEANIMATION:Play() | |
2040 | SINE = SINE + CHANGE | |
2041 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
2042 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
2043 | local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position) | |
2044 | if LIMITBROKEN == false then | |
2045 | HITFLOOR, HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character) | |
2046 | if HITFLOOR ~= nil then | |
2047 | if HITFLOOR.CanCollide == false then | |
2048 | HITFLOOR = nil | |
2049 | end | |
2050 | end | |
2051 | local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16) | |
2052 | if ANIM == "Walk" and TORSOVELOCITY > 1 then | |
2053 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
2054 | Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
2055 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
2056 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
2057 | elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then | |
2058 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2059 | Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2060 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2061 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2062 | end | |
2063 | if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then | |
2064 | ANIM = "Jump" | |
2065 | if ATTACK == false then | |
2066 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2067 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2068 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2069 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2070 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 2 / Animation_Speed) | |
2071 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 2 / Animation_Speed) | |
2072 | end | |
2073 | elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then | |
2074 | ANIM = "Fall" | |
2075 | if ATTACK == false then | |
2076 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2077 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2078 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2079 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2080 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 2 / Animation_Speed) | |
2081 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 2 / Animation_Speed) | |
2082 | end | |
2083 | elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then | |
2084 | if ANIM == "Fall" then | |
2085 | Rooted = true | |
2086 | CreateSound("289842971", Torso, 3, 1) | |
2087 | Humanoid.WalkSpeed = 0 | |
2088 | CreateFlyingDebree(HITFLOOR,CF(RootPart.Position+VT(0,-3,0)),5,VT(1.5,1.5,1.5),45,50) | |
2089 | CreateWave(VT(0,0,0),15,CF(HITPOS),true,2,"Really black",VT(1,0.1,1)) | |
2090 | for i=0, 1, 0.1 / Animation_Speed do | |
2091 | Swait() | |
2092 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(-5), RAD(0)), 2 / Animation_Speed) | |
2093 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2094 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(8)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2095 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2096 | RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2097 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(90)), 2 / Animation_Speed) | |
2098 | end | |
2099 | Rooted = false | |
2100 | end | |
2101 | ANIM = "Idle" | |
2102 | if ATTACK == false then | |
2103 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0 - 2.5 * SIN(SINE / 12))), 2 / Animation_Speed) | |
2104 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0 + 2.5 * SIN(SINE / 12))), 2 / Animation_Speed) | |
2105 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2106 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(-15), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2107 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-15 - 2.5 * SIN(SINE / 12))), 2 / Animation_Speed) | |
2108 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-35 - 2.5 * SIN(SINE / 12))), 2 / Animation_Speed) | |
2109 | end | |
2110 | elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then | |
2111 | if ANIM == "Fall" then | |
2112 | Rooted = true | |
2113 | CreateSound("289842971", Torso, 3, 1) | |
2114 | Humanoid.WalkSpeed = 0 | |
2115 | CreateFlyingDebree(HITFLOOR,CF(RootPart.Position+VT(0,-3,0)),5,VT(1.5,1.5,1.5),45,50) | |
2116 | CreateWave(VT(0,0,0),15,CF(HITPOS),true,2,"Really black",VT(1,0.1,1)) | |
2117 | for i=0, 1, 0.1 / Animation_Speed do | |
2118 | Swait() | |
2119 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(-5), RAD(0)), 2 / Animation_Speed) | |
2120 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2121 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(8)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2122 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2123 | RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2124 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(90)), 2 / Animation_Speed) | |
2125 | end | |
2126 | Rooted = false | |
2127 | end | |
2128 | ANIM = "Walk" | |
2129 | WALK = WALK + 1 / Animation_Speed | |
2130 | if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then | |
2131 | WALK = 0 | |
2132 | if WALKINGANIM == true then | |
2133 | WALKINGANIM = false | |
2134 | elseif WALKINGANIM == false then | |
2135 | WALKINGANIM = true | |
2136 | end | |
2137 | end | |
2138 | --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
2139 | --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
2140 | if ATTACK == false then | |
2141 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2142 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(2 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0)), 2 / Animation_Speed) | |
2143 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2144 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2145 | RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed) | |
2146 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed) | |
2147 | end | |
2148 | end | |
2149 | if ATTACK == false and POWERLEVEL > 2 then | |
2150 | killnearest(Torso.Position,POWERLEVEL*2,15) | |
2151 | end | |
2152 | if sick.SoundId ~= "rbxassetid://1057854857" then | |
2153 | sick.SoundId = "rbxassetid://1057854857" | |
2154 | sick.Volume = 5 | |
2155 | sick:Play() | |
2156 | end | |
2157 | sick.Pitch = (1-((POWERLEVEL-1))/15) | |
2158 | SKILL6TEXT.Text = "Power level: ["..POWERLEVEL.."]" | |
2159 | else | |
2160 | VALUE2 = false | |
2161 | if ATTACK == false and POWERLEVEL > 2 then | |
2162 | killnearest(Torso.Position,15,15) | |
2163 | end | |
2164 | local RANDOM = MRANDOM(1,4) | |
2165 | if MRANDOM(1,5) == 1 then | |
2166 | CreateRing(VT(15,15,0)*RANDOM,false,0,15,CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(-1,-1,0)*RANDOM) | |
2167 | end | |
2168 | if MRANDOM(1,5) == 1 then | |
2169 | CreateRing(VT(15,15,0)*RANDOM,false,0,15,CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(-1,-1,0)*RANDOM) | |
2170 | end | |
2171 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2172 | Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2173 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2174 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2175 | POWERLEVEL = 100 | |
2176 | RootPart.Anchored = true | |
2177 | if FLIGHT == false then | |
2178 | ANIM = "Levitate" | |
2179 | if ATTACK == false then | |
2180 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2181 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2182 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2183 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2184 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 2 / Animation_Speed) | |
2185 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-25), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 2 / Animation_Speed) | |
2186 | end | |
2187 | else | |
2188 | ANIM = "Fly" | |
2189 | if ATTACK == false then | |
2190 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2191 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2192 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2193 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2194 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-10), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 2 / Animation_Speed) | |
2195 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-35), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 2 / Animation_Speed) | |
2196 | end | |
2197 | end | |
2198 | SKILL6TEXT.Text = "Power level: ["..MRANDOM(1,9)..MRANDOM(1,9)..MRANDOM(1,9)..MRANDOM(1,9)..MRANDOM(1,9).."]" | |
2199 | HITFLOOR, HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 75, Character) | |
2200 | if sick.SoundId ~= "rbxassetid://1100698694" then | |
2201 | sick.SoundId = "rbxassetid://1100698694" | |
2202 | sick.Volume = 5 | |
2203 | sick:Play() | |
2204 | sick.Pitch = 1 | |
2205 | end | |
2206 | end | |
2207 | unanchor() | |
2208 | Humanoid.MaxHealth = "inf" | |
2209 | Humanoid.Health = "inf" | |
2210 | if Rooted == false then | |
2211 | Disable_Jump = false | |
2212 | if ANIM == "Jump" or ANIM == "Fall" then | |
2213 | Humanoid.WalkSpeed = Speed*3 | |
2214 | else | |
2215 | Humanoid.WalkSpeed = Speed | |
2216 | end | |
2217 | elseif Rooted == true then | |
2218 | Disable_Jump = true | |
2219 | Humanoid.WalkSpeed = 0 | |
2220 | end | |
2221 | q = Character:GetChildren() | |
2222 | for u = 1, #q do | |
2223 | if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then | |
2224 | if q[u].Handle:FindFirstChild("PE") == nil then | |
2225 | particles(q[u].Handle) | |
2226 | elseif q[u].Handle:FindFirstChild("PE") then | |
2227 | if LIMITBROKEN == false then | |
2228 | local EyeSizes={ | |
2229 | NumberSequenceKeypoint.new(0,POWERLEVEL/2,0), | |
2230 | NumberSequenceKeypoint.new(1,0,0) | |
2231 | } | |
2232 | q[u].Handle.PE.Acceleration = Vector3.new(0,75*POWERLEVEL/2,0) | |
2233 | q[u].Handle.PE.Speed = NumberRange.new(POWERLEVEL) | |
2234 | q[u].Handle.PE.Size=NumberSequence.new(EyeSizes) | |
2235 | else | |
2236 | local EyeSizes={ | |
2237 | NumberSequenceKeypoint.new(0,4,0), | |
2238 | NumberSequenceKeypoint.new(1,0,0) | |
2239 | } | |
2240 | q[u].Handle.PE.Acceleration = Vector3.new(0,100,0) | |
2241 | q[u].Handle.PE.Speed = NumberRange.new(25) | |
2242 | q[u].Handle.PE.Size=NumberSequence.new(EyeSizes) | |
2243 | end | |
2244 | end | |
2245 | elseif q[u].ClassName == "Part" and q[u].Name ~= "HumanoidRootPart" then | |
2246 | if q[u]:FindFirstChild("PE") == nil then | |
2247 | particles(q[u]) | |
2248 | elseif q[u]:FindFirstChild("PE") then | |
2249 | if LIMITBROKEN == false then | |
2250 | local EyeSizes={ | |
2251 | NumberSequenceKeypoint.new(0,POWERLEVEL/2,0), | |
2252 | NumberSequenceKeypoint.new(1,0,0) | |
2253 | } | |
2254 | q[u].PE.Acceleration = Vector3.new(0,75*POWERLEVEL/2,0) | |
2255 | q[u].PE.Speed = NumberRange.new(POWERLEVEL) | |
2256 | q[u].PE.Size=NumberSequence.new(EyeSizes) | |
2257 | else | |
2258 | local EyeSizes={ | |
2259 | NumberSequenceKeypoint.new(0,4,0), | |
2260 | NumberSequenceKeypoint.new(1,0,0) | |
2261 | } | |
2262 | q[u].PE.Acceleration = Vector3.new(0,100,0) | |
2263 | q[u].PE.Speed = NumberRange.new(25) | |
2264 | q[u].PE.Size=NumberSequence.new(EyeSizes) | |
2265 | end | |
2266 | end | |
2267 | end | |
2268 | end | |
2269 | script.Parent = PlayerGui | |
2270 | if VALUE2 == false then | |
2271 | if HITFLOOR ~= nil then | |
2272 | CreateRing(VT(0,0,0.1),false,0,15,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(POWERLEVEL/3,POWERLEVEL/3,0)) | |
2273 | end | |
2274 | Speed = 12 | |
2275 | Character.Parent = workspace | |
2276 | Weapon.Parent = Character | |
2277 | elseif VALUE2 == true then | |
2278 | Speed = 45 | |
2279 | Character.Parent = Cam | |
2280 | Weapon.Parent = workspace | |
2281 | end | |
2282 | Effects.Parent = Weapon | |
2283 | FF.Parent = Character | |
2284 | local MATHS = {"0","1"} | |
2285 | Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)] | |
2286 | Humanoid.PlatformStand = false | |
2287 | sick.Parent = Character | |
2288 | end | |
2289 | ||
2290 | --//=================================\\ | |
2291 | --\\=================================// | |
2292 | ||
2293 | ||
2294 | ||
2295 | ||
2296 | ||
2297 | --//====================================================\\-- | |
2298 | --|| END OF SCRIPT | |
2299 | --\\====================================================//-- |