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