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