SHOW:
|
|
- or go back to the newest paste.
| 1 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 2 | local Player,game,owner = owner,game | |
| 3 | local RealPlayer = Player | |
| 4 | do | |
| 5 | print("FE Compatibility code by Mokiros")
| |
| 6 | local rp = RealPlayer | |
| 7 | script.Parent = rp.Character | |
| 8 | ||
| 9 | --RemoteEvent for communicating | |
| 10 | local Event = Instance.new("RemoteEvent")
| |
| 11 | Event.Name = "UserInput_Event" | |
| 12 | ||
| 13 | --Fake event to make stuff like Mouse.KeyDown work | |
| 14 | local function fakeEvent() | |
| 15 | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
| |
| 16 | t.connect = t.Connect | |
| 17 | return t | |
| 18 | end | |
| 19 | ||
| 20 | --Creating fake input objects with fake variables | |
| 21 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
| |
| 22 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 23 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 24 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 25 | end} | |
| 26 | --Merged 2 functions into one by checking amount of arguments | |
| 27 | CAS.UnbindAction = CAS.BindAction | |
| 28 | ||
| 29 | --This function will trigger the events that have been :Connect()'ed | |
| 30 | local function te(self,ev,...) | |
| 31 | local t = m[ev] | |
| 32 | if t and t._fakeEvent then | |
| 33 | for _,f in pairs(t.Functions) do | |
| 34 | f(...) | |
| 35 | end | |
| 36 | end | |
| 37 | end | |
| 38 | m.TrigEvent = te | |
| 39 | UIS.TrigEvent = te | |
| 40 | ||
| 41 | Event.OnServerEvent:Connect(function(plr,io) | |
| 42 | if plr~=rp then return end | |
| 43 | m.Target = io.Target | |
| 44 | m.Hit = io.Hit | |
| 45 | if not io.isMouse then | |
| 46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
| 49 | end | |
| 50 | for _,t in pairs(CAS.Actions) do | |
| 51 | for _,k in pairs(t.Keys) do | |
| 52 | if k==io.KeyCode then | |
| 53 | t.Function(t.Name,io.UserInputState,io) | |
| 54 | end | |
| 55 | end | |
| 56 | end | |
| 57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 59 | end | |
| 60 | end) | |
| 61 | Event.Parent = NLS([==[ | |
| 62 | local Player = game:GetService("Players").LocalPlayer
| |
| 63 | local Event = script:WaitForChild("UserInput_Event")
| |
| 64 | ||
| 65 | local Mouse = Player:GetMouse() | |
| 66 | local UIS = game:GetService("UserInputService")
| |
| 67 | local input = function(io,a) | |
| 68 | if a then return end | |
| 69 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 70 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
| |
| 71 | end | |
| 72 | UIS.InputBegan:Connect(input) | |
| 73 | UIS.InputEnded:Connect(input) | |
| 74 | ||
| 75 | local h,t | |
| 76 | --Give the server mouse data 30 times every second, but only if the values changed | |
| 77 | --If player is not moving their mouse, client won't fire events | |
| 78 | while wait(1/30) do | |
| 79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 80 | h,t=Mouse.Hit,Mouse.Target | |
| 81 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 82 | end | |
| 83 | end]==],Player.Character) | |
| 84 | ||
| 85 | ----Sandboxed game object that allows the usage of client-side methods and services | |
| 86 | --Real game object | |
| 87 | local _rg = game | |
| 88 | ||
| 89 | --Metatable for fake service | |
| 90 | local fsmt = {
| |
| 91 | __index = function(self,k) | |
| 92 | local s = rawget(self,"_RealService") | |
| 93 | if s then return s[k] end | |
| 94 | end, | |
| 95 | __newindex = function(self,k,v) | |
| 96 | local s = rawget(self,"_RealService") | |
| 97 | if s then s[k]=v end | |
| 98 | end, | |
| 99 | __call = function(self,...) | |
| 100 | local s = rawget(self,"_RealService") | |
| 101 | if s then return s(...) end | |
| 102 | end | |
| 103 | } | |
| 104 | local function FakeService(t,RealService) | |
| 105 | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService | |
| 106 | return setmetatable(t,fsmt) | |
| 107 | end | |
| 108 | ||
| 109 | --Fake game object | |
| 110 | local g = {
| |
| 111 | GetService = function(self,s) | |
| 112 | return self[s] | |
| 113 | end, | |
| 114 | Players = FakeService({
| |
| 115 | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
| |
| 116 | },"Players"), | |
| 117 | UserInputService = FakeService(UIS,"UserInputService"), | |
| 118 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
| 119 | } | |
| 120 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
| 121 | g.service = g.GetService | |
| 122 | ||
| 123 | setmetatable(g,{
| |
| 124 | __index=function(self,s) | |
| 125 | return _rg:GetService(s) or typeof(_rg[s])=="function" | |
| 126 | and function(_,...)return _rg[s](_rg,...)end or _rg[s] | |
| 127 | end, | |
| 128 | __newindex = fsmt.__newindex, | |
| 129 | __call = fsmt.__call | |
| 130 | }) | |
| 131 | --Changing owner to fake player object to support owner:GetMouse() | |
| 132 | game,owner = g,g.Players.LocalPlayer | |
| 133 | end | |
| 134 | ||
| 135 | ||
| 136 | wait(0.2) | |
| 137 | ||
| 138 | ||
| 139 | warn([[SpectrumGlitcher v5 AWAKENED Loaded. | |
| 140 | The super switcher. | |
| 141 | Velnorum is one of the first wielders. | |
| 142 | ||
| 143 | Created, Reworked by NoobyGames12 | |
| 144 | Edited by GodzPlaysRB | |
| 145 | Edited by wanTH092 (Gam_Filano CH) | |
| 146 | SpectrumGlitcher Developers ^^^ | |
| 147 | ]]) | |
| 148 | ||
| 149 | ||
| 150 | ------------- ORIGINAL WIELDER OC: Velnorum | |
| 151 | print([[Icons: | |
| 152 | ! = New | |
| 153 | ? = Spoilers | |
| 154 | * = Exclusivity | |
| 155 | C = Changes | |
| 156 | ||
| 157 | ]]) | |
| 158 | warn([[V 7.5 Update Log: | |
| 159 | C: Changed everything to guest xd | |
| 160 | ]]) | |
| 161 | --- its obs smooth af do not touch | |
| 162 | ---- Sources and functions might be taken from others | |
| 163 | plr = owner | |
| 164 | char = plr.Character | |
| 165 | hum = char.Humanoid | |
| 166 | local cam = game.Workspace.CurrentCamera | |
| 167 | Camera = cam | |
| 168 | mouse = plr:GetMouse() | |
| 169 | local CamInterrupt = false | |
| 170 | local TwoD = false | |
| 171 | local TargetInfo = {nil, nil}
| |
| 172 | cam.CameraType = "Custom" | |
| 173 | t = char.Torso | |
| 174 | h = char.Head | |
| 175 | ra = char["Right Arm"] | |
| 176 | la = char["Left Arm"] | |
| 177 | rl = char["Right Leg"] | |
| 178 | ll = char["Left Leg"] | |
| 179 | tors = char.Torso | |
| 180 | lleg = char["Left Leg"] | |
| 181 | root = char.HumanoidRootPart | |
| 182 | hed = char.Head | |
| 183 | rleg = char["Right Leg"] | |
| 184 | rarm = char["Right Arm"] | |
| 185 | larm = char["Left Arm"] | |
| 186 | radian = math.rad | |
| 187 | random = math.random | |
| 188 | Vec3 = Vector3.new | |
| 189 | Inst = Instance.new | |
| 190 | cFrame = CFrame.new | |
| 191 | Euler = CFrame.fromEulerAnglesXYZ | |
| 192 | vt = Vector3.new | |
| 193 | bc = BrickColor.new | |
| 194 | br = BrickColor.random | |
| 195 | it = Instance.new | |
| 196 | cf = CFrame.new | |
| 197 | local Player_Size = 0 | |
| 198 | cam = game.Workspace.CurrentCamera | |
| 199 | CF = CFrame.new | |
| 200 | angles = CFrame.Angles | |
| 201 | attack = false | |
| 202 | Euler = CFrame.fromEulerAnglesXYZ | |
| 203 | Rad = math.rad | |
| 204 | IT = Instance.new | |
| 205 | BrickC = BrickColor.new | |
| 206 | Cos = math.cos | |
| 207 | Acos = math.acos | |
| 208 | Sin = math.sin | |
| 209 | Asin = math.asin | |
| 210 | Abs = math.abs | |
| 211 | Mrandom = math.random | |
| 212 | Floor = math.floor | |
| 213 | IT = Instance.new | |
| 214 | CF = CFrame.new | |
| 215 | VT = Vector3.new | |
| 216 | RAD = math.rad | |
| 217 | C3 = Color3.new | |
| 218 | UD2 = UDim2.new | |
| 219 | BRICKC = BrickColor.new | |
| 220 | ANGLES = CFrame.Angles | |
| 221 | EULER = CFrame.fromEulerAnglesXYZ | |
| 222 | COS = math.cos | |
| 223 | ACOS = math.acos | |
| 224 | SIN = math.sin | |
| 225 | ASIN = math.asin | |
| 226 | ABS = math.abs | |
| 227 | MRANDOM = math.random | |
| 228 | FLOOR = math.floor | |
| 229 | local SINE = 0 | |
| 230 | ||
| 231 | local Booleans = {
| |
| 232 | CamFollow = true, | |
| 233 | GyroUse = true | |
| 234 | } | |
| 235 | ||
| 236 | function lerp(object, newCFrame, alpha) | |
| 237 | return object:lerp(newCFrame, alpha) | |
| 238 | end | |
| 239 | ||
| 240 | local Directer = Inst("BodyGyro", root)
| |
| 241 | Directer.MaxTorque = Vec3(0, 0, 0) | |
| 242 | Directer.P = 600000 | |
| 243 | local CPart = Inst("Part")
| |
| 244 | CPart.Anchored = true | |
| 245 | CPart.CanCollide = false | |
| 246 | CPart.Locked = true | |
| 247 | CPart.Transparency = 1 | |
| 248 | ||
| 249 | local rainbowmode = false | |
| 250 | local chaosmode = false | |
| 251 | ||
| 252 | local kan = Instance.new("Sound",tors)
| |
| 253 | kan.Volume = 0.85 | |
| 254 | kan.TimePosition = 0 | |
| 255 | kan.PlaybackSpeed = 1 | |
| 256 | kan.Pitch = 1 | |
| 257 | kan.SoundId = "rbxassetid://1255569288" | |
| 258 | kan.Name = "wrecked" | |
| 259 | kan.Looped = true | |
| 260 | kan:Play() | |
| 261 | ||
| 262 | local currentThemePlaying = kan.SoundId | |
| 263 | local currentPitch = kan.Pitch | |
| 264 | local currentVol = kan.Volume | |
| 265 | function newTheme(ID,timepos,pitch,vol) | |
| 266 | local kanz = kan | |
| 267 | --kanz:Stop() | |
| 268 | kanz.Volume = vol | |
| 269 | --kanz.TimePosition = timepos | |
| 270 | kanz.PlaybackSpeed = pitch | |
| 271 | kanz.Pitch = pitch | |
| 272 | kanz.SoundId = ID | |
| 273 | kanz.Name = "wrecked" | |
| 274 | kanz.Looped = true | |
| 275 | currentThemePlaying = kanz.SoundId | |
| 276 | currentVol = kanz.Volume | |
| 277 | currentPitch = kanz.Pitch | |
| 278 | --kanz:Play() | |
| 279 | --coroutine.resume(coroutine.create(function() | |
| 280 | --wait(0.05) | |
| 281 | --end)) | |
| 282 | end | |
| 283 | ||
| 284 | function newThemeCust(ID,timepos,pitch,vol) | |
| 285 | local kanz = kan | |
| 286 | kanz:Stop() | |
| 287 | kanz.Volume = vol | |
| 288 | kanz.TimePosition = timepos | |
| 289 | kanz.PlaybackSpeed = pitch | |
| 290 | kanz.Pitch = pitch | |
| 291 | kanz.SoundId = ID | |
| 292 | kanz.Name = "wrecked" | |
| 293 | kanz.Looped = true | |
| 294 | currentThemePlaying = kanz.SoundId | |
| 295 | currentVol = kanz.Volume | |
| 296 | currentPitch = kanz.Pitch | |
| 297 | kanz:Play() | |
| 298 | coroutine.resume(coroutine.create(function() | |
| 299 | wait(0.05) | |
| 300 | end)) | |
| 301 | end | |
| 302 | ||
| 303 | local mutedtog = false | |
| 304 | ||
| 305 | function CameraEnshaking(Length,Intensity) | |
| 306 | coroutine.resume(coroutine.create(function() | |
| 307 | local intensity = 1*Intensity | |
| 308 | local rotM = 0.01*Intensity | |
| 309 | for i = 0, Length, 0.1 do | |
| 310 | swait() | |
| 311 | intensity = intensity - 0.05*Intensity/Length | |
| 312 | rotM = rotM - 0.0005*Intensity/Length | |
| 313 | hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) | |
| 314 | cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM) | |
| 315 | end | |
| 316 | Humanoid.CameraOffset = Vec3(0, 0, 0) | |
| 317 | end)) | |
| 318 | end | |
| 319 | CamShake=function(Part,Distan,Power,Times) | |
| 320 | local de=Part.Position | |
| 321 | for i,v in pairs(workspace:children()) do | |
| 322 | if v:IsA("Model") and v:findFirstChild("Humanoid") then
| |
| 323 | for _,c in pairs(v:children()) do | |
| 324 | if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then | |
| 325 | local Noob=v.Humanoid | |
| 326 | if Noob~=nil then | |
| 327 | coroutine.resume(coroutine.create(function() | |
| 328 | FV = Instance.new("BoolValue", Noob)
| |
| 329 | FV.Name = "CameraShake" | |
| 330 | for ShakeNum=1,Times do | |
| 331 | swait() | |
| 332 | local ef=Power | |
| 333 | if ef>=1 then | |
| 334 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef)) | |
| 335 | else | |
| 336 | ef=Power*10 | |
| 337 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10) | |
| 338 | end | |
| 339 | end | |
| 340 | Humanoid.CameraOffset = Vector3.new(0,0,0) | |
| 341 | FV:Destroy() | |
| 342 | end)) | |
| 343 | CameraShake(Times, Power, Noob) | |
| 344 | end | |
| 345 | end | |
| 346 | end | |
| 347 | end | |
| 348 | end | |
| 349 | end | |
| 350 | ||
| 351 | local toggleTag = true | |
| 352 | local bilguit = Instance.new("BillboardGui", hed)
| |
| 353 | bilguit.Adornee = nil | |
| 354 | bilguit.Name = "ModeName" | |
| 355 | bilguit.Size = UDim2.new(4, 0, 1.2, 0) | |
| 356 | bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0) | |
| 357 | local modet = Instance.new("TextLabel", bilguit)
| |
| 358 | modet.Size = UDim2.new(10/2, 0, 7/2, 0) | |
| 359 | modet.FontSize = "Size8" | |
| 360 | modet.TextScaled = true | |
| 361 | modet.TextTransparency = 0 | |
| 362 | modet.BackgroundTransparency = 1 | |
| 363 | modet.TextTransparency = 0 | |
| 364 | modet.TextStrokeTransparency = 0 | |
| 365 | modet.Font = "Antique" | |
| 366 | modet.TextStrokeColor3 = Color3.new(1,0,0) | |
| 367 | modet.TextColor3 = Color3.new(0.25,0,0) | |
| 368 | - | modet.Text = "Hopeless Guest" |
| 368 | + | modet.Text = "Hopeless Elite" |
| 369 | ||
| 370 | ||
| 371 | function chatfunc(text,color,typet,font,timeex) | |
| 372 | local chat = coroutine.wrap(function() | |
| 373 | if Character:FindFirstChild("TalkingBillBoard")~= nil then
| |
| 374 | Character:FindFirstChild("TalkingBillBoard"):destroy()
| |
| 375 | end | |
| 376 | local naeeym2 = Instance.new("BillboardGui",Character)
| |
| 377 | naeeym2.Size = UDim2.new(0,100,0,40) | |
| 378 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
| 379 | naeeym2.Adornee = Character.Head | |
| 380 | naeeym2.Name = "TalkingBillBoard" | |
| 381 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 382 | tecks2.BackgroundTransparency = 1 | |
| 383 | tecks2.BorderSizePixel = 0 | |
| 384 | tecks2.Text = "" | |
| 385 | tecks2.Font = font | |
| 386 | tecks2.TextSize = 30 | |
| 387 | tecks2.TextStrokeTransparency = 0 | |
| 388 | tecks2.TextColor3 = color | |
| 389 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
| 390 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 391 | local tecks3 = Instance.new("TextLabel",naeeym2)
| |
| 392 | tecks3.BackgroundTransparency = 1 | |
| 393 | tecks3.BorderSizePixel = 0 | |
| 394 | tecks3.Text = "" | |
| 395 | tecks3.Font = font | |
| 396 | tecks3.TextSize = 30 | |
| 397 | tecks3.TextStrokeTransparency = 0 | |
| 398 | if typet == "Inverted" then | |
| 399 | tecks3.TextColor3 = Color3.new(0,0,0) | |
| 400 | tecks3.TextStrokeColor3 = color | |
| 401 | elseif typet == "Normal" then | |
| 402 | tecks3.TextColor3 = color | |
| 403 | tecks3.TextStrokeColor3 = Color3.new(0,0,0) | |
| 404 | end | |
| 405 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
| 406 | coroutine.resume(coroutine.create(function() | |
| 407 | while true do | |
| 408 | swait(1) | |
| 409 | if chaosmode == true then | |
| 410 | tecks2.TextColor3 = BrickColor.random().Color | |
| 411 | tecks3.TextStrokeColor3 = BrickColor.random().Color | |
| 412 | end | |
| 413 | end | |
| 414 | end)) | |
| 415 | modet.TextTransparency = modet.TextTransparency + 1 | |
| 416 | modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1 | |
| 417 | for i = 0, 74*timeex do | |
| 418 | swait() | |
| 419 | modet.TextTransparency = 1 | |
| 420 | modet.TextStrokeTransparency = 1 | |
| 421 | tecks2.Text = text | |
| 422 | tecks3.Text = text | |
| 423 | end | |
| 424 | local randomrot = math.random(1,2) | |
| 425 | if randomrot == 1 then | |
| 426 | for i = 1, 50 do | |
| 427 | swait() | |
| 428 | tecks2.Text = text | |
| 429 | tecks3.Text = text | |
| 430 | modet.TextTransparency = modet.TextTransparency - .02 | |
| 431 | modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02 | |
| 432 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 433 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
| 434 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 435 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
| 436 | end | |
| 437 | elseif randomrot == 2 then | |
| 438 | for i = 1, 50 do | |
| 439 | swait() | |
| 440 | tecks2.Text = text | |
| 441 | tecks3.Text = text | |
| 442 | modet.TextTransparency = modet.TextTransparency - .02 | |
| 443 | modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02 | |
| 444 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 445 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
| 446 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 447 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
| 448 | end | |
| 449 | end | |
| 450 | modet.TextTransparency = 0 | |
| 451 | modet.TextStrokeTransparency = 0 | |
| 452 | if toggleTag == false then | |
| 453 | modet.TextTransparency = 1 | |
| 454 | modet.TextStrokeTransparency = 1 | |
| 455 | end | |
| 456 | naeeym2:Destroy() | |
| 457 | end) | |
| 458 | chat() | |
| 459 | end | |
| 460 | ||
| 461 | function bosschatfunc(text,color,watval) | |
| 462 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do
| |
| 463 | coroutine.resume(coroutine.create(function() | |
| 464 | if v.PlayerGui:FindFirstChild("Dialog")~= nil then
| |
| 465 | v.PlayerGui:FindFirstChild("Dialog"):destroy()
| |
| 466 | end | |
| 467 | local scrg = Instance.new("ScreenGui",v.PlayerGui)
| |
| 468 | CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
| |
| 469 | scrg.Name = "Dialog" | |
| 470 | local txtlb = Instance.new("TextLabel",scrg)
| |
| 471 | txtlb.Text = "" | |
| 472 | txtlb.Font = "Bodoni" | |
| 473 | txtlb.TextColor3 = Color3.new(0,0,0) | |
| 474 | txtlb.TextStrokeTransparency = 0 | |
| 475 | txtlb.BackgroundTransparency = 0.75 | |
| 476 | txtlb.BackgroundColor3 = Color3.new(0,0,0) | |
| 477 | txtlb.TextStrokeColor3 = color | |
| 478 | txtlb.TextScaled = true | |
| 479 | txtlb.Size = UDim2.new(1,0,0.25,0) | |
| 480 | txtlb.TextXAlignment = "Left" | |
| 481 | txtlb.Position = UDim2.new(0,0,0.75 + 1,0) | |
| 482 | local txtlb2 = Instance.new("TextLabel",scrg)
| |
| 483 | - | txtlb2.Text = plr.Name.." The Guest:" |
| 483 | + | txtlb2.Text = plr.Name.." The Elite:" |
| 484 | txtlb2.Font = "Antique" | |
| 485 | txtlb2.TextColor3 = Color3.new(0,0,0) | |
| 486 | txtlb2.TextStrokeTransparency = 0 | |
| 487 | txtlb2.BackgroundTransparency = 1 | |
| 488 | txtlb2.TextStrokeColor3 = color | |
| 489 | txtlb2.TextSize = 40 | |
| 490 | txtlb2.Size = UDim2.new(1,0,0.25,0) | |
| 491 | txtlb2.TextXAlignment = "Left" | |
| 492 | txtlb2.Position = UDim2.new(0,0,1,0) | |
| 493 | local fvalen = 0.55 | |
| 494 | local fval = -0.49 | |
| 495 | coroutine.resume(coroutine.create(function() | |
| 496 | while true do | |
| 497 | swait() | |
| 498 | if chaosmode == true then | |
| 499 | txtlb.Rotation = math.random(-1,1) | |
| 500 | txtlb2.Rotation = math.random(-1,1) | |
| 501 | txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
| 502 | txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
| 503 | txtlb.TextStrokeColor3 = BrickColor.random().Color | |
| 504 | txtlb2.TextStrokeColor3 = BrickColor.random().Color | |
| 505 | end | |
| 506 | end | |
| 507 | end)) | |
| 508 | coroutine.resume(coroutine.create(function() | |
| 509 | while true do | |
| 510 | swait() | |
| 511 | if scrg.Parent ~= nil then | |
| 512 | fvalen = fvalen - 0.0001 | |
| 513 | elseif scrg.Parent == nil then | |
| 514 | break | |
| 515 | end | |
| 516 | end | |
| 517 | end)) | |
| 518 | local flol = 1.75 | |
| 519 | local flil = 1.6 | |
| 520 | coroutine.resume(coroutine.create(function() | |
| 521 | for i = 0, 9 do | |
| 522 | swait() | |
| 523 | fval = fval + 0.05 | |
| 524 | flol = flol - 0.1 | |
| 525 | flil = flil - 0.1 | |
| 526 | txtlb.Text = "" | |
| 527 | txtlb.Position = UDim2.new(0,0,flol,0) | |
| 528 | txtlb2.Position = UDim2.new(0,0,flil,0) | |
| 529 | end | |
| 530 | txtlb.Text = text | |
| 531 | wait(watval) | |
| 532 | local valinc = 0 | |
| 533 | for i = 0, 99 do | |
| 534 | swait() | |
| 535 | valinc = valinc + 0.0001 | |
| 536 | flol = flol + valinc | |
| 537 | flil = flil + valinc | |
| 538 | txtlb.Rotation = txtlb.Rotation + valinc*20 | |
| 539 | txtlb2.Rotation = txtlb2.Rotation - valinc*50 | |
| 540 | txtlb.Position = UDim2.new(0,0,flol,0) | |
| 541 | txtlb2.Position = UDim2.new(0,0,flil,0) | |
| 542 | txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01 | |
| 543 | txtlb.TextTransparency = txtlb.TextTransparency + 0.01 | |
| 544 | txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01 | |
| 545 | txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01 | |
| 546 | txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025 | |
| 547 | end | |
| 548 | scrg:Destroy() | |
| 549 | end)) | |
| 550 | end)) | |
| 551 | end | |
| 552 | end | |
| 553 | ||
| 554 | ||
| 555 | local Create = LoadLibrary("RbxUtility").Create
| |
| 556 | ||
| 557 | CFuncs = {
| |
| 558 | ["Part"] = {
| |
| 559 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 560 | local Part = Create("Part"){
| |
| 561 | Parent = Parent, | |
| 562 | Reflectance = Reflectance, | |
| 563 | Transparency = Transparency, | |
| 564 | CanCollide = false, | |
| 565 | Locked = true, | |
| 566 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 567 | Name = Name, | |
| 568 | Size = Size, | |
| 569 | Material = Material, | |
| 570 | } | |
| 571 | RemoveOutlines(Part) | |
| 572 | return Part | |
| 573 | end; | |
| 574 | }; | |
| 575 | ||
| 576 | ["Mesh"] = {
| |
| 577 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 578 | local Msh = Create(Mesh){
| |
| 579 | Parent = Part, | |
| 580 | Offset = OffSet, | |
| 581 | Scale = Scale, | |
| 582 | } | |
| 583 | if Mesh == "SpecialMesh" then | |
| 584 | Msh.MeshType = MeshType | |
| 585 | Msh.MeshId = MeshId | |
| 586 | end | |
| 587 | return Msh | |
| 588 | end; | |
| 589 | }; | |
| 590 | ||
| 591 | ["Mesh"] = {
| |
| 592 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 593 | local Msh = Create(Mesh){
| |
| 594 | Parent = Part, | |
| 595 | Offset = OffSet, | |
| 596 | Scale = Scale, | |
| 597 | } | |
| 598 | if Mesh == "SpecialMesh" then | |
| 599 | Msh.MeshType = MeshType | |
| 600 | Msh.MeshId = MeshId | |
| 601 | end | |
| 602 | return Msh | |
| 603 | end; | |
| 604 | }; | |
| 605 | ||
| 606 | ["Weld"] = {
| |
| 607 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 608 | local Weld = Create("Weld"){
| |
| 609 | Parent = Parent, | |
| 610 | Part0 = Part0, | |
| 611 | Part1 = Part1, | |
| 612 | C0 = C0, | |
| 613 | C1 = C1, | |
| 614 | } | |
| 615 | return Weld | |
| 616 | end; | |
| 617 | }; | |
| 618 | ||
| 619 | ["Sound"] = {
| |
| 620 | Create = function(id, par, vol, pit) | |
| 621 | coroutine.resume(coroutine.create(function() | |
| 622 | local S = Create("Sound"){
| |
| 623 | Volume = vol, | |
| 624 | Name = "EffectSoundo", | |
| 625 | Pitch = pit or 1, | |
| 626 | SoundId = id, | |
| 627 | Parent = par or workspace, | |
| 628 | } | |
| 629 | wait() | |
| 630 | S:play() | |
| 631 | game:GetService("Debris"):AddItem(S, 10)
| |
| 632 | end)) | |
| 633 | end; | |
| 634 | }; | |
| 635 | ||
| 636 | ["TimeSound"] = {
| |
| 637 | Create = function(id, par, vol, pit, timepos) | |
| 638 | coroutine.resume(coroutine.create(function() | |
| 639 | local S = Create("Sound"){
| |
| 640 | Volume = vol, | |
| 641 | Name = "EffectSoundo", | |
| 642 | Pitch = pit or 1, | |
| 643 | SoundId = id, | |
| 644 | TimePosition = timepos, | |
| 645 | Parent = par or workspace, | |
| 646 | } | |
| 647 | wait() | |
| 648 | S:play() | |
| 649 | game:GetService("Debris"):AddItem(S, 10)
| |
| 650 | end)) | |
| 651 | end; | |
| 652 | }; | |
| 653 | ["EchoSound"] = {
| |
| 654 | Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl) | |
| 655 | coroutine.resume(coroutine.create(function() | |
| 656 | local Sas = Create("Sound"){
| |
| 657 | Volume = vol, | |
| 658 | Name = "EffectSoundo", | |
| 659 | Pitch = pit or 1, | |
| 660 | SoundId = id, | |
| 661 | TimePosition = timepos, | |
| 662 | Parent = par or workspace, | |
| 663 | } | |
| 664 | local E = Create("EchoSoundEffect"){
| |
| 665 | Delay = echodelay, | |
| 666 | Name = "Echo", | |
| 667 | Feedback = fedb, | |
| 668 | DryLevel = dryl, | |
| 669 | Parent = Sas, | |
| 670 | } | |
| 671 | wait() | |
| 672 | Sas:play() | |
| 673 | game:GetService("Debris"):AddItem(Sas, delays)
| |
| 674 | end)) | |
| 675 | end; | |
| 676 | }; | |
| 677 | ||
| 678 | ["LongSound"] = {
| |
| 679 | Create = function(id, par, vol, pit) | |
| 680 | coroutine.resume(coroutine.create(function() | |
| 681 | local S = Create("Sound"){
| |
| 682 | Volume = vol, | |
| 683 | Pitch = pit or 1, | |
| 684 | SoundId = id, | |
| 685 | Parent = par or workspace, | |
| 686 | } | |
| 687 | wait() | |
| 688 | S:play() | |
| 689 | game:GetService("Debris"):AddItem(S, 60)
| |
| 690 | end)) | |
| 691 | end; | |
| 692 | }; | |
| 693 | ||
| 694 | ["ParticleEmitter"] = {
| |
| 695 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 696 | local fp = Create("ParticleEmitter"){
| |
| 697 | Parent = Parent, | |
| 698 | Color = ColorSequence.new(Color1, Color2), | |
| 699 | LightEmission = LightEmission, | |
| 700 | Size = Size, | |
| 701 | Texture = Texture, | |
| 702 | Transparency = Transparency, | |
| 703 | ZOffset = ZOffset, | |
| 704 | Acceleration = Accel, | |
| 705 | Drag = Drag, | |
| 706 | LockedToPart = LockedToPart, | |
| 707 | VelocityInheritance = VelocityInheritance, | |
| 708 | EmissionDirection = EmissionDirection, | |
| 709 | Enabled = Enabled, | |
| 710 | Lifetime = LifeTime, | |
| 711 | Rate = Rate, | |
| 712 | Rotation = Rotation, | |
| 713 | RotSpeed = RotSpeed, | |
| 714 | Speed = Speed, | |
| 715 | VelocitySpread = VelocitySpread, | |
| 716 | } | |
| 717 | return fp | |
| 718 | end; | |
| 719 | }; | |
| 720 | ||
| 721 | CreateTemplate = {
| |
| 722 | ||
| 723 | }; | |
| 724 | } | |
| 725 | ||
| 726 | ||
| 727 | ||
| 728 | New = function(Object, Parent, Name, Data) | |
| 729 | local Object = Instance.new(Object) | |
| 730 | for Index, Value in pairs(Data or {}) do
| |
| 731 | Object[Index] = Value | |
| 732 | end | |
| 733 | Object.Parent = Parent | |
| 734 | Object.Name = Name | |
| 735 | return Object | |
| 736 | end | |
| 737 | local halocolor = BrickColor.new("Pastel light blue")
| |
| 738 | local halocolor2 = BrickColor.new("Cool yellow")
| |
| 739 | local starcolor = BrickColor.new("Bright yellow")
| |
| 740 | local lunacolor = BrickColor.new("Navy blue")
| |
| 741 | local lunacolor2 = BrickColor.new("Bright blue")
| |
| 742 | local wepcolor = BrickColor.new("Really black")
| |
| 743 | local maincolor = BrickColor.new("Really black")
| |
| 744 | local m = Instance.new("Model",char)
| |
| 745 | local m2 = Instance.new("Model",char)
| |
| 746 | local m3 = Instance.new("Model",char)
| |
| 747 | local mw1 = Instance.new("Model",char)
| |
| 748 | local mw2 = Instance.new("Model",char)
| |
| 749 | ||
| 750 | ||
| 751 | gui = function(GuiType, parent, text, backtrans, backcol, pos, size) | |
| 752 | local gui = it(GuiType) | |
| 753 | gui.Parent = parent | |
| 754 | gui.Text = text | |
| 755 | gui.BackgroundTransparency = backtrans | |
| 756 | gui.BackgroundColor3 = backcol | |
| 757 | gui.SizeConstraint = "RelativeXY" | |
| 758 | gui.TextXAlignment = "Center" | |
| 759 | gui.TextYAlignment = "Center" | |
| 760 | gui.Position = pos | |
| 761 | gui.Size = size | |
| 762 | gui.Font = "SourceSans" | |
| 763 | gui.FontSize = "Size14" | |
| 764 | gui.TextWrapped = false | |
| 765 | gui.TextStrokeTransparency = 0 | |
| 766 | gui.TextColor = BrickColor.new("White")
| |
| 767 | return gui | |
| 768 | end | |
| 769 | --------------------------- GUI STUFF | |
| 770 | local basgui = it("GuiMain")
| |
| 771 | basgui.Parent = plr.PlayerGui | |
| 772 | basgui.Name = "VISgui" | |
| 773 | local fullscreenz = it("Frame")
| |
| 774 | fullscreenz.Parent = basgui | |
| 775 | fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255) | |
| 776 | fullscreenz.BackgroundTransparency = 1 | |
| 777 | fullscreenz.BorderColor3 = Color3.new(17, 17, 17) | |
| 778 | fullscreenz.Size = UDim2.new(1, 0, 1, 0) | |
| 779 | fullscreenz.Position = UDim2.new(0, 0, 0, 0) | |
| 780 | local imgl2 = Instance.new("ImageLabel",fullscreenz)
| |
| 781 | imgl2.BackgroundTransparency = 1 | |
| 782 | imgl2.BorderSizePixel = 0 | |
| 783 | imgl2.ImageTransparency = 0.5 | |
| 784 | imgl2.ImageColor3 = Color3.new(1,0,0) | |
| 785 | imgl2.Position = UDim2.new(0.75,-200,0.55,-200) | |
| 786 | imgl2.Size = UDim2.new(0,1000,0,1000) | |
| 787 | imgl2.Image = "rbxassetid://2325939897" | |
| 788 | local techc = imgl2:Clone() | |
| 789 | techc.Parent = fullscreenz | |
| 790 | techc.ImageTransparency = 0 | |
| 791 | techc.Size = UDim2.new(0,900,0,900) | |
| 792 | techc.Position = UDim2.new(0.75,-150,0.55,-150) | |
| 793 | techc.ImageColor3 = Color3.new(1,0,0) | |
| 794 | techc.Image = "rbxassetid://2273224484" | |
| 795 | local circl = imgl2:Clone() | |
| 796 | circl.Parent = fullscreenz | |
| 797 | circl.ImageTransparency = 0 | |
| 798 | circl.Size = UDim2.new(0,550,0,550) | |
| 799 | circl.Position = UDim2.new(0.75,25,0.55,25) | |
| 800 | circl.ImageColor3 = Color3.new(0,0,0) | |
| 801 | circl.Image = "rbxassetid://2312119891" | |
| 802 | local circl2 = imgl2:Clone() | |
| 803 | circl2.Parent = fullscreenz | |
| 804 | circl2.ImageTransparency = 0 | |
| 805 | circl2.Size = UDim2.new(0,700,0,700) | |
| 806 | circl2.Position = UDim2.new(0.75,-50,0.55,-50) | |
| 807 | circl2.ImageColor3 = Color3.new(1,0,0) | |
| 808 | circl2.Image = "rbxassetid://2312119891" | |
| 809 | local imgl2b = imgl2:Clone() | |
| 810 | imgl2b.Parent = fullscreenz | |
| 811 | imgl2b.ImageTransparency = 0 | |
| 812 | imgl2b.Size = UDim2.new(0,800,0,800) | |
| 813 | imgl2b.Position = UDim2.new(0.75,-100,0.55,-100) | |
| 814 | imgl2b.ImageColor3 = Color3.new(0,0,0) | |
| 815 | local ned = Instance.new("TextLabel",fullscreenz)
| |
| 816 | ned.ZIndex = 2 | |
| 817 | ned.Font = "Arcade" | |
| 818 | ned.BackgroundTransparency = 1 | |
| 819 | ned.BorderSizePixel = 0.65 | |
| 820 | ned.Size = UDim2.new(0.3,0,0.2,0) | |
| 821 | ned.Position = UDim2.new(0.7,0,0.8,0) | |
| 822 | ned.TextColor3 = BrickColor.new("Really red").Color
| |
| 823 | ned.TextStrokeColor3 = BrickColor.new("Really black").Color
| |
| 824 | ned.TextScaled = true | |
| 825 | ned.TextStrokeTransparency = 0 | |
| 826 | ned.Text = "Hopeless Guest" | |
| 827 | ned.TextSize = 24 | |
| 828 | ned.Rotation = 1 | |
| 829 | ned.TextXAlignment = "Right" | |
| 830 | ned.TextYAlignment = "Bottom" | |
| 831 | ||
| 832 | local extrawingmod1 = Instance.new("Model",char)
| |
| 833 | local extrawingmod2 = Instance.new("Model",char)
| |
| 834 | ||
| 835 | function CreateParta(parent,transparency,reflectance,material,brickcolor) | |
| 836 | local p = Instance.new("Part")
| |
| 837 | p.TopSurface = 0 | |
| 838 | p.BottomSurface = 0 | |
| 839 | p.Parent = parent | |
| 840 | p.Size = Vector3.new(0.1,0.1,0.1) | |
| 841 | p.Transparency = transparency | |
| 842 | p.Reflectance = reflectance | |
| 843 | p.CanCollide = false | |
| 844 | p.Locked = true | |
| 845 | p.BrickColor = brickcolor | |
| 846 | p.Material = material | |
| 847 | return p | |
| 848 | end | |
| 849 | ||
| 850 | function CreateMesh(parent,meshtype,x1,y1,z1) | |
| 851 | local mesh = Instance.new("SpecialMesh",parent)
| |
| 852 | mesh.MeshType = meshtype | |
| 853 | mesh.Scale = Vector3.new(x1*10,y1*10,z1*10) | |
| 854 | return mesh | |
| 855 | end | |
| 856 | ||
| 857 | function CreateSpecialMesh(parent,meshid,x1,y1,z1) | |
| 858 | local mesh = Instance.new("SpecialMesh",parent)
| |
| 859 | mesh.MeshType = "FileMesh" | |
| 860 | mesh.MeshId = meshid | |
| 861 | mesh.Scale = Vector3.new(x1,y1,z1) | |
| 862 | return mesh | |
| 863 | end | |
| 864 | ||
| 865 | ||
| 866 | function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1) | |
| 867 | local mesh = Instance.new("SpecialMesh",parent)
| |
| 868 | mesh.MeshType = "FileMesh" | |
| 869 | mesh.MeshId = meshid | |
| 870 | mesh.TextureId = "http://www.roblox.com/asset/?id=269748808" | |
| 871 | mesh.Scale = Vector3.new(x1,y1,z1) | |
| 872 | mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b) | |
| 873 | return mesh | |
| 874 | end | |
| 875 | ||
| 876 | function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za) | |
| 877 | local weld = Instance.new("Weld")
| |
| 878 | weld.Parent = parent | |
| 879 | weld.Part0 = part0 | |
| 880 | weld.Part1 = part1 | |
| 881 | weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za) | |
| 882 | weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za) | |
| 883 | return weld | |
| 884 | end | |
| 885 | ||
| 886 | ||
| 887 | -------------- | |
| 888 | -------------- | |
| 889 | local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 890 | CreateWeld(sorb,rarm,sorb,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 891 | local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 892 | CreateWeld(sorb2,larm,sorb2,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 893 | ||
| 894 | local handlex = CreateParta(mw2,1,1,"Neon",maincolor) | |
| 895 | CreateMesh(handle,"Brick",0,0,0) | |
| 896 | local handlexweld = CreateWeld(handlex,tors,handlex,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 897 | local valuaring = 10 | |
| 898 | for i = 0, 49 do | |
| 899 | valuaring = valuaring + 10 | |
| 900 | rn = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 901 | CreateMesh(rn,"Brick",0.25,0.1,0.1) | |
| 902 | CreateWeld(rn,handlex,rn,0,1,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 903 | end | |
| 904 | ||
| 905 | handlex = CreateParta(mw2,1,1,"Neon",maincolor) | |
| 906 | CreateMesh(handle,"Brick",0,0,0) | |
| 907 | CreateWeld(handlex,tors,handlex,0,-3,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 908 | local valuaring = 10 | |
| 909 | for i = 0, 49 do | |
| 910 | valuaring = valuaring + 10 | |
| 911 | rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 912 | CreateMesh(rn,"Brick",0.5,0.2,0.2) | |
| 913 | CreateWeld(rn,handlex,rn,0,2,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 914 | end | |
| 915 | ||
| 916 | ||
| 917 | local handle = CreateParta(m,1,1,"Neon",maincolor) | |
| 918 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 919 | local handleweld = CreateWeld(handle,tors,handle,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 920 | ||
| 921 | --- Left wing. | |
| 922 | ||
| 923 | local lwing1 = CreateParta(m,1,1,"Neon",maincolor) | |
| 924 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 925 | local lwing1weld = CreateWeld(lwing1,handle,lwing1,3,0,0,math.rad(5),math.rad(0),math.rad(12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 926 | ||
| 927 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 928 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 929 | CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 930 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 931 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 932 | CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 933 | A0 = Instance.new('Attachment',wed)
| |
| 934 | A0.Position = vt(0,0.25,0.25) | |
| 935 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 936 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 937 | CreateWeld(wed,lwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 938 | A1 = Instance.new('Attachment',wed)
| |
| 939 | A1.Position = vt(0,-0.25,-2) | |
| 940 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 941 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 942 | CreateWeld(wed,lwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 943 | ||
| 944 | tl1 = Instance.new('Trail',wed)
| |
| 945 | tl1.Attachment0 = A1 | |
| 946 | tl1.Attachment1 = A0 | |
| 947 | tl1.Texture = "rbxassetid://2108945559" | |
| 948 | tl1.LightEmission = 1 | |
| 949 | tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 950 | tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
| |
| 951 | tl1.Lifetime = 0.6 | |
| 952 | ||
| 953 | ||
| 954 | local lwing2 = CreateParta(m,1,1,"Neon",maincolor) | |
| 955 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 956 | local lwing2weld = CreateWeld(lwing2,handle,lwing2,4,1,0,math.rad(10),math.rad(0),math.rad(25),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 957 | ||
| 958 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 959 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 960 | CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 961 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 962 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 963 | CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 964 | A0 = Instance.new('Attachment',wed)
| |
| 965 | A0.Position = vt(0,0.25,0.25) | |
| 966 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 967 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 968 | CreateWeld(wed,lwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 969 | A1 = Instance.new('Attachment',wed)
| |
| 970 | A1.Position = vt(0,-0.25,-2) | |
| 971 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 972 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 973 | CreateWeld(wed,lwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 974 | ||
| 975 | tl2 = Instance.new('Trail',wed)
| |
| 976 | tl2.Attachment0 = A1 | |
| 977 | tl2.Attachment1 = A0 | |
| 978 | tl2.Texture = "rbxassetid://2108945559" | |
| 979 | tl2.LightEmission = 1 | |
| 980 | tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 981 | tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
| |
| 982 | tl2.Lifetime = 0.6 | |
| 983 | ||
| 984 | local lwing3 = CreateParta(m,1,1,"Neon",maincolor) | |
| 985 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 986 | local lwing3weld = CreateWeld(lwing3,handle,lwing3,4.75,2,0,math.rad(15),math.rad(0),math.rad(37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 987 | ||
| 988 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 989 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 990 | CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 991 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 992 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 993 | CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 994 | A0 = Instance.new('Attachment',wed)
| |
| 995 | A0.Position = vt(0,0.25,0.25) | |
| 996 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 997 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 998 | CreateWeld(wed,lwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 999 | A1 = Instance.new('Attachment',wed)
| |
| 1000 | A1.Position = vt(0,-0.25,-2) | |
| 1001 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 1002 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 1003 | CreateWeld(wed,lwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1004 | ||
| 1005 | tl3 = Instance.new('Trail',wed)
| |
| 1006 | tl3.Attachment0 = A1 | |
| 1007 | tl3.Attachment1 = A0 | |
| 1008 | tl3.Texture = "rbxassetid://2108945559" | |
| 1009 | tl3.LightEmission = 1 | |
| 1010 | tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 1011 | tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
| |
| 1012 | tl3.Lifetime = 0.6 | |
| 1013 | ||
| 1014 | tl1.Enabled = false | |
| 1015 | tl2.Enabled = false | |
| 1016 | tl3.Enabled = false | |
| 1017 | local lwing4 = CreateParta(m,1,1,"Neon",maincolor) | |
| 1018 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 1019 | local lwing4weld = CreateWeld(lwing4,handle,lwing4,5.75,3,0,math.rad(20),math.rad(0),math.rad(50),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1020 | ||
| 1021 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 1022 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1023 | CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1024 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 1025 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1026 | CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1027 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 1028 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 1029 | CreateWeld(wed,lwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1030 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 1031 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 1032 | CreateWeld(wed,lwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1033 | ||
| 1034 | local lwing5 = CreateParta(m,1,1,"Neon",maincolor) | |
| 1035 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 1036 | local lwing5weld = CreateWeld(lwing5,handle,lwing5,6.75,4,0,math.rad(25),math.rad(0),math.rad(62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1037 | ||
| 1038 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 1039 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1040 | CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1041 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 1042 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1043 | CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1044 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 1045 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 1046 | CreateWeld(wed,lwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1047 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 1048 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 1049 | CreateWeld(wed,lwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1050 | ||
| 1051 | local lwing6 = CreateParta(m,1,1,"Neon",maincolor) | |
| 1052 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 1053 | local lwing6weld = CreateWeld(lwing6,handle,lwing6,7.75,5,0,math.rad(30),math.rad(0),math.rad(75),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1054 | ||
| 1055 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 1056 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1057 | CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1058 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 1059 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1060 | CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1061 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 1062 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 1063 | CreateWeld(wed,lwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1064 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 1065 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 1066 | CreateWeld(wed,lwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1067 | ||
| 1068 | -- Right wing. | |
| 1069 | ||
| 1070 | local rwing1 = CreateParta(m,1,1,"Neon",maincolor) | |
| 1071 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 1072 | local rwing1weld = CreateWeld(rwing1,handle,rwing1,-3,0,0,math.rad(5),math.rad(0),math.rad(-12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1073 | ||
| 1074 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 1075 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1076 | CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1077 | A0 = Instance.new('Attachment',wed)
| |
| 1078 | A0.Position = vt(0,0.25,0.25) | |
| 1079 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 1080 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1081 | CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1082 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 1083 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 1084 | CreateWeld(wed,rwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1085 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 1086 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 1087 | CreateWeld(wed,rwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1088 | A1 = Instance.new('Attachment',wed)
| |
| 1089 | A1.Position = vt(0,2,0.25) | |
| 1090 | ||
| 1091 | tr1 = Instance.new('Trail',wed)
| |
| 1092 | tr1.Attachment0 = A1 | |
| 1093 | tr1.Attachment1 = A0 | |
| 1094 | tr1.Texture = "rbxassetid://2108945559" | |
| 1095 | tr1.LightEmission = 1 | |
| 1096 | tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 1097 | tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
| |
| 1098 | tr1.Lifetime = 0.6 | |
| 1099 | ||
| 1100 | local rwing2 = CreateParta(m,1,1,"Neon",maincolor) | |
| 1101 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 1102 | local rwing2weld = CreateWeld(rwing2,handle,rwing2,-4,1,0,math.rad(10),math.rad(0),math.rad(-25),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1103 | ||
| 1104 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 1105 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1106 | CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1107 | A0 = Instance.new('Attachment',wed)
| |
| 1108 | A0.Position = vt(0,0.25,0.25) | |
| 1109 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 1110 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1111 | CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1112 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 1113 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 1114 | CreateWeld(wed,rwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1115 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 1116 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 1117 | CreateWeld(wed,rwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1118 | A1 = Instance.new('Attachment',wed)
| |
| 1119 | A1.Position = vt(0,2,0.25) | |
| 1120 | ||
| 1121 | tr2 = Instance.new('Trail',wed)
| |
| 1122 | tr2.Attachment0 = A1 | |
| 1123 | tr2.Attachment1 = A0 | |
| 1124 | tr2.Texture = "rbxassetid://2108945559" | |
| 1125 | tr2.LightEmission = 1 | |
| 1126 | tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 1127 | tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
| |
| 1128 | tr2.Lifetime = 0.6 | |
| 1129 | ||
| 1130 | local rwing3 = CreateParta(m,1,1,"Neon",maincolor) | |
| 1131 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 1132 | local rwing3weld = CreateWeld(rwing3,handle,rwing3,-4.75,2,0,math.rad(15),math.rad(0),math.rad(-37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1133 | ||
| 1134 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 1135 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1136 | CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1137 | A0 = Instance.new('Attachment',wed)
| |
| 1138 | A0.Position = vt(0,0.25,0.25) | |
| 1139 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 1140 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1141 | CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1142 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 1143 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 1144 | CreateWeld(wed,rwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1145 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 1146 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 1147 | CreateWeld(wed,rwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1148 | A1 = Instance.new('Attachment',wed)
| |
| 1149 | A1.Position = vt(0,2,0.25) | |
| 1150 | ||
| 1151 | tr3 = Instance.new('Trail',wed)
| |
| 1152 | tr3.Attachment0 = A1 | |
| 1153 | tr3.Attachment1 = A0 | |
| 1154 | tr3.Texture = "rbxassetid://2108945559" | |
| 1155 | tr3.LightEmission = 1 | |
| 1156 | tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 1157 | tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
| |
| 1158 | tr3.Lifetime = 0.6 | |
| 1159 | ||
| 1160 | ||
| 1161 | local rwing4 = CreateParta(m,1,1,"Neon",maincolor) | |
| 1162 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 1163 | local rwing4weld = CreateWeld(rwing4,handle,rwing4,-5.75,3,0,math.rad(20),math.rad(0),math.rad(-50),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1164 | ||
| 1165 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1166 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1167 | CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1168 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1169 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1170 | CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1171 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1172 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 1173 | CreateWeld(wed,rwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1174 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1175 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 1176 | CreateWeld(wed,rwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1177 | ||
| 1178 | local rwing5 = CreateParta(m,1,1,"Neon",maincolor) | |
| 1179 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 1180 | local rwing5weld = CreateWeld(rwing5,handle,rwing5,-6.75,4,0,math.rad(25),math.rad(0),math.rad(-62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1181 | ||
| 1182 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1183 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1184 | CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1185 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1186 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1187 | CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1188 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1189 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 1190 | CreateWeld(wed,rwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1191 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1192 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 1193 | CreateWeld(wed,rwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1194 | ||
| 1195 | local rwing6 = CreateParta(m,1,1,"Neon",maincolor) | |
| 1196 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 1197 | local rwing6weld = CreateWeld(rwing6,handle,rwing6,-7.75,3,0,math.rad(30),math.rad(0),math.rad(-75),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1198 | ||
| 1199 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1200 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1201 | CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1202 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1203 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1204 | CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1205 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1206 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 1207 | CreateWeld(wed,rwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1208 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1209 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 1210 | CreateWeld(wed,rwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1211 | ||
| 1212 | --HERES THE RING | |
| 1213 | ||
| 1214 | ||
| 1215 | --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor) | |
| 1216 | CreateMesh(ran,"Wedge",1.02,1.02,1.02) | |
| 1217 | CreateWeld(ran,larm,ran,0,0.15,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1218 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1219 | CreateMesh(ran,"Wedge",0.9,0.9,1.025) | |
| 1220 | CreateWeld(ran,larm,ran,0,0.155,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1221 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1222 | CreateMesh(ran,"Wedge",1.025,0.9,0.9) | |
| 1223 | CreateWeld(ran,larm,ran,0,0.155,-0.025,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1224 | ||
| 1225 | ||
| 1226 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1227 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
| 1228 | CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1229 | ||
| 1230 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1231 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
| 1232 | CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1233 | ||
| 1234 | ||
| 1235 | ||
| 1236 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
| 1237 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
| 1238 | CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1239 | ||
| 1240 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
| 1241 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
| 1242 | CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1243 | ||
| 1244 | gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2) | |
| 1245 | CreateMesh(gane,"Brick",1.0625,0.2,1.0625) | |
| 1246 | CreateWeld(gane,larm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1247 | ||
| 1248 | star = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1249 | CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5) | |
| 1250 | CreateWeld(star,larm,star,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1251 | starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor) | |
| 1252 | CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95) | |
| 1253 | CreateWeld(starl,larm,starl,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))]]-- | |
| 1254 | ||
| 1255 | --- second ring | |
| 1256 | ||
| 1257 | ||
| 1258 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1259 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
| 1260 | CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1261 | ||
| 1262 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1263 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
| 1264 | CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1265 | ||
| 1266 | ||
| 1267 | ||
| 1268 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
| 1269 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
| 1270 | CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1271 | ||
| 1272 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
| 1273 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
| 1274 | CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1275 | ||
| 1276 | gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2) | |
| 1277 | CreateMesh(gane,"Brick",1.0625,0.2,1.0625) | |
| 1278 | CreateWeld(gane,rarm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1279 | ||
| 1280 | star = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1281 | CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5) | |
| 1282 | CreateWeld(star,rarm,star,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1283 | starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor) | |
| 1284 | CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95) | |
| 1285 | CreateWeld(starl,rarm,starl,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1286 | ||
| 1287 | ||
| 1288 | ||
| 1289 | for i, v in pairs(m:GetChildren()) do | |
| 1290 | if v:IsA("Part") then
| |
| 1291 | v.BrickColor = BrickColor.new("Really black")
| |
| 1292 | v.Material = "Glass" | |
| 1293 | end | |
| 1294 | end | |
| 1295 | for i, v in pairs(m2:GetChildren()) do | |
| 1296 | if v:IsA("Part") then
| |
| 1297 | v.BrickColor = BrickColor.new("Crimson")
| |
| 1298 | v.Material = "Granite" | |
| 1299 | end | |
| 1300 | end | |
| 1301 | for i, v in pairs(m3:GetChildren()) do | |
| 1302 | if v:IsA("Part") then
| |
| 1303 | v.BrickColor = BrickColor.new("Really red")
| |
| 1304 | v.Material = "Neon" | |
| 1305 | end | |
| 1306 | end | |
| 1307 | for i, v in pairs(mw2:GetChildren()) do | |
| 1308 | if v:IsA("Part") then
| |
| 1309 | v.BrickColor = BrickColor.new("Really red")
| |
| 1310 | v.Material = "Neon" | |
| 1311 | end | |
| 1312 | end | |
| 1313 | for i, v in pairs(mw1:GetChildren()) do | |
| 1314 | if v:IsA("Part") then
| |
| 1315 | v.Transparency = 1 | |
| 1316 | v.BrickColor = BrickColor.new("Really red")
| |
| 1317 | v.Material = "Neon" | |
| 1318 | end | |
| 1319 | end | |
| 1320 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 1321 | if v:IsA("Part") then
| |
| 1322 | v.Transparency = 1 | |
| 1323 | v.BrickColor = BrickColor.new("White")
| |
| 1324 | v.Material = "Neon" | |
| 1325 | end | |
| 1326 | end | |
| 1327 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 1328 | if v:IsA("Part") then
| |
| 1329 | v.Transparency = 1 | |
| 1330 | v.BrickColor = BrickColor.new("White")
| |
| 1331 | v.Material = "Neon" | |
| 1332 | end | |
| 1333 | end | |
| 1334 | local MAINRUINCOLOR = BrickColor.new("Really red")
| |
| 1335 | ------ | |
| 1336 | ||
| 1337 | ||
| 1338 | function RemoveOutlines(part) | |
| 1339 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 1340 | end | |
| 1341 | function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 1342 | local Part = Create("Part")({
| |
| 1343 | Parent = Parent, | |
| 1344 | Reflectance = Reflectance, | |
| 1345 | Transparency = Transparency, | |
| 1346 | CanCollide = false, | |
| 1347 | Locked = true, | |
| 1348 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 1349 | Name = Name, | |
| 1350 | Size = Size, | |
| 1351 | Material = Material | |
| 1352 | }) | |
| 1353 | Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001) | |
| 1354 | RemoveOutlines(Part) | |
| 1355 | return Part | |
| 1356 | end | |
| 1357 | function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 1358 | local Msh = Create(Mesh)({
| |
| 1359 | Parent = Part, | |
| 1360 | Offset = OffSet, | |
| 1361 | Scale = Scale | |
| 1362 | }) | |
| 1363 | if Mesh == "SpecialMesh" then | |
| 1364 | Msh.MeshType = MeshType | |
| 1365 | Msh.MeshId = MeshId | |
| 1366 | end | |
| 1367 | return Msh | |
| 1368 | end | |
| 1369 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
| 1370 | local Weld = Create("Weld")({
| |
| 1371 | Parent = Parent, | |
| 1372 | Part0 = Part0, | |
| 1373 | Part1 = Part1, | |
| 1374 | C0 = C0, | |
| 1375 | C1 = C1 | |
| 1376 | }) | |
| 1377 | return Weld | |
| 1378 | end | |
| 1379 | ||
| 1380 | Player = plr | |
| 1381 | Character=Player.Character | |
| 1382 | PlayerGui=Player.PlayerGui | |
| 1383 | Backpack=Player.Backpack | |
| 1384 | Torso=Character.Torso | |
| 1385 | Head=Character.Head | |
| 1386 | Humanoid=Character.Humanoid | |
| 1387 | m=Instance.new('Model',Character)
| |
| 1388 | LeftArm=Character["Left Arm"] | |
| 1389 | LeftLeg=Character["Left Leg"] | |
| 1390 | RightArm=Character["Right Arm"] | |
| 1391 | RightLeg=Character["Right Leg"] | |
| 1392 | LS=Torso["Left Shoulder"] | |
| 1393 | LH=Torso["Left Hip"] | |
| 1394 | RS=Torso["Right Shoulder"] | |
| 1395 | RH=Torso["Right Hip"] | |
| 1396 | Face = Head.face | |
| 1397 | Neck=Torso.Neck | |
| 1398 | it=Instance.new | |
| 1399 | attacktype=1 | |
| 1400 | vt=Vector3.new | |
| 1401 | cf=CFrame.new | |
| 1402 | euler=CFrame.fromEulerAnglesXYZ | |
| 1403 | angles=CFrame.Angles | |
| 1404 | cloaked=false | |
| 1405 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 1406 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 1407 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
| 1408 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
| 1409 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
| 1410 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
| 1411 | RootPart=Character.HumanoidRootPart | |
| 1412 | RootJoint=RootPart.RootJoint | |
| 1413 | RootCF=euler(-1.57,0,3.14) | |
| 1414 | attack = false | |
| 1415 | attackdebounce = false | |
| 1416 | deb=false | |
| 1417 | equipped=true | |
| 1418 | hand=false | |
| 1419 | combo=0 | |
| 1420 | mana=0 | |
| 1421 | trispeed=.2 | |
| 1422 | attackmode='none' | |
| 1423 | local idle=0 | |
| 1424 | local Anim="Idle" | |
| 1425 | local Effects={}
| |
| 1426 | local gun=false | |
| 1427 | local shoot=false | |
| 1428 | local sine = 0 | |
| 1429 | local change = 1 | |
| 1430 | ||
| 1431 | function RecolorTextAndRename(name,col1,col2,font) | |
| 1432 | modet.TextStrokeColor3 = col2 | |
| 1433 | modet.TextColor3 = col1 | |
| 1434 | modet.Font = font | |
| 1435 | modet.Text = name | |
| 1436 | techc.ImageColor3 = col2 | |
| 1437 | circl.ImageColor3 = col2 | |
| 1438 | circl2.ImageColor3 = col1 | |
| 1439 | imgl2.ImageColor3 = col1 | |
| 1440 | imgl2b.ImageColor3 = col2 | |
| 1441 | ned.Text = name | |
| 1442 | ned.TextColor3 = col1 | |
| 1443 | ned.TextStrokeColor3 = col2 | |
| 1444 | end | |
| 1445 | --save shoulders | |
| 1446 | RSH, LSH=nil, nil | |
| 1447 | --welds | |
| 1448 | RW, LW=Instance.new("Weld"), Instance.new("Weld")
| |
| 1449 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
| 1450 | LH=Torso["Left Hip"] | |
| 1451 | RH=Torso["Right Hip"] | |
| 1452 | TorsoColor=Torso.BrickColor | |
| 1453 | function NoOutline(Part) | |
| 1454 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
| 1455 | end | |
| 1456 | ch=Character | |
| 1457 | RSH=ch.Torso["Right Shoulder"] | |
| 1458 | LSH=ch.Torso["Left Shoulder"] | |
| 1459 | -- | |
| 1460 | RSH.Parent=nil | |
| 1461 | LSH.Parent=nil | |
| 1462 | -- | |
| 1463 | RW.Name="Right Shoulder" | |
| 1464 | RW.Part0=ch.Torso | |
| 1465 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
| 1466 | RW.C1=cf(0, 0.5, 0) | |
| 1467 | RW.Part1=ch["Right Arm"] | |
| 1468 | RW.Parent=ch.Torso | |
| 1469 | -- | |
| 1470 | LW.Name="Left Shoulder" | |
| 1471 | LW.Part0=ch.Torso | |
| 1472 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
| 1473 | LW.C1=cf(0, 0.5, 0) | |
| 1474 | LW.Part1=ch["Left Arm"] | |
| 1475 | LW.Parent=ch.Torso | |
| 1476 | ||
| 1477 | local Stats=Instance.new("BoolValue")
| |
| 1478 | Stats.Name="Stats" | |
| 1479 | Stats.Parent=Character | |
| 1480 | local Atk=Instance.new("NumberValue")
| |
| 1481 | Atk.Name="Damage" | |
| 1482 | Atk.Parent=Stats | |
| 1483 | Atk.Value=1 | |
| 1484 | local Def=Instance.new("NumberValue")
| |
| 1485 | Def.Name="Defense" | |
| 1486 | Def.Parent=Stats | |
| 1487 | Def.Value=1 | |
| 1488 | local Speed=Instance.new("NumberValue")
| |
| 1489 | Speed.Name="Speed" | |
| 1490 | Speed.Parent=Stats | |
| 1491 | Speed.Value=1 | |
| 1492 | local Mvmt=Instance.new("NumberValue")
| |
| 1493 | Mvmt.Name="Movement" | |
| 1494 | Mvmt.Parent=Stats | |
| 1495 | Mvmt.Value=1 | |
| 1496 | ||
| 1497 | local donum=0 | |
| 1498 | local ast = {744586075,385254610}
| |
| 1499 | ||
| 1500 | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
| 1501 | local fp=it("Part")
| |
| 1502 | fp.formFactor=formfactor | |
| 1503 | fp.Parent=parent | |
| 1504 | fp.Reflectance=reflectance | |
| 1505 | fp.Transparency=transparency | |
| 1506 | fp.CanCollide=false | |
| 1507 | fp.Locked=true | |
| 1508 | fp.BrickColor=brickcolor | |
| 1509 | fp.Name=name | |
| 1510 | fp.Size=size | |
| 1511 | fp.Position=Torso.Position | |
| 1512 | NoOutline(fp) | |
| 1513 | fp.Material="SmoothPlastic" | |
| 1514 | fp:BreakJoints() | |
| 1515 | return fp | |
| 1516 | end | |
| 1517 | ||
| 1518 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
| 1519 | local mesh=it(Mesh) | |
| 1520 | mesh.Parent=part | |
| 1521 | if Mesh=="SpecialMesh" then | |
| 1522 | mesh.MeshType=meshtype | |
| 1523 | if meshid~="nil" then | |
| 1524 | mesh.MeshId="http://www.roblox.com/asset/?id="..meshid | |
| 1525 | end | |
| 1526 | end | |
| 1527 | mesh.Offset=offset | |
| 1528 | mesh.Scale=scale | |
| 1529 | return mesh | |
| 1530 | end | |
| 1531 | ||
| 1532 | function weld(parent,part0,part1,c0) | |
| 1533 | local weld=it("Weld")
| |
| 1534 | weld.Parent=parent | |
| 1535 | weld.Part0=part0 | |
| 1536 | weld.Part1=part1 | |
| 1537 | weld.C0=c0 | |
| 1538 | return weld | |
| 1539 | end | |
| 1540 | ||
| 1541 | local Color1=Torso.BrickColor | |
| 1542 | ||
| 1543 | local bodvel=Instance.new("BodyVelocity")
| |
| 1544 | local bg=Instance.new("BodyGyro")
| |
| 1545 | ||
| 1546 | --------- SazEreno's Artificial HB -------------- | |
| 1547 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 1548 | ArtificialHB.Name = "ArtificialHB" | |
| 1549 | ||
| 1550 | script:WaitForChild("ArtificialHB")
| |
| 1551 | Frame_Speed = 1 / 60 | |
| 1552 | frame = Frame_Speed | |
| 1553 | tf = 0 | |
| 1554 | allowframeloss = false | |
| 1555 | tossremainder = false | |
| 1556 | lastframe = tick() | |
| 1557 | script.ArtificialHB:Fire() | |
| 1558 | ||
| 1559 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 1560 | tf = tf + s | |
| 1561 | if tf >= frame then | |
| 1562 | if allowframeloss then | |
| 1563 | script.ArtificialHB:Fire() | |
| 1564 | lastframe = tick() | |
| 1565 | else | |
| 1566 | for i = 1, math.floor(tf / frame) do | |
| 1567 | script.ArtificialHB:Fire() | |
| 1568 | end | |
| 1569 | lastframe = tick() | |
| 1570 | end | |
| 1571 | if tossremainder then | |
| 1572 | tf = 0 | |
| 1573 | else | |
| 1574 | tf = tf - frame * math.floor(tf / frame) | |
| 1575 | end | |
| 1576 | end | |
| 1577 | end) | |
| 1578 | ||
| 1579 | ------------------ | |
| 1580 | function swait(num) | |
| 1581 | if num == 0 or num == nil then | |
| 1582 | ArtificialHB.Event:wait() | |
| 1583 | else | |
| 1584 | for i = 1, num do | |
| 1585 | ArtificialHB.Event:wait() | |
| 1586 | end | |
| 1587 | end | |
| 1588 | end | |
| 1589 | -------- RAINBOW LEAVE IT TO ME | |
| 1590 | local r = 255 | |
| 1591 | local g = 0 | |
| 1592 | local b = 0 | |
| 1593 | coroutine.resume(coroutine.create(function() | |
| 1594 | while wait() do | |
| 1595 | for i = 0, 254/5 do | |
| 1596 | swait() | |
| 1597 | g = g + 5 | |
| 1598 | end | |
| 1599 | for i = 0, 254/5 do | |
| 1600 | swait() | |
| 1601 | r = r - 5 | |
| 1602 | end | |
| 1603 | for i = 0, 254/5 do | |
| 1604 | swait() | |
| 1605 | b = b + 5 | |
| 1606 | end | |
| 1607 | for i = 0, 254/5 do | |
| 1608 | swait() | |
| 1609 | g = g - 5 | |
| 1610 | end | |
| 1611 | for i = 0, 254/5 do | |
| 1612 | swait() | |
| 1613 | r = r + 5 | |
| 1614 | end | |
| 1615 | for i = 0, 254/5 do | |
| 1616 | swait() | |
| 1617 | b = b - 5 | |
| 1618 | end | |
| 1619 | end | |
| 1620 | end)) | |
| 1621 | ||
| 1622 | ||
| 1623 | so = function(id,par,vol,pit) | |
| 1624 | coroutine.resume(coroutine.create(function() | |
| 1625 | local sou = Instance.new("Sound",par or workspace)
| |
| 1626 | sou.Volume=vol | |
| 1627 | sou.Pitch=pit or 1 | |
| 1628 | sou.SoundId=id | |
| 1629 | swait() | |
| 1630 | sou:play() | |
| 1631 | game:GetService("Debris"):AddItem(sou,6)
| |
| 1632 | end)) | |
| 1633 | end | |
| 1634 | ||
| 1635 | function clerp(a,b,t) | |
| 1636 | local qa = {QuaternionFromCFrame(a)}
| |
| 1637 | local qb = {QuaternionFromCFrame(b)}
| |
| 1638 | local ax, ay, az = a.x, a.y, a.z | |
| 1639 | local bx, by, bz = b.x, b.y, b.z | |
| 1640 | local _t = 1-t | |
| 1641 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
| 1642 | end | |
| 1643 | ||
| 1644 | function QuaternionFromCFrame(cf) | |
| 1645 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 1646 | local trace = m00 + m11 + m22 | |
| 1647 | if trace > 0 then | |
| 1648 | local s = math.sqrt(1 + trace) | |
| 1649 | local recip = 0.5/s | |
| 1650 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
| 1651 | else | |
| 1652 | local i = 0 | |
| 1653 | if m11 > m00 then | |
| 1654 | i = 1 | |
| 1655 | end | |
| 1656 | if m22 > (i == 0 and m00 or m11) then | |
| 1657 | i = 2 | |
| 1658 | end | |
| 1659 | if i == 0 then | |
| 1660 | local s = math.sqrt(m00-m11-m22+1) | |
| 1661 | local recip = 0.5/s | |
| 1662 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
| 1663 | elseif i == 1 then | |
| 1664 | local s = math.sqrt(m11-m22-m00+1) | |
| 1665 | local recip = 0.5/s | |
| 1666 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
| 1667 | elseif i == 2 then | |
| 1668 | local s = math.sqrt(m22-m00-m11+1) | |
| 1669 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
| 1670 | end | |
| 1671 | end | |
| 1672 | end | |
| 1673 | ||
| 1674 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 1675 | local xs, ys, zs = x + x, y + y, z + z | |
| 1676 | local wx, wy, wz = w*xs, w*ys, w*zs | |
| 1677 | local xx = x*xs | |
| 1678 | local xy = x*ys | |
| 1679 | local xz = x*zs | |
| 1680 | local yy = y*ys | |
| 1681 | local yz = y*zs | |
| 1682 | local zz = z*zs | |
| 1683 | 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)) | |
| 1684 | end | |
| 1685 | ||
| 1686 | function QuaternionSlerp(a, b, t) | |
| 1687 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
| 1688 | local startInterp, finishInterp; | |
| 1689 | if cosTheta >= 0.0001 then | |
| 1690 | if (1 - cosTheta) > 0.0001 then | |
| 1691 | local theta = math.acos(cosTheta) | |
| 1692 | local invSinTheta = 1/math.sin(theta) | |
| 1693 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
| 1694 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 1695 | else | |
| 1696 | startInterp = 1-t | |
| 1697 | finishInterp = t | |
| 1698 | end | |
| 1699 | else | |
| 1700 | if (1+cosTheta) > 0.0001 then | |
| 1701 | local theta = math.acos(-cosTheta) | |
| 1702 | local invSinTheta = 1/math.sin(theta) | |
| 1703 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
| 1704 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 1705 | else | |
| 1706 | startInterp = t-1 | |
| 1707 | finishInterp = t | |
| 1708 | end | |
| 1709 | end | |
| 1710 | 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 | |
| 1711 | end | |
| 1712 | ||
| 1713 | local function CFrameFromTopBack(at, top, back) | |
| 1714 | local right = top:Cross(back) | |
| 1715 | return CFrame.new(at.x, at.y, at.z, | |
| 1716 | right.x, top.x, back.x, | |
| 1717 | right.y, top.y, back.y, | |
| 1718 | right.z, top.z, back.z) | |
| 1719 | end | |
| 1720 | ||
| 1721 | function Triangle(a, b, c) | |
| 1722 | local edg1 = (c-a):Dot((b-a).unit) | |
| 1723 | local edg2 = (a-b):Dot((c-b).unit) | |
| 1724 | local edg3 = (b-c):Dot((a-c).unit) | |
| 1725 | if edg1 <= (b-a).magnitude and edg1 >= 0 then | |
| 1726 | a, b, c = a, b, c | |
| 1727 | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then | |
| 1728 | a, b, c = b, c, a | |
| 1729 | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then | |
| 1730 | a, b, c = c, a, b | |
| 1731 | else | |
| 1732 | assert(false, "unreachable") | |
| 1733 | end | |
| 1734 | ||
| 1735 | local len1 = (c-a):Dot((b-a).unit) | |
| 1736 | local len2 = (b-a).magnitude - len1 | |
| 1737 | local width = (a + (b-a).unit*len1 - c).magnitude | |
| 1738 | ||
| 1739 | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) | |
| 1740 | ||
| 1741 | local list = {}
| |
| 1742 | ||
| 1743 | if len1 > 0.01 then | |
| 1744 | local w1 = Instance.new('WedgePart', m)
| |
| 1745 | game:GetService("Debris"):AddItem(w1,5)
| |
| 1746 | w1.Material = "SmoothPlastic" | |
| 1747 | w1.FormFactor = 'Custom' | |
| 1748 | w1.BrickColor = BrickColor.new("Really red")
| |
| 1749 | w1.Transparency = 0 | |
| 1750 | w1.Reflectance = 0 | |
| 1751 | w1.Material = "SmoothPlastic" | |
| 1752 | w1.CanCollide = false | |
| 1753 | local l1 = Instance.new("PointLight",w1)
| |
| 1754 | l1.Color = Color3.new(170,0,0) | |
| 1755 | NoOutline(w1) | |
| 1756 | local sz = Vector3.new(0.2, width, len1) | |
| 1757 | w1.Size = sz | |
| 1758 | local sp = Instance.new("SpecialMesh",w1)
| |
| 1759 | sp.MeshType = "Wedge" | |
| 1760 | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size | |
| 1761 | w1:BreakJoints() | |
| 1762 | w1.Anchored = true | |
| 1763 | w1.Parent = workspace | |
| 1764 | w1.Transparency = 0.7 | |
| 1765 | table.insert(Effects,{w1,"Disappear",.01})
| |
| 1766 | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) | |
| 1767 | table.insert(list,w1) | |
| 1768 | end | |
| 1769 | ||
| 1770 | if len2 > 0.01 then | |
| 1771 | local w2 = Instance.new('WedgePart', m)
| |
| 1772 | game:GetService("Debris"):AddItem(w2,5)
| |
| 1773 | w2.Material = "SmoothPlastic" | |
| 1774 | w2.FormFactor = 'Custom' | |
| 1775 | w2.BrickColor = BrickColor.new("Really red")
| |
| 1776 | w2.Transparency = 0 | |
| 1777 | w2.Reflectance = 0 | |
| 1778 | w2.Material = "SmoothPlastic" | |
| 1779 | w2.CanCollide = false | |
| 1780 | local l2 = Instance.new("PointLight",w2)
| |
| 1781 | l2.Color = Color3.new(170,0,0) | |
| 1782 | NoOutline(w2) | |
| 1783 | local sz = Vector3.new(0.2, width, len2) | |
| 1784 | w2.Size = sz | |
| 1785 | local sp = Instance.new("SpecialMesh",w2)
| |
| 1786 | sp.MeshType = "Wedge" | |
| 1787 | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size | |
| 1788 | w2:BreakJoints() | |
| 1789 | w2.Anchored = true | |
| 1790 | w2.Parent = workspace | |
| 1791 | w2.Transparency = 0.7 | |
| 1792 | table.insert(Effects,{w2,"Disappear",.01})
| |
| 1793 | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) | |
| 1794 | table.insert(list,w2) | |
| 1795 | end | |
| 1796 | return unpack(list) | |
| 1797 | end | |
| 1798 | ||
| 1799 | ||
| 1800 | function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 1801 | if hit.Parent == nil then | |
| 1802 | return | |
| 1803 | end | |
| 1804 | local h = hit.Parent:FindFirstChildOfClass("Humanoid")
| |
| 1805 | for _, v in pairs(hit.Parent:children()) do | |
| 1806 | if v:IsA("Humanoid") then
| |
| 1807 | h = v | |
| 1808 | end | |
| 1809 | end | |
| 1810 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
| |
| 1811 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
| |
| 1812 | return | |
| 1813 | end | |
| 1814 | local c = Create("ObjectValue")({
| |
| 1815 | Name = "creator", | |
| 1816 | Value = owner, | |
| 1817 | Parent = h | |
| 1818 | }) | |
| 1819 | game:GetService("Debris"):AddItem(c, 0.5)
| |
| 1820 | if HitSound ~= nil and HitPitch ~= nil then | |
| 1821 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
| 1822 | end | |
| 1823 | local Damage = math.random(minim, maxim) | |
| 1824 | local blocked = false | |
| 1825 | local block = hit.Parent:findFirstChild("Block")
| |
| 1826 | if block ~= nil and block.className == "IntValue" and block.Value > 0 then | |
| 1827 | blocked = true | |
| 1828 | block.Value = block.Value - 1 | |
| 1829 | print(block.Value) | |
| 1830 | end | |
| 1831 | if blocked == false then | |
| 1832 | HitHealth = h.Health | |
| 1833 | h.MaxHealth = 100 | |
| 1834 | h.Health = h.Health - Damage | |
| 1835 | if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then | |
| 1836 | print("gained kill")
| |
| 1837 | dmg(h.Parent) | |
| 1838 | end | |
| 1839 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
| 1840 | else | |
| 1841 | h.Health = h.Health - Damage / 2 | |
| 1842 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
| 1843 | end | |
| 1844 | if Type == "Knockdown" then | |
| 1845 | local hum = hit.Parent.Humanoid | |
| 1846 | hum.PlatformStand = true | |
| 1847 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 1848 | swait(1) | |
| 1849 | HHumanoid.PlatformStand = false | |
| 1850 | end), hum) | |
| 1851 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
| 1852 | local bodvol = Create("BodyVelocity")({
| |
| 1853 | velocity = angle * knockback, | |
| 1854 | P = 5000, | |
| 1855 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 1856 | Parent = hit | |
| 1857 | }) | |
| 1858 | local rl = Create("BodyAngularVelocity")({
| |
| 1859 | P = 3000, | |
| 1860 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
| 1861 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
| 1862 | Parent = hit | |
| 1863 | }) | |
| 1864 | game:GetService("Debris"):AddItem(bodvol, 0.5)
| |
| 1865 | game:GetService("Debris"):AddItem(rl, 0.5)
| |
| 1866 | elseif Type == "Normal" then | |
| 1867 | local vp = Create("BodyVelocity")({
| |
| 1868 | P = 500, | |
| 1869 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
| 1870 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
| 1871 | }) | |
| 1872 | if knockback > 0 then | |
| 1873 | vp.Parent = hit.Parent.Head | |
| 1874 | end | |
| 1875 | game:GetService("Debris"):AddItem(vp, 0.5)
| |
| 1876 | elseif Type == "Up" then | |
| 1877 | local bodyVelocity = Create("BodyVelocity")({
| |
| 1878 | velocity = Vector3.new(0, 20, 0), | |
| 1879 | P = 5000, | |
| 1880 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 1881 | Parent = hit | |
| 1882 | }) | |
| 1883 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
| |
| 1884 | local bodyVelocity = Create("BodyVelocity")({
| |
| 1885 | velocity = Vector3.new(0, 20, 0), | |
| 1886 | P = 5000, | |
| 1887 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 1888 | Parent = hit | |
| 1889 | }) | |
| 1890 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 1891 | elseif Type == "Leech" then | |
| 1892 | local hum = hit.Parent.Humanoid | |
| 1893 | if hum ~= nil then | |
| 1894 | for i = 0, 2 do | |
| 1895 | Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
| |
| 1896 | end | |
| 1897 | Humanoid.Health = Humanoid.Health + 10 | |
| 1898 | end | |
| 1899 | elseif Type == "UpKnock" then | |
| 1900 | local hum = hit.Parent.Humanoid | |
| 1901 | hum.PlatformStand = true | |
| 1902 | if hum ~= nil then | |
| 1903 | hitr = true | |
| 1904 | end | |
| 1905 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 1906 | swait(5) | |
| 1907 | HHumanoid.PlatformStand = false | |
| 1908 | hitr = false | |
| 1909 | end), hum) | |
| 1910 | local bodyVelocity = Create("BodyVelocity")({
| |
| 1911 | velocity = Vector3.new(0, 20, 0), | |
| 1912 | P = 5000, | |
| 1913 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 1914 | Parent = hit | |
| 1915 | }) | |
| 1916 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
| |
| 1917 | local bodyVelocity = Create("BodyVelocity")({
| |
| 1918 | velocity = Vector3.new(0, 20, 0), | |
| 1919 | P = 5000, | |
| 1920 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 1921 | Parent = hit | |
| 1922 | }) | |
| 1923 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 1924 | elseif Type == "Snare" then | |
| 1925 | local bp = Create("BodyPosition")({
| |
| 1926 | P = 2000, | |
| 1927 | D = 100, | |
| 1928 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 1929 | position = hit.Parent.Torso.Position, | |
| 1930 | Parent = hit.Parent.Torso | |
| 1931 | }) | |
| 1932 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 1933 | elseif Type == "Slashnare" then | |
| 1934 | Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 15*4, 15*4, 15*4, 3*4, 3*4, 3*4, 0.07)
| |
| 1935 | for i = 1, math.random(4, 5) do | |
| 1936 | Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
| |
| 1937 | end | |
| 1938 | local bp = Create("BodyPosition")({
| |
| 1939 | P = 2000, | |
| 1940 | D = 100, | |
| 1941 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 1942 | position = hit.Parent.Torso.Position, | |
| 1943 | Parent = hit.Parent.Torso | |
| 1944 | }) | |
| 1945 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 1946 | elseif Type == "Spike" then | |
| 1947 | CreateBigIceSword(hit.Parent.Torso.CFrame) | |
| 1948 | local bp = Create("BodyPosition")({
| |
| 1949 | P = 2000, | |
| 1950 | D = 100, | |
| 1951 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 1952 | position = hit.Parent.Torso.Position, | |
| 1953 | Parent = hit.Parent.Torso | |
| 1954 | }) | |
| 1955 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 1956 | elseif Type == "Freeze" then | |
| 1957 | local BodPos = Create("BodyPosition")({
| |
| 1958 | P = 50000, | |
| 1959 | D = 1000, | |
| 1960 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 1961 | position = hit.Parent.Torso.Position, | |
| 1962 | Parent = hit.Parent.Torso | |
| 1963 | }) | |
| 1964 | local BodGy = Create("BodyGyro")({
| |
| 1965 | maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, | |
| 1966 | P = 20000, | |
| 1967 | Parent = hit.Parent.Torso, | |
| 1968 | cframe = hit.Parent.Torso.CFrame | |
| 1969 | }) | |
| 1970 | hit.Parent.Torso.Anchored = true | |
| 1971 | coroutine.resume(coroutine.create(function(Part) | |
| 1972 | swait(1.5) | |
| 1973 | Part.Anchored = false | |
| 1974 | end), hit.Parent.Torso) | |
| 1975 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 1976 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 1977 | end | |
| 1978 | local debounce = Create("BoolValue")({
| |
| 1979 | Name = "DebounceHit", | |
| 1980 | Parent = hit.Parent, | |
| 1981 | Value = true | |
| 1982 | }) | |
| 1983 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 1984 | c = Instance.new("ObjectValue")
| |
| 1985 | c.Name = "creator" | |
| 1986 | c.Value = Player | |
| 1987 | c.Parent = h | |
| 1988 | game:GetService("Debris"):AddItem(c, 0.5)
| |
| 1989 | end | |
| 1990 | end | |
| 1991 | function ShowDamage(Pos, Text, Time, Color) | |
| 1992 | local Rate = 0.03333333333333333 | |
| 1993 | local Pos = Pos or Vector3.new(0, 0, 0) | |
| 1994 | local Text = Text or "" | |
| 1995 | local Time = Time or 2 | |
| 1996 | local Color = Color or Color3.new(1, 0, 1) | |
| 1997 | local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
| 1998 | EffectPart.Anchored = true | |
| 1999 | local BillboardGui = Create("BillboardGui")({
| |
| 2000 | Size = UDim2.new(3, 0, 3, 0), | |
| 2001 | Adornee = EffectPart, | |
| 2002 | Parent = EffectPart | |
| 2003 | }) | |
| 2004 | local TextLabel = Create("TextLabel")({
| |
| 2005 | BackgroundTransparency = 1, | |
| 2006 | Size = UDim2.new(1, 0, 1, 0), | |
| 2007 | Text = Text, | |
| 2008 | TextColor3 = Color, | |
| 2009 | TextScaled = true, | |
| 2010 | Font = Enum.Font.ArialBold, | |
| 2011 | Parent = BillboardGui | |
| 2012 | }) | |
| 2013 | game.Debris:AddItem(EffectPart, Time + 0.1) | |
| 2014 | EffectPart.Parent = game:GetService("Workspace")
| |
| 2015 | delay(0, function() | |
| 2016 | local Frames = Time / Rate | |
| 2017 | for Frame = 1, Frames do | |
| 2018 | wait(Rate) | |
| 2019 | local Percent = Frame / Frames | |
| 2020 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 2021 | TextLabel.TextTransparency = Percent | |
| 2022 | end | |
| 2023 | if EffectPart and EffectPart.Parent then | |
| 2024 | EffectPart:Destroy() | |
| 2025 | end | |
| 2026 | end) | |
| 2027 | end | |
| 2028 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
| 2029 | for _, c in pairs(workspace:children()) do | |
| 2030 | local hum = c:findFirstChildOfClass("Humanoid")
| |
| 2031 | if hum ~= nil then | |
| 2032 | local head = c:findFirstChild("Head")
| |
| 2033 | if head ~= nil then | |
| 2034 | local targ = head.Position - Part.Position | |
| 2035 | local mag = targ.magnitude | |
| 2036 | if magni >= mag and c.Name ~= Player.Name then | |
| 2037 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) | |
| 2038 | end | |
| 2039 | end | |
| 2040 | end | |
| 2041 | end | |
| 2042 | end | |
| 2043 | ||
| 2044 | function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type) | |
| 2045 | for _, c in pairs(workspace:children()) do | |
| 2046 | local hum = c:findFirstChild("Humanoid")
| |
| 2047 | if hum ~= nil then | |
| 2048 | local head = c:findFirstChild("Torso")
| |
| 2049 | if head ~= nil then | |
| 2050 | local targ = head.Position - Part.Position | |
| 2051 | local mag = targ.magnitude | |
| 2052 | if magni >= mag and c.Name ~= Player.Name then | |
| 2053 | MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
| |
| 2054 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) | |
| 2055 | end | |
| 2056 | end | |
| 2057 | end | |
| 2058 | end | |
| 2059 | end | |
| 2060 | ||
| 2061 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
| 2062 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
| |
| 2063 | end | |
| 2064 | ||
| 2065 | function SkullEffect(brickcolor,cframe,x1,y1,z1,delay) | |
| 2066 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2067 | prt.Anchored=true | |
| 2068 | prt.CFrame=cframe | |
| 2069 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
| |
| 2070 | --http://www.roblox.com/asset/?id=4770560 | |
| 2071 | game:GetService("Debris"):AddItem(prt,2)
| |
| 2072 | CF=prt.CFrame | |
| 2073 | coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) | |
| 2074 | for i=0,1,0.2 do | |
| 2075 | wait() | |
| 2076 | Part.CFrame=CF*cf(0,0,-0.4) | |
| 2077 | end | |
| 2078 | for i=0,1,delay do | |
| 2079 | wait() | |
| 2080 | --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5) | |
| 2081 | Mesh.Scale=Mesh.Scale | |
| 2082 | end | |
| 2083 | for i=0,1,0.1 do | |
| 2084 | wait() | |
| 2085 | Part.Transparency=i | |
| 2086 | end | |
| 2087 | Part.Parent=nil | |
| 2088 | end),prt,msh,CF) | |
| 2089 | end | |
| 2090 | ||
| 2091 | function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 2092 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2093 | prt.Anchored=true | |
| 2094 | prt.Material = "Neon" | |
| 2095 | prt.CFrame=cframe | |
| 2096 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2097 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2098 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2099 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2100 | for i=0,1,delay do | |
| 2101 | swait() | |
| 2102 | Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2103 | Part.Transparency=i | |
| 2104 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2105 | end | |
| 2106 | Part.Parent=nil | |
| 2107 | end),prt,msh) | |
| 2108 | end | |
| 2109 | ||
| 2110 | function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
| 2111 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2112 | prt.Anchored=true | |
| 2113 | prt.Material = "Neon" | |
| 2114 | prt.CFrame=cframe | |
| 2115 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2116 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2117 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2118 | local rtype = rottype | |
| 2119 | for i=0,1,delay do | |
| 2120 | swait() | |
| 2121 | if rtype == 1 then | |
| 2122 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
| 2123 | elseif rtype == 2 then | |
| 2124 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
| 2125 | end | |
| 2126 | Part.Transparency=i | |
| 2127 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2128 | end | |
| 2129 | Part.Parent=nil | |
| 2130 | end),prt,msh) | |
| 2131 | end | |
| 2132 | ||
| 2133 | function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 2134 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2135 | prt.Anchored=true | |
| 2136 | prt.CFrame=cframe | |
| 2137 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2138 | msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2139 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2140 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2141 | for i=0,1,delay do | |
| 2142 | wait() | |
| 2143 | Part.Transparency=i | |
| 2144 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2145 | end | |
| 2146 | Part.Parent=nil | |
| 2147 | end),prt,msh) | |
| 2148 | end | |
| 2149 | ||
| 2150 | function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
| 2151 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2152 | prt.Anchored=true | |
| 2153 | prt.Material = "Neon" | |
| 2154 | prt.CFrame=cframe | |
| 2155 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2156 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2157 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2158 | local rtype = rottype | |
| 2159 | for i=0,1,delay do | |
| 2160 | swait() | |
| 2161 | if rtype == 1 then | |
| 2162 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
| 2163 | elseif rtype == 2 then | |
| 2164 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
| 2165 | end | |
| 2166 | Part.Transparency=i | |
| 2167 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2168 | end | |
| 2169 | Part.Parent=nil | |
| 2170 | end),prt,msh) | |
| 2171 | end | |
| 2172 | ||
| 2173 | function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype) | |
| 2174 | local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2175 | prt.Anchored=true | |
| 2176 | prt.Material = "Neon" | |
| 2177 | prt.CFrame=cframe | |
| 2178 | local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt) | |
| 2179 | local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt) | |
| 2180 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
| |
| 2181 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2182 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2183 | local rtype = rottype | |
| 2184 | for i=0,1,delay do | |
| 2185 | swait() | |
| 2186 | if rtype == 1 then | |
| 2187 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
| 2188 | elseif rtype == 2 then | |
| 2189 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
| 2190 | end | |
| 2191 | dec.Transparency=i | |
| 2192 | dec2.Transparency=i | |
| 2193 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
| 2194 | end | |
| 2195 | Part.Parent=nil | |
| 2196 | end),prt,msh) | |
| 2197 | end | |
| 2198 | ||
| 2199 | function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype) | |
| 2200 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2201 | prt.Anchored=true | |
| 2202 | prt.Material = "Neon" | |
| 2203 | prt.CFrame=cframe | |
| 2204 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
| |
| 2205 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2206 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2207 | local rtype = rottype | |
| 2208 | for i=0,1,delay do | |
| 2209 | swait() | |
| 2210 | if rtype == 1 then | |
| 2211 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
| 2212 | elseif rtype == 2 then | |
| 2213 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
| 2214 | end | |
| 2215 | prt.Transparency=i | |
| 2216 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
| 2217 | end | |
| 2218 | Part.Parent=nil | |
| 2219 | end),prt,msh) | |
| 2220 | end | |
| 2221 | ||
| 2222 | function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype) | |
| 2223 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2224 | prt.Anchored=true | |
| 2225 | prt.Material = "Neon" | |
| 2226 | prt.CFrame=cframe | |
| 2227 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
| |
| 2228 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2229 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2230 | local rtype = rottype | |
| 2231 | for i=0,1,delay do | |
| 2232 | swait() | |
| 2233 | if rtype == 1 then | |
| 2234 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0) | |
| 2235 | elseif rtype == 2 then | |
| 2236 | prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0) | |
| 2237 | end | |
| 2238 | prt.Transparency=i | |
| 2239 | Mesh.Scale=Mesh.Scale+vt(x3,0,z3) | |
| 2240 | end | |
| 2241 | Part.Parent=nil | |
| 2242 | end),prt,msh) | |
| 2243 | end | |
| 2244 | ||
| 2245 | function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype) | |
| 2246 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2247 | prt.Anchored=true | |
| 2248 | prt.Material = "Neon" | |
| 2249 | prt.CFrame=cframe | |
| 2250 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2251 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2252 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2253 | local rtype = rottype | |
| 2254 | for i=0,1,delay do | |
| 2255 | swait() | |
| 2256 | if rtype == 1 then | |
| 2257 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
| 2258 | elseif rtype == 2 then | |
| 2259 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
| 2260 | end | |
| 2261 | prt.Transparency=i | |
| 2262 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
| 2263 | end | |
| 2264 | Part.Parent=nil | |
| 2265 | end),prt,msh) | |
| 2266 | end | |
| 2267 | ||
| 2268 | function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
| 2269 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2270 | prt.Anchored=true | |
| 2271 | prt.Material = "Neon" | |
| 2272 | prt.CFrame=cframe | |
| 2273 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2274 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2275 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2276 | local rtype = rottype | |
| 2277 | for i=0,1,delay do | |
| 2278 | swait() | |
| 2279 | if rtype == 1 then | |
| 2280 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
| 2281 | elseif rtype == 2 then | |
| 2282 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
| 2283 | end | |
| 2284 | prt.Transparency=i | |
| 2285 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2286 | end | |
| 2287 | Part.Parent=nil | |
| 2288 | end),prt,msh) | |
| 2289 | end | |
| 2290 | ||
| 2291 | function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
| 2292 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2293 | prt.Anchored=false | |
| 2294 | prt.CFrame=cframe | |
| 2295 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2296 | local wld=weld(prt,prt,Parent,cframe) | |
| 2297 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2298 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
| 2299 | for i=0,1,delay do | |
| 2300 | wait() | |
| 2301 | Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe | |
| 2302 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2303 | Part.Transparency=i | |
| 2304 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2305 | end | |
| 2306 | Part.Parent=nil | |
| 2307 | end),prt,msh,wld) | |
| 2308 | end | |
| 2309 | ||
| 2310 | function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
| 2311 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2312 | prt.Anchored=false | |
| 2313 | prt.CFrame=cframe | |
| 2314 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2315 | local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0)) | |
| 2316 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2317 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
| 2318 | for i=0,1,delay do | |
| 2319 | wait() | |
| 2320 | Weld.C0=euler(i*20,0,0) | |
| 2321 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2322 | Part.Transparency=i | |
| 2323 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2324 | end | |
| 2325 | Part.Parent=nil | |
| 2326 | end),prt,msh,wld) | |
| 2327 | end | |
| 2328 | ||
| 2329 | function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 2330 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2331 | prt.Anchored=true | |
| 2332 | prt.CFrame=cframe | |
| 2333 | local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2334 | game:GetService("Debris"):AddItem(prt,2)
| |
| 2335 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2336 | for i=0,1,delay do | |
| 2337 | wait() | |
| 2338 | Part.CFrame=Part.CFrame | |
| 2339 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2340 | local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2341 | prt2.Anchored=true | |
| 2342 | prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2343 | local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
| |
| 2344 | game:GetService("Debris"):AddItem(prt2,2)
| |
| 2345 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2346 | for i=0,1,0.1 do | |
| 2347 | wait() | |
| 2348 | Part.CFrame=Part.CFrame*cf(0,0.5,0) | |
| 2349 | end | |
| 2350 | Part.Parent=nil | |
| 2351 | end),prt2,msh2) | |
| 2352 | end | |
| 2353 | for i=0,1,delay*2 do | |
| 2354 | wait() | |
| 2355 | Part.CFrame=Part.CFrame | |
| 2356 | Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i) | |
| 2357 | end | |
| 2358 | Part.Parent=nil | |
| 2359 | end),prt,msh) | |
| 2360 | end | |
| 2361 | ||
| 2362 | function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 2363 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2364 | prt.Anchored=true | |
| 2365 | prt.CFrame=cframe | |
| 2366 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2367 | game:GetService("Debris"):AddItem(prt,2)
| |
| 2368 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2369 | for i=0,1,delay do | |
| 2370 | wait() | |
| 2371 | Part.CFrame=Part.CFrame | |
| 2372 | Part.Transparency=i | |
| 2373 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2374 | end | |
| 2375 | Part.Parent=nil | |
| 2376 | end),prt,msh) | |
| 2377 | end | |
| 2378 | ||
| 2379 | function BreakEffect(brickcolor,cframe,x1,y1,z1) | |
| 2380 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2381 | prt.Anchored=true | |
| 2382 | prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2383 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2384 | game:GetService("Debris"):AddItem(prt,2)
| |
| 2385 | coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) | |
| 2386 | CF=Part.CFrame | |
| 2387 | Numbb=0 | |
| 2388 | randnumb=math.random()/10 | |
| 2389 | rand1=math.random()/10 | |
| 2390 | for i=0,1,rand1 do | |
| 2391 | wait() | |
| 2392 | CF=CF*cf(0,math.random()/2,0) | |
| 2393 | --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0) | |
| 2394 | Part.CFrame=CF*euler(Numbb,0,0) | |
| 2395 | Part.Transparency=i | |
| 2396 | Numbb=Numbb+randnumb | |
| 2397 | end | |
| 2398 | Part.Parent=nil | |
| 2399 | end),prt,CF,Numbb,randnumb) | |
| 2400 | end | |
| 2401 | ||
| 2402 | function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 2403 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2404 | prt.Anchored=true | |
| 2405 | prt.CFrame=cframe | |
| 2406 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
| |
| 2407 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2408 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2409 | for i=0,1,delay do | |
| 2410 | wait() | |
| 2411 | Part.CFrame=Part.CFrame*euler(0,0.7,0) | |
| 2412 | Part.Transparency=i | |
| 2413 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2414 | end | |
| 2415 | Part.Parent=nil | |
| 2416 | end),prt,msh) | |
| 2417 | end | |
| 2418 | ||
| 2419 | function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 2420 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2421 | prt.Anchored=true | |
| 2422 | prt.CFrame=cframe | |
| 2423 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
| |
| 2424 | game:GetService("Debris"):AddItem(prt,2)
| |
| 2425 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2426 | for i=0,1,delay do | |
| 2427 | wait() | |
| 2428 | Part.CFrame=Part.CFrame*cf(0,y3/2,0) | |
| 2429 | Part.Transparency=i | |
| 2430 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2431 | end | |
| 2432 | Part.Parent=nil | |
| 2433 | end),prt,msh) | |
| 2434 | end | |
| 2435 | ||
| 2436 | function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay) | |
| 2437 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2438 | prt.Anchored=true | |
| 2439 | prt.CFrame=cframe*cf(x,y,z) | |
| 2440 | msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
| |
| 2441 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2442 | coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) | |
| 2443 | local num=math.random() | |
| 2444 | local num2=math.random(-3,2)+math.random() | |
| 2445 | local numm=0 | |
| 2446 | for i=0,1,delay*2 do | |
| 2447 | swait() | |
| 2448 | Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0) | |
| 2449 | Part.Transparency=i | |
| 2450 | numm=numm+0.01 | |
| 2451 | end | |
| 2452 | Part.Parent=nil | |
| 2453 | Mesh.Parent=nil | |
| 2454 | end),prt,msh,x,y,z) | |
| 2455 | end | |
| 2456 | ||
| 2457 | function dmgstart(dmg,what) | |
| 2458 | hitcon = what.Touched:connect(function(hit) | |
| 2459 | local hum = hit.Parent:FindFirstChild("Humanoid")
| |
| 2460 | if hum and not hum:IsDescendantOf(Character) then | |
| 2461 | hum:TakeDamage(dmg) | |
| 2462 | end | |
| 2463 | end) | |
| 2464 | end | |
| 2465 | ||
| 2466 | function dmgstop() | |
| 2467 | hitcon:disconnect() | |
| 2468 | end | |
| 2469 | ||
| 2470 | function Cloak() | |
| 2471 | Face.Parent=nil | |
| 2472 | cloaked=true | |
| 2473 | for _,v in pairs(Torso.Parent:children()) do | |
| 2474 | if v.className=="Part" and v.Name~="HumanoidRootPart" then | |
| 2475 | coroutine.resume(coroutine.create(function() | |
| 2476 | for i=0,1,0.2 do | |
| 2477 | wait() | |
| 2478 | v.Transparency=i | |
| 2479 | end | |
| 2480 | v.Transparency=1 | |
| 2481 | end)) | |
| 2482 | end | |
| 2483 | if v.className=="Hat" then | |
| 2484 | hatp=v.Handle | |
| 2485 | coroutine.resume(coroutine.create(function(derp) | |
| 2486 | for i=0,1,0.2 do | |
| 2487 | wait() | |
| 2488 | derp.Transparency=i | |
| 2489 | end | |
| 2490 | derp.Transparency=1 | |
| 2491 | end),hatp) | |
| 2492 | end | |
| 2493 | end | |
| 2494 | for _,v in pairs(m:children()) do | |
| 2495 | if v.className=="Part" then | |
| 2496 | coroutine.resume(coroutine.create(function() | |
| 2497 | for i=0,1,0.2 do | |
| 2498 | wait() | |
| 2499 | v.Transparency=i | |
| 2500 | end | |
| 2501 | v.Transparency=1 | |
| 2502 | end)) | |
| 2503 | end | |
| 2504 | end | |
| 2505 | end | |
| 2506 | ||
| 2507 | function UnCloak() | |
| 2508 | so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
| |
| 2509 | Face.Parent=Head | |
| 2510 | cloaked=false | |
| 2511 | for _,v in pairs(Torso.Parent:children()) do | |
| 2512 | if v.className=="Part" and v.Name~="HumanoidRootPart" then | |
| 2513 | coroutine.resume(coroutine.create(function() | |
| 2514 | for i=0,1,0.1 do | |
| 2515 | wait() | |
| 2516 | v.Transparency=v.Transparency-0.1 | |
| 2517 | end | |
| 2518 | v.Transparency=0 | |
| 2519 | end)) | |
| 2520 | end | |
| 2521 | if v.className=="Hat" then | |
| 2522 | hatp=v.Handle | |
| 2523 | coroutine.resume(coroutine.create(function(derp) | |
| 2524 | for i=0,1,0.1 do | |
| 2525 | wait() | |
| 2526 | derp.Transparency=derp.Transparency-0.1 | |
| 2527 | end | |
| 2528 | derp.Transparency=0 | |
| 2529 | end),hatp) | |
| 2530 | end | |
| 2531 | end | |
| 2532 | for _,v in pairs(m:children()) do | |
| 2533 | if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then | |
| 2534 | coroutine.resume(coroutine.create(function() | |
| 2535 | for i=0,1,0.1 do | |
| 2536 | wait() | |
| 2537 | v.Transparency=v.Transparency-0.1 | |
| 2538 | end | |
| 2539 | v.Transparency=0 | |
| 2540 | end)) | |
| 2541 | v.Transparency=0 | |
| 2542 | end | |
| 2543 | end | |
| 2544 | end | |
| 2545 | ||
| 2546 | local origcolor = BrickColor.new("Pastel light blue")
| |
| 2547 | ---- This section of explosions. | |
| 2548 | ||
| 2549 | ---- | |
| 2550 | ||
| 2551 | ||
| 2552 | function ring(type,pos,scale,value) | |
| 2553 | local type = type | |
| 2554 | local rng = Instance.new("Part", char)
| |
| 2555 | rng.Anchored = true | |
| 2556 | rng.BrickColor = origcolor | |
| 2557 | rng.CanCollide = false | |
| 2558 | rng.FormFactor = 3 | |
| 2559 | rng.Name = "Ring" | |
| 2560 | rng.Size = Vector3.new(1, 1, 1) | |
| 2561 | rng.Transparency = 0 | |
| 2562 | rng.TopSurface = 0 | |
| 2563 | rng.BottomSurface = 0 | |
| 2564 | rng.CFrame = pos | |
| 2565 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2566 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 2567 | rngm.Scale = scale | |
| 2568 | local scaler2 = 1 | |
| 2569 | if type == "Add" then | |
| 2570 | scaler2 = 1*value | |
| 2571 | elseif type == "Divide" then | |
| 2572 | scaler2 = 1/value | |
| 2573 | end | |
| 2574 | coroutine.resume(coroutine.create(function() | |
| 2575 | for i = 0,10,0.1 do | |
| 2576 | swait() | |
| 2577 | if type == "Add" then | |
| 2578 | scaler2 = scaler2 - 0.01*value | |
| 2579 | elseif type == "Divide" then | |
| 2580 | scaler2 = scaler2 - 0.01/value | |
| 2581 | end | |
| 2582 | rng.Transparency = rng.Transparency + 0.01 | |
| 2583 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
| 2584 | end | |
| 2585 | rng:Destroy() | |
| 2586 | end)) | |
| 2587 | end | |
| 2588 | ||
| 2589 | ||
| 2590 | function wave(type,pos,scale,value) | |
| 2591 | local type = type | |
| 2592 | local rng = Instance.new("Part", char)
| |
| 2593 | rng.Anchored = true | |
| 2594 | rng.BrickColor = origcolor | |
| 2595 | rng.CanCollide = false | |
| 2596 | rng.FormFactor = 3 | |
| 2597 | rng.Name = "Ring" | |
| 2598 | rng.Size = Vector3.new(1, 1, 1) | |
| 2599 | rng.Transparency = 0 | |
| 2600 | rng.TopSurface = 0 | |
| 2601 | rng.BottomSurface = 0 | |
| 2602 | rng.CFrame = pos | |
| 2603 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2604 | rngm.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
| 2605 | rngm.Scale = scale | |
| 2606 | local scaler2 = 1 | |
| 2607 | if type == "Add" then | |
| 2608 | scaler2 = 1*value | |
| 2609 | elseif type == "Divide" then | |
| 2610 | scaler2 = 1/value | |
| 2611 | end | |
| 2612 | coroutine.resume(coroutine.create(function() | |
| 2613 | for i = 0,10,0.1 do | |
| 2614 | swait() | |
| 2615 | if type == "Add" then | |
| 2616 | scaler2 = scaler2 - 0.01*value | |
| 2617 | elseif type == "Divide" then | |
| 2618 | scaler2 = scaler2 - 0.01/value | |
| 2619 | end | |
| 2620 | rng.Transparency = rng.Transparency + 0.01 | |
| 2621 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) | |
| 2622 | end | |
| 2623 | rng:Destroy() | |
| 2624 | end)) | |
| 2625 | end | |
| 2626 | ||
| 2627 | function wind(type,pos,scale,value,speed) | |
| 2628 | local type = type | |
| 2629 | local rng = Instance.new("Part", char)
| |
| 2630 | rng.Anchored = true | |
| 2631 | rng.BrickColor = origcolor | |
| 2632 | rng.CanCollide = false | |
| 2633 | rng.FormFactor = 3 | |
| 2634 | rng.Name = "Ring" | |
| 2635 | rng.Size = Vector3.new(1, 1, 1) | |
| 2636 | rng.Transparency = 0 | |
| 2637 | rng.TopSurface = 0 | |
| 2638 | rng.BottomSurface = 0 | |
| 2639 | rng.CFrame = pos | |
| 2640 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2641 | rngm.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
| 2642 | rngm.Scale = scale | |
| 2643 | local scaler2 = 1 | |
| 2644 | if type == "Add" then | |
| 2645 | scaler2 = 1*value | |
| 2646 | elseif type == "Divide" then | |
| 2647 | scaler2 = 1/value | |
| 2648 | end | |
| 2649 | coroutine.resume(coroutine.create(function() | |
| 2650 | for i = 0,10,0.1 do | |
| 2651 | swait() | |
| 2652 | if type == "Add" then | |
| 2653 | scaler2 = scaler2 - 0.01*value | |
| 2654 | elseif type == "Divide" then | |
| 2655 | scaler2 = scaler2 - 0.01/value | |
| 2656 | end | |
| 2657 | rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0) | |
| 2658 | rng.Transparency = rng.Transparency + 0.01 | |
| 2659 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) | |
| 2660 | end | |
| 2661 | rng:Destroy() | |
| 2662 | end)) | |
| 2663 | end | |
| 2664 | ||
| 2665 | function groundwind(type,pos,scale,value,speed) | |
| 2666 | local type = type | |
| 2667 | local rng = Instance.new("Part", char)
| |
| 2668 | rng.Anchored = true | |
| 2669 | rng.BrickColor = origcolor | |
| 2670 | rng.CanCollide = false | |
| 2671 | rng.FormFactor = 3 | |
| 2672 | rng.Name = "Ring" | |
| 2673 | rng.Size = Vector3.new(1, 1, 1) | |
| 2674 | rng.Transparency = 0 | |
| 2675 | rng.TopSurface = 0 | |
| 2676 | rng.BottomSurface = 0 | |
| 2677 | rng.CFrame = pos | |
| 2678 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2679 | rngm.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
| 2680 | rngm.Scale = scale | |
| 2681 | local scaler2 = 1 | |
| 2682 | if type == "Add" then | |
| 2683 | scaler2 = 1*value | |
| 2684 | elseif type == "Divide" then | |
| 2685 | scaler2 = 1/value | |
| 2686 | end | |
| 2687 | coroutine.resume(coroutine.create(function() | |
| 2688 | for i = 0,10,0.1 do | |
| 2689 | swait() | |
| 2690 | if type == "Add" then | |
| 2691 | scaler2 = scaler2 - 0.01*value | |
| 2692 | elseif type == "Divide" then | |
| 2693 | scaler2 = scaler2 - 0.01/value | |
| 2694 | end | |
| 2695 | rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0) | |
| 2696 | rng.Transparency = rng.Transparency + 0.01 | |
| 2697 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2) | |
| 2698 | end | |
| 2699 | rng:Destroy() | |
| 2700 | end)) | |
| 2701 | end | |
| 2702 | ||
| 2703 | function CameraManager() | |
| 2704 | if TwoD and not CamInterrupt then | |
| 2705 | if Humanoid.Health > 0 then | |
| 2706 | Camera.CameraSubject = Humanoid | |
| 2707 | Camera.CameraType = "Scriptable" | |
| 2708 | Humanoid.AutoRotate = false | |
| 2709 | if Booleans.GyroUse then | |
| 2710 | Directer.MaxTorque = Vec3(0, huge, 0) | |
| 2711 | else | |
| 2712 | Directer.MaxTorque = Vec3(0, 0, 0) | |
| 2713 | end | |
| 2714 | if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then | |
| 2715 | if Booleans.CamFollow then | |
| 2716 | CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z)) | |
| 2717 | Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position) | |
| 2718 | else | |
| 2719 | CPart.Position = RootPart.Position | |
| 2720 | end | |
| 2721 | else | |
| 2722 | local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p | |
| 2723 | CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z)) | |
| 2724 | end | |
| 2725 | Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2) | |
| 2726 | else | |
| 2727 | Camera.CameraSubject = Humanoid | |
| 2728 | Camera.CameraType = "Custom" | |
| 2729 | Controller.Disabled = false | |
| 2730 | end | |
| 2731 | end | |
| 2732 | end | |
| 2733 | ||
| 2734 | function ring(type,pos,scale,value) | |
| 2735 | local type = type | |
| 2736 | local rng = Instance.new("Part", char)
| |
| 2737 | rng.Anchored = true | |
| 2738 | rng.BrickColor = origcolor | |
| 2739 | rng.CanCollide = false | |
| 2740 | rng.FormFactor = 3 | |
| 2741 | rng.Name = "Ring" | |
| 2742 | rng.Size = Vector3.new(1, 1, 1) | |
| 2743 | rng.Transparency = 0 | |
| 2744 | rng.TopSurface = 0 | |
| 2745 | rng.BottomSurface = 0 | |
| 2746 | rng.CFrame = pos | |
| 2747 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2748 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 2749 | rngm.Scale = scale | |
| 2750 | local scaler2 = 1 | |
| 2751 | if type == "Add" then | |
| 2752 | scaler2 = 1*value | |
| 2753 | elseif type == "Divide" then | |
| 2754 | scaler2 = 1/value | |
| 2755 | end | |
| 2756 | coroutine.resume(coroutine.create(function() | |
| 2757 | for i = 0,10,0.1 do | |
| 2758 | swait() | |
| 2759 | if type == "Add" then | |
| 2760 | scaler2 = scaler2 - 0.01*value | |
| 2761 | elseif type == "Divide" then | |
| 2762 | scaler2 = scaler2 - 0.01/value | |
| 2763 | end | |
| 2764 | rng.Transparency = rng.Transparency + 0.01 | |
| 2765 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
| 2766 | end | |
| 2767 | rng:Destroy() | |
| 2768 | end)) | |
| 2769 | end | |
| 2770 | ||
| 2771 | ||
| 2772 | function wave(type,pos,scale,value) | |
| 2773 | local type = type | |
| 2774 | local rng = Instance.new("Part", char)
| |
| 2775 | rng.Anchored = true | |
| 2776 | rng.BrickColor = origcolor | |
| 2777 | rng.CanCollide = false | |
| 2778 | rng.FormFactor = 3 | |
| 2779 | rng.Name = "Ring" | |
| 2780 | rng.Size = Vector3.new(1, 1, 1) | |
| 2781 | rng.Transparency = 0 | |
| 2782 | rng.TopSurface = 0 | |
| 2783 | rng.BottomSurface = 0 | |
| 2784 | rng.CFrame = pos | |
| 2785 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2786 | rngm.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
| 2787 | rngm.Scale = scale | |
| 2788 | local scaler2 = 1 | |
| 2789 | if type == "Add" then | |
| 2790 | scaler2 = 1*value | |
| 2791 | elseif type == "Divide" then | |
| 2792 | scaler2 = 1/value | |
| 2793 | end | |
| 2794 | coroutine.resume(coroutine.create(function() | |
| 2795 | for i = 0,10,0.1 do | |
| 2796 | swait() | |
| 2797 | if type == "Add" then | |
| 2798 | scaler2 = scaler2 - 0.01*value | |
| 2799 | elseif type == "Divide" then | |
| 2800 | scaler2 = scaler2 - 0.01/value | |
| 2801 | end | |
| 2802 | rng.Transparency = rng.Transparency + 0.01 | |
| 2803 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) | |
| 2804 | end | |
| 2805 | rng:Destroy() | |
| 2806 | end)) | |
| 2807 | end | |
| 2808 | ||
| 2809 | function sphere(bonuspeed,type,pos,scale,value,color) | |
| 2810 | local type = type | |
| 2811 | local rng = Instance.new("Part", char)
| |
| 2812 | rng.Anchored = true | |
| 2813 | if ModeOfGlitch ~= 9 then | |
| 2814 | rng.BrickColor = color | |
| 2815 | elseif ModeOfGlitch == 9 then | |
| 2816 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
| 2817 | end | |
| 2818 | rng.CanCollide = false | |
| 2819 | rng.FormFactor = 3 | |
| 2820 | rng.Name = "Ring" | |
| 2821 | rng.Material = "Neon" | |
| 2822 | rng.Size = Vector3.new(1, 1, 1) | |
| 2823 | rng.Transparency = 0 | |
| 2824 | rng.TopSurface = 0 | |
| 2825 | rng.BottomSurface = 0 | |
| 2826 | rng.CFrame = pos | |
| 2827 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2828 | rngm.MeshType = "Sphere" | |
| 2829 | rngm.Scale = scale | |
| 2830 | if rainbowmode == true then | |
| 2831 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2832 | end | |
| 2833 | if ModeOfGlitch == 9 then | |
| 2834 | coroutine.resume(coroutine.create(function() | |
| 2835 | while true do | |
| 2836 | swait() | |
| 2837 | if rng.Parent ~= nil then | |
| 2838 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
| 2839 | else | |
| 2840 | break | |
| 2841 | end | |
| 2842 | end | |
| 2843 | end)) | |
| 2844 | end | |
| 2845 | local scaler2 = 1 | |
| 2846 | if type == "Add" then | |
| 2847 | scaler2 = 1*value | |
| 2848 | elseif type == "Divide" then | |
| 2849 | scaler2 = 1/value | |
| 2850 | end | |
| 2851 | coroutine.resume(coroutine.create(function() | |
| 2852 | for i = 0,10/bonuspeed,0.1 do | |
| 2853 | swait() | |
| 2854 | if rainbowmode == true then | |
| 2855 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2856 | end | |
| 2857 | if type == "Add" then | |
| 2858 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 2859 | elseif type == "Divide" then | |
| 2860 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 2861 | end | |
| 2862 | if chaosmode == true then | |
| 2863 | rng.BrickColor = BrickColor.random() | |
| 2864 | end | |
| 2865 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 2866 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
| 2867 | end | |
| 2868 | rng:Destroy() | |
| 2869 | end)) | |
| 2870 | end | |
| 2871 | ||
| 2872 | function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color) | |
| 2873 | local type = type | |
| 2874 | local rng = Instance.new("Part", char)
| |
| 2875 | rng.Anchored = true | |
| 2876 | if ModeOfGlitch ~= 9 then | |
| 2877 | rng.BrickColor = color | |
| 2878 | elseif ModeOfGlitch == 9 then | |
| 2879 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
| 2880 | end | |
| 2881 | rng.CanCollide = false | |
| 2882 | rng.FormFactor = 3 | |
| 2883 | rng.Name = "Ring" | |
| 2884 | rng.Material = "Neon" | |
| 2885 | rng.Size = Vector3.new(1, 1, 1) | |
| 2886 | rng.Transparency = 0 | |
| 2887 | rng.TopSurface = 0 | |
| 2888 | rng.BottomSurface = 0 | |
| 2889 | rng.CFrame = pos | |
| 2890 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2891 | rngm.MeshType = "Sphere" | |
| 2892 | rngm.Scale = scale | |
| 2893 | local scaler2 = 1 | |
| 2894 | local scaler2b = 1 | |
| 2895 | local scaler2c = 1 | |
| 2896 | if type == "Add" then | |
| 2897 | scaler2 = 1*value | |
| 2898 | scaler2b = 1*value2 | |
| 2899 | scaler2c = 1*value3 | |
| 2900 | elseif type == "Divide" then | |
| 2901 | scaler2 = 1/value | |
| 2902 | scaler2b = 1/value2 | |
| 2903 | scaler2c = 1/value3 | |
| 2904 | end | |
| 2905 | if ModeOfGlitch == 9 then | |
| 2906 | coroutine.resume(coroutine.create(function() | |
| 2907 | while true do | |
| 2908 | swait() | |
| 2909 | if rng.Parent ~= nil then | |
| 2910 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
| 2911 | else | |
| 2912 | break | |
| 2913 | end | |
| 2914 | end | |
| 2915 | end)) | |
| 2916 | end | |
| 2917 | coroutine.resume(coroutine.create(function() | |
| 2918 | for i = 0,10/bonuspeed,0.1 do | |
| 2919 | swait() | |
| 2920 | if type == "Add" then | |
| 2921 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 2922 | scaler2b = scaler2b - 0.01*value/bonuspeed | |
| 2923 | scaler2c = scaler2c - 0.01*value/bonuspeed | |
| 2924 | elseif type == "Divide" then | |
| 2925 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 2926 | scaler2b = scaler2b - 0.01/value*bonuspeed | |
| 2927 | scaler2c = scaler2c - 0.01/value*bonuspeed | |
| 2928 | end | |
| 2929 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 2930 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed) | |
| 2931 | end | |
| 2932 | rng:Destroy() | |
| 2933 | end)) | |
| 2934 | end | |
| 2935 | ||
| 2936 | function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color) | |
| 2937 | local type = type | |
| 2938 | local rotenable = rotatingop | |
| 2939 | local rng = Instance.new("Part", char)
| |
| 2940 | rng.Anchored = true | |
| 2941 | rng.BrickColor = color | |
| 2942 | rng.CanCollide = false | |
| 2943 | rng.FormFactor = 3 | |
| 2944 | rng.Name = "Ring" | |
| 2945 | rng.Material = "Neon" | |
| 2946 | rng.Size = Vector3.new(1, 1, 1) | |
| 2947 | rng.Transparency = 0 | |
| 2948 | if typeoftrans == "In" then | |
| 2949 | rng.Transparency = 1 | |
| 2950 | end | |
| 2951 | rng.TopSurface = 0 | |
| 2952 | rng.BottomSurface = 0 | |
| 2953 | rng.CFrame = pos | |
| 2954 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2955 | rngm.MeshType = "FileMesh" | |
| 2956 | if typeofshape == "Normal" then | |
| 2957 | rngm.MeshId = "rbxassetid://662586858" | |
| 2958 | elseif typeofshape == "Round" then | |
| 2959 | rngm.MeshId = "rbxassetid://662585058" | |
| 2960 | end | |
| 2961 | rngm.Scale = scale | |
| 2962 | local scaler2 = 1/10 | |
| 2963 | if type == "Add" then | |
| 2964 | scaler2 = 1*value/10 | |
| 2965 | elseif type == "Divide" then | |
| 2966 | scaler2 = 1/value/10 | |
| 2967 | end | |
| 2968 | local randomrot = math.random(1,2) | |
| 2969 | coroutine.resume(coroutine.create(function() | |
| 2970 | for i = 0,10/bonuspeed,0.1 do | |
| 2971 | swait() | |
| 2972 | if type == "Add" then | |
| 2973 | scaler2 = scaler2 - 0.01*value/bonuspeed/10 | |
| 2974 | elseif type == "Divide" then | |
| 2975 | scaler2 = scaler2 - 0.01/value*bonuspeed/10 | |
| 2976 | end | |
| 2977 | if rotenable == true then | |
| 2978 | if randomrot == 1 then | |
| 2979 | rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0) | |
| 2980 | elseif randomrot == 2 then | |
| 2981 | rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0) | |
| 2982 | end | |
| 2983 | end | |
| 2984 | if typeoftrans == "Out" then | |
| 2985 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 2986 | elseif typeoftrans == "In" then | |
| 2987 | rng.Transparency = rng.Transparency - 0.01*bonuspeed | |
| 2988 | end | |
| 2989 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10) | |
| 2990 | end | |
| 2991 | rng:Destroy() | |
| 2992 | end)) | |
| 2993 | end | |
| 2994 | ||
| 2995 | function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
| 2996 | local type = type | |
| 2997 | local rng = Instance.new("Part", char)
| |
| 2998 | rng.Anchored = true | |
| 2999 | rng.BrickColor = color | |
| 3000 | rng.CanCollide = false | |
| 3001 | rng.FormFactor = 3 | |
| 3002 | rng.Name = "Ring" | |
| 3003 | rng.Material = "Neon" | |
| 3004 | rng.Size = Vector3.new(1, 1, 1) | |
| 3005 | rng.Transparency = 0 | |
| 3006 | rng.TopSurface = 0 | |
| 3007 | rng.BottomSurface = 0 | |
| 3008 | rng.CFrame = pos | |
| 3009 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
| 3010 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 3011 | rngm.MeshType = "Brick" | |
| 3012 | rngm.Scale = vt(x1,y1,z1) | |
| 3013 | if rainbowmode == true then | |
| 3014 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 3015 | end | |
| 3016 | local scaler2 = 1 | |
| 3017 | local speeder = FastSpeed/10 | |
| 3018 | if type == "Add" then | |
| 3019 | scaler2 = 1*value | |
| 3020 | elseif type == "Divide" then | |
| 3021 | scaler2 = 1/value | |
| 3022 | end | |
| 3023 | coroutine.resume(coroutine.create(function() | |
| 3024 | for i = 0,10/bonuspeed,0.1 do | |
| 3025 | swait() | |
| 3026 | if rainbowmode == true then | |
| 3027 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 3028 | end | |
| 3029 | if type == "Add" then | |
| 3030 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 3031 | elseif type == "Divide" then | |
| 3032 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 3033 | end | |
| 3034 | if chaosmode == true then | |
| 3035 | rng.BrickColor = BrickColor.random() | |
| 3036 | end | |
| 3037 | speeder = speeder - 0.01*FastSpeed*bonuspeed/10 | |
| 3038 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
| 3039 | --rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 3040 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
| 3041 | end | |
| 3042 | rng:Destroy() | |
| 3043 | end)) | |
| 3044 | end | |
| 3045 | ||
| 3046 | function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
| 3047 | local type = type | |
| 3048 | local rng = Instance.new("Part", char)
| |
| 3049 | rng.Anchored = true | |
| 3050 | rng.BrickColor = color | |
| 3051 | rng.CanCollide = false | |
| 3052 | rng.FormFactor = 3 | |
| 3053 | rng.Name = "Ring" | |
| 3054 | rng.Material = "Neon" | |
| 3055 | rng.Size = Vector3.new(1, 1, 1) | |
| 3056 | rng.Transparency = 0 | |
| 3057 | rng.TopSurface = 0 | |
| 3058 | rng.BottomSurface = 0 | |
| 3059 | rng.CFrame = pos | |
| 3060 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
| 3061 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 3062 | rngm.MeshType = "Brick" | |
| 3063 | rngm.Scale = vt(x1,y1,z1) | |
| 3064 | if rainbowmode == true then | |
| 3065 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 3066 | end | |
| 3067 | local scaler2 = 1 | |
| 3068 | local speeder = FastSpeed/10 | |
| 3069 | if type == "Add" then | |
| 3070 | scaler2 = 1*value | |
| 3071 | elseif type == "Divide" then | |
| 3072 | scaler2 = 1/value | |
| 3073 | end | |
| 3074 | coroutine.resume(coroutine.create(function() | |
| 3075 | for i = 0,10/bonuspeed,0.1 do | |
| 3076 | swait() | |
| 3077 | if rainbowmode == true then | |
| 3078 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 3079 | end | |
| 3080 | if type == "Add" then | |
| 3081 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 3082 | elseif type == "Divide" then | |
| 3083 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 3084 | end | |
| 3085 | if chaosmode == true then | |
| 3086 | rng.BrickColor = BrickColor.random() | |
| 3087 | end | |
| 3088 | speeder = speeder - 0.01*FastSpeed*bonuspeed/10 | |
| 3089 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
| 3090 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 3091 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
| 3092 | end | |
| 3093 | rng:Destroy() | |
| 3094 | end)) | |
| 3095 | end | |
| 3096 | ||
| 3097 | function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
| 3098 | local type = type | |
| 3099 | local rng = Instance.new("Part", char)
| |
| 3100 | rng.Anchored = true | |
| 3101 | rng.BrickColor = color | |
| 3102 | rng.CanCollide = false | |
| 3103 | rng.FormFactor = 3 | |
| 3104 | rng.Name = "Ring" | |
| 3105 | rng.Material = "Neon" | |
| 3106 | rng.Size = Vector3.new(1, 1, 1) | |
| 3107 | rng.Transparency = 0 | |
| 3108 | rng.TopSurface = 0 | |
| 3109 | rng.BottomSurface = 0 | |
| 3110 | rng.CFrame = pos | |
| 3111 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
| 3112 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 3113 | rngm.MeshType = "Brick" | |
| 3114 | rngm.Scale = vt(x1,y1,z1) | |
| 3115 | if rainbowmode == true then | |
| 3116 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 3117 | end | |
| 3118 | local scaler2 = 0 | |
| 3119 | local speeder = FastSpeed/10 | |
| 3120 | if type == "Add" then | |
| 3121 | scaler2 = 1*value | |
| 3122 | elseif type == "Divide" then | |
| 3123 | scaler2 = 1/value | |
| 3124 | end | |
| 3125 | coroutine.resume(coroutine.create(function() | |
| 3126 | for i = 0,10/bonuspeed,0.1 do | |
| 3127 | swait() | |
| 3128 | if rainbowmode == true then | |
| 3129 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 3130 | end | |
| 3131 | if type == "Add" then | |
| 3132 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 3133 | elseif type == "Divide" then | |
| 3134 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 3135 | end | |
| 3136 | if chaosmode == true then | |
| 3137 | rng.BrickColor = BrickColor.random() | |
| 3138 | end | |
| 3139 | speeder = speeder + 0.01*FastSpeed*bonuspeed/10 | |
| 3140 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
| 3141 | --rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 3142 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
| 3143 | end | |
| 3144 | rng:Destroy() | |
| 3145 | end)) | |
| 3146 | end | |
| 3147 | ||
| 3148 | function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3) | |
| 3149 | local type = type | |
| 3150 | local rng = Instance.new("Part", char)
| |
| 3151 | rng.Anchored = true | |
| 3152 | rng.BrickColor = color | |
| 3153 | rng.Color = color3 | |
| 3154 | rng.CanCollide = false | |
| 3155 | rng.FormFactor = 3 | |
| 3156 | rng.Name = "Ring" | |
| 3157 | rng.Material = "Neon" | |
| 3158 | rng.Size = Vector3.new(1, 1, 1) | |
| 3159 | rng.Transparency = 0 | |
| 3160 | rng.TopSurface = 0 | |
| 3161 | rng.BottomSurface = 0 | |
| 3162 | rng.CFrame = pos | |
| 3163 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 3164 | rngm.MeshType = "Brick" | |
| 3165 | rngm.Scale = scale | |
| 3166 | local scaler2 = 1 | |
| 3167 | local scaler2b = 1 | |
| 3168 | local scaler2c = 1 | |
| 3169 | if type == "Add" then | |
| 3170 | scaler2 = 1*value | |
| 3171 | scaler2b = 1*value2 | |
| 3172 | scaler2c = 1*value3 | |
| 3173 | elseif type == "Divide" then | |
| 3174 | scaler2 = 1/value | |
| 3175 | scaler2b = 1/value2 | |
| 3176 | scaler2c = 1/value3 | |
| 3177 | end | |
| 3178 | coroutine.resume(coroutine.create(function() | |
| 3179 | for i = 0,10/bonuspeed,0.1 do | |
| 3180 | swait() | |
| 3181 | if type == "Add" then | |
| 3182 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 3183 | scaler2b = scaler2b - 0.01*value/bonuspeed | |
| 3184 | scaler2c = scaler2c - 0.01*value/bonuspeed | |
| 3185 | elseif type == "Divide" then | |
| 3186 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 3187 | scaler2b = scaler2b - 0.01/value*bonuspeed | |
| 3188 | scaler2c = scaler2c - 0.01/value*bonuspeed | |
| 3189 | end | |
| 3190 | rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
| 3191 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 3192 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed) | |
| 3193 | end | |
| 3194 | rng:Destroy() | |
| 3195 | end)) | |
| 3196 | end | |
| 3197 | ||
| 3198 | function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
| 3199 | local type = type | |
| 3200 | local rng = Instance.new("Part", char)
| |
| 3201 | rng.Anchored = true | |
| 3202 | if ModeOfGlitch ~= 9 then | |
| 3203 | rng.BrickColor = color | |
| 3204 | elseif ModeOfGlitch == 9 then | |
| 3205 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
| 3206 | end | |
| 3207 | rng.CanCollide = false | |
| 3208 | rng.FormFactor = 3 | |
| 3209 | rng.Name = "Ring" | |
| 3210 | rng.Material = "Neon" | |
| 3211 | rng.Size = Vector3.new(1, 1, 1) | |
| 3212 | rng.Transparency = 0 | |
| 3213 | rng.TopSurface = 0 | |
| 3214 | rng.BottomSurface = 0 | |
| 3215 | rng.CFrame = pos | |
| 3216 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
| 3217 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 3218 | rngm.MeshType = "Sphere" | |
| 3219 | rngm.Scale = vt(x1,y1,z1) | |
| 3220 | if rainbowmode == true then | |
| 3221 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 3222 | end | |
| 3223 | if ModeOfGlitch == 9 then | |
| 3224 | coroutine.resume(coroutine.create(function() | |
| 3225 | while true do | |
| 3226 | swait() | |
| 3227 | if rng.Parent ~= nil then | |
| 3228 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
| 3229 | else | |
| 3230 | break | |
| 3231 | end | |
| 3232 | end | |
| 3233 | end)) | |
| 3234 | end | |
| 3235 | local scaler2 = 1 | |
| 3236 | local speeder = FastSpeed | |
| 3237 | if type == "Add" then | |
| 3238 | scaler2 = 1*value | |
| 3239 | elseif type == "Divide" then | |
| 3240 | scaler2 = 1/value | |
| 3241 | end | |
| 3242 | coroutine.resume(coroutine.create(function() | |
| 3243 | for i = 0,10/bonuspeed,0.1 do | |
| 3244 | swait() | |
| 3245 | if rainbowmode == true then | |
| 3246 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 3247 | end | |
| 3248 | if type == "Add" then | |
| 3249 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 3250 | elseif type == "Divide" then | |
| 3251 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 3252 | end | |
| 3253 | if chaosmode == true then | |
| 3254 | rng.BrickColor = BrickColor.random() | |
| 3255 | end | |
| 3256 | speeder = speeder - 0.01*FastSpeed*bonuspeed | |
| 3257 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
| 3258 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 3259 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) | |
| 3260 | end | |
| 3261 | rng:Destroy() | |
| 3262 | end)) | |
| 3263 | end | |
| 3264 | ||
| 3265 | ||
| 3266 | function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
| 3267 | local type = type | |
| 3268 | local rng = Instance.new("Part", char)
| |
| 3269 | rng.Anchored = true | |
| 3270 | if ModeOfGlitch ~= 9 then | |
| 3271 | rng.BrickColor = color | |
| 3272 | elseif ModeOfGlitch == 9 then | |
| 3273 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
| 3274 | end | |
| 3275 | rng.CanCollide = false | |
| 3276 | rng.FormFactor = 3 | |
| 3277 | rng.Name = "Ring" | |
| 3278 | rng.Material = "Neon" | |
| 3279 | rng.Size = Vector3.new(1, 1, 1) | |
| 3280 | rng.Transparency = 1 | |
| 3281 | rng.TopSurface = 0 | |
| 3282 | rng.BottomSurface = 0 | |
| 3283 | rng.CFrame = pos | |
| 3284 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
| 3285 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 3286 | rngm.MeshType = "Sphere" | |
| 3287 | rngm.Scale = vt(x1,y1,z1) | |
| 3288 | if rainbowmode == true then | |
| 3289 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 3290 | end | |
| 3291 | if ModeOfGlitch == 9 then | |
| 3292 | coroutine.resume(coroutine.create(function() | |
| 3293 | while true do | |
| 3294 | swait() | |
| 3295 | if rng.Parent ~= nil then | |
| 3296 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
| 3297 | else | |
| 3298 | break | |
| 3299 | end | |
| 3300 | end | |
| 3301 | end)) | |
| 3302 | end | |
| 3303 | local scaler2 = 1 | |
| 3304 | local speeder = FastSpeed | |
| 3305 | if type == "Add" then | |
| 3306 | scaler2 = 1*value | |
| 3307 | elseif type == "Divide" then | |
| 3308 | scaler2 = 1/value | |
| 3309 | end | |
| 3310 | coroutine.resume(coroutine.create(function() | |
| 3311 | for i = 0,10/bonuspeed,0.1 do | |
| 3312 | swait() | |
| 3313 | if rainbowmode == true then | |
| 3314 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 3315 | end | |
| 3316 | if type == "Add" then | |
| 3317 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 3318 | elseif type == "Divide" then | |
| 3319 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 3320 | end | |
| 3321 | if chaosmode == true then | |
| 3322 | rng.BrickColor = BrickColor.random() | |
| 3323 | end | |
| 3324 | speeder = speeder - 0.01*FastSpeed*bonuspeed | |
| 3325 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
| 3326 | rng.Transparency = rng.Transparency - 0.01*bonuspeed | |
| 3327 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) | |
| 3328 | end | |
| 3329 | rng:Destroy() | |
| 3330 | end)) | |
| 3331 | end | |
| 3332 | ||
| 3333 | function dmg(dude) | |
| 3334 | if dude.Name ~= Character then | |
| 3335 | local keptcolor = MAINRUINCOLOR | |
| 3336 | local bgf = Instance.new("BodyGyro",dude.Head)
| |
| 3337 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) | |
| 3338 | --[[local val = Instance.new("BoolValue",dude)
| |
| 3339 | val.Name = "IsHit"]]-- | |
| 3340 | local ds = coroutine.wrap(function() | |
| 3341 | dude:WaitForChild("Head"):BreakJoints()
| |
| 3342 | for i, v in pairs(dude:GetChildren()) do | |
| 3343 | if v:IsA("Part") or v:IsA("MeshPart") then
| |
| 3344 | v.Name = "DEMINISHED" | |
| 3345 | end | |
| 3346 | end | |
| 3347 | wait(0.5) | |
| 3348 | targetted = nil | |
| 3349 | CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
| |
| 3350 | coroutine.resume(coroutine.create(function() | |
| 3351 | for i, v in pairs(dude:GetChildren()) do | |
| 3352 | if v:IsA("Accessory") then
| |
| 3353 | v:Destroy() | |
| 3354 | end | |
| 3355 | if v:IsA("Humanoid") then
| |
| 3356 | v:Destroy() | |
| 3357 | end | |
| 3358 | if v:IsA("CharacterMesh") then
| |
| 3359 | v:Destroy() | |
| 3360 | end | |
| 3361 | if v:IsA("Model") then
| |
| 3362 | v:Destroy() | |
| 3363 | end | |
| 3364 | if v:IsA("Part") or v:IsA("MeshPart") then
| |
| 3365 | for x, o in pairs(v:GetChildren()) do | |
| 3366 | if o:IsA("Decal") then
| |
| 3367 | o:Destroy() | |
| 3368 | end | |
| 3369 | end | |
| 3370 | coroutine.resume(coroutine.create(function() | |
| 3371 | v.Material = "Neon" | |
| 3372 | v.CanCollide = false | |
| 3373 | v.Anchored = false | |
| 3374 | local bld = Instance.new("ParticleEmitter",v)
| |
| 3375 | bld.LightEmission = 0.75 | |
| 3376 | bld.Texture = "rbxassetid://363275192" ---284205403 | |
| 3377 | bld.Color = ColorSequence.new(keptcolor.Color) | |
| 3378 | bld.Rate = 500 | |
| 3379 | bld.Lifetime = NumberRange.new(1) | |
| 3380 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 3381 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 3382 | bld.Speed = NumberRange.new(2,5) | |
| 3383 | bld.VelocitySpread = 50000 | |
| 3384 | bld.Rotation = NumberRange.new(-500,500) | |
| 3385 | bld.RotSpeed = NumberRange.new(-500,500) | |
| 3386 | local sbs = Instance.new("BodyPosition", v)
| |
| 3387 | sbs.P = 3000 | |
| 3388 | sbs.D = 1000 | |
| 3389 | sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
| 3390 | sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2)) | |
| 3391 | v.Color = keptcolor.Color | |
| 3392 | coroutine.resume(coroutine.create(function() | |
| 3393 | for i = 0, 49 do | |
| 3394 | swait(1) | |
| 3395 | v:BreakJoints() | |
| 3396 | v.Transparency = v.Transparency + 0.02 | |
| 3397 | end | |
| 3398 | v:BreakJoints() | |
| 3399 | sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor) | |
| 3400 | CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
| |
| 3401 | bld.Speed = NumberRange.new(10,25) | |
| 3402 | bld.Drag = 5 | |
| 3403 | bld.Acceleration = vt(0,2,0) | |
| 3404 | wait(0.5) | |
| 3405 | bld.Enabled = false | |
| 3406 | wait(8) | |
| 3407 | v:Destroy() | |
| 3408 | dude:Destroy() | |
| 3409 | end)) | |
| 3410 | end)) | |
| 3411 | end | |
| 3412 | end | |
| 3413 | end)) | |
| 3414 | end) | |
| 3415 | ds() | |
| 3416 | end | |
| 3417 | end | |
| 3418 | ||
| 3419 | ||
| 3420 | function FindNearestHead(Position, Distance, SinglePlayer) | |
| 3421 | if SinglePlayer then | |
| 3422 | return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance | |
| 3423 | end | |
| 3424 | local List = {}
| |
| 3425 | for i, v in pairs(workspace:GetChildren()) do | |
| 3426 | if v:IsA("Model") then
| |
| 3427 | if v:findFirstChild("Head") then
| |
| 3428 | if v ~= Character then | |
| 3429 | if (v.Head.Position - Position).magnitude <= Distance then | |
| 3430 | table.insert(List, v) | |
| 3431 | end | |
| 3432 | end | |
| 3433 | end | |
| 3434 | end | |
| 3435 | end | |
| 3436 | return List | |
| 3437 | end | |
| 3438 | ||
| 3439 | function FaceMouse() | |
| 3440 | Cam = workspace.CurrentCamera | |
| 3441 | return {
| |
| 3442 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), | |
| 3443 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
| 3444 | } | |
| 3445 | end | |
| 3446 | ||
| 3447 | function FaceMouse2() | |
| 3448 | Cam = workspace.CurrentCamera | |
| 3449 | return {
| |
| 3450 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)), | |
| 3451 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
| 3452 | } | |
| 3453 | end | |
| 3454 | ||
| 3455 | local ModeOfGlitch = 1 | |
| 3456 | -- Functions are ready. | |
| 3457 | local storehumanoidWS = 16 | |
| 3458 | ||
| 3459 | function CorruptBlink() | |
| 3460 | for i = 0, 14 do | |
| 3461 | PixelBlock(3,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.03,MAINRUINCOLOR,0) | |
| 3462 | end | |
| 3463 | sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 3464 | CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
| |
| 3465 | RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0) | |
| 3466 | CameraEnshaking(2,10) | |
| 3467 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do | |
| 3468 | if v:FindFirstChild('Head') then
| |
| 3469 | dmg(v) | |
| 3470 | end | |
| 3471 | end | |
| 3472 | for i = 0, 14 do | |
| 3473 | PixelBlock(3,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.03,MAINRUINCOLOR,0) | |
| 3474 | end | |
| 3475 | sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 3476 | end | |
| 3477 | function PureBomb() | |
| 3478 | attack = true | |
| 3479 | hum.WalkSpeed = 0 | |
| 3480 | local orb = Instance.new("Part", char)
| |
| 3481 | orb.Anchored = true | |
| 3482 | orb.BrickColor = BrickColor.new("Toothpaste")
| |
| 3483 | orb.CanCollide = false | |
| 3484 | orb.FormFactor = 3 | |
| 3485 | orb.Name = "Ring" | |
| 3486 | orb.Material = "Neon" | |
| 3487 | orb.Size = Vector3.new(1, 1, 1) | |
| 3488 | orb.Transparency = 0 | |
| 3489 | orb.TopSurface = 0 | |
| 3490 | orb.BottomSurface = 0 | |
| 3491 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 3492 | orbm.MeshType = "Sphere" | |
| 3493 | orbm.Name = "SizeMesh" | |
| 3494 | orbm.Scale = vt(0,0,0) | |
| 3495 | local scaled = 0.1 | |
| 3496 | local posid = 0 | |
| 3497 | CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
| |
| 3498 | for i = 0, 5, 0.1 do | |
| 3499 | swait() | |
| 3500 | scaled = scaled - 0.001 | |
| 3501 | posid = posid - scaled | |
| 3502 | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) | |
| 3503 | local scaled = 0.1 | |
| 3504 | orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled) | |
| 3505 | sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,BrickColor.new("Toothpaste"),10)
| |
| 3506 | PixelBlockNeg(2,1,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,BrickColor.new("Toothpaste"),0)
| |
| 3507 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1) | |
| 3508 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1) | |
| 3509 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 3510 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 3511 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1) | |
| 3512 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1) | |
| 3513 | end | |
| 3514 | for i = 0, 2, 0.1 do | |
| 3515 | swait() | |
| 3516 | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) | |
| 3517 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4) | |
| 3518 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4) | |
| 3519 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4) | |
| 3520 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4) | |
| 3521 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4) | |
| 3522 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4) | |
| 3523 | end | |
| 3524 | coroutine.resume(coroutine.create(function() | |
| 3525 | orb.Anchored = false | |
| 3526 | CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
| |
| 3527 | local a = Instance.new("Part",workspace)
| |
| 3528 | a.Name = "Direction" | |
| 3529 | a.Anchored = true | |
| 3530 | a.BrickColor = bc("Bright red")
| |
| 3531 | a.Material = "Neon" | |
| 3532 | a.Transparency = 1 | |
| 3533 | a.CanCollide = false | |
| 3534 | local ray = Ray.new( | |
| 3535 | orb.CFrame.p, -- origin | |
| 3536 | (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction | |
| 3537 | ) | |
| 3538 | local ignore = orb | |
| 3539 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 3540 | a.BottomSurface = 10 | |
| 3541 | a.TopSurface = 10 | |
| 3542 | local distance = (orb.CFrame.p - position).magnitude | |
| 3543 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
| 3544 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
| 3545 | orb.CFrame = a.CFrame | |
| 3546 | a:Destroy() | |
| 3547 | local bv = Instance.new("BodyVelocity")
| |
| 3548 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 3549 | bv.velocity = orb.CFrame.lookVector*125 | |
| 3550 | bv.Parent = orb | |
| 3551 | local hitted = false | |
| 3552 | game:GetService("Debris"):AddItem(orb, 15)
| |
| 3553 | wait() | |
| 3554 | local hit =orb.Touched:connect(function(hit) | |
| 3555 | if hitted == false then | |
| 3556 | hitted = true | |
| 3557 | CameraEnshaking(10,2.5) | |
| 3558 | CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
| |
| 3559 | MagniDamage(orb, 65, 65,90, 0, "Normal") | |
| 3560 | sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
| |
| 3561 | sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
| |
| 3562 | for i = 0, 49 do | |
| 3563 | PixelBlock(1,math.random(1,30),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Toothpaste"),0)
| |
| 3564 | end | |
| 3565 | for i = 0, 9 do | |
| 3566 | sphereMK(1,2.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
| |
| 3567 | sphereMK(2,5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
| |
| 3568 | end | |
| 3569 | orb.Anchored = true | |
| 3570 | orb.Transparency = 1 | |
| 3571 | wait(8) | |
| 3572 | orb:Destroy() | |
| 3573 | end | |
| 3574 | end) | |
| 3575 | end)) | |
| 3576 | for i = 0, 1, 0.1 do | |
| 3577 | swait() | |
| 3578 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4) | |
| 3579 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4) | |
| 3580 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.4) | |
| 3581 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4) | |
| 3582 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4) | |
| 3583 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4) | |
| 3584 | end | |
| 3585 | hum.WalkSpeed = storehumanoidWS | |
| 3586 | attack = false | |
| 3587 | end | |
| 3588 | ||
| 3589 | function BanishingOrb() | |
| 3590 | attack = true | |
| 3591 | hum.WalkSpeed = 0 | |
| 3592 | local radm = math.random(1,3) | |
| 3593 | if radm == 1 then | |
| 3594 | bosschatfunc("Let it's go..",MAINRUINCOLOR.Color,1)
| |
| 3595 | elseif radm == 2 then | |
| 3596 | bosschatfunc("So this is it..",MAINRUINCOLOR.Color,1)
| |
| 3597 | elseif radm == 3 then | |
| 3598 | bosschatfunc("I have enough thing..",MAINRUINCOLOR.Color,1)
| |
| 3599 | end | |
| 3600 | CFuncs["EchoSound"].Create("rbxassetid://1535994940", char, 5, 1,0,10,0.15,0.5,1)
| |
| 3601 | CFuncs["EchoSound"].Create("rbxassetid://1535994940", root, 60, 1,0,10,0.15,0.5,1)
| |
| 3602 | local orb = Instance.new("Part", char)
| |
| 3603 | orb.Anchored = true | |
| 3604 | orb.BrickColor = BrickColor.new("Lime green")
| |
| 3605 | orb.CanCollide = false | |
| 3606 | orb.FormFactor = 3 | |
| 3607 | orb.Name = "Ring" | |
| 3608 | orb.Material = "Neon" | |
| 3609 | orb.Size = Vector3.new(1, 1, 1) | |
| 3610 | orb.Transparency = 0 | |
| 3611 | orb.TopSurface = 0 | |
| 3612 | orb.BottomSurface = 0 | |
| 3613 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 3614 | orbm.MeshType = "Sphere" | |
| 3615 | orbm.Name = "SizeMesh" | |
| 3616 | orbm.Scale = vt(0,0,0) | |
| 3617 | local scaled = 0.1 | |
| 3618 | local posid = 0 | |
| 3619 | CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5,0.9)
| |
| 3620 | for i = 0, 5, 0.1 do | |
| 3621 | swait() | |
| 3622 | scaled = scaled - 0.001 | |
| 3623 | posid = posid - scaled | |
| 3624 | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) | |
| 3625 | local scaled = 0.1 | |
| 3626 | orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled) | |
| 3627 | sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,BrickColor.new("Cool yellow"),10)
| |
| 3628 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1) | |
| 3629 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1) | |
| 3630 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 3631 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 3632 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1) | |
| 3633 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1) | |
| 3634 | end | |
| 3635 | for i = 0, 2, 0.1 do | |
| 3636 | swait() | |
| 3637 | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) | |
| 3638 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4) | |
| 3639 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4) | |
| 3640 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4) | |
| 3641 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4) | |
| 3642 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4) | |
| 3643 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4) | |
| 3644 | end | |
| 3645 | coroutine.resume(coroutine.create(function() | |
| 3646 | orb.Anchored = false | |
| 3647 | CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,0.75)
| |
| 3648 | local a = Instance.new("Part",workspace)
| |
| 3649 | a.Name = "Direction" | |
| 3650 | a.Anchored = true | |
| 3651 | a.BrickColor = bc("Lime green")
| |
| 3652 | a.Material = "Neon" | |
| 3653 | a.Transparency = 1 | |
| 3654 | a.CanCollide = false | |
| 3655 | local ray = Ray.new( | |
| 3656 | orb.CFrame.p, -- origin | |
| 3657 | (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction | |
| 3658 | ) | |
| 3659 | local ignore = orb | |
| 3660 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 3661 | a.BottomSurface = 10 | |
| 3662 | a.TopSurface = 10 | |
| 3663 | local distance = (orb.CFrame.p - position).magnitude | |
| 3664 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
| 3665 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
| 3666 | orb.CFrame = a.CFrame | |
| 3667 | a:Destroy() | |
| 3668 | local bv = Instance.new("BodyVelocity")
| |
| 3669 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 3670 | bv.velocity = orb.CFrame.lookVector*0 | |
| 3671 | bv.Parent = orb | |
| 3672 | local hitted = false | |
| 3673 | local rate = 0 | |
| 3674 | coroutine.resume(coroutine.create(function() | |
| 3675 | for i = 0, 24 do | |
| 3676 | wait(0.1) | |
| 3677 | rate = rate + 0.25 | |
| 3678 | bv.velocity = bv.velocity + orb.CFrame.lookVector*rate | |
| 3679 | for i, v in pairs(FindNearestHead(orb.CFrame.p, 15)) do | |
| 3680 | if v:FindFirstChild('Head') then
| |
| 3681 | dmg(v) | |
| 3682 | end | |
| 3683 | end | |
| 3684 | CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 2.5,0.9)
| |
| 3685 | sphere(2,"Add",orb.CFrame,vt(0,0,0),0.5,bc"Lime green") | |
| 3686 | sphere(3,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR) | |
| 3687 | end | |
| 3688 | orb.Anchored = true | |
| 3689 | orb.Transparency = 1 | |
| 3690 | for i, v in pairs(FindNearestHead(orb.CFrame.p, 32)) do | |
| 3691 | if v:FindFirstChild('Head') then
| |
| 3692 | dmg(v) | |
| 3693 | end | |
| 3694 | end | |
| 3695 | local eff = Instance.new("ParticleEmitter",orb)
| |
| 3696 | eff.Texture = "rbxassetid://296874871" | |
| 3697 | eff.LightEmission = 0.95 | |
| 3698 | eff.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 3699 | eff.Rate = 1000000000 | |
| 3700 | eff.Lifetime = NumberRange.new(3) | |
| 3701 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,9,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 3702 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 3703 | eff.Speed = NumberRange.new(30) | |
| 3704 | eff.Acceleration = vt(0,-15,0) | |
| 3705 | eff.Rotation = NumberRange.new(-500,500) | |
| 3706 | eff.VelocitySpread = 100000 | |
| 3707 | eff.RotSpeed = NumberRange.new(-500,500) | |
| 3708 | coroutine.resume(coroutine.create(function() | |
| 3709 | wait(0.6) | |
| 3710 | eff.Enabled = false | |
| 3711 | end)) | |
| 3712 | CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 8,0.6)
| |
| 3713 | CFuncs["Sound"].Create("rbxassetid://438666141", orb, 7.5,0.9)
| |
| 3714 | sphere(1,"Add",orb.CFrame,vt(0,0,0),0.75,bc"Lime green") | |
| 3715 | sphere(1.5,"Add",orb.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 3716 | sphere(2,"Add",orb.CFrame,vt(0,0,0),1.25,MAINRUINCOLOR) | |
| 3717 | game:GetService("Debris"):AddItem(orb, 15)
| |
| 3718 | end)) | |
| 3719 | end)) | |
| 3720 | for i = 0, 1, 0.1 do | |
| 3721 | swait() | |
| 3722 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4) | |
| 3723 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4) | |
| 3724 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.4) | |
| 3725 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4) | |
| 3726 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4) | |
| 3727 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4) | |
| 3728 | end | |
| 3729 | hum.WalkSpeed = storehumanoidWS | |
| 3730 | attack = false | |
| 3731 | end | |
| 3732 | ||
| 3733 | ||
| 3734 | function ChaosGroundStrike() | |
| 3735 | attack = true | |
| 3736 | for i = 0, 2, 0.1 do | |
| 3737 | swait() | |
| 3738 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2) | |
| 3739 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2) | |
| 3740 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 3741 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 3742 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2) | |
| 3743 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2) | |
| 3744 | end | |
| 3745 | CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
| |
| 3746 | CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
| |
| 3747 | CameraEnshaking(4,12) | |
| 3748 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do | |
| 3749 | if v:FindFirstChild('Head') then
| |
| 3750 | dmg(v) | |
| 3751 | end | |
| 3752 | end | |
| 3753 | sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random()) | |
| 3754 | sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random()) | |
| 3755 | sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random()) | |
| 3756 | for i = 0, 2, 0.1 do | |
| 3757 | swait() | |
| 3758 | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0) | |
| 3759 | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0) | |
| 3760 | RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4) | |
| 3761 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4) | |
| 3762 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
| 3763 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
| 3764 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4) | |
| 3765 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4) | |
| 3766 | end | |
| 3767 | attack = false | |
| 3768 | end | |
| 3769 | ||
| 3770 | ||
| 3771 | ||
| 3772 | function Starfall() | |
| 3773 | attack = true | |
| 3774 | hum.WalkSpeed = 0 | |
| 3775 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
| |
| 3776 | for i = 0, 5, 0.1 do | |
| 3777 | swait() | |
| 3778 | PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0) | |
| 3779 | PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0) | |
| 3780 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1) | |
| 3781 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1) | |
| 3782 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
| 3783 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1) | |
| 3784 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1) | |
| 3785 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1) | |
| 3786 | end | |
| 3787 | local Overed = false | |
| 3788 | CameraEnshaking(2,20) | |
| 3789 | sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
| 3790 | sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
| 3791 | sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR) | |
| 3792 | CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
| |
| 3793 | local orb = Instance.new("Part", char)
| |
| 3794 | orb.Anchored = true | |
| 3795 | orb.BrickColor = BrickColor.new("Toothpaste")
| |
| 3796 | orb.CanCollide = false | |
| 3797 | orb.FormFactor = 3 | |
| 3798 | orb.Name = "Remenant" | |
| 3799 | orb.Material = "Neon" | |
| 3800 | orb.CFrame = root.CFrame*CFrame.new(0,150,0) | |
| 3801 | orb.Size = Vector3.new(1, 1, 1) | |
| 3802 | orb.Transparency = 1 | |
| 3803 | orb.TopSurface = 0 | |
| 3804 | orb.BottomSurface = 0 | |
| 3805 | hum.WalkSpeed = storehumanoidWS | |
| 3806 | coroutine.resume(coroutine.create(function() | |
| 3807 | for i = 0, 9 do | |
| 3808 | swait(10) | |
| 3809 | local lb = Instance.new("Part")
| |
| 3810 | lb.Color = MAINRUINCOLOR.Color | |
| 3811 | lb.CanCollide = false | |
| 3812 | lb.Material = "Neon" | |
| 3813 | lb.Anchored = true | |
| 3814 | lb.TopSurface = 0 | |
| 3815 | lb.BottomSurface = 0 | |
| 3816 | lb.Transparency = 0 | |
| 3817 | lb.Size = vt(1,1,1) | |
| 3818 | lb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),0,math.random(-150,150))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15))) | |
| 3819 | lb.Anchored = false | |
| 3820 | lb.Parent = char | |
| 3821 | local thingery = Instance.new("SpecialMesh",lb)
| |
| 3822 | thingery.MeshType = "Sphere" | |
| 3823 | thingery.Scale = vt(20,20,20) | |
| 3824 | game:GetService("Debris"):AddItem(lb, 10)
| |
| 3825 | local bv = Instance.new("BodyVelocity")
| |
| 3826 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 3827 | bv.velocity = lb.CFrame.lookVector*math.random(75,250) | |
| 3828 | bv.Parent = lb | |
| 3829 | sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR) | |
| 3830 | sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR) | |
| 3831 | CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
| |
| 3832 | CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
| |
| 3833 | CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
| |
| 3834 | CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
| |
| 3835 | local hitted = false | |
| 3836 | coroutine.resume(coroutine.create(function() | |
| 3837 | while true do | |
| 3838 | swait(1) | |
| 3839 | if lb.Parent ~= nil and hitted == false then | |
| 3840 | PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2) | |
| 3841 | elseif lb.Parent == nil then | |
| 3842 | break | |
| 3843 | end | |
| 3844 | end | |
| 3845 | end)) | |
| 3846 | ||
| 3847 | game:GetService("Debris"):AddItem(a, 0.1)
| |
| 3848 | ||
| 3849 | coroutine.resume(coroutine.create(function() | |
| 3850 | swait(1) | |
| 3851 | lb.Touched:connect(function(hit) | |
| 3852 | if hitted == false then | |
| 3853 | hitted = true | |
| 3854 | lb.Transparency = 1 | |
| 3855 | lb.Anchored = true | |
| 3856 | CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
| |
| 3857 | CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
| |
| 3858 | CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
| |
| 3859 | CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
| |
| 3860 | CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
| |
| 3861 | CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
| |
| 3862 | MagniDamage(lb, 45, 45,85, 0, "Normal") | |
| 3863 | CameraEnshaking(1,5) | |
| 3864 | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) | |
| 3865 | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) | |
| 3866 | for i = 0, 9 do | |
| 3867 | sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0) | |
| 3868 | end | |
| 3869 | for i = 0, 49 do | |
| 3870 | swait() | |
| 3871 | MagniDamage(lb, 30, 2,4, 0, "Normal") | |
| 3872 | PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0) | |
| 3873 | end | |
| 3874 | end | |
| 3875 | end) | |
| 3876 | end)) | |
| 3877 | end | |
| 3878 | Overed = true | |
| 3879 | orb:Destroy() | |
| 3880 | end)) | |
| 3881 | ||
| 3882 | attack = false | |
| 3883 | end | |
| 3884 | ||
| 3885 | function StarfallEX() | |
| 3886 | attack = true | |
| 3887 | hum.WalkSpeed = 0 | |
| 3888 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 0.7)
| |
| 3889 | for i = 0, 10, 0.1 do | |
| 3890 | swait() | |
| 3891 | PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0) | |
| 3892 | PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0) | |
| 3893 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1) | |
| 3894 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1) | |
| 3895 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
| 3896 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1) | |
| 3897 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1) | |
| 3898 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1) | |
| 3899 | end | |
| 3900 | local Overed = false | |
| 3901 | CameraEnshaking(2,20) | |
| 3902 | sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR) | |
| 3903 | sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR) | |
| 3904 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
| 3905 | CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 0.9)
| |
| 3906 | local orb = Instance.new("Part", char)
| |
| 3907 | orb.Anchored = true | |
| 3908 | orb.BrickColor = BrickColor.new("Toothpaste")
| |
| 3909 | orb.CanCollide = false | |
| 3910 | orb.FormFactor = 3 | |
| 3911 | orb.Name = "Remenant" | |
| 3912 | orb.Material = "Neon" | |
| 3913 | orb.CFrame = root.CFrame*CFrame.new(0,250,0) | |
| 3914 | orb.Size = Vector3.new(1, 1, 1) | |
| 3915 | orb.Transparency = 1 | |
| 3916 | orb.TopSurface = 0 | |
| 3917 | orb.BottomSurface = 0 | |
| 3918 | hum.WalkSpeed = storehumanoidWS | |
| 3919 | coroutine.resume(coroutine.create(function() | |
| 3920 | for i = 0, 4 do | |
| 3921 | swait(15) | |
| 3922 | local lb = Instance.new("Part")
| |
| 3923 | lb.Color = MAINRUINCOLOR.Color | |
| 3924 | lb.CanCollide = false | |
| 3925 | lb.Material = "Neon" | |
| 3926 | lb.Anchored = true | |
| 3927 | lb.TopSurface = 0 | |
| 3928 | lb.BottomSurface = 0 | |
| 3929 | lb.Transparency = 0 | |
| 3930 | lb.Size = vt(1,1,1) | |
| 3931 | lb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),0,math.random(-150,150))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15))) | |
| 3932 | lb.Anchored = false | |
| 3933 | lb.Parent = char | |
| 3934 | local thingery = Instance.new("SpecialMesh",lb)
| |
| 3935 | thingery.MeshType = "Sphere" | |
| 3936 | thingery.Scale = vt(50,50,50) | |
| 3937 | game:GetService("Debris"):AddItem(lb, 10)
| |
| 3938 | local bv = Instance.new("BodyVelocity")
| |
| 3939 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 3940 | bv.velocity = lb.CFrame.lookVector*math.random(50,420) | |
| 3941 | bv.Parent = lb | |
| 3942 | sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR) | |
| 3943 | sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR) | |
| 3944 | CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 0.9)
| |
| 3945 | CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 0.9)
| |
| 3946 | CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 0.9)
| |
| 3947 | CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 0.9)
| |
| 3948 | local hitted = false | |
| 3949 | coroutine.resume(coroutine.create(function() | |
| 3950 | while true do | |
| 3951 | swait(1) | |
| 3952 | if lb.Parent ~= nil and hitted == false then | |
| 3953 | PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),25,25,25,0.25,MAINRUINCOLOR,-2) | |
| 3954 | elseif lb.Parent == nil then | |
| 3955 | break | |
| 3956 | end | |
| 3957 | end | |
| 3958 | end)) | |
| 3959 | ||
| 3960 | game:GetService("Debris"):AddItem(a, 0.1)
| |
| 3961 | ||
| 3962 | coroutine.resume(coroutine.create(function() | |
| 3963 | swait(1) | |
| 3964 | lb.Touched:connect(function(hit) | |
| 3965 | if hitted == false then | |
| 3966 | hitted = true | |
| 3967 | lb.Transparency = 1 | |
| 3968 | lb.Anchored = true | |
| 3969 | CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 0.9)
| |
| 3970 | CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.6)
| |
| 3971 | CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.65)
| |
| 3972 | CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.65)
| |
| 3973 | CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 0.9)
| |
| 3974 | CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.75)
| |
| 3975 | MagniDamage(lb, 50, 60,99, 0, "Normal") | |
| 3976 | CameraEnshaking(1,5) | |
| 3977 | sphere(4,"Add",lb.CFrame,vt(50,50,50),2,MAINRUINCOLOR) | |
| 3978 | sphere(8,"Add",lb.CFrame,vt(50,50,50),4,MAINRUINCOLOR) | |
| 3979 | for i = 0, 9 do | |
| 3980 | sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,100,-0.1,MAINRUINCOLOR,0) | |
| 3981 | end | |
| 3982 | for i = 0, 99 do | |
| 3983 | swait() | |
| 3984 | MagniDamage(lb, 30, 6,18, 0, "Normal") | |
| 3985 | PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),32,32,32,0.32,MAINRUINCOLOR,0) | |
| 3986 | end | |
| 3987 | end | |
| 3988 | end) | |
| 3989 | end)) | |
| 3990 | end | |
| 3991 | Overed = true | |
| 3992 | orb:Destroy() | |
| 3993 | end)) | |
| 3994 | ||
| 3995 | attack = false | |
| 3996 | end | |
| 3997 | ||
| 3998 | function DivineBlast() | |
| 3999 | attack = true | |
| 4000 | bosschatfunc("Justice Beam!!",MAINRUINCOLOR.Color,0.7)
| |
| 4001 | hum.WalkSpeed = 0 | |
| 4002 | local elocacenter = CreateParta(sorb,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4003 | elocacenter.Anchored = true | |
| 4004 | elocacenter.CFrame = sorb.CFrame | |
| 4005 | local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4006 | eloca1.Anchored = true | |
| 4007 | eloca1.CFrame = elocacenter.CFrame | |
| 4008 | local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4009 | eloca2.Anchored = true | |
| 4010 | eloca2.CFrame = elocacenter.CFrame | |
| 4011 | local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4012 | eloca3.Anchored = true | |
| 4013 | eloca3.CFrame = elocacenter.CFrame | |
| 4014 | local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4015 | eloca4.Anchored = true | |
| 4016 | eloca4.CFrame = elocacenter.CFrame | |
| 4017 | local lookavec = 0 | |
| 4018 | local speeds = 0 | |
| 4019 | CFuncs["Sound"].Create("rbxassetid://1192402877", sorb, 1.5, 1)
| |
| 4020 | for i = 0, 3, 0.1 do | |
| 4021 | swait() | |
| 4022 | --- | |
| 4023 | lookavec = lookavec + 0.1 | |
| 4024 | speeds = speeds + 10 | |
| 4025 | elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
| 4026 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
| 4027 | PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2) | |
| 4028 | ||
| 4029 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
| 4030 | PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2) | |
| 4031 | ||
| 4032 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
| 4033 | PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2) | |
| 4034 | ||
| 4035 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
| 4036 | PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2) | |
| 4037 | --- | |
| 4038 | root.CFrame = FaceMouse()[1] | |
| 4039 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1) | |
| 4040 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1) | |
| 4041 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
| 4042 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1) | |
| 4043 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1) | |
| 4044 | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1) | |
| 4045 | end | |
| 4046 | for i = 0, 3, 0.1 do | |
| 4047 | swait() | |
| 4048 | --- | |
| 4049 | speeds = speeds + 10 | |
| 4050 | elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
| 4051 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
| 4052 | PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2) | |
| 4053 | ||
| 4054 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
| 4055 | PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2) | |
| 4056 | ||
| 4057 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
| 4058 | PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2) | |
| 4059 | ||
| 4060 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
| 4061 | PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2) | |
| 4062 | --- | |
| 4063 | root.CFrame = FaceMouse()[1] | |
| 4064 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1) | |
| 4065 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1) | |
| 4066 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
| 4067 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1) | |
| 4068 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1) | |
| 4069 | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1) | |
| 4070 | end | |
| 4071 | CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 1,1)
| |
| 4072 | CFuncs["Sound"].Create("rbxassetid://1436239652", char, 40,1)
| |
| 4073 | for i = 0, 3, 0.1 do | |
| 4074 | swait() | |
| 4075 | --- | |
| 4076 | speeds = speeds + 10 | |
| 4077 | elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
| 4078 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
| 4079 | PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2) | |
| 4080 | ||
| 4081 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
| 4082 | PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2) | |
| 4083 | ||
| 4084 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
| 4085 | PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2) | |
| 4086 | ||
| 4087 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
| 4088 | PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2) | |
| 4089 | --- | |
| 4090 | root.CFrame = FaceMouse()[1] | |
| 4091 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1) | |
| 4092 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1) | |
| 4093 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(40)),.1) | |
| 4094 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(-40)),.1) | |
| 4095 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1) | |
| 4096 | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1) | |
| 4097 | end | |
| 4098 | coroutine.resume(coroutine.create(function() | |
| 4099 | local a = Instance.new("Part",Character)
| |
| 4100 | a.Name = "Direction" | |
| 4101 | a.Anchored = true | |
| 4102 | a.BrickColor = bc("White")
| |
| 4103 | a.Material = "Neon" | |
| 4104 | a.Transparency = 0 | |
| 4105 | a.Shape = "Cylinder" | |
| 4106 | a.CanCollide = false | |
| 4107 | local a2 = Instance.new("Part",Character)
| |
| 4108 | a2.Name = "Direction" | |
| 4109 | a2.Anchored = true | |
| 4110 | a2.BrickColor = bc("Bright yellow")
| |
| 4111 | a2.Material = "Neon" | |
| 4112 | a2.Transparency = 0 | |
| 4113 | a2.Shape = "Cylinder" | |
| 4114 | a2.CanCollide = false | |
| 4115 | local b = Instance.new("Part",Character)
| |
| 4116 | b.Name = "HitDirect" | |
| 4117 | b.Anchored = true | |
| 4118 | b.BrickColor = bc("Cool yellow")
| |
| 4119 | b.Material = "Neon" | |
| 4120 | b.Transparency = 1 | |
| 4121 | b.CanCollide = false | |
| 4122 | local ray = Ray.new( | |
| 4123 | elocacenter.CFrame.p, -- origin | |
| 4124 | (mouse.Hit.p - elocacenter.CFrame.p).unit * 1000 -- direction | |
| 4125 | ) | |
| 4126 | local ignore = Character | |
| 4127 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 4128 | a.BottomSurface = 10 | |
| 4129 | a.TopSurface = 10 | |
| 4130 | a2.BottomSurface = 10 | |
| 4131 | a2.TopSurface = 10 | |
| 4132 | local distance = (elocacenter.CFrame.p - position).magnitude | |
| 4133 | a.Size = Vector3.new(distance, 1, 1) | |
| 4134 | a.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 4135 | a2.Size = Vector3.new(distance, 1, 1) | |
| 4136 | a2.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 4137 | b.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 4138 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4139 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4140 | game:GetService("Debris"):AddItem(a, 10)
| |
| 4141 | game:GetService("Debris"):AddItem(a2, 10)
| |
| 4142 | game:GetService("Debris"):AddItem(b, 10)
| |
| 4143 | local eff = Instance.new("ParticleEmitter",b)
| |
| 4144 | eff.Texture = "rbxassetid://2273224484" | |
| 4145 | eff.LightEmission = 1 | |
| 4146 | eff.Color = ColorSequence.new(Color3.new(1,1,0)) | |
| 4147 | eff.Rate = 500000 | |
| 4148 | eff.Lifetime = NumberRange.new(0.5,2) | |
| 4149 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 4150 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 4151 | eff.Speed = NumberRange.new(20,250) | |
| 4152 | eff.Drag = 5 | |
| 4153 | eff.Rotation = NumberRange.new(-500,500) | |
| 4154 | eff.VelocitySpread = 9000 | |
| 4155 | eff.RotSpeed = NumberRange.new(-50,50) | |
| 4156 | coroutine.resume(coroutine.create(function() | |
| 4157 | wait(0.25) | |
| 4158 | eff.Enabled = false | |
| 4159 | end)) | |
| 4160 | local msh = Instance.new("SpecialMesh",a)
| |
| 4161 | msh.MeshType = "Cylinder" | |
| 4162 | msh.Scale = vt(1,2,2) | |
| 4163 | local msh2 = Instance.new("SpecialMesh",a2)
| |
| 4164 | msh2.MeshType = "Cylinder" | |
| 4165 | msh2.Scale = vt(1,2.5,2.5) | |
| 4166 | CFuncs["Sound"].Create("rbxassetid://376970418", sorb, 2, 0.75)
| |
| 4167 | coroutine.resume(coroutine.create(function() | |
| 4168 | for i = 0,10,0.1 do | |
| 4169 | swait() | |
| 4170 | msh.Scale = msh.Scale + vt(0,0.05,0.05) | |
| 4171 | a.Transparency = a.Transparency + 0.025 | |
| 4172 | msh2.Scale = msh2.Scale + vt(0,0.25,0.25) | |
| 4173 | a2.Transparency = a2.Transparency + 0.05 | |
| 4174 | end | |
| 4175 | a:Destroy() | |
| 4176 | a2:Destroy() | |
| 4177 | end)) | |
| 4178 | CFuncs["Sound"].Create("rbxassetid://1177785010", b, 3, 1)
| |
| 4179 | CFuncs["Sound"].Create("rbxassetid://192410089", b, 3, 0.7)
| |
| 4180 | CFuncs["Sound"].Create("rbxassetid://579687077", b, 0.5, 0.75)
| |
| 4181 | CFuncs["Sound"].Create("rbxassetid://1060191237", b, 1, 0.75)
| |
| 4182 | CFuncs["Sound"].Create("rbxassetid://164881112", b, 3, 1)
| |
| 4183 | CFuncs["Sound"].Create("rbxassetid://429123896", b, 1.5, 0.85)
| |
| 4184 | MagniDamage(b, 25, 40,65, 0, "Normal") | |
| 4185 | for i = 0, 49 do | |
| 4186 | PixelBlock(2,math.random(10,20),"Add",b.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.04,BrickColor.new("Bright yellow"),0)
| |
| 4187 | PixelBlock(1,math.random(1,10),"Add",b.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Bright yellow"),0)
| |
| 4188 | end | |
| 4189 | sphere(1,"Add",b.CFrame,vt(4,4,4),0.1,BrickColor.new("White"))
| |
| 4190 | sphere(1,"Add",b.CFrame,vt(5,5,5),0.25,BrickColor.new("Bright yellow"))
| |
| 4191 | sphere(1,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
| |
| 4192 | sphere(2,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
| |
| 4193 | sphere(3,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
| |
| 4194 | sphere(4,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
| |
| 4195 | end)) | |
| 4196 | game:GetService("Debris"):AddItem(elocacenter, 5)
| |
| 4197 | hum.WalkSpeed = storehumanoidWS | |
| 4198 | attack = false | |
| 4199 | end | |
| 4200 | ||
| 4201 | function StarDivision() | |
| 4202 | attack = true | |
| 4203 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
| |
| 4204 | for i = 0, 2, 0.1 do | |
| 4205 | swait() | |
| 4206 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1) | |
| 4207 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1) | |
| 4208 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
| 4209 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1) | |
| 4210 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6) | |
| 4211 | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1) | |
| 4212 | end | |
| 4213 | local orb = Instance.new("Part", char)
| |
| 4214 | orb.BrickColor = MAINRUINCOLOR | |
| 4215 | orb.CanCollide = false | |
| 4216 | orb.FormFactor = 3 | |
| 4217 | orb.Name = "Ring" | |
| 4218 | orb.Material = "Neon" | |
| 4219 | orb.Size = Vector3.new(1, 1, 1) | |
| 4220 | orb.Transparency = 0 | |
| 4221 | orb.TopSurface = 0 | |
| 4222 | orb.BottomSurface = 0 | |
| 4223 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 4224 | orbm.MeshType = "Sphere" | |
| 4225 | orbm.Name = "SizeMesh" | |
| 4226 | orbm.Scale = vt(2,2,2) | |
| 4227 | local a = Instance.new("Part",workspace)
| |
| 4228 | a.Name = "Direction" | |
| 4229 | a.Anchored = true | |
| 4230 | a.BrickColor = bc("Bright red")
| |
| 4231 | a.Material = "Neon" | |
| 4232 | a.Transparency = 1 | |
| 4233 | a.CanCollide = false | |
| 4234 | local ray = Ray.new( | |
| 4235 | sorb.CFrame.p, -- origin | |
| 4236 | (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction | |
| 4237 | ) | |
| 4238 | local ignore = sorb | |
| 4239 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 4240 | a.BottomSurface = 10 | |
| 4241 | a.TopSurface = 10 | |
| 4242 | local distance = (sorb.CFrame.p - position).magnitude | |
| 4243 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
| 4244 | a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
| 4245 | orb.CFrame = a.CFrame | |
| 4246 | a:Destroy() | |
| 4247 | local bv = Instance.new("BodyVelocity")
| |
| 4248 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 4249 | bv.velocity = orb.CFrame.lookVector*100 | |
| 4250 | bv.Parent = orb | |
| 4251 | local hitted = false | |
| 4252 | game:GetService("Debris"):AddItem(orb, 10)
| |
| 4253 | CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
| |
| 4254 | CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
| |
| 4255 | CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
| |
| 4256 | CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
| |
| 4257 | CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
| |
| 4258 | coroutine.resume(coroutine.create(function() | |
| 4259 | while true do | |
| 4260 | swait(1) | |
| 4261 | if orb.Parent ~= nil and hitted == false then | |
| 4262 | PixelBlockNeg(1,math.random(1,2),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,1,0.02,MAINRUINCOLOR,-2) | |
| 4263 | elseif orb.Parent == nil then | |
| 4264 | break | |
| 4265 | end | |
| 4266 | end | |
| 4267 | end)) | |
| 4268 | coroutine.resume(coroutine.create(function() | |
| 4269 | swait(1) | |
| 4270 | orb.Touched:connect(function(hit) | |
| 4271 | if hitted == false then | |
| 4272 | hitted = true | |
| 4273 | game:GetService("Debris"):AddItem(orb, 5)
| |
| 4274 | orb.Transparency = 1 | |
| 4275 | orb.Anchored = true | |
| 4276 | local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4277 | elocacenter.Anchored = true | |
| 4278 | elocacenter.CFrame = orb.CFrame | |
| 4279 | elocacenter.Orientation = vt(0,0,0) | |
| 4280 | local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4281 | eloca1.Anchored = true | |
| 4282 | eloca1.CFrame = elocacenter.CFrame | |
| 4283 | local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4284 | eloca2.Anchored = true | |
| 4285 | eloca2.CFrame = elocacenter.CFrame | |
| 4286 | local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4287 | eloca3.Anchored = true | |
| 4288 | eloca3.CFrame = elocacenter.CFrame | |
| 4289 | local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4290 | eloca4.Anchored = true | |
| 4291 | eloca4.CFrame = elocacenter.CFrame | |
| 4292 | local lookavec = 0 | |
| 4293 | local speeds = 0 | |
| 4294 | CameraEnshaking(1,1) | |
| 4295 | CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
| |
| 4296 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4297 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4298 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4299 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4300 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4301 | for i = 0, 99 do | |
| 4302 | swait() | |
| 4303 | lookavec = lookavec + 1 | |
| 4304 | speeds = speeds + 0.1 | |
| 4305 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
| 4306 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
| 4307 | PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
| 4308 | ||
| 4309 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
| 4310 | PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
| 4311 | ||
| 4312 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
| 4313 | PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
| 4314 | ||
| 4315 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
| 4316 | PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
| 4317 | end | |
| 4318 | ||
| 4319 | for i = 0, 149 do | |
| 4320 | swait() | |
| 4321 | speeds = speeds + 0.1 | |
| 4322 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
| 4323 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
| 4324 | PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
| 4325 | ||
| 4326 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
| 4327 | PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
| 4328 | ||
| 4329 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
| 4330 | PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
| 4331 | ||
| 4332 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
| 4333 | PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
| 4334 | end | |
| 4335 | for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do | |
| 4336 | if v:FindFirstChild('Head') then
| |
| 4337 | dmg(v) | |
| 4338 | end | |
| 4339 | end | |
| 4340 | CameraEnshaking(7,30) | |
| 4341 | MagniDamage(elocacenter, 225, 50,75, 0, "Normal") | |
| 4342 | CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
| |
| 4343 | CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
| |
| 4344 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
| |
| 4345 | CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
| |
| 4346 | sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR) | |
| 4347 | sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR) | |
| 4348 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4349 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4350 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4351 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4352 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4353 | for i = 0, 24 do | |
| 4354 | sphereMK(1,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.5,MAINRUINCOLOR,0) | |
| 4355 | sphereMK(2,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0) | |
| 4356 | sphereMK(3,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0) | |
| 4357 | sphereMK(4,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0) | |
| 4358 | end | |
| 4359 | coroutine.resume(coroutine.create(function() | |
| 4360 | for i = 0, 499 do | |
| 4361 | swait(1) | |
| 4362 | MagniDamage(elocacenter, 90, 1,5, 0, "Normal") | |
| 4363 | PixelBlockNeg(2,math.random(1,10),"Add",elocacenter.CFrame*CFrame.new(math.random(-75,75),0,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-30,30)),math.rad(math.random(-30,30)),math.rad(math.random(-30,30))),15,15,15,0.15,MAINRUINCOLOR,-5) | |
| 4364 | end | |
| 4365 | elocacenter:Destroy() | |
| 4366 | eloca1:Destroy() | |
| 4367 | eloca2:Destroy() | |
| 4368 | eloca3:Destroy() | |
| 4369 | eloca4:Destroy() | |
| 4370 | end)) | |
| 4371 | end | |
| 4372 | end) | |
| 4373 | end)) | |
| 4374 | attack = false | |
| 4375 | end | |
| 4376 | ||
| 4377 | ||
| 4378 | function THE_TRUE_POWER_OF_VIOLENCE() | |
| 4379 | attack = true | |
| 4380 | hum.WalkSpeed = 0 | |
| 4381 | bosschatfunc("ALL YOUR DESTINY...",MAINRUINCOLOR.Color,4)
| |
| 4382 | for i = 0, 10, 0.1 do | |
| 4383 | swait() | |
| 4384 | PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0) | |
| 4385 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 39))),.1) | |
| 4386 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 6 * math.cos(sine / 31))),.1) | |
| 4387 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(40)),.4) | |
| 4388 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4) | |
| 4389 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4) | |
| 4390 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4) | |
| 4391 | end | |
| 4392 | local orb = Instance.new("Part", char)
| |
| 4393 | orb.BrickColor = MAINRUINCOLOR | |
| 4394 | orb.CanCollide = false | |
| 4395 | orb.FormFactor = 3 | |
| 4396 | orb.Name = "Ring" | |
| 4397 | orb.Material = "Neon" | |
| 4398 | orb.Size = Vector3.new(1, 1, 1) | |
| 4399 | orb.Transparency = 0 | |
| 4400 | orb.TopSurface = 0 | |
| 4401 | orb.BottomSurface = 0 | |
| 4402 | orb.CFrame = sorb.CFrame | |
| 4403 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 4404 | orbm.MeshType = "Sphere" | |
| 4405 | orbm.Name = "SizeMesh" | |
| 4406 | orbm.Scale = vt(0,0,0) | |
| 4407 | local sbs = Instance.new("BodyPosition", orb)
| |
| 4408 | sbs.P = 3000 | |
| 4409 | sbs.D = 1000 | |
| 4410 | sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000) | |
| 4411 | sbs.position = RootPart.CFrame.p + Vector3.new(0, 250, 0) | |
| 4412 | CFuncs["Sound"].Create("rbxassetid://419447292", rarm, 5,1)
| |
| 4413 | sphere(1,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
| 4414 | sphere(2,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
| 4415 | sphere(3,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
| 4416 | sphere(4,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
| 4417 | sphere(5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
| 4418 | for i = 0, 10, 0.1 do | |
| 4419 | swait() | |
| 4420 | PixelBlockNeg(1,0.01,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),6,6,6,0.12,MAINRUINCOLOR,0) | |
| 4421 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 39))),.1) | |
| 4422 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 6 * math.cos(sine / 31))),.1) | |
| 4423 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(60)),.6) | |
| 4424 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6) | |
| 4425 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4) | |
| 4426 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.6) | |
| 4427 | end | |
| 4428 | orb.Anchored = true | |
| 4429 | local elocacenter = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4430 | elocacenter.Anchored = true | |
| 4431 | elocacenter.CFrame = orb.CFrame | |
| 4432 | elocacenter.Orientation = vt(0,0,0) | |
| 4433 | local eloca1 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4434 | eloca1.Anchored = true | |
| 4435 | eloca1.CFrame = elocacenter.CFrame | |
| 4436 | local eloca2 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4437 | eloca2.Anchored = true | |
| 4438 | eloca2.CFrame = elocacenter.CFrame | |
| 4439 | local eloca3 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4440 | eloca3.Anchored = true | |
| 4441 | eloca3.CFrame = elocacenter.CFrame | |
| 4442 | local eloca4 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4443 | eloca4.Anchored = true | |
| 4444 | eloca4.CFrame = elocacenter.CFrame | |
| 4445 | local lookavec = 0 | |
| 4446 | local speeds = 0 | |
| 4447 | CameraEnshaking(1,1) | |
| 4448 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 3,1)
| |
| 4449 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 1.5,1)
| |
| 4450 | CFuncs["Sound"].Create("rbxassetid://468991944", char, 2.5, 1)
| |
| 4451 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 1)
| |
| 4452 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4453 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4454 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4455 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4456 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4457 | for i = 0, 99 do | |
| 4458 | swait() | |
| 4459 | lookavec = lookavec + 2.5 | |
| 4460 | speeds = speeds + 0.25 | |
| 4461 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
| 4462 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
| 4463 | PixelBlockNeg(2,0,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
| 4464 | ||
| 4465 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
| 4466 | PixelBlockNeg(2,0,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
| 4467 | ||
| 4468 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
| 4469 | PixelBlockNeg(2,0,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
| 4470 | ||
| 4471 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
| 4472 | PixelBlockNeg(2,0,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
| 4473 | end | |
| 4474 | ||
| 4475 | for i = 0, 149 do | |
| 4476 | swait() | |
| 4477 | speeds = speeds + 0.25 | |
| 4478 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
| 4479 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
| 4480 | PixelBlockNeg(2,0,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
| 4481 | ||
| 4482 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
| 4483 | PixelBlockNeg(2,0,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
| 4484 | ||
| 4485 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
| 4486 | PixelBlockNeg(2,0,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
| 4487 | ||
| 4488 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
| 4489 | PixelBlockNeg(2,0,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
| 4490 | end | |
| 4491 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 5, 0.75)
| |
| 4492 | for i = 0, 99 do | |
| 4493 | swait() | |
| 4494 | lookavec = lookavec - 2.5 | |
| 4495 | speeds = speeds + 0.25 | |
| 4496 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
| 4497 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
| 4498 | PixelBlockNeg(2,0,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
| 4499 | ||
| 4500 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
| 4501 | PixelBlockNeg(2,0,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
| 4502 | ||
| 4503 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
| 4504 | PixelBlockNeg(2,0,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
| 4505 | ||
| 4506 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
| 4507 | PixelBlockNeg(2,0,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
| 4508 | end | |
| 4509 | local scaled = 0.1*75 | |
| 4510 | CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,1)
| |
| 4511 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5,1)
| |
| 4512 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5,0.5)
| |
| 4513 | CFuncs["Sound"].Create("rbxassetid://151304356", char, 1,0.5)
| |
| 4514 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 3.5, 0.75)
| |
| 4515 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
| |
| 4516 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4517 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4518 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4519 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4520 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4521 | ||
| 4522 | for i = 0, 10, 0.1 do | |
| 4523 | swait() | |
| 4524 | scaled = scaled - 0.001*75 | |
| 4525 | orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled) | |
| 4526 | PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0) | |
| 4527 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 39))),.1) | |
| 4528 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 6 * math.cos(sine / 31))),.1) | |
| 4529 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(60)),.6) | |
| 4530 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6) | |
| 4531 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4) | |
| 4532 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.6) | |
| 4533 | end | |
| 4534 | bosschatfunc("WILL BE MINE!!!!",MAINRUINCOLOR.Color,2)
| |
| 4535 | CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 10, 1,0,10,0.15,0.5,1)
| |
| 4536 | CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 60, 1,0,10,0.15,0.5,1)
| |
| 4537 | for x = 0, 4 do | |
| 4538 | for i = 0, 9 do | |
| 4539 | sphereMK(0.5,0,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,100000,0,MAINRUINCOLOR,0) | |
| 4540 | end | |
| 4541 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,0.75)
| |
| 4542 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 0.5)
| |
| 4543 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4544 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4545 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4546 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4547 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4548 | for i = 0, 5, 0.1 do | |
| 4549 | swait() | |
| 4550 | PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0) | |
| 4551 | PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0) | |
| 4552 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 39))),.1) | |
| 4553 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 6 * math.cos(sine / 31))),.1) | |
| 4554 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 4555 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.1) | |
| 4556 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.1) | |
| 4557 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.1) | |
| 4558 | end | |
| 4559 | end | |
| 4560 | local speedearn = 0 | |
| 4561 | CFuncs["Sound"].Create("rbxassetid://136007472", char, 5,0.2)
| |
| 4562 | CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.75)
| |
| 4563 | CFuncs["Sound"].Create("rbxassetid://163619849", char, 2.5, 0.25)
| |
| 4564 | for i = 0, 30, 0.1 do | |
| 4565 | swait() | |
| 4566 | scaled = scaled - 0.001*75/10 | |
| 4567 | speedearn = speedearn + 0.5 | |
| 4568 | for i = 0, 4 do | |
| 4569 | sphereMK(1+speedearn,speedearn,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) | |
| 4570 | end | |
| 4571 | PixelBlock(1,speedearn,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1*speedearn/10,1*speedearn/10,1*speedearn/10,0.02*speedearn/10,MAINRUINCOLOR,0) | |
| 4572 | orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled) | |
| 4573 | PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0) | |
| 4574 | PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0) | |
| 4575 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 39))),.1) | |
| 4576 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 6 * math.cos(sine / 31))),.1) | |
| 4577 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.6) | |
| 4578 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.6) | |
| 4579 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.4) | |
| 4580 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.6) | |
| 4581 | end | |
| 4582 | orb.Transparency = 1 | |
| 4583 | for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125000000)) do | |
| 4584 | if v:FindFirstChild('Head') then
| |
| 4585 | dmg(v) | |
| 4586 | end | |
| 4587 | end | |
| 4588 | CameraEnshaking(7,30) | |
| 4589 | MagniDamage(elocacenter, 9999999, 5000000,99999999, 0, "Normal") | |
| 4590 | CFuncs["Sound"].Create("rbxassetid://167115397", char, 5,1)
| |
| 4591 | CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.5)
| |
| 4592 | CFuncs["Sound"].Create("rbxassetid://163619849", char, 3, 0.25)
| |
| 4593 | CFuncs["Sound"].Create("rbxassetid://468991944", char, 10, 1)
| |
| 4594 | CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
| |
| 4595 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 6,1)
| |
| 4596 | CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
| |
| 4597 | CFuncs["Sound"].Create("rbxassetid://741272936", char, 5, 1)
| |
| 4598 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 5, 1)
| |
| 4599 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 7.5, 0.5)
| |
| 4600 | CFuncs["Sound"].Create("rbxassetid://429123896", char, 5, 0.85)
| |
| 4601 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 1)
| |
| 4602 | CFuncs["Sound"].Create("rbxassetid://919941001", char, 5,1.05)
| |
| 4603 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4604 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4605 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4606 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4607 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4608 | for i = 0, 99 do | |
| 4609 | PixelBlock(1,math.random(50,1000),"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),20,20,20,0.4,MAINRUINCOLOR,0) | |
| 4610 | PixelBlock(2,math.random(250,1000),"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,10,0.2,MAINRUINCOLOR,0) | |
| 4611 | end | |
| 4612 | for i = 0, 24 do | |
| 4613 | sphereMK(0.5,0,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,100000,0,MAINRUINCOLOR,0) | |
| 4614 | sphereMK(1,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.5,MAINRUINCOLOR,0) | |
| 4615 | sphereMK(2,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0) | |
| 4616 | sphereMK(3,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0) | |
| 4617 | sphereMK(4,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0) | |
| 4618 | end | |
| 4619 | game:GetService("Debris"):AddItem(orb, 10)
| |
| 4620 | hum.WalkSpeed = storehumanoidWS | |
| 4621 | attack = false | |
| 4622 | end | |
| 4623 | ||
| 4624 | ||
| 4625 | function ViolentRing() | |
| 4626 | attack = true | |
| 4627 | CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1, 1)
| |
| 4628 | bosschatfunc("SHOULD I TAKE THAT EASIER?!",MAINRUINCOLOR.Color,0.7)
| |
| 4629 | CFuncs["EchoSound"].Create("rbxassetid://1535994137", char, 4, 1,0,10,0.15,0.5,1)
| |
| 4630 | CFuncs["EchoSound"].Create("rbxassetid://1535994137", root, 7, 1,0,10,0.15,0.5,1)
| |
| 4631 | for i = 0, 2, 0.1 do | |
| 4632 | swait() | |
| 4633 | local snap = math.random(1,10) | |
| 4634 | if snap == 1 then | |
| 4635 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(-50 + math.random(-10,10))),1) | |
| 4636 | end | |
| 4637 | PixelBlockX(5,0.5,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,MAINRUINCOLOR,0) | |
| 4638 | PixelBlockNeg(5,0.5,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,MAINRUINCOLOR,0) | |
| 4639 | PixelBlockX(5,0.25,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.65,0.65,0.65,0.0065,MAINRUINCOLOR,0) | |
| 4640 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.6) | |
| 4641 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.6) | |
| 4642 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.6) | |
| 4643 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.6) | |
| 4644 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70),math.rad(20),math.rad(50)),.4) | |
| 4645 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.6) | |
| 4646 | RootPart.CFrame = FaceMouse()[1] | |
| 4647 | end | |
| 4648 | local orb = Instance.new("Part", char)
| |
| 4649 | orb.BrickColor = MAINRUINCOLOR | |
| 4650 | orb.CanCollide = false | |
| 4651 | orb.FormFactor = 3 | |
| 4652 | orb.Name = "Ring" | |
| 4653 | orb.Material = "Neon" | |
| 4654 | orb.Size = Vector3.new(1, 1, 1) | |
| 4655 | orb.Transparency = 0 | |
| 4656 | orb.TopSurface = 0 | |
| 4657 | orb.BottomSurface = 0 | |
| 4658 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 4659 | orbm.MeshType = "Sphere" | |
| 4660 | orbm.Name = "SizeMesh" | |
| 4661 | orbm.Scale = vt(2,2,2) | |
| 4662 | orb.CFrame = mouse.Hit | |
| 4663 | local bv = Instance.new("BodyVelocity")
| |
| 4664 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 4665 | bv.velocity = orb.CFrame.lookVector*100 | |
| 4666 | bv.Parent = orb | |
| 4667 | local hitted = false | |
| 4668 | coroutine.resume(coroutine.create(function() | |
| 4669 | game:GetService("Debris"):AddItem(orb, 5)
| |
| 4670 | orb.Transparency = 1 | |
| 4671 | orb.Anchored = true | |
| 4672 | local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4673 | elocacenter.Anchored = true | |
| 4674 | elocacenter.CFrame = orb.CFrame | |
| 4675 | elocacenter.Orientation = vt(0,0,0) | |
| 4676 | local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4677 | eloca1.Anchored = true | |
| 4678 | eloca1.CFrame = elocacenter.CFrame | |
| 4679 | local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4680 | eloca2.Anchored = true | |
| 4681 | eloca2.CFrame = elocacenter.CFrame | |
| 4682 | local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4683 | eloca3.Anchored = true | |
| 4684 | eloca3.CFrame = elocacenter.CFrame | |
| 4685 | local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4686 | eloca4.Anchored = true | |
| 4687 | eloca4.CFrame = elocacenter.CFrame | |
| 4688 | local lookavec = 0 | |
| 4689 | local speeds = 0 | |
| 4690 | CameraEnshaking(1,1) | |
| 4691 | CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
| |
| 4692 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4693 | sphere(6,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4694 | sphere(7,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4695 | sphere(8,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4696 | sphere(9,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4697 | for i = 0, 24 do | |
| 4698 | swait() | |
| 4699 | lookavec = lookavec + 3.5 | |
| 4700 | speeds = speeds + 1 | |
| 4701 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
| 4702 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
| 4703 | PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
| 4704 | ||
| 4705 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
| 4706 | PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
| 4707 | ||
| 4708 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
| 4709 | PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
| 4710 | ||
| 4711 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
| 4712 | PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
| 4713 | end | |
| 4714 | ||
| 4715 | local risen = 0 | |
| 4716 | for i = 0, 49 do | |
| 4717 | swait() | |
| 4718 | risen = risen + 0.05 | |
| 4719 | speeds = speeds + 0.1 | |
| 4720 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
| 4721 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
| 4722 | PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
| 4723 | ||
| 4724 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
| 4725 | PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
| 4726 | ||
| 4727 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
| 4728 | PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
| 4729 | ||
| 4730 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
| 4731 | PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
| 4732 | end | |
| 4733 | for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 100)) do | |
| 4734 | if v:FindFirstChild('Head') then
| |
| 4735 | dmg(v) | |
| 4736 | end | |
| 4737 | end | |
| 4738 | CameraEnshaking(4,10) | |
| 4739 | MagniDamage(elocacenter, 150, 50,75, 0, "Normal") | |
| 4740 | CFuncs["Sound"].Create("rbxassetid://468991944", char, 2, 1)
| |
| 4741 | CFuncs["Sound"].Create("rbxassetid://533636230", char, 2.5, 0.75)
| |
| 4742 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 0.25,1)
| |
| 4743 | CFuncs["Sound"].Create("rbxassetid://421328847", char, 0.25,1)
| |
| 4744 | CFuncs["Sound"].Create("rbxassetid://919941001", char, 1.5,1.05)
| |
| 4745 | local eff = Instance.new("ParticleEmitter",elocacenter)
| |
| 4746 | eff.Texture = "rbxassetid://2273224484" | |
| 4747 | eff.LightEmission = 1 | |
| 4748 | eff.Color = ColorSequence.new(Color3.new(1,1,0)) | |
| 4749 | eff.Rate = 1000000 | |
| 4750 | eff.Lifetime = NumberRange.new(0.5,2) | |
| 4751 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 4752 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 4753 | eff.Speed = NumberRange.new(20,250) | |
| 4754 | eff.Drag = 5 | |
| 4755 | eff.Rotation = NumberRange.new(-500,500) | |
| 4756 | eff.VelocitySpread = 5000000 | |
| 4757 | eff.RotSpeed = NumberRange.new(-50,50) | |
| 4758 | coroutine.resume(coroutine.create(function() | |
| 4759 | wait(1) | |
| 4760 | eff.Enabled = false | |
| 4761 | end)) | |
| 4762 | sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),-0.25,MAINRUINCOLOR) | |
| 4763 | sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),0.5,MAINRUINCOLOR) | |
| 4764 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4765 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4766 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4767 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4768 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4769 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),500,MAINRUINCOLOR) | |
| 4770 | for i = 0, 24 do | |
| 4771 | sphereMK(2,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.25,MAINRUINCOLOR,0) | |
| 4772 | sphereMK(4,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0) | |
| 4773 | sphereMK(6,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0) | |
| 4774 | sphereMK(8,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0) | |
| 4775 | end | |
| 4776 | coroutine.resume(coroutine.create(function() | |
| 4777 | wait(10) | |
| 4778 | elocacenter:Destroy() | |
| 4779 | eloca1:Destroy() | |
| 4780 | eloca2:Destroy() | |
| 4781 | eloca3:Destroy() | |
| 4782 | eloca4:Destroy() | |
| 4783 | end)) | |
| 4784 | end)) | |
| 4785 | attack = false | |
| 4786 | end | |
| 4787 | ||
| 4788 | function UniversalCollapse() | |
| 4789 | attack = true | |
| 4790 | local speedearn = 0 | |
| 4791 | hum.WalkSpeed = 0 | |
| 4792 | local sbs = Instance.new("BodyPosition", root)
| |
| 4793 | sbs.P = 3000 | |
| 4794 | sbs.D = 1000 | |
| 4795 | sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000) | |
| 4796 | sbs.position = RootPart.CFrame.p + Vector3.new(0, 200, 0) | |
| 4797 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
| |
| 4798 | for i = 0, 85, 0.1 do | |
| 4799 | swait() | |
| 4800 | speedearn = speedearn + 0.1 | |
| 4801 | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) | |
| 4802 | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) | |
| 4803 | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) | |
| 4804 | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) | |
| 4805 | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) | |
| 4806 | sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR) | |
| 4807 | RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1) | |
| 4808 | LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1) | |
| 4809 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
| 4810 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
| 4811 | RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1) | |
| 4812 | LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1) | |
| 4813 | end | |
| 4814 | bosschatfunc("Universary..",MAINRUINCOLOR.Color,1)
| |
| 4815 | CFuncs["EchoSound"].Create("rbxassetid://1448032598", char, 5, 1,0,10,0.15,0.5,1)
| |
| 4816 | CFuncs["EchoSound"].Create("rbxassetid://1448032598", root, 20, 1,0,10,0.15,0.5,1)
| |
| 4817 | for i = 0, 25, 0.1 do | |
| 4818 | swait() | |
| 4819 | speedearn = speedearn + 0.1 | |
| 4820 | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) | |
| 4821 | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) | |
| 4822 | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) | |
| 4823 | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) | |
| 4824 | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) | |
| 4825 | sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR) | |
| 4826 | RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1) | |
| 4827 | LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1) | |
| 4828 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
| 4829 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
| 4830 | RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1) | |
| 4831 | LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1) | |
| 4832 | end | |
| 4833 | bosschatfunc("COLLAPSE!!!",MAINRUINCOLOR.Color,1)
| |
| 4834 | CFuncs["EchoSound"].Create("rbxassetid://1436241883", char, 5, 1,0,10,0.15,0.5,1)
| |
| 4835 | CFuncs["EchoSound"].Create("rbxassetid://1436241883", root, 20, 1,0,10,0.15,0.5,1)
| |
| 4836 | CameraEnshaking(5,50) | |
| 4837 | sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR) | |
| 4838 | for i = 0, 2 do | |
| 4839 | CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
| |
| 4840 | CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
| |
| 4841 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,1)
| |
| 4842 | CFuncs["Sound"].Create("rbxassetid://421328847", char, 5,1)
| |
| 4843 | end | |
| 4844 | for i = 0, 49 do | |
| 4845 | sphereMK(1,3,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,200,-1,MAINRUINCOLOR,0) | |
| 4846 | sphereMK(2,6,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,150,-0.5,MAINRUINCOLOR,0) | |
| 4847 | sphereMK(3,9,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,100,-0.5,MAINRUINCOLOR,0) | |
| 4848 | sphereMK(4,12,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,50,-0.5,MAINRUINCOLOR,0) | |
| 4849 | end | |
| 4850 | sphere(1,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR) | |
| 4851 | sphere(2,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR) | |
| 4852 | sphere(3,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR) | |
| 4853 | sphere(4,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR) | |
| 4854 | sphere(5,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR) | |
| 4855 | sphere(6,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR) | |
| 4856 | sphere(1,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4857 | sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4858 | sphere(3,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4859 | sphere(4,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4860 | sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4861 | sphere(6,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4862 | for i = 0, 99 do | |
| 4863 | PixelBlock(1,math.random(50,1000),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),20,20,20,0.4,MAINRUINCOLOR,0) | |
| 4864 | PixelBlock(2,math.random(250,1000),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,10,0.2,MAINRUINCOLOR,0) | |
| 4865 | end | |
| 4866 | for i, v in pairs(FindNearestHead(root.CFrame.p, 9999999)) do | |
| 4867 | if v:FindFirstChild('Head') then
| |
| 4868 | dmg(v) | |
| 4869 | end | |
| 4870 | end | |
| 4871 | MagniDamage(root, 9999999, 1000000,9999999, 0, "Normal") | |
| 4872 | sbs:Destroy() | |
| 4873 | hum.WalkSpeed = storehumanoidWS | |
| 4874 | attack = false | |
| 4875 | end | |
| 4876 | ||
| 4877 | ||
| 4878 | function ChaosEND() | |
| 4879 | attack = true | |
| 4880 | local speedearn = 0 | |
| 4881 | bosschatfunc("THIS IS..",MAINRUINCOLOR.Color,0.8)
| |
| 4882 | CFuncs["EchoSound"].Create("rbxassetid://1548599511", char, 4.5, 1,0,10,0.15,0.5,1)
| |
| 4883 | CFuncs["EchoSound"].Create("rbxassetid://1548599511", root, 30, 1,0,10,0.15,0.5,1)
| |
| 4884 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 4, 1)
| |
| 4885 | for i = 0, 15, 0.1 do | |
| 4886 | swait() | |
| 4887 | speedearn = speedearn + 0.25 | |
| 4888 | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0) | |
| 4889 | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0) | |
| 4890 | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0) | |
| 4891 | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0) | |
| 4892 | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0) | |
| 4893 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2) | |
| 4894 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2) | |
| 4895 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 4896 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 4897 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2) | |
| 4898 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2) | |
| 4899 | end | |
| 4900 | CFuncs["Sound"].Create("rbxassetid://438666141", char, 3,1)
| |
| 4901 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 4, 1)
| |
| 4902 | bosschatfunc("THE END!!!",MAINRUINCOLOR.Color,2)
| |
| 4903 | CFuncs["EchoSound"].Create("rbxassetid://1548599962", char, 8, 1,0,10,0.15,0.5,1)
| |
| 4904 | CFuncs["EchoSound"].Create("rbxassetid://1548599962", root, 40, 1,0,10,0.15,0.5,1)
| |
| 4905 | CameraEnshaking(5,25) | |
| 4906 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do | |
| 4907 | if v:FindFirstChild('Head') then
| |
| 4908 | dmg(v) | |
| 4909 | end | |
| 4910 | end | |
| 4911 | sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random()) | |
| 4912 | sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random()) | |
| 4913 | sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random()) | |
| 4914 | for i = 0, 3, 0.1 do | |
| 4915 | swait() | |
| 4916 | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0) | |
| 4917 | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0) | |
| 4918 | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0) | |
| 4919 | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0) | |
| 4920 | RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4) | |
| 4921 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4) | |
| 4922 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
| 4923 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
| 4924 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4) | |
| 4925 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4) | |
| 4926 | end | |
| 4927 | attack = false | |
| 4928 | end | |
| 4929 | ||
| 4930 | function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon) | |
| 4931 | local orb = Instance.new("Part", char)
| |
| 4932 | orb.Anchored = true | |
| 4933 | orb.BrickColor = color | |
| 4934 | orb.CanCollide = false | |
| 4935 | orb.FormFactor = 3 | |
| 4936 | orb.Name = "Ring" | |
| 4937 | orb.Material = "Neon" | |
| 4938 | orb.Size = Vector3.new(1, 1, 1) | |
| 4939 | orb.Transparency = 0 | |
| 4940 | orb.TopSurface = 0 | |
| 4941 | orb.BottomSurface = 0 | |
| 4942 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 4943 | orbm.MeshType = "Sphere" | |
| 4944 | orb.CFrame = positted | |
| 4945 | orbm.Name = "SizeMesh" | |
| 4946 | orbm.Scale = vt(1,1,1) | |
| 4947 | CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
| |
| 4948 | sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor) | |
| 4949 | --[[for i = 0, 2 do | |
| 4950 | sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0) | |
| 4951 | end]]-- | |
| 4952 | coroutine.resume(coroutine.create(function() | |
| 4953 | wait(timer) | |
| 4954 | CameraEnshaking(3,ShakePower) | |
| 4955 | orb.Transparency = 1 | |
| 4956 | MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal") | |
| 4957 | sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor) | |
| 4958 | --[[for i = 0, 4 do | |
| 4959 | sphereMK(5,0.15*MagniBoost,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0) | |
| 4960 | end]]-- | |
| 4961 | CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
| |
| 4962 | wait(3) | |
| 4963 | orb:Destroy() | |
| 4964 | end)) | |
| 4965 | end | |
| 4966 | ||
| 4967 | function orb_spawn(positted,timer) | |
| 4968 | local randomcol = math.random(1,2) | |
| 4969 | local orb = Instance.new("Part", char)
| |
| 4970 | orb.Anchored = true | |
| 4971 | if randomcol == 1 then | |
| 4972 | orb.BrickColor = BrickColor.new("White")
| |
| 4973 | elseif randomcol == 2 then | |
| 4974 | orb.BrickColor = BrickColor.new("Really black")
| |
| 4975 | end | |
| 4976 | orb.CanCollide = false | |
| 4977 | orb.FormFactor = 3 | |
| 4978 | orb.Name = "Ring" | |
| 4979 | orb.Material = "Neon" | |
| 4980 | orb.Size = Vector3.new(1, 1, 1) | |
| 4981 | orb.Transparency = 0 | |
| 4982 | orb.TopSurface = 0 | |
| 4983 | orb.BottomSurface = 0 | |
| 4984 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 4985 | orbm.MeshType = "Sphere" | |
| 4986 | orb.CFrame = positted | |
| 4987 | orbm.Name = "SizeMesh" | |
| 4988 | orbm.Scale = vt(1,1,1) | |
| 4989 | CFuncs["Sound"].Create("rbxassetid://183763506", orb, 0.15, 1)
| |
| 4990 | sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor) | |
| 4991 | for i = 0, 2 do | |
| 4992 | sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0) | |
| 4993 | end | |
| 4994 | coroutine.resume(coroutine.create(function() | |
| 4995 | wait(timer) | |
| 4996 | CameraEnshaking(3,2) | |
| 4997 | orb.Transparency = 1 | |
| 4998 | MagniDamage(orb, 17.5, 10,50, 0, "Normal") | |
| 4999 | sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor) | |
| 5000 | for i = 0, 4 do | |
| 5001 | sphereMK(5,0.65,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0) | |
| 5002 | end | |
| 5003 | CFuncs["Sound"].Create("rbxassetid://192410089", orb, 0.15, 0.7)
| |
| 5004 | wait(3) | |
| 5005 | orb:Destroy() | |
| 5006 | end)) | |
| 5007 | end | |
| 5008 | ||
| 5009 | function scattercorrupt() | |
| 5010 | attack = true | |
| 5011 | hum.WalkSpeed = 0 | |
| 5012 | for i = 0, 2, 0.1 do | |
| 5013 | swait() | |
| 5014 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 5015 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 5016 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 5017 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 5018 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(30)),.2) | |
| 5019 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.2) | |
| 5020 | end | |
| 5021 | local rot = 0 | |
| 5022 | local randomrotations = math.random(1,2) | |
| 5023 | local lookv = 2.5 | |
| 5024 | local power = 7 | |
| 5025 | local radm = math.random(1,3) | |
| 5026 | if radm == 1 then | |
| 5027 | bosschatfunc("HOW LONG CAN YOU TAKE THIS?",MAINRUINCOLOR.Color,1)
| |
| 5028 | elseif radm == 2 then | |
| 5029 | bosschatfunc("SWAMP!!",MAINRUINCOLOR.Color,1)
| |
| 5030 | elseif radm == 3 then | |
| 5031 | bosschatfunc("SCATTER!!",MAINRUINCOLOR.Color,1)
| |
| 5032 | end | |
| 5033 | CFuncs["Sound"].Create("rbxassetid://183763506", RightLeg, 2, 1)
| |
| 5034 | for i = 0, 1, 0.1 do | |
| 5035 | swait() | |
| 5036 | RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(15),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.15) | |
| 5037 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(15),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.15) | |
| 5038 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(15),math.rad(0),math.rad(0)),.15) | |
| 5039 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0)),.15) | |
| 5040 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(40)),.15) | |
| 5041 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(-40)),.15) | |
| 5042 | end | |
| 5043 | CFuncs["EchoSound"].Create("rbxassetid://1535994669", char, 5, 1,0,10,0.15,0.5,1)
| |
| 5044 | CFuncs["EchoSound"].Create("rbxassetid://1535994669", root, 20, 1,0,10,0.15,0.5,1)
| |
| 5045 | sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
| |
| 5046 | sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
| |
| 5047 | for i = 0, 9 do | |
| 5048 | sphereMK(1,1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,45,-0.1,BrickColor.new("Royal purple"),0)
| |
| 5049 | end | |
| 5050 | local hite = Instance.new("Part", char)
| |
| 5051 | hite.Anchored = true | |
| 5052 | hite.CanCollide = false | |
| 5053 | hite.FormFactor = 3 | |
| 5054 | hite.Name = "Ring" | |
| 5055 | hite.Material = "Neon" | |
| 5056 | hite.Size = Vector3.new(1, 1, 1) | |
| 5057 | hite.Transparency = 1 | |
| 5058 | hite.TopSurface = 0 | |
| 5059 | hite.BottomSurface = 0 | |
| 5060 | hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0) | |
| 5061 | local rem = Instance.new("Part", char)
| |
| 5062 | rem.Anchored = true | |
| 5063 | rem.CanCollide = false | |
| 5064 | rem.FormFactor = 3 | |
| 5065 | rem.Name = "Ring" | |
| 5066 | rem.Material = "Neon" | |
| 5067 | rem.Size = Vector3.new(1, 1, 1) | |
| 5068 | rem.Transparency = 1 | |
| 5069 | rem.TopSurface = 0 | |
| 5070 | rem.BottomSurface = 0 | |
| 5071 | rem.CFrame = hite.CFrame | |
| 5072 | local rem2 = rem:Clone() | |
| 5073 | rem2.Parent = char | |
| 5074 | rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 5075 | local rem3 = rem:Clone() | |
| 5076 | rem3.Parent = char | |
| 5077 | rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0) | |
| 5078 | local rem4 = rem:Clone() | |
| 5079 | rem4.Parent = char | |
| 5080 | rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0) | |
| 5081 | hite:Destroy() | |
| 5082 | coroutine.resume(coroutine.create(function() | |
| 5083 | for i = 0, 24 do | |
| 5084 | swait(1) | |
| 5085 | if randomrotations == 1 then | |
| 5086 | rot = rot + 1 | |
| 5087 | elseif randomrotations == 2 then | |
| 5088 | rot = rot - 1 | |
| 5089 | end | |
| 5090 | power = power + 0.5 | |
| 5091 | lookv = lookv + 7.5 | |
| 5092 | rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0) | |
| 5093 | rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 5094 | rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0) | |
| 5095 | rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0) | |
| 5096 | orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
| |
| 5097 | orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
| |
| 5098 | orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
| |
| 5099 | orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
| |
| 5100 | end | |
| 5101 | end)) | |
| 5102 | wait(2) | |
| 5103 | hum.WalkSpeed = storehumanoidWS | |
| 5104 | attack = false | |
| 5105 | end | |
| 5106 | function yinyangi() | |
| 5107 | attack = true | |
| 5108 | for i = 0, 2, 0.1 do | |
| 5109 | swait() | |
| 5110 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.2) | |
| 5111 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.2) | |
| 5112 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(75),math.rad(0),math.rad(0)),.2) | |
| 5113 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 5114 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2) | |
| 5115 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2) | |
| 5116 | end | |
| 5117 | local bv = Instance.new("BodyVelocity")
| |
| 5118 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 5119 | bv.velocity = root.CFrame.lookVector*175 | |
| 5120 | bv.Parent = root | |
| 5121 | for Rotations = 0, 9 do | |
| 5122 | for i = 0, 1, 0.5 do | |
| 5123 | swait() | |
| 5124 | bv.velocity = root.CFrame.lookVector*175 | |
| 5125 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5) | |
| 5126 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5) | |
| 5127 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(90)),.5) | |
| 5128 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
| 5129 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
| 5130 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
| 5131 | end | |
| 5132 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
| 5133 | for i = 0, 1, 0.5 do | |
| 5134 | swait() | |
| 5135 | bv.velocity = root.CFrame.lookVector*175 | |
| 5136 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5) | |
| 5137 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5) | |
| 5138 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(180)),.5) | |
| 5139 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
| 5140 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
| 5141 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
| 5142 | end | |
| 5143 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
| 5144 | for i = 0, 1, 0.5 do | |
| 5145 | swait() | |
| 5146 | bv.velocity = root.CFrame.lookVector*175 | |
| 5147 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5) | |
| 5148 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5) | |
| 5149 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(270)),.5) | |
| 5150 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
| 5151 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
| 5152 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
| 5153 | end | |
| 5154 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
| 5155 | for i = 0, 1, 0.5 do | |
| 5156 | swait() | |
| 5157 | bv.velocity = root.CFrame.lookVector*175 | |
| 5158 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5) | |
| 5159 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5) | |
| 5160 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(360)),.5) | |
| 5161 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
| 5162 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
| 5163 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
| 5164 | end | |
| 5165 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
| 5166 | end | |
| 5167 | bv:Destroy() | |
| 5168 | attack = false | |
| 5169 | end | |
| 5170 | ||
| 5171 | function createBGCircle(size,parent,color) | |
| 5172 | local bgui = Instance.new("BillboardGui",parent)
| |
| 5173 | bgui.Size = UDim2.new(size, 0, size, 0) | |
| 5174 | local imgc = Instance.new("ImageLabel",bgui)
| |
| 5175 | imgc.BackgroundTransparency = 1 | |
| 5176 | imgc.ImageTransparency = 0 | |
| 5177 | imgc.Size = UDim2.new(1,0,1,0) | |
| 5178 | imgc.Image = "rbxassetid://997291547" --997291547,521073910 | |
| 5179 | imgc.ImageColor3 = color | |
| 5180 | return bgui,imgc | |
| 5181 | end | |
| 5182 | ||
| 5183 | function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay) | |
| 5184 | local bgui,imgc = createBGCircle(size,guipar,color) | |
| 5185 | bgui.AlwaysOnTop = true | |
| 5186 | imgc.Image = "rbxassetid://" ..img | |
| 5187 | local rrot = math.random(1,2) | |
| 5188 | CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
| |
| 5189 | coroutine.resume(coroutine.create(function() | |
| 5190 | for i = 0, 24*delay do | |
| 5191 | swait() | |
| 5192 | if rotationenabled == true then | |
| 5193 | if rrot == 1 then | |
| 5194 | imgc.Rotation = imgc.Rotation + rotsp | |
| 5195 | elseif rrot == 2 then | |
| 5196 | imgc.Rotation = imgc.Rotation - rotsp | |
| 5197 | end | |
| 5198 | end | |
| 5199 | bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0) | |
| 5200 | imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay | |
| 5201 | end | |
| 5202 | bgui:Destroy() | |
| 5203 | end)) | |
| 5204 | end | |
| 5205 | function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled) | |
| 5206 | for i, v in pairs(mw2:GetChildren()) do | |
| 5207 | if v:IsA("Part") then
| |
| 5208 | v.BrickColor = one | |
| 5209 | v.Material = "Neon" | |
| 5210 | end | |
| 5211 | end | |
| 5212 | CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
| |
| 5213 | symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1) | |
| 5214 | symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1) | |
| 5215 | tr1.Color = ColorSequence.new(one.Color) | |
| 5216 | tr2.Color = ColorSequence.new(one.Color) | |
| 5217 | tr3.Color = ColorSequence.new(one.Color) | |
| 5218 | for i, v in pairs(mw1:GetChildren()) do | |
| 5219 | if v:IsA("Part") then
| |
| 5220 | if secondaryenabled == false then | |
| 5221 | v.Transparency = 1 | |
| 5222 | elseif secondaryenabled == true then | |
| 5223 | v.Transparency = 0 | |
| 5224 | end | |
| 5225 | v.BrickColor = two | |
| 5226 | v.Material = "Neon" | |
| 5227 | end | |
| 5228 | end | |
| 5229 | if secondaryenabled == false then | |
| 5230 | tl1.Enabled = false | |
| 5231 | tl2.Enabled = false | |
| 5232 | tl3.Enabled = false | |
| 5233 | elseif secondaryenabled == true then | |
| 5234 | tl1.Enabled = true | |
| 5235 | tl2.Enabled = true | |
| 5236 | tl3.Enabled = true | |
| 5237 | end | |
| 5238 | tl1.Color = ColorSequence.new(two.Color) | |
| 5239 | tl2.Color = ColorSequence.new(two.Color) | |
| 5240 | tl3.Color = ColorSequence.new(two.Color) | |
| 5241 | for i, v in pairs(m:GetChildren()) do | |
| 5242 | if v:IsA("Part") then
| |
| 5243 | v.BrickColor = three | |
| 5244 | v.Material = "Ice" | |
| 5245 | end | |
| 5246 | end | |
| 5247 | for i, v in pairs(m2:GetChildren()) do | |
| 5248 | if v:IsA("Part") then
| |
| 5249 | v.BrickColor = four | |
| 5250 | v.Material = "Ice" | |
| 5251 | end | |
| 5252 | end | |
| 5253 | for i, v in pairs(m3:GetChildren()) do | |
| 5254 | if v:IsA("Part") then
| |
| 5255 | v.BrickColor = five | |
| 5256 | v.Material = "Neon" | |
| 5257 | end | |
| 5258 | end | |
| 5259 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 5260 | if v:IsA("Part") then
| |
| 5261 | v.Transparency = exonetran | |
| 5262 | v.BrickColor = exone | |
| 5263 | v.Material = "Neon" | |
| 5264 | end | |
| 5265 | end | |
| 5266 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 5267 | if v:IsA("Part") then
| |
| 5268 | v.Transparency = extwotran | |
| 5269 | v.BrickColor = extwo | |
| 5270 | v.Material = "Neon" | |
| 5271 | end | |
| 5272 | end | |
| 5273 | end | |
| 5274 | ||
| 5275 | ||
| 5276 | function normalmog() | |
| 5277 | attack = true | |
| 5278 | hum.WalkSpeed = 0 | |
| 5279 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25)
| |
| 5280 | for i = 0,6,0.1 do | |
| 5281 | swait() | |
| 5282 | sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100) | |
| 5283 | slash(math.random(30,60)/10,5,true,"Round","Add","In",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.01,0.5),-0.5,MAINRUINCOLOR) | |
| 5284 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2) | |
| 5285 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2) | |
| 5286 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2) | |
| 5287 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2) | |
| 5288 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) | |
| 5289 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) | |
| 5290 | end | |
| 5291 | CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
| |
| 5292 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
| |
| 5293 | CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
| |
| 5294 | CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
| |
| 5295 | CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
| |
| 5296 | CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
| |
| 5297 | CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
| |
| 5298 | rainbowmode = false | |
| 5299 | chaosmode = false | |
| 5300 | ModeOfGlitch = 1 | |
| 5301 | storehumanoidWS = 16 | |
| 5302 | newTheme("rbxassetid://367339030",48.6,1,1.25)
| |
| 5303 | RecolorTextAndRename("Hopeless Guest",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
| |
| 5304 | CameraEnshaking(5,2.5) | |
| 5305 | MAINRUINCOLOR = BrickColor.new("Really red")
| |
| 5306 | sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 5307 | for i = 0, 49 do | |
| 5308 | PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0) | |
| 5309 | end | |
| 5310 | for i = 0, 24 do | |
| 5311 | sphere2(2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,7,-0.01,MAINRUINCOLOR) | |
| 5312 | slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(150,350)/250,BrickColor.new("White"))
| |
| 5313 | end | |
| 5314 | for i = 0,3,0.1 do | |
| 5315 | sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0) | |
| 5316 | end | |
| 5317 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false) | |
| 5318 | for i = 0,2,0.1 do | |
| 5319 | swait() | |
| 5320 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.5) | |
| 5321 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.5) | |
| 5322 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5) | |
| 5323 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.5) | |
| 5324 | RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.5) | |
| 5325 | LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.5) | |
| 5326 | end | |
| 5327 | hum.WalkSpeed = storehumanoidWS | |
| 5328 | attack = false | |
| 5329 | end | |
| 5330 | ||
| 5331 | function attackone() | |
| 5332 | attack = true | |
| 5333 | local keptcolor = MAINRUINCOLOR | |
| 5334 | for i = 0,1,0.1 do | |
| 5335 | swait() | |
| 5336 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3) | |
| 5337 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3) | |
| 5338 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3) | |
| 5339 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
| 5340 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),.3) | |
| 5341 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0)),.3) | |
| 5342 | end | |
| 5343 | local distlook = 5 | |
| 5344 | coroutine.resume(coroutine.create(function() | |
| 5345 | for i = 0, 4 do | |
| 5346 | swait(2) | |
| 5347 | CameraEnshaking(2,3) | |
| 5348 | local hite = Instance.new("Part", char)
| |
| 5349 | hite.Anchored = true | |
| 5350 | hite.CanCollide = false | |
| 5351 | hite.FormFactor = 3 | |
| 5352 | hite.Name = "Ring" | |
| 5353 | hite.Material = "Neon" | |
| 5354 | hite.Size = Vector3.new(1, 1, 1) | |
| 5355 | hite.Transparency = 1 | |
| 5356 | hite.TopSurface = 0 | |
| 5357 | hite.BottomSurface = 0 | |
| 5358 | hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook) | |
| 5359 | sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0,1,0),0.2,0.001,0.2,keptcolor) | |
| 5360 | sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(8,1,8),-0.045,0.15,-0.045,keptcolor) | |
| 5361 | sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(4,1,4),-0.025,0.25,-0.025,keptcolor) | |
| 5362 | sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(2,1,2),-0.015,0.35,-0.015,keptcolor) | |
| 5363 | MagniDamage(hite, 9, 10,25, 0, "Normal") | |
| 5364 | for i = 0, 14 do | |
| 5365 | local rsiz = math.random(5,20) | |
| 5366 | sphereMK(math.random(1,3),0.25,"Add",hite.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0) | |
| 5367 | end | |
| 5368 | CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1)
| |
| 5369 | CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1)
| |
| 5370 | game:GetService("Debris"):AddItem(hite, 5)
| |
| 5371 | distlook = distlook + 10 | |
| 5372 | end | |
| 5373 | end)) | |
| 5374 | for i = 0,1,0.1 do | |
| 5375 | swait() | |
| 5376 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5) | |
| 5377 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5) | |
| 5378 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5) | |
| 5379 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5) | |
| 5380 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-10)),.5) | |
| 5381 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.5) | |
| 5382 | end | |
| 5383 | attack = false | |
| 5384 | end | |
| 5385 | ||
| 5386 | function attacktwo() | |
| 5387 | attack = true | |
| 5388 | hum.WalkSpeed = 2 | |
| 5389 | local keptcolor = MAINRUINCOLOR | |
| 5390 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
| |
| 5391 | sphere2(5,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color) | |
| 5392 | sphere2(5,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.2,0.2,0.2,keptcolor,keptcolor.Color) | |
| 5393 | for i = 0, 14 do | |
| 5394 | PixelBlock(1,math.random(1,3),"Add",rarm.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,keptcolor,0) | |
| 5395 | end | |
| 5396 | for i = 0,1,0.1 do | |
| 5397 | swait() | |
| 5398 | sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color) | |
| 5399 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.3) | |
| 5400 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.3) | |
| 5401 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3) | |
| 5402 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3) | |
| 5403 | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3) | |
| 5404 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3) | |
| 5405 | end | |
| 5406 | for i = 0, 1 do | |
| 5407 | CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
| |
| 5408 | for i = 0,1,0.6 do | |
| 5409 | swait() | |
| 5410 | sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color) | |
| 5411 | slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
| |
| 5412 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6) | |
| 5413 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6) | |
| 5414 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6) | |
| 5415 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6) | |
| 5416 | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6) | |
| 5417 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6) | |
| 5418 | end | |
| 5419 | for i = 0,1,0.6 do | |
| 5420 | swait() | |
| 5421 | sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color) | |
| 5422 | slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
| |
| 5423 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6) | |
| 5424 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6) | |
| 5425 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6) | |
| 5426 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6) | |
| 5427 | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6) | |
| 5428 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6) | |
| 5429 | end | |
| 5430 | for i = 0,1,0.6 do | |
| 5431 | swait() | |
| 5432 | sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color) | |
| 5433 | slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
| |
| 5434 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6) | |
| 5435 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6) | |
| 5436 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6) | |
| 5437 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6) | |
| 5438 | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6) | |
| 5439 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6) | |
| 5440 | end | |
| 5441 | for i = 0,1,0.6 do | |
| 5442 | swait() | |
| 5443 | sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color) | |
| 5444 | slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
| |
| 5445 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6) | |
| 5446 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6) | |
| 5447 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6) | |
| 5448 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6) | |
| 5449 | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6) | |
| 5450 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6) | |
| 5451 | end | |
| 5452 | local rot = 0 | |
| 5453 | local dis = CreateParta(char,0.5,1,"Neon",keptcolor) | |
| 5454 | CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
| |
| 5455 | dis.CFrame = root.CFrame*CFrame.new(0,2,-3) | |
| 5456 | CreateMesh(dis,"Sphere",10,1,10) | |
| 5457 | local at1 = Instance.new("Attachment",dis)
| |
| 5458 | at1.Position = vt(-5,0,0) | |
| 5459 | local at2 = Instance.new("Attachment",dis)
| |
| 5460 | at2.Position = vt(5,0,0) | |
| 5461 | local trl = Instance.new('Trail',wed)
| |
| 5462 | trl.Attachment0 = at1 | |
| 5463 | trl.Attachment1 = at2 | |
| 5464 | trl.Texture = "rbxassetid://1049219073" | |
| 5465 | trl.LightEmission = 1 | |
| 5466 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 5467 | trl.Color = ColorSequence.new(dis.Color) | |
| 5468 | trl.Lifetime = 0.6 | |
| 5469 | local a = Instance.new("Part",workspace)
| |
| 5470 | a.Name = "Direction" | |
| 5471 | a.Anchored = true | |
| 5472 | a.BrickColor = bc("Bright red")
| |
| 5473 | a.Material = "Neon" | |
| 5474 | a.Transparency = 1 | |
| 5475 | a.CanCollide = false | |
| 5476 | local ray = Ray.new( | |
| 5477 | dis.CFrame.p, -- origin | |
| 5478 | (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction | |
| 5479 | ) | |
| 5480 | local ignore = dis | |
| 5481 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 5482 | a.BottomSurface = 10 | |
| 5483 | a.TopSurface = 10 | |
| 5484 | local distance = (dis.CFrame.p - position).magnitude | |
| 5485 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
| 5486 | a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0) | |
| 5487 | dis.CFrame = a.CFrame | |
| 5488 | dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0) | |
| 5489 | a:Destroy() | |
| 5490 | local bv = Instance.new("BodyVelocity")
| |
| 5491 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 5492 | bv.velocity = dis.CFrame.lookVector*250 | |
| 5493 | bv.Parent = dis | |
| 5494 | game:GetService("Debris"):AddItem(dis, 5)
| |
| 5495 | local hitted = false | |
| 5496 | coroutine.resume(coroutine.create(function() | |
| 5497 | dis.Touched:connect(function(hit) | |
| 5498 | if hitted == false and hit.Parent ~= char then | |
| 5499 | hitted = true | |
| 5500 | CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
| |
| 5501 | MagniDamage(dis, 30, 33,56, 0, "Normal") | |
| 5502 | sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color) | |
| 5503 | sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color) | |
| 5504 | sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color) | |
| 5505 | coroutine.resume(coroutine.create(function() | |
| 5506 | for i = 0, 9 do | |
| 5507 | local disr = CreateParta(char,1,1,"Neon",keptcolor) | |
| 5508 | disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
| 5509 | local at1 = Instance.new("Attachment",disr)
| |
| 5510 | at1.Position = vt(-5,0,0) | |
| 5511 | local at2 = Instance.new("Attachment",disr)
| |
| 5512 | at2.Position = vt(5,0,0) | |
| 5513 | local trl = Instance.new('Trail',disr)
| |
| 5514 | trl.Attachment0 = at1 | |
| 5515 | trl.FaceCamera = true | |
| 5516 | trl.Attachment1 = at2 | |
| 5517 | trl.Texture = "rbxassetid://2342682798" | |
| 5518 | trl.LightEmission = 1 | |
| 5519 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 5520 | trl.Color = ColorSequence.new(keptcolor.Color) | |
| 5521 | trl.Lifetime = 0.5 | |
| 5522 | local bv = Instance.new("BodyVelocity")
| |
| 5523 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 5524 | bv.velocity = disr.CFrame.lookVector*math.random(50,200) | |
| 5525 | bv.Parent = disr | |
| 5526 | local val = 0 | |
| 5527 | coroutine.resume(coroutine.create(function() | |
| 5528 | swait(30) | |
| 5529 | for i = 0, 9 do | |
| 5530 | swait() | |
| 5531 | val = val + 0.1 | |
| 5532 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
| |
| 5533 | end | |
| 5534 | game:GetService("Debris"):AddItem(disr, 3)
| |
| 5535 | end)) | |
| 5536 | end | |
| 5537 | local eff = Instance.new("ParticleEmitter",dis)
| |
| 5538 | eff.Texture = "rbxassetid://2273224484" | |
| 5539 | eff.LightEmission = 1 | |
| 5540 | eff.Color = ColorSequence.new(keptcolor.Color) | |
| 5541 | eff.Rate = 500000 | |
| 5542 | eff.Lifetime = NumberRange.new(0.5,2) | |
| 5543 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 5544 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 5545 | eff.Speed = NumberRange.new(20,250) | |
| 5546 | eff.Drag = 5 | |
| 5547 | eff.Rotation = NumberRange.new(-500,500) | |
| 5548 | eff.VelocitySpread = 9000 | |
| 5549 | eff.RotSpeed = NumberRange.new(-50,50) | |
| 5550 | wait(0.25) | |
| 5551 | eff.Enabled = false | |
| 5552 | end)) | |
| 5553 | for i = 0, 9 do | |
| 5554 | slash(math.random(10,20)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(100,200)/250,BrickColor.new("White"))
| |
| 5555 | end | |
| 5556 | for i = 0, 19 do | |
| 5557 | PixelBlock(1,math.random(5,20),"Add",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,keptcolor,0) | |
| 5558 | end | |
| 5559 | coroutine.resume(coroutine.create(function() | |
| 5560 | for i = 0, 19 do | |
| 5561 | swait() | |
| 5562 | hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70) | |
| 5563 | end | |
| 5564 | hum.CameraOffset = vt(0,0,0) | |
| 5565 | end)) | |
| 5566 | dis.Anchored = true | |
| 5567 | dis.Transparency = 1 | |
| 5568 | wait(8) | |
| 5569 | dis:Destroy() | |
| 5570 | end | |
| 5571 | end) | |
| 5572 | end)) | |
| 5573 | rot = rot - 15 | |
| 5574 | end | |
| 5575 | for i = 0,2,0.1 do | |
| 5576 | swait() | |
| 5577 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-30),math.rad(0)),.3) | |
| 5578 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(5)),.3) | |
| 5579 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3) | |
| 5580 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3) | |
| 5581 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3) | |
| 5582 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3) | |
| 5583 | end | |
| 5584 | attack = false | |
| 5585 | hum.WalkSpeed = storehumanoidWS | |
| 5586 | end | |
| 5587 | ||
| 5588 | function attackthree() | |
| 5589 | attack = true | |
| 5590 | local keptcolor = MAINRUINCOLOR | |
| 5591 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
| |
| 5592 | for i = 0,2,0.1 do | |
| 5593 | swait() | |
| 5594 | sphere2(5,"Add",larm.CFrame*CFrame.new(0,-1.5,0),vt(1,1,1),0.025,0.025,0.025,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
| 5595 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(50)),0.3) | |
| 5596 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3) | |
| 5597 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(10), math.rad(60)), 0.3) | |
| 5598 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-70)), 0.3) | |
| 5599 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-50),math.rad(-10)),.3) | |
| 5600 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(40)),.3) | |
| 5601 | end | |
| 5602 | CFuncs["Sound"].Create("rbxassetid://763716870", root, 3,1)
| |
| 5603 | CFuncs["Sound"].Create("rbxassetid://782353443", root, 5,0.9)
| |
| 5604 | CFuncs["Sound"].Create("rbxassetid://782225570", root, 4,0.5)
| |
| 5605 | CFuncs["Sound"].Create("rbxassetid://763717569", root, 3,1)
| |
| 5606 | sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR) | |
| 5607 | sphere2(5,"Add",root.CFrame,vt(1,1,1),0.5,0.5,0.5,MAINRUINCOLOR) | |
| 5608 | for i = 0, 24 do | |
| 5609 | slash(math.random(10,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),math.rad(0)),vt(0.01,0.01,0.01),math.random(50,200)/250,BrickColor.new("White"))
| |
| 5610 | end | |
| 5611 | for i = 0,4,0.1 do | |
| 5612 | swait() | |
| 5613 | root.CFrame = root.CFrame + root.CFrame.lookVector*5 | |
| 5614 | local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR) | |
| 5615 | CreateMesh(dis,"Sphere",1,1,1) | |
| 5616 | dis.Anchored = true | |
| 5617 | dis.CFrame = larm.CFrame*CFrame.new(0,-3,0) | |
| 5618 | sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color) | |
| 5619 | coroutine.resume(coroutine.create(function() | |
| 5620 | swait(30) | |
| 5621 | dis.Transparency = 1 | |
| 5622 | coroutine.resume(coroutine.create(function() | |
| 5623 | for i = 0, 19 do | |
| 5624 | swait() | |
| 5625 | hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40) | |
| 5626 | end | |
| 5627 | hum.CameraOffset = vt(0,0,0) | |
| 5628 | end)) | |
| 5629 | coroutine.resume(coroutine.create(function() | |
| 5630 | local eff = Instance.new("ParticleEmitter",dis)
| |
| 5631 | eff.Texture = "rbxassetid://2273224484" | |
| 5632 | eff.LightEmission = 1 | |
| 5633 | eff.Color = ColorSequence.new(dis.Color) | |
| 5634 | eff.Rate = 500000 | |
| 5635 | eff.Lifetime = NumberRange.new(0.5,2) | |
| 5636 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 5637 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 5638 | eff.Speed = NumberRange.new(50,450) | |
| 5639 | eff.Drag = 5 | |
| 5640 | eff.Rotation = NumberRange.new(-500,500) | |
| 5641 | eff.VelocitySpread = 9000 | |
| 5642 | eff.RotSpeed = NumberRange.new(-50,50) | |
| 5643 | wait(0.125) | |
| 5644 | eff.Enabled = false | |
| 5645 | end)) | |
| 5646 | MagniDamage(dis, 30, 45,50, 0, "Normal") | |
| 5647 | for i = 0, 2 do | |
| 5648 | slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(50,150)/250,dis.BrickColor) | |
| 5649 | end | |
| 5650 | CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,1)
| |
| 5651 | CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.5)
| |
| 5652 | CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.65)
| |
| 5653 | sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.4,0.4,0.4,dis.BrickColor,dis.Color) | |
| 5654 | end)) | |
| 5655 | game:GetService("Debris"):AddItem(dis, 5)
| |
| 5656 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(89),math.rad(-8),math.rad(-5)),0.5) | |
| 5657 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-30),math.rad(0),math.rad(8)),.5) | |
| 5658 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-14), math.rad(1), math.rad(17)), 0.5) | |
| 5659 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.85, 0) * angles(math.rad(180), math.rad(0), math.rad(-8)), 0.5) | |
| 5660 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-8),math.rad(0),math.rad(-20)),.5) | |
| 5661 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(9),math.rad(0),math.rad(20)),.5) | |
| 5662 | end | |
| 5663 | attack = false | |
| 5664 | end | |
| 5665 | ----------------------------------- Abilities | |
| 5666 | ||
| 5667 | function ExtinctiveHeartbreak() | |
| 5668 | local targetted = nil | |
| 5669 | if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
| |
| 5670 | targetted = mouse.Target.Parent | |
| 5671 | end | |
| 5672 | if targetted ~= nil then | |
| 5673 | attack = true | |
| 5674 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
| |
| 5675 | for i = 0, 9 do | |
| 5676 | sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
| |
| 5677 | end | |
| 5678 | for i = 0, 24 do | |
| 5679 | PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
| |
| 5680 | end | |
| 5681 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
| |
| 5682 | local originalpos = root.CFrame | |
| 5683 | RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2) | |
| 5684 | for i = 0, 9 do | |
| 5685 | sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
| |
| 5686 | end | |
| 5687 | for i = 0, 24 do | |
| 5688 | PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
| |
| 5689 | end | |
| 5690 | hum.WalkSpeed = 0 | |
| 5691 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
| |
| 5692 | local radm = math.random(1,3) | |
| 5693 | if radm == 1 then | |
| 5694 | bosschatfunc("YOU WONT BE NECCESSARY.",MAINRUINCOLOR.Color,2)
| |
| 5695 | elseif radm == 2 then | |
| 5696 | bosschatfunc("YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,2)
| |
| 5697 | elseif radm == 3 then | |
| 5698 | bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
| |
| 5699 | end | |
| 5700 | for i = 0,2,0.1 do | |
| 5701 | swait() | |
| 5702 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-10),math.rad(0)),.4) | |
| 5703 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.4) | |
| 5704 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(80)),.4) | |
| 5705 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8) | |
| 5706 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.4) | |
| 5707 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(60)),.4) | |
| 5708 | end | |
| 5709 | CFuncs["Sound"].Create("rbxassetid://153092227", root, 0.5,1)
| |
| 5710 | CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 2, 1,0,10,0.25,0.5,1)
| |
| 5711 | for i = 0,2,0.1 do | |
| 5712 | swait() | |
| 5713 | coroutine.resume(coroutine.create(function() | |
| 5714 | targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0) | |
| 5715 | for i,v in pairs(targetted:GetChildren()) do | |
| 5716 | if v:IsA("Part") or v:IsA("MeshPart") then
| |
| 5717 | v.Velocity = vt(0,0,0) | |
| 5718 | end | |
| 5719 | end | |
| 5720 | end)) | |
| 5721 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8) | |
| 5722 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.8) | |
| 5723 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-80)),.8) | |
| 5724 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8) | |
| 5725 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.8) | |
| 5726 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(-80)),.8) | |
| 5727 | end | |
| 5728 | CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 0.5, 1,0,10,0.25,0.5,1)
| |
| 5729 | CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 0.5, 0.9,0,10,0.25,0.5,1)
| |
| 5730 | for i = 0, 1 do | |
| 5731 | CFuncs["EchoSound"].Create("rbxassetid://159882598", char, 2, 1,0.1,10,0.15,0.5,1)
| |
| 5732 | end | |
| 5733 | CFuncs["EchoSound"].Create("rbxassetid://159882598", root, 15, 1,0.1,10,0.15,0.5,1)
| |
| 5734 | --chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
| |
| 5735 | for i = 0,4,0.1 do | |
| 5736 | swait() | |
| 5737 | coroutine.resume(coroutine.create(function() | |
| 5738 | local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) | |
| 5739 | dis.CFrame = targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
| 5740 | local at1 = Instance.new("Attachment",dis)
| |
| 5741 | at1.Position = vt(-25000,0,0) | |
| 5742 | local at2 = Instance.new("Attachment",dis)
| |
| 5743 | at2.Position = vt(25000,0,0) | |
| 5744 | local trl = Instance.new('Trail',dis)
| |
| 5745 | trl.Attachment0 = at1 | |
| 5746 | trl.FaceCamera = true | |
| 5747 | trl.Attachment1 = at2 | |
| 5748 | trl.Texture = "rbxassetid://1049219073" | |
| 5749 | trl.LightEmission = 1 | |
| 5750 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 5751 | trl.Color = ColorSequence.new(Color3.new(1,0,0)) | |
| 5752 | trl.Lifetime = 5 | |
| 5753 | local bv = Instance.new("BodyVelocity")
| |
| 5754 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 5755 | bv.velocity = dis.CFrame.lookVector*math.random(500,2500) | |
| 5756 | bv.Parent = dis | |
| 5757 | game:GetService("Debris"):AddItem(dis, 5)
| |
| 5758 | targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0) | |
| 5759 | CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
| |
| 5760 | CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
| |
| 5761 | CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
| |
| 5762 | CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
| |
| 5763 | CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
| |
| 5764 | sphere2(5,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(3,3,3),-0.03,15,-0.03,MAINRUINCOLOR) | |
| 5765 | targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
| |
| 5766 | for i = 0, 2 do | |
| 5767 | slash(5,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(50,350)/250,BrickColor.new("Crimson"))
| |
| 5768 | end | |
| 5769 | symbolizeBlink(targetted.Head,0,2092248396,Color3.new(1,0,0),math.random(3,35),0,0,0,targetted.Head,true,math.random(3,9),0.25) | |
| 5770 | for i,v in pairs(targetted:GetChildren()) do | |
| 5771 | if v:IsA("Part") or v:IsA("MeshPart") then
| |
| 5772 | v.Velocity = vt(0,0,0) | |
| 5773 | end | |
| 5774 | end | |
| 5775 | end)) | |
| 5776 | hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25) | |
| 5777 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8) | |
| 5778 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.8) | |
| 5779 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-80)),.8) | |
| 5780 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8) | |
| 5781 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(40)),.8) | |
| 5782 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(170),math.rad(0),math.rad(-30)),.8) | |
| 5783 | end | |
| 5784 | hum.CameraOffset = vt(0,0,0) | |
| 5785 | for i = 0, 49 do | |
| 5786 | local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) | |
| 5787 | dis.CFrame = targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
| 5788 | local at1 = Instance.new("Attachment",dis)
| |
| 5789 | at1.Position = vt(-50000,0,0) | |
| 5790 | local at2 = Instance.new("Attachment",dis)
| |
| 5791 | at2.Position = vt(50000,0,0) | |
| 5792 | local trl = Instance.new('Trail',dis)
| |
| 5793 | trl.Attachment0 = at1 | |
| 5794 | trl.FaceCamera = true | |
| 5795 | trl.Attachment1 = at2 | |
| 5796 | trl.Texture = "rbxassetid://1049219073" | |
| 5797 | trl.LightEmission = 1 | |
| 5798 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 5799 | trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1)) | |
| 5800 | trl.Lifetime = 5 | |
| 5801 | local bv = Instance.new("BodyVelocity")
| |
| 5802 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 5803 | bv.velocity = dis.CFrame.lookVector*math.random(500,2500) | |
| 5804 | bv.Parent = dis | |
| 5805 | game:GetService("Debris"):AddItem(dis, 5)
| |
| 5806 | end | |
| 5807 | for i = 0, 49 do | |
| 5808 | sphere2(math.random(10,75)/10,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,5,5),-0.05,50,-0.05,MAINRUINCOLOR) | |
| 5809 | slash(math.random(10,30)/15,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(40,500)/250,BrickColor.new("Really red"))
| |
| 5810 | end | |
| 5811 | CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
| |
| 5812 | for i = 0, 1 do | |
| 5813 | CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
| |
| 5814 | CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
| |
| 5815 | end | |
| 5816 | for i = 0, 4 do | |
| 5817 | CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
| |
| 5818 | end | |
| 5819 | symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1) | |
| 5820 | symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2) | |
| 5821 | symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4) | |
| 5822 | dmg(targetted) | |
| 5823 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
| |
| 5824 | for i = 0, 9 do | |
| 5825 | sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
| |
| 5826 | end | |
| 5827 | for i = 0, 24 do | |
| 5828 | PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
| |
| 5829 | end | |
| 5830 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
| |
| 5831 | root.CFrame = originalpos | |
| 5832 | for i = 0, 9 do | |
| 5833 | sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
| |
| 5834 | end | |
| 5835 | for i = 0, 24 do | |
| 5836 | PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
| |
| 5837 | end | |
| 5838 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
| |
| 5839 | attack = false | |
| 5840 | hum.WalkSpeed = storehumanoidWS | |
| 5841 | end | |
| 5842 | end | |
| 5843 | ||
| 5844 | function CorruptionEvent() | |
| 5845 | attack = true | |
| 5846 | hum.WalkSpeed = 0 | |
| 5847 | CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
| |
| 5848 | CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
| |
| 5849 | local keptcolor = MAINRUINCOLOR | |
| 5850 | for i = 0,4,0.1 do | |
| 5851 | swait() | |
| 5852 | hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100) | |
| 5853 | block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
| 5854 | RH.C0=clerp(RH.C0,cf(1,-0.15,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5),math.rad(-20)),.1) | |
| 5855 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.1) | |
| 5856 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1) | |
| 5857 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1) | |
| 5858 | RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1) | |
| 5859 | LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1) | |
| 5860 | end | |
| 5861 | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1) | |
| 5862 | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5) | |
| 5863 | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3) | |
| 5864 | CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
| |
| 5865 | CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
| |
| 5866 | CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
| |
| 5867 | CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
| |
| 5868 | CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
| |
| 5869 | hum.CameraOffset = vt(0,0,0) | |
| 5870 | sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
| 5871 | sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
| 5872 | for i = 0, 24 do | |
| 5873 | slash(math.random(15,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(200,500)/250,BrickColor.new("Really black"))
| |
| 5874 | end | |
| 5875 | local rrot = 0 | |
| 5876 | coroutine.resume(coroutine.create(function() | |
| 5877 | for i = 0, 4 do | |
| 5878 | rrot = rrot + 45 | |
| 5879 | local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) | |
| 5880 | xa.Anchored = true | |
| 5881 | local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) | |
| 5882 | xb.Anchored = true | |
| 5883 | local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) | |
| 5884 | xc.Anchored = true | |
| 5885 | local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) | |
| 5886 | xd.Anchored = true | |
| 5887 | CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
| |
| 5888 | CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
| |
| 5889 | CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
| |
| 5890 | CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
| |
| 5891 | CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
| |
| 5892 | CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
| |
| 5893 | CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
| |
| 5894 | CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
| |
| 5895 | CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
| |
| 5896 | CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
| |
| 5897 | CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
| |
| 5898 | CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
| |
| 5899 | xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75) | |
| 5900 | xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75) | |
| 5901 | xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0) | |
| 5902 | xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0) | |
| 5903 | MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal") | |
| 5904 | MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal") | |
| 5905 | MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal") | |
| 5906 | MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal") | |
| 5907 | for i = 0, 9 do | |
| 5908 | slash(math.random(15,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black"))
| |
| 5909 | slash(math.random(15,50)/10,5,true,"Round","Add","Out",xb.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black"))
| |
| 5910 | slash(math.random(15,50)/10,5,true,"Round","Add","Out",xc.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black"))
| |
| 5911 | slash(math.random(15,50)/10,5,true,"Round","Add","Out",xd.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black"))
| |
| 5912 | end | |
| 5913 | block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color) | |
| 5914 | block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color) | |
| 5915 | block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color) | |
| 5916 | block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color) | |
| 5917 | sphere2(2,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color) | |
| 5918 | sphere2(2,"Add",xb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color) | |
| 5919 | sphere2(2,"Add",xc.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color) | |
| 5920 | sphere2(2,"Add",xd.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color) | |
| 5921 | sphere2(4,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
| |
| 5922 | sphere2(4,"Add",xb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
| |
| 5923 | sphere2(4,"Add",xc.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
| |
| 5924 | sphere2(4,"Add",xd.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
| |
| 5925 | game:GetService("Debris"):AddItem(xa, 5)
| |
| 5926 | game:GetService("Debris"):AddItem(xb, 5)
| |
| 5927 | game:GetService("Debris"):AddItem(xc, 5)
| |
| 5928 | game:GetService("Debris"):AddItem(xd, 5)
| |
| 5929 | coroutine.resume(coroutine.create(function() | |
| 5930 | for i = 0, 19 do | |
| 5931 | swait() | |
| 5932 | hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50) | |
| 5933 | end | |
| 5934 | hum.CameraOffset = vt(0,0,0) | |
| 5935 | end)) | |
| 5936 | swait(9) | |
| 5937 | end | |
| 5938 | end)) | |
| 5939 | for i = 0,2,0.1 do | |
| 5940 | swait() | |
| 5941 | RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(10)),.8) | |
| 5942 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(10)),.8) | |
| 5943 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8) | |
| 5944 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8) | |
| 5945 | RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8) | |
| 5946 | LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8) | |
| 5947 | end | |
| 5948 | attack = false | |
| 5949 | hum.WalkSpeed = storehumanoidWS | |
| 5950 | end | |
| 5951 | ||
| 5952 | function EndGROUND() | |
| 5953 | attack = true | |
| 5954 | hum.WalkSpeed = 0 | |
| 5955 | bosschatfunc("THIS IS IT!",MAINRUINCOLOR.Color,1)
| |
| 5956 | --CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
| |
| 5957 | CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
| |
| 5958 | CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
| |
| 5959 | CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
| |
| 5960 | local keptcolor = MAINRUINCOLOR | |
| 5961 | for i = 0,4,0.1 do | |
| 5962 | swait() | |
| 5963 | hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100) | |
| 5964 | block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
| 5965 | slash(math.random(25,50)/10,5,true,"Round","Add","Out",rarm.CFrame*CFrame.new(0,-6,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.01,0.1),-0.1,BrickColor.new("Really black"))
| |
| 5966 | RH.C0=clerp(RH.C0,cf(1,-0.15,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-15),math.rad(-20)),.1) | |
| 5967 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.1) | |
| 5968 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1) | |
| 5969 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1) | |
| 5970 | RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1) | |
| 5971 | LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1) | |
| 5972 | end | |
| 5973 | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1) | |
| 5974 | CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
| |
| 5975 | CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
| |
| 5976 | CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
| |
| 5977 | CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
| |
| 5978 | CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
| |
| 5979 | coroutine.resume(coroutine.create(function() | |
| 5980 | local shval = 10 | |
| 5981 | for i = 0, 99 do | |
| 5982 | swait() | |
| 5983 | shval = shval - 0.1 | |
| 5984 | hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15) | |
| 5985 | end | |
| 5986 | hum.CameraOffset = vt(0,0,0) | |
| 5987 | end)) | |
| 5988 | sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
| 5989 | sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
| 5990 | for i = 0, 24 do | |
| 5991 | slash(math.random(15,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(200,500)/250,BrickColor.new("Really black"))
| |
| 5992 | end | |
| 5993 | local rrot = 0 | |
| 5994 | local xam = 1 | |
| 5995 | coroutine.resume(coroutine.create(function() | |
| 5996 | for i = 0, 14 do | |
| 5997 | --swait() | |
| 5998 | rrot = rrot + 40*xam | |
| 5999 | xam = xam + 0.25 | |
| 6000 | local bonus = xam | |
| 6001 | local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random()) | |
| 6002 | xa.Anchored = true | |
| 6003 | xa.Color = Color3.new(0,0,0) | |
| 6004 | xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75) | |
| 6005 | CreateMesh(xa,"Sphere",30*bonus,1,30*bonus) | |
| 6006 | local xc = 0 | |
| 6007 | coroutine.resume(coroutine.create(function() | |
| 6008 | for i = 0, 99 do | |
| 6009 | swait() | |
| 6010 | xc = xc + 0.01 | |
| 6011 | xa.Color = Color3.new(xc,0,0) | |
| 6012 | end | |
| 6013 | xa.Transparency = 1 | |
| 6014 | CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
| |
| 6015 | MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal") | |
| 6016 | for i = 0, 9 do | |
| 6017 | slash(math.random(15,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01*bonus,0.01,0.01*bonus),math.random(50,125)/250*bonus,BrickColor.new("Really black"))
| |
| 6018 | end | |
| 6019 | block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30*bonus,30*bonus,30*bonus),0.3,0.3,0.3,keptcolor,keptcolor.Color) | |
| 6020 | sphere2(2,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25*bonus,1,25*bonus),0.05*bonus,1.5*bonus,0.05*bonus,keptcolor,keptcolor.Color) | |
| 6021 | sphere2(4,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30*bonus,1,30*bonus),0.05*bonus,1.5*bonus,0.05*bonus,BrickColor.new("Really black"),Color3.new(0,0,0))
| |
| 6022 | game:GetService("Debris"):AddItem(xa, 5)
| |
| 6023 | coroutine.resume(coroutine.create(function() | |
| 6024 | for i = 0, 19 do | |
| 6025 | swait() | |
| 6026 | hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50) | |
| 6027 | end | |
| 6028 | hum.CameraOffset = vt(0,0,0) | |
| 6029 | end)) | |
| 6030 | end)) | |
| 6031 | end | |
| 6032 | end)) | |
| 6033 | for i = 0,2,0.1 do | |
| 6034 | swait() | |
| 6035 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-25),math.rad(30)),.8) | |
| 6036 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.8) | |
| 6037 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8) | |
| 6038 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8) | |
| 6039 | RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8) | |
| 6040 | LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8) | |
| 6041 | end | |
| 6042 | attack = false | |
| 6043 | hum.WalkSpeed = storehumanoidWS | |
| 6044 | end | |
| 6045 | ||
| 6046 | function HeavenlyDisk() | |
| 6047 | attack = true | |
| 6048 | hum.WalkSpeed = 2 | |
| 6049 | local keptcolor = MAINRUINCOLOR | |
| 6050 | local radm = math.random(1,3) | |
| 6051 | if radm == 1 then | |
| 6052 | bosschatfunc("Dont make this too easy for you.",MAINRUINCOLOR.Color,1)
| |
| 6053 | elseif radm == 2 then | |
| 6054 | bosschatfunc("Heavenly Disks!",MAINRUINCOLOR.Color,1)
| |
| 6055 | elseif radm == 3 then | |
| 6056 | bosschatfunc("Take it!",MAINRUINCOLOR.Color,1)
| |
| 6057 | end | |
| 6058 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
| |
| 6059 | CFuncs["EchoSound"].Create("rbxassetid://1625448638", char, 4, 1,0,10,0.15,0.5,1)
| |
| 6060 | sphere2(5,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color) | |
| 6061 | sphere2(5,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.2,0.2,0.2,keptcolor,keptcolor.Color) | |
| 6062 | for i = 0, 14 do | |
| 6063 | PixelBlock(1,math.random(1,3),"Add",larm.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,BrickColor.new("Toothpaste"),0)
| |
| 6064 | end | |
| 6065 | for i = 0,2,0.1 do | |
| 6066 | swait() | |
| 6067 | sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color) | |
| 6068 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.3) | |
| 6069 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.3) | |
| 6070 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3) | |
| 6071 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3) | |
| 6072 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3) | |
| 6073 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3) | |
| 6074 | end | |
| 6075 | CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
| |
| 6076 | for i = 0,1,0.6 do | |
| 6077 | swait() | |
| 6078 | sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color) | |
| 6079 | slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
| |
| 6080 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6) | |
| 6081 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6) | |
| 6082 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6) | |
| 6083 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6) | |
| 6084 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6) | |
| 6085 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6) | |
| 6086 | end | |
| 6087 | for i = 0,1,0.6 do | |
| 6088 | swait() | |
| 6089 | sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color) | |
| 6090 | slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
| |
| 6091 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6) | |
| 6092 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6) | |
| 6093 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6) | |
| 6094 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6) | |
| 6095 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6) | |
| 6096 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6) | |
| 6097 | end | |
| 6098 | for i = 0,1,0.6 do | |
| 6099 | swait() | |
| 6100 | sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color) | |
| 6101 | slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
| |
| 6102 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6) | |
| 6103 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6) | |
| 6104 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6) | |
| 6105 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6) | |
| 6106 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6) | |
| 6107 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6) | |
| 6108 | end | |
| 6109 | for i = 0,1,0.6 do | |
| 6110 | swait() | |
| 6111 | sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color) | |
| 6112 | slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
| |
| 6113 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6) | |
| 6114 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6) | |
| 6115 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6) | |
| 6116 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6) | |
| 6117 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6) | |
| 6118 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6) | |
| 6119 | end | |
| 6120 | local rot = 15 | |
| 6121 | for i = 0, 2 do | |
| 6122 | local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Toothpaste"))
| |
| 6123 | CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
| |
| 6124 | dis.CFrame = root.CFrame*CFrame.new(0,2,-3) | |
| 6125 | CreateMesh(dis,"Sphere",10,1,10) | |
| 6126 | local at1 = Instance.new("Attachment",dis)
| |
| 6127 | at1.Position = vt(-5,0,0) | |
| 6128 | local at2 = Instance.new("Attachment",dis)
| |
| 6129 | at2.Position = vt(5,0,0) | |
| 6130 | local trl = Instance.new('Trail',wed)
| |
| 6131 | trl.Attachment0 = at1 | |
| 6132 | trl.Attachment1 = at2 | |
| 6133 | trl.Texture = "rbxassetid://1049219073" | |
| 6134 | trl.LightEmission = 1 | |
| 6135 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 6136 | trl.Color = ColorSequence.new(dis.Color) | |
| 6137 | trl.Lifetime = 0.6 | |
| 6138 | local a = Instance.new("Part",workspace)
| |
| 6139 | a.Name = "Direction" | |
| 6140 | a.Anchored = true | |
| 6141 | a.BrickColor = bc("Bright red")
| |
| 6142 | a.Material = "Neon" | |
| 6143 | a.Transparency = 1 | |
| 6144 | a.CanCollide = false | |
| 6145 | local ray = Ray.new( | |
| 6146 | dis.CFrame.p, -- origin | |
| 6147 | (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction | |
| 6148 | ) | |
| 6149 | local ignore = dis | |
| 6150 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 6151 | a.BottomSurface = 10 | |
| 6152 | a.TopSurface = 10 | |
| 6153 | local distance = (dis.CFrame.p - position).magnitude | |
| 6154 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
| 6155 | a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0) | |
| 6156 | dis.CFrame = a.CFrame | |
| 6157 | dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0) | |
| 6158 | a:Destroy() | |
| 6159 | local bv = Instance.new("BodyVelocity")
| |
| 6160 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 6161 | bv.velocity = dis.CFrame.lookVector*250 | |
| 6162 | bv.Parent = dis | |
| 6163 | game:GetService("Debris"):AddItem(dis, 5)
| |
| 6164 | local hitted = false | |
| 6165 | coroutine.resume(coroutine.create(function() | |
| 6166 | dis.Touched:connect(function(hit) | |
| 6167 | if hitted == false and hit.Parent ~= char then | |
| 6168 | hitted = true | |
| 6169 | CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
| |
| 6170 | MagniDamage(dis, 30, 82,34575, 0, "Normal") | |
| 6171 | sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color) | |
| 6172 | sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color) | |
| 6173 | sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
| |
| 6174 | coroutine.resume(coroutine.create(function() | |
| 6175 | for i = 0, 9 do | |
| 6176 | local disr = CreateParta(char,1,1,"Neon",keptcolor) | |
| 6177 | disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
| 6178 | local at1 = Instance.new("Attachment",disr)
| |
| 6179 | at1.Position = vt(-2,0,0) | |
| 6180 | local at2 = Instance.new("Attachment",disr)
| |
| 6181 | at2.Position = vt(2,0,0) | |
| 6182 | local trl = Instance.new('Trail',disr)
| |
| 6183 | trl.Attachment0 = at1 | |
| 6184 | trl.FaceCamera = true | |
| 6185 | trl.Attachment1 = at2 | |
| 6186 | trl.Texture = "rbxassetid://2342682798" | |
| 6187 | trl.LightEmission = 1 | |
| 6188 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 6189 | trl.Color = ColorSequence.new(Color3.new(0.3,1,1)) | |
| 6190 | trl.Lifetime = 0.5 | |
| 6191 | local bv = Instance.new("BodyVelocity")
| |
| 6192 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 6193 | bv.velocity = disr.CFrame.lookVector*math.random(50,200) | |
| 6194 | bv.Parent = disr | |
| 6195 | local val = 0 | |
| 6196 | coroutine.resume(coroutine.create(function() | |
| 6197 | swait(30) | |
| 6198 | for i = 0, 9 do | |
| 6199 | swait() | |
| 6200 | val = val + 0.1 | |
| 6201 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
| |
| 6202 | end | |
| 6203 | game:GetService("Debris"):AddItem(disr, 3)
| |
| 6204 | end)) | |
| 6205 | end | |
| 6206 | local eff = Instance.new("ParticleEmitter",dis)
| |
| 6207 | eff.Texture = "rbxassetid://2273224484" | |
| 6208 | eff.LightEmission = 1 | |
| 6209 | eff.Color = ColorSequence.new(Color3.new(0.3,1,1)) | |
| 6210 | eff.Rate = 500000 | |
| 6211 | eff.Lifetime = NumberRange.new(0.5,2) | |
| 6212 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 6213 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 6214 | eff.Speed = NumberRange.new(20,250) | |
| 6215 | eff.Drag = 5 | |
| 6216 | eff.Rotation = NumberRange.new(-500,500) | |
| 6217 | eff.VelocitySpread = 9000 | |
| 6218 | eff.RotSpeed = NumberRange.new(-50,50) | |
| 6219 | wait(0.25) | |
| 6220 | eff.Enabled = false | |
| 6221 | end)) | |
| 6222 | for i = 0, 9 do | |
| 6223 | slash(math.random(10,20)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(100,200)/250,BrickColor.new("White"))
| |
| 6224 | end | |
| 6225 | for i = 0, 19 do | |
| 6226 | PixelBlock(1,math.random(5,20),"Add",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Toothpaste"),0)
| |
| 6227 | end | |
| 6228 | coroutine.resume(coroutine.create(function() | |
| 6229 | for i = 0, 19 do | |
| 6230 | swait() | |
| 6231 | hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70) | |
| 6232 | end | |
| 6233 | hum.CameraOffset = vt(0,0,0) | |
| 6234 | end)) | |
| 6235 | dis.Anchored = true | |
| 6236 | dis.Transparency = 1 | |
| 6237 | wait(8) | |
| 6238 | dis:Destroy() | |
| 6239 | end | |
| 6240 | end) | |
| 6241 | end)) | |
| 6242 | rot = rot - 15 | |
| 6243 | end | |
| 6244 | for i = 0,2,0.1 do | |
| 6245 | swait() | |
| 6246 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-30),math.rad(0)),.3) | |
| 6247 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(5)),.3) | |
| 6248 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3) | |
| 6249 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3) | |
| 6250 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3) | |
| 6251 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3) | |
| 6252 | end | |
| 6253 | attack = false | |
| 6254 | hum.WalkSpeed = storehumanoidWS | |
| 6255 | end | |
| 6256 | ||
| 6257 | ||
| 6258 | function RapidBurst() | |
| 6259 | attack = true | |
| 6260 | hum.WalkSpeed = 0 | |
| 6261 | CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
| |
| 6262 | CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5)
| |
| 6263 | CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1)
| |
| 6264 | bosschatfunc("SHATTER, YOU PIECE OF TRASH!",MAINRUINCOLOR.Color,1.8)
| |
| 6265 | bosschatfunc("SHATTER, YOU PIECE OF TRASH!",MAINRUINCOLOR.Color,1.9)
| |
| 6266 | bosschatfunc("SHATTER, YOU PIECE OF TRASH!",MAINRUINCOLOR.Color,2)
| |
| 6267 | local keptcolor = MAINRUINCOLOR | |
| 6268 | for i = 0,8,0.1 do | |
| 6269 | swait() | |
| 6270 | hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100) | |
| 6271 | slash(math.random(25,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,25,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,0.01,2),-2,BrickColor.random()) | |
| 6272 | block(10,"Add",root.CFrame*CFrame.new(0,25,0),vt(0,0,0),0.5,0.5,0.5,BrickColor.random(),BrickColor.random().Color) | |
| 6273 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-15 - 2 * math.cos(sine / 32))),.1) | |
| 6274 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(15 + 2 * math.cos(sine / 32))),.1) | |
| 6275 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.15 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(-15 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1) | |
| 6276 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1) | |
| 6277 | RW.C0=clerp(RW.C0,cf(1.35,1 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-10 + 3 * math.cos(sine / 45))),.1) | |
| 6278 | LW.C0=clerp(LW.C0,cf(-1.35,1 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(13 - 3 * math.cos(sine / 45))),.1) | |
| 6279 | end | |
| 6280 | for i = 0, 99 do | |
| 6281 | local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) | |
| 6282 | dis.CFrame = root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
| 6283 | local at1 = Instance.new("Attachment",dis)
| |
| 6284 | at1.Position = vt(-25000,0,0) | |
| 6285 | local at2 = Instance.new("Attachment",dis)
| |
| 6286 | at2.Position = vt(25000,0,0) | |
| 6287 | local trl = Instance.new('Trail',dis)
| |
| 6288 | trl.Attachment0 = at1 | |
| 6289 | trl.FaceCamera = true | |
| 6290 | trl.Attachment1 = at2 | |
| 6291 | trl.Texture = "rbxassetid://1049219073" | |
| 6292 | trl.LightEmission = 1 | |
| 6293 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 6294 | trl.Color = ColorSequence.new(BrickColor.random().Color) | |
| 6295 | trl.Lifetime = 5 | |
| 6296 | local bv = Instance.new("BodyVelocity")
| |
| 6297 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 6298 | bv.velocity = dis.CFrame.lookVector*math.random(500,2500) | |
| 6299 | bv.Parent = dis | |
| 6300 | game:GetService("Debris"):AddItem(dis, 5)
| |
| 6301 | end | |
| 6302 | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1) | |
| 6303 | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5) | |
| 6304 | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3) | |
| 6305 | sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color) | |
| 6306 | sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color) | |
| 6307 | sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color) | |
| 6308 | sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color) | |
| 6309 | CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
| |
| 6310 | CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
| |
| 6311 | CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
| |
| 6312 | hum.CameraOffset = vt(0,0,0) | |
| 6313 | for i = 0, 24 do | |
| 6314 | slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(500,1500)/250,BrickColor.random()) | |
| 6315 | end | |
| 6316 | local distam = 0 | |
| 6317 | coroutine.resume(coroutine.create(function() | |
| 6318 | for i = 0, 99 do | |
| 6319 | wait() | |
| 6320 | distam = distam + 1 | |
| 6321 | local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) | |
| 6322 | xa.Anchored = true | |
| 6323 | xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam)) | |
| 6324 | game:GetService("Debris"):AddItem(xa, 5)
| |
| 6325 | for i = 0, 4 do | |
| 6326 | slash(math.random(25,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(200,500)/250,BrickColor.random()) | |
| 6327 | end | |
| 6328 | coroutine.resume(coroutine.create(function() | |
| 6329 | local eff = Instance.new("ParticleEmitter",xa)
| |
| 6330 | eff.Texture = "rbxassetid://2273224484" | |
| 6331 | eff.LightEmission = 1 | |
| 6332 | eff.Color = ColorSequence.new(BrickColor.random().Color) | |
| 6333 | eff.Rate = 500000 | |
| 6334 | eff.Lifetime = NumberRange.new(1,3) | |
| 6335 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(0.2,5,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 6336 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 6337 | eff.Speed = NumberRange.new(50,500) | |
| 6338 | eff.Drag = 5 | |
| 6339 | eff.Rotation = NumberRange.new(-500,500) | |
| 6340 | eff.VelocitySpread = 9000 | |
| 6341 | eff.RotSpeed = NumberRange.new(-50,50) | |
| 6342 | wait(0.25) | |
| 6343 | eff.Enabled = false | |
| 6344 | end)) | |
| 6345 | coroutine.resume(coroutine.create(function() | |
| 6346 | for i = 0, 19 do | |
| 6347 | swait() | |
| 6348 | hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10) | |
| 6349 | end | |
| 6350 | hum.CameraOffset = vt(0,0,0) | |
| 6351 | end)) | |
| 6352 | CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
| |
| 6353 | sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color) | |
| 6354 | sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color) | |
| 6355 | MagniDamage(xa, 60, 9999,99999, 0, "Normal") | |
| 6356 | end | |
| 6357 | end)) | |
| 6358 | attack = false | |
| 6359 | hum.WalkSpeed = storehumanoidWS | |
| 6360 | end | |
| 6361 | ||
| 6362 | function InsaneDrop() | |
| 6363 | attack = true | |
| 6364 | hum.WalkSpeed = 0 | |
| 6365 | CFuncs["Sound"].Create("rbxassetid://907329669", char, 2.5, 0.5)
| |
| 6366 | CFuncs["Sound"].Create("rbxassetid://907329669", root, 10, 0.5)
| |
| 6367 | CFuncs["EchoSound"].Create("rbxassetid://907329669", char, 4, 1,0,10,0.15,0.5,1)
| |
| 6368 | bosschatfunc("LEAVE THE DEATH WHERE THEY FALL!",MAINRUINCOLOR.Color,1.8)
| |
| 6369 | bosschatfunc("LEAVE THE DEATH WHERE THEY FALL!",MAINRUINCOLOR.Color,1.9)
| |
| 6370 | bosschatfunc("LEAVE THE DEATH WHERE THEY FALL!",MAINRUINCOLOR.Color,2)
| |
| 6371 | local keptcolor = MAINRUINCOLOR | |
| 6372 | for i = 0,8,0.1 do | |
| 6373 | swait() | |
| 6374 | hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100) | |
| 6375 | slash(math.random(25,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,25,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,0.01,2),-2,BrickColor.random()) | |
| 6376 | block(10,"Add",root.CFrame*CFrame.new(0,25,0),vt(0,0,0),0.5,0.5,0.5,BrickColor.random(),BrickColor.random().Color) | |
| 6377 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-15 - 2 * math.cos(sine / 32))),.1) | |
| 6378 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(15 + 2 * math.cos(sine / 32))),.1) | |
| 6379 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.15 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(-15 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1) | |
| 6380 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1) | |
| 6381 | RW.C0=clerp(RW.C0,cf(1.35,1 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-10 + 3 * math.cos(sine / 45))),.1) | |
| 6382 | LW.C0=clerp(LW.C0,cf(-1.35,1 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(13 - 3 * math.cos(sine / 45))),.1) | |
| 6383 | end | |
| 6384 | for i = 0, 99 do | |
| 6385 | local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) | |
| 6386 | dis.CFrame = root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
| 6387 | local at1 = Instance.new("Attachment",dis)
| |
| 6388 | at1.Position = vt(-25000,0,0) | |
| 6389 | local at2 = Instance.new("Attachment",dis)
| |
| 6390 | at2.Position = vt(25000,0,0) | |
| 6391 | local trl = Instance.new('Trail',dis)
| |
| 6392 | trl.Attachment0 = at1 | |
| 6393 | trl.FaceCamera = true | |
| 6394 | trl.Attachment1 = at2 | |
| 6395 | trl.Texture = "rbxassetid://1049219073" | |
| 6396 | trl.LightEmission = 1 | |
| 6397 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 6398 | trl.Color = ColorSequence.new(BrickColor.random().Color) | |
| 6399 | trl.Lifetime = 5 | |
| 6400 | local bv = Instance.new("BodyVelocity")
| |
| 6401 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 6402 | bv.velocity = dis.CFrame.lookVector*math.random(500,2500) | |
| 6403 | bv.Parent = dis | |
| 6404 | game:GetService("Debris"):AddItem(dis, 5)
| |
| 6405 | end | |
| 6406 | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1) | |
| 6407 | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5) | |
| 6408 | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3) | |
| 6409 | sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color) | |
| 6410 | sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color) | |
| 6411 | sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color) | |
| 6412 | sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color) | |
| 6413 | CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
| |
| 6414 | CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
| |
| 6415 | CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
| |
| 6416 | hum.CameraOffset = vt(0,0,0) | |
| 6417 | for i = 0, 24 do | |
| 6418 | slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(500,1500)/250,BrickColor.random()) | |
| 6419 | end | |
| 6420 | local distam = 0 | |
| 6421 | coroutine.resume(coroutine.create(function() | |
| 6422 | for i = 0, 99 do | |
| 6423 | wait() | |
| 6424 | distam = distam + 1 | |
| 6425 | local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) | |
| 6426 | xa.Anchored = true | |
| 6427 | xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam)) | |
| 6428 | game:GetService("Debris"):AddItem(xa, 5)
| |
| 6429 | for i = 0, 4 do | |
| 6430 | slash(math.random(25,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(200,500)/250,BrickColor.random()) | |
| 6431 | end | |
| 6432 | coroutine.resume(coroutine.create(function() | |
| 6433 | local eff = Instance.new("ParticleEmitter",xa)
| |
| 6434 | eff.Texture = "rbxassetid://2273224484" | |
| 6435 | eff.LightEmission = 1 | |
| 6436 | eff.Color = ColorSequence.new(BrickColor.random().Color) | |
| 6437 | eff.Rate = 500000 | |
| 6438 | eff.Lifetime = NumberRange.new(1,3) | |
| 6439 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(0.2,5,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 6440 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 6441 | eff.Speed = NumberRange.new(50,500) | |
| 6442 | eff.Drag = 5 | |
| 6443 | eff.Rotation = NumberRange.new(-500,500) | |
| 6444 | eff.VelocitySpread = 9000 | |
| 6445 | eff.RotSpeed = NumberRange.new(-50,50) | |
| 6446 | wait(0.25) | |
| 6447 | eff.Enabled = false | |
| 6448 | end)) | |
| 6449 | coroutine.resume(coroutine.create(function() | |
| 6450 | for i = 0, 19 do | |
| 6451 | swait() | |
| 6452 | hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10) | |
| 6453 | end | |
| 6454 | hum.CameraOffset = vt(0,0,0) | |
| 6455 | end)) | |
| 6456 | CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
| |
| 6457 | sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color) | |
| 6458 | sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color) | |
| 6459 | MagniDamage(xa, 60, 9999,99999, 0, "Normal") | |
| 6460 | end | |
| 6461 | end)) | |
| 6462 | attack = false | |
| 6463 | hum.WalkSpeed = storehumanoidWS | |
| 6464 | end | |
| 6465 | ||
| 6466 | function FallenOrbs() | |
| 6467 | attack = true | |
| 6468 | hum.WalkSpeed = 2 | |
| 6469 | local keptcolor = MAINRUINCOLOR | |
| 6470 | CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 5, 1,0,10,0.15,0.5,1)
| |
| 6471 | CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 60, 1,0,10,0.15,0.5,1)
| |
| 6472 | local radm = math.random(1,3) | |
| 6473 | if radm == 1 then | |
| 6474 | bosschatfunc("This wont be easy to you.",MAINRUINCOLOR.Color,1)
| |
| 6475 | elseif radm == 2 then | |
| 6476 | bosschatfunc("How about this?",MAINRUINCOLOR.Color,1)
| |
| 6477 | elseif radm == 3 then | |
| 6478 | bosschatfunc("Swarm!",MAINRUINCOLOR.Color,1)
| |
| 6479 | end | |
| 6480 | coroutine.resume(coroutine.create(function() | |
| 6481 | for i = 0, 29 do | |
| 6482 | swait(2) | |
| 6483 | local dis = CreateParta(char,0.5,1,"Neon",MAINRUINCOLOR) | |
| 6484 | dis.Anchored = true | |
| 6485 | CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5)
| |
| 6486 | dis.CFrame = root.CFrame*CFrame.new(math.random(-35,35),math.random(5,35),math.random(-35,35)) | |
| 6487 | CreateMesh(dis,"Sphere",2,2,2) | |
| 6488 | sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color) | |
| 6489 | slash(math.random(10,20)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(10,50)/250,BrickColor.new("White"))
| |
| 6490 | coroutine.resume(coroutine.create(function() | |
| 6491 | wait(0.5) | |
| 6492 | dis.Anchored = false | |
| 6493 | CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 9, 1,0,2,0.15,0.1,1)
| |
| 6494 | local at1 = Instance.new("Attachment",dis)
| |
| 6495 | at1.Position = vt(-1,0,0) | |
| 6496 | local at2 = Instance.new("Attachment",dis)
| |
| 6497 | at2.Position = vt(1,0,0) | |
| 6498 | local trl = Instance.new('Trail',dis)
| |
| 6499 | trl.Attachment0 = at1 | |
| 6500 | trl.FaceCamera = true | |
| 6501 | trl.Attachment1 = at2 | |
| 6502 | trl.Texture = "rbxassetid://1049219073" | |
| 6503 | trl.LightEmission = 1 | |
| 6504 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 6505 | trl.Color = ColorSequence.new(dis.Color) | |
| 6506 | trl.Lifetime = 0.6 | |
| 6507 | local a = Instance.new("Part",workspace)
| |
| 6508 | a.Name = "Direction" | |
| 6509 | a.Anchored = true | |
| 6510 | a.BrickColor = bc("Bright red")
| |
| 6511 | a.Material = "Neon" | |
| 6512 | a.Transparency = 1 | |
| 6513 | a.CanCollide = false | |
| 6514 | local ray = Ray.new( | |
| 6515 | dis.CFrame.p, -- origin | |
| 6516 | (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction | |
| 6517 | ) | |
| 6518 | local ignore = dis | |
| 6519 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 6520 | a.BottomSurface = 10 | |
| 6521 | a.TopSurface = 10 | |
| 6522 | local distance = (dis.CFrame.p - position).magnitude | |
| 6523 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
| 6524 | a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0) | |
| 6525 | dis.CFrame = a.CFrame | |
| 6526 | a:Destroy() | |
| 6527 | local bv = Instance.new("BodyVelocity")
| |
| 6528 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 6529 | bv.velocity = dis.CFrame.lookVector*500 | |
| 6530 | bv.Parent = dis | |
| 6531 | game:GetService("Debris"):AddItem(dis, 5)
| |
| 6532 | local hitted = false | |
| 6533 | coroutine.resume(coroutine.create(function() | |
| 6534 | dis.Touched:connect(function(hit) | |
| 6535 | if hitted == false and hit.Parent ~= char then | |
| 6536 | hitted = true | |
| 6537 | CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 5, 0.8,0,10,0.15,0.5,1)
| |
| 6538 | MagniDamage(dis, 60, 25456,124672, 0, "Normal") | |
| 6539 | sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,keptcolor,keptcolor.Color) | |
| 6540 | sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1))
| |
| 6541 | coroutine.resume(coroutine.create(function() | |
| 6542 | for i = 0, 4 do | |
| 6543 | local disr = CreateParta(char,1,1,"Neon",keptcolor) | |
| 6544 | disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
| 6545 | local at1 = Instance.new("Attachment",disr)
| |
| 6546 | at1.Position = vt(-10,0,0) | |
| 6547 | local at2 = Instance.new("Attachment",disr)
| |
| 6548 | at2.Position = vt(10,0,0) | |
| 6549 | local trl = Instance.new('Trail',disr)
| |
| 6550 | trl.Attachment0 = at1 | |
| 6551 | trl.FaceCamera = true | |
| 6552 | trl.Attachment1 = at2 | |
| 6553 | trl.Texture = "rbxassetid://2342682798" | |
| 6554 | trl.LightEmission = 1 | |
| 6555 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 6556 | trl.Color = ColorSequence.new(disr.Color) | |
| 6557 | trl.Lifetime = 0.5 | |
| 6558 | local bv = Instance.new("BodyVelocity")
| |
| 6559 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 6560 | bv.velocity = disr.CFrame.lookVector*math.random(125,250) | |
| 6561 | bv.Parent = disr | |
| 6562 | local val = 0 | |
| 6563 | coroutine.resume(coroutine.create(function() | |
| 6564 | swait(30) | |
| 6565 | for i = 0, 9 do | |
| 6566 | swait() | |
| 6567 | val = val + 0.1 | |
| 6568 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
| |
| 6569 | end | |
| 6570 | game:GetService("Debris"):AddItem(disr, 3)
| |
| 6571 | end)) | |
| 6572 | end | |
| 6573 | local eff = Instance.new("ParticleEmitter",dis)
| |
| 6574 | eff.Texture = "rbxassetid://1049219073" | |
| 6575 | eff.LightEmission = 1 | |
| 6576 | eff.Color = ColorSequence.new(dis.Color) | |
| 6577 | eff.Rate = 500000 | |
| 6578 | eff.Lifetime = NumberRange.new(0.5,2) | |
| 6579 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 6580 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 6581 | eff.Speed = NumberRange.new(20,250) | |
| 6582 | eff.Drag = 5 | |
| 6583 | eff.Rotation = NumberRange.new(-500,500) | |
| 6584 | eff.VelocitySpread = 9000 | |
| 6585 | eff.RotSpeed = NumberRange.new(-50,50) | |
| 6586 | wait(0.5) | |
| 6587 | eff.Enabled = false | |
| 6588 | end)) | |
| 6589 | for i = 0, 4 do | |
| 6590 | slash(math.random(20,50)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,200)/250,BrickColor.new("White"))
| |
| 6591 | end | |
| 6592 | coroutine.resume(coroutine.create(function() | |
| 6593 | for i = 0, 19 do | |
| 6594 | swait() | |
| 6595 | hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70) | |
| 6596 | end | |
| 6597 | hum.CameraOffset = vt(0,0,0) | |
| 6598 | end)) | |
| 6599 | dis.Anchored = true | |
| 6600 | dis.Transparency = 1 | |
| 6601 | wait(8) | |
| 6602 | dis:Destroy() | |
| 6603 | end | |
| 6604 | end) | |
| 6605 | end)) | |
| 6606 | end)) | |
| 6607 | end | |
| 6608 | end)) | |
| 6609 | for i = 0,9,0.1 do | |
| 6610 | swait() | |
| 6611 | sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
| 6612 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.3) | |
| 6613 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.3) | |
| 6614 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(90)),.3) | |
| 6615 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(-15 + 1 * math.cos(sine / 58)),math.rad(-90 + 2 * math.cos(sine / 53))),.3) | |
| 6616 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(90 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(90 + 2 * math.cos(sine / 45))),.3) | |
| 6617 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(8 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(-9 - 4 * math.cos(sine / 45))),.3) | |
| 6618 | end | |
| 6619 | attack = false | |
| 6620 | hum.WalkSpeed = storehumanoidWS | |
| 6621 | end | |
| 6622 | ||
| 6623 | function CyberSlash() | |
| 6624 | local posit = -2 | |
| 6625 | attack = true | |
| 6626 | hum.WalkSpeed = 5 | |
| 6627 | CFuncs["EchoSound"].Create("rbxassetid://1448033920", char, 5, 1,0,10,0.15,0.5,1)
| |
| 6628 | local radm = math.random(1,3) | |
| 6629 | if radm == 1 then | |
| 6630 | bosschatfunc("FIBER!!!",MAINRUINCOLOR.Color,1)
| |
| 6631 | elseif radm == 2 then | |
| 6632 | bosschatfunc("SLASHED!!",MAINRUINCOLOR.Color,1)
| |
| 6633 | elseif radm == 3 then | |
| 6634 | bosschatfunc("TAKE MY CLAW!!",MAINRUINCOLOR.Color,1)
| |
| 6635 | end | |
| 6636 | CFuncs["Sound"].Create("rbxassetid://169380495", sorb2, 1, 1)
| |
| 6637 | for i = 0,2,0.1 do | |
| 6638 | swait() | |
| 6639 | sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR) | |
| 6640 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(30)),0.5) | |
| 6641 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.5) | |
| 6642 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5) | |
| 6643 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(6), math.rad(-30)), 0.5) | |
| 6644 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(8 - 6 * math.cos(sine / 67)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-18 - 5 * math.cos(sine / 32))),.1) | |
| 6645 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15 - 8 * math.cos(sine / 74)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(31 + 8 * math.cos(sine / 38))),.1) | |
| 6646 | end | |
| 6647 | for i = 0, 2 do | |
| 6648 | CameraEnshaking(1,2) | |
| 6649 | local hite = Instance.new("Part", char)
| |
| 6650 | hite.Anchored = true | |
| 6651 | hite.CanCollide = false | |
| 6652 | hite.FormFactor = 3 | |
| 6653 | hite.Name = "Ring" | |
| 6654 | hite.Material = "Neon" | |
| 6655 | hite.Size = Vector3.new(1, 1, 1) | |
| 6656 | hite.Transparency = 1 | |
| 6657 | hite.TopSurface = 0 | |
| 6658 | hite.BottomSurface = 0 | |
| 6659 | hite.CFrame = root.CFrame*CFrame.new(0,posit,-5) | |
| 6660 | CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 0.9)
| |
| 6661 | CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 0.8)
| |
| 6662 | coroutine.resume(coroutine.create(function() | |
| 6663 | for i = 0, 1 do | |
| 6664 | swait() | |
| 6665 | sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR) | |
| 6666 | sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR) | |
| 6667 | sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR) | |
| 6668 | end | |
| 6669 | end)) | |
| 6670 | sphere2(6,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(2,2,2),0.5,-0.01,-0.01,MAINRUINCOLOR) | |
| 6671 | MagniDamage(hite, 3, 30,40, 0, "Normal") | |
| 6672 | game:GetService("Debris"):AddItem(hite, 5)
| |
| 6673 | posit = posit + 2 | |
| 6674 | end | |
| 6675 | for i = 0,1,0.1 do | |
| 6676 | swait() | |
| 6677 | sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR) | |
| 6678 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5) | |
| 6679 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),.5) | |
| 6680 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5) | |
| 6681 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(110), math.rad(6), math.rad(40)), 0.5) | |
| 6682 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.5) | |
| 6683 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5) | |
| 6684 | end | |
| 6685 | for i = 0,1,0.1 do | |
| 6686 | swait() | |
| 6687 | sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR) | |
| 6688 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.2,1)* angles(math.rad(20),math.rad(0),math.rad(60)),0.5) | |
| 6689 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.5) | |
| 6690 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.5) | |
| 6691 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(6), math.rad(-50)), 0.5) | |
| 6692 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(30)),.5) | |
| 6693 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(40)),.5) | |
| 6694 | end | |
| 6695 | posit = -6 | |
| 6696 | for i = 0, 6 do | |
| 6697 | CameraEnshaking(1,3) | |
| 6698 | local hite = Instance.new("Part", char)
| |
| 6699 | hite.Anchored = true | |
| 6700 | hite.CanCollide = false | |
| 6701 | hite.FormFactor = 3 | |
| 6702 | hite.Name = "Ring" | |
| 6703 | hite.Material = "Neon" | |
| 6704 | hite.Size = Vector3.new(1, 1, 1) | |
| 6705 | hite.Transparency = 1 | |
| 6706 | hite.TopSurface = 0 | |
| 6707 | hite.BottomSurface = 0 | |
| 6708 | hite.CFrame = root.CFrame*CFrame.new(posit,0,-5) | |
| 6709 | CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 1.2)
| |
| 6710 | CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 1)
| |
| 6711 | sphere2(6,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),-0.01,1,-0.01,MAINRUINCOLOR) | |
| 6712 | coroutine.resume(coroutine.create(function() | |
| 6713 | for i = 0, 2 do | |
| 6714 | swait() | |
| 6715 | sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR) | |
| 6716 | sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR) | |
| 6717 | sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR) | |
| 6718 | end | |
| 6719 | end)) | |
| 6720 | MagniDamage(hite, 5, 40,70, 0, "Normal") | |
| 6721 | game:GetService("Debris"):AddItem(hite, 5)
| |
| 6722 | posit = posit + 2 | |
| 6723 | end | |
| 6724 | for i = 0,1,0.1 do | |
| 6725 | swait() | |
| 6726 | sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR) | |
| 6727 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,1.5)* angles(math.rad(-10),math.rad(0),math.rad(-60)),0.5) | |
| 6728 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5) | |
| 6729 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.5) | |
| 6730 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(6), math.rad(-50)), 0.5) | |
| 6731 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(10),math.rad(-10)),.5) | |
| 6732 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(60)),.5) | |
| 6733 | end | |
| 6734 | hum.WalkSpeed = storehumanoidWS | |
| 6735 | attack = false | |
| 6736 | end | |
| 6737 | ||
| 6738 | function EquinoxOrbs() | |
| 6739 | hum.WalkSpeed = 0 | |
| 6740 | attack = true | |
| 6741 | local radm = math.random(1,3) | |
| 6742 | if radm == 1 then | |
| 6743 | bosschatfunc("NOX-DASH!!!",MAINRUINCOLOR.Color,1)
| |
| 6744 | elseif radm == 2 then | |
| 6745 | bosschatfunc("Beware from behind",MAINRUINCOLOR.Color,1)
| |
| 6746 | elseif radm == 3 then | |
| 6747 | bosschatfunc("I'M COMING!!",MAINRUINCOLOR.Color,1)
| |
| 6748 | end | |
| 6749 | for i = 0,1,0.1 do | |
| 6750 | swait() | |
| 6751 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20)),.2) | |
| 6752 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20)),.2) | |
| 6753 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2) | |
| 6754 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2) | |
| 6755 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3) | |
| 6756 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3) | |
| 6757 | end | |
| 6758 | sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR) | |
| 6759 | sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR) | |
| 6760 | for i = 0, 24 do | |
| 6761 | slash(math.random(10,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),math.rad(0)),vt(0.01,0.01,0.01),math.random(100,400)/250,BrickColor.new("White"))
| |
| 6762 | end | |
| 6763 | CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
| |
| 6764 | CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
| |
| 6765 | CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
| |
| 6766 | CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
| |
| 6767 | for i = 0,4,0.1 do | |
| 6768 | swait() | |
| 6769 | root.CFrame = root.CFrame + root.CFrame.lookVector*7.5 | |
| 6770 | local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR) | |
| 6771 | CreateMesh(dis,"Sphere",1,1,1) | |
| 6772 | dis.Anchored = true | |
| 6773 | dis.CFrame = larm.CFrame*CFrame.new(0,-3,0) | |
| 6774 | local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Really black"))
| |
| 6775 | CreateMesh(dis2,"Sphere",1,1,1) | |
| 6776 | dis2.Anchored = true | |
| 6777 | dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0) | |
| 6778 | sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color) | |
| 6779 | sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color) | |
| 6780 | coroutine.resume(coroutine.create(function() | |
| 6781 | swait(60) | |
| 6782 | dis.Transparency = 1 | |
| 6783 | dis2.Transparency = 1 | |
| 6784 | coroutine.resume(coroutine.create(function() | |
| 6785 | for i = 0, 19 do | |
| 6786 | swait() | |
| 6787 | hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40) | |
| 6788 | end | |
| 6789 | hum.CameraOffset = vt(0,0,0) | |
| 6790 | end)) | |
| 6791 | coroutine.resume(coroutine.create(function() | |
| 6792 | local eff = Instance.new("ParticleEmitter",dis)
| |
| 6793 | eff.Texture = "rbxassetid://2273224484" | |
| 6794 | eff.LightEmission = 1 | |
| 6795 | eff.Color = ColorSequence.new(dis.Color) | |
| 6796 | eff.Rate = 500000 | |
| 6797 | eff.Lifetime = NumberRange.new(0.5,2) | |
| 6798 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 6799 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 6800 | eff.Speed = NumberRange.new(50,450) | |
| 6801 | eff.Drag = 5 | |
| 6802 | eff.Rotation = NumberRange.new(-500,500) | |
| 6803 | eff.VelocitySpread = 9000 | |
| 6804 | eff.RotSpeed = NumberRange.new(-50,50) | |
| 6805 | local eff2 = eff:Clone() | |
| 6806 | eff2.Parent = dis2 | |
| 6807 | eff2.LightEmission = 0 | |
| 6808 | eff2.Color = ColorSequence.new(dis2.Color) | |
| 6809 | wait(0.25) | |
| 6810 | eff.Enabled = false | |
| 6811 | eff2.Enabled = false | |
| 6812 | end)) | |
| 6813 | MagniDamage(dis, 55, 89,219788936, 0, "Normal") | |
| 6814 | MagniDamage(dis2, 55, 89,219788936, 0, "Normal") | |
| 6815 | for i = 0, 2 do | |
| 6816 | slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,300)/250,dis.BrickColor) | |
| 6817 | slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,300)/250,dis2.BrickColor) | |
| 6818 | end | |
| 6819 | CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
| |
| 6820 | CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
| |
| 6821 | CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
| |
| 6822 | CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
| |
| 6823 | CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
| |
| 6824 | CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
| |
| 6825 | sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color) | |
| 6826 | sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color) | |
| 6827 | end)) | |
| 6828 | game:GetService("Debris"):AddItem(dis, 5)
| |
| 6829 | game:GetService("Debris"):AddItem(dis2, 5)
| |
| 6830 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20)),.2) | |
| 6831 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20)),.2) | |
| 6832 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2) | |
| 6833 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2) | |
| 6834 | RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1) | |
| 6835 | LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1) | |
| 6836 | end | |
| 6837 | attack = false | |
| 6838 | hum.WalkSpeed = storehumanoidWS | |
| 6839 | end | |
| 6840 | function FallenDEMISE() | |
| 6841 | attack = true | |
| 6842 | hum.WalkSpeed = 0 | |
| 6843 | local keptcolor = MAINRUINCOLOR | |
| 6844 | bosschatfunc("ALL OF YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,3)
| |
| 6845 | CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.75)
| |
| 6846 | CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5)
| |
| 6847 | for i = 0, 15, 0.1 do | |
| 6848 | swait() | |
| 6849 | local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) | |
| 6850 | dis.CFrame = root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
| 6851 | local at1 = Instance.new("Attachment",dis)
| |
| 6852 | at1.Position = vt(-25000,0,0) | |
| 6853 | local at2 = Instance.new("Attachment",dis)
| |
| 6854 | at2.Position = vt(25000,0,0) | |
| 6855 | local trl = Instance.new('Trail',dis)
| |
| 6856 | trl.Attachment0 = at1 | |
| 6857 | trl.FaceCamera = true | |
| 6858 | trl.Attachment1 = at2 | |
| 6859 | trl.Texture = "rbxassetid://1049219073" | |
| 6860 | trl.LightEmission = 1 | |
| 6861 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 6862 | trl.Color = ColorSequence.new(dis.Color) | |
| 6863 | trl.Lifetime = 5 | |
| 6864 | local bv = Instance.new("BodyVelocity")
| |
| 6865 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 6866 | bv.velocity = dis.CFrame.lookVector*math.random(500,2500) | |
| 6867 | bv.Parent = dis | |
| 6868 | game:GetService("Debris"):AddItem(dis, 1)
| |
| 6869 | sphere2(15,"Add",root.CFrame,vt(8,8,8),2,2,2,MAINRUINCOLOR) | |
| 6870 | slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Toothpaste"))
| |
| 6871 | slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Deep orange"))
| |
| 6872 | RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-35)),.1) | |
| 6873 | LH.C0=clerp(LH.C0,cf(-1,-0.45,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(35)),.1) | |
| 6874 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1) | |
| 6875 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
| 6876 | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1) | |
| 6877 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1) | |
| 6878 | end | |
| 6879 | CFuncs["Sound"].Create("rbxassetid://294188875", char, 10,1)
| |
| 6880 | for i = 0, 30, 0.1 do | |
| 6881 | swait() | |
| 6882 | coroutine.resume(coroutine.create(function() | |
| 6883 | for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do | |
| 6884 | if v:FindFirstChild('Head') then
| |
| 6885 | dmg(v) | |
| 6886 | end | |
| 6887 | end | |
| 6888 | end)) | |
| 6889 | local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) | |
| 6890 | dis.CFrame = root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
| 6891 | local at1 = Instance.new("Attachment",dis)
| |
| 6892 | at1.Position = vt(-50000,0,0) | |
| 6893 | local at2 = Instance.new("Attachment",dis)
| |
| 6894 | at2.Position = vt(50000,0,0) | |
| 6895 | local trl = Instance.new('Trail',dis)
| |
| 6896 | trl.Attachment0 = at1 | |
| 6897 | trl.FaceCamera = true | |
| 6898 | trl.Attachment1 = at2 | |
| 6899 | trl.Texture = "rbxassetid://1049219073" | |
| 6900 | trl.LightEmission = 1 | |
| 6901 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 6902 | trl.Color = ColorSequence.new(dis.Color) | |
| 6903 | trl.Lifetime = 10 | |
| 6904 | local bv = Instance.new("BodyVelocity")
| |
| 6905 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 6906 | bv.velocity = dis.CFrame.lookVector*math.random(1500,10000) | |
| 6907 | bv.Parent = dis | |
| 6908 | game:GetService("Debris"):AddItem(dis, math.random(1,4))
| |
| 6909 | sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MAINRUINCOLOR) | |
| 6910 | sphere2(15,"Add",root.CFrame,vt(8,8,8),8,8,8,MAINRUINCOLOR) | |
| 6911 | sphere2(2,"Add",root.CFrame*CFrame.new(math.random(-2000,2000),math.random(-2000,2000),math.random(-2000,2000)),vt(0,0,0),5,5,5,BrickColor.new("Deep orange"))
| |
| 6912 | sphere2(2,"Add",root.CFrame*CFrame.new(math.random(-2000,2000),math.random(-2000,2000),math.random(-2000,2000)),vt(0,0,0),5,5,5,BrickColor.new("Toothpaste"))
| |
| 6913 | slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,0.01,5),math.random(500,5000)/250,BrickColor.new("Deep orange"))
| |
| 6914 | slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,0.01,5),math.random(500,5000)/250,BrickColor.new("Toothpaste"))
| |
| 6915 | for i = 0, 2 do | |
| 6916 | slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,math.random(-3,1000),0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(2,0.01,2),math.random(250,750)/250,MAINRUINCOLOR) | |
| 6917 | end | |
| 6918 | RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-35)),.1) | |
| 6919 | LH.C0=clerp(LH.C0,cf(-1,-0.45,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(35)),.1) | |
| 6920 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1) | |
| 6921 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
| 6922 | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1) | |
| 6923 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1) | |
| 6924 | end | |
| 6925 | attack = false | |
| 6926 | hum.WalkSpeed = storehumanoidWS | |
| 6927 | end | |
| 6928 | ||
| 6929 | function SpeedDrop() | |
| 6930 | attack = true | |
| 6931 | hum.WalkSpeed = 0 | |
| 6932 | CFuncs["Sound"].Create("rbxassetid://1208650519", tors, 5, 1)
| |
| 6933 | local poste = 3 | |
| 6934 | local rotation = 0 | |
| 6935 | local rate = 0 | |
| 6936 | bosschatfunc("AUFHHIGYBIBYHHIHIGHGI",MAINRUINCOLOR.Color,2)
| |
| 6937 | for i = 0, 124 do | |
| 6938 | swait() | |
| 6939 | rotation = rotation + rate | |
| 6940 | poste = poste + 0.1 | |
| 6941 | rate = rate + 0.1 | |
| 6942 | sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(poste,1,poste),0.05*poste/3,0,0.05*poste/3,MAINRUINCOLOR) | |
| 6943 | sphere2(8,"Add",root.CFrame*CFrame.new(math.random(-20,20),-3,math.random(-20,20)),vt(1,1,1),-0.01,0.5,-0.01,MAINRUINCOLOR) | |
| 6944 | sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR) | |
| 6945 | sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(90 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR) | |
| 6946 | sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(180 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR) | |
| 6947 | sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(270 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR) | |
| 6948 | RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(30)),.5) | |
| 6949 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.5) | |
| 6950 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.75)*angles(math.rad(30),math.rad(0),math.rad(20)),.5) | |
| 6951 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.5) | |
| 6952 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(-8),math.rad(-10)),.5) | |
| 6953 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.5) | |
| 6954 | end | |
| 6955 | CameraEnshaking(3,7) | |
| 6956 | bosschatfunc("AN ERROR HAS OCCURED",MAINRUINCOLOR.Color,2)
| |
| 6957 | local loc = Instance.new("Part", char)
| |
| 6958 | loc.BrickColor = MAINRUINCOLOR | |
| 6959 | loc.CanCollide = false | |
| 6960 | loc.FormFactor = 3 | |
| 6961 | loc.Name = "Ring" | |
| 6962 | loc.Material = "Neon" | |
| 6963 | loc.Size = Vector3.new(1, 1, 1) | |
| 6964 | loc.Transparency = 1 | |
| 6965 | loc.TopSurface = 0 | |
| 6966 | loc.BottomSurface = 0 | |
| 6967 | loc.Anchored = true | |
| 6968 | loc.CFrame = root.CFrame + root.CFrame.lookVector*100 | |
| 6969 | CFuncs["Sound"].Create("rbxassetid://782353443", loc, 5, 1)
| |
| 6970 | CFuncs["Sound"].Create("rbxassetid://1177785010", loc, 6, 1)
| |
| 6971 | MagniDamage(loc, 95, 500,6000, 0, "Normal") | |
| 6972 | sphere2(10,"Add",loc.CFrame,vt(5,5,5),-0.05,-0.05,5,MAINRUINCOLOR) | |
| 6973 | sphere2(8,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR) | |
| 6974 | sphere2(4,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR) | |
| 6975 | sphere2(2,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR) | |
| 6976 | coroutine.resume(coroutine.create(function() | |
| 6977 | local eff = Instance.new("ParticleEmitter",loc)
| |
| 6978 | eff.Texture = "rbxassetid://363275192" | |
| 6979 | eff.LightEmission = 0.95 | |
| 6980 | eff.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6981 | eff.Rate = 10000 | |
| 6982 | eff.Lifetime = NumberRange.new(1) | |
| 6983 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 6984 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 6985 | eff.Speed = NumberRange.new(100,500) | |
| 6986 | eff.Drag = 5 | |
| 6987 | eff.Rotation = NumberRange.new(-500,500) | |
| 6988 | eff.VelocitySpread = 9000 | |
| 6989 | eff.RotSpeed = NumberRange.new(-50,50) | |
| 6990 | wait(0.5) | |
| 6991 | eff.Enabled = false | |
| 6992 | end)) | |
| 6993 | for i = 0, 49 do | |
| 6994 | sphere2(math.random(100,300)/100,"Add",loc.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,5),-0.01,-0.01,5,MAINRUINCOLOR) | |
| 6995 | end | |
| 6996 | for i = 0, 9 do | |
| 6997 | sphere2(3,"Add",loc.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),0),vt(1,1,5),-0.01,-0.01,5,MAINRUINCOLOR) | |
| 6998 | end | |
| 6999 | game:GetService("Debris"):AddItem(loc, 5)
| |
| 7000 | root.CFrame = root.CFrame + root.CFrame.lookVector*200 | |
| 7001 | hum.WalkSpeed = storehumanoidWS | |
| 7002 | attack = false | |
| 7003 | end | |
| 7004 | ||
| 7005 | function cutesigh() | |
| 7006 | attack = true | |
| 7007 | hum.WalkSpeed = 0 | |
| 7008 | bosschatfunc("sigh~~",MAINRUINCOLOR.Color,2)
| |
| 7009 | local blush = Instance.new("Decal",hed)
| |
| 7010 | blush.Texture = "rbxassetid://898404027" | |
| 7011 | blush.Face = "Front" | |
| 7012 | CFuncs["Sound"].Create("rbxassetid://294861193", char, 9,1)
| |
| 7013 | for i = 0, 9, 0.1 do | |
| 7014 | swait() | |
| 7015 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(19 + 8 * math.cos(sine / 62)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-20 - 3 * math.cos(sine / 34))),.1) | |
| 7016 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 - 1 * math.cos(sine / 55)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(26 + 5 * math.cos(sine / 41))),.1) | |
| 7017 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(-13 - 2 * math.cos(sine / 32)),math.rad(3),math.rad(10 - 4 * math.cos(sine / 67))),.1) | |
| 7018 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 8 * math.cos(sine / 37)),math.rad(-21 + 2 * math.cos(sine / 58)),math.rad(-10 + 2 * math.cos(sine / 53))),.1) | |
| 7019 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(0 + 0 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 5 * math.cos(sine / 51))),.1) | |
| 7020 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(0 - 0 * math.cos(sine / 73)),math.rad(2 - 3 * math.cos(sine / 53)),math.rad(-33 - 5 * math.cos(sine / 51))),.1) | |
| 7021 | end | |
| 7022 | coroutine.resume(coroutine.create(function() | |
| 7023 | for i = 0, 49 do | |
| 7024 | swait() | |
| 7025 | blush.Transparency = blush.Transparency + 0.02 | |
| 7026 | end | |
| 7027 | blush:Destroy() | |
| 7028 | end)) | |
| 7029 | hum.WalkSpeed = storehumanoidWS | |
| 7030 | attack = false | |
| 7031 | end | |
| 7032 | ||
| 7033 | function smiter() | |
| 7034 | local targetted = nil | |
| 7035 | if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
| |
| 7036 | targetted = mouse.Target.Parent | |
| 7037 | end | |
| 7038 | if targetted ~= nil then | |
| 7039 | RootPart.CFrame = FaceMouse()[1] | |
| 7040 | attack = true | |
| 7041 | local radm = math.random(1,3) | |
| 7042 | if radm == 1 then | |
| 7043 | bosschatfunc("SMITED!!",MAINRUINCOLOR.Color,1)
| |
| 7044 | elseif radm == 2 then | |
| 7045 | bosschatfunc("FROM ABOVE!!",MAINRUINCOLOR.Color,1)
| |
| 7046 | elseif radm == 3 then | |
| 7047 | bosschatfunc("LOOK UP!!",MAINRUINCOLOR.Color,1)
| |
| 7048 | end | |
| 7049 | hum.WalkSpeed = 0 | |
| 7050 | coroutine.resume(coroutine.create(function() | |
| 7051 | CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
| |
| 7052 | sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR) | |
| 7053 | local vel = Instance.new("BodyPosition", targetted.Head)
| |
| 7054 | vel.P = 12500 | |
| 7055 | vel.D = 1000 | |
| 7056 | vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000) | |
| 7057 | vel.position = targetted.Head.CFrame.p | |
| 7058 | end)) | |
| 7059 | CFuncs["Sound"].Create("rbxassetid://671759140", sorb2, 1, 1.2)
| |
| 7060 | CFuncs["EchoSound"].Create("rbxassetid://1436242685", char, 4, 1,0,10,0.15,0.5,1)
| |
| 7061 | CFuncs["EchoSound"].Create("rbxassetid://1436242685", root, 60, 1,0,10,0.15,0.5,1)
| |
| 7062 | for i = 0,4,0.1 do | |
| 7063 | swait() | |
| 7064 | sphere2(4,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.125,-0.01,MAINRUINCOLOR) | |
| 7065 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2) | |
| 7066 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2) | |
| 7067 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2) | |
| 7068 | LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2) | |
| 7069 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.1) | |
| 7070 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.1) | |
| 7071 | end | |
| 7072 | coroutine.resume(coroutine.create(function() | |
| 7073 | CameraEnshaking(6,5) | |
| 7074 | MagniDamage(targetted.Head, 18, 18,30, 0, "Normal") | |
| 7075 | CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.8)
| |
| 7076 | CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.8)
| |
| 7077 | CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.8)
| |
| 7078 | sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR) | |
| 7079 | sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR) | |
| 7080 | sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR) | |
| 7081 | sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR) | |
| 7082 | coroutine.resume(coroutine.create(function() | |
| 7083 | local eff = Instance.new("ParticleEmitter",targetted.Head)
| |
| 7084 | eff.Texture = "rbxassetid://2273224484" | |
| 7085 | eff.LightEmission = 1 | |
| 7086 | eff.Color = ColorSequence.new(Color3.new(0.3,1,1)) | |
| 7087 | eff.Rate = 500000 | |
| 7088 | eff.Lifetime = NumberRange.new(0.5,2) | |
| 7089 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 7090 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 7091 | eff.Speed = NumberRange.new(20,250) | |
| 7092 | eff.Drag = 5 | |
| 7093 | eff.Rotation = NumberRange.new(-500,500) | |
| 7094 | eff.VelocitySpread = 9000 | |
| 7095 | eff.RotSpeed = NumberRange.new(-50,50) | |
| 7096 | wait(0.25) | |
| 7097 | eff.Enabled = false | |
| 7098 | local eff = Instance.new("ParticleEmitter",targetted.Head)
| |
| 7099 | eff.Texture = "rbxassetid://363275192" | |
| 7100 | eff.LightEmission = 0.95 | |
| 7101 | eff.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 7102 | eff.Rate = 10000 | |
| 7103 | eff.Lifetime = NumberRange.new(1.5) | |
| 7104 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 7105 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 7106 | eff.Speed = NumberRange.new(25,150) | |
| 7107 | eff.Drag = 5 | |
| 7108 | eff.Rotation = NumberRange.new(-500,500) | |
| 7109 | eff.VelocitySpread = 9000 | |
| 7110 | eff.RotSpeed = NumberRange.new(-50,50) | |
| 7111 | local eff2 = eff:Clone() | |
| 7112 | eff2.Parent = targetted.Head | |
| 7113 | eff2.Texture = "rbxassetid://284205403" | |
| 7114 | eff2.Rate = 10000 | |
| 7115 | eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 7116 | eff2.Drag = 5 | |
| 7117 | eff2.Rotation = NumberRange.new(-500,500) | |
| 7118 | eff2.VelocitySpread = 9000 | |
| 7119 | wait(0.5) | |
| 7120 | eff2.Enabled = false | |
| 7121 | eff.Enabled = false | |
| 7122 | end)) | |
| 7123 | for i = 0, 9 do | |
| 7124 | sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,3,-0.02,MAINRUINCOLOR) | |
| 7125 | end | |
| 7126 | for i = 0, 49 do | |
| 7127 | local rsiz = math.random(10,50) | |
| 7128 | sphereMK(math.random(1,4),1,"Add",targetted.Head.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0) | |
| 7129 | end | |
| 7130 | game:GetService("Debris"):AddItem(vel,1)
| |
| 7131 | dmg(targetted) | |
| 7132 | end)) | |
| 7133 | for i = 0,1,0.1 do | |
| 7134 | swait() | |
| 7135 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5) | |
| 7136 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5) | |
| 7137 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2) | |
| 7138 | LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2) | |
| 7139 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.1) | |
| 7140 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.1) | |
| 7141 | end | |
| 7142 | attack = false | |
| 7143 | hum.WalkSpeed = storehumanoidWS | |
| 7144 | end | |
| 7145 | end | |
| 7146 | ||
| 7147 | function shytaunty() | |
| 7148 | attack = true | |
| 7149 | hum.WalkSpeed = 0 | |
| 7150 | CFuncs["Sound"].Create("rbxassetid://543623779", char, 1, 1)
| |
| 7151 | local blush = Instance.new("Decal",hed)
| |
| 7152 | blush.Texture = "rbxassetid://898404027" | |
| 7153 | blush.Face = "Front" | |
| 7154 | for i = 0, 13, 0.1 do | |
| 7155 | swait() | |
| 7156 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7 - 5 * math.cos(sine / 44)),math.rad(0),math.rad(-6 - 3 * math.cos(sine / 34))),.1) | |
| 7157 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 + 5 * math.cos(sine / 44)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 34))),.1) | |
| 7158 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.05 * math.cos(sine / 44),0 + 0.03 * math.cos(sine / 34),1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 - 5 * math.cos(sine / 44)),math.rad(-5)),.1) | |
| 7159 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2 - 2.5 * math.cos(sine / 28)),math.rad(20 + 5 * math.cos(sine / 62)),math.rad(35 + 5 * math.cos(sine / 59))),.1) | |
| 7160 | RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(22 - 1 * math.cos(sine / 53)),math.rad(0),math.rad(-60 + 2 * math.cos(sine / 37))),.1) | |
| 7161 | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(26 - 2 * math.cos(sine / 58)),math.rad(0),math.rad(59 - 3 * math.cos(sine / 57) )),.1) | |
| 7162 | end | |
| 7163 | coroutine.resume(coroutine.create(function() | |
| 7164 | for i = 0, 49 do | |
| 7165 | swait() | |
| 7166 | blush.Transparency = blush.Transparency + 0.02 | |
| 7167 | end | |
| 7168 | blush:Destroy() | |
| 7169 | end)) | |
| 7170 | hum.WalkSpeed = storehumanoidWS | |
| 7171 | attack = false | |
| 7172 | end | |
| 7173 | ||
| 7174 | function PureBomb() | |
| 7175 | attack = true | |
| 7176 | CFuncs["EchoSound"].Create("rbxassetid://1436241485", char, 5, 1,0,10,0.15,0.5,1)
| |
| 7177 | CFuncs["EchoSound"].Create("rbxassetid://1436241485", root, 60, 1,0,10,0.15,0.5,1)
| |
| 7178 | bosschatfunc("Purified..",MAINRUINCOLOR.Color,2)
| |
| 7179 | local orb = Instance.new("Part", char)
| |
| 7180 | orb.Anchored = true | |
| 7181 | orb.BrickColor = BrickColor.new("Toothpaste")
| |
| 7182 | orb.CanCollide = false | |
| 7183 | orb.FormFactor = 3 | |
| 7184 | orb.Name = "Ring" | |
| 7185 | orb.Material = "Neon" | |
| 7186 | orb.Size = Vector3.new(1, 1, 1) | |
| 7187 | orb.Transparency = 0 | |
| 7188 | orb.TopSurface = 0 | |
| 7189 | orb.BottomSurface = 0 | |
| 7190 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 7191 | orbm.MeshType = "Sphere" | |
| 7192 | orbm.Name = "SizeMesh" | |
| 7193 | orbm.Scale = vt(0,0,0) | |
| 7194 | local scaled = 0.1 | |
| 7195 | local posid = 0 | |
| 7196 | CFuncs["Sound"].Create("rbxassetid://136007472", orb, 30,1)
| |
| 7197 | for i = 0, 5, 0.1 do | |
| 7198 | swait() | |
| 7199 | scaled = scaled - 0.001 | |
| 7200 | posid = posid - scaled | |
| 7201 | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) | |
| 7202 | orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled) | |
| 7203 | sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,BrickColor.new("Toothpaste"),10)
| |
| 7204 | PixelBlockNeg(2,1,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,BrickColor.new("Toothpaste"),0)
| |
| 7205 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1) | |
| 7206 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1) | |
| 7207 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 7208 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 7209 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1) | |
| 7210 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1) | |
| 7211 | end | |
| 7212 | for i = 0, 2, 0.1 do | |
| 7213 | swait() | |
| 7214 | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) | |
| 7215 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4) | |
| 7216 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4) | |
| 7217 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4) | |
| 7218 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4) | |
| 7219 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4) | |
| 7220 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4) | |
| 7221 | end | |
| 7222 | CFuncs["EchoSound"].Create("rbxassetid://1436240026", char, 4, 1,0,10,0.15,0.5,1)
| |
| 7223 | CFuncs["EchoSound"].Create("rbxassetid://1436240026", root, 60, 1,0,10,0.15,0.5,1)
| |
| 7224 | bosschatfunc("BOMB!!",MAINRUINCOLOR.Color,2)
| |
| 7225 | coroutine.resume(coroutine.create(function() | |
| 7226 | orb.Anchored = false | |
| 7227 | CFuncs["Sound"].Create("rbxassetid://260433768", root, 555,1)
| |
| 7228 | local a = Instance.new("Part",workspace)
| |
| 7229 | a.Name = "Direction" | |
| 7230 | a.Anchored = true | |
| 7231 | a.BrickColor = bc("Bright red")
| |
| 7232 | a.Material = "Neon" | |
| 7233 | a.Transparency = 1 | |
| 7234 | a.CanCollide = false | |
| 7235 | local ray = Ray.new( | |
| 7236 | orb.CFrame.p, -- origin | |
| 7237 | (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction | |
| 7238 | ) | |
| 7239 | local ignore = orb | |
| 7240 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 7241 | a.BottomSurface = 10 | |
| 7242 | a.TopSurface = 10 | |
| 7243 | local distance = (orb.CFrame.p - position).magnitude | |
| 7244 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
| 7245 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
| 7246 | orb.CFrame = a.CFrame | |
| 7247 | a:Destroy() | |
| 7248 | local bv = Instance.new("BodyVelocity")
| |
| 7249 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 7250 | bv.velocity = orb.CFrame.lookVector*125 | |
| 7251 | bv.Parent = orb | |
| 7252 | local hitted = false | |
| 7253 | game:GetService("Debris"):AddItem(orb, 15)
| |
| 7254 | wait() | |
| 7255 | local hit =orb.Touched:connect(function(hit) | |
| 7256 | if hitted == false then | |
| 7257 | hitted = true | |
| 7258 | CameraEnshaking(10,2.5) | |
| 7259 | MagniDamage(orb, 65, 65,90, 0, "Normal") | |
| 7260 | sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
| |
| 7261 | sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
| |
| 7262 | for i = 0, 49 do | |
| 7263 | PixelBlock(1,math.random(1,30),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Toothpaste"),0)
| |
| 7264 | end | |
| 7265 | local eff = Instance.new("ParticleEmitter",orb)
| |
| 7266 | eff.Texture = "rbxassetid://2273224484" | |
| 7267 | eff.LightEmission = 1 | |
| 7268 | eff.Color = ColorSequence.new(Color3.new(4/255,175/255,236/255)) | |
| 7269 | eff.Rate = 500000 | |
| 7270 | eff.Lifetime = NumberRange.new(0.5,2) | |
| 7271 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 7272 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 7273 | eff.Speed = NumberRange.new(20,250) | |
| 7274 | eff.Drag = 5 | |
| 7275 | eff.Rotation = NumberRange.new(-500,500) | |
| 7276 | eff.VelocitySpread = 9000 | |
| 7277 | eff.RotSpeed = NumberRange.new(-50,50) | |
| 7278 | coroutine.resume(coroutine.create(function() | |
| 7279 | wait(0.25) | |
| 7280 | eff.Enabled = false | |
| 7281 | end)) | |
| 7282 | CFuncs["Sound"].Create("rbxassetid://1666361078", orb, 30,1)
| |
| 7283 | for i = 0, 9 do | |
| 7284 | sphereMK(1,2.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
| |
| 7285 | sphereMK(2,5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
| |
| 7286 | end | |
| 7287 | orb.Anchored = true | |
| 7288 | orb.Transparency = 1 | |
| 7289 | local eff = Instance.new("ParticleEmitter",orb)
| |
| 7290 | eff.Texture = "rbxassetid://2273224484" | |
| 7291 | eff.LightEmission = 1 | |
| 7292 | eff.Color = ColorSequence.new(Color3.new(M)) | |
| 7293 | eff.Rate = 500000 | |
| 7294 | eff.Lifetime = NumberRange.new(0.5,2) | |
| 7295 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 7296 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 7297 | eff.Speed = NumberRange.new(20,250) | |
| 7298 | eff.Drag = 5 | |
| 7299 | eff.Rotation = NumberRange.new(-500,500) | |
| 7300 | eff.VelocitySpread = 9000 | |
| 7301 | eff.RotSpeed = NumberRange.new(-50,50) | |
| 7302 | coroutine.resume(coroutine.create(function() | |
| 7303 | wait(1) | |
| 7304 | eff.Enabled = false | |
| 7305 | end)) | |
| 7306 | wait(8) | |
| 7307 | orb:Destroy() | |
| 7308 | end | |
| 7309 | end) | |
| 7310 | end)) | |
| 7311 | for i = 0, 1, 0.1 do | |
| 7312 | swait() | |
| 7313 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4) | |
| 7314 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4) | |
| 7315 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.4) | |
| 7316 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4) | |
| 7317 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4) | |
| 7318 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4) | |
| 7319 | end | |
| 7320 | attack = false | |
| 7321 | end | |
| 7322 | ||
| 7323 | ||
| 7324 | function BeamOfDeath() | |
| 7325 | coroutine.resume(coroutine.create(function() | |
| 7326 | attack = true | |
| 7327 | hum.WalkSpeed = 0 | |
| 7328 | for i = 0, 11, 0.1 do | |
| 7329 | swait() | |
| 7330 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(8 - 6 * math.cos(sine / 67)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-18 - 5 * math.cos(sine / 32))),.1) | |
| 7331 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15 - 8 * math.cos(sine / 74)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(31 + 8 * math.cos(sine / 38))),.1) | |
| 7332 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(-16 - 2 * math.cos(sine / 32)),math.rad(3),math.rad(10 - 4 * math.cos(sine / 67))),.1) | |
| 7333 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-23 - 8 * math.cos(sine / 37)),math.rad(-21 + 2 * math.cos(sine / 58)),math.rad(-10 + 2 * math.cos(sine / 53))),.1) | |
| 7334 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),-0.15)*angles(math.rad(125 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 14 * math.cos(sine / 45))),.1) | |
| 7335 | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(35 - 8 * math.cos(sine / 51))),.1) | |
| 7336 | end | |
| 7337 | for i = 0, 1, 0.1 do | |
| 7338 | swait() | |
| 7339 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(8 - 6 * math.cos(sine / 67)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-18 - 5 * math.cos(sine / 32))),.1) | |
| 7340 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15 - 8 * math.cos(sine / 74)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(31 + 8 * math.cos(sine / 38))),.1) | |
| 7341 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(16 - 2 * math.cos(sine / 32)),math.rad(3),math.rad(10 - 4 * math.cos(sine / 67))),.1) | |
| 7342 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 8 * math.cos(sine / 37)),math.rad(-21 + 2 * math.cos(sine / 58)),math.rad(-10 + 2 * math.cos(sine / 53))),.1) | |
| 7343 | RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.15)*angles(math.rad(-5 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 14 * math.cos(sine / 45))),.1) | |
| 7344 | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(35 - 8 * math.cos(sine / 51))),.1) | |
| 7345 | end | |
| 7346 | hum.WalkSpeed = storehumanoidWS | |
| 7347 | attack = false | |
| 7348 | end)) | |
| 7349 | CFuncs["Sound"].Create("rbxassetid://430315987", char, 5, 1,0,10,0.10,0.25,1)
| |
| 7350 | local radm = math.random(1,3) | |
| 7351 | if radm == 1 then | |
| 7352 | bosschatfunc("YAHHHH!!!",MAINRUINCOLOR.Color,1)
| |
| 7353 | elseif radm == 2 then | |
| 7354 | bosschatfunc("TAKE THAT!!",MAINRUINCOLOR.Color,1)
| |
| 7355 | elseif radm == 3 then | |
| 7356 | bosschatfunc("CONSUMED!!!",MAINRUINCOLOR.Color,1)
| |
| 7357 | end | |
| 7358 | local keptcolor = MAINRUINCOLOR | |
| 7359 | local orb = Instance.new("Part", char)
| |
| 7360 | orb.BrickColor = keptcolor | |
| 7361 | orb.CanCollide = false | |
| 7362 | orb.FormFactor = 3 | |
| 7363 | orb.Name = "Ring" | |
| 7364 | orb.Material = "Neon" | |
| 7365 | orb.Size = Vector3.new(1, 1, 1) | |
| 7366 | orb.Transparency = 1 | |
| 7367 | orb.TopSurface = 0 | |
| 7368 | orb.BottomSurface = 0 | |
| 7369 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 7370 | orbm.MeshType = "Sphere" | |
| 7371 | orbm.Name = "SizeMesh" | |
| 7372 | orbm.Scale = vt(22.5,10000,22.5) | |
| 7373 | orb.CFrame = mouse.Hit | |
| 7374 | orb.Anchored = true | |
| 7375 | orb.Orientation = vt(0,0,0) | |
| 7376 | orb.CFrame = orb.CFrame*CFrame.new(0,1,0) | |
| 7377 | CFuncs["LongSound"].Create("rbxassetid://1545630949", char, 0.5, 1.2)
| |
| 7378 | coroutine.resume(coroutine.create(function() | |
| 7379 | coroutine.resume(coroutine.create(function() | |
| 7380 | for i = 0, 175 do | |
| 7381 | swait() | |
| 7382 | orbm.Scale = orbm.Scale - vt(0.1,0,0.1) | |
| 7383 | orb.Transparency = orb.Transparency - 0.005 | |
| 7384 | end | |
| 7385 | end)) | |
| 7386 | wait(2) | |
| 7387 | coroutine.resume(coroutine.create(function() | |
| 7388 | local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char) | |
| 7389 | if hfr ~= nil then | |
| 7390 | for i = 0, 24.5 do | |
| 7391 | local deb = Instance.new("Part", char)
| |
| 7392 | deb.Anchored = true | |
| 7393 | deb.CanCollide = false | |
| 7394 | deb.FormFactor = 3 | |
| 7395 | deb.Name = "Ring" | |
| 7396 | deb.Material = hitfloor.Material | |
| 7397 | deb.Color = hitfloor.Color | |
| 7398 | deb.Size = vt(math.random(50,55),math.random(50,55),math.random(50,55)) | |
| 7399 | deb.Transparency = 0 | |
| 7400 | deb.TopSurface = 0 | |
| 7401 | deb.BottomSurface = 0 | |
| 7402 | deb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),-5,math.random(-150,150))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
| 7403 | local deb2 = Instance.new("Part", char)
| |
| 7404 | deb2.CanCollide = false | |
| 7405 | deb2.FormFactor = 3 | |
| 7406 | deb2.Name = "Ring" | |
| 7407 | deb2.Material = hitfloor.Material | |
| 7408 | deb2.Color = hitfloor.Color | |
| 7409 | deb2.Size = vt(math.random(34,38),math.random(34,38),math.random(34,38)) | |
| 7410 | deb2.Transparency = 0 | |
| 7411 | deb2.TopSurface = 0 | |
| 7412 | deb2.BottomSurface = 0 | |
| 7413 | deb2.Velocity = vt(math.random(-150,150),math.random(250,650),math.random(-150,150)) | |
| 7414 | deb2.CFrame = orb.CFrame*CFrame.new(math.random(-60,60),-5,math.random(-60,60))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
| 7415 | local eff = Instance.new("ParticleEmitter",deb)
| |
| 7416 | eff.Texture = "rbxassetid://363275192" | |
| 7417 | eff.LightEmission = 0.95 | |
| 7418 | eff.Color = ColorSequence.new(keptcolor.Color) | |
| 7419 | eff.Rate = 100 | |
| 7420 | eff.Lifetime = NumberRange.new(1) | |
| 7421 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,40,0),NumberSequenceKeypoint.new(1,45,0)})
| |
| 7422 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 7423 | eff.Speed = NumberRange.new(0,5) | |
| 7424 | eff.Rotation = NumberRange.new(-500,500) | |
| 7425 | eff.VelocitySpread = 9000 | |
| 7426 | eff.RotSpeed = NumberRange.new(-10,10) | |
| 7427 | local at1 = Instance.new('Attachment',deb2)
| |
| 7428 | at1.Position = vt(0,15,0) | |
| 7429 | local at2 = Instance.new('Attachment',deb2)
| |
| 7430 | at2.Position = vt(0,-15,0) | |
| 7431 | local tl = Instance.new('Trail',deb2)
| |
| 7432 | tl.Attachment0 = at1 | |
| 7433 | tl.Attachment1 = at2 | |
| 7434 | tl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 7435 | tl.Color = ColorSequence.new(BrickColor.new('White').Color)
| |
| 7436 | tl.Lifetime = 1 | |
| 7437 | game:GetService("Debris"):AddItem(deb,30)
| |
| 7438 | game:GetService("Debris"):AddItem(deb2,30)
| |
| 7439 | coroutine.resume(coroutine.create(function() | |
| 7440 | wait(15) | |
| 7441 | eff.Enabled = false | |
| 7442 | for i = 0, 49 do | |
| 7443 | swait() | |
| 7444 | deb.Transparency = deb.Transparency + 0.02 | |
| 7445 | end | |
| 7446 | wait(1) | |
| 7447 | deb:Destroy() | |
| 7448 | end)) | |
| 7449 | end | |
| 7450 | end | |
| 7451 | end)) | |
| 7452 | for i = 0, 199 do | |
| 7453 | swait(1.5) | |
| 7454 | for i, v in pairs(FindNearestHead(orb.CFrame.p, 175)) do | |
| 7455 | if v:FindFirstChild('Head') then
| |
| 7456 | dmg(v) | |
| 7457 | end | |
| 7458 | end | |
| 7459 | CFuncs["Sound"].Create("rbxassetid://1666361078", orb, 30,1)
| |
| 7460 | sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),5,5,5,keptcolor) | |
| 7461 | sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),1,35,1,keptcolor) | |
| 7462 | sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),0,50,0,keptcolor) | |
| 7463 | sphere2(5,"Add",orb.CFrame,vt(10,100000,10),2,2,2,keptcolor) | |
| 7464 | end | |
| 7465 | orb:Destroy() | |
| 7466 | end)) | |
| 7467 | end | |
| 7468 | ||
| 7469 | function Beams() | |
| 7470 | attack = true | |
| 7471 | hum.WalkSpeed = 0 | |
| 7472 | CFuncs["EchoSound"].Create("rbxassetid://1436242274", char, 8, 1,0,10,0.15,0.5,1)
| |
| 7473 | CFuncs["EchoSound"].Create("rbxassetid://1436242274", root, 60, 1,0,10,0.15,0.5,1)
| |
| 7474 | bosschatfunc("You'll gone..",MAINRUINCOLOR.Color,2)
| |
| 7475 | local keptcolor = MAINRUINCOLOR | |
| 7476 | coroutine.resume(coroutine.create(function() | |
| 7477 | for i = 0, 96 do | |
| 7478 | swait(5) | |
| 7479 | local orb = Instance.new("Part", char)
| |
| 7480 | CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
| |
| 7481 | orb.BrickColor = keptcolor | |
| 7482 | orb.CanCollide = false | |
| 7483 | orb.FormFactor = 3 | |
| 7484 | orb.Name = "Ring" | |
| 7485 | orb.Material = "Neon" | |
| 7486 | orb.Size = Vector3.new(1, 1, 1) | |
| 7487 | orb.Transparency = 0 | |
| 7488 | orb.TopSurface = 0 | |
| 7489 | orb.BottomSurface = 0 | |
| 7490 | orb.Anchored = true | |
| 7491 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 7492 | orbm.MeshType = "Sphere" | |
| 7493 | orbm.Name = "SizeMesh" | |
| 7494 | orbm.Scale = vt(1.25,1.25,1.25) | |
| 7495 | orb.CFrame = root.CFrame*CFrame.new(math.random(-6,6),math.random(3,9),math.random(-6,6)) | |
| 7496 | sphere2(6,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor) | |
| 7497 | coroutine.resume(coroutine.create(function() | |
| 7498 | wait(0.5) | |
| 7499 | CFuncs["Sound"].Create("rbxassetid://161006182", orb, 2.5, 1.1)
| |
| 7500 | sphere2(3,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor) | |
| 7501 | sphere2(4,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor) | |
| 7502 | orb.Transparency = 1 | |
| 7503 | local a = Instance.new("Part",char)
| |
| 7504 | a.Name = "Direction" | |
| 7505 | a.Anchored = true | |
| 7506 | a.BrickColor = keptcolor | |
| 7507 | a.Material = "Neon" | |
| 7508 | a.Transparency = 0.25 | |
| 7509 | a.Shape = "Cylinder" | |
| 7510 | local ht = Instance.new("Part",char)
| |
| 7511 | ht.Name = "DirectionHit" | |
| 7512 | ht.Anchored = true | |
| 7513 | ht.BrickColor = keptcolor | |
| 7514 | ht.CanCollide = false | |
| 7515 | ht.Transparency = 1 | |
| 7516 | ht.Size = vt(0.1,0.1,0.1) | |
| 7517 | CFuncs["Sound"].Create("rbxassetid://183763487", ht, 2, 1.6)
| |
| 7518 | a.CanCollide = false | |
| 7519 | local ray = Ray.new( | |
| 7520 | orb.CFrame.p, -- origin | |
| 7521 | (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction | |
| 7522 | ) | |
| 7523 | local ignore = char | |
| 7524 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 7525 | a.BottomSurface = 10 | |
| 7526 | a.TopSurface = 10 | |
| 7527 | local distance = (orb.CFrame.p - position).magnitude | |
| 7528 | a.Size = Vector3.new(distance,1,1) | |
| 7529 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 7530 | ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 7531 | sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor) | |
| 7532 | sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor) | |
| 7533 | MagniDamage(ht, 9, 30,60, 0, "Normal") | |
| 7534 | coroutine.resume(coroutine.create(function() | |
| 7535 | local eff = Instance.new("ParticleEmitter",ht)
| |
| 7536 | eff.Texture = "rbxassetid://284205403" | |
| 7537 | eff.LightEmission = 0.95 | |
| 7538 | eff.Color = ColorSequence.new(keptcolor.Color) | |
| 7539 | eff.Rate = 500 | |
| 7540 | eff.Lifetime = NumberRange.new(0.5) | |
| 7541 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.2,2.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
| |
| 7542 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 7543 | eff.Speed = NumberRange.new(10,50) | |
| 7544 | eff.Drag = 5 | |
| 7545 | eff.Rotation = NumberRange.new(-500,500) | |
| 7546 | eff.VelocitySpread = 9000 | |
| 7547 | eff.RotSpeed = NumberRange.new(-500,500) | |
| 7548 | wait(0.25) | |
| 7549 | eff.Enabled = false | |
| 7550 | end)) | |
| 7551 | for i = 0, 4 do | |
| 7552 | sphere2(8,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.005,0.125,-0.005,keptcolor) | |
| 7553 | sphere2(4,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.01,0.5,-0.01,keptcolor) | |
| 7554 | local rsiz = math.random(10,30) | |
| 7555 | sphereMK(math.random(2,4),0.25,"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0) | |
| 7556 | end | |
| 7557 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 7558 | local msh = Instance.new("SpecialMesh",a)
| |
| 7559 | msh.MeshType = "Cylinder" | |
| 7560 | msh.Scale = vt(1,1,1) | |
| 7561 | for i = 0, 49 do | |
| 7562 | swait() | |
| 7563 | msh.Scale = msh.Scale + vt(0,0.01,0.01) | |
| 7564 | a.Transparency = a.Transparency + 0.02 | |
| 7565 | end | |
| 7566 | orb:Destroy() | |
| 7567 | a:Destroy() | |
| 7568 | ht:Destroy() | |
| 7569 | end)) | |
| 7570 | game:GetService("Debris"):AddItem(orb, 10)
| |
| 7571 | end | |
| 7572 | end)) | |
| 7573 | for i = 0,6,0.1 do | |
| 7574 | swait() | |
| 7575 | sphere2(7,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,keptcolor) | |
| 7576 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.2 * math.cos(sine / 35))* angles(math.rad(0),math.rad(0),math.rad(40)),0.3) | |
| 7577 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(-40)),.3) | |
| 7578 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(10)), 0.3) | |
| 7579 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(6), math.rad(20), math.rad(-10)), 0.3) | |
| 7580 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 6 * math.cos(sine / 39))),.1) | |
| 7581 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 45))),.1) | |
| 7582 | end | |
| 7583 | hum.WalkSpeed = storehumanoidWS | |
| 7584 | attack = false | |
| 7585 | end | |
| 7586 | ||
| 7587 | function CalamityTrans() | |
| 7588 | attack = true | |
| 7589 | rainbowmode = false | |
| 7590 | chaosmode = false | |
| 7591 | ModeOfGlitch = 8889 | |
| 7592 | hum.WalkSpeed = 0 | |
| 7593 | newThemeCust("rbxassetid://723652641",0,1,1.25)
| |
| 7594 | local elocacenter = CreateParta(root,1,1,"SmoothPlastic",BrickColor.random()) | |
| 7595 | elocacenter.Anchored = true | |
| 7596 | elocacenter.CFrame = root.CFrame | |
| 7597 | local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random()) | |
| 7598 | eloca1.Anchored = true | |
| 7599 | eloca1.CFrame = elocacenter.CFrame | |
| 7600 | local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random()) | |
| 7601 | eloca2.Anchored = true | |
| 7602 | eloca2.CFrame = elocacenter.CFrame | |
| 7603 | local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random()) | |
| 7604 | eloca3.Anchored = true | |
| 7605 | eloca3.CFrame = elocacenter.CFrame | |
| 7606 | local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random()) | |
| 7607 | eloca4.Anchored = true | |
| 7608 | eloca4.CFrame = elocacenter.CFrame | |
| 7609 | local lookavec = 0 | |
| 7610 | local speeds = 0 | |
| 7611 | CameraEnshaking(3,2.5) | |
| 7612 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR) | |
| 7613 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR) | |
| 7614 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR) | |
| 7615 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR) | |
| 7616 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR) | |
| 7617 | CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
| |
| 7618 | CFuncs["Sound"].Create("rbxassetid://1192402877", root, 10, 1)
| |
| 7619 | for i = 0, 5, 0.1 do | |
| 7620 | swait() | |
| 7621 | --- | |
| 7622 | lookavec = lookavec + 1 | |
| 7623 | speeds = speeds + 10 | |
| 7624 | elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
| 7625 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
| 7626 | PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2) | |
| 7627 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
| 7628 | PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2) | |
| 7629 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
| 7630 | PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2) | |
| 7631 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
| 7632 | PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2) | |
| 7633 | --- | |
| 7634 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1) | |
| 7635 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1) | |
| 7636 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
| 7637 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1) | |
| 7638 | RW.C0=clerp(RW.C0,cf(1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1) | |
| 7639 | LW.C0=clerp(LW.C0,cf(-1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90 - 2.5 * math.cos(sine / 28))),.1) | |
| 7640 | end | |
| 7641 | for i = 0, 5, 0.1 do | |
| 7642 | swait() | |
| 7643 | --- | |
| 7644 | speeds = speeds + 10 | |
| 7645 | elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
| 7646 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
| 7647 | PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2) | |
| 7648 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
| 7649 | PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2) | |
| 7650 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
| 7651 | PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2) | |
| 7652 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
| 7653 | PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2) | |
| 7654 | --- | |
| 7655 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1) | |
| 7656 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1) | |
| 7657 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
| 7658 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1) | |
| 7659 | RW.C0=clerp(RW.C0,cf(1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1) | |
| 7660 | LW.C0=clerp(LW.C0,cf(-1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90 - 2.5 * math.cos(sine / 28))),.1) | |
| 7661 | end | |
| 7662 | MAINRUINCOLOR = BrickColor.new("Bright violet")
| |
| 7663 | CFuncs["Sound"].Create("rbxassetid://468991944", eloca1, 5, 1)
| |
| 7664 | CFuncs["Sound"].Create("rbxassetid://468991944", eloca2, 5, 1)
| |
| 7665 | CFuncs["Sound"].Create("rbxassetid://468991944", eloca3, 5, 1)
| |
| 7666 | CFuncs["Sound"].Create("rbxassetid://468991944", eloca4, 5, 1)
| |
| 7667 | CameraEnshaking(1,3) | |
| 7668 | for i = 0, 24 do | |
| 7669 | PixelBlock(1,math.random(5,25),"Add",eloca1.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,5,0.1,MAINRUINCOLOR,0) | |
| 7670 | PixelBlock(1,math.random(5,25),"Add",eloca2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,5,0.1,MAINRUINCOLOR,0) | |
| 7671 | PixelBlock(1,math.random(5,25),"Add",eloca3.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,5,0.1,MAINRUINCOLOR,0) | |
| 7672 | PixelBlock(1,math.random(5,25),"Add",eloca4.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,5,0.1,MAINRUINCOLOR,0) | |
| 7673 | end | |
| 7674 | sphere(1,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 7675 | sphere(2,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 7676 | sphere(3,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 7677 | sphere(1,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 7678 | sphere(2,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 7679 | sphere(3,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 7680 | sphere(1,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 7681 | sphere(2,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 7682 | sphere(3,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 7683 | sphere(1,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 7684 | sphere(2,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 7685 | sphere(3,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 7686 | for i = 0, 5, 0.1 do | |
| 7687 | swait() | |
| 7688 | --- | |
| 7689 | lookavec = lookavec - 1 | |
| 7690 | speeds = speeds + 10 | |
| 7691 | elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
| 7692 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
| 7693 | PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2) | |
| 7694 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
| 7695 | PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2) | |
| 7696 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
| 7697 | PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2) | |
| 7698 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
| 7699 | PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2) | |
| 7700 | --- | |
| 7701 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1) | |
| 7702 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1) | |
| 7703 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
| 7704 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1) | |
| 7705 | RW.C0=clerp(RW.C0,cf(1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1) | |
| 7706 | LW.C0=clerp(LW.C0,cf(-1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90 - 2.5 * math.cos(sine / 28))),.1) | |
| 7707 | end | |
| 7708 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR) | |
| 7709 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR) | |
| 7710 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR) | |
| 7711 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR) | |
| 7712 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR) | |
| 7713 | for i = 0, 49 do | |
| 7714 | PixelBlock(1,math.random(8,16),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,10,0.2,MAINRUINCOLOR,0) | |
| 7715 | PixelBlock(2,math.random(16,32),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,5,0.05,MAINRUINCOLOR,0) | |
| 7716 | end | |
| 7717 | CameraEnshaking(5,6) | |
| 7718 | CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
| |
| 7719 | CFuncs["Sound"].Create("rbxassetid://151304356", root, 5,1)
| |
| 7720 | CFuncs["Sound"].Create("rbxassetid://741272936", root, 5, 1)
| |
| 7721 | CFuncs["Sound"].Create("rbxassetid://164881112", root, 5, 1)
| |
| 7722 | CFuncs["Sound"].Create("rbxassetid://1192402877", root, 5, 1)
| |
| 7723 | CFuncs["Sound"].Create("rbxassetid://429123896", root, 5, 0.85)
| |
| 7724 | CFuncs["Sound"].Create("rbxassetid://1208650519", root, 5, 1)
| |
| 7725 | storehumanoidWS = 100 | |
| 7726 | hum.WalkSpeed = 100 | |
| 7727 | rainbowmode = false | |
| 7728 | chaosmode = false | |
| 7729 | tl1.Enabled = true | |
| 7730 | tl2.Enabled = true | |
| 7731 | tl3.Enabled = true | |
| 7732 | RecolorTextAndRename("Galactical Guest",Color3.new(10,1,1),Color3.new(0.5,0,1),"Code")
| |
| 7733 | tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 7734 | tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 7735 | tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 7736 | for i, v in pairs(mw2:GetChildren()) do | |
| 7737 | if v:IsA("Part") then
| |
| 7738 | v.BrickColor = MAINRUINCOLOR | |
| 7739 | v.Material = "Neon" | |
| 7740 | end | |
| 7741 | end | |
| 7742 | for i, v in pairs(mw1:GetChildren()) do | |
| 7743 | if v:IsA("Part") then
| |
| 7744 | v.Transparency = 0 | |
| 7745 | v.BrickColor = MAINRUINCOLOR | |
| 7746 | v.Material = "Neon" | |
| 7747 | end | |
| 7748 | end | |
| 7749 | for i, v in pairs(m:GetChildren()) do | |
| 7750 | if v:IsA("Part") then
| |
| 7751 | v.Color = Color3.new(0.5,0,1) | |
| 7752 | v.Material = "Neon" | |
| 7753 | end | |
| 7754 | end | |
| 7755 | for i, v in pairs(m2:GetChildren()) do | |
| 7756 | if v:IsA("Part") then
| |
| 7757 | v.Color = Color3.new(0.25,0,1) | |
| 7758 | v.Material = "Neon" | |
| 7759 | end | |
| 7760 | end | |
| 7761 | for i, v in pairs(m3:GetChildren()) do | |
| 7762 | if v:IsA("Part") then
| |
| 7763 | v.Color = Color3.new(0.45,0,1) | |
| 7764 | v.Material = "Neon" | |
| 7765 | end | |
| 7766 | end | |
| 7767 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 7768 | if v:IsA("Part") then
| |
| 7769 | v.Transparency = 0.75 | |
| 7770 | v.Color = Color3.new(0.25,0,1) | |
| 7771 | v.Material = "Neon" | |
| 7772 | end | |
| 7773 | end | |
| 7774 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 7775 | if v:IsA("Part") then
| |
| 7776 | v.Transparency = 0.75 | |
| 7777 | v.Color = Color3.new(0.5,0,1) | |
| 7778 | v.Material = "Neon" | |
| 7779 | end | |
| 7780 | end | |
| 7781 | attack = false | |
| 7782 | end | |
| 7783 | ||
| 7784 | function InsaneTrans() | |
| 7785 | attack = true | |
| 7786 | rainbowmode = false | |
| 7787 | chaosmode = false | |
| 7788 | ModeOfGlitch = 8889 | |
| 7789 | hum.WalkSpeed = 0 | |
| 7790 | newThemeCust("rbxassetid://183142252",1,1,10)
| |
| 7791 | local elocacenter = CreateParta(root,1,1,"SmoothPlastic",BrickColor.random()) | |
| 7792 | elocacenter.Anchored = true | |
| 7793 | elocacenter.CFrame = root.CFrame | |
| 7794 | local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random()) | |
| 7795 | eloca1.Anchored = true | |
| 7796 | eloca1.CFrame = elocacenter.CFrame | |
| 7797 | local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random()) | |
| 7798 | eloca2.Anchored = true | |
| 7799 | eloca2.CFrame = elocacenter.CFrame | |
| 7800 | local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random()) | |
| 7801 | eloca3.Anchored = true | |
| 7802 | eloca3.CFrame = elocacenter.CFrame | |
| 7803 | local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random()) | |
| 7804 | eloca4.Anchored = true | |
| 7805 | eloca4.CFrame = elocacenter.CFrame | |
| 7806 | local lookavec = 0 | |
| 7807 | local speeds = 0 | |
| 7808 | CameraEnshaking(3,2.5) | |
| 7809 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR) | |
| 7810 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR) | |
| 7811 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR) | |
| 7812 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR) | |
| 7813 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR) | |
| 7814 | CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
| |
| 7815 | CFuncs["Sound"].Create("rbxassetid://1192402877", root, 10, 1)
| |
| 7816 | for i = 0, 5, 0.1 do | |
| 7817 | swait() | |
| 7818 | --- | |
| 7819 | lookavec = lookavec + 1 | |
| 7820 | speeds = speeds + 10 | |
| 7821 | elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
| 7822 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
| 7823 | PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2) | |
| 7824 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
| 7825 | PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2) | |
| 7826 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
| 7827 | PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2) | |
| 7828 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
| 7829 | PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2) | |
| 7830 | --- | |
| 7831 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1) | |
| 7832 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1) | |
| 7833 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
| 7834 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1) | |
| 7835 | RW.C0=clerp(RW.C0,cf(1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1) | |
| 7836 | LW.C0=clerp(LW.C0,cf(-1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90 - 2.5 * math.cos(sine / 28))),.1) | |
| 7837 | end | |
| 7838 | for i = 0, 5, 0.1 do | |
| 7839 | swait() | |
| 7840 | --- | |
| 7841 | speeds = speeds + 10 | |
| 7842 | elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
| 7843 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
| 7844 | PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2) | |
| 7845 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
| 7846 | PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2) | |
| 7847 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
| 7848 | PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2) | |
| 7849 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
| 7850 | PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2) | |
| 7851 | --- | |
| 7852 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1) | |
| 7853 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1) | |
| 7854 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
| 7855 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1) | |
| 7856 | RW.C0=clerp(RW.C0,cf(1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1) | |
| 7857 | LW.C0=clerp(LW.C0,cf(-1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90 - 2.5 * math.cos(sine / 28))),.1) | |
| 7858 | end | |
| 7859 | MAINRUINCOLOR = BrickColor.new("Really black")
| |
| 7860 | CFuncs["Sound"].Create("rbxassetid://468991944", eloca1, 5, 1)
| |
| 7861 | CFuncs["Sound"].Create("rbxassetid://468991944", eloca2, 5, 1)
| |
| 7862 | CFuncs["Sound"].Create("rbxassetid://468991944", eloca3, 5, 1)
| |
| 7863 | CFuncs["Sound"].Create("rbxassetid://468991944", eloca4, 5, 1)
| |
| 7864 | CameraEnshaking(1,3) | |
| 7865 | for i = 0, 24 do | |
| 7866 | PixelBlock(1,math.random(5,25),"Add",eloca1.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,5,0.1,MAINRUINCOLOR,0) | |
| 7867 | PixelBlock(1,math.random(5,25),"Add",eloca2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,5,0.1,MAINRUINCOLOR,0) | |
| 7868 | PixelBlock(1,math.random(5,25),"Add",eloca3.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,5,0.1,MAINRUINCOLOR,0) | |
| 7869 | PixelBlock(1,math.random(5,25),"Add",eloca4.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,5,0.1,MAINRUINCOLOR,0) | |
| 7870 | end | |
| 7871 | sphere(1,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 7872 | sphere(2,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 7873 | sphere(3,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 7874 | sphere(1,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 7875 | sphere(2,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 7876 | sphere(3,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 7877 | sphere(1,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 7878 | sphere(2,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 7879 | sphere(3,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 7880 | sphere(1,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 7881 | sphere(2,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 7882 | sphere(3,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 7883 | for i = 0, 5, 0.1 do | |
| 7884 | swait() | |
| 7885 | --- | |
| 7886 | lookavec = lookavec - 1 | |
| 7887 | speeds = speeds + 10 | |
| 7888 | elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
| 7889 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
| 7890 | PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2) | |
| 7891 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
| 7892 | PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2) | |
| 7893 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
| 7894 | PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2) | |
| 7895 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
| 7896 | PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2) | |
| 7897 | --- | |
| 7898 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1) | |
| 7899 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1) | |
| 7900 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
| 7901 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1) | |
| 7902 | RW.C0=clerp(RW.C0,cf(1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1) | |
| 7903 | LW.C0=clerp(LW.C0,cf(-1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90 - 2.5 * math.cos(sine / 28))),.1) | |
| 7904 | end | |
| 7905 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR) | |
| 7906 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR) | |
| 7907 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR) | |
| 7908 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR) | |
| 7909 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR) | |
| 7910 | for i = 0, 49 do | |
| 7911 | PixelBlock(1,math.random(8,16),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,10,0.2,MAINRUINCOLOR,0) | |
| 7912 | PixelBlock(2,math.random(16,32),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,5,0.05,MAINRUINCOLOR,0) | |
| 7913 | end | |
| 7914 | CameraEnshaking(5,6) | |
| 7915 | CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
| |
| 7916 | CFuncs["Sound"].Create("rbxassetid://151304356", root, 5,1)
| |
| 7917 | CFuncs["Sound"].Create("rbxassetid://741272936", root, 5, 1)
| |
| 7918 | CFuncs["Sound"].Create("rbxassetid://164881112", root, 5, 1)
| |
| 7919 | CFuncs["Sound"].Create("rbxassetid://1192402877", root, 5, 1)
| |
| 7920 | CFuncs["Sound"].Create("rbxassetid://429123896", root, 5, 0.85)
| |
| 7921 | CFuncs["Sound"].Create("rbxassetid://1208650519", root, 5, 1)
| |
| 7922 | storehumanoidWS = 100 | |
| 7923 | hum.WalkSpeed = 100 | |
| 7924 | rainbowmode = false | |
| 7925 | chaosmode = false | |
| 7926 | tl1.Enabled = true | |
| 7927 | tl2.Enabled = true | |
| 7928 | tl3.Enabled = true | |
| 7929 | RecolorTextAndRename("The Insane Guest",Color3.new(170,0,0),Color3.new(0,0,0),"Antique")
| |
| 7930 | tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 7931 | tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 7932 | tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 7933 | for i, v in pairs(mw2:GetChildren()) do | |
| 7934 | if v:IsA("Part") then
| |
| 7935 | v.BrickColor = MAINRUINCOLOR | |
| 7936 | v.Material = "Neon" | |
| 7937 | end | |
| 7938 | end | |
| 7939 | for i, v in pairs(mw1:GetChildren()) do | |
| 7940 | if v:IsA("Part") then
| |
| 7941 | v.Transparency = 0 | |
| 7942 | v.BrickColor = MAINRUINCOLOR | |
| 7943 | v.Material = "Neon" | |
| 7944 | end | |
| 7945 | end | |
| 7946 | for i, v in pairs(m:GetChildren()) do | |
| 7947 | if v:IsA("Part") then
| |
| 7948 | v.Color = Color3.new(170,0,0) | |
| 7949 | v.Material = "Neon" | |
| 7950 | end | |
| 7951 | end | |
| 7952 | for i, v in pairs(m2:GetChildren()) do | |
| 7953 | if v:IsA("Part") then
| |
| 7954 | v.Color = Color3.new(0,0,0) | |
| 7955 | v.Material = "Neon" | |
| 7956 | end | |
| 7957 | end | |
| 7958 | for i, v in pairs(m3:GetChildren()) do | |
| 7959 | if v:IsA("Part") then
| |
| 7960 | v.Color = Color3.new(0,0,0) | |
| 7961 | v.Material = "Neon" | |
| 7962 | end | |
| 7963 | end | |
| 7964 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 7965 | if v:IsA("Part") then
| |
| 7966 | v.Transparency = 0.75 | |
| 7967 | v.Color = Color3.new(0,0,0) | |
| 7968 | v.Material = "Neon" | |
| 7969 | end | |
| 7970 | end | |
| 7971 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 7972 | if v:IsA("Part") then
| |
| 7973 | v.Transparency = 0.75 | |
| 7974 | v.Color = Color3.new(0,0,0) | |
| 7975 | v.Material = "Neon" | |
| 7976 | end | |
| 7977 | end | |
| 7978 | attack = false | |
| 7979 | end | |
| 7980 | ||
| 7981 | function GleamingBeam() | |
| 7982 | attack = true | |
| 7983 | bosschatfunc("IT ENDS NOW!!!",MAINRUINCOLOR.Color,3)
| |
| 7984 | CFuncs["EchoSound"].Create("rbxassetid://1535995570", char, 8, 1,0,10,0.15,0.5,1)
| |
| 7985 | CFuncs["EchoSound"].Create("rbxassetid://1535995570", root, 60, 1,0,10,0.15,0.5,1)
| |
| 7986 | local rsiz = math.random(1,15) | |
| 7987 | local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) | |
| 7988 | hb.Anchored = true | |
| 7989 | hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0) | |
| 7990 | CFuncs["Sound"].Create("rbxassetid://1042700914", sorb, 8,0.25)
| |
| 7991 | for i = 0, 16, 0.1 do | |
| 7992 | swait() | |
| 7993 | rsiz = math.random(5,15) | |
| 7994 | hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0) | |
| 7995 | sphereMK(math.random(3,9),0.25,"Add",sorb.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,-15) | |
| 7996 | sphere2(5,"Add",sorb.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4,4,4),0.01,0.01,0.01,MAINRUINCOLOR) | |
| 7997 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1) | |
| 7998 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1) | |
| 7999 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(40)),.1) | |
| 8000 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(-40)),.1) | |
| 8001 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1) | |
| 8002 | LW.C0=clerp(LW.C0,cf(-1.25,0.5,0.5)*angles(math.rad(-20),math.rad(0),math.rad(20)),.1) | |
| 8003 | end | |
| 8004 | CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 10,0.6)
| |
| 8005 | CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 10,0.5)
| |
| 8006 | for i = 0, 2 do | |
| 8007 | CFuncs["Sound"].Create("rbxassetid://1042696115", sorb, 10,1)
| |
| 8008 | end | |
| 8009 | sphere2(3,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR) | |
| 8010 | sphere2(6,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR) | |
| 8011 | sphere2(9,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR) | |
| 8012 | for i = 0, 49 do | |
| 8013 | local rsiza = math.random(1,15) | |
| 8014 | sphereMK(math.random(1,5),0.75,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,MAINRUINCOLOR,0) | |
| 8015 | end | |
| 8016 | local a = Instance.new("Part",Character)
| |
| 8017 | a.Name = "Direction" | |
| 8018 | a.Anchored = true | |
| 8019 | a.BrickColor = MAINRUINCOLOR | |
| 8020 | a.Material = "Neon" | |
| 8021 | a.Transparency = 0 | |
| 8022 | a.Shape = "Cylinder" | |
| 8023 | a.CanCollide = false | |
| 8024 | local ba = Instance.new("Part",Character)
| |
| 8025 | ba.Name = "HitDirect" | |
| 8026 | ba.Anchored = true | |
| 8027 | ba.BrickColor = bc("Cool yellow")
| |
| 8028 | ba.Material = "Neon" | |
| 8029 | ba.Transparency = 1 | |
| 8030 | ba.CanCollide = false | |
| 8031 | local ray = Ray.new( | |
| 8032 | hb.CFrame.p, -- origin | |
| 8033 | (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction | |
| 8034 | ) | |
| 8035 | local ignore = Character | |
| 8036 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 8037 | a.BottomSurface = 10 | |
| 8038 | a.TopSurface = 10 | |
| 8039 | local distance = (hb.CFrame.p - position).magnitude | |
| 8040 | a.Size = Vector3.new(distance, 1, 1) | |
| 8041 | a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 8042 | ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 8043 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 8044 | local msh = Instance.new("SpecialMesh",a)
| |
| 8045 | msh.MeshType = "Cylinder" | |
| 8046 | msh.Scale = vt(1,4,4) | |
| 8047 | game:GetService("Debris"):AddItem(a, 30)
| |
| 8048 | game:GetService("Debris"):AddItem(ba, 30)
| |
| 8049 | for i = 0, 25, 0.1 do | |
| 8050 | swait() | |
| 8051 | hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0) | |
| 8052 | ray = Ray.new( | |
| 8053 | hb.CFrame.p, -- origin | |
| 8054 | (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction | |
| 8055 | ) | |
| 8056 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 8057 | distance = (hb.CFrame.p - position).magnitude | |
| 8058 | a.Size = Vector3.new(distance, 1, 1) | |
| 8059 | a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 8060 | ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 8061 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 8062 | rsiz = math.random(5,25) | |
| 8063 | MagniDamage(ba, 12, 40000,900000, 0, "Normal") | |
| 8064 | sphereMK(math.random(4,8),0.25,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/5,rsiz/5,rsiz/5,0,MAINRUINCOLOR,0) | |
| 8065 | for c = 0, 2 do | |
| 8066 | sphereMK(math.random(3,6),0.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/5,rsiz/5,rsiz/5,0,MAINRUINCOLOR,2) | |
| 8067 | end | |
| 8068 | sphere2(5,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4.2,4.2,4.2),0.01,0.01,0.01,MAINRUINCOLOR) | |
| 8069 | sphere2(5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(12,12,12),0.05,0.05,0.05,MAINRUINCOLOR) | |
| 8070 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.6) | |
| 8071 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.6) | |
| 8072 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(80)),.6) | |
| 8073 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(-80)),.6) | |
| 8074 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(80)),.6) | |
| 8075 | LW.C0=clerp(LW.C0,cf(-1.25,0.5,0.5)*angles(math.rad(-20),math.rad(0),math.rad(20)),.6) | |
| 8076 | end | |
| 8077 | CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 5,0.8)
| |
| 8078 | CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 5,0.9)
| |
| 8079 | CFuncs["Sound"].Create("rbxassetid://1042693018", ba, 10,0.8)
| |
| 8080 | CFuncs["Sound"].Create("rbxassetid://1042695469", ba, 10,0.9)
| |
| 8081 | MagniDamage(ba, 30, 400000,9000000, 0, "Normal") | |
| 8082 | sphere2(1,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),1,1,1,MAINRUINCOLOR) | |
| 8083 | sphere2(2,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),1,1,1,MAINRUINCOLOR) | |
| 8084 | sphere2(3,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),1,1,1,MAINRUINCOLOR) | |
| 8085 | sphere2(3,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR) | |
| 8086 | sphere2(6,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR) | |
| 8087 | sphere2(9,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR) | |
| 8088 | for i = 0, 49 do | |
| 8089 | local rsiza = math.random(1,15) | |
| 8090 | sphereMK(math.random(1,5),0.75,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,MAINRUINCOLOR,0) | |
| 8091 | end | |
| 8092 | for i = 0, 49 do | |
| 8093 | rsiz = math.random(1,8) | |
| 8094 | sphereMK(math.random(1,3),1,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz,rsiz,rsiz,0,MAINRUINCOLOR,2) | |
| 8095 | end | |
| 8096 | coroutine.resume(coroutine.create(function() | |
| 8097 | for i = 0, 99 do | |
| 8098 | swait() | |
| 8099 | a.Transparency = a.Transparency + 0.01 | |
| 8100 | end | |
| 8101 | a:Destroy() | |
| 8102 | ba:Destroy() | |
| 8103 | end)) | |
| 8104 | hb:Destroy() | |
| 8105 | attack = false | |
| 8106 | end | |
| 8107 | ||
| 8108 | function DualGleamingBeam() | |
| 8109 | attack = true | |
| 8110 | hum.WalkSpeed = 0 | |
| 8111 | CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 5, 1,0,10,0.15,0.5,1)
| |
| 8112 | CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 60, 1,0,10,0.15,0.5,1)
| |
| 8113 | local radm = math.random(1,3) | |
| 8114 | if radm == 1 then | |
| 8115 | bosschatfunc("YOU CAN'T ESCAPE THIS!!",MAINRUINCOLOR.Color,1)
| |
| 8116 | elseif radm == 2 then | |
| 8117 | bosschatfunc("HOW DO YOU LIKE THIS?!",MAINRUINCOLOR.Color,1)
| |
| 8118 | elseif radm == 3 then | |
| 8119 | bosschatfunc("You make the choice..",MAINRUINCOLOR.Color,1)
| |
| 8120 | end | |
| 8121 | local rsiz = math.random(1,15) | |
| 8122 | local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) | |
| 8123 | hb.Anchored = true | |
| 8124 | hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0) | |
| 8125 | local hb2 = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) | |
| 8126 | hb2.Anchored = true | |
| 8127 | hb2.CFrame = sorb.CFrame*CFrame.new(0,-3,0) | |
| 8128 | CFuncs["Sound"].Create("rbxassetid://1042700914", sorb, 8,0.25)
| |
| 8129 | for i = 0, 14, 0.1 do | |
| 8130 | swait() | |
| 8131 | rsiz = math.random(5,15) | |
| 8132 | hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0) | |
| 8133 | hb2.CFrame = sorb2.CFrame*CFrame.new(0,-3,0) | |
| 8134 | sphereMK(math.random(3,9),0.25,"Add",sorb.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,-15) | |
| 8135 | sphere2(5,"Add",sorb.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4,4,4),0.01,0.01,0.01,MAINRUINCOLOR) | |
| 8136 | sphereMK(math.random(3,9),0.25,"Add",sorb2.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,BrickColor.new("Lime green"),-15)
| |
| 8137 | sphere2(5,"Add",sorb2.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4,4,4),0.01,0.01,0.01,BrickColor.new("Lime green"))
| |
| 8138 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-4 - 2 * math.cos(sine / 53)),math.rad(0 - 2 * math.cos(sine / 32))),.1) | |
| 8139 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(9 - 2 * math.cos(sine / 53)),math.rad(0 + 2 * math.cos(sine / 32))),.1) | |
| 8140 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.3 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
| 8141 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(10)),.1) | |
| 8142 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(120)),.1) | |
| 8143 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-120)),.1) | |
| 8144 | end | |
| 8145 | CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 10,0.6)
| |
| 8146 | CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 10,0.5)
| |
| 8147 | CFuncs["Sound"].Create("rbxassetid://1042693018", sorb2, 10,0.6)
| |
| 8148 | CFuncs["Sound"].Create("rbxassetid://1042695469", sorb2, 10,0.5)
| |
| 8149 | CFuncs["Sound"].Create("rbxassetid://1042696115", sorb, 10,1)
| |
| 8150 | CFuncs["Sound"].Create("rbxassetid://1042696115", sorb2, 10,1)
| |
| 8151 | sphere2(3,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR) | |
| 8152 | sphere2(6,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR) | |
| 8153 | sphere2(9,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR) | |
| 8154 | sphere2(3,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,BrickColor.new("Lime green"))
| |
| 8155 | sphere2(6,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,BrickColor.new("Lime green"))
| |
| 8156 | sphere2(9,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,BrickColor.new("Lime green"))
| |
| 8157 | for i = 0, 49 do | |
| 8158 | local rsiza = math.random(1,15) | |
| 8159 | sphereMK(math.random(1,5),0.75,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,MAINRUINCOLOR,0) | |
| 8160 | sphereMK(math.random(1,5),0.75,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,MAINRUINCOLOR,0) | |
| 8161 | end | |
| 8162 | local a = Instance.new("Part",Character)
| |
| 8163 | a.Name = "Direction" | |
| 8164 | a.Anchored = true | |
| 8165 | a.BrickColor = MAINRUINCOLOR | |
| 8166 | a.Material = "Neon" | |
| 8167 | a.Transparency = 0 | |
| 8168 | a.Shape = "Cylinder" | |
| 8169 | a.CanCollide = false | |
| 8170 | local a2 = Instance.new("Part",Character)
| |
| 8171 | a2.Name = "Direction" | |
| 8172 | a2.Anchored = true | |
| 8173 | a2.BrickColor = MAINRUINCOLOR | |
| 8174 | a2.Material = "Neon" | |
| 8175 | a2.Transparency = 0 | |
| 8176 | a2.Shape = "Cylinder" | |
| 8177 | a2.CanCollide = false | |
| 8178 | local ba = Instance.new("Part",Character)
| |
| 8179 | ba.Name = "HitDirect" | |
| 8180 | ba.Anchored = true | |
| 8181 | ba.BrickColor = MAINRUINCOLOR | |
| 8182 | ba.Material = "Neon" | |
| 8183 | ba.Transparency = 1 | |
| 8184 | ba.CanCollide = false | |
| 8185 | local ba2 = Instance.new("Part",Character)
| |
| 8186 | ba2.Name = "HitDirect" | |
| 8187 | ba2.Anchored = true | |
| 8188 | ba2.BrickColor = MAINRUINCOLOR | |
| 8189 | ba2.Material = "Neon" | |
| 8190 | ba2.Transparency = 1 | |
| 8191 | ba2.CanCollide = false | |
| 8192 | local ray = Ray.new( | |
| 8193 | hb.CFrame.p, -- origin | |
| 8194 | (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction | |
| 8195 | ) | |
| 8196 | local ignore = Character | |
| 8197 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 8198 | local ray2 = Ray.new( | |
| 8199 | hb2.CFrame.p, -- origin | |
| 8200 | (mouse.Hit.p - hb2.CFrame.p).unit * 1000 -- direction | |
| 8201 | ) | |
| 8202 | local hit2, position2, normal2 = workspace:FindPartOnRay(ray2, ignore) | |
| 8203 | local distance2 = (hb2.CFrame.p - position).magnitude | |
| 8204 | ||
| 8205 | a.BottomSurface = 10 | |
| 8206 | a.TopSurface = 10 | |
| 8207 | local distance = (hb.CFrame.p - position).magnitude | |
| 8208 | a.Size = Vector3.new(distance, 1, 1) | |
| 8209 | a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 8210 | a2.BottomSurface = 10 | |
| 8211 | a2.TopSurface = 10 | |
| 8212 | a2.Size = Vector3.new(distance2, 1, 1) | |
| 8213 | a2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2/2) | |
| 8214 | ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 8215 | ba2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2) | |
| 8216 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 8217 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 8218 | local msh = Instance.new("SpecialMesh",a)
| |
| 8219 | msh.MeshType = "Cylinder" | |
| 8220 | msh.Scale = vt(1,4,4) | |
| 8221 | local msh2 = Instance.new("SpecialMesh",a2)
| |
| 8222 | msh2.MeshType = "Cylinder" | |
| 8223 | msh2.Scale = vt(1,4,4) | |
| 8224 | game:GetService("Debris"):AddItem(a, 30)
| |
| 8225 | game:GetService("Debris"):AddItem(a2, 30)
| |
| 8226 | game:GetService("Debris"):AddItem(ba, 30)
| |
| 8227 | game:GetService("Debris"):AddItem(ba2, 30)
| |
| 8228 | for i = 0, 20, 0.1 do | |
| 8229 | swait() | |
| 8230 | hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0) | |
| 8231 | hb2.CFrame = sorb2.CFrame*CFrame.new(0,-3,0) | |
| 8232 | ray = Ray.new( | |
| 8233 | hb.CFrame.p, -- origin | |
| 8234 | (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction | |
| 8235 | ) | |
| 8236 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 8237 | distance = (hb.CFrame.p - position).magnitude | |
| 8238 | ray2 = Ray.new( | |
| 8239 | hb2.CFrame.p, -- origin | |
| 8240 | (mouse.Hit.p - hb2.CFrame.p).unit * 1000 -- direction | |
| 8241 | ) | |
| 8242 | hit2, position2, normal2 = workspace:FindPartOnRay(ray2, ignore) | |
| 8243 | distance2 = (hb2.CFrame.p - position).magnitude | |
| 8244 | a.Size = Vector3.new(distance, 1, 1) | |
| 8245 | a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 8246 | a2.Size = Vector3.new(distance2, 1, 1) | |
| 8247 | a2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2/2) | |
| 8248 | ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 8249 | ba2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2) | |
| 8250 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 8251 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 8252 | rsiz = math.random(5,25) | |
| 8253 | MagniDamage(ba, 12, 800,18000, 0, "Normal") | |
| 8254 | MagniDamage(ba2, 12, 800,18000, 0, "Normal") | |
| 8255 | for i, v in pairs(FindNearestHead(ba.CFrame.p, 4)) do | |
| 8256 | if v:FindFirstChild('Head') then
| |
| 8257 | dmg(v) | |
| 8258 | end | |
| 8259 | end | |
| 8260 | coroutine.resume(coroutine.create(function() | |
| 8261 | local bx = Instance.new("Part",Character)
| |
| 8262 | bx.Name = "Location" | |
| 8263 | bx.Anchored = true | |
| 8264 | bx.BrickColor = MAINRUINCOLOR | |
| 8265 | bx.Material = "Neon" | |
| 8266 | bx.Transparency = 1 | |
| 8267 | bx.CanCollide = false | |
| 8268 | bx.Position = ba.Position | |
| 8269 | sphere2(2,"Add",bx.CFrame,vt(20,0.5,20),0.001,0,0.001,MAINRUINCOLOR) | |
| 8270 | wait(math.random(1,2)) | |
| 8271 | sphere2(4,"Add",bx.CFrame,vt(5,10000,5),0.1,0,0.1,bc("Lime green"))
| |
| 8272 | sphere2(4,"Add",bx.CFrame,vt(5,10000,5),0.25,0,0.25,MAINRUINCOLOR) | |
| 8273 | sphere2(6,"Add",bx.CFrame,vt(10,10,10),0.5,0.5,0.5,bc("Lime green"))
| |
| 8274 | CFuncs["Sound"].Create("rbxassetid://1042693018", bx, 5,0.7)
| |
| 8275 | CFuncs["Sound"].Create("rbxassetid://1042695469", bx, 5,0.8)
| |
| 8276 | MagniDamage(bx, 20, 80000,900000, 0, "Normal") | |
| 8277 | for i, v in pairs(FindNearestHead(bx.CFrame.p, 15)) do | |
| 8278 | if v:FindFirstChild('Head') then
| |
| 8279 | dmg(v) | |
| 8280 | end | |
| 8281 | end | |
| 8282 | wait(5) | |
| 8283 | bx:Destroy() | |
| 8284 | end)) | |
| 8285 | sphereMK(math.random(4,8),0.25,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/5,rsiz/5,rsiz/5,0,BrickColor.new("Lime green"),0)
| |
| 8286 | sphereMK(math.random(4,8),0.25,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/5,rsiz/5,rsiz/5,0,BrickColor.new("Lime green"),0)
| |
| 8287 | for c = 0, 2 do | |
| 8288 | sphereMK(math.random(3,6),0.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/5,rsiz/5,rsiz/5,0,BrickColor.new("Lime green"),2)
| |
| 8289 | end | |
| 8290 | sphere2(5,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4.2,4.2,4.2),0.01,0.01,0.01,MAINRUINCOLOR) | |
| 8291 | sphere2(5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(12,12,12),0.05,0.05,0.05,MAINRUINCOLOR) | |
| 8292 | sphere2(5,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4.2,4.2,4.2),0.01,0.01,0.01,MAINRUINCOLOR) | |
| 8293 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-4 - 2 * math.cos(sine / 53)),math.rad(0 - 2 * math.cos(sine / 32))),.1) | |
| 8294 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(9 - 2 * math.cos(sine / 53)),math.rad(0 + 2 * math.cos(sine / 32))),.1) | |
| 8295 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.3 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.05) | |
| 8296 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(10)),.05) | |
| 8297 | RW.C0=clerp(RW.C0,cf(1.25,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-15)),.05) | |
| 8298 | LW.C0=clerp(LW.C0,cf(-1.25,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(15)),.05) | |
| 8299 | end | |
| 8300 | for i = 0, 1 do | |
| 8301 | CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 5,0.8)
| |
| 8302 | CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 5,0.9)
| |
| 8303 | CFuncs["Sound"].Create("rbxassetid://1042693018", ba, 10,0.8)
| |
| 8304 | CFuncs["Sound"].Create("rbxassetid://1042695469", ba, 10,0.9)
| |
| 8305 | end | |
| 8306 | MagniDamage(ba, 30, 8000,180000, 0, "Normal") | |
| 8307 | MagniDamage(ba2, 30, 8000,180000, 0, "Normal") | |
| 8308 | for i, v in pairs(FindNearestHead(ba.CFrame.p, 10)) do | |
| 8309 | if v:FindFirstChild('Head') then
| |
| 8310 | dmg(v) | |
| 8311 | end | |
| 8312 | end | |
| 8313 | sphere2(1,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),1,1,1,MAINRUINCOLOR) | |
| 8314 | sphere2(2,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),1,1,1,MAINRUINCOLOR) | |
| 8315 | sphere2(3,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),1,1,1,MAINRUINCOLOR) | |
| 8316 | sphere2(3,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR) | |
| 8317 | sphere2(6,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR) | |
| 8318 | sphere2(9,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR) | |
| 8319 | sphere2(3,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,bc("Lime green"))
| |
| 8320 | sphere2(6,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,bc("Lime green"))
| |
| 8321 | sphere2(9,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,bc("Lime green"))
| |
| 8322 | for i = 0, 49 do | |
| 8323 | local rsiza = math.random(1,15) | |
| 8324 | sphereMK(math.random(1,5),0.75,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,bc("Lime green"),0)
| |
| 8325 | sphereMK(math.random(1,5),0.75,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,bc("Lime green"),0)
| |
| 8326 | end | |
| 8327 | for i = 0, 49 do | |
| 8328 | rsiz = math.random(1,8) | |
| 8329 | sphereMK(math.random(1,3),1,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz,rsiz,rsiz,0,bc("Lime green"),2)
| |
| 8330 | end | |
| 8331 | coroutine.resume(coroutine.create(function() | |
| 8332 | for i = 0, 99 do | |
| 8333 | swait() | |
| 8334 | a.Transparency = a.Transparency + 0.01 | |
| 8335 | a2.Transparency = a2.Transparency + 0.01 | |
| 8336 | end | |
| 8337 | a:Destroy() | |
| 8338 | ba:Destroy() | |
| 8339 | a2:Destroy() | |
| 8340 | ba2:Destroy() | |
| 8341 | end)) | |
| 8342 | hum.WalkSpeed = storehumanoidWS | |
| 8343 | hb:Destroy() | |
| 8344 | hb2:Destroy() | |
| 8345 | attack = false | |
| 8346 | end | |
| 8347 | ||
| 8348 | function dragin() | |
| 8349 | local targetted = nil | |
| 8350 | if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
| |
| 8351 | targetted = mouse.Target.Parent | |
| 8352 | end | |
| 8353 | if targetted ~= nil then | |
| 8354 | RootPart.CFrame = FaceMouse()[1] | |
| 8355 | attack = true | |
| 8356 | hum.WalkSpeed = 0 | |
| 8357 | for x = 0, 1 do | |
| 8358 | for i = 0,1,0.5 do | |
| 8359 | swait() | |
| 8360 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(8 - 6 * math.cos(sine / 67)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-18 - 5 * math.cos(sine / 32))),.1) | |
| 8361 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15 - 8 * math.cos(sine / 74)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(31 + 8 * math.cos(sine / 38))),.1) | |
| 8362 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
| 8363 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3) | |
| 8364 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
| 8365 | LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.3) | |
| 8366 | end | |
| 8367 | for i = 0,1,0.5 do | |
| 8368 | swait() | |
| 8369 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(6),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3) | |
| 8370 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3) | |
| 8371 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(180)),.3) | |
| 8372 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3) | |
| 8373 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
| 8374 | LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.3) | |
| 8375 | end | |
| 8376 | for i = 0,1,0.5 do | |
| 8377 | swait() | |
| 8378 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(6),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3) | |
| 8379 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3) | |
| 8380 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(270)),.3) | |
| 8381 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3) | |
| 8382 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
| 8383 | LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.3) | |
| 8384 | end | |
| 8385 | for i = 0,1,0.5 do | |
| 8386 | swait() | |
| 8387 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(6),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3) | |
| 8388 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3) | |
| 8389 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 8390 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3) | |
| 8391 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
| 8392 | LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.3) | |
| 8393 | end | |
| 8394 | end | |
| 8395 | coroutine.resume(coroutine.create(function() | |
| 8396 | targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 50
| |
| 8397 | CFuncs["Sound"].Create("rbxassetid://884155627", targetted.Head, 1,1)
| |
| 8398 | CFuncs["Sound"].Create("rbxassetid://153092213", targetted.Head, 2.5,1)
| |
| 8399 | end)) | |
| 8400 | local A1 = Instance.new("Attachment",targetted.Head)
| |
| 8401 | local A2 = Instance.new("Attachment",sorb)
| |
| 8402 | local Beem = Instance.new("Beam",tors)
| |
| 8403 | Beem.Attachment0 = A1 | |
| 8404 | Beem.Attachment1 = A2 | |
| 8405 | Beem.Texture = "rbxassetid://897585362" | |
| 8406 | Beem.LightEmission = 0.75 | |
| 8407 | Beem.FaceCamera = true | |
| 8408 | Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 0)})
| |
| 8409 | Beem.Width0 = 1 | |
| 8410 | Beem.Width1 = 1 | |
| 8411 | Beem.TextureMode = "Wrap" | |
| 8412 | Beem.TextureLength = 1 | |
| 8413 | Beem.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 8414 | sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),0.15,0.15,0.15,MAINRUINCOLOR) | |
| 8415 | sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),0.2,0.2,0.2,MAINRUINCOLOR) | |
| 8416 | for x = 0, 24 do | |
| 8417 | local rsiz = math.random(5,15) | |
| 8418 | sphereMK(math.random(1,5),0.25,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0) | |
| 8419 | end | |
| 8420 | ||
| 8421 | CFuncs["EchoSound"].Create("rbxassetid://1448032965", char, 7, 1,0,10,0.15,0.5,1)
| |
| 8422 | CFuncs["EchoSound"].Create("rbxassetid://1448032965", root, 60, 1,0,10,0.15,0.5,1)
| |
| 8423 | local radm = math.random(1,2) | |
| 8424 | if radm == 1 then | |
| 8425 | bosschatfunc("GOTCHA!!",MAINRUINCOLOR.Color,1)
| |
| 8426 | elseif radm == 2 then | |
| 8427 | bosschatfunc("COM'ERE!!",MAINRUINCOLOR.Color,1)
| |
| 8428 | end | |
| 8429 | for i = 0,3,0.1 do | |
| 8430 | swait() | |
| 8431 | coroutine.resume(coroutine.create(function() | |
| 8432 | local rsiz = math.random(5,15) | |
| 8433 | targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 10
| |
| 8434 | sphereMK(math.random(1,5),0.01,"Add",targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0) | |
| 8435 | end)) | |
| 8436 | sphere2(8,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR) | |
| 8437 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(8 - 6 * math.cos(sine / 67)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-18 - 5 * math.cos(sine / 32))),.1) | |
| 8438 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15 - 8 * math.cos(sine / 74)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(31 + 8 * math.cos(sine / 38))),.1) | |
| 8439 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(50)),.6) | |
| 8440 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(-50)),.6) | |
| 8441 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(50)),.6) | |
| 8442 | LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.6) | |
| 8443 | end | |
| 8444 | CFuncs["Sound"].Create("rbxassetid://231917750", sorb, 1.25,0.9)
| |
| 8445 | CFuncs["Sound"].Create("rbxassetid://1042716828", sorb, 1.5,1)
| |
| 8446 | local vel = Instance.new("BodyPosition", targetted.Head)
| |
| 8447 | vel.P = 12500 | |
| 8448 | vel.D = 1000 | |
| 8449 | vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000) | |
| 8450 | vel.position = hed.CFrame.p + root.CFrame.lookVector*2.75 | |
| 8451 | for i = 0,4,0.1 do | |
| 8452 | swait() | |
| 8453 | coroutine.resume(coroutine.create(function() | |
| 8454 | local rsiz = math.random(5,15) | |
| 8455 | targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 10
| |
| 8456 | sphereMK(math.random(1,5),0.01,"Add",targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0) | |
| 8457 | end)) | |
| 8458 | sphere2(8,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR) | |
| 8459 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(6),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2) | |
| 8460 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.2) | |
| 8461 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(-40)),.2) | |
| 8462 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(40)),.2) | |
| 8463 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(-50)),.2) | |
| 8464 | LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.2) | |
| 8465 | end | |
| 8466 | local visibility = 0 | |
| 8467 | coroutine.resume(coroutine.create(function() | |
| 8468 | for i = 0, 49 do | |
| 8469 | swait() | |
| 8470 | visibility = visibility + 0.02 | |
| 8471 | Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, visibility),NumberSequenceKeypoint.new(1, visibility)})
| |
| 8472 | end | |
| 8473 | Beem:Destroy() | |
| 8474 | A1:Destroy() | |
| 8475 | A2:Destroy() | |
| 8476 | end)) | |
| 8477 | game:GetService("Debris"):AddItem(vel,0.75)
| |
| 8478 | attack = false | |
| 8479 | hum.WalkSpeed = storehumanoidWS | |
| 8480 | ||
| 8481 | end | |
| 8482 | end | |
| 8483 | ||
| 8484 | function hugg() | |
| 8485 | attack = true | |
| 8486 | hum.WalkSpeed = 5 | |
| 8487 | local rsiz = math.random(5,15) | |
| 8488 | for i = 0, 2, 0.1 do | |
| 8489 | swait() | |
| 8490 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3) | |
| 8491 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3) | |
| 8492 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 8493 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(0)),.3) | |
| 8494 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(40)),.3) | |
| 8495 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(-40)),.3) | |
| 8496 | end | |
| 8497 | CFuncs["Sound"].Create("rbxassetid://444895479", root, 0.5,1)
| |
| 8498 | local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) | |
| 8499 | hb.Anchored = true | |
| 8500 | hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2 | |
| 8501 | local huggedperson = nil | |
| 8502 | local act = false | |
| 8503 | local alreadydid = false | |
| 8504 | for i = 0, 3, 0.1 do | |
| 8505 | swait() | |
| 8506 | if act == false then | |
| 8507 | for i, v in pairs(FindNearestHead(hb.CFrame.p, 1.25)) do | |
| 8508 | if v:FindFirstChild('Head') then
| |
| 8509 | if alreadydid == false then | |
| 8510 | huggedperson = v | |
| 8511 | hum.WalkSpeed = 0 | |
| 8512 | CFuncs["Sound"].Create("rbxassetid://294861193", root, 1,1)
| |
| 8513 | CFuncs["Sound"].Create("rbxassetid://200632821", root, 1,1.15)
| |
| 8514 | CFuncs["Sound"].Create("rbxassetid://1042716828", root, 1.5,1)
| |
| 8515 | CFuncs["Sound"].Create("rbxassetid://884155627", root, 2,1)
| |
| 8516 | local radm = math.random(1,3) | |
| 8517 | if radm == 1 then | |
| 8518 | bosschatfunc("I'm sorry.. if I hurt you..",MAINRUINCOLOR.Color,1)
| |
| 8519 | elseif radm == 2 then | |
| 8520 | bosschatfunc("I..I'm interested in you",MAINRUINCOLOR.Color,1)
| |
| 8521 | elseif radm == 3 then | |
| 8522 | bosschatfunc("Don't worry.. I'm with you",MAINRUINCOLOR.Color,1)
| |
| 8523 | end | |
| 8524 | root.Anchored = true | |
| 8525 | coroutine.resume(coroutine.create(function() | |
| 8526 | huggedperson.Humanoid.WalkSpeed = 0 | |
| 8527 | huggedperson:WaitForChild("HumanoidRootPart").Anchored = true
| |
| 8528 | end)) | |
| 8529 | --chatfunc(string.lower(huggedperson.Name).. "~~",BrickColor.new("Pink").Color,"Normal","SourceSansBold",1)
| |
| 8530 | alreadydid = true | |
| 8531 | act = true | |
| 8532 | print(huggedperson.Name) | |
| 8533 | end | |
| 8534 | end | |
| 8535 | end | |
| 8536 | hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2 | |
| 8537 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(0)),.3) | |
| 8538 | elseif act == true then | |
| 8539 | coroutine.resume(coroutine.create(function() | |
| 8540 | huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
| |
| 8541 | end)) | |
| 8542 | rsiz = math.random(5,15) | |
| 8543 | sphereMK(math.random(1,4),0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-8,-4),math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),rsiz/20,rsiz/20,rsiz/20,0,MAINRUINCOLOR,0) | |
| 8544 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(40)),.1) | |
| 8545 | huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0) | |
| 8546 | end | |
| 8547 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3) | |
| 8548 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3) | |
| 8549 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 8550 | RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3) | |
| 8551 | LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3) | |
| 8552 | end | |
| 8553 | hb:Destroy() | |
| 8554 | if act == true then | |
| 8555 | for x = 0, 2 do | |
| 8556 | for i = 0, 2, 0.1 do | |
| 8557 | swait() | |
| 8558 | coroutine.resume(coroutine.create(function() | |
| 8559 | huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
| |
| 8560 | end)) | |
| 8561 | rsiz = math.random(5,15) | |
| 8562 | sphereMK(math.random(1,4),0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-8,-4),math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),rsiz/20,rsiz/20,rsiz/20,0,MAINRUINCOLOR,0) | |
| 8563 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(45)),.1) | |
| 8564 | huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0) | |
| 8565 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3) | |
| 8566 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3) | |
| 8567 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 8568 | RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3) | |
| 8569 | LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3) | |
| 8570 | end | |
| 8571 | for i = 0, 2, 0.1 do | |
| 8572 | swait() | |
| 8573 | coroutine.resume(coroutine.create(function() | |
| 8574 | huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
| |
| 8575 | end)) | |
| 8576 | rsiz = math.random(5,15) | |
| 8577 | sphereMK(math.random(1,4),0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-8,-4),math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),rsiz/20,rsiz/20,rsiz/20,0,MAINRUINCOLOR,0) | |
| 8578 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(35)),.1) | |
| 8579 | huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0) | |
| 8580 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3) | |
| 8581 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3) | |
| 8582 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 8583 | RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3) | |
| 8584 | LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3) | |
| 8585 | end | |
| 8586 | end | |
| 8587 | end | |
| 8588 | hum.WalkSpeed = storehumanoidWS | |
| 8589 | root.Anchored = false | |
| 8590 | if act == true then | |
| 8591 | coroutine.resume(coroutine.create(function() | |
| 8592 | huggedperson.Humanoid.WalkSpeed = 16 | |
| 8593 | huggedperson:WaitForChild("HumanoidRootPart").Anchored = false
| |
| 8594 | end)) | |
| 8595 | end | |
| 8596 | hum.WalkSpeed = storehumanoidWS | |
| 8597 | attack = false | |
| 8598 | end | |
| 8599 | ||
| 8600 | function Counter() | |
| 8601 | hum.WalkSpeed = 0 | |
| 8602 | CFuncs["EchoSound"].Create("rbxassetid://2370794297", char, 5, 1,0,10,0.15,0.5,1)
| |
| 8603 | CFuncs["EchoSound"].Create("rbxassetid://2370794297", root, 60, 1,0,10,0.15,0.5,1)
| |
| 8604 | bosschatfunc("COUNTER!!",MAINRUINCOLOR.Color,1)
| |
| 8605 | attack = true | |
| 8606 | for i = 0,1,0.1 do | |
| 8607 | swait() | |
| 8608 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,1)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3) | |
| 8609 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
| 8610 | RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(-90)), 0.3) | |
| 8611 | LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(70)), 0.3) | |
| 8612 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(10)),.3) | |
| 8613 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.3) | |
| 8614 | end | |
| 8615 | CameraEnshaking(3,4) | |
| 8616 | MagniDamageWithEffect(root, 24, 0,0, 75, "Normal") | |
| 8617 | sphere2(10,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(50)),vt(5,5,5),0.35,0.35,0.35,MAINRUINCOLOR) | |
| 8618 | sphere2(1.5,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(50)),vt(5,5,5),0.35,0.35,0.35,MAINRUINCOLOR) | |
| 8619 | sphere2(20,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(50)),vt(5,5,5),0.35,0.35,0.35,MAINRUINCOLOR) | |
| 8620 | coroutine.resume(coroutine.create(function() | |
| 8621 | local eff = Instance.new("ParticleEmitter",root)
| |
| 8622 | eff.Texture = "rbxassetid://363275192" | |
| 8623 | eff.LightEmission = 0.95 | |
| 8624 | eff.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 8625 | eff.Rate = 10000 | |
| 8626 | eff.Lifetime = NumberRange.new(1) | |
| 8627 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 8628 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.25,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 8629 | eff.Speed = NumberRange.new(10,125) | |
| 8630 | eff.Drag = 5 | |
| 8631 | eff.Rotation = NumberRange.new(-500,500) | |
| 8632 | eff.VelocitySpread = 9000 | |
| 8633 | eff.RotSpeed = NumberRange.new(-50,50) | |
| 8634 | local eff2 = eff:Clone() | |
| 8635 | eff2.Parent = root | |
| 8636 | eff2.Texture = "rbxassetid://284205403" | |
| 8637 | eff2.Rate = 10000 | |
| 8638 | eff2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,30,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 8639 | eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 8640 | eff2.Drag = 5 | |
| 8641 | eff2.Speed = NumberRange.new(10,50) | |
| 8642 | eff2.Rotation = NumberRange.new(-500,500) | |
| 8643 | eff2.VelocitySpread = 9000 | |
| 8644 | wait(0.25) | |
| 8645 | eff2.Enabled = false | |
| 8646 | eff.Enabled = false | |
| 8647 | wait(3) | |
| 8648 | eff2:Destroy() | |
| 8649 | eff:Destroy() | |
| 8650 | end)) | |
| 8651 | for i = 0, 9 do | |
| 8652 | sphere2(1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.0025,1,-0.0025,MAINRUINCOLOR) | |
| 8653 | end | |
| 8654 | for i = 0, 24 do | |
| 8655 | local rsiz = math.random(5,20) | |
| 8656 | sphereMK(math.random(2,10),0.75,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/8,rsiz/8,rsiz/8,0,MAINRUINCOLOR,0) | |
| 8657 | end | |
| 8658 | CFuncs["Sound"].Create("rbxassetid://1042705869", root, 2.5, 1)
| |
| 8659 | CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2.25, 1)
| |
| 8660 | CFuncs["Sound"].Create("rbxassetid://1117054464", root, 1, 1)
| |
| 8661 | for i = 0,2,0.1 do | |
| 8662 | swait() | |
| 8663 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,1)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3) | |
| 8664 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3) | |
| 8665 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3) | |
| 8666 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3) | |
| 8667 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-10)),.3) | |
| 8668 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.3) | |
| 8669 | end | |
| 8670 | hum.WalkSpeed = storehumanoidWS | |
| 8671 | attack = false | |
| 8672 | end | |
| 8673 | ||
| 8674 | function superjump() | |
| 8675 | attack = true | |
| 8676 | hum.WalkSpeed = 0 | |
| 8677 | sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
| |
| 8678 | sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
| |
| 8679 | CFuncs["Sound"].Create("rbxassetid://1368637781", root, 7.5, 1)
| |
| 8680 | for i = 0, 2, 0.1 do | |
| 8681 | swait() | |
| 8682 | root.Velocity = vt(0,0,0) | |
| 8683 | slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,250)/250,BrickColor.new("White"))
| |
| 8684 | RH.C0=clerp(RH.C0,cf(1,-0.45,-0.45)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(20)),.4) | |
| 8685 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(40)),.4) | |
| 8686 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,-1)*angles(math.rad(20),math.rad(0),math.rad(0)),.4) | |
| 8687 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(0)),.4) | |
| 8688 | RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(10),math.rad(0),math.rad(40)),.4) | |
| 8689 | LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(10),math.rad(0),math.rad(-40)),.4) | |
| 8690 | end | |
| 8691 | MagniDamage(root, 28, 25,50, 25, "Normal") | |
| 8692 | CFuncs["Sound"].Create("rbxassetid://477843807", char, 17, 1.05)
| |
| 8693 | hum.Jump = true | |
| 8694 | swait() | |
| 8695 | root.Velocity = vt(0,250,0) + root.CFrame.lookVector*250 | |
| 8696 | sphere2(5,"Add",root.CFrame*CFrame.Angles(math.rad(-45),0,0),vt(25,1,25),0.3,5,0.3,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
| |
| 8697 | sphere2(5,"Add",root.CFrame*CFrame.Angles(math.rad(-45),0,0),vt(25,1,25),0.2,4,0.2,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
| |
| 8698 | CFuncs["Sound"].Create("rbxassetid://1295446488", root, 10, 1)
| |
| 8699 | for i = 0, 3, 0.1 do | |
| 8700 | swait() | |
| 8701 | RH.C0=clerp(RH.C0,cf(1,-0.45,-0.45)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-20)),.4) | |
| 8702 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(30)),.4) | |
| 8703 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.75,0)*angles(math.rad(40),math.rad(0),math.rad(0)),.4) | |
| 8704 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.4) | |
| 8705 | RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-30),math.rad(0),math.rad(20)),.4) | |
| 8706 | LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(-30),math.rad(0),math.rad(-20)),.4) | |
| 8707 | end | |
| 8708 | attack = false | |
| 8709 | if equipped == false then | |
| 8710 | hum.WalkSpeed = 16 | |
| 8711 | else | |
| 8712 | hum.WalkSpeed = 24 | |
| 8713 | end | |
| 8714 | end | |
| 8715 | ||
| 8716 | ||
| 8717 | ------------------------------------- | |
| 8718 | ||
| 8719 | ||
| 8720 | ||
| 8721 | Humanoid.Animator.Parent = nil | |
| 8722 | ||
| 8723 | ||
| 8724 | ||
| 8725 | ------------------------------------- | |
| 8726 | ||
| 8727 | local attacktype = 1 | |
| 8728 | mouse.Button1Down:connect(function() | |
| 8729 | if attack == false and attacktype == 1 then | |
| 8730 | attacktype = 2 | |
| 8731 | attackone() | |
| 8732 | elseif attack == false and attacktype == 2 then | |
| 8733 | attacktype = 3 | |
| 8734 | attacktwo() | |
| 8735 | elseif attack == false and attacktype == 3 then | |
| 8736 | attacktype = 1 | |
| 8737 | attackthree() | |
| 8738 | elseif attack == false and attacktype == 4 then | |
| 8739 | attacktype = 1 | |
| 8740 | --attackfour() | |
| 8741 | end | |
| 8742 | end) | |
| 8743 | mouse.KeyDown:connect(function(k) | |
| 8744 | if k == "q" and attack == false and ModeOfGlitch ~= 1 then | |
| 8745 | --normalmog() | |
| 8746 | ModeOfGlitch = 1 | |
| 8747 | storehumanoidWS = 16 | |
| 8748 | hum.WalkSpeed = 16 | |
| 8749 | rainbowmode = false | |
| 8750 | chaosmode = false | |
| 8751 | newTheme("rbxassetid://367339030",48.6,1,0.85)
| |
| 8752 | RecolorTextAndRename("Hopeless Elite",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
| |
| 8753 | MAINRUINCOLOR = BrickColor.new("Really red")
| |
| 8754 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false) | |
| 8755 | end | |
| 8756 | if k == "e" and attack == false and ModeOfGlitch ~= 2 then | |
| 8757 | ModeOfGlitch = 2 | |
| 8758 | storehumanoidWS = 16 | |
| 8759 | hum.WalkSpeed = 16 | |
| 8760 | rainbowmode = false | |
| 8761 | chaosmode = false | |
| 8762 | RecolorTextAndRename("Serene Elite",Color3.new(0,1,1),Color3.new(1,1,1),"Code")
| |
| 8763 | newTheme("rbxassetid://1539245059",0,1,0.85)
| |
| 8764 | MAINRUINCOLOR = BrickColor.new("Toothpaste")
| |
| 8765 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true) | |
| 8766 | end | |
| 8767 | if k == "r" and attack == false and ModeOfGlitch ~= 3 then | |
| 8768 | ModeOfGlitch = 3 | |
| 8769 | storehumanoidWS = 14 | |
| 8770 | hum.WalkSpeed = 14 | |
| 8771 | rainbowmode = false | |
| 8772 | chaosmode = false | |
| 8773 | RecolorTextAndRename("Stable Elite",Color3.new(0,0,0),Color3.new(0.35,0,1),"Antique")
| |
| 8774 | newTheme("rbxassetid://367339030",58.15,0.98,1)
| |
| 8775 | MAINRUINCOLOR = BrickColor.new("Royal purple")
| |
| 8776 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true) | |
| 8777 | end | |
| 8778 | if k == "t" and attack == false and ModeOfGlitch ~= 4 then | |
| 8779 | ModeOfGlitch = 4 | |
| 8780 | storehumanoidWS = 14 | |
| 8781 | hum.WalkSpeed = 14 | |
| 8782 | rainbowmode = false | |
| 8783 | chaosmode = true | |
| 8784 | RecolorTextAndRename("F.a.l.l.e.n E.l.i.t.e",Color3.new(0,0,0),Color3.new(1,1,1),"Antique")
| |
| 8785 | newTheme("rbxassetid://2203914587",10,1.01,0.85)
| |
| 8786 | MAINRUINCOLOR = BrickColor.new("Crimson")
| |
| 8787 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true) | |
| 8788 | end | |
| 8789 | if k == "y" and attack == false and ModeOfGlitch ~= 5 then | |
| 8790 | ModeOfGlitch = 5 | |
| 8791 | storehumanoidWS = 14 | |
| 8792 | hum.WalkSpeed = 14 | |
| 8793 | rainbowmode = false | |
| 8794 | chaosmode = false | |
| 8795 | RecolorTextAndRename("Divine Elite",Color3.new(1,1,1),Color3.new(1,1,0.5),"SciFi")
| |
| 8796 | newTheme("rbxassetid://661079869",0,1.02,0.85)
| |
| 8797 | MAINRUINCOLOR = BrickColor.new("Bright yellow")
| |
| 8798 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true) | |
| 8799 | end | |
| 8800 | if k == "u" and attack == false and ModeOfGlitch ~= 6 then | |
| 8801 | ModeOfGlitch = 6 | |
| 8802 | storehumanoidWS = 65 | |
| 8803 | hum.WalkSpeed = 65 | |
| 8804 | rainbowmode = false | |
| 8805 | chaosmode = false | |
| 8806 | RecolorTextAndRename("Justice Elite",Color3.new(0,0,0),Color3.new(1,1,1),"Fantasy")
| |
| 8807 | newTheme("rbxassetid://1347011178",0,1.01,0.85)
| |
| 8808 | MAINRUINCOLOR = BrickColor.new("White")
| |
| 8809 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
| |
| 8810 | end | |
| 8811 | if k == "f" and attack == false and ModeOfGlitch ~= 8 then | |
| 8812 | ModeOfGlitch = 8 | |
| 8813 | storehumanoidWS = 100 | |
| 8814 | hum.WalkSpeed = 100 | |
| 8815 | rainbowmode = false | |
| 8816 | chaosmode = false | |
| 8817 | RecolorTextAndRename("Destinal Elite",Color3.new(1,1,1),BrickColor.new("Alder").Color,"Code")
| |
| 8818 | newTheme("rbxassetid://919231299",0,1.01,0.85)
| |
| 8819 | MAINRUINCOLOR = BrickColor.new("Alder")
| |
| 8820 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true) | |
| 8821 | end | |
| 8822 | if k == "g" and attack == false and ModeOfGlitch ~= 9 then | |
| 8823 | ModeOfGlitch = 9 | |
| 8824 | storehumanoidWS = 85 | |
| 8825 | hum.WalkSpeed = 85 | |
| 8826 | rainbowmode = false | |
| 8827 | chaosmode = false | |
| 8828 | RecolorTextAndRename("Infected Elite",Color3.new(0,1,0),Color3.new(0.8,1,0.5),"Bodoni")
| |
| 8829 | newTheme("rbxassetid://879189331",0,1.01,0.85)
| |
| 8830 | MAINRUINCOLOR = BrickColor.new("Br. yellowish green")
| |
| 8831 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Lime green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
| |
| 8832 | end | |
| 8833 | if k == "h" and attack == false and ModeOfGlitch ~= 5555 then | |
| 8834 | ModeOfGlitch = 5555 | |
| 8835 | storehumanoidWS = 30 | |
| 8836 | hum.WalkSpeed = 30 | |
| 8837 | rainbowmode = false | |
| 8838 | chaosmode = false | |
| 8839 | RecolorTextAndRename("Love Elite",Color3.new(1,1,1),BrickColor.new("Hot pink").Color,"Arcade")
| |
| 8840 | newTheme("rbxassetid://736003449",0,1,1.25)
| |
| 8841 | MAINRUINCOLOR = BrickColor.new("Hot pink")
| |
| 8842 | RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
| |
| 8843 | end | |
| 8844 | if k == "m" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 8889 then | |
| 8845 | CalamityTrans() | |
| 8846 | end | |
| 8847 | if k == "b" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 8889 then | |
| 8848 | InsaneTrans() | |
| 8849 | end | |
| 8850 | if k == "n" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 55469696922 then | |
| 8851 | ModeOfGlitch = 55469696922 | |
| 8852 | storehumanoidWS = 95 | |
| 8853 | hum.WalkSpeed = 95 | |
| 8854 | rainbowmode = false | |
| 8855 | chaosmode = false | |
| 8856 | RecolorTextAndRename("Nanodeath Elite",Color3.new(0.25,0,0.1),BrickColor.new("Hot pink").Color,"Antique")
| |
| 8857 | newTheme("rbxassetid://919231299",0,1.005,0.9)
| |
| 8858 | MAINRUINCOLOR = BrickColor.new("Hot pink")
| |
| 8859 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true) | |
| 8860 | end | |
| 8861 | if k == "n" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then | |
| 8862 | ModeOfGlitch = 4367677813 | |
| 8863 | storehumanoidWS = 75 | |
| 8864 | hum.WalkSpeed = 75 | |
| 8865 | rainbowmode = false | |
| 8866 | chaosmode = false | |
| 8867 | RecolorTextAndRename("Mysterious Elite",Color3.new(0.75,0.9,1),BrickColor.new("Pink").Color,"Arcade")
| |
| 8868 | newTheme("rbxassetid://919231299",0,1.01,0.95)
| |
| 8869 | MAINRUINCOLOR = BrickColor.new("Baby blue")
| |
| 8870 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
| |
| 8871 | end | |
| 8872 | if k == "n" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 9999999921111 then | |
| 8873 | ModeOfGlitch = 9999999921111 | |
| 8874 | storehumanoidWS = 145 | |
| 8875 | hum.WalkSpeed = 145 | |
| 8876 | rainbowmode = false | |
| 8877 | chaosmode = false | |
| 8878 | RecolorTextAndRename("Omega Elite",BrickColor.new("Really black").Color,BrickColor.new("Bright bluish green").Color,"SciFi")
| |
| 8879 | newTheme("rbxassetid://643309199",0,1.01,1)
| |
| 8880 | MAINRUINCOLOR = BrickColor.new("Bright bluish green")
| |
| 8881 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
| |
| 8882 | end | |
| 8883 | if k == "n" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 999999999556 then | |
| 8884 | ModeOfGlitch = 999999999556 | |
| 8885 | storehumanoidWS = 115 | |
| 8886 | hum.WalkSpeed = 115 | |
| 8887 | rainbowmode = false | |
| 8888 | chaosmode = false | |
| 8889 | RecolorTextAndRename("Crazy Game",BrickColor.new("Really black").Color,BrickColor.new("Navy blue").Color,"Code")
| |
| 8890 | newTheme("rbxassetid://719008519",0,1.02,0.85)
| |
| 8891 | MAINRUINCOLOR = BrickColor.new("Navy blue")
| |
| 8892 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
| |
| 8893 | end | |
| 8894 | if k == "m" and attack == false and ModeOfGlitch == 3 and ModeOfGlitch ~= 12 then | |
| 8895 | ModeOfGlitch = 12 | |
| 8896 | storehumanoidWS = 19 | |
| 8897 | hum.WalkSpeed = 19 | |
| 8898 | rainbowmode = false | |
| 8899 | chaosmode = false | |
| 8900 | print'Mode was meant for Vengeful Program or those other fans out there' | |
| 8901 | RecolorTextAndRename("Neptunia Elite",BrickColor.new("Royal purple").Color,BrickColor.new("Bright blue").Color,"SciFi")
| |
| 8902 | newTheme("rbxassetid://1873219898",0,1,1.7)
| |
| 8903 | MAINRUINCOLOR = BrickColor.new("Royal purple")
| |
| 8904 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Bright blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
| |
| 8905 | end | |
| 8906 | ||
| 8907 | if k == "m" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 50 then | |
| 8908 | sphere(0.9,"Add",root.CFrame,vt(0,100000,0),1,BrickColor.new("Institutional white"))
| |
| 8909 | for i = 0, 49 do | |
| 8910 | PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),8,8,8,0.16,BrickColor.new("Institutional white"),0)
| |
| 8911 | end | |
| 8912 | CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
| |
| 8913 | CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
| |
| 8914 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
| |
| 8915 | hum.WalkSpeed = storehumanoidWS | |
| 8916 | attack = false | |
| 8917 | ModeOfGlitch = 50 | |
| 8918 | storehumanoidWS = 18 | |
| 8919 | hum.WalkSpeed = 18 | |
| 8920 | rainbowmode = false | |
| 8921 | chaosmode = false | |
| 8922 | RecolorTextAndRename("EnBelived",BrickColor.new("Institutional white").Color,BrickColor.new("Institutional white").Color,"Arcade")
| |
| 8923 | newTheme("rbxassetid://435773595",0,1.01,1.5)
| |
| 8924 | MAINRUINCOLOR = BrickColor.new("Institutional white")
| |
| 8925 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Institutional white"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
| |
| 8926 | end | |
| 8927 | ||
| 8928 | if k == "m" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 66 then | |
| 8929 | hum.WalkSpeed = 0 | |
| 8930 | attack = true | |
| 8931 | for i = 0,1,0.1 do | |
| 8932 | swait() | |
| 8933 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,0)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3) | |
| 8934 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
| 8935 | RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(-90)), 0.3) | |
| 8936 | LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(70)), 0.3) | |
| 8937 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1) | |
| 8938 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1) | |
| 8939 | end | |
| 8940 | sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 8941 | for i = 0, 148 do | |
| 8942 | PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0) | |
| 8943 | end | |
| 8944 | for i = 0,3,0.1 do | |
| 8945 | sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0) | |
| 8946 | end | |
| 8947 | CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
| |
| 8948 | CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
| |
| 8949 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
| |
| 8950 | hum.WalkSpeed = storehumanoidWS | |
| 8951 | attack = false | |
| 8952 | ModeOfGlitch = 66 | |
| 8953 | storehumanoidWS = 16 | |
| 8954 | hum.WalkSpeed = 16 | |
| 8955 | rainbowmode = false | |
| 8956 | chaosmode = false | |
| 8957 | newTheme("rbxassetid://"..ast[Mrandom(1,2)],0,1,1.35)
| |
| 8958 | MAINRUINCOLOR = BrickColor.new("Really black")
| |
| 8959 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
| |
| 8960 | for i = 0,2,0.1 do | |
| 8961 | swait() | |
| 8962 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3) | |
| 8963 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3) | |
| 8964 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3) | |
| 8965 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3) | |
| 8966 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1) | |
| 8967 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1) | |
| 8968 | end | |
| 8969 | end | |
| 8970 | ||
| 8971 | if k == "m" and attack == false and ModeOfGlitch == 6 and ModeOfGlitch ~= 13 then | |
| 8972 | hum.WalkSpeed = 0 | |
| 8973 | attack = true | |
| 8974 | for i = 0,1,0.1 do | |
| 8975 | swait() | |
| 8976 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,1)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3) | |
| 8977 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
| 8978 | RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(-90)), 0.3) | |
| 8979 | LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(70)), 0.3) | |
| 8980 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1) | |
| 8981 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1) | |
| 8982 | end | |
| 8983 | sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 8984 | for i = 0, 49 do | |
| 8985 | PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0) | |
| 8986 | end | |
| 8987 | for i = 0,3,0.1 do | |
| 8988 | sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0) | |
| 8989 | end | |
| 8990 | CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
| |
| 8991 | CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
| |
| 8992 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
| |
| 8993 | hum.WalkSpeed = storehumanoidWS | |
| 8994 | attack = false | |
| 8995 | ModeOfGlitch = 13 | |
| 8996 | storehumanoidWS = 45 | |
| 8997 | hum.WalkSpeed = 45 | |
| 8998 | rainbowmode = false | |
| 8999 | chaosmode = false | |
| 9000 | RecolorTextAndRename("Judicial Elite",BrickColor.new("Dark stone grey").Color,BrickColor.new("Light blue").Color,"Bodoni")
| |
| 9001 | newTheme("rbxassetid://190845741",0,1,1.35)
| |
| 9002 | MAINRUINCOLOR = BrickColor.new("Dark stone grey")
| |
| 9003 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Light blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
| |
| 9004 | for i = 0,2,0.1 do | |
| 9005 | swait() | |
| 9006 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,1)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3) | |
| 9007 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3) | |
| 9008 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3) | |
| 9009 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3) | |
| 9010 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1) | |
| 9011 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1) | |
| 9012 | end | |
| 9013 | end | |
| 9014 | if k == "j" and attack == false and ModeOfGlitch ~= 1002 then | |
| 9015 | ModeOfGlitch = 1002 | |
| 9016 | storehumanoidWS = 45 | |
| 9017 | hum.WalkSpeed = 45 | |
| 9018 | rainbowmode = false | |
| 9019 | chaosmode = false | |
| 9020 | RecolorTextAndRename("Pixeled Elite",BrickColor.new("Really black").Color,BrickColor.new("Dark blue").Color,"Code")
| |
| 9021 | newTheme("rbxassetid://2027652726",0,1,0.85)
| |
| 9022 | MAINRUINCOLOR = BrickColor.new("Dark blue")
| |
| 9023 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
| |
| 9024 | end | |
| 9025 | if k == "k" and attack == false and ModeOfGlitch ~= 1003 then | |
| 9026 | ModeOfGlitch = 1003 | |
| 9027 | storehumanoidWS = 90 | |
| 9028 | hum.WalkSpeed = 90 | |
| 9029 | rainbowmode = false | |
| 9030 | chaosmode = false | |
| 9031 | RecolorTextAndRename("A.s.c.e.n.d.e.d E.l.i.t.e",BrickColor.new("White").Color,BrickColor.new("Bright yellow").Color,"Code")
| |
| 9032 | newTheme("rbxassetid://257453119",0,1,0.85)
| |
| 9033 | MAINRUINCOLOR = BrickColor.new("Bright yellow")
| |
| 9034 | RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
| |
| 9035 | end | |
| 9036 | if k == "n" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then | |
| 9037 | ModeOfGlitch = 1264532489 | |
| 9038 | storehumanoidWS = 175 | |
| 9039 | hum.WalkSpeed = 175 | |
| 9040 | rainbowmode = false | |
| 9041 | chaosmode = false | |
| 9042 | RecolorTextAndRename("Fallenx Elite",Color3.new(0.5,1,1),BrickColor.new("Deep orange").Color,"Antique")
| |
| 9043 | newTheme("rbxassetid://1505487022",0,1.01,1.25)
| |
| 9044 | MAINRUINCOLOR = BrickColor.new("Pastel green")
| |
| 9045 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true) | |
| 9046 | end | |
| 9047 | if k == "l" and mutedtog == false then | |
| 9048 | mutedtog = true | |
| 9049 | kan.Volume = 0.85 | |
| 9050 | elseif k == "l" and mutedtog == true then | |
| 9051 | mutedtog = false | |
| 9052 | kan.Volume = 0.85 | |
| 9053 | end | |
| 9054 | if k == "p" and toggleTag == false then | |
| 9055 | toggleTag = true | |
| 9056 | modet.TextTransparency = 0 | |
| 9057 | modet.TextStrokeTransparency = 0 | |
| 9058 | elseif k == "p" and toggleTag == true then | |
| 9059 | toggleTag = false | |
| 9060 | modet.TextTransparency = 1 | |
| 9061 | modet.TextStrokeTransparency = 1 | |
| 9062 | end | |
| 9063 | if k == "z" and attack == false and ModeOfGlitch == 1 then | |
| 9064 | ExtinctiveHeartbreak() | |
| 9065 | elseif k == "z" and attack == false and ModeOfGlitch == 2 then | |
| 9066 | HeavenlyDisk() | |
| 9067 | elseif k == "z" and attack == false and ModeOfGlitch == 9 then | |
| 9068 | DualGleamingBeam() | |
| 9069 | elseif k == "c" and attack == false and ModeOfGlitch == 9 then | |
| 9070 | BanishingOrb() | |
| 9071 | elseif k == "z" and attack == false and ModeOfGlitch == 5555 then | |
| 9072 | hugg() | |
| 9073 | elseif k == "b" and attack == false and ModeOfGlitch == 55469696922 then | |
| 9074 | cutesigh() | |
| 9075 | elseif k == "v" and attack == false and ModeOfGlitch == 55469696922 then | |
| 9076 | Counter() | |
| 9077 | elseif k == "v" and attack == false and ModeOfGlitch == 12 then | |
| 9078 | superjump() | |
| 9079 | elseif k == "v" and attack == false and ModeOfGlitch == 9999999921111 then | |
| 9080 | dragin() | |
| 9081 | elseif k == "x" and attack == false and ModeOfGlitch == 8889 then | |
| 9082 | UniversalCollapse() | |
| 9083 | elseif k == "c" and attack == false and ModeOfGlitch == 2 then | |
| 9084 | PureBomb() | |
| 9085 | elseif k == "z" and attack == false and ModeOfGlitch == 999999999556 then | |
| 9086 | Beams() | |
| 9087 | elseif k == "x" and attack == false and ModeOfGlitch == 55469696922 then | |
| 9088 | BeamOfDeath() | |
| 9089 | elseif k == "v" and attack == false and ModeOfGlitch == 8 then | |
| 9090 | THE_TRUE_POWER_OF_VIOLENCE() | |
| 9091 | elseif k == "z" and attack == false and ModeOfGlitch == 8 then | |
| 9092 | GleamingBeam() | |
| 9093 | elseif k == "x" and attack == false and ModeOfGlitch == 5 then | |
| 9094 | ViolentRing() | |
| 9095 | elseif k == "z" and attack == false and ModeOfGlitch == 3 then | |
| 9096 | CorruptionEvent() | |
| 9097 | elseif k == "v" and attack == false and ModeOfGlitch == 3 then | |
| 9098 | CorruptBlink() | |
| 9099 | elseif k == "c" and attack == false and ModeOfGlitch == 3 then | |
| 9100 | scattercorrupt() | |
| 9101 | elseif k == "b" and attack == false and ModeOfGlitch == 5555 then | |
| 9102 | shytaunty() | |
| 9103 | elseif k == "z" and attack == false and ModeOfGlitch == 4 then | |
| 9104 | RapidBurst() | |
| 9105 | elseif k == "z" and attack == false and ModeOfGlitch == 8889 then | |
| 9106 | InsaneDrop() | |
| 9107 | wait(2) | |
| 9108 | ChaosEND() | |
| 9109 | elseif k == "x" and attack == false and ModeOfGlitch == 4 then | |
| 9110 | ChaosEND() | |
| 9111 | elseif k == "c" and attack == false and ModeOfGlitch == 9999999921111 then | |
| 9112 | CyberSlash() | |
| 9113 | elseif k == "z" and attack == false and ModeOfGlitch == 4367677813 then | |
| 9114 | smiter() | |
| 9115 | elseif k == "z" and attack == false and ModeOfGlitch == 1002 then | |
| 9116 | SpeedDrop() | |
| 9117 | elseif k == "v" and attack == false and ModeOfGlitch == 5 then | |
| 9118 | --DivineLights() | |
| 9119 | elseif k == "z" and attack == false and ModeOfGlitch == 5 then | |
| 9120 | DivineBlast() | |
| 9121 | elseif k == "z" and attack == false and ModeOfGlitch == 6 then | |
| 9122 | EquinoxOrbs() | |
| 9123 | elseif k == "v" and attack == false and ModeOfGlitch == 6 then | |
| 9124 | yinyangi() | |
| 9125 | elseif k == "z" and attack == false and ModeOfGlitch == 1264532489 then | |
| 9126 | FallenOrbs() | |
| 9127 | elseif k == "z" and attack == false and ModeOfGlitch == 1003 then | |
| 9128 | StarfallEX() | |
| 9129 | end | |
| 9130 | if k == "v" and attack == false and ModeOfGlitch == 1264532489 then | |
| 9131 | FallenDEMISE() | |
| 9132 | end | |
| 9133 | if k == "x" and attack == false and ModeOfGlitch == 1 then | |
| 9134 | EndGROUND() | |
| 9135 | end | |
| 9136 | end) | |
| 9137 | ||
| 9138 | coroutine.resume(coroutine.create(function() | |
| 9139 | while true do | |
| 9140 | swait() | |
| 9141 | if ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 9 or ModeOfGlitch == 8889 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 then | |
| 9142 | sphereMK(7.5,math.random(15,50)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),-10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.75,0.75,10,-0.0075,MAINRUINCOLOR,0) | |
| 9143 | end | |
| 9144 | if ModeOfGlitch == 5555 then | |
| 9145 | sphereMK(5,math.random(8,14)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),-10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.25,0.25,7.5,-0.0025,MAINRUINCOLOR,0) | |
| 9146 | end | |
| 9147 | end | |
| 9148 | end)) | |
| 9149 | --[[coroutine.resume(coroutine.create(function() | |
| 9150 | while true do | |
| 9151 | swait(2) | |
| 9152 | if chaosmode == true then | |
| 9153 | tl1.Color = ColorSequence.new(BrickColor.random().Color) | |
| 9154 | tl2.Color = ColorSequence.new(BrickColor.random().Color) | |
| 9155 | tl3.Color = ColorSequence.new(BrickColor.random().Color) | |
| 9156 | RecolorTextAndRename("F.a.l.l.e.n E.l.i.t.e",Color3.new(0,0,0),BrickColor.random().Color,"Antique")
| |
| 9157 | for i, v in pairs(mw1:GetChildren()) do | |
| 9158 | if v:IsA("Part") then
| |
| 9159 | v.Transparency = 0.75 | |
| 9160 | v.BrickColor = BrickColor.random() | |
| 9161 | v.Material = "Neon" | |
| 9162 | end | |
| 9163 | end | |
| 9164 | for i, v in pairs(m2:GetChildren()) do | |
| 9165 | if v:IsA("Part") then
| |
| 9166 | v.BrickColor = BrickColor.random() | |
| 9167 | v.Material = "Neon" | |
| 9168 | end | |
| 9169 | end | |
| 9170 | end | |
| 9171 | end | |
| 9172 | end))]] | |
| 9173 | ||
| 9174 | ||
| 9175 | ||
| 9176 | ff = Instance.new("ForceField",char)
| |
| 9177 | ff.Visible = false | |
| 9178 | hum.Name = "Base" | |
| 9179 | hum.MaxHealth = 1.0E298 | |
| 9180 | hum.Health = 1.0E298 | |
| 9181 | game:GetService("RunService"):BindToRenderStep("Bbae", 0, function()
| |
| 9182 | if hum.Health > 0.1 and hum.Health < 1.0E298 then | |
| 9183 | hum.MaxHealth = 1.0E298 | |
| 9184 | hum.Health = 1.0E298 | |
| 9185 | end | |
| 9186 | end) | |
| 9187 | ||
| 9188 | local Hair = Instance.new("Part", char)
| |
| 9189 | Hair.Name = "Hair" | |
| 9190 | Hair.CanCollide = false | |
| 9191 | Hair.BrickColor = BrickColor.new("Institutional white")
| |
| 9192 | Hair.Transparency = 0 | |
| 9193 | Hair.Material = "Plastic" | |
| 9194 | Hair.Size = Vector3.new(1, 1, 2) | |
| 9195 | Hair.TopSurface = Enum.SurfaceType.Smooth | |
| 9196 | Hair.BottomSurface = Enum.SurfaceType.Smooth | |
| 9197 | ||
| 9198 | ||
| 9199 | local bguis = Instance.new("BillboardGui",tors)
| |
| 9200 | bguis.Size = UDim2.new(25, 0, 25, 0) | |
| 9201 | local imgca = Instance.new("ImageLabel",bguis)
| |
| 9202 | imgca.BackgroundTransparency = 1 | |
| 9203 | imgca.ImageTransparency = 1 | |
| 9204 | imgca.Size = UDim2.new(1,0,1,0) | |
| 9205 | imgca.Image = "rbxassetid://2312119891" --997291547,521073910,2312119891 | |
| 9206 | imgca.ImageColor3 = Color3.new(0,0,0) | |
| 9207 | ||
| 9208 | ||
| 9209 | local bguis2 = Instance.new("BillboardGui",tors)
| |
| 9210 | bguis2.Size = UDim2.new(25, 0, 25, 0) | |
| 9211 | local imgca2 = Instance.new("ImageLabel",bguis)
| |
| 9212 | imgca2.BackgroundTransparency = 1 | |
| 9213 | imgca2.ImageTransparency = 1 | |
| 9214 | imgca2.Size = UDim2.new(1,0,1,0) | |
| 9215 | imgca2.Image = "rbxassetid://2406462507" --997291547,521073910,2312119891 | |
| 9216 | imgca2.ImageColor3 = Color3.new(0,0,0) | |
| 9217 | ||
| 9218 | ||
| 9219 | ||
| 9220 | idleanim=.4 | |
| 9221 | while true do | |
| 9222 | if mutedtog == false then | |
| 9223 | kan.Volume = currentVol | |
| 9224 | elseif mutedtog == true then | |
| 9225 | kan.Volume = 0 | |
| 9226 | end | |
| 9227 | kan.PlaybackSpeed = currentPitch | |
| 9228 | kan.Pitch = currentPitch | |
| 9229 | kan.SoundId = currentThemePlaying | |
| 9230 | kan.Looped = true | |
| 9231 | kan.Parent = char | |
| 9232 | kan:Resume() | |
| 9233 | if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 13 then | |
| 9234 | imgca.ImageTransparency = 1 | |
| 9235 | imgca2.ImageTransparency = 1 | |
| 9236 | elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 then | |
| 9237 | imgca.ImageColor3 = MAINRUINCOLOR.Color | |
| 9238 | imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30) | |
| 9239 | elseif ModeOfGlitch == 13 then | |
| 9240 | imgca2.ImageColor3 = MAINRUINCOLOR.Color | |
| 9241 | imgca2.ImageTransparency = 0 + 0.25 * math.cos(sine / 30) | |
| 9242 | end | |
| 9243 | imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/25 | |
| 9244 | bguis.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0) | |
| 9245 | imgca2.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/60 | |
| 9246 | bguis2.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0) | |
| 9247 | coroutine.resume(coroutine.create(function() | |
| 9248 | if chaosmode == true then | |
| 9249 | for i, v in pairs(mw1:GetChildren()) do | |
| 9250 | if v:IsA("Part") then
| |
| 9251 | v.Transparency = 0 | |
| 9252 | v.BrickColor = BrickColor.random() | |
| 9253 | v.Material = "Neon" | |
| 9254 | end | |
| 9255 | end | |
| 9256 | tl1.Color = ColorSequence.new(BrickColor.random().Color) | |
| 9257 | tl2.Color = ColorSequence.new(BrickColor.random().Color) | |
| 9258 | tl3.Color = ColorSequence.new(BrickColor.random().Color) | |
| 9259 | RecolorTextAndRename("F.a.l.l.e.n E.l.i.t.e",Color3.new(0,0,0),BrickColor.random().Color,"Antique")
| |
| 9260 | end | |
| 9261 | end)) | |
| 9262 | coroutine.resume(coroutine.create(function() | |
| 9263 | if ModeOfGlitch == 66 then | |
| 9264 | for i, v in pairs(m:GetChildren()) do | |
| 9265 | if v:IsA("Part") then
| |
| 9266 | v.Transparency = 0 | |
| 9267 | v.BrickColor = BrickColor.random() | |
| 9268 | v.Material = "Neon" | |
| 9269 | end | |
| 9270 | end | |
| 9271 | for i, v in pairs(m2:GetChildren()) do | |
| 9272 | if v:IsA("Part") then
| |
| 9273 | v.Transparency = 0 | |
| 9274 | v.BrickColor = BrickColor.random() | |
| 9275 | v.Material = "Neon" | |
| 9276 | end | |
| 9277 | end | |
| 9278 | for i, v in pairs(mw1:GetChildren()) do | |
| 9279 | if v:IsA("Part") then
| |
| 9280 | v.Transparency = 0 | |
| 9281 | v.BrickColor = BrickColor.random() | |
| 9282 | v.Material = "Neon" | |
| 9283 | end | |
| 9284 | end | |
| 9285 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 9286 | if v:IsA("Part") then
| |
| 9287 | v.Transparency = 0.5 | |
| 9288 | v.BrickColor = BrickColor.random() | |
| 9289 | v.Material = "Neon" | |
| 9290 | end | |
| 9291 | end | |
| 9292 | tl1.Color = ColorSequence.new(BrickColor.random().Color) | |
| 9293 | tl2.Color = ColorSequence.new(BrickColor.random().Color) | |
| 9294 | tl3.Color = ColorSequence.new(BrickColor.random().Color) | |
| 9295 | gane.Color = ColorSequence.new(BrickColor.random().Color) | |
| 9296 | gan.Color = ColorSequence.new(BrickColor.random().Color) | |
| 9297 | end | |
| 9298 | end)) | |
| 9299 | ||
| 9300 | coroutine.resume(coroutine.create(function() | |
| 9301 | if ModeOfGlitch == 66 then | |
| 9302 | RecolorTextAndRename("S N A P P E L I T E",BrickColor.random().Color,Color3.new(0,0,0),"Garamond")
| |
| 9303 | end | |
| 9304 | end)) | |
| 9305 | ||
| 9306 | if chaosmode == false then | |
| 9307 | modet.Position = UDim2.new(0,0,0,0) | |
| 9308 | modet.Rotation = -5 * math.cos(sine / 32) | |
| 9309 | techc.Rotation = techc.Rotation + 1 | |
| 9310 | circl.Rotation = circl.Rotation - kan.PlaybackLoudness/200 - 1 | |
| 9311 | circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/175 + 1 | |
| 9312 | imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/175 + 1 | |
| 9313 | imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/150 - 1 | |
| 9314 | ned.Rotation = 0 - 2 * math.cos(sine / 24) | |
| 9315 | ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45)) | |
| 9316 | else | |
| 9317 | techc.Rotation = techc.Rotation + 1 | |
| 9318 | circl.Rotation = circl.Rotation - kan.PlaybackLoudness/50 + math.random(-5,5) | |
| 9319 | circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/25 + math.random(-5,5) | |
| 9320 | imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/25 + math.random(-5,5) | |
| 9321 | imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/12.5 + math.random(-5,5) | |
| 9322 | ned.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3) | |
| 9323 | ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3)) | |
| 9324 | modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1)) | |
| 9325 | modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3) | |
| 9326 | end | |
| 9327 | CameraManager() | |
| 9328 | swait() | |
| 9329 | lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(12.5 + 5 * math.cos(sine / 32))),.3) | |
| 9330 | lwing2weld.C1=clerp(lwing2weld.C1,cf(3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(25 + 7.5 * math.cos(sine / 32))),.3) | |
| 9331 | lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(37.5 + 10 * math.cos(sine / 32))),.3) | |
| 9332 | lwing4weld.C1=clerp(lwing4weld.C1,cf(4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(50 + 12.5 * math.cos(sine / 32))),.3) | |
| 9333 | lwing5weld.C1=clerp(lwing5weld.C1,cf(5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(62.5 + 15 * math.cos(sine / 32))),.3) | |
| 9334 | lwing6weld.C1=clerp(lwing6weld.C1,cf(6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(75 + 17.5 * math.cos(sine / 32))),.3) | |
| 9335 | rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(-12.5 - 5 * math.cos(sine / 32))),.3) | |
| 9336 | rwing2weld.C1=clerp(rwing2weld.C1,cf(-3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(-25 - 7.5 * math.cos(sine / 32))),.3) | |
| 9337 | rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(-37.5 - 10 * math.cos(sine / 32))),.3) | |
| 9338 | rwing4weld.C1=clerp(rwing4weld.C1,cf(-4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(-50 - 12.5 * math.cos(sine / 32))),.3) | |
| 9339 | rwing5weld.C1=clerp(rwing5weld.C1,cf(-5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(-62.5 - 15 * math.cos(sine / 32))),.3) | |
| 9340 | rwing6weld.C1=clerp(rwing6weld.C1,cf(-6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(-75 - 17.5 * math.cos(sine / 32))),.3) | |
| 9341 | sine = sine + change | |
| 9342 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
| 9343 | local velderp=RootPart.Velocity.y | |
| 9344 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
| 9345 | coroutine.resume(coroutine.create(function() | |
| 9346 | if ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 1003 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 8889 or ModeOfGlitch == 13 then | |
| 9347 | if hitfloor ~= nil then | |
| 9348 | slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,50)/250,BrickColor.new("White"))
| |
| 9349 | if ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 13 then | |
| 9350 | slash(math.random(75,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,150)/250,MAINRUINCOLOR) | |
| 9351 | end | |
| 9352 | end | |
| 9353 | end | |
| 9354 | end)) | |
| 9355 | if equipped==true or equipped==false then | |
| 9356 | if attack==false then | |
| 9357 | idle=idle+1 | |
| 9358 | else | |
| 9359 | idle=0 | |
| 9360 | end | |
| 9361 | if idle>=500 then | |
| 9362 | if attack==false then | |
| 9363 | --Sheath() | |
| 9364 | end | |
| 9365 | end | |
| 9366 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
| 9367 | Anim="Jump" | |
| 9368 | if attack==false then | |
| 9369 | RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1) | |
| 9370 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1) | |
| 9371 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-10),math.rad(0),math.rad(0)),.1) | |
| 9372 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1) | |
| 9373 | RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(25)),.1) | |
| 9374 | LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(-25)),.1) | |
| 9375 | end | |
| 9376 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
| 9377 | Anim="Fall" | |
| 9378 | if attack==false then | |
| 9379 | RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1) | |
| 9380 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1) | |
| 9381 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(10),math.rad(0),math.rad(0)),.1) | |
| 9382 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1) | |
| 9383 | RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(55)),.1) | |
| 9384 | LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(-55)),.1) | |
| 9385 | end | |
| 9386 | elseif torvel<1 and hitfloor~=nil then | |
| 9387 | Anim="Idle" | |
| 9388 | if attack==false then | |
| 9389 | if ModeOfGlitch == 1 then | |
| 9390 | local snap = math.random(1,10) | |
| 9391 | if snap == 1 then | |
| 9392 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(22 + math.random(-5,5))),1) | |
| 9393 | end | |
| 9394 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1) | |
| 9395 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1) | |
| 9396 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1) | |
| 9397 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 2 * math.cos(sine / 37)),math.rad(0 + 5 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(22 - 2 * math.cos(sine / 56))),.1) | |
| 9398 | RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1) | |
| 9399 | LW.C0=clerp(LW.C0,cf(-1.35,1 + 0.025 * math.cos(sine / 45),-0.2)*angles(math.rad(148 - 2 * math.cos(sine / 51)),math.rad(0 - 4 * math.cos(sine / 64)),math.rad(22 - 2 * math.cos(sine / 45))),.1) | |
| 9400 | elseif ModeOfGlitch == 2 then | |
| 9401 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1) | |
| 9402 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1) | |
| 9403 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 42))),.1) | |
| 9404 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 58)),math.rad(0 + 1 * math.cos(sine / 53))),.1) | |
| 9405 | RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1) | |
| 9406 | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1) | |
| 9407 | elseif ModeOfGlitch == 2 then | |
| 9408 | RH.C0=clerp(RH.C0,cf(1,-0.5 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1) | |
| 9409 | LH.C0=clerp(LH.C0,cf(-1,-0.5 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1) | |
| 9410 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.02 * math.cos(sine / 32),-1 + 0.05 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 42))),.1) | |
| 9411 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 58)),math.rad(0 + 1 * math.cos(sine / 53))),.1) | |
| 9412 | RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1) | |
| 9413 | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1) | |
| 9414 | elseif ModeOfGlitch == 50 then | |
| 9415 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-10 + 2 * math.cos(sine / 43)),math.rad(0 - 2 * math.cos(sine / 34))),.1) | |
| 9416 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0 + 2 * math.cos(sine / 34))),.1) | |
| 9417 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(10 - 2 * math.cos(sine / 43))),.1) | |
| 9418 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0 - 2 * math.cos(sine / 47)),math.rad(-10 + 2 * math.cos(sine / 43))),.1) | |
| 9419 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 + 3 * math.cos(sine / 48)),math.rad(-20 - 4 * math.cos(sine / 53)),math.rad(15 - 3 * math.cos(sine / 38))),.1) | |
| 9420 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-10 + 2 * math.cos(sine / 45)),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 39))),.1) | |
| 9421 | elseif ModeOfGlitch == 5555 then --5555 | |
| 9422 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-26 + 2 * math.cos(sine / 44))),.1) | |
| 9423 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 - 1 * math.cos(sine / 28)),math.rad(-5 + 3 * math.cos(sine / 47)),math.rad(26 - 2 * math.cos(sine / 44))),.1) | |
| 9424 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(-10 + 5 * math.cos(sine / 34))),.1) | |
| 9425 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.25),math.rad(0),math.rad(6 + 2 * math.cos(sine / 34))),.1) | |
| 9426 | RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(22 - 3 * math.cos(sine / 53)),math.rad(0),math.rad(-37 + 2 * math.cos(sine / 37))),.1) | |
| 9427 | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(23 - 2 * math.cos(sine / 58)),math.rad(0),math.rad(38 - 3 * math.cos(sine / 57) )),.1) | |
| 9428 | elseif ModeOfGlitch == 1002 then | |
| 9429 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 - 1 * math.cos(sine / 34))),.1) | |
| 9430 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(20),math.rad(0 + 1 * math.cos(sine / 34))),.1) | |
| 9431 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-20)),.1) | |
| 9432 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(20)),.1) | |
| 9433 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(-20),math.rad(30 + 2.5 * math.cos(sine / 25))),.1) | |
| 9434 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(20),math.rad(-20)),.1) | |
| 9435 | elseif ModeOfGlitch == 12 then | |
| 9436 | RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 20) - 0.02 * math.cos(sine / 40),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3 + 2 * math.cos(sine / 40)),math.rad(-15),math.rad(0 + 2 * math.cos(sine / 20))),.1) | |
| 9437 | LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 20) - 0.02 * math.cos(sine / 40),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 - 2 * math.cos(sine / 40)),math.rad(1),math.rad(0 - 2 * math.cos(sine / 20))),.1) | |
| 9438 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.02 * math.cos(sine / 40),0 - 0.02 * math.cos(sine / 40),-0.05 - 0.05 * math.cos(sine / 20))*angles(math.rad(0 + 2 * math.cos(sine / 20)),math.rad(0 + 2 * math.cos(sine / 40)),math.rad(30 + 3 * math.cos(sine / 40))),.1) | |
| 9439 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2),math.rad(0 - 7 * math.cos(sine / 40)),math.rad(-30 - 3 * math.cos(sine / 40))),.1) | |
| 9440 | RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.05 * math.cos(sine / 28),0.1)*angles(math.rad(-6 + 5 * math.cos(sine / 26)),math.rad(-10 - 6 * math.cos(sine / 24)),math.rad(13 - 5 * math.cos(sine / 34))),.1) | |
| 9441 | LW.C0=clerp(LW.C0,cf(-1.4,0.5 + 0.05 * math.cos(sine / 28),0.1)*angles(math.rad(-13 - 1 * math.cos(sine / 25)),math.rad(10 + 2 * math.cos(sine / 24)),math.rad(10 + 2 * math.cos(sine / 34))),.1) | |
| 9442 | elseif ModeOfGlitch == 3 then | |
| 9443 | local snap = math.random(1,32) | |
| 9444 | if snap == 1 then | |
| 9445 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1) | |
| 9446 | end | |
| 9447 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1) | |
| 9448 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1) | |
| 9449 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1) | |
| 9450 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1) | |
| 9451 | RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1) | |
| 9452 | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1) | |
| 9453 | elseif ModeOfGlitch == 4 then | |
| 9454 | local snap = math.random(1,5) | |
| 9455 | if snap == 1 then | |
| 9456 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 + math.random(-1,1)),math.rad(math.random(-1,1)),math.rad(math.random(-1,1))),0.6) | |
| 9457 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 + 5 * math.cos(sine / 74) + math.random(-1,1)),math.rad(1 - 3 * math.cos(sine / 53) + math.random(-1,1)),math.rad(1 + 3 * math.cos(sine / 45) + math.random(-1,1))),.6) | |
| 9458 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 - 3 * math.cos(sine / 73) + math.random(-1,1)),math.rad(2 - 1 * math.cos(sine / 55) + math.random(-1,1)),math.rad(-3 - 3 * math.cos(sine / 45) + math.random(-1,1))),.6) | |
| 9459 | end | |
| 9460 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(25 - 2 * math.cos(sine / 32))),.1) | |
| 9461 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-25 + 2 * math.cos(sine / 32))),.1) | |
| 9462 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(25 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1) | |
| 9463 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1) | |
| 9464 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(1 + 3 * math.cos(sine / 45))),.1) | |
| 9465 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-3 - 3 * math.cos(sine / 45))),.1) | |
| 9466 | elseif ModeOfGlitch == 66 then | |
| 9467 | local snap = math.random(1,2) | |
| 9468 | if snap == 1 then | |
| 9469 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 + math.random(-1,1)),math.rad(math.random(-1,1)),math.rad(math.random(-1,1))),0.6) | |
| 9470 | RW.C0=clerp(RW.C0,cf(1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 + 5 * math.cos(sine / 74) + math.random(-1,1)),math.rad(1 - 3 * math.cos(sine / 53) + math.random(-1,1)),math.rad(-15 + 3 * math.cos(sine / 45) + math.random(-1,1))),.6) | |
| 9471 | LW.C0=clerp(LW.C0,cf(-1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 - 3 * math.cos(sine / 73) + math.random(-1,1)),math.rad(2 - 1 * math.cos(sine / 55) + math.random(-1,1)),math.rad(15 - 3 * math.cos(sine / 45) + math.random(-1,1))),.6) | |
| 9472 | end | |
| 9473 | RH.C0=clerp(RH.C0,cf(1,0.35 - 0.05 * math.cos(sine / 32),-0.7)*angles(math.rad(-20),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(25 - 2 * math.cos(sine / 32))),.1) | |
| 9474 | LH.C0=clerp(LH.C0,cf(-1,-1.125 - 0.05 * math.cos(sine / 32),-0.6)*angles(math.rad(-105),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-25 + 2 * math.cos(sine / 32))),.1) | |
| 9475 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.3 + 0.05 * math.cos(sine / 32))*angles(math.rad(7.5 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1) | |
| 9476 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1) | |
| 9477 | RW.C0=clerp(RW.C0,cf(1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-15 + 3 * math.cos(sine / 45))),.1) | |
| 9478 | LW.C0=clerp(LW.C0,cf(-1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(15 - 3 * math.cos(sine / 45))),.1) | |
| 9479 | elseif ModeOfGlitch == 5 then | |
| 9480 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1) | |
| 9481 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1) | |
| 9482 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1) | |
| 9483 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.1) | |
| 9484 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(8 + 3 * math.cos(sine / 45))),.1) | |
| 9485 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1) | |
| 9486 | elseif ModeOfGlitch == 6 then | |
| 9487 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1) | |
| 9488 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1) | |
| 9489 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1) | |
| 9490 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1) | |
| 9491 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(14 + 5 * math.cos(sine / 32))),.1) | |
| 9492 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 6 * math.cos(sine / 33))),.1) | |
| 9493 | elseif ModeOfGlitch == 13 then | |
| 9494 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1) | |
| 9495 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1) | |
| 9496 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1) | |
| 9497 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1) | |
| 9498 | RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.35)*angles(math.rad(6 + 1 * math.cos(sine / 74)),math.rad(-14 - 1 * math.cos(sine / 53)),math.rad(-86 + 5 * math.cos(sine / 32))),.1) | |
| 9499 | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.55)*angles(math.rad(-20 - 3 * math.cos(sine / 73)),math.rad(23 - 2.25 * math.cos(sine / 55)),math.rad(86 - 6 * math.cos(sine / 33))),.1) | |
| 9500 | elseif ModeOfGlitch == 8 then | |
| 9501 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 39))),.1) | |
| 9502 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 6 * math.cos(sine / 31))),.1) | |
| 9503 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-20)),.1) | |
| 9504 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(20 + 2 * math.cos(sine / 53))),.1) | |
| 9505 | RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1) | |
| 9506 | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1) | |
| 9507 | elseif ModeOfGlitch == 9 then | |
| 9508 | sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
| 9509 | sphere2(8,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Lime green"),Color3.new(0,1,0))
| |
| 9510 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-4 - 2 * math.cos(sine / 53)),math.rad(0 - 2 * math.cos(sine / 32))),.1) | |
| 9511 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(9 - 2 * math.cos(sine / 53)),math.rad(0 + 2 * math.cos(sine / 32))),.1) | |
| 9512 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 53))),.1) | |
| 9513 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(19 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1) | |
| 9514 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(18 - 3 * math.cos(sine / 53)),math.rad(17 + 3 * math.cos(sine / 45))),.1) | |
| 9515 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(-11 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1) | |
| 9516 | elseif ModeOfGlitch == 1003 then | |
| 9517 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-26 + 2 * math.cos(sine / 44))),.1) | |
| 9518 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 - 1 * math.cos(sine / 28)),math.rad(-5 + 3 * math.cos(sine / 47)),math.rad(26 - 2 * math.cos(sine / 44))),.1) | |
| 9519 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(-10 + 5 * math.cos(sine / 34))),.1) | |
| 9520 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.25),math.rad(0),math.rad(6 + 2 * math.cos(sine / 34))),.1) | |
| 9521 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(3 + 7 * math.cos(sine / 79)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 10 * math.cos(sine / 73))),.1) | |
| 9522 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(15 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-27 - 6 * math.cos(sine / 33))),.1) | |
| 9523 | ||
| 9524 | elseif ModeOfGlitch == 8889 then | |
| 9525 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 5 * math.cos(sine / 51))),.1) | |
| 9526 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 44))),.1) | |
| 9527 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-36)),.1) | |
| 9528 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(36 + 2 * math.cos(sine / 53))),.1) | |
| 9529 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(3 + 7 * math.cos(sine / 79)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 10 * math.cos(sine / 73))),.1) | |
| 9530 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(15 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-27 - 6 * math.cos(sine / 33))),.1) | |
| 9531 | elseif ModeOfGlitch == 1264532489 then | |
| 9532 | sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
| 9533 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-14 - 5 * math.cos(sine / 48))),.1) | |
| 9534 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(15 + 7 * math.cos(sine / 51))),.1) | |
| 9535 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1) | |
| 9536 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(21 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1) | |
| 9537 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(13 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(28 + 2 * math.cos(sine / 45))),.1) | |
| 9538 | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1) | |
| 9539 | elseif ModeOfGlitch == 9999999921111 then --9999999921111 | |
| 9540 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(8 - 6 * math.cos(sine / 67)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-18 - 5 * math.cos(sine / 32))),.1) | |
| 9541 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15 - 8 * math.cos(sine / 74)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(31 + 8 * math.cos(sine / 38))),.1) | |
| 9542 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(-21 - 2 * math.cos(sine / 32)),math.rad(8),math.rad(0)),.1) | |
| 9543 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 6 * math.cos(sine / 37)),math.rad(-14 + 5 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1) | |
| 9544 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(-24 + 9 * math.cos(sine / 72)),math.rad(3 - 5 * math.cos(sine / 58)),math.rad(38 + 7 * math.cos(sine / 45))),.1) | |
| 9545 | LW.C0=clerp(LW.C0,cf(-0.8,0.35 + 0.025 * math.cos(sine / 45),-0.75)*angles(math.rad(160 - 2 * math.cos(sine / 66)),math.rad(5 - 8 * math.cos(sine / 59)),math.rad(87 - 3 * math.cos(sine / 45))),.1) | |
| 9546 | elseif ModeOfGlitch == 4367677813 then | |
| 9547 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.1) | |
| 9548 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.1) | |
| 9549 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(10)),.1) | |
| 9550 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 58)),math.rad(-10 + 2 * math.cos(sine / 53))),.1) | |
| 9551 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(4 + 3 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(19 + 2 * math.cos(sine / 45))),.1) | |
| 9552 | LW.C0=clerp(LW.C0,cf(-1.25,0.5 + 0.025 * math.cos(sine / 45),-0.15)*angles(math.rad(10 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(13 - 4 * math.cos(sine / 45))),.1) | |
| 9553 | elseif ModeOfGlitch == 55469696922 then --5555 | |
| 9554 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(8 - 6 * math.cos(sine / 67)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-18 - 5 * math.cos(sine / 32))),.1) | |
| 9555 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15 - 8 * math.cos(sine / 74)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(31 + 8 * math.cos(sine / 38))),.1) | |
| 9556 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(-13 - 2 * math.cos(sine / 32)),math.rad(3),math.rad(10 - 4 * math.cos(sine / 67))),.1) | |
| 9557 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 8 * math.cos(sine / 37)),math.rad(-21 + 2 * math.cos(sine / 58)),math.rad(-10 + 2 * math.cos(sine / 53))),.1) | |
| 9558 | RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 14 * math.cos(sine / 45))),.1) | |
| 9559 | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(35 - 8 * math.cos(sine / 51))),.1) | |
| 9560 | elseif ModeOfGlitch == 999999999556 then | |
| 9561 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 6 * math.cos(sine / 39))),.1) | |
| 9562 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 45))),.1) | |
| 9563 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(17)),.1) | |
| 9564 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(29 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(-17 + 2 * math.cos(sine / 53))),.1) | |
| 9565 | RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1) | |
| 9566 | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1) | |
| 9567 | end | |
| 9568 | end | |
| 9569 | elseif torvel>2 and torvel<22 and hitfloor~=nil then | |
| 9570 | Anim="Walk" | |
| 9571 | if attack==false and ModeOfGlitch ~= 66 then | |
| 9572 | RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1) | |
| 9573 | LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1) | |
| 9574 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 - 0.05 * math.cos(sine / 4))*angles(math.rad(5 + 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1) | |
| 9575 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 5 * math.cos(sine / 8))),.1) | |
| 9576 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 50 * math.cos(sine / 8)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 4))),.1) | |
| 9577 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 50 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1) | |
| 9578 | elseif attack==false and ModeOfGlitch == 66 then | |
| 9579 | RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1) | |
| 9580 | LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1) | |
| 9581 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 - 0.05 * math.cos(sine / 4))*angles(math.rad(5 + 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1) | |
| 9582 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1) | |
| 9583 | RW.C0=clerp(RW.C0,cf(1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-15 + 3 * math.cos(sine / 45))),.1) | |
| 9584 | LW.C0=clerp(LW.C0,cf(-1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(15 - 3 * math.cos(sine / 45))),.1) | |
| 9585 | end | |
| 9586 | elseif torvel>=22 and hitfloor~=nil then | |
| 9587 | Anim="Run" | |
| 9588 | if attack==false then | |
| 9589 | if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 13 and ModeOfGlitch ~= 5555 and ModeOfGlitch ~= 1003 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 8889 then | |
| 9590 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1) | |
| 9591 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1) | |
| 9592 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sine / 3))*angles(math.rad(25 - 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - root.RotVelocity.Y - 1 * math.cos(sine / 6))),.1) | |
| 9593 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-6 + 2 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 1 * math.cos(sine / 6))),.1) | |
| 9594 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0.3)*angles(math.rad(-50 + 10 * math.cos(sine / 3)),math.rad(-10),math.rad(7 + 5 * math.cos(sine / 6))),.1) | |
| 9595 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0.3)*angles(math.rad(-50 + 10 * math.cos(sine / 3)),math.rad(10),math.rad(-7 - 5 * math.cos(sine / 6))),.1) | |
| 9596 | if ModeOfGlitch == 12 then | |
| 9597 | RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 45 * math.cos(sine / 8))),.1) | |
| 9598 | LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 45 * math.cos(sine / 8))),.1) | |
| 9599 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 + 0.05 * math.cos(sine / 4))*angles(math.rad(1.5 + 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 10 * math.cos(sine / 8))),.1) | |
| 9600 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5 - 5 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 10 * math.cos(sine / 8))),.1) | |
| 9601 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 50 * math.cos(sine / 8)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 4))),.1) | |
| 9602 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 50 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1) | |
| 9603 | end | |
| 9604 | if ModeOfGlitch == 9 then | |
| 9605 | sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
| 9606 | sphere2(8,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Lime green"),Color3.new(0,1,0))
| |
| 9607 | sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),8)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,20,-0.0075,MAINRUINCOLOR,0) | |
| 9608 | end | |
| 9609 | elseif ModeOfGlitch == 6 or ModeOfGlitch == 1003 or ModeOfGlitch == 5555 or ModeOfGlitch == 8 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 8889 then | |
| 9610 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2) | |
| 9611 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20 + 2 * math.cos(sine / 38))),.2) | |
| 9612 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2) | |
| 9613 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2) | |
| 9614 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-8 - 4 * math.cos(sine / 59)),math.rad(-20 + 7 * math.cos(sine / 62)),math.rad(20 + 5 * math.cos(sine / 50))),.2) | |
| 9615 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-8 - 3 * math.cos(sine / 55)),math.rad(20 + 8 * math.cos(sine / 67)),math.rad(-20 - 4 * math.cos(sine / 29))),.2) | |
| 9616 | elseif ModeOfGlitch == 13 then | |
| 9617 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2) | |
| 9618 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20 + 2 * math.cos(sine / 38))),.2) | |
| 9619 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(40),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2) | |
| 9620 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2) | |
| 9621 | RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.35)*angles(math.rad(6 + 3 * math.cos(sine / 74)),math.rad(-14 - 1 * math.cos(sine / 53)),math.rad(-86 + 5 * math.cos(sine / 32))),.1) | |
| 9622 | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.55)*angles(math.rad(-20 - 5 * math.cos(sine / 73)),math.rad(23 - 2.25 * math.cos(sine / 55)),math.rad(86 - 6 * math.cos(sine / 33))),.1) | |
| 9623 | end | |
| 9624 | end | |
| 9625 | end | |
| 9626 | end | |
| 9627 | end |