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