SHOW:
|
|
- or go back to the newest paste.
| 1 | --TODO: add comments or something idk | |
| 2 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 3 | local Player = owner | |
| 4 | local Mouse,mouse,UserInputService,ContextActionService | |
| 5 | do | |
| 6 | script.Parent = Player.Character | |
| 7 | local CAS = {Actions={}}
| |
| 8 | local Event = Instance.new("RemoteEvent")
| |
| 9 | Event.Name = "UserInput_Event" | |
| 10 | Event.Parent = Player.Character | |
| 11 | local fakeEvent = function() | |
| 12 | local t = {_fakeEvent=true}
| |
| 13 | t.Connect = function(self,f)self.Function=f end | |
| 14 | t.connect = t.Connect | |
| 15 | return t | |
| 16 | end | |
| 17 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
| |
| 18 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 19 | function CAS:BindAction(name,fun,touch,...) | |
| 20 | CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
| |
| 21 | end | |
| 22 | function CAS:UnbindAction(name) | |
| 23 | CAS.Actions[name] = nil | |
| 24 | end | |
| 25 | local function te(self,ev,...) | |
| 26 | local t = m[ev] | |
| 27 | if t and t._fakeEvent and t.Function then | |
| 28 | t.Function(...) | |
| 29 | end | |
| 30 | end | |
| 31 | m.TrigEvent = te | |
| 32 | UIS.TrigEvent = te | |
| 33 | Event.OnServerEvent:Connect(function(plr,io) | |
| 34 | if plr~=Player then return end | |
| 35 | if io.isMouse then | |
| 36 | m.Target = io.Target | |
| 37 | m.Hit = io.Hit | |
| 38 | elseif io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 39 | if io.UserInputState == Enum.UserInputState.Begin then | |
| 40 | m:TrigEvent("Button1Down")
| |
| 41 | else | |
| 42 | m:TrigEvent("Button1Up")
| |
| 43 | end | |
| 44 | else | |
| 45 | for n,t in pairs(CAS.Actions) do | |
| 46 | for _,k in pairs(t.Keys) do | |
| 47 | if k==io.KeyCode then | |
| 48 | t.Function(t.Name,io.UserInputState,io) | |
| 49 | end | |
| 50 | end | |
| 51 | end | |
| 52 | if io.UserInputState == Enum.UserInputState.Begin then | |
| 53 | m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
| |
| 54 | UIS:TrigEvent("InputBegan",io,false)
| |
| 55 | else | |
| 56 | m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
| |
| 57 | UIS:TrigEvent("InputEnded",io,false)
| |
| 58 | end | |
| 59 | end | |
| 60 | end) | |
| 61 | NLS([==[ | |
| 62 | local Player = game:GetService("Players").LocalPlayer
| |
| 63 | ||
| 64 | local Char = Player.Character | |
| 65 | local Event = Char:WaitForChild("UserInput_Event")
| |
| 66 | ||
| 67 | local UIS = game:GetService("UserInputService")
| |
| 68 | ||
| 69 | local input = function(io,a) | |
| 70 | if a then return end | |
| 71 | local io = {KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}
| |
| 72 | Event:FireServer(io) | |
| 73 | end | |
| 74 | UIS.InputBegan:Connect(input) | |
| 75 | UIS.InputEnded:Connect(input) | |
| 76 | local Changed = false | |
| 77 | local Mouse = Player:GetMouse() | |
| 78 | local h,t = Mouse.Hit,Mouse.Target | |
| 79 | while wait(1/30) do | |
| 80 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 81 | Event:FireServer({isMouse=true,Target=Mouse.Target,Hit=Mouse.Hit})
| |
| 82 | h,t=Mouse.Hit,Mouse.Target | |
| 83 | end | |
| 84 | end | |
| 85 | ]==],Player.Character) | |
| 86 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
| 87 | end | |
| 88 | ||
| 89 | ||
| 90 | wait(0.5) | |
| 91 | ||
| 92 | warn([[SG AWAKEN Loaded. | |
| 93 | The super switcher. | |
| 94 | Velnorum is one of the first wielders. | |
| 95 | ||
| 96 | Created, Reworked by NoobyGames12 and converted by Helkern | |
| 97 | ]]) | |
| 98 | ||
| 99 | ||
| 100 | ------------- ORIGINAL WIELDER OC: Velnorum | |
| 101 | print([[Icons: | |
| 102 | ! = New | |
| 103 | ? = Spoilers | |
| 104 | * = Exclusivity | |
| 105 | C = Changes | |
| 106 | ||
| 107 | ]]) | |
| 108 | warn([[V 4.4 Update Log: | |
| 109 | !This was edited by RealBredbeargotban and imrabbit53 (my other account) | |
| 110 | !C? - Mostly about 7-9 main modes added. | |
| 111 | ! - Non-canon [N] modes are added from few modes: | |
| 112 | > Solitude: Big Black | |
| 113 | > Purity: BRIGHTNESS | |
| 114 | > Chaos: INSANITY (FINNALY I ADD THIS XD) | |
| 115 | > Divinity: FALLEN | |
| 116 | > Destiny: (NOTHING BECAUSE I WORK ON THIS TRASH XD) | |
| 117 | ! Loost mode now is on f :D | |
| 118 | ! - Added back CALAMITY and INFESTATION. | |
| 119 | C - Two main click attacks changed. | |
| 120 | !C - Moves are added back, with severe change and difference. | |
| 121 | C - Some modes got renamed because fat filter | |
| 122 | C - Toned down the effects to be compatible with fe without strong lag.]]) | |
| 123 | --- its obs smooth af do not touch | |
| 124 | ---- Sources and functions might be taken from others | |
| 125 | plr = owner | |
| 126 | char = plr.Character | |
| 127 | hum = char.Humanoid | |
| 128 | local cam = game.Workspace.CurrentCamera | |
| 129 | Camera = cam | |
| 130 | local CamInterrupt = false | |
| 131 | local TwoD = false | |
| 132 | local TargetInfo = {nil, nil}
| |
| 133 | cam.CameraType = "Custom" | |
| 134 | t = char.Torso | |
| 135 | h = char.Head | |
| 136 | ra = char["Right Arm"] | |
| 137 | la = char["Left Arm"] | |
| 138 | rl = char["Right Leg"] | |
| 139 | ll = char["Left Leg"] | |
| 140 | tors = char.Torso | |
| 141 | lleg = char["Left Leg"] | |
| 142 | root = char.HumanoidRootPart | |
| 143 | hed = char.Head | |
| 144 | rleg = char["Right Leg"] | |
| 145 | rarm = char["Right Arm"] | |
| 146 | larm = char["Left Arm"] | |
| 147 | radian = math.rad | |
| 148 | random = math.random | |
| 149 | Vec3 = Vector3.new | |
| 150 | Inst = Instance.new | |
| 151 | cFrame = CFrame.new | |
| 152 | Euler = CFrame.fromEulerAnglesXYZ | |
| 153 | vt = Vector3.new | |
| 154 | bc = BrickColor.new | |
| 155 | br = BrickColor.random | |
| 156 | it = Instance.new | |
| 157 | cf = CFrame.new | |
| 158 | ||
| 159 | local Booleans = {
| |
| 160 | CamFollow = true, | |
| 161 | GyroUse = true | |
| 162 | } | |
| 163 | ||
| 164 | function lerp(object, newCFrame, alpha) | |
| 165 | return object:lerp(newCFrame, alpha) | |
| 166 | end | |
| 167 | ||
| 168 | local Directer = Inst("BodyGyro", root)
| |
| 169 | Directer.MaxTorque = Vec3(0, 0, 0) | |
| 170 | Directer.P = 600000 | |
| 171 | local CPart = Inst("Part")
| |
| 172 | CPart.Anchored = true | |
| 173 | CPart.CanCollide = false | |
| 174 | CPart.Locked = true | |
| 175 | CPart.Transparency = 1 | |
| 176 | ||
| 177 | local rainbowmode = false | |
| 178 | local chaosmode = false | |
| 179 | ||
| 180 | local kan = Instance.new("Sound",char)
| |
| 181 | kan.Volume = 1.25 | |
| 182 | kan.TimePosition = 0 | |
| 183 | kan.PlaybackSpeed = 1 | |
| 184 | kan.Pitch = 1 | |
| 185 | kan.SoundId = "rbxassetid://614032233" | |
| 186 | kan.Name = "wrecked" | |
| 187 | kan.Looped = true | |
| 188 | kan:Play() | |
| 189 | ||
| 190 | local currentThemePlaying = kan.SoundId | |
| 191 | local currentPitch = kan.Pitch | |
| 192 | local currentVol = kan.Volume | |
| 193 | function newTheme(ID,timepos,pitch,vol) | |
| 194 | local kanz = kan | |
| 195 | --kanz:Stop() | |
| 196 | kanz.Volume = vol | |
| 197 | --kanz.TimePosition = timepos | |
| 198 | kanz.PlaybackSpeed = pitch | |
| 199 | kanz.Pitch = pitch | |
| 200 | kanz.SoundId = ID | |
| 201 | kanz.Name = "wrecked" | |
| 202 | kanz.Looped = true | |
| 203 | currentThemePlaying = kanz.SoundId | |
| 204 | currentVol = kanz.Volume | |
| 205 | currentPitch = kanz.Pitch | |
| 206 | --kanz:Play() | |
| 207 | --coroutine.resume(coroutine.create(function() | |
| 208 | --wait(0.05) | |
| 209 | --end)) | |
| 210 | end | |
| 211 | ||
| 212 | ||
| 213 | function newThemeCust(ID,timepos,pitch,vol) | |
| 214 | local kanz = kan | |
| 215 | kanz:Stop() | |
| 216 | kanz.Volume = vol | |
| 217 | kanz.TimePosition = timepos | |
| 218 | kanz.PlaybackSpeed = pitch | |
| 219 | kanz.Pitch = pitch | |
| 220 | kanz.SoundId = ID | |
| 221 | kanz.Name = "wrecked" | |
| 222 | kanz.Looped = true | |
| 223 | currentThemePlaying = kanz.SoundId | |
| 224 | currentVol = kanz.Volume | |
| 225 | currentPitch = kanz.Pitch | |
| 226 | kanz:Play() | |
| 227 | coroutine.resume(coroutine.create(function() | |
| 228 | wait(0.05) | |
| 229 | end)) | |
| 230 | end | |
| 231 | ||
| 232 | local mutedtog = false | |
| 233 | ||
| 234 | function CameraEnshaking(Length,Intensity) | |
| 235 | coroutine.resume(coroutine.create(function() | |
| 236 | local intensity = 1*Intensity | |
| 237 | local rotM = 0.01*Intensity | |
| 238 | for i = 0, Length, 0.1 do | |
| 239 | swait() | |
| 240 | intensity = intensity - 0.05*Intensity/Length | |
| 241 | rotM = rotM - 0.0005*Intensity/Length | |
| 242 | hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) | |
| 243 | 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) | |
| 244 | end | |
| 245 | Humanoid.CameraOffset = Vec3(0, 0, 0) | |
| 246 | end)) | |
| 247 | end | |
| 248 | CamShake=function(Part,Distan,Power,Times) | |
| 249 | local de=Part.Position | |
| 250 | for i,v in pairs(workspace:children()) do | |
| 251 | if v:IsA("Model") and v:findFirstChild("Humanoid") then
| |
| 252 | for _,c in pairs(v:children()) do | |
| 253 | if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then | |
| 254 | local Noob=v.Humanoid | |
| 255 | if Noob~=nil then | |
| 256 | coroutine.resume(coroutine.create(function() | |
| 257 | FV = Instance.new("BoolValue", Noob)
| |
| 258 | FV.Name = "CameraShake" | |
| 259 | for ShakeNum=1,Times do | |
| 260 | swait() | |
| 261 | local ef=Power | |
| 262 | if ef>=1 then | |
| 263 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef)) | |
| 264 | else | |
| 265 | ef=Power*10 | |
| 266 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10) | |
| 267 | end | |
| 268 | end | |
| 269 | Humanoid.CameraOffset = Vector3.new(0,0,0) | |
| 270 | FV:Destroy() | |
| 271 | end)) | |
| 272 | CameraShake(Times, Power, Noob) | |
| 273 | end | |
| 274 | end | |
| 275 | end | |
| 276 | end | |
| 277 | end | |
| 278 | end | |
| 279 | ||
| 280 | local toggleTag = true | |
| 281 | local bilguit = Instance.new("BillboardGui", hed)
| |
| 282 | bilguit.Adornee = nil | |
| 283 | bilguit.Name = "ModeName" | |
| 284 | bilguit.Size = UDim2.new(4, 0, 1.2, 0) | |
| 285 | bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0) | |
| 286 | local modet = Instance.new("TextLabel", bilguit)
| |
| 287 | modet.Size = UDim2.new(10/2, 0, 7/2, 0) | |
| 288 | modet.FontSize = "Size8" | |
| 289 | modet.TextScaled = true | |
| 290 | modet.TextTransparency = 0 | |
| 291 | modet.BackgroundTransparency = 1 | |
| 292 | modet.TextTransparency = 0 | |
| 293 | modet.TextStrokeTransparency = 0 | |
| 294 | modet.Font = "Antique" | |
| 295 | modet.TextStrokeColor3 = Color3.new(1,1,1) | |
| 296 | modet.TextColor3 = Color3.new(0,0,0) | |
| 297 | - | modet.Text = "star glitcher rework edited by RealBredbeargotban" |
| 297 | + | modet.Text = "Start" |
| 298 | ||
| 299 | ||
| 300 | function chatfunc(text,color,typet,font,timeex) | |
| 301 | local chat = coroutine.wrap(function() | |
| 302 | if Character:FindFirstChild("TalkingBillBoard")~= nil then
| |
| 303 | Character:FindFirstChild("TalkingBillBoard"):destroy()
| |
| 304 | end | |
| 305 | local naeeym2 = Instance.new("BillboardGui",Character)
| |
| 306 | naeeym2.Size = UDim2.new(0,100,0,40) | |
| 307 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
| 308 | naeeym2.Adornee = Character.Head | |
| 309 | naeeym2.Name = "TalkingBillBoard" | |
| 310 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 311 | tecks2.BackgroundTransparency = 1 | |
| 312 | tecks2.BorderSizePixel = 0 | |
| 313 | tecks2.Text = "" | |
| 314 | tecks2.Font = font | |
| 315 | tecks2.TextSize = 30 | |
| 316 | tecks2.TextStrokeTransparency = 0 | |
| 317 | tecks2.TextColor3 = color | |
| 318 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
| 319 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 320 | local tecks3 = Instance.new("TextLabel",naeeym2)
| |
| 321 | tecks3.BackgroundTransparency = 1 | |
| 322 | tecks3.BorderSizePixel = 0 | |
| 323 | tecks3.Text = "" | |
| 324 | tecks3.Font = font | |
| 325 | tecks3.TextSize = 30 | |
| 326 | tecks3.TextStrokeTransparency = 0 | |
| 327 | if typet == "Inverted" then | |
| 328 | tecks3.TextColor3 = Color3.new(0,0,0) | |
| 329 | tecks3.TextStrokeColor3 = color | |
| 330 | elseif typet == "Normal" then | |
| 331 | tecks3.TextColor3 = color | |
| 332 | tecks3.TextStrokeColor3 = Color3.new(0,0,0) | |
| 333 | end | |
| 334 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
| 335 | coroutine.resume(coroutine.create(function() | |
| 336 | while true do | |
| 337 | swait(1) | |
| 338 | if chaosmode == true then | |
| 339 | tecks2.TextColor3 = BrickColor.random().Color | |
| 340 | tecks3.TextStrokeColor3 = BrickColor.random().Color | |
| 341 | end | |
| 342 | end | |
| 343 | end)) | |
| 344 | modet.TextTransparency = modet.TextTransparency + 1 | |
| 345 | modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1 | |
| 346 | for i = 0, 74*timeex do | |
| 347 | swait() | |
| 348 | modet.TextTransparency = 1 | |
| 349 | modet.TextStrokeTransparency = 1 | |
| 350 | tecks2.Text = text | |
| 351 | tecks3.Text = text | |
| 352 | end | |
| 353 | local randomrot = math.random(1,2) | |
| 354 | if randomrot == 1 then | |
| 355 | for i = 1, 50 do | |
| 356 | swait() | |
| 357 | tecks2.Text = text | |
| 358 | tecks3.Text = text | |
| 359 | modet.TextTransparency = modet.TextTransparency - .02 | |
| 360 | modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02 | |
| 361 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 362 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
| 363 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 364 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
| 365 | end | |
| 366 | elseif randomrot == 2 then | |
| 367 | for i = 1, 50 do | |
| 368 | swait() | |
| 369 | tecks2.Text = text | |
| 370 | tecks3.Text = text | |
| 371 | modet.TextTransparency = modet.TextTransparency - .02 | |
| 372 | modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02 | |
| 373 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 374 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
| 375 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 376 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
| 377 | end | |
| 378 | end | |
| 379 | modet.TextTransparency = 0 | |
| 380 | modet.TextStrokeTransparency = 0 | |
| 381 | if toggleTag == false then | |
| 382 | modet.TextTransparency = 1 | |
| 383 | modet.TextStrokeTransparency = 1 | |
| 384 | end | |
| 385 | naeeym2:Destroy() | |
| 386 | end) | |
| 387 | chat() | |
| 388 | end | |
| 389 | ||
| 390 | function bosschatfunc(text,color,watval) | |
| 391 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do
| |
| 392 | coroutine.resume(coroutine.create(function() | |
| 393 | if v.PlayerGui:FindFirstChild("Dialog")~= nil then
| |
| 394 | v.PlayerGui:FindFirstChild("Dialog"):destroy()
| |
| 395 | end | |
| 396 | local scrg = Instance.new("ScreenGui",v.PlayerGui)
| |
| 397 | CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
| |
| 398 | scrg.Name = "Dialog" | |
| 399 | local txtlb = Instance.new("TextLabel",scrg)
| |
| 400 | txtlb.Text = "" | |
| 401 | txtlb.Font = "Bodoni" | |
| 402 | txtlb.TextColor3 = Color3.new(0,0,0) | |
| 403 | txtlb.TextStrokeTransparency = 0 | |
| 404 | txtlb.BackgroundTransparency = 0.75 | |
| 405 | txtlb.BackgroundColor3 = Color3.new(0,0,0) | |
| 406 | txtlb.TextStrokeColor3 = color | |
| 407 | txtlb.TextScaled = true | |
| 408 | txtlb.Size = UDim2.new(1,0,0.25,0) | |
| 409 | txtlb.TextXAlignment = "Left" | |
| 410 | txtlb.Position = UDim2.new(0,0,0.75 + 1,0) | |
| 411 | local txtlb2 = Instance.new("TextLabel",scrg)
| |
| 412 | txtlb2.Text = "?:" | |
| 413 | txtlb2.Font = "Arcade" | |
| 414 | txtlb2.TextColor3 = Color3.new(0,0,0) | |
| 415 | txtlb2.TextStrokeTransparency = 0 | |
| 416 | txtlb2.BackgroundTransparency = 1 | |
| 417 | txtlb2.TextStrokeColor3 = color | |
| 418 | txtlb2.TextSize = 40 | |
| 419 | txtlb2.Size = UDim2.new(1,0,0.25,0) | |
| 420 | txtlb2.TextXAlignment = "Left" | |
| 421 | txtlb2.Position = UDim2.new(0,0,1,0) | |
| 422 | local fvalen = 0.55 | |
| 423 | local fval = -0.49 | |
| 424 | coroutine.resume(coroutine.create(function() | |
| 425 | while true do | |
| 426 | swait() | |
| 427 | if chaosmode == true then | |
| 428 | txtlb.Rotation = math.random(-1,1) | |
| 429 | txtlb2.Rotation = math.random(-1,1) | |
| 430 | txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
| 431 | txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
| 432 | txtlb.TextStrokeColor3 = BrickColor.random().Color | |
| 433 | txtlb2.TextStrokeColor3 = BrickColor.random().Color | |
| 434 | end | |
| 435 | end | |
| 436 | end)) | |
| 437 | coroutine.resume(coroutine.create(function() | |
| 438 | while true do | |
| 439 | swait() | |
| 440 | if scrg.Parent ~= nil then | |
| 441 | fvalen = fvalen - 0.0001 | |
| 442 | elseif scrg.Parent == nil then | |
| 443 | break | |
| 444 | end | |
| 445 | end | |
| 446 | end)) | |
| 447 | local flol = 1.75 | |
| 448 | local flil = 1.6 | |
| 449 | coroutine.resume(coroutine.create(function() | |
| 450 | for i = 0, 9 do | |
| 451 | swait() | |
| 452 | fval = fval + 0.05 | |
| 453 | flol = flol - 0.1 | |
| 454 | flil = flil - 0.1 | |
| 455 | txtlb.Text = "" | |
| 456 | txtlb.Position = UDim2.new(0,0,flol,0) | |
| 457 | txtlb2.Position = UDim2.new(0,0,flil,0) | |
| 458 | end | |
| 459 | txtlb.Text = text | |
| 460 | wait(watval) | |
| 461 | local valinc = 0 | |
| 462 | for i = 0, 99 do | |
| 463 | swait() | |
| 464 | valinc = valinc + 0.0001 | |
| 465 | flol = flol + valinc | |
| 466 | flil = flil + valinc | |
| 467 | txtlb.Rotation = txtlb.Rotation + valinc*20 | |
| 468 | txtlb2.Rotation = txtlb2.Rotation - valinc*50 | |
| 469 | txtlb.Position = UDim2.new(0,0,flol,0) | |
| 470 | txtlb2.Position = UDim2.new(0,0,flil,0) | |
| 471 | txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01 | |
| 472 | txtlb.TextTransparency = txtlb.TextTransparency + 0.01 | |
| 473 | txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01 | |
| 474 | txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01 | |
| 475 | txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025 | |
| 476 | end | |
| 477 | scrg:Destroy() | |
| 478 | end)) | |
| 479 | end)) | |
| 480 | end | |
| 481 | end | |
| 482 | ||
| 483 | ||
| 484 | local Create = LoadLibrary("RbxUtility").Create
| |
| 485 | ||
| 486 | CFuncs = {
| |
| 487 | ["Part"] = {
| |
| 488 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 489 | local Part = Create("Part"){
| |
| 490 | Parent = Parent, | |
| 491 | Reflectance = Reflectance, | |
| 492 | Transparency = Transparency, | |
| 493 | CanCollide = false, | |
| 494 | Locked = true, | |
| 495 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 496 | Name = Name, | |
| 497 | Size = Size, | |
| 498 | Material = Material, | |
| 499 | } | |
| 500 | RemoveOutlines(Part) | |
| 501 | return Part | |
| 502 | end; | |
| 503 | }; | |
| 504 | ||
| 505 | ["Mesh"] = {
| |
| 506 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 507 | local Msh = Create(Mesh){
| |
| 508 | Parent = Part, | |
| 509 | Offset = OffSet, | |
| 510 | Scale = Scale, | |
| 511 | } | |
| 512 | if Mesh == "SpecialMesh" then | |
| 513 | Msh.MeshType = MeshType | |
| 514 | Msh.MeshId = MeshId | |
| 515 | end | |
| 516 | return Msh | |
| 517 | end; | |
| 518 | }; | |
| 519 | ||
| 520 | ["Mesh"] = {
| |
| 521 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 522 | local Msh = Create(Mesh){
| |
| 523 | Parent = Part, | |
| 524 | Offset = OffSet, | |
| 525 | Scale = Scale, | |
| 526 | } | |
| 527 | if Mesh == "SpecialMesh" then | |
| 528 | Msh.MeshType = MeshType | |
| 529 | Msh.MeshId = MeshId | |
| 530 | end | |
| 531 | return Msh | |
| 532 | end; | |
| 533 | }; | |
| 534 | ||
| 535 | ["Weld"] = {
| |
| 536 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 537 | local Weld = Create("Weld"){
| |
| 538 | Parent = Parent, | |
| 539 | Part0 = Part0, | |
| 540 | Part1 = Part1, | |
| 541 | C0 = C0, | |
| 542 | C1 = C1, | |
| 543 | } | |
| 544 | return Weld | |
| 545 | end; | |
| 546 | }; | |
| 547 | ||
| 548 | ["Sound"] = {
| |
| 549 | Create = function(id, par, vol, pit) | |
| 550 | coroutine.resume(coroutine.create(function() | |
| 551 | local S = Create("Sound"){
| |
| 552 | Volume = vol, | |
| 553 | Name = "EffectSoundo", | |
| 554 | Pitch = pit or 1, | |
| 555 | SoundId = id, | |
| 556 | Parent = par or workspace, | |
| 557 | } | |
| 558 | wait() | |
| 559 | S:play() | |
| 560 | game:GetService("Debris"):AddItem(S, 10)
| |
| 561 | end)) | |
| 562 | end; | |
| 563 | }; | |
| 564 | ||
| 565 | ["TimeSound"] = {
| |
| 566 | Create = function(id, par, vol, pit, timepos) | |
| 567 | coroutine.resume(coroutine.create(function() | |
| 568 | local S = Create("Sound"){
| |
| 569 | Volume = vol, | |
| 570 | Name = "EffectSoundo", | |
| 571 | Pitch = pit or 1, | |
| 572 | SoundId = id, | |
| 573 | TimePosition = timepos, | |
| 574 | Parent = par or workspace, | |
| 575 | } | |
| 576 | wait() | |
| 577 | S:play() | |
| 578 | game:GetService("Debris"):AddItem(S, 10)
| |
| 579 | end)) | |
| 580 | end; | |
| 581 | }; | |
| 582 | ["EchoSound"] = {
| |
| 583 | Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl) | |
| 584 | coroutine.resume(coroutine.create(function() | |
| 585 | local Sas = Create("Sound"){
| |
| 586 | Volume = vol, | |
| 587 | Name = "EffectSoundo", | |
| 588 | Pitch = pit or 1, | |
| 589 | SoundId = id, | |
| 590 | TimePosition = timepos, | |
| 591 | Parent = par or workspace, | |
| 592 | } | |
| 593 | local E = Create("EchoSoundEffect"){
| |
| 594 | Delay = echodelay, | |
| 595 | Name = "Echo", | |
| 596 | Feedback = fedb, | |
| 597 | DryLevel = dryl, | |
| 598 | Parent = Sas, | |
| 599 | } | |
| 600 | wait() | |
| 601 | Sas:play() | |
| 602 | game:GetService("Debris"):AddItem(Sas, delays)
| |
| 603 | end)) | |
| 604 | end; | |
| 605 | }; | |
| 606 | ||
| 607 | ["LongSound"] = {
| |
| 608 | Create = function(id, par, vol, pit) | |
| 609 | coroutine.resume(coroutine.create(function() | |
| 610 | local S = Create("Sound"){
| |
| 611 | Volume = vol, | |
| 612 | Pitch = pit or 1, | |
| 613 | SoundId = id, | |
| 614 | Parent = par or workspace, | |
| 615 | } | |
| 616 | wait() | |
| 617 | S:play() | |
| 618 | game:GetService("Debris"):AddItem(S, 60)
| |
| 619 | end)) | |
| 620 | end; | |
| 621 | }; | |
| 622 | ||
| 623 | ["ParticleEmitter"] = {
| |
| 624 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 625 | local fp = Create("ParticleEmitter"){
| |
| 626 | Parent = Parent, | |
| 627 | Color = ColorSequence.new(Color1, Color2), | |
| 628 | LightEmission = LightEmission, | |
| 629 | Size = Size, | |
| 630 | Texture = Texture, | |
| 631 | Transparency = Transparency, | |
| 632 | ZOffset = ZOffset, | |
| 633 | Acceleration = Accel, | |
| 634 | Drag = Drag, | |
| 635 | LockedToPart = LockedToPart, | |
| 636 | VelocityInheritance = VelocityInheritance, | |
| 637 | EmissionDirection = EmissionDirection, | |
| 638 | Enabled = Enabled, | |
| 639 | Lifetime = LifeTime, | |
| 640 | Rate = Rate, | |
| 641 | Rotation = Rotation, | |
| 642 | RotSpeed = RotSpeed, | |
| 643 | Speed = Speed, | |
| 644 | VelocitySpread = VelocitySpread, | |
| 645 | } | |
| 646 | return fp | |
| 647 | end; | |
| 648 | }; | |
| 649 | ||
| 650 | CreateTemplate = {
| |
| 651 | ||
| 652 | }; | |
| 653 | } | |
| 654 | ||
| 655 | ||
| 656 | ||
| 657 | New = function(Object, Parent, Name, Data) | |
| 658 | local Object = Instance.new(Object) | |
| 659 | for Index, Value in pairs(Data or {}) do
| |
| 660 | Object[Index] = Value | |
| 661 | end | |
| 662 | Object.Parent = Parent | |
| 663 | Object.Name = Name | |
| 664 | return Object | |
| 665 | end | |
| 666 | local halocolor = BrickColor.new("Pastel light blue")
| |
| 667 | local halocolor2 = BrickColor.new("Cool yellow")
| |
| 668 | local starcolor = BrickColor.new("Bright yellow")
| |
| 669 | local lunacolor = BrickColor.new("Navy blue")
| |
| 670 | local lunacolor2 = BrickColor.new("Bright blue")
| |
| 671 | local wepcolor = BrickColor.new("Really black")
| |
| 672 | local maincolor = BrickColor.new("Really black")
| |
| 673 | local m = Instance.new("Model",char)
| |
| 674 | local m2 = Instance.new("Model",char)
| |
| 675 | local m3 = Instance.new("Model",char)
| |
| 676 | local mw1 = Instance.new("Model",char)
| |
| 677 | local mw2 = Instance.new("Model",char)
| |
| 678 | ||
| 679 | ||
| 680 | gui = function(GuiType, parent, text, backtrans, backcol, pos, size) | |
| 681 | local gui = it(GuiType) | |
| 682 | gui.Parent = parent | |
| 683 | gui.Text = text | |
| 684 | gui.BackgroundTransparency = backtrans | |
| 685 | gui.BackgroundColor3 = backcol | |
| 686 | gui.SizeConstraint = "RelativeXY" | |
| 687 | gui.TextXAlignment = "Center" | |
| 688 | gui.TextYAlignment = "Center" | |
| 689 | gui.Position = pos | |
| 690 | gui.Size = size | |
| 691 | gui.Font = "SourceSans" | |
| 692 | gui.FontSize = "Size14" | |
| 693 | gui.TextWrapped = false | |
| 694 | gui.TextStrokeTransparency = 0 | |
| 695 | gui.TextColor = BrickColor.new("White")
| |
| 696 | return gui | |
| 697 | end | |
| 698 | --------------------------- GUI STUFF | |
| 699 | local basgui = it("GuiMain")
| |
| 700 | basgui.Parent = plr.PlayerGui | |
| 701 | basgui.Name = "VISgui" | |
| 702 | local fullscreenz = it("Frame")
| |
| 703 | fullscreenz.Parent = basgui | |
| 704 | fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255) | |
| 705 | fullscreenz.BackgroundTransparency = 1 | |
| 706 | fullscreenz.BorderColor3 = Color3.new(17, 17, 17) | |
| 707 | fullscreenz.Size = UDim2.new(1, 0, 1, 0) | |
| 708 | fullscreenz.Position = UDim2.new(0, 0, 0, 0) | |
| 709 | local imgl2 = Instance.new("ImageLabel",fullscreenz)
| |
| 710 | imgl2.BackgroundTransparency = 1 | |
| 711 | imgl2.BorderSizePixel = 0 | |
| 712 | imgl2.ImageTransparency = 0.5 | |
| 713 | imgl2.ImageColor3 = Color3.new(1,0,0) | |
| 714 | imgl2.Position = UDim2.new(0.75,-200,0.55,-200) | |
| 715 | imgl2.Size = UDim2.new(0,1000,0,1000) | |
| 716 | imgl2.Image = "rbxassetid://2325939897" | |
| 717 | local techc = imgl2:Clone() | |
| 718 | techc.Parent = fullscreenz | |
| 719 | techc.ImageTransparency = 0 | |
| 720 | techc.Size = UDim2.new(0,900,0,900) | |
| 721 | techc.Position = UDim2.new(0.75,-150,0.55,-150) | |
| 722 | techc.ImageColor3 = Color3.new(1,0,0) | |
| 723 | techc.Image = "rbxassetid://2273224484" | |
| 724 | local circl = imgl2:Clone() | |
| 725 | circl.Parent = fullscreenz | |
| 726 | circl.ImageTransparency = 0 | |
| 727 | circl.Size = UDim2.new(0,550,0,550) | |
| 728 | circl.Position = UDim2.new(0.75,25,0.55,25) | |
| 729 | circl.ImageColor3 = Color3.new(0,0,0) | |
| 730 | circl.Image = "rbxassetid://2312119891" | |
| 731 | local circl2 = imgl2:Clone() | |
| 732 | circl2.Parent = fullscreenz | |
| 733 | circl2.ImageTransparency = 0 | |
| 734 | circl2.Size = UDim2.new(0,700,0,700) | |
| 735 | circl2.Position = UDim2.new(0.75,-50,0.55,-50) | |
| 736 | circl2.ImageColor3 = Color3.new(1,0,0) | |
| 737 | circl2.Image = "rbxassetid://2312119891" | |
| 738 | local imgl2b = imgl2:Clone() | |
| 739 | imgl2b.Parent = fullscreenz | |
| 740 | imgl2b.ImageTransparency = 0 | |
| 741 | imgl2b.Size = UDim2.new(0,800,0,800) | |
| 742 | imgl2b.Position = UDim2.new(0.75,-100,0.55,-100) | |
| 743 | imgl2b.ImageColor3 = Color3.new(0,0,0) | |
| 744 | local ned = Instance.new("TextLabel",fullscreenz)
| |
| 745 | ned.ZIndex = 2 | |
| 746 | ned.Font = "Arcade" | |
| 747 | ned.BackgroundTransparency = 1 | |
| 748 | ned.BorderSizePixel = 0.65 | |
| 749 | ned.Size = UDim2.new(0.3,0,0.2,0) | |
| 750 | ned.Position = UDim2.new(0.7,0,0.8,0) | |
| 751 | ned.TextColor3 = BrickColor.new("Really red").Color
| |
| 752 | ned.TextStrokeColor3 = BrickColor.new("Really black").Color
| |
| 753 | ned.TextScaled = true | |
| 754 | ned.TextStrokeTransparency = 0 | |
| 755 | ned.Text = "Solitude" | |
| 756 | ned.TextSize = 24 | |
| 757 | ned.Rotation = 1 | |
| 758 | ned.TextXAlignment = "Right" | |
| 759 | ned.TextYAlignment = "Bottom" | |
| 760 | ||
| 761 | local extrawingmod1 = Instance.new("Model",char)
| |
| 762 | local extrawingmod2 = Instance.new("Model",char)
| |
| 763 | ||
| 764 | function CreateParta(parent,transparency,reflectance,material,brickcolor) | |
| 765 | local p = Instance.new("Part")
| |
| 766 | p.TopSurface = 0 | |
| 767 | p.BottomSurface = 0 | |
| 768 | p.Parent = parent | |
| 769 | p.Size = Vector3.new(0.1,0.1,0.1) | |
| 770 | p.Transparency = transparency | |
| 771 | p.Reflectance = reflectance | |
| 772 | p.CanCollide = false | |
| 773 | p.Locked = true | |
| 774 | p.BrickColor = brickcolor | |
| 775 | p.Material = material | |
| 776 | return p | |
| 777 | end | |
| 778 | ||
| 779 | function CreateMesh(parent,meshtype,x1,y1,z1) | |
| 780 | local mesh = Instance.new("SpecialMesh",parent)
| |
| 781 | mesh.MeshType = meshtype | |
| 782 | mesh.Scale = Vector3.new(x1*10,y1*10,z1*10) | |
| 783 | return mesh | |
| 784 | end | |
| 785 | ||
| 786 | function CreateSpecialMesh(parent,meshid,x1,y1,z1) | |
| 787 | local mesh = Instance.new("SpecialMesh",parent)
| |
| 788 | mesh.MeshType = "FileMesh" | |
| 789 | mesh.MeshId = meshid | |
| 790 | mesh.Scale = Vector3.new(x1,y1,z1) | |
| 791 | return mesh | |
| 792 | end | |
| 793 | ||
| 794 | ||
| 795 | function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1) | |
| 796 | local mesh = Instance.new("SpecialMesh",parent)
| |
| 797 | mesh.MeshType = "FileMesh" | |
| 798 | mesh.MeshId = meshid | |
| 799 | mesh.TextureId = "http://www.roblox.com/asset/?id=269748808" | |
| 800 | mesh.Scale = Vector3.new(x1,y1,z1) | |
| 801 | mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b) | |
| 802 | return mesh | |
| 803 | end | |
| 804 | ||
| 805 | function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za) | |
| 806 | local weld = Instance.new("Weld")
| |
| 807 | weld.Parent = parent | |
| 808 | weld.Part0 = part0 | |
| 809 | weld.Part1 = part1 | |
| 810 | weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za) | |
| 811 | weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za) | |
| 812 | return weld | |
| 813 | end | |
| 814 | ||
| 815 | ||
| 816 | -------------- | |
| 817 | -------------- | |
| 818 | local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 819 | 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)) | |
| 820 | local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 821 | 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)) | |
| 822 | ||
| 823 | local handlex = CreateParta(mw2,1,1,"Neon",maincolor) | |
| 824 | CreateMesh(handle,"Brick",0,0,0) | |
| 825 | 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)) | |
| 826 | local valuaring = 10 | |
| 827 | for i = 0, 49 do | |
| 828 | valuaring = valuaring + 10 | |
| 829 | rn = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 830 | CreateMesh(rn,"Brick",0.25,0.1,0.1) | |
| 831 | 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)) | |
| 832 | end | |
| 833 | ||
| 834 | handlex = CreateParta(mw2,1,1,"Neon",maincolor) | |
| 835 | CreateMesh(handle,"Brick",0,0,0) | |
| 836 | 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)) | |
| 837 | local valuaring = 10 | |
| 838 | for i = 0, 49 do | |
| 839 | valuaring = valuaring + 10 | |
| 840 | rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 841 | CreateMesh(rn,"Brick",0.5,0.2,0.2) | |
| 842 | 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)) | |
| 843 | end | |
| 844 | ||
| 845 | ||
| 846 | local handle = CreateParta(m,1,1,"Neon",maincolor) | |
| 847 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 848 | 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)) | |
| 849 | ||
| 850 | --- Left wing. | |
| 851 | ||
| 852 | local lwing1 = CreateParta(m,1,1,"Neon",maincolor) | |
| 853 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 854 | 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)) | |
| 855 | ||
| 856 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 857 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 858 | 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)) | |
| 859 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 860 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 861 | 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)) | |
| 862 | A0 = Instance.new('Attachment',wed)
| |
| 863 | A0.Position = vt(0,0.25,0.25) | |
| 864 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 865 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 866 | 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)) | |
| 867 | A1 = Instance.new('Attachment',wed)
| |
| 868 | A1.Position = vt(0,-0.25,-2) | |
| 869 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 870 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 871 | 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)) | |
| 872 | ||
| 873 | tl1 = Instance.new('Trail',wed)
| |
| 874 | tl1.Attachment0 = A1 | |
| 875 | tl1.Attachment1 = A0 | |
| 876 | tl1.Texture = "rbxassetid://2108945559" | |
| 877 | tl1.LightEmission = 1 | |
| 878 | tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 879 | tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
| |
| 880 | tl1.Lifetime = 0.6 | |
| 881 | ||
| 882 | ||
| 883 | local lwing2 = CreateParta(m,1,1,"Neon",maincolor) | |
| 884 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 885 | 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)) | |
| 886 | ||
| 887 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 888 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 889 | 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)) | |
| 890 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 891 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 892 | 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)) | |
| 893 | A0 = Instance.new('Attachment',wed)
| |
| 894 | A0.Position = vt(0,0.25,0.25) | |
| 895 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 896 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 897 | 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)) | |
| 898 | A1 = Instance.new('Attachment',wed)
| |
| 899 | A1.Position = vt(0,-0.25,-2) | |
| 900 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 901 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 902 | 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)) | |
| 903 | ||
| 904 | tl2 = Instance.new('Trail',wed)
| |
| 905 | tl2.Attachment0 = A1 | |
| 906 | tl2.Attachment1 = A0 | |
| 907 | tl2.Texture = "rbxassetid://2108945559" | |
| 908 | tl2.LightEmission = 1 | |
| 909 | tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 910 | tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
| |
| 911 | tl2.Lifetime = 0.6 | |
| 912 | ||
| 913 | local lwing3 = CreateParta(m,1,1,"Neon",maincolor) | |
| 914 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 915 | 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)) | |
| 916 | ||
| 917 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 918 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 919 | 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)) | |
| 920 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 921 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 922 | 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)) | |
| 923 | A0 = Instance.new('Attachment',wed)
| |
| 924 | A0.Position = vt(0,0.25,0.25) | |
| 925 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 926 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 927 | 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)) | |
| 928 | A1 = Instance.new('Attachment',wed)
| |
| 929 | A1.Position = vt(0,-0.25,-2) | |
| 930 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 931 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 932 | 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)) | |
| 933 | ||
| 934 | tl3 = Instance.new('Trail',wed)
| |
| 935 | tl3.Attachment0 = A1 | |
| 936 | tl3.Attachment1 = A0 | |
| 937 | tl3.Texture = "rbxassetid://2108945559" | |
| 938 | tl3.LightEmission = 1 | |
| 939 | tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 940 | tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
| |
| 941 | tl3.Lifetime = 0.6 | |
| 942 | ||
| 943 | tl1.Enabled = false | |
| 944 | tl2.Enabled = false | |
| 945 | tl3.Enabled = false | |
| 946 | local lwing4 = CreateParta(m,1,1,"Neon",maincolor) | |
| 947 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 948 | 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)) | |
| 949 | ||
| 950 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 951 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 952 | 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)) | |
| 953 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 954 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 955 | 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)) | |
| 956 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 957 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 958 | 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)) | |
| 959 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 960 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 961 | 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)) | |
| 962 | ||
| 963 | local lwing5 = CreateParta(m,1,1,"Neon",maincolor) | |
| 964 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 965 | 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)) | |
| 966 | ||
| 967 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 968 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 969 | 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)) | |
| 970 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 971 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 972 | 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)) | |
| 973 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 974 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 975 | 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)) | |
| 976 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 977 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 978 | 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)) | |
| 979 | ||
| 980 | local lwing6 = CreateParta(m,1,1,"Neon",maincolor) | |
| 981 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 982 | 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)) | |
| 983 | ||
| 984 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 985 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 986 | 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)) | |
| 987 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 988 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 989 | 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)) | |
| 990 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 991 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 992 | 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)) | |
| 993 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 994 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 995 | 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)) | |
| 996 | ||
| 997 | -- Right wing. | |
| 998 | ||
| 999 | local rwing1 = CreateParta(m,1,1,"Neon",maincolor) | |
| 1000 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 1001 | 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)) | |
| 1002 | ||
| 1003 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 1004 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1005 | 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)) | |
| 1006 | A0 = Instance.new('Attachment',wed)
| |
| 1007 | A0.Position = vt(0,0.25,0.25) | |
| 1008 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 1009 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1010 | 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)) | |
| 1011 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 1012 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 1013 | 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)) | |
| 1014 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 1015 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 1016 | 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)) | |
| 1017 | A1 = Instance.new('Attachment',wed)
| |
| 1018 | A1.Position = vt(0,2,0.25) | |
| 1019 | ||
| 1020 | tr1 = Instance.new('Trail',wed)
| |
| 1021 | tr1.Attachment0 = A1 | |
| 1022 | tr1.Attachment1 = A0 | |
| 1023 | tr1.Texture = "rbxassetid://2108945559" | |
| 1024 | tr1.LightEmission = 1 | |
| 1025 | tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 1026 | tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
| |
| 1027 | tr1.Lifetime = 0.6 | |
| 1028 | ||
| 1029 | local rwing2 = CreateParta(m,1,1,"Neon",maincolor) | |
| 1030 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 1031 | 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)) | |
| 1032 | ||
| 1033 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 1034 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1035 | 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)) | |
| 1036 | A0 = Instance.new('Attachment',wed)
| |
| 1037 | A0.Position = vt(0,0.25,0.25) | |
| 1038 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 1039 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1040 | 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)) | |
| 1041 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 1042 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 1043 | 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)) | |
| 1044 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 1045 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 1046 | 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)) | |
| 1047 | A1 = Instance.new('Attachment',wed)
| |
| 1048 | A1.Position = vt(0,2,0.25) | |
| 1049 | ||
| 1050 | tr2 = Instance.new('Trail',wed)
| |
| 1051 | tr2.Attachment0 = A1 | |
| 1052 | tr2.Attachment1 = A0 | |
| 1053 | tr2.Texture = "rbxassetid://2108945559" | |
| 1054 | tr2.LightEmission = 1 | |
| 1055 | tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 1056 | tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
| |
| 1057 | tr2.Lifetime = 0.6 | |
| 1058 | ||
| 1059 | local rwing3 = CreateParta(m,1,1,"Neon",maincolor) | |
| 1060 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 1061 | 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)) | |
| 1062 | ||
| 1063 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 1064 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1065 | 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)) | |
| 1066 | A0 = Instance.new('Attachment',wed)
| |
| 1067 | A0.Position = vt(0,0.25,0.25) | |
| 1068 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 1069 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1070 | 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)) | |
| 1071 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 1072 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 1073 | 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)) | |
| 1074 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 1075 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 1076 | 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)) | |
| 1077 | A1 = Instance.new('Attachment',wed)
| |
| 1078 | A1.Position = vt(0,2,0.25) | |
| 1079 | ||
| 1080 | tr3 = Instance.new('Trail',wed)
| |
| 1081 | tr3.Attachment0 = A1 | |
| 1082 | tr3.Attachment1 = A0 | |
| 1083 | tr3.Texture = "rbxassetid://2108945559" | |
| 1084 | tr3.LightEmission = 1 | |
| 1085 | tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 1086 | tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
| |
| 1087 | tr3.Lifetime = 0.6 | |
| 1088 | ||
| 1089 | ||
| 1090 | local rwing4 = CreateParta(m,1,1,"Neon",maincolor) | |
| 1091 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 1092 | 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)) | |
| 1093 | ||
| 1094 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1095 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1096 | 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)) | |
| 1097 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1098 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1099 | 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)) | |
| 1100 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1101 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 1102 | 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)) | |
| 1103 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1104 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 1105 | 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)) | |
| 1106 | ||
| 1107 | local rwing5 = CreateParta(m,1,1,"Neon",maincolor) | |
| 1108 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 1109 | 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)) | |
| 1110 | ||
| 1111 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1112 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1113 | 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)) | |
| 1114 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1115 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1116 | 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)) | |
| 1117 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1118 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 1119 | 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)) | |
| 1120 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1121 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 1122 | 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)) | |
| 1123 | ||
| 1124 | local rwing6 = CreateParta(m,1,1,"Neon",maincolor) | |
| 1125 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 1126 | 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)) | |
| 1127 | ||
| 1128 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1129 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1130 | 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)) | |
| 1131 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1132 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1133 | 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)) | |
| 1134 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1135 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 1136 | 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)) | |
| 1137 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1138 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 1139 | 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)) | |
| 1140 | ||
| 1141 | ---- HERES THE RING | |
| 1142 | ||
| 1143 | ||
| 1144 | --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor) | |
| 1145 | CreateMesh(ran,"Wedge",1.02,1.02,1.02) | |
| 1146 | 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)) | |
| 1147 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1148 | CreateMesh(ran,"Wedge",0.9,0.9,1.025) | |
| 1149 | 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)) | |
| 1150 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1151 | CreateMesh(ran,"Wedge",1.025,0.9,0.9) | |
| 1152 | 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)) | |
| 1153 | ||
| 1154 | ||
| 1155 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1156 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
| 1157 | 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)) | |
| 1158 | ||
| 1159 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1160 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
| 1161 | 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)) | |
| 1162 | ||
| 1163 | ||
| 1164 | ||
| 1165 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
| 1166 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
| 1167 | 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)) | |
| 1168 | ||
| 1169 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
| 1170 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
| 1171 | 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)) | |
| 1172 | ||
| 1173 | gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2) | |
| 1174 | CreateMesh(gane,"Brick",1.0625,0.2,1.0625) | |
| 1175 | 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)) | |
| 1176 | ||
| 1177 | star = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1178 | CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5) | |
| 1179 | 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)) | |
| 1180 | starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor) | |
| 1181 | CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95) | |
| 1182 | 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)) | |
| 1183 | ||
| 1184 | --- second ring | |
| 1185 | ||
| 1186 | ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor) | |
| 1187 | CreateMesh(ran,"Wedge",1.02,1.02,1.02) | |
| 1188 | CreateWeld(ran,rarm,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)) | |
| 1189 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1190 | CreateMesh(ran,"Wedge",0.9,0.9,1.025) | |
| 1191 | CreateWeld(ran,rarm,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)) | |
| 1192 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1193 | CreateMesh(ran,"Wedge",1.025,0.9,0.9) | |
| 1194 | CreateWeld(ran,rarm,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)) | |
| 1195 | ||
| 1196 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1197 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
| 1198 | 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)) | |
| 1199 | ||
| 1200 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1201 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
| 1202 | 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)) | |
| 1203 | ||
| 1204 | ||
| 1205 | ||
| 1206 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
| 1207 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
| 1208 | 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)) | |
| 1209 | ||
| 1210 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
| 1211 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
| 1212 | 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)) | |
| 1213 | ||
| 1214 | gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2) | |
| 1215 | CreateMesh(gane,"Brick",1.0625,0.2,1.0625) | |
| 1216 | 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)) | |
| 1217 | ||
| 1218 | star = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1219 | CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5) | |
| 1220 | 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)) | |
| 1221 | starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor) | |
| 1222 | CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95) | |
| 1223 | 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))]]-- | |
| 1224 | ||
| 1225 | ||
| 1226 | ||
| 1227 | for i, v in pairs(m:GetChildren()) do | |
| 1228 | if v:IsA("Part") then
| |
| 1229 | v.BrickColor = BrickColor.new("Really black")
| |
| 1230 | v.Material = "Glass" | |
| 1231 | end | |
| 1232 | end | |
| 1233 | for i, v in pairs(m2:GetChildren()) do | |
| 1234 | if v:IsA("Part") then
| |
| 1235 | v.BrickColor = BrickColor.new("Crimson")
| |
| 1236 | v.Material = "Granite" | |
| 1237 | end | |
| 1238 | end | |
| 1239 | for i, v in pairs(m3:GetChildren()) do | |
| 1240 | if v:IsA("Part") then
| |
| 1241 | v.BrickColor = BrickColor.new("Really black")
| |
| 1242 | v.Material = "Neon" | |
| 1243 | end | |
| 1244 | end | |
| 1245 | for i, v in pairs(mw2:GetChildren()) do | |
| 1246 | if v:IsA("Part") then
| |
| 1247 | v.BrickColor = BrickColor.new("Really black")
| |
| 1248 | v.Material = "Neon" | |
| 1249 | end | |
| 1250 | end | |
| 1251 | for i, v in pairs(mw1:GetChildren()) do | |
| 1252 | if v:IsA("Part") then
| |
| 1253 | v.Transparency = 1 | |
| 1254 | v.BrickColor = BrickColor.new("Really black")
| |
| 1255 | v.Material = "Neon" | |
| 1256 | end | |
| 1257 | end | |
| 1258 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 1259 | if v:IsA("Part") then
| |
| 1260 | v.Transparency = 1 | |
| 1261 | v.BrickColor = BrickColor.new("White")
| |
| 1262 | v.Material = "Neon" | |
| 1263 | end | |
| 1264 | end | |
| 1265 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 1266 | if v:IsA("Part") then
| |
| 1267 | v.Transparency = 1 | |
| 1268 | v.BrickColor = BrickColor.new("White")
| |
| 1269 | v.Material = "Neon" | |
| 1270 | end | |
| 1271 | end | |
| 1272 | local MAINRUINCOLOR = BrickColor.new("Really red")
| |
| 1273 | ------ | |
| 1274 | ||
| 1275 | ||
| 1276 | function RemoveOutlines(part) | |
| 1277 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 1278 | end | |
| 1279 | function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 1280 | local Part = Create("Part")({
| |
| 1281 | Parent = Parent, | |
| 1282 | Reflectance = Reflectance, | |
| 1283 | Transparency = Transparency, | |
| 1284 | CanCollide = false, | |
| 1285 | Locked = true, | |
| 1286 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 1287 | Name = Name, | |
| 1288 | Size = Size, | |
| 1289 | Material = Material | |
| 1290 | }) | |
| 1291 | Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001) | |
| 1292 | RemoveOutlines(Part) | |
| 1293 | return Part | |
| 1294 | end | |
| 1295 | function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 1296 | local Msh = Create(Mesh)({
| |
| 1297 | Parent = Part, | |
| 1298 | Offset = OffSet, | |
| 1299 | Scale = Scale | |
| 1300 | }) | |
| 1301 | if Mesh == "SpecialMesh" then | |
| 1302 | Msh.MeshType = MeshType | |
| 1303 | Msh.MeshId = MeshId | |
| 1304 | end | |
| 1305 | return Msh | |
| 1306 | end | |
| 1307 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
| 1308 | local Weld = Create("Weld")({
| |
| 1309 | Parent = Parent, | |
| 1310 | Part0 = Part0, | |
| 1311 | Part1 = Part1, | |
| 1312 | C0 = C0, | |
| 1313 | C1 = C1 | |
| 1314 | }) | |
| 1315 | return Weld | |
| 1316 | end | |
| 1317 | ||
| 1318 | Character=Player.Character | |
| 1319 | PlayerGui=Player.PlayerGui | |
| 1320 | Backpack=Player.Backpack | |
| 1321 | Torso=Character.Torso | |
| 1322 | Head=Character.Head | |
| 1323 | Humanoid=Character.Humanoid | |
| 1324 | m=Instance.new('Model',Character)
| |
| 1325 | LeftArm=Character["Left Arm"] | |
| 1326 | LeftLeg=Character["Left Leg"] | |
| 1327 | RightArm=Character["Right Arm"] | |
| 1328 | RightLeg=Character["Right Leg"] | |
| 1329 | LS=Torso["Left Shoulder"] | |
| 1330 | LH=Torso["Left Hip"] | |
| 1331 | RS=Torso["Right Shoulder"] | |
| 1332 | RH=Torso["Right Hip"] | |
| 1333 | Face = Head.face | |
| 1334 | Neck=Torso.Neck | |
| 1335 | it=Instance.new | |
| 1336 | attacktype=1 | |
| 1337 | vt=Vector3.new | |
| 1338 | cf=CFrame.new | |
| 1339 | euler=CFrame.fromEulerAnglesXYZ | |
| 1340 | angles=CFrame.Angles | |
| 1341 | cloaked=false | |
| 1342 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 1343 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 1344 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
| 1345 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
| 1346 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
| 1347 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
| 1348 | RootPart=Character.HumanoidRootPart | |
| 1349 | RootJoint=RootPart.RootJoint | |
| 1350 | RootCF=euler(-1.57,0,3.14) | |
| 1351 | attack = false | |
| 1352 | attackdebounce = false | |
| 1353 | deb=false | |
| 1354 | equipped=true | |
| 1355 | hand=false | |
| 1356 | combo=0 | |
| 1357 | mana=0 | |
| 1358 | trispeed=.2 | |
| 1359 | attackmode='none' | |
| 1360 | local idle=0 | |
| 1361 | local Anim="Idle" | |
| 1362 | local Effects={}
| |
| 1363 | local gun=false | |
| 1364 | local shoot=false | |
| 1365 | local sine = 0 | |
| 1366 | local change = 1 | |
| 1367 | ||
| 1368 | function RecolorTextAndRename(name,col1,col2,font) | |
| 1369 | modet.TextStrokeColor3 = col2 | |
| 1370 | modet.TextColor3 = col1 | |
| 1371 | modet.Font = font | |
| 1372 | modet.Text = name | |
| 1373 | techc.ImageColor3 = col2 | |
| 1374 | circl.ImageColor3 = col2 | |
| 1375 | circl2.ImageColor3 = col1 | |
| 1376 | imgl2.ImageColor3 = col1 | |
| 1377 | imgl2b.ImageColor3 = col2 | |
| 1378 | ned.Text = name | |
| 1379 | ned.TextColor3 = col1 | |
| 1380 | ned.TextStrokeColor3 = col2 | |
| 1381 | end | |
| 1382 | --save shoulders | |
| 1383 | RSH, LSH=nil, nil | |
| 1384 | --welds | |
| 1385 | RW, LW=Instance.new("Weld"), Instance.new("Weld")
| |
| 1386 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
| 1387 | LH=Torso["Left Hip"] | |
| 1388 | RH=Torso["Right Hip"] | |
| 1389 | TorsoColor=Torso.BrickColor | |
| 1390 | function NoOutline(Part) | |
| 1391 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
| 1392 | end | |
| 1393 | ch=Character | |
| 1394 | RSH=ch.Torso["Right Shoulder"] | |
| 1395 | LSH=ch.Torso["Left Shoulder"] | |
| 1396 | -- | |
| 1397 | RSH.Parent=nil | |
| 1398 | LSH.Parent=nil | |
| 1399 | -- | |
| 1400 | RW.Name="Right Shoulder" | |
| 1401 | RW.Part0=ch.Torso | |
| 1402 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
| 1403 | RW.C1=cf(0, 0.5, 0) | |
| 1404 | RW.Part1=ch["Right Arm"] | |
| 1405 | RW.Parent=ch.Torso | |
| 1406 | -- | |
| 1407 | LW.Name="Left Shoulder" | |
| 1408 | LW.Part0=ch.Torso | |
| 1409 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
| 1410 | LW.C1=cf(0, 0.5, 0) | |
| 1411 | LW.Part1=ch["Left Arm"] | |
| 1412 | LW.Parent=ch.Torso | |
| 1413 | ||
| 1414 | local Stats=Instance.new("BoolValue")
| |
| 1415 | Stats.Name="Stats" | |
| 1416 | Stats.Parent=Character | |
| 1417 | local Atk=Instance.new("NumberValue")
| |
| 1418 | Atk.Name="Damage" | |
| 1419 | Atk.Parent=Stats | |
| 1420 | Atk.Value=1 | |
| 1421 | local Def=Instance.new("NumberValue")
| |
| 1422 | Def.Name="Defense" | |
| 1423 | Def.Parent=Stats | |
| 1424 | Def.Value=1 | |
| 1425 | local Speed=Instance.new("NumberValue")
| |
| 1426 | Speed.Name="Speed" | |
| 1427 | Speed.Parent=Stats | |
| 1428 | Speed.Value=1 | |
| 1429 | local Mvmt=Instance.new("NumberValue")
| |
| 1430 | Mvmt.Name="Movement" | |
| 1431 | Mvmt.Parent=Stats | |
| 1432 | Mvmt.Value=1 | |
| 1433 | ||
| 1434 | local donum=0 | |
| 1435 | ||
| 1436 | ||
| 1437 | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
| 1438 | local fp=it("Part")
| |
| 1439 | fp.formFactor=formfactor | |
| 1440 | fp.Parent=parent | |
| 1441 | fp.Reflectance=reflectance | |
| 1442 | fp.Transparency=transparency | |
| 1443 | fp.CanCollide=false | |
| 1444 | fp.Locked=true | |
| 1445 | fp.BrickColor=brickcolor | |
| 1446 | fp.Name=name | |
| 1447 | fp.Size=size | |
| 1448 | fp.Position=Torso.Position | |
| 1449 | NoOutline(fp) | |
| 1450 | fp.Material="SmoothPlastic" | |
| 1451 | fp:BreakJoints() | |
| 1452 | return fp | |
| 1453 | end | |
| 1454 | ||
| 1455 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
| 1456 | local mesh=it(Mesh) | |
| 1457 | mesh.Parent=part | |
| 1458 | if Mesh=="SpecialMesh" then | |
| 1459 | mesh.MeshType=meshtype | |
| 1460 | if meshid~="nil" then | |
| 1461 | mesh.MeshId="http://www.roblox.com/asset/?id="..meshid | |
| 1462 | end | |
| 1463 | end | |
| 1464 | mesh.Offset=offset | |
| 1465 | mesh.Scale=scale | |
| 1466 | return mesh | |
| 1467 | end | |
| 1468 | ||
| 1469 | function weld(parent,part0,part1,c0) | |
| 1470 | local weld=it("Weld")
| |
| 1471 | weld.Parent=parent | |
| 1472 | weld.Part0=part0 | |
| 1473 | weld.Part1=part1 | |
| 1474 | weld.C0=c0 | |
| 1475 | return weld | |
| 1476 | end | |
| 1477 | ||
| 1478 | local Color1=Torso.BrickColor | |
| 1479 | ||
| 1480 | local bodvel=Instance.new("BodyVelocity")
| |
| 1481 | local bg=Instance.new("BodyGyro")
| |
| 1482 | ||
| 1483 | --------- SazEreno's Artificial HB -------------- | |
| 1484 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 1485 | ArtificialHB.Name = "ArtificialHB" | |
| 1486 | ||
| 1487 | script:WaitForChild("ArtificialHB")
| |
| 1488 | Frame_Speed = 1 / 60 | |
| 1489 | frame = Frame_Speed | |
| 1490 | tf = 0 | |
| 1491 | allowframeloss = false | |
| 1492 | tossremainder = false | |
| 1493 | lastframe = tick() | |
| 1494 | script.ArtificialHB:Fire() | |
| 1495 | ||
| 1496 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 1497 | tf = tf + s | |
| 1498 | if tf >= frame then | |
| 1499 | if allowframeloss then | |
| 1500 | script.ArtificialHB:Fire() | |
| 1501 | lastframe = tick() | |
| 1502 | else | |
| 1503 | for i = 1, math.floor(tf / frame) do | |
| 1504 | script.ArtificialHB:Fire() | |
| 1505 | end | |
| 1506 | lastframe = tick() | |
| 1507 | end | |
| 1508 | if tossremainder then | |
| 1509 | tf = 0 | |
| 1510 | else | |
| 1511 | tf = tf - frame * math.floor(tf / frame) | |
| 1512 | end | |
| 1513 | end | |
| 1514 | end) | |
| 1515 | ||
| 1516 | ------------------ | |
| 1517 | function swait(num) | |
| 1518 | function swait(num) | |
| 1519 | if num==0 or num==nil then | |
| 1520 | game:service'RunService'.Stepped:wait(0) | |
| 1521 | else | |
| 1522 | for i=0,num do | |
| 1523 | game:service'RunService'.Stepped:wait(0) | |
| 1524 | end | |
| 1525 | end | |
| 1526 | end | |
| 1527 | end | |
| 1528 | ||
| 1529 | -------- RAINBOW LEAVE IT TO ME | |
| 1530 | local r = 255 | |
| 1531 | local g = 0 | |
| 1532 | local b = 0 | |
| 1533 | coroutine.resume(coroutine.create(function() | |
| 1534 | while wait() do | |
| 1535 | for i = 0, 254/5 do | |
| 1536 | swait() | |
| 1537 | g = g + 5 | |
| 1538 | end | |
| 1539 | for i = 0, 254/5 do | |
| 1540 | swait() | |
| 1541 | r = r - 5 | |
| 1542 | end | |
| 1543 | for i = 0, 254/5 do | |
| 1544 | swait() | |
| 1545 | b = b + 5 | |
| 1546 | end | |
| 1547 | for i = 0, 254/5 do | |
| 1548 | swait() | |
| 1549 | g = g - 5 | |
| 1550 | end | |
| 1551 | for i = 0, 254/5 do | |
| 1552 | swait() | |
| 1553 | r = r + 5 | |
| 1554 | end | |
| 1555 | for i = 0, 254/5 do | |
| 1556 | swait() | |
| 1557 | b = b - 5 | |
| 1558 | end | |
| 1559 | end | |
| 1560 | end)) | |
| 1561 | ||
| 1562 | ||
| 1563 | so = function(id,par,vol,pit) | |
| 1564 | coroutine.resume(coroutine.create(function() | |
| 1565 | local sou = Instance.new("Sound",par or workspace)
| |
| 1566 | sou.Volume=vol | |
| 1567 | sou.Pitch=pit or 1 | |
| 1568 | sou.SoundId=id | |
| 1569 | swait() | |
| 1570 | sou:play() | |
| 1571 | game:GetService("Debris"):AddItem(sou,6)
| |
| 1572 | end)) | |
| 1573 | end | |
| 1574 | ||
| 1575 | function clerp(a,b,t) | |
| 1576 | local qa = {QuaternionFromCFrame(a)}
| |
| 1577 | local qb = {QuaternionFromCFrame(b)}
| |
| 1578 | local ax, ay, az = a.x, a.y, a.z | |
| 1579 | local bx, by, bz = b.x, b.y, b.z | |
| 1580 | local _t = 1-t | |
| 1581 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
| 1582 | end | |
| 1583 | ||
| 1584 | function QuaternionFromCFrame(cf) | |
| 1585 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 1586 | local trace = m00 + m11 + m22 | |
| 1587 | if trace > 0 then | |
| 1588 | local s = math.sqrt(1 + trace) | |
| 1589 | local recip = 0.5/s | |
| 1590 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
| 1591 | else | |
| 1592 | local i = 0 | |
| 1593 | if m11 > m00 then | |
| 1594 | i = 1 | |
| 1595 | end | |
| 1596 | if m22 > (i == 0 and m00 or m11) then | |
| 1597 | i = 2 | |
| 1598 | end | |
| 1599 | if i == 0 then | |
| 1600 | local s = math.sqrt(m00-m11-m22+1) | |
| 1601 | local recip = 0.5/s | |
| 1602 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
| 1603 | elseif i == 1 then | |
| 1604 | local s = math.sqrt(m11-m22-m00+1) | |
| 1605 | local recip = 0.5/s | |
| 1606 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
| 1607 | elseif i == 2 then | |
| 1608 | local s = math.sqrt(m22-m00-m11+1) | |
| 1609 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
| 1610 | end | |
| 1611 | end | |
| 1612 | end | |
| 1613 | ||
| 1614 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 1615 | local xs, ys, zs = x + x, y + y, z + z | |
| 1616 | local wx, wy, wz = w*xs, w*ys, w*zs | |
| 1617 | local xx = x*xs | |
| 1618 | local xy = x*ys | |
| 1619 | local xz = x*zs | |
| 1620 | local yy = y*ys | |
| 1621 | local yz = y*zs | |
| 1622 | local zz = z*zs | |
| 1623 | 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)) | |
| 1624 | end | |
| 1625 | ||
| 1626 | function QuaternionSlerp(a, b, t) | |
| 1627 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
| 1628 | local startInterp, finishInterp; | |
| 1629 | if cosTheta >= 0.0001 then | |
| 1630 | if (1 - cosTheta) > 0.0001 then | |
| 1631 | local theta = math.acos(cosTheta) | |
| 1632 | local invSinTheta = 1/math.sin(theta) | |
| 1633 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
| 1634 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 1635 | else | |
| 1636 | startInterp = 1-t | |
| 1637 | finishInterp = t | |
| 1638 | end | |
| 1639 | else | |
| 1640 | if (1+cosTheta) > 0.0001 then | |
| 1641 | local theta = math.acos(-cosTheta) | |
| 1642 | local invSinTheta = 1/math.sin(theta) | |
| 1643 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
| 1644 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 1645 | else | |
| 1646 | startInterp = t-1 | |
| 1647 | finishInterp = t | |
| 1648 | end | |
| 1649 | end | |
| 1650 | 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 | |
| 1651 | end | |
| 1652 | ||
| 1653 | local function CFrameFromTopBack(at, top, back) | |
| 1654 | local right = top:Cross(back) | |
| 1655 | return CFrame.new(at.x, at.y, at.z, | |
| 1656 | right.x, top.x, back.x, | |
| 1657 | right.y, top.y, back.y, | |
| 1658 | right.z, top.z, back.z) | |
| 1659 | end | |
| 1660 | ||
| 1661 | function Triangle(a, b, c) | |
| 1662 | local edg1 = (c-a):Dot((b-a).unit) | |
| 1663 | local edg2 = (a-b):Dot((c-b).unit) | |
| 1664 | local edg3 = (b-c):Dot((a-c).unit) | |
| 1665 | if edg1 <= (b-a).magnitude and edg1 >= 0 then | |
| 1666 | a, b, c = a, b, c | |
| 1667 | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then | |
| 1668 | a, b, c = b, c, a | |
| 1669 | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then | |
| 1670 | a, b, c = c, a, b | |
| 1671 | else | |
| 1672 | assert(false, "unreachable") | |
| 1673 | end | |
| 1674 | ||
| 1675 | local len1 = (c-a):Dot((b-a).unit) | |
| 1676 | local len2 = (b-a).magnitude - len1 | |
| 1677 | local width = (a + (b-a).unit*len1 - c).magnitude | |
| 1678 | ||
| 1679 | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) | |
| 1680 | ||
| 1681 | local list = {}
| |
| 1682 | ||
| 1683 | if len1 > 0.01 then | |
| 1684 | local w1 = Instance.new('WedgePart', m)
| |
| 1685 | game:GetService("Debris"):AddItem(w1,5)
| |
| 1686 | w1.Material = "SmoothPlastic" | |
| 1687 | w1.FormFactor = 'Custom' | |
| 1688 | w1.BrickColor = BrickColor.new("Really red")
| |
| 1689 | w1.Transparency = 0 | |
| 1690 | w1.Reflectance = 0 | |
| 1691 | w1.Material = "SmoothPlastic" | |
| 1692 | w1.CanCollide = false | |
| 1693 | local l1 = Instance.new("PointLight",w1)
| |
| 1694 | l1.Color = Color3.new(170,0,0) | |
| 1695 | NoOutline(w1) | |
| 1696 | local sz = Vector3.new(0.2, width, len1) | |
| 1697 | w1.Size = sz | |
| 1698 | local sp = Instance.new("SpecialMesh",w1)
| |
| 1699 | sp.MeshType = "Wedge" | |
| 1700 | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size | |
| 1701 | w1:BreakJoints() | |
| 1702 | w1.Anchored = true | |
| 1703 | w1.Parent = workspace | |
| 1704 | w1.Transparency = 0.7 | |
| 1705 | table.insert(Effects,{w1,"Disappear",.01})
| |
| 1706 | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) | |
| 1707 | table.insert(list,w1) | |
| 1708 | end | |
| 1709 | ||
| 1710 | if len2 > 0.01 then | |
| 1711 | local w2 = Instance.new('WedgePart', m)
| |
| 1712 | game:GetService("Debris"):AddItem(w2,5)
| |
| 1713 | w2.Material = "SmoothPlastic" | |
| 1714 | w2.FormFactor = 'Custom' | |
| 1715 | w2.BrickColor = BrickColor.new("Really red")
| |
| 1716 | w2.Transparency = 0 | |
| 1717 | w2.Reflectance = 0 | |
| 1718 | w2.Material = "SmoothPlastic" | |
| 1719 | w2.CanCollide = false | |
| 1720 | local l2 = Instance.new("PointLight",w2)
| |
| 1721 | l2.Color = Color3.new(170,0,0) | |
| 1722 | NoOutline(w2) | |
| 1723 | local sz = Vector3.new(0.2, width, len2) | |
| 1724 | w2.Size = sz | |
| 1725 | local sp = Instance.new("SpecialMesh",w2)
| |
| 1726 | sp.MeshType = "Wedge" | |
| 1727 | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size | |
| 1728 | w2:BreakJoints() | |
| 1729 | w2.Anchored = true | |
| 1730 | w2.Parent = workspace | |
| 1731 | w2.Transparency = 0.7 | |
| 1732 | table.insert(Effects,{w2,"Disappear",.01})
| |
| 1733 | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) | |
| 1734 | table.insert(list,w2) | |
| 1735 | end | |
| 1736 | return unpack(list) | |
| 1737 | end | |
| 1738 | ||
| 1739 | ||
| 1740 | function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 1741 | if hit.Parent == nil then | |
| 1742 | return | |
| 1743 | end | |
| 1744 | local h = hit.Parent:FindFirstChildOfClass("Humanoid")
| |
| 1745 | for _, v in pairs(hit.Parent:children()) do | |
| 1746 | if v:IsA("Humanoid") then
| |
| 1747 | h = v | |
| 1748 | end | |
| 1749 | end | |
| 1750 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
| |
| 1751 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
| |
| 1752 | return | |
| 1753 | end | |
| 1754 | local c = Create("ObjectValue")({
| |
| 1755 | Name = "creator", | |
| 1756 | Value = game:GetService("Players").LocalPlayer,
| |
| 1757 | Parent = h | |
| 1758 | }) | |
| 1759 | game:GetService("Debris"):AddItem(c, 0.5)
| |
| 1760 | if HitSound ~= nil and HitPitch ~= nil then | |
| 1761 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
| 1762 | end | |
| 1763 | local Damage = math.random(minim, maxim) | |
| 1764 | local blocked = false | |
| 1765 | local block = hit.Parent:findFirstChild("Block")
| |
| 1766 | if block ~= nil and block.className == "IntValue" and block.Value > 0 then | |
| 1767 | blocked = true | |
| 1768 | block.Value = block.Value - 1 | |
| 1769 | print(block.Value) | |
| 1770 | end | |
| 1771 | if blocked == false then | |
| 1772 | HitHealth = h.Health | |
| 1773 | h.MaxHealth = 100 | |
| 1774 | h.Health = h.Health - Damage | |
| 1775 | if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then | |
| 1776 | print("gained kill")
| |
| 1777 | dmg(h.Parent) | |
| 1778 | end | |
| 1779 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
| 1780 | else | |
| 1781 | h.Health = h.Health - Damage / 2 | |
| 1782 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
| 1783 | end | |
| 1784 | if Type == "Knockdown" then | |
| 1785 | local hum = hit.Parent.Humanoid | |
| 1786 | hum.PlatformStand = true | |
| 1787 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 1788 | swait(1) | |
| 1789 | HHumanoid.PlatformStand = false | |
| 1790 | end), hum) | |
| 1791 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
| 1792 | local bodvol = Create("BodyVelocity")({
| |
| 1793 | velocity = angle * knockback, | |
| 1794 | P = 5000, | |
| 1795 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 1796 | Parent = hit | |
| 1797 | }) | |
| 1798 | local rl = Create("BodyAngularVelocity")({
| |
| 1799 | P = 3000, | |
| 1800 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
| 1801 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
| 1802 | Parent = hit | |
| 1803 | }) | |
| 1804 | game:GetService("Debris"):AddItem(bodvol, 0.5)
| |
| 1805 | game:GetService("Debris"):AddItem(rl, 0.5)
| |
| 1806 | elseif Type == "Normal" then | |
| 1807 | local vp = Create("BodyVelocity")({
| |
| 1808 | P = 500, | |
| 1809 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
| 1810 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
| 1811 | }) | |
| 1812 | if knockback > 0 then | |
| 1813 | vp.Parent = hit.Parent.Head | |
| 1814 | end | |
| 1815 | game:GetService("Debris"):AddItem(vp, 0.5)
| |
| 1816 | elseif Type == "Up" then | |
| 1817 | local bodyVelocity = Create("BodyVelocity")({
| |
| 1818 | velocity = Vector3.new(0, 20, 0), | |
| 1819 | P = 5000, | |
| 1820 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 1821 | Parent = hit | |
| 1822 | }) | |
| 1823 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
| |
| 1824 | local bodyVelocity = Create("BodyVelocity")({
| |
| 1825 | velocity = Vector3.new(0, 20, 0), | |
| 1826 | P = 5000, | |
| 1827 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 1828 | Parent = hit | |
| 1829 | }) | |
| 1830 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 1831 | elseif Type == "Leech" then | |
| 1832 | local hum = hit.Parent.Humanoid | |
| 1833 | if hum ~= nil then | |
| 1834 | for i = 0, 2 do | |
| 1835 | 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)
| |
| 1836 | end | |
| 1837 | Humanoid.Health = Humanoid.Health + 10 | |
| 1838 | end | |
| 1839 | elseif Type == "UpKnock" then | |
| 1840 | local hum = hit.Parent.Humanoid | |
| 1841 | hum.PlatformStand = true | |
| 1842 | if hum ~= nil then | |
| 1843 | hitr = true | |
| 1844 | end | |
| 1845 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 1846 | swait(5) | |
| 1847 | HHumanoid.PlatformStand = false | |
| 1848 | hitr = false | |
| 1849 | end), hum) | |
| 1850 | local bodyVelocity = Create("BodyVelocity")({
| |
| 1851 | velocity = Vector3.new(0, 20, 0), | |
| 1852 | P = 5000, | |
| 1853 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 1854 | Parent = hit | |
| 1855 | }) | |
| 1856 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
| |
| 1857 | local bodyVelocity = Create("BodyVelocity")({
| |
| 1858 | velocity = Vector3.new(0, 20, 0), | |
| 1859 | P = 5000, | |
| 1860 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 1861 | Parent = hit | |
| 1862 | }) | |
| 1863 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 1864 | elseif Type == "Snare" then | |
| 1865 | local bp = Create("BodyPosition")({
| |
| 1866 | P = 2000, | |
| 1867 | D = 100, | |
| 1868 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 1869 | position = hit.Parent.Torso.Position, | |
| 1870 | Parent = hit.Parent.Torso | |
| 1871 | }) | |
| 1872 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 1873 | elseif Type == "Slashnare" then | |
| 1874 | 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)
| |
| 1875 | for i = 1, math.random(4, 5) do | |
| 1876 | 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)
| |
| 1877 | end | |
| 1878 | local bp = Create("BodyPosition")({
| |
| 1879 | P = 2000, | |
| 1880 | D = 100, | |
| 1881 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 1882 | position = hit.Parent.Torso.Position, | |
| 1883 | Parent = hit.Parent.Torso | |
| 1884 | }) | |
| 1885 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 1886 | elseif Type == "Spike" then | |
| 1887 | CreateBigIceSword(hit.Parent.Torso.CFrame) | |
| 1888 | local bp = Create("BodyPosition")({
| |
| 1889 | P = 2000, | |
| 1890 | D = 100, | |
| 1891 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 1892 | position = hit.Parent.Torso.Position, | |
| 1893 | Parent = hit.Parent.Torso | |
| 1894 | }) | |
| 1895 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 1896 | elseif Type == "Freeze" then | |
| 1897 | local BodPos = Create("BodyPosition")({
| |
| 1898 | P = 50000, | |
| 1899 | D = 1000, | |
| 1900 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 1901 | position = hit.Parent.Torso.Position, | |
| 1902 | Parent = hit.Parent.Torso | |
| 1903 | }) | |
| 1904 | local BodGy = Create("BodyGyro")({
| |
| 1905 | maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, | |
| 1906 | P = 20000, | |
| 1907 | Parent = hit.Parent.Torso, | |
| 1908 | cframe = hit.Parent.Torso.CFrame | |
| 1909 | }) | |
| 1910 | hit.Parent.Torso.Anchored = true | |
| 1911 | coroutine.resume(coroutine.create(function(Part) | |
| 1912 | swait(1.5) | |
| 1913 | Part.Anchored = false | |
| 1914 | end), hit.Parent.Torso) | |
| 1915 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 1916 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 1917 | end | |
| 1918 | local debounce = Create("BoolValue")({
| |
| 1919 | Name = "DebounceHit", | |
| 1920 | Parent = hit.Parent, | |
| 1921 | Value = true | |
| 1922 | }) | |
| 1923 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 1924 | c = Instance.new("ObjectValue")
| |
| 1925 | c.Name = "creator" | |
| 1926 | c.Value = Player | |
| 1927 | c.Parent = h | |
| 1928 | game:GetService("Debris"):AddItem(c, 0.5)
| |
| 1929 | end | |
| 1930 | end | |
| 1931 | function ShowDamage(Pos, Text, Time, Color) | |
| 1932 | local Rate = 0.03333333333333333 | |
| 1933 | local Pos = Pos or Vector3.new(0, 0, 0) | |
| 1934 | local Text = Text or "" | |
| 1935 | local Time = Time or 2 | |
| 1936 | local Color = Color or Color3.new(1, 0, 1) | |
| 1937 | local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
| 1938 | EffectPart.Anchored = true | |
| 1939 | local BillboardGui = Create("BillboardGui")({
| |
| 1940 | Size = UDim2.new(3, 0, 3, 0), | |
| 1941 | Adornee = EffectPart, | |
| 1942 | Parent = EffectPart | |
| 1943 | }) | |
| 1944 | local TextLabel = Create("TextLabel")({
| |
| 1945 | BackgroundTransparency = 1, | |
| 1946 | Size = UDim2.new(1, 0, 1, 0), | |
| 1947 | Text = Text, | |
| 1948 | TextColor3 = Color, | |
| 1949 | TextScaled = true, | |
| 1950 | Font = Enum.Font.ArialBold, | |
| 1951 | Parent = BillboardGui | |
| 1952 | }) | |
| 1953 | game.Debris:AddItem(EffectPart, Time + 0.1) | |
| 1954 | EffectPart.Parent = game:GetService("Workspace")
| |
| 1955 | delay(0, function() | |
| 1956 | local Frames = Time / Rate | |
| 1957 | for Frame = 1, Frames do | |
| 1958 | wait(Rate) | |
| 1959 | local Percent = Frame / Frames | |
| 1960 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 1961 | TextLabel.TextTransparency = Percent | |
| 1962 | end | |
| 1963 | if EffectPart and EffectPart.Parent then | |
| 1964 | EffectPart:Destroy() | |
| 1965 | end | |
| 1966 | end) | |
| 1967 | end | |
| 1968 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
| 1969 | for _, c in pairs(workspace:children()) do | |
| 1970 | local hum = c:findFirstChildOfClass("Humanoid")
| |
| 1971 | if hum ~= nil then | |
| 1972 | local head = c:findFirstChild("Head")
| |
| 1973 | if head ~= nil then | |
| 1974 | local targ = head.Position - Part.Position | |
| 1975 | local mag = targ.magnitude | |
| 1976 | if magni >= mag and c.Name ~= Player.Name then | |
| 1977 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) | |
| 1978 | end | |
| 1979 | end | |
| 1980 | end | |
| 1981 | end | |
| 1982 | end | |
| 1983 | ||
| 1984 | function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type) | |
| 1985 | for _, c in pairs(workspace:children()) do | |
| 1986 | local hum = c:findFirstChild("Humanoid")
| |
| 1987 | if hum ~= nil then | |
| 1988 | local head = c:findFirstChild("Torso")
| |
| 1989 | if head ~= nil then | |
| 1990 | local targ = head.Position - Part.Position | |
| 1991 | local mag = targ.magnitude | |
| 1992 | if magni >= mag and c.Name ~= Player.Name then | |
| 1993 | MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
| |
| 1994 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) | |
| 1995 | end | |
| 1996 | end | |
| 1997 | end | |
| 1998 | end | |
| 1999 | end | |
| 2000 | ||
| 2001 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
| 2002 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
| |
| 2003 | end | |
| 2004 | ||
| 2005 | function SkullEffect(brickcolor,cframe,x1,y1,z1,delay) | |
| 2006 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2007 | prt.Anchored=true | |
| 2008 | prt.CFrame=cframe | |
| 2009 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
| |
| 2010 | --http://www.roblox.com/asset/?id=4770560 | |
| 2011 | game:GetService("Debris"):AddItem(prt,2)
| |
| 2012 | CF=prt.CFrame | |
| 2013 | coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) | |
| 2014 | for i=0,1,0.2 do | |
| 2015 | wait() | |
| 2016 | Part.CFrame=CF*cf(0,0,-0.4) | |
| 2017 | end | |
| 2018 | for i=0,1,delay do | |
| 2019 | wait() | |
| 2020 | --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) | |
| 2021 | Mesh.Scale=Mesh.Scale | |
| 2022 | end | |
| 2023 | for i=0,1,0.1 do | |
| 2024 | wait() | |
| 2025 | Part.Transparency=i | |
| 2026 | end | |
| 2027 | Part.Parent=nil | |
| 2028 | end),prt,msh,CF) | |
| 2029 | end | |
| 2030 | ||
| 2031 | function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 2032 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2033 | prt.Anchored=true | |
| 2034 | prt.Material = "Neon" | |
| 2035 | prt.CFrame=cframe | |
| 2036 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2037 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2038 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2039 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2040 | for i=0,1,delay do | |
| 2041 | swait() | |
| 2042 | Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2043 | Part.Transparency=i | |
| 2044 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2045 | end | |
| 2046 | Part.Parent=nil | |
| 2047 | end),prt,msh) | |
| 2048 | end | |
| 2049 | ||
| 2050 | function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
| 2051 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2052 | prt.Anchored=true | |
| 2053 | prt.Material = "Neon" | |
| 2054 | prt.CFrame=cframe | |
| 2055 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2056 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2057 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2058 | local rtype = rottype | |
| 2059 | for i=0,1,delay do | |
| 2060 | swait() | |
| 2061 | if rtype == 1 then | |
| 2062 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
| 2063 | elseif rtype == 2 then | |
| 2064 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
| 2065 | end | |
| 2066 | Part.Transparency=i | |
| 2067 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2068 | end | |
| 2069 | Part.Parent=nil | |
| 2070 | end),prt,msh) | |
| 2071 | end | |
| 2072 | ||
| 2073 | function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 2074 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2075 | prt.Anchored=true | |
| 2076 | prt.CFrame=cframe | |
| 2077 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2078 | msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2079 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2080 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2081 | for i=0,1,delay do | |
| 2082 | wait() | |
| 2083 | Part.Transparency=i | |
| 2084 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2085 | end | |
| 2086 | Part.Parent=nil | |
| 2087 | end),prt,msh) | |
| 2088 | end | |
| 2089 | ||
| 2090 | function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
| 2091 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2092 | prt.Anchored=true | |
| 2093 | prt.Material = "Neon" | |
| 2094 | prt.CFrame=cframe | |
| 2095 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2096 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2097 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2098 | local rtype = rottype | |
| 2099 | for i=0,1,delay do | |
| 2100 | swait() | |
| 2101 | if rtype == 1 then | |
| 2102 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
| 2103 | elseif rtype == 2 then | |
| 2104 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
| 2105 | end | |
| 2106 | Part.Transparency=i | |
| 2107 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2108 | end | |
| 2109 | Part.Parent=nil | |
| 2110 | end),prt,msh) | |
| 2111 | end | |
| 2112 | ||
| 2113 | function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype) | |
| 2114 | local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2115 | prt.Anchored=true | |
| 2116 | prt.Material = "Neon" | |
| 2117 | prt.CFrame=cframe | |
| 2118 | local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt) | |
| 2119 | local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt) | |
| 2120 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
| |
| 2121 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2122 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2123 | local rtype = rottype | |
| 2124 | for i=0,1,delay do | |
| 2125 | swait() | |
| 2126 | if rtype == 1 then | |
| 2127 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
| 2128 | elseif rtype == 2 then | |
| 2129 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
| 2130 | end | |
| 2131 | dec.Transparency=i | |
| 2132 | dec2.Transparency=i | |
| 2133 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
| 2134 | end | |
| 2135 | Part.Parent=nil | |
| 2136 | end),prt,msh) | |
| 2137 | end | |
| 2138 | ||
| 2139 | function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype) | |
| 2140 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2141 | prt.Anchored=true | |
| 2142 | prt.Material = "Neon" | |
| 2143 | prt.CFrame=cframe | |
| 2144 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
| |
| 2145 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2146 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2147 | local rtype = rottype | |
| 2148 | for i=0,1,delay do | |
| 2149 | swait() | |
| 2150 | if rtype == 1 then | |
| 2151 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
| 2152 | elseif rtype == 2 then | |
| 2153 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
| 2154 | end | |
| 2155 | prt.Transparency=i | |
| 2156 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
| 2157 | end | |
| 2158 | Part.Parent=nil | |
| 2159 | end),prt,msh) | |
| 2160 | end | |
| 2161 | ||
| 2162 | function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype) | |
| 2163 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2164 | prt.Anchored=true | |
| 2165 | prt.Material = "Neon" | |
| 2166 | prt.CFrame=cframe | |
| 2167 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
| |
| 2168 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2169 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2170 | local rtype = rottype | |
| 2171 | for i=0,1,delay do | |
| 2172 | swait() | |
| 2173 | if rtype == 1 then | |
| 2174 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0) | |
| 2175 | elseif rtype == 2 then | |
| 2176 | prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0) | |
| 2177 | end | |
| 2178 | prt.Transparency=i | |
| 2179 | Mesh.Scale=Mesh.Scale+vt(x3,0,z3) | |
| 2180 | end | |
| 2181 | Part.Parent=nil | |
| 2182 | end),prt,msh) | |
| 2183 | end | |
| 2184 | ||
| 2185 | function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype) | |
| 2186 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2187 | prt.Anchored=true | |
| 2188 | prt.Material = "Neon" | |
| 2189 | prt.CFrame=cframe | |
| 2190 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2191 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2192 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2193 | local rtype = rottype | |
| 2194 | for i=0,1,delay do | |
| 2195 | swait() | |
| 2196 | if rtype == 1 then | |
| 2197 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
| 2198 | elseif rtype == 2 then | |
| 2199 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
| 2200 | end | |
| 2201 | prt.Transparency=i | |
| 2202 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
| 2203 | end | |
| 2204 | Part.Parent=nil | |
| 2205 | end),prt,msh) | |
| 2206 | end | |
| 2207 | ||
| 2208 | function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
| 2209 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2210 | prt.Anchored=true | |
| 2211 | prt.Material = "Neon" | |
| 2212 | prt.CFrame=cframe | |
| 2213 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2214 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2215 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2216 | local rtype = rottype | |
| 2217 | for i=0,1,delay do | |
| 2218 | swait() | |
| 2219 | if rtype == 1 then | |
| 2220 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
| 2221 | elseif rtype == 2 then | |
| 2222 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
| 2223 | end | |
| 2224 | prt.Transparency=i | |
| 2225 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2226 | end | |
| 2227 | Part.Parent=nil | |
| 2228 | end),prt,msh) | |
| 2229 | end | |
| 2230 | ||
| 2231 | function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
| 2232 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2233 | prt.Anchored=false | |
| 2234 | prt.CFrame=cframe | |
| 2235 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2236 | local wld=weld(prt,prt,Parent,cframe) | |
| 2237 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2238 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
| 2239 | for i=0,1,delay do | |
| 2240 | wait() | |
| 2241 | Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe | |
| 2242 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2243 | Part.Transparency=i | |
| 2244 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2245 | end | |
| 2246 | Part.Parent=nil | |
| 2247 | end),prt,msh,wld) | |
| 2248 | end | |
| 2249 | ||
| 2250 | function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
| 2251 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2252 | prt.Anchored=false | |
| 2253 | prt.CFrame=cframe | |
| 2254 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2255 | local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0)) | |
| 2256 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2257 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
| 2258 | for i=0,1,delay do | |
| 2259 | wait() | |
| 2260 | Weld.C0=euler(i*20,0,0) | |
| 2261 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2262 | Part.Transparency=i | |
| 2263 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2264 | end | |
| 2265 | Part.Parent=nil | |
| 2266 | end),prt,msh,wld) | |
| 2267 | end | |
| 2268 | ||
| 2269 | function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 2270 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2271 | prt.Anchored=true | |
| 2272 | prt.CFrame=cframe | |
| 2273 | local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2274 | game:GetService("Debris"):AddItem(prt,2)
| |
| 2275 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2276 | for i=0,1,delay do | |
| 2277 | wait() | |
| 2278 | Part.CFrame=Part.CFrame | |
| 2279 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2280 | local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2281 | prt2.Anchored=true | |
| 2282 | prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2283 | local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
| |
| 2284 | game:GetService("Debris"):AddItem(prt2,2)
| |
| 2285 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2286 | for i=0,1,0.1 do | |
| 2287 | wait() | |
| 2288 | Part.CFrame=Part.CFrame*cf(0,0.5,0) | |
| 2289 | end | |
| 2290 | Part.Parent=nil | |
| 2291 | end),prt2,msh2) | |
| 2292 | end | |
| 2293 | for i=0,1,delay*2 do | |
| 2294 | wait() | |
| 2295 | Part.CFrame=Part.CFrame | |
| 2296 | Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i) | |
| 2297 | end | |
| 2298 | Part.Parent=nil | |
| 2299 | end),prt,msh) | |
| 2300 | end | |
| 2301 | ||
| 2302 | function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 2303 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2304 | prt.Anchored=true | |
| 2305 | prt.CFrame=cframe | |
| 2306 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2307 | game:GetService("Debris"):AddItem(prt,2)
| |
| 2308 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2309 | for i=0,1,delay do | |
| 2310 | wait() | |
| 2311 | Part.CFrame=Part.CFrame | |
| 2312 | Part.Transparency=i | |
| 2313 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2314 | end | |
| 2315 | Part.Parent=nil | |
| 2316 | end),prt,msh) | |
| 2317 | end | |
| 2318 | ||
| 2319 | function BreakEffect(brickcolor,cframe,x1,y1,z1) | |
| 2320 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2321 | prt.Anchored=true | |
| 2322 | prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2323 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2324 | game:GetService("Debris"):AddItem(prt,2)
| |
| 2325 | coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) | |
| 2326 | CF=Part.CFrame | |
| 2327 | Numbb=0 | |
| 2328 | randnumb=math.random()/10 | |
| 2329 | rand1=math.random()/10 | |
| 2330 | for i=0,1,rand1 do | |
| 2331 | wait() | |
| 2332 | CF=CF*cf(0,math.random()/2,0) | |
| 2333 | --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0) | |
| 2334 | Part.CFrame=CF*euler(Numbb,0,0) | |
| 2335 | Part.Transparency=i | |
| 2336 | Numbb=Numbb+randnumb | |
| 2337 | end | |
| 2338 | Part.Parent=nil | |
| 2339 | end),prt,CF,Numbb,randnumb) | |
| 2340 | end | |
| 2341 | ||
| 2342 | function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 2343 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2344 | prt.Anchored=true | |
| 2345 | prt.CFrame=cframe | |
| 2346 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
| |
| 2347 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2348 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2349 | for i=0,1,delay do | |
| 2350 | wait() | |
| 2351 | Part.CFrame=Part.CFrame*euler(0,0.7,0) | |
| 2352 | Part.Transparency=i | |
| 2353 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2354 | end | |
| 2355 | Part.Parent=nil | |
| 2356 | end),prt,msh) | |
| 2357 | end | |
| 2358 | ||
| 2359 | function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 2360 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2361 | prt.Anchored=true | |
| 2362 | prt.CFrame=cframe | |
| 2363 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
| |
| 2364 | game:GetService("Debris"):AddItem(prt,2)
| |
| 2365 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2366 | for i=0,1,delay do | |
| 2367 | wait() | |
| 2368 | Part.CFrame=Part.CFrame*cf(0,y3/2,0) | |
| 2369 | Part.Transparency=i | |
| 2370 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2371 | end | |
| 2372 | Part.Parent=nil | |
| 2373 | end),prt,msh) | |
| 2374 | end | |
| 2375 | ||
| 2376 | function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay) | |
| 2377 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2378 | prt.Anchored=true | |
| 2379 | prt.CFrame=cframe*cf(x,y,z) | |
| 2380 | msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
| |
| 2381 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2382 | coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) | |
| 2383 | local num=math.random() | |
| 2384 | local num2=math.random(-3,2)+math.random() | |
| 2385 | local numm=0 | |
| 2386 | for i=0,1,delay*2 do | |
| 2387 | swait() | |
| 2388 | Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0) | |
| 2389 | Part.Transparency=i | |
| 2390 | numm=numm+0.01 | |
| 2391 | end | |
| 2392 | Part.Parent=nil | |
| 2393 | Mesh.Parent=nil | |
| 2394 | end),prt,msh,x,y,z) | |
| 2395 | end | |
| 2396 | ||
| 2397 | function dmgstart(dmg,what) | |
| 2398 | hitcon = what.Touched:connect(function(hit) | |
| 2399 | local hum = hit.Parent:FindFirstChild("Humanoid")
| |
| 2400 | if hum and not hum:IsDescendantOf(Character) then | |
| 2401 | hum:TakeDamage(dmg) | |
| 2402 | end | |
| 2403 | end) | |
| 2404 | end | |
| 2405 | ||
| 2406 | function dmgstop() | |
| 2407 | hitcon:disconnect() | |
| 2408 | end | |
| 2409 | ||
| 2410 | function Cloak() | |
| 2411 | Face.Parent=nil | |
| 2412 | cloaked=true | |
| 2413 | for _,v in pairs(Torso.Parent:children()) do | |
| 2414 | if v.className=="Part" and v.Name~="HumanoidRootPart" then | |
| 2415 | coroutine.resume(coroutine.create(function() | |
| 2416 | for i=0,1,0.2 do | |
| 2417 | wait() | |
| 2418 | v.Transparency=i | |
| 2419 | end | |
| 2420 | v.Transparency=1 | |
| 2421 | end)) | |
| 2422 | end | |
| 2423 | if v.className=="Hat" then | |
| 2424 | hatp=v.Handle | |
| 2425 | coroutine.resume(coroutine.create(function(derp) | |
| 2426 | for i=0,1,0.2 do | |
| 2427 | wait() | |
| 2428 | derp.Transparency=i | |
| 2429 | end | |
| 2430 | derp.Transparency=1 | |
| 2431 | end),hatp) | |
| 2432 | end | |
| 2433 | end | |
| 2434 | for _,v in pairs(m:children()) do | |
| 2435 | if v.className=="Part" then | |
| 2436 | coroutine.resume(coroutine.create(function() | |
| 2437 | for i=0,1,0.2 do | |
| 2438 | wait() | |
| 2439 | v.Transparency=i | |
| 2440 | end | |
| 2441 | v.Transparency=1 | |
| 2442 | end)) | |
| 2443 | end | |
| 2444 | end | |
| 2445 | end | |
| 2446 | ||
| 2447 | function UnCloak() | |
| 2448 | so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
| |
| 2449 | Face.Parent=Head | |
| 2450 | cloaked=false | |
| 2451 | for _,v in pairs(Torso.Parent:children()) do | |
| 2452 | if v.className=="Part" and v.Name~="HumanoidRootPart" then | |
| 2453 | coroutine.resume(coroutine.create(function() | |
| 2454 | for i=0,1,0.1 do | |
| 2455 | wait() | |
| 2456 | v.Transparency=v.Transparency-0.1 | |
| 2457 | end | |
| 2458 | v.Transparency=0 | |
| 2459 | end)) | |
| 2460 | end | |
| 2461 | if v.className=="Hat" then | |
| 2462 | hatp=v.Handle | |
| 2463 | coroutine.resume(coroutine.create(function(derp) | |
| 2464 | for i=0,1,0.1 do | |
| 2465 | wait() | |
| 2466 | derp.Transparency=derp.Transparency-0.1 | |
| 2467 | end | |
| 2468 | derp.Transparency=0 | |
| 2469 | end),hatp) | |
| 2470 | end | |
| 2471 | end | |
| 2472 | for _,v in pairs(m:children()) do | |
| 2473 | if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then | |
| 2474 | coroutine.resume(coroutine.create(function() | |
| 2475 | for i=0,1,0.1 do | |
| 2476 | wait() | |
| 2477 | v.Transparency=v.Transparency-0.1 | |
| 2478 | end | |
| 2479 | v.Transparency=0 | |
| 2480 | end)) | |
| 2481 | v.Transparency=0 | |
| 2482 | end | |
| 2483 | end | |
| 2484 | end | |
| 2485 | ||
| 2486 | local origcolor = BrickColor.new("Pastel light blue")
| |
| 2487 | ---- This section of explosions. | |
| 2488 | ||
| 2489 | ---- | |
| 2490 | ||
| 2491 | ||
| 2492 | function ring(type,pos,scale,value) | |
| 2493 | local type = type | |
| 2494 | local rng = Instance.new("Part", char)
| |
| 2495 | rng.Anchored = true | |
| 2496 | rng.BrickColor = origcolor | |
| 2497 | rng.CanCollide = false | |
| 2498 | rng.FormFactor = 3 | |
| 2499 | rng.Name = "Ring" | |
| 2500 | rng.Size = Vector3.new(1, 1, 1) | |
| 2501 | rng.Transparency = 0 | |
| 2502 | rng.TopSurface = 0 | |
| 2503 | rng.BottomSurface = 0 | |
| 2504 | rng.CFrame = pos | |
| 2505 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2506 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 2507 | rngm.Scale = scale | |
| 2508 | local scaler2 = 1 | |
| 2509 | if type == "Add" then | |
| 2510 | scaler2 = 1*value | |
| 2511 | elseif type == "Divide" then | |
| 2512 | scaler2 = 1/value | |
| 2513 | end | |
| 2514 | coroutine.resume(coroutine.create(function() | |
| 2515 | for i = 0,10,0.1 do | |
| 2516 | swait() | |
| 2517 | if type == "Add" then | |
| 2518 | scaler2 = scaler2 - 0.01*value | |
| 2519 | elseif type == "Divide" then | |
| 2520 | scaler2 = scaler2 - 0.01/value | |
| 2521 | end | |
| 2522 | rng.Transparency = rng.Transparency + 0.01 | |
| 2523 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
| 2524 | end | |
| 2525 | rng:Destroy() | |
| 2526 | end)) | |
| 2527 | end | |
| 2528 | ||
| 2529 | ||
| 2530 | function wave(type,pos,scale,value) | |
| 2531 | local type = type | |
| 2532 | local rng = Instance.new("Part", char)
| |
| 2533 | rng.Anchored = true | |
| 2534 | rng.BrickColor = origcolor | |
| 2535 | rng.CanCollide = false | |
| 2536 | rng.FormFactor = 3 | |
| 2537 | rng.Name = "Ring" | |
| 2538 | rng.Size = Vector3.new(1, 1, 1) | |
| 2539 | rng.Transparency = 0 | |
| 2540 | rng.TopSurface = 0 | |
| 2541 | rng.BottomSurface = 0 | |
| 2542 | rng.CFrame = pos | |
| 2543 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2544 | rngm.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
| 2545 | rngm.Scale = scale | |
| 2546 | local scaler2 = 1 | |
| 2547 | if type == "Add" then | |
| 2548 | scaler2 = 1*value | |
| 2549 | elseif type == "Divide" then | |
| 2550 | scaler2 = 1/value | |
| 2551 | end | |
| 2552 | coroutine.resume(coroutine.create(function() | |
| 2553 | for i = 0,10,0.1 do | |
| 2554 | swait() | |
| 2555 | if type == "Add" then | |
| 2556 | scaler2 = scaler2 - 0.01*value | |
| 2557 | elseif type == "Divide" then | |
| 2558 | scaler2 = scaler2 - 0.01/value | |
| 2559 | end | |
| 2560 | rng.Transparency = rng.Transparency + 0.01 | |
| 2561 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) | |
| 2562 | end | |
| 2563 | rng:Destroy() | |
| 2564 | end)) | |
| 2565 | end | |
| 2566 | ||
| 2567 | function wind(type,pos,scale,value,speed) | |
| 2568 | local type = type | |
| 2569 | local rng = Instance.new("Part", char)
| |
| 2570 | rng.Anchored = true | |
| 2571 | rng.BrickColor = origcolor | |
| 2572 | rng.CanCollide = false | |
| 2573 | rng.FormFactor = 3 | |
| 2574 | rng.Name = "Ring" | |
| 2575 | rng.Size = Vector3.new(1, 1, 1) | |
| 2576 | rng.Transparency = 0 | |
| 2577 | rng.TopSurface = 0 | |
| 2578 | rng.BottomSurface = 0 | |
| 2579 | rng.CFrame = pos | |
| 2580 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2581 | rngm.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
| 2582 | rngm.Scale = scale | |
| 2583 | local scaler2 = 1 | |
| 2584 | if type == "Add" then | |
| 2585 | scaler2 = 1*value | |
| 2586 | elseif type == "Divide" then | |
| 2587 | scaler2 = 1/value | |
| 2588 | end | |
| 2589 | coroutine.resume(coroutine.create(function() | |
| 2590 | for i = 0,10,0.1 do | |
| 2591 | swait() | |
| 2592 | if type == "Add" then | |
| 2593 | scaler2 = scaler2 - 0.01*value | |
| 2594 | elseif type == "Divide" then | |
| 2595 | scaler2 = scaler2 - 0.01/value | |
| 2596 | end | |
| 2597 | rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0) | |
| 2598 | rng.Transparency = rng.Transparency + 0.01 | |
| 2599 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) | |
| 2600 | end | |
| 2601 | rng:Destroy() | |
| 2602 | end)) | |
| 2603 | end | |
| 2604 | ||
| 2605 | function groundwind(type,pos,scale,value,speed) | |
| 2606 | local type = type | |
| 2607 | local rng = Instance.new("Part", char)
| |
| 2608 | rng.Anchored = true | |
| 2609 | rng.BrickColor = origcolor | |
| 2610 | rng.CanCollide = false | |
| 2611 | rng.FormFactor = 3 | |
| 2612 | rng.Name = "Ring" | |
| 2613 | rng.Size = Vector3.new(1, 1, 1) | |
| 2614 | rng.Transparency = 0 | |
| 2615 | rng.TopSurface = 0 | |
| 2616 | rng.BottomSurface = 0 | |
| 2617 | rng.CFrame = pos | |
| 2618 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2619 | rngm.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
| 2620 | rngm.Scale = scale | |
| 2621 | local scaler2 = 1 | |
| 2622 | if type == "Add" then | |
| 2623 | scaler2 = 1*value | |
| 2624 | elseif type == "Divide" then | |
| 2625 | scaler2 = 1/value | |
| 2626 | end | |
| 2627 | coroutine.resume(coroutine.create(function() | |
| 2628 | for i = 0,10,0.1 do | |
| 2629 | swait() | |
| 2630 | if type == "Add" then | |
| 2631 | scaler2 = scaler2 - 0.01*value | |
| 2632 | elseif type == "Divide" then | |
| 2633 | scaler2 = scaler2 - 0.01/value | |
| 2634 | end | |
| 2635 | rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0) | |
| 2636 | rng.Transparency = rng.Transparency + 0.01 | |
| 2637 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2) | |
| 2638 | end | |
| 2639 | rng:Destroy() | |
| 2640 | end)) | |
| 2641 | end | |
| 2642 | ||
| 2643 | function CameraManager() | |
| 2644 | if TwoD and not CamInterrupt then | |
| 2645 | if Humanoid.Health > 0 then | |
| 2646 | Camera.CameraSubject = Humanoid | |
| 2647 | Camera.CameraType = "Scriptable" | |
| 2648 | Humanoid.AutoRotate = false | |
| 2649 | if Booleans.GyroUse then | |
| 2650 | Directer.MaxTorque = Vec3(0, huge, 0) | |
| 2651 | else | |
| 2652 | Directer.MaxTorque = Vec3(0, 0, 0) | |
| 2653 | end | |
| 2654 | if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then | |
| 2655 | if Booleans.CamFollow then | |
| 2656 | CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z)) | |
| 2657 | Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position) | |
| 2658 | else | |
| 2659 | CPart.Position = RootPart.Position | |
| 2660 | end | |
| 2661 | else | |
| 2662 | local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p | |
| 2663 | CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z)) | |
| 2664 | end | |
| 2665 | Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2) | |
| 2666 | else | |
| 2667 | Camera.CameraSubject = Humanoid | |
| 2668 | Camera.CameraType = "Custom" | |
| 2669 | Controller.Disabled = false | |
| 2670 | end | |
| 2671 | end | |
| 2672 | end | |
| 2673 | ||
| 2674 | function ring(type,pos,scale,value) | |
| 2675 | local type = type | |
| 2676 | local rng = Instance.new("Part", char)
| |
| 2677 | rng.Anchored = true | |
| 2678 | rng.BrickColor = origcolor | |
| 2679 | rng.CanCollide = false | |
| 2680 | rng.FormFactor = 3 | |
| 2681 | rng.Name = "Ring" | |
| 2682 | rng.Size = Vector3.new(1, 1, 1) | |
| 2683 | rng.Transparency = 0 | |
| 2684 | rng.TopSurface = 0 | |
| 2685 | rng.BottomSurface = 0 | |
| 2686 | rng.CFrame = pos | |
| 2687 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2688 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 2689 | rngm.Scale = scale | |
| 2690 | local scaler2 = 1 | |
| 2691 | if type == "Add" then | |
| 2692 | scaler2 = 1*value | |
| 2693 | elseif type == "Divide" then | |
| 2694 | scaler2 = 1/value | |
| 2695 | end | |
| 2696 | coroutine.resume(coroutine.create(function() | |
| 2697 | for i = 0,10,0.1 do | |
| 2698 | swait() | |
| 2699 | if type == "Add" then | |
| 2700 | scaler2 = scaler2 - 0.01*value | |
| 2701 | elseif type == "Divide" then | |
| 2702 | scaler2 = scaler2 - 0.01/value | |
| 2703 | end | |
| 2704 | rng.Transparency = rng.Transparency + 0.01 | |
| 2705 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
| 2706 | end | |
| 2707 | rng:Destroy() | |
| 2708 | end)) | |
| 2709 | end | |
| 2710 | ||
| 2711 | ||
| 2712 | function wave(type,pos,scale,value) | |
| 2713 | local type = type | |
| 2714 | local rng = Instance.new("Part", char)
| |
| 2715 | rng.Anchored = true | |
| 2716 | rng.BrickColor = origcolor | |
| 2717 | rng.CanCollide = false | |
| 2718 | rng.FormFactor = 3 | |
| 2719 | rng.Name = "Ring" | |
| 2720 | rng.Size = Vector3.new(1, 1, 1) | |
| 2721 | rng.Transparency = 0 | |
| 2722 | rng.TopSurface = 0 | |
| 2723 | rng.BottomSurface = 0 | |
| 2724 | rng.CFrame = pos | |
| 2725 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2726 | rngm.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
| 2727 | rngm.Scale = scale | |
| 2728 | local scaler2 = 1 | |
| 2729 | if type == "Add" then | |
| 2730 | scaler2 = 1*value | |
| 2731 | elseif type == "Divide" then | |
| 2732 | scaler2 = 1/value | |
| 2733 | end | |
| 2734 | coroutine.resume(coroutine.create(function() | |
| 2735 | for i = 0,10,0.1 do | |
| 2736 | swait() | |
| 2737 | if type == "Add" then | |
| 2738 | scaler2 = scaler2 - 0.01*value | |
| 2739 | elseif type == "Divide" then | |
| 2740 | scaler2 = scaler2 - 0.01/value | |
| 2741 | end | |
| 2742 | rng.Transparency = rng.Transparency + 0.01 | |
| 2743 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) | |
| 2744 | end | |
| 2745 | rng:Destroy() | |
| 2746 | end)) | |
| 2747 | end | |
| 2748 | ||
| 2749 | function sphere(bonuspeed,type,pos,scale,value,color) | |
| 2750 | local type = type | |
| 2751 | local rng = Instance.new("Part", char)
| |
| 2752 | rng.Anchored = true | |
| 2753 | if ModeOfGlitch ~= 9 then | |
| 2754 | rng.BrickColor = color | |
| 2755 | elseif ModeOfGlitch == 9 then | |
| 2756 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
| 2757 | end | |
| 2758 | rng.CanCollide = false | |
| 2759 | rng.FormFactor = 3 | |
| 2760 | rng.Name = "Ring" | |
| 2761 | rng.Material = "Neon" | |
| 2762 | rng.Size = Vector3.new(1, 1, 1) | |
| 2763 | rng.Transparency = 0 | |
| 2764 | rng.TopSurface = 0 | |
| 2765 | rng.BottomSurface = 0 | |
| 2766 | rng.CFrame = pos | |
| 2767 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2768 | rngm.MeshType = "Sphere" | |
| 2769 | rngm.Scale = scale | |
| 2770 | if rainbowmode == true then | |
| 2771 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2772 | end | |
| 2773 | if ModeOfGlitch == 9 then | |
| 2774 | coroutine.resume(coroutine.create(function() | |
| 2775 | while true do | |
| 2776 | swait() | |
| 2777 | if rng.Parent ~= nil then | |
| 2778 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
| 2779 | else | |
| 2780 | break | |
| 2781 | end | |
| 2782 | end | |
| 2783 | end)) | |
| 2784 | end | |
| 2785 | local scaler2 = 1 | |
| 2786 | if type == "Add" then | |
| 2787 | scaler2 = 1*value | |
| 2788 | elseif type == "Divide" then | |
| 2789 | scaler2 = 1/value | |
| 2790 | end | |
| 2791 | coroutine.resume(coroutine.create(function() | |
| 2792 | for i = 0,10/bonuspeed,0.1 do | |
| 2793 | swait() | |
| 2794 | if rainbowmode == true then | |
| 2795 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2796 | end | |
| 2797 | if type == "Add" then | |
| 2798 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 2799 | elseif type == "Divide" then | |
| 2800 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 2801 | end | |
| 2802 | if chaosmode == true then | |
| 2803 | rng.BrickColor = BrickColor.random() | |
| 2804 | end | |
| 2805 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 2806 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
| 2807 | end | |
| 2808 | rng:Destroy() | |
| 2809 | end)) | |
| 2810 | end | |
| 2811 | ||
| 2812 | function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color) | |
| 2813 | local type = type | |
| 2814 | local rng = Instance.new("Part", char)
| |
| 2815 | rng.Anchored = true | |
| 2816 | if ModeOfGlitch ~= 9 then | |
| 2817 | rng.BrickColor = color | |
| 2818 | elseif ModeOfGlitch == 9 then | |
| 2819 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
| 2820 | end | |
| 2821 | rng.CanCollide = false | |
| 2822 | rng.FormFactor = 3 | |
| 2823 | rng.Name = "Ring" | |
| 2824 | rng.Material = "Neon" | |
| 2825 | rng.Size = Vector3.new(1, 1, 1) | |
| 2826 | rng.Transparency = 0 | |
| 2827 | rng.TopSurface = 0 | |
| 2828 | rng.BottomSurface = 0 | |
| 2829 | rng.CFrame = pos | |
| 2830 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2831 | rngm.MeshType = "Sphere" | |
| 2832 | rngm.Scale = scale | |
| 2833 | local scaler2 = 1 | |
| 2834 | local scaler2b = 1 | |
| 2835 | local scaler2c = 1 | |
| 2836 | if type == "Add" then | |
| 2837 | scaler2 = 1*value | |
| 2838 | scaler2b = 1*value2 | |
| 2839 | scaler2c = 1*value3 | |
| 2840 | elseif type == "Divide" then | |
| 2841 | scaler2 = 1/value | |
| 2842 | scaler2b = 1/value2 | |
| 2843 | scaler2c = 1/value3 | |
| 2844 | end | |
| 2845 | if ModeOfGlitch == 9 then | |
| 2846 | coroutine.resume(coroutine.create(function() | |
| 2847 | while true do | |
| 2848 | swait() | |
| 2849 | if rng.Parent ~= nil then | |
| 2850 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
| 2851 | else | |
| 2852 | break | |
| 2853 | end | |
| 2854 | end | |
| 2855 | end)) | |
| 2856 | end | |
| 2857 | coroutine.resume(coroutine.create(function() | |
| 2858 | for i = 0,10/bonuspeed,0.1 do | |
| 2859 | swait() | |
| 2860 | if type == "Add" then | |
| 2861 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 2862 | scaler2b = scaler2b - 0.01*value/bonuspeed | |
| 2863 | scaler2c = scaler2c - 0.01*value/bonuspeed | |
| 2864 | elseif type == "Divide" then | |
| 2865 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 2866 | scaler2b = scaler2b - 0.01/value*bonuspeed | |
| 2867 | scaler2c = scaler2c - 0.01/value*bonuspeed | |
| 2868 | end | |
| 2869 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 2870 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed) | |
| 2871 | end | |
| 2872 | rng:Destroy() | |
| 2873 | end)) | |
| 2874 | end | |
| 2875 | ||
| 2876 | function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color) | |
| 2877 | local type = type | |
| 2878 | local rotenable = rotatingop | |
| 2879 | local rng = Instance.new("Part", char)
| |
| 2880 | rng.Anchored = true | |
| 2881 | rng.BrickColor = color | |
| 2882 | rng.CanCollide = false | |
| 2883 | rng.FormFactor = 3 | |
| 2884 | rng.Name = "Ring" | |
| 2885 | rng.Material = "Neon" | |
| 2886 | rng.Size = Vector3.new(1, 1, 1) | |
| 2887 | rng.Transparency = 0 | |
| 2888 | if typeoftrans == "In" then | |
| 2889 | rng.Transparency = 1 | |
| 2890 | end | |
| 2891 | rng.TopSurface = 0 | |
| 2892 | rng.BottomSurface = 0 | |
| 2893 | rng.CFrame = pos | |
| 2894 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2895 | rngm.MeshType = "FileMesh" | |
| 2896 | if typeofshape == "Normal" then | |
| 2897 | rngm.MeshId = "rbxassetid://662586858" | |
| 2898 | elseif typeofshape == "Round" then | |
| 2899 | rngm.MeshId = "rbxassetid://662585058" | |
| 2900 | end | |
| 2901 | rngm.Scale = scale | |
| 2902 | local scaler2 = 1/10 | |
| 2903 | if type == "Add" then | |
| 2904 | scaler2 = 1*value/10 | |
| 2905 | elseif type == "Divide" then | |
| 2906 | scaler2 = 1/value/10 | |
| 2907 | end | |
| 2908 | local randomrot = math.random(1,2) | |
| 2909 | coroutine.resume(coroutine.create(function() | |
| 2910 | for i = 0,10/bonuspeed,0.1 do | |
| 2911 | swait() | |
| 2912 | if type == "Add" then | |
| 2913 | scaler2 = scaler2 - 0.01*value/bonuspeed/10 | |
| 2914 | elseif type == "Divide" then | |
| 2915 | scaler2 = scaler2 - 0.01/value*bonuspeed/10 | |
| 2916 | end | |
| 2917 | if rotenable == true then | |
| 2918 | if randomrot == 1 then | |
| 2919 | rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0) | |
| 2920 | elseif randomrot == 2 then | |
| 2921 | rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0) | |
| 2922 | end | |
| 2923 | end | |
| 2924 | if typeoftrans == "Out" then | |
| 2925 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 2926 | elseif typeoftrans == "In" then | |
| 2927 | rng.Transparency = rng.Transparency - 0.01*bonuspeed | |
| 2928 | end | |
| 2929 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10) | |
| 2930 | end | |
| 2931 | rng:Destroy() | |
| 2932 | end)) | |
| 2933 | end | |
| 2934 | ||
| 2935 | function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
| 2936 | local type = type | |
| 2937 | local rng = Instance.new("Part", char)
| |
| 2938 | rng.Anchored = true | |
| 2939 | rng.BrickColor = color | |
| 2940 | rng.CanCollide = false | |
| 2941 | rng.FormFactor = 3 | |
| 2942 | rng.Name = "Ring" | |
| 2943 | rng.Material = "Neon" | |
| 2944 | rng.Size = Vector3.new(1, 1, 1) | |
| 2945 | rng.Transparency = 0 | |
| 2946 | rng.TopSurface = 0 | |
| 2947 | rng.BottomSurface = 0 | |
| 2948 | rng.CFrame = pos | |
| 2949 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
| 2950 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2951 | rngm.MeshType = "Brick" | |
| 2952 | rngm.Scale = vt(x1,y1,z1) | |
| 2953 | if rainbowmode == true then | |
| 2954 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2955 | end | |
| 2956 | local scaler2 = 1 | |
| 2957 | local speeder = FastSpeed/10 | |
| 2958 | if type == "Add" then | |
| 2959 | scaler2 = 1*value | |
| 2960 | elseif type == "Divide" then | |
| 2961 | scaler2 = 1/value | |
| 2962 | end | |
| 2963 | coroutine.resume(coroutine.create(function() | |
| 2964 | for i = 0,10/bonuspeed,0.1 do | |
| 2965 | swait() | |
| 2966 | if rainbowmode == true then | |
| 2967 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2968 | end | |
| 2969 | if type == "Add" then | |
| 2970 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 2971 | elseif type == "Divide" then | |
| 2972 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 2973 | end | |
| 2974 | if chaosmode == true then | |
| 2975 | rng.BrickColor = BrickColor.random() | |
| 2976 | end | |
| 2977 | speeder = speeder - 0.01*FastSpeed*bonuspeed/10 | |
| 2978 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
| 2979 | --rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 2980 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
| 2981 | end | |
| 2982 | rng:Destroy() | |
| 2983 | end)) | |
| 2984 | end | |
| 2985 | ||
| 2986 | function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
| 2987 | local type = type | |
| 2988 | local rng = Instance.new("Part", char)
| |
| 2989 | rng.Anchored = true | |
| 2990 | rng.BrickColor = color | |
| 2991 | rng.CanCollide = false | |
| 2992 | rng.FormFactor = 3 | |
| 2993 | rng.Name = "Ring" | |
| 2994 | rng.Material = "Neon" | |
| 2995 | rng.Size = Vector3.new(1, 1, 1) | |
| 2996 | rng.Transparency = 0 | |
| 2997 | rng.TopSurface = 0 | |
| 2998 | rng.BottomSurface = 0 | |
| 2999 | rng.CFrame = pos | |
| 3000 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
| 3001 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 3002 | rngm.MeshType = "Brick" | |
| 3003 | rngm.Scale = vt(x1,y1,z1) | |
| 3004 | if rainbowmode == true then | |
| 3005 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 3006 | end | |
| 3007 | local scaler2 = 1 | |
| 3008 | local speeder = FastSpeed/10 | |
| 3009 | if type == "Add" then | |
| 3010 | scaler2 = 1*value | |
| 3011 | elseif type == "Divide" then | |
| 3012 | scaler2 = 1/value | |
| 3013 | end | |
| 3014 | coroutine.resume(coroutine.create(function() | |
| 3015 | for i = 0,10/bonuspeed,0.1 do | |
| 3016 | swait() | |
| 3017 | if rainbowmode == true then | |
| 3018 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 3019 | end | |
| 3020 | if type == "Add" then | |
| 3021 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 3022 | elseif type == "Divide" then | |
| 3023 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 3024 | end | |
| 3025 | if chaosmode == true then | |
| 3026 | rng.BrickColor = BrickColor.random() | |
| 3027 | end | |
| 3028 | speeder = speeder - 0.01*FastSpeed*bonuspeed/10 | |
| 3029 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
| 3030 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 3031 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
| 3032 | end | |
| 3033 | rng:Destroy() | |
| 3034 | end)) | |
| 3035 | end | |
| 3036 | ||
| 3037 | function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
| 3038 | local type = type | |
| 3039 | local rng = Instance.new("Part", char)
| |
| 3040 | rng.Anchored = true | |
| 3041 | rng.BrickColor = color | |
| 3042 | rng.CanCollide = false | |
| 3043 | rng.FormFactor = 3 | |
| 3044 | rng.Name = "Ring" | |
| 3045 | rng.Material = "Neon" | |
| 3046 | rng.Size = Vector3.new(1, 1, 1) | |
| 3047 | rng.Transparency = 0 | |
| 3048 | rng.TopSurface = 0 | |
| 3049 | rng.BottomSurface = 0 | |
| 3050 | rng.CFrame = pos | |
| 3051 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
| 3052 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 3053 | rngm.MeshType = "Brick" | |
| 3054 | rngm.Scale = vt(x1,y1,z1) | |
| 3055 | if rainbowmode == true then | |
| 3056 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 3057 | end | |
| 3058 | local scaler2 = 0 | |
| 3059 | local speeder = FastSpeed/10 | |
| 3060 | if type == "Add" then | |
| 3061 | scaler2 = 1*value | |
| 3062 | elseif type == "Divide" then | |
| 3063 | scaler2 = 1/value | |
| 3064 | end | |
| 3065 | coroutine.resume(coroutine.create(function() | |
| 3066 | for i = 0,10/bonuspeed,0.1 do | |
| 3067 | swait() | |
| 3068 | if rainbowmode == true then | |
| 3069 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 3070 | end | |
| 3071 | if type == "Add" then | |
| 3072 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 3073 | elseif type == "Divide" then | |
| 3074 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 3075 | end | |
| 3076 | if chaosmode == true then | |
| 3077 | rng.BrickColor = BrickColor.random() | |
| 3078 | end | |
| 3079 | speeder = speeder + 0.01*FastSpeed*bonuspeed/10 | |
| 3080 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
| 3081 | --rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 3082 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
| 3083 | end | |
| 3084 | rng:Destroy() | |
| 3085 | end)) | |
| 3086 | end | |
| 3087 | ||
| 3088 | function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3) | |
| 3089 | local type = type | |
| 3090 | local rng = Instance.new("Part", char)
| |
| 3091 | rng.Anchored = true | |
| 3092 | rng.BrickColor = color | |
| 3093 | rng.Color = color3 | |
| 3094 | rng.CanCollide = false | |
| 3095 | rng.FormFactor = 3 | |
| 3096 | rng.Name = "Ring" | |
| 3097 | rng.Material = "Neon" | |
| 3098 | rng.Size = Vector3.new(1, 1, 1) | |
| 3099 | rng.Transparency = 0 | |
| 3100 | rng.TopSurface = 0 | |
| 3101 | rng.BottomSurface = 0 | |
| 3102 | rng.CFrame = pos | |
| 3103 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 3104 | rngm.MeshType = "Brick" | |
| 3105 | rngm.Scale = scale | |
| 3106 | local scaler2 = 1 | |
| 3107 | local scaler2b = 1 | |
| 3108 | local scaler2c = 1 | |
| 3109 | if type == "Add" then | |
| 3110 | scaler2 = 1*value | |
| 3111 | scaler2b = 1*value2 | |
| 3112 | scaler2c = 1*value3 | |
| 3113 | elseif type == "Divide" then | |
| 3114 | scaler2 = 1/value | |
| 3115 | scaler2b = 1/value2 | |
| 3116 | scaler2c = 1/value3 | |
| 3117 | end | |
| 3118 | coroutine.resume(coroutine.create(function() | |
| 3119 | for i = 0,10/bonuspeed,0.1 do | |
| 3120 | swait() | |
| 3121 | if type == "Add" then | |
| 3122 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 3123 | scaler2b = scaler2b - 0.01*value/bonuspeed | |
| 3124 | scaler2c = scaler2c - 0.01*value/bonuspeed | |
| 3125 | elseif type == "Divide" then | |
| 3126 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 3127 | scaler2b = scaler2b - 0.01/value*bonuspeed | |
| 3128 | scaler2c = scaler2c - 0.01/value*bonuspeed | |
| 3129 | end | |
| 3130 | rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
| 3131 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 3132 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed) | |
| 3133 | end | |
| 3134 | rng:Destroy() | |
| 3135 | end)) | |
| 3136 | end | |
| 3137 | ||
| 3138 | function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
| 3139 | local type = type | |
| 3140 | local rng = Instance.new("Part", char)
| |
| 3141 | rng.Anchored = true | |
| 3142 | if ModeOfGlitch ~= 9 then | |
| 3143 | rng.BrickColor = color | |
| 3144 | elseif ModeOfGlitch == 9 then | |
| 3145 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
| 3146 | end | |
| 3147 | rng.CanCollide = false | |
| 3148 | rng.FormFactor = 3 | |
| 3149 | rng.Name = "Ring" | |
| 3150 | rng.Material = "Neon" | |
| 3151 | rng.Size = Vector3.new(1, 1, 1) | |
| 3152 | rng.Transparency = 0 | |
| 3153 | rng.TopSurface = 0 | |
| 3154 | rng.BottomSurface = 0 | |
| 3155 | rng.CFrame = pos | |
| 3156 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
| 3157 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 3158 | rngm.MeshType = "Sphere" | |
| 3159 | rngm.Scale = vt(x1,y1,z1) | |
| 3160 | if rainbowmode == true then | |
| 3161 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 3162 | end | |
| 3163 | if ModeOfGlitch == 9 then | |
| 3164 | coroutine.resume(coroutine.create(function() | |
| 3165 | while true do | |
| 3166 | swait() | |
| 3167 | if rng.Parent ~= nil then | |
| 3168 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
| 3169 | else | |
| 3170 | break | |
| 3171 | end | |
| 3172 | end | |
| 3173 | end)) | |
| 3174 | end | |
| 3175 | local scaler2 = 1 | |
| 3176 | local speeder = FastSpeed | |
| 3177 | if type == "Add" then | |
| 3178 | scaler2 = 1*value | |
| 3179 | elseif type == "Divide" then | |
| 3180 | scaler2 = 1/value | |
| 3181 | end | |
| 3182 | coroutine.resume(coroutine.create(function() | |
| 3183 | for i = 0,10/bonuspeed,0.1 do | |
| 3184 | swait() | |
| 3185 | if rainbowmode == true then | |
| 3186 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 3187 | end | |
| 3188 | if type == "Add" then | |
| 3189 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 3190 | elseif type == "Divide" then | |
| 3191 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 3192 | end | |
| 3193 | if chaosmode == true then | |
| 3194 | rng.BrickColor = BrickColor.random() | |
| 3195 | end | |
| 3196 | speeder = speeder - 0.01*FastSpeed*bonuspeed | |
| 3197 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
| 3198 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 3199 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) | |
| 3200 | end | |
| 3201 | rng:Destroy() | |
| 3202 | end)) | |
| 3203 | end | |
| 3204 | ||
| 3205 | ||
| 3206 | function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
| 3207 | local type = type | |
| 3208 | local rng = Instance.new("Part", char)
| |
| 3209 | rng.Anchored = true | |
| 3210 | if ModeOfGlitch ~= 9 then | |
| 3211 | rng.BrickColor = color | |
| 3212 | elseif ModeOfGlitch == 9 then | |
| 3213 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
| 3214 | end | |
| 3215 | rng.CanCollide = false | |
| 3216 | rng.FormFactor = 3 | |
| 3217 | rng.Name = "Ring" | |
| 3218 | rng.Material = "Neon" | |
| 3219 | rng.Size = Vector3.new(1, 1, 1) | |
| 3220 | rng.Transparency = 1 | |
| 3221 | rng.TopSurface = 0 | |
| 3222 | rng.BottomSurface = 0 | |
| 3223 | rng.CFrame = pos | |
| 3224 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
| 3225 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 3226 | rngm.MeshType = "Sphere" | |
| 3227 | rngm.Scale = vt(x1,y1,z1) | |
| 3228 | if rainbowmode == true then | |
| 3229 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 3230 | end | |
| 3231 | if ModeOfGlitch == 9 then | |
| 3232 | coroutine.resume(coroutine.create(function() | |
| 3233 | while true do | |
| 3234 | swait() | |
| 3235 | if rng.Parent ~= nil then | |
| 3236 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
| 3237 | else | |
| 3238 | break | |
| 3239 | end | |
| 3240 | end | |
| 3241 | end)) | |
| 3242 | end | |
| 3243 | local scaler2 = 1 | |
| 3244 | local speeder = FastSpeed | |
| 3245 | if type == "Add" then | |
| 3246 | scaler2 = 1*value | |
| 3247 | elseif type == "Divide" then | |
| 3248 | scaler2 = 1/value | |
| 3249 | end | |
| 3250 | coroutine.resume(coroutine.create(function() | |
| 3251 | for i = 0,10/bonuspeed,0.1 do | |
| 3252 | swait() | |
| 3253 | if rainbowmode == true then | |
| 3254 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 3255 | end | |
| 3256 | if type == "Add" then | |
| 3257 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 3258 | elseif type == "Divide" then | |
| 3259 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 3260 | end | |
| 3261 | if chaosmode == true then | |
| 3262 | rng.BrickColor = BrickColor.random() | |
| 3263 | end | |
| 3264 | speeder = speeder - 0.01*FastSpeed*bonuspeed | |
| 3265 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
| 3266 | rng.Transparency = rng.Transparency - 0.01*bonuspeed | |
| 3267 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) | |
| 3268 | end | |
| 3269 | rng:Destroy() | |
| 3270 | end)) | |
| 3271 | end | |
| 3272 | ||
| 3273 | function dmg(dude) | |
| 3274 | if dude.Name ~= Character then | |
| 3275 | local keptcolor = MAINRUINCOLOR | |
| 3276 | local bgf = Instance.new("BodyGyro",dude.Head)
| |
| 3277 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) | |
| 3278 | --[[local val = Instance.new("BoolValue",dude)
| |
| 3279 | val.Name = "IsHit"]]-- | |
| 3280 | local ds = coroutine.wrap(function() | |
| 3281 | dude:WaitForChild("Head"):BreakJoints()
| |
| 3282 | for i, v in pairs(dude:GetChildren()) do | |
| 3283 | if v:IsA("Part") or v:IsA("MeshPart") then
| |
| 3284 | v.Name = "DEMINISHED" | |
| 3285 | end | |
| 3286 | end | |
| 3287 | wait(0.5) | |
| 3288 | targetted = nil | |
| 3289 | CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
| |
| 3290 | coroutine.resume(coroutine.create(function() | |
| 3291 | for i, v in pairs(dude:GetChildren()) do | |
| 3292 | if v:IsA("Accessory") then
| |
| 3293 | v:Destroy() | |
| 3294 | end | |
| 3295 | if v:IsA("Humanoid") then
| |
| 3296 | v:Destroy() | |
| 3297 | end | |
| 3298 | if v:IsA("CharacterMesh") then
| |
| 3299 | v:Destroy() | |
| 3300 | end | |
| 3301 | if v:IsA("Model") then
| |
| 3302 | v:Destroy() | |
| 3303 | end | |
| 3304 | if v:IsA("Part") or v:IsA("MeshPart") then
| |
| 3305 | for x, o in pairs(v:GetChildren()) do | |
| 3306 | if o:IsA("Decal") then
| |
| 3307 | o:Destroy() | |
| 3308 | end | |
| 3309 | end | |
| 3310 | coroutine.resume(coroutine.create(function() | |
| 3311 | v.Material = "Neon" | |
| 3312 | v.CanCollide = false | |
| 3313 | v.Anchored = false | |
| 3314 | local bld = Instance.new("ParticleEmitter",v)
| |
| 3315 | bld.LightEmission = 0.75 | |
| 3316 | bld.Texture = "rbxassetid://363275192" ---284205403 | |
| 3317 | bld.Color = ColorSequence.new(keptcolor.Color) | |
| 3318 | bld.Rate = 500 | |
| 3319 | bld.Lifetime = NumberRange.new(1) | |
| 3320 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 3321 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 3322 | bld.Speed = NumberRange.new(2,5) | |
| 3323 | bld.VelocitySpread = 50000 | |
| 3324 | bld.Rotation = NumberRange.new(-500,500) | |
| 3325 | bld.RotSpeed = NumberRange.new(-500,500) | |
| 3326 | local sbs = Instance.new("BodyPosition", v)
| |
| 3327 | sbs.P = 3000 | |
| 3328 | sbs.D = 1000 | |
| 3329 | sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
| 3330 | sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2)) | |
| 3331 | v.Color = keptcolor.Color | |
| 3332 | coroutine.resume(coroutine.create(function() | |
| 3333 | for i = 0, 49 do | |
| 3334 | swait(1) | |
| 3335 | v:BreakJoints() | |
| 3336 | v.Transparency = v.Transparency + 0.02 | |
| 3337 | end | |
| 3338 | v:BreakJoints() | |
| 3339 | sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor) | |
| 3340 | CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
| |
| 3341 | bld.Speed = NumberRange.new(10,25) | |
| 3342 | bld.Drag = 5 | |
| 3343 | bld.Acceleration = vt(0,2,0) | |
| 3344 | wait(0.5) | |
| 3345 | bld.Enabled = false | |
| 3346 | wait(8) | |
| 3347 | v:Destroy() | |
| 3348 | dude:Destroy() | |
| 3349 | end)) | |
| 3350 | end)) | |
| 3351 | end | |
| 3352 | end | |
| 3353 | end)) | |
| 3354 | end) | |
| 3355 | ds() | |
| 3356 | end | |
| 3357 | end | |
| 3358 | ||
| 3359 | ||
| 3360 | function FindNearestHead(Position, Distance, SinglePlayer) | |
| 3361 | if SinglePlayer then | |
| 3362 | return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance | |
| 3363 | end | |
| 3364 | local List = {}
| |
| 3365 | for i, v in pairs(workspace:GetChildren()) do | |
| 3366 | if v:IsA("Model") then
| |
| 3367 | if v:findFirstChild("Head") then
| |
| 3368 | if v ~= Character then | |
| 3369 | if (v.Head.Position - Position).magnitude <= Distance then | |
| 3370 | table.insert(List, v) | |
| 3371 | end | |
| 3372 | end | |
| 3373 | end | |
| 3374 | end | |
| 3375 | end | |
| 3376 | return List | |
| 3377 | end | |
| 3378 | ||
| 3379 | function FaceMouse() | |
| 3380 | Cam = workspace.CurrentCamera | |
| 3381 | return {
| |
| 3382 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), | |
| 3383 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
| 3384 | } | |
| 3385 | end | |
| 3386 | ||
| 3387 | function FaceMouse2() | |
| 3388 | Cam = workspace.CurrentCamera | |
| 3389 | return {
| |
| 3390 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)), | |
| 3391 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
| 3392 | } | |
| 3393 | end | |
| 3394 | ||
| 3395 | local ModeOfGlitch = 1 | |
| 3396 | -- Functions are ready. | |
| 3397 | local storehumanoidWS = 16 | |
| 3398 | ||
| 3399 | function CorruptBlink() | |
| 3400 | for i = 0, 14 do | |
| 3401 | 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) | |
| 3402 | end | |
| 3403 | sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 3404 | CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
| |
| 3405 | RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0) | |
| 3406 | CameraEnshaking(2,10) | |
| 3407 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do | |
| 3408 | if v:FindFirstChild('Head') then
| |
| 3409 | dmg(v) | |
| 3410 | end | |
| 3411 | end | |
| 3412 | for i = 0, 14 do | |
| 3413 | 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) | |
| 3414 | end | |
| 3415 | sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 3416 | end | |
| 3417 | function PureBomb() | |
| 3418 | attack = true | |
| 3419 | hum.WalkSpeed = 0 | |
| 3420 | local orb = Instance.new("Part", char)
| |
| 3421 | orb.Anchored = true | |
| 3422 | orb.BrickColor = BrickColor.new("Toothpaste")
| |
| 3423 | orb.CanCollide = false | |
| 3424 | orb.FormFactor = 3 | |
| 3425 | orb.Name = "Ring" | |
| 3426 | orb.Material = "Neon" | |
| 3427 | orb.Size = Vector3.new(1, 1, 1) | |
| 3428 | orb.Transparency = 0 | |
| 3429 | orb.TopSurface = 0 | |
| 3430 | orb.BottomSurface = 0 | |
| 3431 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 3432 | orbm.MeshType = "Sphere" | |
| 3433 | orbm.Name = "SizeMesh" | |
| 3434 | orbm.Scale = vt(0,0,0) | |
| 3435 | local scaled = 0.1 | |
| 3436 | local posid = 0 | |
| 3437 | CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
| |
| 3438 | for i = 0, 5, 0.1 do | |
| 3439 | swait() | |
| 3440 | scaled = scaled - 0.001 | |
| 3441 | posid = posid - scaled | |
| 3442 | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) | |
| 3443 | local scaled = 0.1 | |
| 3444 | orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled) | |
| 3445 | 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)
| |
| 3446 | 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)
| |
| 3447 | 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) | |
| 3448 | 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) | |
| 3449 | 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) | |
| 3450 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 3451 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1) | |
| 3452 | 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) | |
| 3453 | end | |
| 3454 | for i = 0, 2, 0.1 do | |
| 3455 | swait() | |
| 3456 | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) | |
| 3457 | 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) | |
| 3458 | 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) | |
| 3459 | 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) | |
| 3460 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4) | |
| 3461 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4) | |
| 3462 | 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) | |
| 3463 | end | |
| 3464 | coroutine.resume(coroutine.create(function() | |
| 3465 | orb.Anchored = false | |
| 3466 | CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
| |
| 3467 | local a = Instance.new("Part",workspace)
| |
| 3468 | a.Name = "Direction" | |
| 3469 | a.Anchored = true | |
| 3470 | a.BrickColor = bc("Bright red")
| |
| 3471 | a.Material = "Neon" | |
| 3472 | a.Transparency = 1 | |
| 3473 | a.CanCollide = false | |
| 3474 | local ray = Ray.new( | |
| 3475 | orb.CFrame.p, -- origin | |
| 3476 | (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction | |
| 3477 | ) | |
| 3478 | local ignore = orb | |
| 3479 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 3480 | a.BottomSurface = 10 | |
| 3481 | a.TopSurface = 10 | |
| 3482 | local distance = (orb.CFrame.p - position).magnitude | |
| 3483 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
| 3484 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
| 3485 | orb.CFrame = a.CFrame | |
| 3486 | a:Destroy() | |
| 3487 | local bv = Instance.new("BodyVelocity")
| |
| 3488 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 3489 | bv.velocity = orb.CFrame.lookVector*125 | |
| 3490 | bv.Parent = orb | |
| 3491 | local hitted = false | |
| 3492 | game:GetService("Debris"):AddItem(orb, 15)
| |
| 3493 | wait() | |
| 3494 | local hit =orb.Touched:connect(function(hit) | |
| 3495 | if hitted == false then | |
| 3496 | hitted = true | |
| 3497 | CameraEnshaking(10,2.5) | |
| 3498 | CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
| |
| 3499 | MagniDamage(orb, 65, 65,90, 0, "Normal") | |
| 3500 | sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
| |
| 3501 | sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
| |
| 3502 | for i = 0, 49 do | |
| 3503 | 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)
| |
| 3504 | end | |
| 3505 | for i = 0, 9 do | |
| 3506 | 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)
| |
| 3507 | 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)
| |
| 3508 | end | |
| 3509 | orb.Anchored = true | |
| 3510 | orb.Transparency = 1 | |
| 3511 | wait(8) | |
| 3512 | orb:Destroy() | |
| 3513 | end | |
| 3514 | end) | |
| 3515 | end)) | |
| 3516 | for i = 0, 1, 0.1 do | |
| 3517 | swait() | |
| 3518 | 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) | |
| 3519 | 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) | |
| 3520 | 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) | |
| 3521 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4) | |
| 3522 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4) | |
| 3523 | 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) | |
| 3524 | end | |
| 3525 | hum.WalkSpeed = storehumanoidWS | |
| 3526 | attack = false | |
| 3527 | end | |
| 3528 | ||
| 3529 | function BanishingOrb() | |
| 3530 | attack = true | |
| 3531 | hum.WalkSpeed = 0 | |
| 3532 | local orb = Instance.new("Part", char)
| |
| 3533 | orb.Anchored = true | |
| 3534 | orb.BrickColor = BrickColor.new("Black")
| |
| 3535 | orb.CanCollide = false | |
| 3536 | orb.FormFactor = 3 | |
| 3537 | orb.Name = "Ring" | |
| 3538 | orb.Material = "Neon" | |
| 3539 | orb.Size = Vector3.new(1, 1, 1) | |
| 3540 | orb.Transparency = 0 | |
| 3541 | orb.TopSurface = 0 | |
| 3542 | orb.BottomSurface = 0 | |
| 3543 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 3544 | orbm.MeshType = "Sphere" | |
| 3545 | orbm.Name = "SizeMesh" | |
| 3546 | orbm.Scale = vt(0,0,0) | |
| 3547 | local scaled = 0.1 | |
| 3548 | local posid = 0 | |
| 3549 | CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5,0.9)
| |
| 3550 | for i = 0, 5, 0.1 do | |
| 3551 | swait() | |
| 3552 | scaled = scaled - 0.001 | |
| 3553 | posid = posid - scaled | |
| 3554 | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) | |
| 3555 | local scaled = 0.1 | |
| 3556 | orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled) | |
| 3557 | 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("Black"),10)
| |
| 3558 | 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) | |
| 3559 | 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) | |
| 3560 | 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) | |
| 3561 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 3562 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1) | |
| 3563 | 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) | |
| 3564 | end | |
| 3565 | for i = 0, 2, 0.1 do | |
| 3566 | swait() | |
| 3567 | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) | |
| 3568 | 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) | |
| 3569 | 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) | |
| 3570 | 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) | |
| 3571 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4) | |
| 3572 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4) | |
| 3573 | 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) | |
| 3574 | end | |
| 3575 | coroutine.resume(coroutine.create(function() | |
| 3576 | orb.Anchored = false | |
| 3577 | CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,0.75)
| |
| 3578 | local a = Instance.new("Part",workspace)
| |
| 3579 | a.Name = "Direction" | |
| 3580 | a.Anchored = true | |
| 3581 | a.BrickColor = bc("Bright red")
| |
| 3582 | a.Material = "Neon" | |
| 3583 | a.Transparency = 1 | |
| 3584 | a.CanCollide = false | |
| 3585 | local ray = Ray.new( | |
| 3586 | orb.CFrame.p, -- origin | |
| 3587 | (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction | |
| 3588 | ) | |
| 3589 | local ignore = orb | |
| 3590 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 3591 | a.BottomSurface = 10 | |
| 3592 | a.TopSurface = 10 | |
| 3593 | local distance = (orb.CFrame.p - position).magnitude | |
| 3594 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
| 3595 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
| 3596 | orb.CFrame = a.CFrame | |
| 3597 | a:Destroy() | |
| 3598 | local bv = Instance.new("BodyVelocity")
| |
| 3599 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 3600 | bv.velocity = orb.CFrame.lookVector*0 | |
| 3601 | bv.Parent = orb | |
| 3602 | local hitted = false | |
| 3603 | local rate = 0 | |
| 3604 | coroutine.resume(coroutine.create(function() | |
| 3605 | for i = 0, 24 do | |
| 3606 | wait(0.1) | |
| 3607 | rate = rate + 0.25 | |
| 3608 | bv.velocity = bv.velocity + orb.CFrame.lookVector*rate | |
| 3609 | for i, v in pairs(FindNearestHead(orb.CFrame.p, 15)) do | |
| 3610 | if v:FindFirstChild('Head') then
| |
| 3611 | dmg(v) | |
| 3612 | end | |
| 3613 | end | |
| 3614 | CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 2.5,0.9)
| |
| 3615 | sphere(2,"Add",orb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR) | |
| 3616 | sphere(3,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR) | |
| 3617 | end | |
| 3618 | orb.Anchored = true | |
| 3619 | orb.Transparency = 1 | |
| 3620 | for i, v in pairs(FindNearestHead(orb.CFrame.p, 32)) do | |
| 3621 | if v:FindFirstChild('Head') then
| |
| 3622 | dmg(v) | |
| 3623 | end | |
| 3624 | end | |
| 3625 | local eff = Instance.new("ParticleEmitter",orb)
| |
| 3626 | eff.Texture = "rbxassetid://296874871" | |
| 3627 | eff.LightEmission = 0.95 | |
| 3628 | eff.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 3629 | eff.Rate = 1000000000 | |
| 3630 | eff.Lifetime = NumberRange.new(3) | |
| 3631 | 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)})
| |
| 3632 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 3633 | eff.Speed = NumberRange.new(30) | |
| 3634 | eff.Acceleration = vt(0,-15,0) | |
| 3635 | eff.Rotation = NumberRange.new(-500,500) | |
| 3636 | eff.VelocitySpread = 100000 | |
| 3637 | eff.RotSpeed = NumberRange.new(-500,500) | |
| 3638 | coroutine.resume(coroutine.create(function() | |
| 3639 | wait(0.6) | |
| 3640 | eff.Enabled = false | |
| 3641 | end)) | |
| 3642 | CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 8,0.6)
| |
| 3643 | CFuncs["Sound"].Create("rbxassetid://438666141", orb, 7.5,0.9)
| |
| 3644 | sphere(1,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR) | |
| 3645 | sphere(1.5,"Add",orb.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 3646 | sphere(2,"Add",orb.CFrame,vt(0,0,0),1.25,MAINRUINCOLOR) | |
| 3647 | game:GetService("Debris"):AddItem(orb, 15)
| |
| 3648 | end)) | |
| 3649 | end)) | |
| 3650 | for i = 0, 1, 0.1 do | |
| 3651 | swait() | |
| 3652 | 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) | |
| 3653 | 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) | |
| 3654 | 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) | |
| 3655 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4) | |
| 3656 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4) | |
| 3657 | 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) | |
| 3658 | end | |
| 3659 | hum.WalkSpeed = storehumanoidWS | |
| 3660 | attack = false | |
| 3661 | end | |
| 3662 | ||
| 3663 | ||
| 3664 | function ChaosGroundStrike() | |
| 3665 | attack = true | |
| 3666 | for i = 0, 2, 0.1 do | |
| 3667 | swait() | |
| 3668 | 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) | |
| 3669 | 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) | |
| 3670 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 3671 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 3672 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2) | |
| 3673 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2) | |
| 3674 | end | |
| 3675 | CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
| |
| 3676 | CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
| |
| 3677 | CameraEnshaking(4,12) | |
| 3678 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do | |
| 3679 | if v:FindFirstChild('Head') then
| |
| 3680 | dmg(v) | |
| 3681 | end | |
| 3682 | end | |
| 3683 | sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random()) | |
| 3684 | sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random()) | |
| 3685 | sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random()) | |
| 3686 | for i = 0, 2, 0.1 do | |
| 3687 | swait() | |
| 3688 | 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) | |
| 3689 | 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) | |
| 3690 | 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) | |
| 3691 | 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) | |
| 3692 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
| 3693 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
| 3694 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4) | |
| 3695 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4) | |
| 3696 | end | |
| 3697 | attack = false | |
| 3698 | end | |
| 3699 | ||
| 3700 | function InsaneGroundStrike() | |
| 3701 | attack = true | |
| 3702 | for i = 0, 2, 0.1 do | |
| 3703 | swait() | |
| 3704 | 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) | |
| 3705 | 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) | |
| 3706 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 3707 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 3708 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2) | |
| 3709 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2) | |
| 3710 | end | |
| 3711 | CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
| |
| 3712 | CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
| |
| 3713 | CameraEnshaking(4,12) | |
| 3714 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do | |
| 3715 | if v:FindFirstChild('Head') then
| |
| 3716 | dmg(v) | |
| 3717 | end | |
| 3718 | end | |
| 3719 | sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random()) | |
| 3720 | sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random()) | |
| 3721 | sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random()) | |
| 3722 | for i = 0, 2, 0.1 do | |
| 3723 | swait() | |
| 3724 | 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) | |
| 3725 | 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) | |
| 3726 | 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) | |
| 3727 | 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) | |
| 3728 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
| 3729 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
| 3730 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4) | |
| 3731 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4) | |
| 3732 | end | |
| 3733 | attack = false | |
| 3734 | end | |
| 3735 | ||
| 3736 | ||
| 3737 | ||
| 3738 | ||
| 3739 | function Starfall() | |
| 3740 | attack = true | |
| 3741 | hum.WalkSpeed = 0 | |
| 3742 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
| |
| 3743 | for i = 0, 5, 0.1 do | |
| 3744 | swait() | |
| 3745 | 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) | |
| 3746 | 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) | |
| 3747 | 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) | |
| 3748 | 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) | |
| 3749 | 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) | |
| 3750 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1) | |
| 3751 | 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) | |
| 3752 | 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) | |
| 3753 | end | |
| 3754 | local Overed = false | |
| 3755 | CameraEnshaking(2,20) | |
| 3756 | sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
| 3757 | sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
| 3758 | sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR) | |
| 3759 | CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
| |
| 3760 | local orb = Instance.new("Part", char)
| |
| 3761 | orb.Anchored = true | |
| 3762 | orb.BrickColor = BrickColor.new("Toothpaste")
| |
| 3763 | orb.CanCollide = false | |
| 3764 | orb.FormFactor = 3 | |
| 3765 | orb.Name = "Remenant" | |
| 3766 | orb.Material = "Neon" | |
| 3767 | orb.CFrame = root.CFrame*CFrame.new(0,150,0) | |
| 3768 | orb.Size = Vector3.new(1, 1, 1) | |
| 3769 | orb.Transparency = 1 | |
| 3770 | orb.TopSurface = 0 | |
| 3771 | orb.BottomSurface = 0 | |
| 3772 | hum.WalkSpeed = storehumanoidWS | |
| 3773 | coroutine.resume(coroutine.create(function() | |
| 3774 | for i = 0, 9 do | |
| 3775 | swait(10) | |
| 3776 | local lb = Instance.new("Part")
| |
| 3777 | lb.Color = MAINRUINCOLOR.Color | |
| 3778 | lb.CanCollide = false | |
| 3779 | lb.Material = "Neon" | |
| 3780 | lb.Anchored = true | |
| 3781 | lb.TopSurface = 0 | |
| 3782 | lb.BottomSurface = 0 | |
| 3783 | lb.Transparency = 0 | |
| 3784 | lb.Size = vt(1,1,1) | |
| 3785 | 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))) | |
| 3786 | lb.Anchored = false | |
| 3787 | lb.Parent = char | |
| 3788 | local thingery = Instance.new("SpecialMesh",lb)
| |
| 3789 | thingery.MeshType = "Sphere" | |
| 3790 | thingery.Scale = vt(20,20,20) | |
| 3791 | game:GetService("Debris"):AddItem(lb, 10)
| |
| 3792 | local bv = Instance.new("BodyVelocity")
| |
| 3793 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 3794 | bv.velocity = lb.CFrame.lookVector*math.random(75,250) | |
| 3795 | bv.Parent = lb | |
| 3796 | sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR) | |
| 3797 | sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR) | |
| 3798 | CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
| |
| 3799 | CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
| |
| 3800 | CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
| |
| 3801 | CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
| |
| 3802 | local hitted = false | |
| 3803 | coroutine.resume(coroutine.create(function() | |
| 3804 | while true do | |
| 3805 | swait(1) | |
| 3806 | if lb.Parent ~= nil and hitted == false then | |
| 3807 | 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) | |
| 3808 | elseif lb.Parent == nil then | |
| 3809 | break | |
| 3810 | end | |
| 3811 | end | |
| 3812 | end)) | |
| 3813 | ||
| 3814 | game:GetService("Debris"):AddItem(a, 0.1)
| |
| 3815 | ||
| 3816 | coroutine.resume(coroutine.create(function() | |
| 3817 | swait(1) | |
| 3818 | lb.Touched:connect(function(hit) | |
| 3819 | if hitted == false then | |
| 3820 | hitted = true | |
| 3821 | lb.Transparency = 1 | |
| 3822 | lb.Anchored = true | |
| 3823 | CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
| |
| 3824 | CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
| |
| 3825 | CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
| |
| 3826 | CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
| |
| 3827 | CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
| |
| 3828 | CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
| |
| 3829 | MagniDamage(lb, 45, 45,85, 0, "Normal") | |
| 3830 | CameraEnshaking(1,5) | |
| 3831 | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) | |
| 3832 | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) | |
| 3833 | for i = 0, 9 do | |
| 3834 | 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) | |
| 3835 | end | |
| 3836 | for i = 0, 49 do | |
| 3837 | swait() | |
| 3838 | MagniDamage(lb, 30, 2,4, 0, "Normal") | |
| 3839 | 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) | |
| 3840 | end | |
| 3841 | end | |
| 3842 | end) | |
| 3843 | end)) | |
| 3844 | end | |
| 3845 | Overed = true | |
| 3846 | orb:Destroy() | |
| 3847 | end)) | |
| 3848 | ||
| 3849 | attack = false | |
| 3850 | end | |
| 3851 | ||
| 3852 | function StarfallEX() | |
| 3853 | attack = true | |
| 3854 | hum.WalkSpeed = 0 | |
| 3855 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 0.7)
| |
| 3856 | for i = 0, 10, 0.1 do | |
| 3857 | swait() | |
| 3858 | 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) | |
| 3859 | 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) | |
| 3860 | 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) | |
| 3861 | 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) | |
| 3862 | 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) | |
| 3863 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1) | |
| 3864 | 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) | |
| 3865 | 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) | |
| 3866 | end | |
| 3867 | local Overed = false | |
| 3868 | CameraEnshaking(2,20) | |
| 3869 | sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR) | |
| 3870 | sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR) | |
| 3871 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
| 3872 | CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 0.9)
| |
| 3873 | local orb = Instance.new("Part", char)
| |
| 3874 | orb.Anchored = true | |
| 3875 | orb.BrickColor = BrickColor.new("Toothpaste")
| |
| 3876 | orb.CanCollide = false | |
| 3877 | orb.FormFactor = 3 | |
| 3878 | orb.Name = "Remenant" | |
| 3879 | orb.Material = "Neon" | |
| 3880 | orb.CFrame = root.CFrame*CFrame.new(0,250,0) | |
| 3881 | orb.Size = Vector3.new(1, 1, 1) | |
| 3882 | orb.Transparency = 1 | |
| 3883 | orb.TopSurface = 0 | |
| 3884 | orb.BottomSurface = 0 | |
| 3885 | hum.WalkSpeed = storehumanoidWS | |
| 3886 | coroutine.resume(coroutine.create(function() | |
| 3887 | for i = 0, 4 do | |
| 3888 | swait(15) | |
| 3889 | local lb = Instance.new("Part")
| |
| 3890 | lb.Color = MAINRUINCOLOR.Color | |
| 3891 | lb.CanCollide = false | |
| 3892 | lb.Material = "Neon" | |
| 3893 | lb.Anchored = true | |
| 3894 | lb.TopSurface = 0 | |
| 3895 | lb.BottomSurface = 0 | |
| 3896 | lb.Transparency = 0 | |
| 3897 | lb.Size = vt(1,1,1) | |
| 3898 | 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))) | |
| 3899 | lb.Anchored = false | |
| 3900 | lb.Parent = char | |
| 3901 | local thingery = Instance.new("SpecialMesh",lb)
| |
| 3902 | thingery.MeshType = "Sphere" | |
| 3903 | thingery.Scale = vt(50,50,50) | |
| 3904 | game:GetService("Debris"):AddItem(lb, 10)
| |
| 3905 | local bv = Instance.new("BodyVelocity")
| |
| 3906 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 3907 | bv.velocity = lb.CFrame.lookVector*math.random(50,420) | |
| 3908 | bv.Parent = lb | |
| 3909 | sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR) | |
| 3910 | sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR) | |
| 3911 | CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 0.9)
| |
| 3912 | CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 0.9)
| |
| 3913 | CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 0.9)
| |
| 3914 | CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 0.9)
| |
| 3915 | local hitted = false | |
| 3916 | coroutine.resume(coroutine.create(function() | |
| 3917 | while true do | |
| 3918 | swait(1) | |
| 3919 | if lb.Parent ~= nil and hitted == false then | |
| 3920 | 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) | |
| 3921 | elseif lb.Parent == nil then | |
| 3922 | break | |
| 3923 | end | |
| 3924 | end | |
| 3925 | end)) | |
| 3926 | ||
| 3927 | game:GetService("Debris"):AddItem(a, 0.1)
| |
| 3928 | ||
| 3929 | coroutine.resume(coroutine.create(function() | |
| 3930 | swait(1) | |
| 3931 | lb.Touched:connect(function(hit) | |
| 3932 | if hitted == false then | |
| 3933 | hitted = true | |
| 3934 | lb.Transparency = 1 | |
| 3935 | lb.Anchored = true | |
| 3936 | CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 0.9)
| |
| 3937 | CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.6)
| |
| 3938 | CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.65)
| |
| 3939 | CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.65)
| |
| 3940 | CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 0.9)
| |
| 3941 | CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.75)
| |
| 3942 | MagniDamage(lb, 50, 60,99, 0, "Normal") | |
| 3943 | CameraEnshaking(1,5) | |
| 3944 | sphere(4,"Add",lb.CFrame,vt(50,50,50),2,MAINRUINCOLOR) | |
| 3945 | sphere(8,"Add",lb.CFrame,vt(50,50,50),4,MAINRUINCOLOR) | |
| 3946 | for i = 0, 9 do | |
| 3947 | 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) | |
| 3948 | end | |
| 3949 | for i = 0, 99 do | |
| 3950 | swait() | |
| 3951 | MagniDamage(lb, 30, 6,18, 0, "Normal") | |
| 3952 | 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) | |
| 3953 | end | |
| 3954 | end | |
| 3955 | end) | |
| 3956 | end)) | |
| 3957 | end | |
| 3958 | Overed = true | |
| 3959 | orb:Destroy() | |
| 3960 | end)) | |
| 3961 | ||
| 3962 | attack = false | |
| 3963 | end | |
| 3964 | ||
| 3965 | function DivineBlast() | |
| 3966 | attack = true | |
| 3967 | hum.WalkSpeed = 0 | |
| 3968 | local elocacenter = CreateParta(sorb,1,1,"SmoothPlastic",BrickColor.random()) | |
| 3969 | elocacenter.Anchored = true | |
| 3970 | elocacenter.CFrame = sorb.CFrame | |
| 3971 | local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random()) | |
| 3972 | eloca1.Anchored = true | |
| 3973 | eloca1.CFrame = elocacenter.CFrame | |
| 3974 | local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random()) | |
| 3975 | eloca2.Anchored = true | |
| 3976 | eloca2.CFrame = elocacenter.CFrame | |
| 3977 | local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random()) | |
| 3978 | eloca3.Anchored = true | |
| 3979 | eloca3.CFrame = elocacenter.CFrame | |
| 3980 | local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random()) | |
| 3981 | eloca4.Anchored = true | |
| 3982 | eloca4.CFrame = elocacenter.CFrame | |
| 3983 | local lookavec = 0 | |
| 3984 | local speeds = 0 | |
| 3985 | CFuncs["Sound"].Create("rbxassetid://1192402877", sorb, 1.5, 1)
| |
| 3986 | for i = 0, 3, 0.1 do | |
| 3987 | swait() | |
| 3988 | --- | |
| 3989 | lookavec = lookavec + 0.1 | |
| 3990 | speeds = speeds + 10 | |
| 3991 | elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
| 3992 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
| 3993 | 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) | |
| 3994 | ||
| 3995 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
| 3996 | 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) | |
| 3997 | ||
| 3998 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
| 3999 | 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) | |
| 4000 | ||
| 4001 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
| 4002 | 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) | |
| 4003 | --- | |
| 4004 | root.CFrame = FaceMouse()[1] | |
| 4005 | 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) | |
| 4006 | 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) | |
| 4007 | 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) | |
| 4008 | 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) | |
| 4009 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1) | |
| 4010 | 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) | |
| 4011 | end | |
| 4012 | for i = 0, 3, 0.1 do | |
| 4013 | swait() | |
| 4014 | --- | |
| 4015 | speeds = speeds + 10 | |
| 4016 | elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
| 4017 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
| 4018 | 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) | |
| 4019 | ||
| 4020 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
| 4021 | 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) | |
| 4022 | ||
| 4023 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
| 4024 | 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) | |
| 4025 | ||
| 4026 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
| 4027 | 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) | |
| 4028 | --- | |
| 4029 | root.CFrame = FaceMouse()[1] | |
| 4030 | 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) | |
| 4031 | 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) | |
| 4032 | 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) | |
| 4033 | 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) | |
| 4034 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1) | |
| 4035 | 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) | |
| 4036 | end | |
| 4037 | CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 1,1)
| |
| 4038 | for i = 0, 3, 0.1 do | |
| 4039 | swait() | |
| 4040 | --- | |
| 4041 | speeds = speeds + 10 | |
| 4042 | elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
| 4043 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
| 4044 | 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) | |
| 4045 | ||
| 4046 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
| 4047 | 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) | |
| 4048 | ||
| 4049 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
| 4050 | 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) | |
| 4051 | ||
| 4052 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
| 4053 | 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) | |
| 4054 | --- | |
| 4055 | root.CFrame = FaceMouse()[1] | |
| 4056 | 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) | |
| 4057 | 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) | |
| 4058 | 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(40)),.1) | |
| 4059 | 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) | |
| 4060 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1) | |
| 4061 | 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) | |
| 4062 | end | |
| 4063 | coroutine.resume(coroutine.create(function() | |
| 4064 | local a = Instance.new("Part",Character)
| |
| 4065 | a.Name = "Direction" | |
| 4066 | a.Anchored = true | |
| 4067 | a.BrickColor = bc("White")
| |
| 4068 | a.Material = "Neon" | |
| 4069 | a.Transparency = 0 | |
| 4070 | a.Shape = "Cylinder" | |
| 4071 | a.CanCollide = false | |
| 4072 | local a2 = Instance.new("Part",Character)
| |
| 4073 | a2.Name = "Direction" | |
| 4074 | a2.Anchored = true | |
| 4075 | a2.BrickColor = bc("Bright yellow")
| |
| 4076 | a2.Material = "Neon" | |
| 4077 | a2.Transparency = 0 | |
| 4078 | a2.Shape = "Cylinder" | |
| 4079 | a2.CanCollide = false | |
| 4080 | local b = Instance.new("Part",Character)
| |
| 4081 | b.Name = "HitDirect" | |
| 4082 | b.Anchored = true | |
| 4083 | b.BrickColor = bc("Cool yellow")
| |
| 4084 | b.Material = "Neon" | |
| 4085 | b.Transparency = 1 | |
| 4086 | b.CanCollide = false | |
| 4087 | local ray = Ray.new( | |
| 4088 | elocacenter.CFrame.p, -- origin | |
| 4089 | (mouse.Hit.p - elocacenter.CFrame.p).unit * 1000 -- direction | |
| 4090 | ) | |
| 4091 | local ignore = Character | |
| 4092 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 4093 | a.BottomSurface = 10 | |
| 4094 | a.TopSurface = 10 | |
| 4095 | a2.BottomSurface = 10 | |
| 4096 | a2.TopSurface = 10 | |
| 4097 | local distance = (elocacenter.CFrame.p - position).magnitude | |
| 4098 | a.Size = Vector3.new(distance, 1, 1) | |
| 4099 | a.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 4100 | a2.Size = Vector3.new(distance, 1, 1) | |
| 4101 | a2.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 4102 | b.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 4103 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4104 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4105 | game:GetService("Debris"):AddItem(a, 10)
| |
| 4106 | game:GetService("Debris"):AddItem(a2, 10)
| |
| 4107 | game:GetService("Debris"):AddItem(b, 10)
| |
| 4108 | local msh = Instance.new("SpecialMesh",a)
| |
| 4109 | msh.MeshType = "Cylinder" | |
| 4110 | msh.Scale = vt(1,2,2) | |
| 4111 | local msh2 = Instance.new("SpecialMesh",a2)
| |
| 4112 | msh2.MeshType = "Cylinder" | |
| 4113 | msh2.Scale = vt(1,2.5,2.5) | |
| 4114 | CFuncs["Sound"].Create("rbxassetid://376970418", sorb, 2, 0.75)
| |
| 4115 | coroutine.resume(coroutine.create(function() | |
| 4116 | for i = 0,10,0.1 do | |
| 4117 | swait() | |
| 4118 | msh.Scale = msh.Scale + vt(0,0.05,0.05) | |
| 4119 | a.Transparency = a.Transparency + 0.025 | |
| 4120 | msh2.Scale = msh2.Scale + vt(0,0.25,0.25) | |
| 4121 | a2.Transparency = a2.Transparency + 0.05 | |
| 4122 | end | |
| 4123 | a:Destroy() | |
| 4124 | a2:Destroy() | |
| 4125 | end)) | |
| 4126 | CFuncs["Sound"].Create("rbxassetid://1177785010", b, 3, 1)
| |
| 4127 | CFuncs["Sound"].Create("rbxassetid://192410089", b, 3, 0.7)
| |
| 4128 | CFuncs["Sound"].Create("rbxassetid://579687077", b, 0.5, 0.75)
| |
| 4129 | CFuncs["Sound"].Create("rbxassetid://1060191237", b, 1, 0.75)
| |
| 4130 | CFuncs["Sound"].Create("rbxassetid://164881112", b, 3, 1)
| |
| 4131 | CFuncs["Sound"].Create("rbxassetid://429123896", b, 1.5, 0.85)
| |
| 4132 | MagniDamage(b, 25, 40,65, 0, "Normal") | |
| 4133 | for i = 0, 49 do | |
| 4134 | 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)
| |
| 4135 | 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)
| |
| 4136 | end | |
| 4137 | sphere(1,"Add",b.CFrame,vt(4,4,4),0.1,BrickColor.new("White"))
| |
| 4138 | sphere(1,"Add",b.CFrame,vt(5,5,5),0.25,BrickColor.new("Bright yellow"))
| |
| 4139 | sphere(1,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
| |
| 4140 | sphere(2,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
| |
| 4141 | sphere(3,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
| |
| 4142 | sphere(4,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
| |
| 4143 | end)) | |
| 4144 | game:GetService("Debris"):AddItem(elocacenter, 5)
| |
| 4145 | hum.WalkSpeed = storehumanoidWS | |
| 4146 | attack = false | |
| 4147 | end | |
| 4148 | ||
| 4149 | function StarDivision() | |
| 4150 | attack = true | |
| 4151 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
| |
| 4152 | for i = 0, 2, 0.1 do | |
| 4153 | swait() | |
| 4154 | 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) | |
| 4155 | 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) | |
| 4156 | 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) | |
| 4157 | 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) | |
| 4158 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6) | |
| 4159 | 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) | |
| 4160 | end | |
| 4161 | local orb = Instance.new("Part", char)
| |
| 4162 | orb.BrickColor = MAINRUINCOLOR | |
| 4163 | orb.CanCollide = false | |
| 4164 | orb.FormFactor = 3 | |
| 4165 | orb.Name = "Ring" | |
| 4166 | orb.Material = "Neon" | |
| 4167 | orb.Size = Vector3.new(1, 1, 1) | |
| 4168 | orb.Transparency = 0 | |
| 4169 | orb.TopSurface = 0 | |
| 4170 | orb.BottomSurface = 0 | |
| 4171 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 4172 | orbm.MeshType = "Sphere" | |
| 4173 | orbm.Name = "SizeMesh" | |
| 4174 | orbm.Scale = vt(2,2,2) | |
| 4175 | local a = Instance.new("Part",workspace)
| |
| 4176 | a.Name = "Direction" | |
| 4177 | a.Anchored = true | |
| 4178 | a.BrickColor = bc("Bright red")
| |
| 4179 | a.Material = "Neon" | |
| 4180 | a.Transparency = 1 | |
| 4181 | a.CanCollide = false | |
| 4182 | local ray = Ray.new( | |
| 4183 | sorb.CFrame.p, -- origin | |
| 4184 | (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction | |
| 4185 | ) | |
| 4186 | local ignore = sorb | |
| 4187 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 4188 | a.BottomSurface = 10 | |
| 4189 | a.TopSurface = 10 | |
| 4190 | local distance = (sorb.CFrame.p - position).magnitude | |
| 4191 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
| 4192 | a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
| 4193 | orb.CFrame = a.CFrame | |
| 4194 | a:Destroy() | |
| 4195 | local bv = Instance.new("BodyVelocity")
| |
| 4196 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 4197 | bv.velocity = orb.CFrame.lookVector*100 | |
| 4198 | bv.Parent = orb | |
| 4199 | local hitted = false | |
| 4200 | game:GetService("Debris"):AddItem(orb, 10)
| |
| 4201 | CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
| |
| 4202 | CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
| |
| 4203 | CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
| |
| 4204 | CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
| |
| 4205 | CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
| |
| 4206 | coroutine.resume(coroutine.create(function() | |
| 4207 | while true do | |
| 4208 | swait(1) | |
| 4209 | if orb.Parent ~= nil and hitted == false then | |
| 4210 | 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) | |
| 4211 | elseif orb.Parent == nil then | |
| 4212 | break | |
| 4213 | end | |
| 4214 | end | |
| 4215 | end)) | |
| 4216 | coroutine.resume(coroutine.create(function() | |
| 4217 | swait(1) | |
| 4218 | orb.Touched:connect(function(hit) | |
| 4219 | if hitted == false then | |
| 4220 | hitted = true | |
| 4221 | game:GetService("Debris"):AddItem(orb, 5)
| |
| 4222 | orb.Transparency = 1 | |
| 4223 | orb.Anchored = true | |
| 4224 | local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4225 | elocacenter.Anchored = true | |
| 4226 | elocacenter.CFrame = orb.CFrame | |
| 4227 | elocacenter.Orientation = vt(0,0,0) | |
| 4228 | local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4229 | eloca1.Anchored = true | |
| 4230 | eloca1.CFrame = elocacenter.CFrame | |
| 4231 | local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4232 | eloca2.Anchored = true | |
| 4233 | eloca2.CFrame = elocacenter.CFrame | |
| 4234 | local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4235 | eloca3.Anchored = true | |
| 4236 | eloca3.CFrame = elocacenter.CFrame | |
| 4237 | local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4238 | eloca4.Anchored = true | |
| 4239 | eloca4.CFrame = elocacenter.CFrame | |
| 4240 | local lookavec = 0 | |
| 4241 | local speeds = 0 | |
| 4242 | CameraEnshaking(1,1) | |
| 4243 | CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
| |
| 4244 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4245 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4246 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4247 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4248 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4249 | for i = 0, 99 do | |
| 4250 | swait() | |
| 4251 | lookavec = lookavec + 1 | |
| 4252 | speeds = speeds + 0.1 | |
| 4253 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
| 4254 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
| 4255 | 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) | |
| 4256 | ||
| 4257 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
| 4258 | 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) | |
| 4259 | ||
| 4260 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
| 4261 | 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) | |
| 4262 | ||
| 4263 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
| 4264 | 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) | |
| 4265 | end | |
| 4266 | ||
| 4267 | for i = 0, 149 do | |
| 4268 | swait() | |
| 4269 | speeds = speeds + 0.1 | |
| 4270 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
| 4271 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
| 4272 | 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) | |
| 4273 | ||
| 4274 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
| 4275 | 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) | |
| 4276 | ||
| 4277 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
| 4278 | 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) | |
| 4279 | ||
| 4280 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
| 4281 | 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) | |
| 4282 | end | |
| 4283 | for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do | |
| 4284 | if v:FindFirstChild('Head') then
| |
| 4285 | dmg(v) | |
| 4286 | end | |
| 4287 | end | |
| 4288 | CameraEnshaking(7,30) | |
| 4289 | MagniDamage(elocacenter, 225, 50,75, 0, "Normal") | |
| 4290 | CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
| |
| 4291 | CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
| |
| 4292 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
| |
| 4293 | CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
| |
| 4294 | sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR) | |
| 4295 | sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR) | |
| 4296 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4297 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4298 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4299 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4300 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4301 | for i = 0, 24 do | |
| 4302 | 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) | |
| 4303 | 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) | |
| 4304 | 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) | |
| 4305 | 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) | |
| 4306 | end | |
| 4307 | coroutine.resume(coroutine.create(function() | |
| 4308 | for i = 0, 499 do | |
| 4309 | swait(1) | |
| 4310 | MagniDamage(elocacenter, 90, 1,5, 0, "Normal") | |
| 4311 | 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) | |
| 4312 | end | |
| 4313 | elocacenter:Destroy() | |
| 4314 | eloca1:Destroy() | |
| 4315 | eloca2:Destroy() | |
| 4316 | eloca3:Destroy() | |
| 4317 | eloca4:Destroy() | |
| 4318 | end)) | |
| 4319 | end | |
| 4320 | end) | |
| 4321 | end)) | |
| 4322 | attack = false | |
| 4323 | end | |
| 4324 | ||
| 4325 | ||
| 4326 | function THE_TRUE_POWER_OF_VIOLENCE() | |
| 4327 | attack = true | |
| 4328 | hum.WalkSpeed = 0 | |
| 4329 | CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 2.5,0.7)
| |
| 4330 | for i = 0, 10, 0.1 do | |
| 4331 | swait() | |
| 4332 | 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) | |
| 4333 | 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) | |
| 4334 | 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)),.4) | |
| 4335 | 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(40)),.4) | |
| 4336 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4) | |
| 4337 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4) | |
| 4338 | 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) | |
| 4339 | end | |
| 4340 | local orb = Instance.new("Part", char)
| |
| 4341 | orb.BrickColor = MAINRUINCOLOR | |
| 4342 | orb.CanCollide = false | |
| 4343 | orb.FormFactor = 3 | |
| 4344 | orb.Name = "Ring" | |
| 4345 | orb.Material = "Neon" | |
| 4346 | orb.Size = Vector3.new(1, 1, 1) | |
| 4347 | orb.Transparency = 0 | |
| 4348 | orb.TopSurface = 0 | |
| 4349 | orb.BottomSurface = 0 | |
| 4350 | orb.CFrame = sorb.CFrame | |
| 4351 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 4352 | orbm.MeshType = "Sphere" | |
| 4353 | orbm.Name = "SizeMesh" | |
| 4354 | orbm.Scale = vt(0,0,0) | |
| 4355 | local sbs = Instance.new("BodyPosition", orb)
| |
| 4356 | sbs.P = 3000 | |
| 4357 | sbs.D = 1000 | |
| 4358 | sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000) | |
| 4359 | sbs.position = RootPart.CFrame.p + Vector3.new(0, 250, 0) | |
| 4360 | CFuncs["Sound"].Create("rbxassetid://419447292", rarm, 5,1)
| |
| 4361 | sphere(1,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
| 4362 | sphere(2,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
| 4363 | sphere(3,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
| 4364 | sphere(4,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
| 4365 | sphere(5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
| 4366 | for i = 0, 10, 0.1 do | |
| 4367 | swait() | |
| 4368 | 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) | |
| 4369 | 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) | |
| 4370 | 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) | |
| 4371 | 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(60)),.6) | |
| 4372 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6) | |
| 4373 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4) | |
| 4374 | 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) | |
| 4375 | end | |
| 4376 | orb.Anchored = true | |
| 4377 | local elocacenter = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4378 | elocacenter.Anchored = true | |
| 4379 | elocacenter.CFrame = orb.CFrame | |
| 4380 | elocacenter.Orientation = vt(0,0,0) | |
| 4381 | local eloca1 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4382 | eloca1.Anchored = true | |
| 4383 | eloca1.CFrame = elocacenter.CFrame | |
| 4384 | local eloca2 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4385 | eloca2.Anchored = true | |
| 4386 | eloca2.CFrame = elocacenter.CFrame | |
| 4387 | local eloca3 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4388 | eloca3.Anchored = true | |
| 4389 | eloca3.CFrame = elocacenter.CFrame | |
| 4390 | local eloca4 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4391 | eloca4.Anchored = true | |
| 4392 | eloca4.CFrame = elocacenter.CFrame | |
| 4393 | local lookavec = 0 | |
| 4394 | local speeds = 0 | |
| 4395 | CameraEnshaking(1,1) | |
| 4396 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 3,1)
| |
| 4397 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 1.5,1)
| |
| 4398 | CFuncs["Sound"].Create("rbxassetid://468991944", char, 2.5, 1)
| |
| 4399 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 1)
| |
| 4400 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4401 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4402 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4403 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4404 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4405 | for i = 0, 99 do | |
| 4406 | swait() | |
| 4407 | lookavec = lookavec + 2.5 | |
| 4408 | speeds = speeds + 0.25 | |
| 4409 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
| 4410 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
| 4411 | 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) | |
| 4412 | ||
| 4413 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
| 4414 | 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) | |
| 4415 | ||
| 4416 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
| 4417 | 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) | |
| 4418 | ||
| 4419 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
| 4420 | 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) | |
| 4421 | end | |
| 4422 | ||
| 4423 | for i = 0, 149 do | |
| 4424 | swait() | |
| 4425 | speeds = speeds + 0.25 | |
| 4426 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
| 4427 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
| 4428 | 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) | |
| 4429 | ||
| 4430 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
| 4431 | 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) | |
| 4432 | ||
| 4433 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
| 4434 | 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) | |
| 4435 | ||
| 4436 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
| 4437 | 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) | |
| 4438 | end | |
| 4439 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 5, 0.75)
| |
| 4440 | for i = 0, 99 do | |
| 4441 | swait() | |
| 4442 | lookavec = lookavec - 2.5 | |
| 4443 | speeds = speeds + 0.25 | |
| 4444 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
| 4445 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
| 4446 | 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) | |
| 4447 | ||
| 4448 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
| 4449 | 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) | |
| 4450 | ||
| 4451 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
| 4452 | 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) | |
| 4453 | ||
| 4454 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
| 4455 | 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) | |
| 4456 | end | |
| 4457 | local scaled = 0.1*75 | |
| 4458 | CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,1)
| |
| 4459 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5,1)
| |
| 4460 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5,0.5)
| |
| 4461 | CFuncs["Sound"].Create("rbxassetid://151304356", char, 1,0.5)
| |
| 4462 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 3.5, 0.75)
| |
| 4463 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
| |
| 4464 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4465 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4466 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4467 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4468 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4469 | for i = 0, 10, 0.1 do | |
| 4470 | swait() | |
| 4471 | scaled = scaled - 0.001*75 | |
| 4472 | orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled) | |
| 4473 | 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) | |
| 4474 | 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) | |
| 4475 | 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) | |
| 4476 | 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(60)),.6) | |
| 4477 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6) | |
| 4478 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4) | |
| 4479 | 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) | |
| 4480 | end | |
| 4481 | for x = 0, 4 do | |
| 4482 | for i = 0, 9 do | |
| 4483 | 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) | |
| 4484 | end | |
| 4485 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,0.75)
| |
| 4486 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 0.5)
| |
| 4487 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4488 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4489 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4490 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4491 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4492 | for i = 0, 5, 0.1 do | |
| 4493 | swait() | |
| 4494 | 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) | |
| 4495 | 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) | |
| 4496 | 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) | |
| 4497 | 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)),.1) | |
| 4498 | 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) | |
| 4499 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.1) | |
| 4500 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.1) | |
| 4501 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.1) | |
| 4502 | end | |
| 4503 | end | |
| 4504 | local speedearn = 0 | |
| 4505 | CFuncs["Sound"].Create("rbxassetid://136007472", char, 5,0.2)
| |
| 4506 | CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.75)
| |
| 4507 | CFuncs["Sound"].Create("rbxassetid://163619849", char, 2.5, 0.25)
| |
| 4508 | for i = 0, 30, 0.1 do | |
| 4509 | swait() | |
| 4510 | scaled = scaled - 0.001*75/10 | |
| 4511 | speedearn = speedearn + 0.5 | |
| 4512 | for i = 0, 4 do | |
| 4513 | 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) | |
| 4514 | end | |
| 4515 | 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) | |
| 4516 | orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled) | |
| 4517 | 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) | |
| 4518 | 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) | |
| 4519 | 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) | |
| 4520 | 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) | |
| 4521 | 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)),.6) | |
| 4522 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.6) | |
| 4523 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.4) | |
| 4524 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.6) | |
| 4525 | end | |
| 4526 | orb.Transparency = 1 | |
| 4527 | for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125000000)) do | |
| 4528 | if v:FindFirstChild('Head') then
| |
| 4529 | dmg(v) | |
| 4530 | end | |
| 4531 | end | |
| 4532 | CameraEnshaking(7,30) | |
| 4533 | MagniDamage(elocacenter, 9999999, 5000000,99999999, 0, "Normal") | |
| 4534 | CFuncs["Sound"].Create("rbxassetid://167115397", char, 5,1)
| |
| 4535 | CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.5)
| |
| 4536 | CFuncs["Sound"].Create("rbxassetid://163619849", char, 3, 0.25)
| |
| 4537 | CFuncs["Sound"].Create("rbxassetid://468991944", char, 10, 1)
| |
| 4538 | CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
| |
| 4539 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 6,1)
| |
| 4540 | CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
| |
| 4541 | CFuncs["Sound"].Create("rbxassetid://741272936", char, 5, 1)
| |
| 4542 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 5, 1)
| |
| 4543 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 7.5, 0.5)
| |
| 4544 | CFuncs["Sound"].Create("rbxassetid://429123896", char, 5, 0.85)
| |
| 4545 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 1)
| |
| 4546 | CFuncs["Sound"].Create("rbxassetid://919941001", char, 5,1.05)
| |
| 4547 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4548 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4549 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4550 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4551 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4552 | for i = 0, 99 do | |
| 4553 | 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) | |
| 4554 | 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) | |
| 4555 | end | |
| 4556 | for i = 0, 24 do | |
| 4557 | 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) | |
| 4558 | 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) | |
| 4559 | 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) | |
| 4560 | 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) | |
| 4561 | 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) | |
| 4562 | end | |
| 4563 | game:GetService("Debris"):AddItem(orb, 10)
| |
| 4564 | hum.WalkSpeed = storehumanoidWS | |
| 4565 | attack = false | |
| 4566 | end | |
| 4567 | ||
| 4568 | ||
| 4569 | function ViolentRing() | |
| 4570 | attack = true | |
| 4571 | CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1, 1)
| |
| 4572 | for i = 0, 2, 0.1 do | |
| 4573 | swait() | |
| 4574 | local snap = math.random(1,10) | |
| 4575 | if snap == 1 then | |
| 4576 | 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) | |
| 4577 | end | |
| 4578 | 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) | |
| 4579 | 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) | |
| 4580 | 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) | |
| 4581 | 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) | |
| 4582 | 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) | |
| 4583 | 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) | |
| 4584 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.6) | |
| 4585 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70),math.rad(20),math.rad(50)),.4) | |
| 4586 | 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) | |
| 4587 | RootPart.CFrame = FaceMouse()[1] | |
| 4588 | end | |
| 4589 | local orb = Instance.new("Part", char)
| |
| 4590 | orb.BrickColor = MAINRUINCOLOR | |
| 4591 | orb.CanCollide = false | |
| 4592 | orb.FormFactor = 3 | |
| 4593 | orb.Name = "Ring" | |
| 4594 | orb.Material = "Neon" | |
| 4595 | orb.Size = Vector3.new(1, 1, 1) | |
| 4596 | orb.Transparency = 0 | |
| 4597 | orb.TopSurface = 0 | |
| 4598 | orb.BottomSurface = 0 | |
| 4599 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 4600 | orbm.MeshType = "Sphere" | |
| 4601 | orbm.Name = "SizeMesh" | |
| 4602 | orbm.Scale = vt(2,2,2) | |
| 4603 | orb.CFrame = mouse.Hit | |
| 4604 | local bv = Instance.new("BodyVelocity")
| |
| 4605 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 4606 | bv.velocity = orb.CFrame.lookVector*100 | |
| 4607 | bv.Parent = orb | |
| 4608 | local hitted = false | |
| 4609 | coroutine.resume(coroutine.create(function() | |
| 4610 | game:GetService("Debris"):AddItem(orb, 5)
| |
| 4611 | orb.Transparency = 1 | |
| 4612 | orb.Anchored = true | |
| 4613 | local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4614 | elocacenter.Anchored = true | |
| 4615 | elocacenter.CFrame = orb.CFrame | |
| 4616 | elocacenter.Orientation = vt(0,0,0) | |
| 4617 | local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4618 | eloca1.Anchored = true | |
| 4619 | eloca1.CFrame = elocacenter.CFrame | |
| 4620 | local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4621 | eloca2.Anchored = true | |
| 4622 | eloca2.CFrame = elocacenter.CFrame | |
| 4623 | local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4624 | eloca3.Anchored = true | |
| 4625 | eloca3.CFrame = elocacenter.CFrame | |
| 4626 | local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4627 | eloca4.Anchored = true | |
| 4628 | eloca4.CFrame = elocacenter.CFrame | |
| 4629 | local lookavec = 0 | |
| 4630 | local speeds = 0 | |
| 4631 | CameraEnshaking(1,1) | |
| 4632 | CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
| |
| 4633 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4634 | sphere(6,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4635 | sphere(7,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4636 | sphere(8,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4637 | sphere(9,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4638 | for i = 0, 24 do | |
| 4639 | swait() | |
| 4640 | lookavec = lookavec + 3.5 | |
| 4641 | speeds = speeds + 1 | |
| 4642 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
| 4643 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
| 4644 | 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) | |
| 4645 | ||
| 4646 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
| 4647 | 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) | |
| 4648 | ||
| 4649 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
| 4650 | 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) | |
| 4651 | ||
| 4652 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
| 4653 | 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) | |
| 4654 | end | |
| 4655 | ||
| 4656 | local risen = 0 | |
| 4657 | for i = 0, 49 do | |
| 4658 | swait() | |
| 4659 | risen = risen + 0.05 | |
| 4660 | speeds = speeds + 0.1 | |
| 4661 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
| 4662 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
| 4663 | 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) | |
| 4664 | ||
| 4665 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
| 4666 | 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) | |
| 4667 | ||
| 4668 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
| 4669 | 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) | |
| 4670 | ||
| 4671 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
| 4672 | 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) | |
| 4673 | end | |
| 4674 | for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 100)) do | |
| 4675 | if v:FindFirstChild('Head') then
| |
| 4676 | dmg(v) | |
| 4677 | end | |
| 4678 | end | |
| 4679 | CameraEnshaking(4,10) | |
| 4680 | MagniDamage(elocacenter, 150, 50,75, 0, "Normal") | |
| 4681 | CFuncs["Sound"].Create("rbxassetid://468991944", char, 2, 1)
| |
| 4682 | CFuncs["Sound"].Create("rbxassetid://533636230", char, 2.5, 0.75)
| |
| 4683 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 0.25,1)
| |
| 4684 | CFuncs["Sound"].Create("rbxassetid://421328847", char, 0.25,1)
| |
| 4685 | CFuncs["Sound"].Create("rbxassetid://919941001", char, 1.5,1.05)
| |
| 4686 | sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),-0.25,MAINRUINCOLOR) | |
| 4687 | sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),0.5,MAINRUINCOLOR) | |
| 4688 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4689 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4690 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4691 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4692 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4693 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),500,MAINRUINCOLOR) | |
| 4694 | for i = 0, 24 do | |
| 4695 | 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) | |
| 4696 | 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) | |
| 4697 | 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) | |
| 4698 | 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) | |
| 4699 | end | |
| 4700 | coroutine.resume(coroutine.create(function() | |
| 4701 | wait(10) | |
| 4702 | elocacenter:Destroy() | |
| 4703 | eloca1:Destroy() | |
| 4704 | eloca2:Destroy() | |
| 4705 | eloca3:Destroy() | |
| 4706 | eloca4:Destroy() | |
| 4707 | end)) | |
| 4708 | end)) | |
| 4709 | attack = false | |
| 4710 | end | |
| 4711 | ||
| 4712 | function UniversalCollapse() | |
| 4713 | attack = true | |
| 4714 | local speedearn = 0 | |
| 4715 | hum.WalkSpeed = 0 | |
| 4716 | local sbs = Instance.new("BodyPosition", root)
| |
| 4717 | sbs.P = 3000 | |
| 4718 | sbs.D = 1000 | |
| 4719 | sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000) | |
| 4720 | sbs.position = RootPart.CFrame.p + Vector3.new(0, 200, 0) | |
| 4721 | CFuncs["LongSound"].Create("rbxassetid://489657591", char, 10, 1)
| |
| 4722 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
| |
| 4723 | for i = 0, 110, 0.1 do | |
| 4724 | swait() | |
| 4725 | speedearn = speedearn + 0.1 | |
| 4726 | 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) | |
| 4727 | 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) | |
| 4728 | 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) | |
| 4729 | 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) | |
| 4730 | 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) | |
| 4731 | sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR) | |
| 4732 | 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) | |
| 4733 | 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) | |
| 4734 | 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) | |
| 4735 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
| 4736 | 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) | |
| 4737 | 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) | |
| 4738 | end | |
| 4739 | CameraEnshaking(5,50) | |
| 4740 | sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR) | |
| 4741 | for i = 0, 2 do | |
| 4742 | CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
| |
| 4743 | CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
| |
| 4744 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,1)
| |
| 4745 | CFuncs["Sound"].Create("rbxassetid://421328847", char, 5,1)
| |
| 4746 | end | |
| 4747 | for i = 0, 49 do | |
| 4748 | 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) | |
| 4749 | 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) | |
| 4750 | 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) | |
| 4751 | 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) | |
| 4752 | end | |
| 4753 | sphere(1,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR) | |
| 4754 | sphere(2,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR) | |
| 4755 | sphere(3,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR) | |
| 4756 | sphere(4,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR) | |
| 4757 | sphere(5,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR) | |
| 4758 | sphere(6,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR) | |
| 4759 | sphere(1,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4760 | sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4761 | sphere(3,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4762 | sphere(4,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4763 | sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4764 | sphere(6,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4765 | for i = 0, 99 do | |
| 4766 | 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) | |
| 4767 | 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) | |
| 4768 | end | |
| 4769 | for i, v in pairs(FindNearestHead(root.CFrame.p, 9999999)) do | |
| 4770 | if v:FindFirstChild('Head') then
| |
| 4771 | dmg(v) | |
| 4772 | end | |
| 4773 | end | |
| 4774 | MagniDamage(root, 9999999, 1000000,9999999, 0, "Normal") | |
| 4775 | sbs:Destroy() | |
| 4776 | hum.WalkSpeed = storehumanoidWS | |
| 4777 | attack = false | |
| 4778 | end | |
| 4779 | ||
| 4780 | ||
| 4781 | function ChaosEND() | |
| 4782 | attack = true | |
| 4783 | local speedearn = 0 | |
| 4784 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.5)
| |
| 4785 | for i = 0, 15, 0.1 do | |
| 4786 | swait() | |
| 4787 | speedearn = speedearn + 0.25 | |
| 4788 | 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) | |
| 4789 | 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) | |
| 4790 | 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) | |
| 4791 | 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) | |
| 4792 | 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) | |
| 4793 | 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) | |
| 4794 | 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) | |
| 4795 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 4796 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 4797 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2) | |
| 4798 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2) | |
| 4799 | end | |
| 4800 | CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1)
| |
| 4801 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
| |
| 4802 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 0.75)
| |
| 4803 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 0.5)
| |
| 4804 | CameraEnshaking(5,25) | |
| 4805 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do | |
| 4806 | if v:FindFirstChild('Head') then
| |
| 4807 | dmg(v) | |
| 4808 | end | |
| 4809 | end | |
| 4810 | sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random()) | |
| 4811 | sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random()) | |
| 4812 | sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random()) | |
| 4813 | for i = 0, 3, 0.1 do | |
| 4814 | swait() | |
| 4815 | 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) | |
| 4816 | 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) | |
| 4817 | 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) | |
| 4818 | 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) | |
| 4819 | 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) | |
| 4820 | 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) | |
| 4821 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
| 4822 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
| 4823 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4) | |
| 4824 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4) | |
| 4825 | end | |
| 4826 | attack = false | |
| 4827 | end | |
| 4828 | ||
| 4829 | function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon) | |
| 4830 | local orb = Instance.new("Part", char)
| |
| 4831 | orb.Anchored = true | |
| 4832 | orb.BrickColor = color | |
| 4833 | orb.CanCollide = false | |
| 4834 | orb.FormFactor = 3 | |
| 4835 | orb.Name = "Ring" | |
| 4836 | orb.Material = "Neon" | |
| 4837 | orb.Size = Vector3.new(1, 1, 1) | |
| 4838 | orb.Transparency = 0 | |
| 4839 | orb.TopSurface = 0 | |
| 4840 | orb.BottomSurface = 0 | |
| 4841 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 4842 | orbm.MeshType = "Sphere" | |
| 4843 | orb.CFrame = positted | |
| 4844 | orbm.Name = "SizeMesh" | |
| 4845 | orbm.Scale = vt(1,1,1) | |
| 4846 | CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
| |
| 4847 | sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor) | |
| 4848 | --[[for i = 0, 2 do | |
| 4849 | 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) | |
| 4850 | end]]-- | |
| 4851 | coroutine.resume(coroutine.create(function() | |
| 4852 | wait(timer) | |
| 4853 | CameraEnshaking(3,ShakePower) | |
| 4854 | orb.Transparency = 1 | |
| 4855 | MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal") | |
| 4856 | sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor) | |
| 4857 | --[[for i = 0, 4 do | |
| 4858 | 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) | |
| 4859 | end]]-- | |
| 4860 | CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
| |
| 4861 | wait(3) | |
| 4862 | orb:Destroy() | |
| 4863 | end)) | |
| 4864 | end | |
| 4865 | ||
| 4866 | function orb_spawn(positted,timer) | |
| 4867 | local randomcol = math.random(1,2) | |
| 4868 | local orb = Instance.new("Part", char)
| |
| 4869 | orb.Anchored = true | |
| 4870 | if randomcol == 1 then | |
| 4871 | orb.BrickColor = BrickColor.new("White")
| |
| 4872 | elseif randomcol == 2 then | |
| 4873 | orb.BrickColor = BrickColor.new("Really black")
| |
| 4874 | end | |
| 4875 | orb.CanCollide = false | |
| 4876 | orb.FormFactor = 3 | |
| 4877 | orb.Name = "Ring" | |
| 4878 | orb.Material = "Neon" | |
| 4879 | orb.Size = Vector3.new(1, 1, 1) | |
| 4880 | orb.Transparency = 0 | |
| 4881 | orb.TopSurface = 0 | |
| 4882 | orb.BottomSurface = 0 | |
| 4883 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 4884 | orbm.MeshType = "Sphere" | |
| 4885 | orb.CFrame = positted | |
| 4886 | orbm.Name = "SizeMesh" | |
| 4887 | orbm.Scale = vt(1,1,1) | |
| 4888 | CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1)
| |
| 4889 | sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor) | |
| 4890 | for i = 0, 2 do | |
| 4891 | 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) | |
| 4892 | end | |
| 4893 | coroutine.resume(coroutine.create(function() | |
| 4894 | wait(timer) | |
| 4895 | CameraEnshaking(3,2) | |
| 4896 | orb.Transparency = 1 | |
| 4897 | MagniDamage(orb, 17.5, 10,50, 0, "Normal") | |
| 4898 | sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor) | |
| 4899 | for i = 0, 4 do | |
| 4900 | 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) | |
| 4901 | end | |
| 4902 | CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7)
| |
| 4903 | wait(3) | |
| 4904 | orb:Destroy() | |
| 4905 | end)) | |
| 4906 | end | |
| 4907 | ||
| 4908 | function scattercorrupt() | |
| 4909 | attack = true | |
| 4910 | local rot = 0 | |
| 4911 | local randomrotations = math.random(1,2) | |
| 4912 | local lookv = 2.5 | |
| 4913 | local power = 5 | |
| 4914 | sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
| |
| 4915 | sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
| |
| 4916 | for i = 0, 9 do | |
| 4917 | 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)
| |
| 4918 | end | |
| 4919 | CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6)
| |
| 4920 | CFuncs["Sound"].Create("rbxassetid://233856079", char, 1, 0.5)
| |
| 4921 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1)
| |
| 4922 | CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,0.75)
| |
| 4923 | CFuncs["Sound"].Create("rbxassetid://579687077", char, 0.5,0.5)
| |
| 4924 | local hite = Instance.new("Part", char)
| |
| 4925 | hite.Anchored = true | |
| 4926 | hite.CanCollide = false | |
| 4927 | hite.FormFactor = 3 | |
| 4928 | hite.Name = "Ring" | |
| 4929 | hite.Material = "Neon" | |
| 4930 | hite.Size = Vector3.new(1, 1, 1) | |
| 4931 | hite.Transparency = 1 | |
| 4932 | hite.TopSurface = 0 | |
| 4933 | hite.BottomSurface = 0 | |
| 4934 | hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0) | |
| 4935 | local rem = Instance.new("Part", char)
| |
| 4936 | rem.Anchored = true | |
| 4937 | rem.CanCollide = false | |
| 4938 | rem.FormFactor = 3 | |
| 4939 | rem.Name = "Ring" | |
| 4940 | rem.Material = "Neon" | |
| 4941 | rem.Size = Vector3.new(1, 1, 1) | |
| 4942 | rem.Transparency = 1 | |
| 4943 | rem.TopSurface = 0 | |
| 4944 | rem.BottomSurface = 0 | |
| 4945 | rem.CFrame = hite.CFrame | |
| 4946 | local rem2 = rem:Clone() | |
| 4947 | rem2.Parent = char | |
| 4948 | rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4949 | local rem3 = rem:Clone() | |
| 4950 | rem3.Parent = char | |
| 4951 | rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0) | |
| 4952 | local rem4 = rem:Clone() | |
| 4953 | rem4.Parent = char | |
| 4954 | rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0) | |
| 4955 | hite:Destroy() | |
| 4956 | coroutine.resume(coroutine.create(function() | |
| 4957 | for i = 0, 24 do | |
| 4958 | swait(1) | |
| 4959 | if randomrotations == 1 then | |
| 4960 | rot = rot + 1 | |
| 4961 | elseif randomrotations == 2 then | |
| 4962 | rot = rot - 1 | |
| 4963 | end | |
| 4964 | power = power + 0.5 | |
| 4965 | lookv = lookv + 7.5 | |
| 4966 | rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0) | |
| 4967 | rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4968 | rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0) | |
| 4969 | rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0) | |
| 4970 | orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
| |
| 4971 | orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
| |
| 4972 | orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
| |
| 4973 | orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
| |
| 4974 | end | |
| 4975 | end)) | |
| 4976 | attack = false | |
| 4977 | end | |
| 4978 | function yinyangi() | |
| 4979 | attack = true | |
| 4980 | for i = 0, 2, 0.1 do | |
| 4981 | swait() | |
| 4982 | 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) | |
| 4983 | 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) | |
| 4984 | 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) | |
| 4985 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 4986 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2) | |
| 4987 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2) | |
| 4988 | end | |
| 4989 | local bv = Instance.new("BodyVelocity")
| |
| 4990 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 4991 | bv.velocity = root.CFrame.lookVector*175 | |
| 4992 | bv.Parent = root | |
| 4993 | for Rotations = 0, 9 do | |
| 4994 | for i = 0, 1, 0.5 do | |
| 4995 | swait() | |
| 4996 | bv.velocity = root.CFrame.lookVector*175 | |
| 4997 | 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) | |
| 4998 | 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) | |
| 4999 | 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) | |
| 5000 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
| 5001 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
| 5002 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
| 5003 | end | |
| 5004 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
| 5005 | for i = 0, 1, 0.5 do | |
| 5006 | swait() | |
| 5007 | bv.velocity = root.CFrame.lookVector*175 | |
| 5008 | 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) | |
| 5009 | 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) | |
| 5010 | 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) | |
| 5011 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
| 5012 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
| 5013 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
| 5014 | end | |
| 5015 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
| 5016 | for i = 0, 1, 0.5 do | |
| 5017 | swait() | |
| 5018 | bv.velocity = root.CFrame.lookVector*175 | |
| 5019 | 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) | |
| 5020 | 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) | |
| 5021 | 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) | |
| 5022 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
| 5023 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
| 5024 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
| 5025 | end | |
| 5026 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
| 5027 | for i = 0, 1, 0.5 do | |
| 5028 | swait() | |
| 5029 | bv.velocity = root.CFrame.lookVector*175 | |
| 5030 | 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) | |
| 5031 | 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) | |
| 5032 | 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) | |
| 5033 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
| 5034 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
| 5035 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
| 5036 | end | |
| 5037 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
| 5038 | end | |
| 5039 | bv:Destroy() | |
| 5040 | attack = false | |
| 5041 | end | |
| 5042 | ||
| 5043 | function createBGCircle(size,parent,color) | |
| 5044 | local bgui = Instance.new("BillboardGui",parent)
| |
| 5045 | bgui.Size = UDim2.new(size, 0, size, 0) | |
| 5046 | local imgc = Instance.new("ImageLabel",bgui)
| |
| 5047 | imgc.BackgroundTransparency = 1 | |
| 5048 | imgc.ImageTransparency = 0 | |
| 5049 | imgc.Size = UDim2.new(1,0,1,0) | |
| 5050 | imgc.Image = "rbxassetid://997291547" --997291547,521073910 | |
| 5051 | imgc.ImageColor3 = color | |
| 5052 | return bgui,imgc | |
| 5053 | end | |
| 5054 | ||
| 5055 | function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay) | |
| 5056 | local bgui,imgc = createBGCircle(size,guipar,color) | |
| 5057 | bgui.AlwaysOnTop = true | |
| 5058 | imgc.Image = "rbxassetid://" ..img | |
| 5059 | local rrot = math.random(1,2) | |
| 5060 | CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
| |
| 5061 | coroutine.resume(coroutine.create(function() | |
| 5062 | for i = 0, 24*delay do | |
| 5063 | swait() | |
| 5064 | if rotationenabled == true then | |
| 5065 | if rrot == 1 then | |
| 5066 | imgc.Rotation = imgc.Rotation + rotsp | |
| 5067 | elseif rrot == 2 then | |
| 5068 | imgc.Rotation = imgc.Rotation - rotsp | |
| 5069 | end | |
| 5070 | end | |
| 5071 | bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0) | |
| 5072 | imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay | |
| 5073 | end | |
| 5074 | bgui:Destroy() | |
| 5075 | end)) | |
| 5076 | end | |
| 5077 | function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled) | |
| 5078 | for i, v in pairs(mw2:GetChildren()) do | |
| 5079 | if v:IsA("Part") then
| |
| 5080 | v.BrickColor = one | |
| 5081 | v.Material = "Neon" | |
| 5082 | end | |
| 5083 | end | |
| 5084 | CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
| |
| 5085 | symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1) | |
| 5086 | symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1) | |
| 5087 | tr1.Color = ColorSequence.new(one.Color) | |
| 5088 | tr2.Color = ColorSequence.new(one.Color) | |
| 5089 | tr3.Color = ColorSequence.new(one.Color) | |
| 5090 | for i, v in pairs(mw1:GetChildren()) do | |
| 5091 | if v:IsA("Part") then
| |
| 5092 | if secondaryenabled == false then | |
| 5093 | v.Transparency = 1 | |
| 5094 | elseif secondaryenabled == true then | |
| 5095 | v.Transparency = 0 | |
| 5096 | end | |
| 5097 | v.BrickColor = two | |
| 5098 | v.Material = "Neon" | |
| 5099 | end | |
| 5100 | end | |
| 5101 | if secondaryenabled == false then | |
| 5102 | tl1.Enabled = false | |
| 5103 | tl2.Enabled = false | |
| 5104 | tl3.Enabled = false | |
| 5105 | elseif secondaryenabled == true then | |
| 5106 | tl1.Enabled = true | |
| 5107 | tl2.Enabled = true | |
| 5108 | tl3.Enabled = true | |
| 5109 | end | |
| 5110 | tl1.Color = ColorSequence.new(two.Color) | |
| 5111 | tl2.Color = ColorSequence.new(two.Color) | |
| 5112 | tl3.Color = ColorSequence.new(two.Color) | |
| 5113 | for i, v in pairs(m:GetChildren()) do | |
| 5114 | if v:IsA("Part") then
| |
| 5115 | v.BrickColor = three | |
| 5116 | v.Material = "Ice" | |
| 5117 | end | |
| 5118 | end | |
| 5119 | for i, v in pairs(m2:GetChildren()) do | |
| 5120 | if v:IsA("Part") then
| |
| 5121 | v.BrickColor = four | |
| 5122 | v.Material = "Ice" | |
| 5123 | end | |
| 5124 | end | |
| 5125 | for i, v in pairs(m3:GetChildren()) do | |
| 5126 | if v:IsA("Part") then
| |
| 5127 | v.BrickColor = five | |
| 5128 | v.Material = "Neon" | |
| 5129 | end | |
| 5130 | end | |
| 5131 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 5132 | if v:IsA("Part") then
| |
| 5133 | v.Transparency = exonetran | |
| 5134 | v.BrickColor = exone | |
| 5135 | v.Material = "Neon" | |
| 5136 | end | |
| 5137 | end | |
| 5138 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 5139 | if v:IsA("Part") then
| |
| 5140 | v.Transparency = extwotran | |
| 5141 | v.BrickColor = extwo | |
| 5142 | v.Material = "Neon" | |
| 5143 | end | |
| 5144 | end | |
| 5145 | end | |
| 5146 | ||
| 5147 | ||
| 5148 | function normalmog() | |
| 5149 | attack = true | |
| 5150 | hum.WalkSpeed = 0 | |
| 5151 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25)
| |
| 5152 | for i = 0,6,0.1 do | |
| 5153 | swait() | |
| 5154 | 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) | |
| 5155 | 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) | |
| 5156 | 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) | |
| 5157 | 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) | |
| 5158 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2) | |
| 5159 | 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) | |
| 5160 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) | |
| 5161 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) | |
| 5162 | end | |
| 5163 | CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
| |
| 5164 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
| |
| 5165 | CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
| |
| 5166 | CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
| |
| 5167 | CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
| |
| 5168 | CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
| |
| 5169 | CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
| |
| 5170 | rainbowmode = false | |
| 5171 | chaosmode = false | |
| 5172 | ModeOfGlitch = 1 | |
| 5173 | storehumanoidWS = 16 | |
| 5174 | newTheme("rbxassetid://1564523997",48.6,1,1.25)
| |
| 5175 | RecolorTextAndRename("Solitude",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
| |
| 5176 | CameraEnshaking(5,2.5) | |
| 5177 | MAINRUINCOLOR = BrickColor.new("Really black")
| |
| 5178 | sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 5179 | for i = 0, 49 do | |
| 5180 | 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) | |
| 5181 | end | |
| 5182 | for i = 0, 24 do | |
| 5183 | 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) | |
| 5184 | 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"))
| |
| 5185 | end | |
| 5186 | for i = 0,3,0.1 do | |
| 5187 | 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) | |
| 5188 | end | |
| 5189 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false) | |
| 5190 | for i = 0,2,0.1 do | |
| 5191 | swait() | |
| 5192 | 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) | |
| 5193 | 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) | |
| 5194 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5) | |
| 5195 | 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) | |
| 5196 | 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) | |
| 5197 | 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) | |
| 5198 | end | |
| 5199 | hum.WalkSpeed = storehumanoidWS | |
| 5200 | attack = false | |
| 5201 | end | |
| 5202 | ||
| 5203 | function attackone() | |
| 5204 | attack = true | |
| 5205 | local keptcolor = MAINRUINCOLOR | |
| 5206 | for i = 0,1,0.1 do | |
| 5207 | swait() | |
| 5208 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3) | |
| 5209 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3) | |
| 5210 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3) | |
| 5211 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
| 5212 | 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) | |
| 5213 | 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) | |
| 5214 | end | |
| 5215 | local distlook = 5 | |
| 5216 | coroutine.resume(coroutine.create(function() | |
| 5217 | for i = 0, 4 do | |
| 5218 | swait(2) | |
| 5219 | CameraEnshaking(2,3) | |
| 5220 | local hite = Instance.new("Part", char)
| |
| 5221 | hite.Anchored = true | |
| 5222 | hite.CanCollide = false | |
| 5223 | hite.FormFactor = 3 | |
| 5224 | hite.Name = "Ring" | |
| 5225 | hite.Material = "Neon" | |
| 5226 | hite.Size = Vector3.new(1, 1, 1) | |
| 5227 | hite.Transparency = 1 | |
| 5228 | hite.TopSurface = 0 | |
| 5229 | hite.BottomSurface = 0 | |
| 5230 | hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook) | |
| 5231 | 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) | |
| 5232 | 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) | |
| 5233 | 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) | |
| 5234 | 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) | |
| 5235 | MagniDamage(hite, 9, 10,25, 0, "Normal") | |
| 5236 | for i = 0, 14 do | |
| 5237 | local rsiz = math.random(5,20) | |
| 5238 | 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) | |
| 5239 | end | |
| 5240 | CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1)
| |
| 5241 | CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1)
| |
| 5242 | game:GetService("Debris"):AddItem(hite, 5)
| |
| 5243 | distlook = distlook + 10 | |
| 5244 | end | |
| 5245 | end)) | |
| 5246 | for i = 0,1,0.1 do | |
| 5247 | swait() | |
| 5248 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5) | |
| 5249 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5) | |
| 5250 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5) | |
| 5251 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5) | |
| 5252 | 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) | |
| 5253 | 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) | |
| 5254 | end | |
| 5255 | attack = false | |
| 5256 | end | |
| 5257 | ||
| 5258 | function attacktwo() | |
| 5259 | attack = true | |
| 5260 | hum.WalkSpeed = 2 | |
| 5261 | local keptcolor = MAINRUINCOLOR | |
| 5262 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
| |
| 5263 | 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) | |
| 5264 | 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) | |
| 5265 | for i = 0, 14 do | |
| 5266 | end | |
| 5267 | for i = 0,1,0.1 do | |
| 5268 | swait() | |
| 5269 | 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) | |
| 5270 | 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) | |
| 5271 | 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) | |
| 5272 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3) | |
| 5273 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3) | |
| 5274 | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3) | |
| 5275 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3) | |
| 5276 | end | |
| 5277 | for i = 0, 1 do | |
| 5278 | CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
| |
| 5279 | for i = 0,1,0.6 do | |
| 5280 | swait() | |
| 5281 | 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) | |
| 5282 | 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) | |
| 5283 | 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) | |
| 5284 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6) | |
| 5285 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6) | |
| 5286 | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6) | |
| 5287 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6) | |
| 5288 | end | |
| 5289 | for i = 0,1,0.6 do | |
| 5290 | swait() | |
| 5291 | 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) | |
| 5292 | 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) | |
| 5293 | 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) | |
| 5294 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6) | |
| 5295 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6) | |
| 5296 | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6) | |
| 5297 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6) | |
| 5298 | end | |
| 5299 | for i = 0,1,0.6 do | |
| 5300 | swait() | |
| 5301 | 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) | |
| 5302 | 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) | |
| 5303 | 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) | |
| 5304 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6) | |
| 5305 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6) | |
| 5306 | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6) | |
| 5307 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6) | |
| 5308 | end | |
| 5309 | for i = 0,1,0.6 do | |
| 5310 | swait() | |
| 5311 | 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) | |
| 5312 | 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) | |
| 5313 | 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) | |
| 5314 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6) | |
| 5315 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6) | |
| 5316 | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6) | |
| 5317 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6) | |
| 5318 | end | |
| 5319 | local rot = 0 | |
| 5320 | local dis = CreateParta(char,0.5,1,"Neon",keptcolor) | |
| 5321 | CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
| |
| 5322 | dis.CFrame = root.CFrame*CFrame.new(0,2,-3) | |
| 5323 | CreateMesh(dis,"Sphere",10,1,10) | |
| 5324 | local at1 = Instance.new("Attachment",dis)
| |
| 5325 | at1.Position = vt(-5,0,0) | |
| 5326 | local at2 = Instance.new("Attachment",dis)
| |
| 5327 | at2.Position = vt(5,0,0) | |
| 5328 | local trl = Instance.new('Trail',wed)
| |
| 5329 | trl.Attachment0 = at1 | |
| 5330 | trl.Attachment1 = at2 | |
| 5331 | trl.Texture = "rbxassetid://1049219073" | |
| 5332 | trl.LightEmission = 1 | |
| 5333 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 5334 | trl.Color = ColorSequence.new(dis.Color) | |
| 5335 | trl.Lifetime = 0.6 | |
| 5336 | local a = Instance.new("Part",workspace)
| |
| 5337 | a.Name = "Direction" | |
| 5338 | a.Anchored = true | |
| 5339 | a.BrickColor = bc("Bright red")
| |
| 5340 | a.Material = "Neon" | |
| 5341 | a.Transparency = 1 | |
| 5342 | a.CanCollide = false | |
| 5343 | local ray = Ray.new( | |
| 5344 | dis.CFrame.p, -- origin | |
| 5345 | (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction | |
| 5346 | ) | |
| 5347 | local ignore = dis | |
| 5348 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 5349 | a.BottomSurface = 10 | |
| 5350 | a.TopSurface = 10 | |
| 5351 | local distance = (dis.CFrame.p - position).magnitude | |
| 5352 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
| 5353 | a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0) | |
| 5354 | dis.CFrame = a.CFrame | |
| 5355 | dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0) | |
| 5356 | a:Destroy() | |
| 5357 | local bv = Instance.new("BodyVelocity")
| |
| 5358 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 5359 | bv.velocity = dis.CFrame.lookVector*250 | |
| 5360 | bv.Parent = dis | |
| 5361 | game:GetService("Debris"):AddItem(dis, 5)
| |
| 5362 | local hitted = false | |
| 5363 | coroutine.resume(coroutine.create(function() | |
| 5364 | dis.Touched:connect(function(hit) | |
| 5365 | if hitted == false and hit.Parent ~= char then | |
| 5366 | hitted = true | |
| 5367 | CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
| |
| 5368 | MagniDamage(dis, 30, 33,56, 0, "Normal") | |
| 5369 | sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color) | |
| 5370 | sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color) | |
| 5371 | sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color) | |
| 5372 | coroutine.resume(coroutine.create(function() | |
| 5373 | for i = 0, 9 do | |
| 5374 | local disr = CreateParta(char,1,1,"Neon",keptcolor) | |
| 5375 | disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
| 5376 | local at1 = Instance.new("Attachment",disr)
| |
| 5377 | at1.Position = vt(-5,0,0) | |
| 5378 | local at2 = Instance.new("Attachment",disr)
| |
| 5379 | at2.Position = vt(5,0,0) | |
| 5380 | local trl = Instance.new('Trail',disr)
| |
| 5381 | trl.Attachment0 = at1 | |
| 5382 | trl.FaceCamera = true | |
| 5383 | trl.Attachment1 = at2 | |
| 5384 | trl.Texture = "rbxassetid://2342682798" | |
| 5385 | trl.LightEmission = 1 | |
| 5386 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 5387 | trl.Color = ColorSequence.new(keptcolor.Color) | |
| 5388 | trl.Lifetime = 0.5 | |
| 5389 | local bv = Instance.new("BodyVelocity")
| |
| 5390 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 5391 | bv.velocity = disr.CFrame.lookVector*math.random(50,200) | |
| 5392 | bv.Parent = disr | |
| 5393 | local val = 0 | |
| 5394 | coroutine.resume(coroutine.create(function() | |
| 5395 | swait(30) | |
| 5396 | for i = 0, 9 do | |
| 5397 | swait() | |
| 5398 | val = val + 0.1 | |
| 5399 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
| |
| 5400 | end | |
| 5401 | game:GetService("Debris"):AddItem(disr, 3)
| |
| 5402 | end)) | |
| 5403 | end | |
| 5404 | local eff = Instance.new("ParticleEmitter",dis)
| |
| 5405 | eff.Texture = "rbxassetid://2273224484" | |
| 5406 | eff.LightEmission = 1 | |
| 5407 | eff.Color = ColorSequence.new(keptcolor.Color) | |
| 5408 | eff.Rate = 50 | |
| 5409 | eff.Lifetime = NumberRange.new(0.5,2) | |
| 5410 | 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)})
| |
| 5411 | 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)})
| |
| 5412 | eff.Speed = NumberRange.new(20,250) | |
| 5413 | eff.Drag = 5 | |
| 5414 | eff.Rotation = NumberRange.new(-500,500) | |
| 5415 | eff.VelocitySpread = 9000 | |
| 5416 | eff.RotSpeed = NumberRange.new(-50,50) | |
| 5417 | wait(0.25) | |
| 5418 | eff.Enabled = false | |
| 5419 | end)) | |
| 5420 | for i = 0, 9 do | |
| 5421 | end | |
| 5422 | for i = 0, 19 do | |
| 5423 | end | |
| 5424 | coroutine.resume(coroutine.create(function() | |
| 5425 | for i = 0, 19 do | |
| 5426 | swait() | |
| 5427 | hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70) | |
| 5428 | end | |
| 5429 | hum.CameraOffset = vt(0,0,0) | |
| 5430 | end)) | |
| 5431 | dis.Anchored = true | |
| 5432 | dis.Transparency = 1 | |
| 5433 | wait(8) | |
| 5434 | dis:Destroy() | |
| 5435 | end | |
| 5436 | end) | |
| 5437 | end)) | |
| 5438 | rot = rot - 15 | |
| 5439 | end | |
| 5440 | for i = 0,2,0.1 do | |
| 5441 | swait() | |
| 5442 | 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) | |
| 5443 | 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) | |
| 5444 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3) | |
| 5445 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3) | |
| 5446 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3) | |
| 5447 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3) | |
| 5448 | end | |
| 5449 | attack = false | |
| 5450 | hum.WalkSpeed = storehumanoidWS | |
| 5451 | end | |
| 5452 | ||
| 5453 | function attackthree() | |
| 5454 | attack = true | |
| 5455 | local keptcolor = MAINRUINCOLOR | |
| 5456 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
| |
| 5457 | for i = 0,2,0.1 do | |
| 5458 | swait() | |
| 5459 | sphere2(5,"Add",larm.CFrame*CFrame.new(0,-1.5,0),vt(1,1,1),0.025,0.025,0.025,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
| 5460 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(50)),0.3) | |
| 5461 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3) | |
| 5462 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(10), math.rad(60)), 0.3) | |
| 5463 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-70)), 0.3) | |
| 5464 | 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) | |
| 5465 | 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) | |
| 5466 | end | |
| 5467 | CFuncs["Sound"].Create("rbxassetid://763716870", root, 3,1)
| |
| 5468 | CFuncs["Sound"].Create("rbxassetid://782353443", root, 5,0.9)
| |
| 5469 | CFuncs["Sound"].Create("rbxassetid://782225570", root, 4,0.5)
| |
| 5470 | CFuncs["Sound"].Create("rbxassetid://763717569", root, 3,1)
| |
| 5471 | sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR) | |
| 5472 | sphere2(5,"Add",root.CFrame,vt(1,1,1),0.5,0.5,0.5,MAINRUINCOLOR) | |
| 5473 | for i = 0, 24 do | |
| 5474 | end | |
| 5475 | for i = 0,4,0.1 do | |
| 5476 | swait() | |
| 5477 | root.CFrame = root.CFrame + root.CFrame.lookVector*5 | |
| 5478 | local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR) | |
| 5479 | CreateMesh(dis,"Sphere",1,1,1) | |
| 5480 | dis.Anchored = true | |
| 5481 | dis.CFrame = larm.CFrame*CFrame.new(0,-3,0) | |
| 5482 | sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color) | |
| 5483 | coroutine.resume(coroutine.create(function() | |
| 5484 | swait(30) | |
| 5485 | dis.Transparency = 1 | |
| 5486 | coroutine.resume(coroutine.create(function() | |
| 5487 | for i = 0, 19 do | |
| 5488 | swait() | |
| 5489 | hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40) | |
| 5490 | end | |
| 5491 | hum.CameraOffset = vt(0,0,0) | |
| 5492 | end)) | |
| 5493 | coroutine.resume(coroutine.create(function() | |
| 5494 | local eff = Instance.new("ParticleEmitter",dis)
| |
| 5495 | eff.Texture = "rbxassetid://2273224484" | |
| 5496 | eff.LightEmission = 1 | |
| 5497 | eff.Color = ColorSequence.new(dis.Color) | |
| 5498 | eff.Rate = 500000 | |
| 5499 | eff.Lifetime = NumberRange.new(0.5,2) | |
| 5500 | 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)})
| |
| 5501 | 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)})
| |
| 5502 | eff.Speed = NumberRange.new(50,450) | |
| 5503 | eff.Drag = 5 | |
| 5504 | eff.Rotation = NumberRange.new(-500,500) | |
| 5505 | eff.VelocitySpread = 9000 | |
| 5506 | eff.RotSpeed = NumberRange.new(-50,50) | |
| 5507 | wait(0.125) | |
| 5508 | eff.Enabled = false | |
| 5509 | end)) | |
| 5510 | MagniDamage(dis, 30, 45,50, 0, "Normal") | |
| 5511 | for i = 0, 2 do | |
| 5512 | --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) | |
| 5513 | end | |
| 5514 | CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,1)
| |
| 5515 | CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.5)
| |
| 5516 | CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.65)
| |
| 5517 | sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.4,0.4,0.4,dis.BrickColor,dis.Color) | |
| 5518 | end)) | |
| 5519 | game:GetService("Debris"):AddItem(dis, 5)
| |
| 5520 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(89),math.rad(-8),math.rad(-5)),0.5) | |
| 5521 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-30),math.rad(0),math.rad(8)),.5) | |
| 5522 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-14), math.rad(1), math.rad(17)), 0.5) | |
| 5523 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.85, 0) * angles(math.rad(180), math.rad(0), math.rad(-8)), 0.5) | |
| 5524 | 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) | |
| 5525 | 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) | |
| 5526 | end | |
| 5527 | attack = false | |
| 5528 | end | |
| 5529 | ----------------------------------- Abilities | |
| 5530 | ||
| 5531 | function ExtinctiveHeartbreak() | |
| 5532 | local targetted = nil | |
| 5533 | if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
| |
| 5534 | targetted = mouse.Target.Parent | |
| 5535 | end | |
| 5536 | if targetted ~= nil then | |
| 5537 | attack = true | |
| 5538 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
| |
| 5539 | for i = 0, 9 do | |
| 5540 | --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)
| |
| 5541 | end | |
| 5542 | for i = 0, 24 do | |
| 5543 | -- | |
| 5544 | end | |
| 5545 | --sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
| |
| 5546 | local originalpos = root.CFrame | |
| 5547 | RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2) | |
| 5548 | for i = 0, 9 do | |
| 5549 | --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)
| |
| 5550 | end | |
| 5551 | for i = 0, 24 do | |
| 5552 | end | |
| 5553 | hum.WalkSpeed = 0 | |
| 5554 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
| |
| 5555 | local radm = math.random(1,3) | |
| 5556 | if radm == 1 then | |
| 5557 | --bosschatfunc("YOU WON'T BE NECCESSARY.",MAINRUINCOLOR.Color,2)
| |
| 5558 | elseif radm == 2 then | |
| 5559 | --bosschatfunc("YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,2)
| |
| 5560 | elseif radm == 3 then | |
| 5561 | --bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
| |
| 5562 | end | |
| 5563 | for i = 0,2,0.1 do | |
| 5564 | swait() | |
| 5565 | 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) | |
| 5566 | 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) | |
| 5567 | 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) | |
| 5568 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8) | |
| 5569 | 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) | |
| 5570 | 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) | |
| 5571 | end | |
| 5572 | CFuncs["Sound"].Create("rbxassetid://153092227", root, 5,1)
| |
| 5573 | CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 10, 1,0,10,0.25,0.5,1)
| |
| 5574 | for i = 0,2,0.1 do | |
| 5575 | swait() | |
| 5576 | coroutine.resume(coroutine.create(function() | |
| 5577 | targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0) | |
| 5578 | for i,v in pairs(targetted:GetChildren()) do | |
| 5579 | if v:IsA("Part") or v:IsA("MeshPart") then
| |
| 5580 | v.Velocity = vt(0,0,0) | |
| 5581 | end | |
| 5582 | end | |
| 5583 | end)) | |
| 5584 | 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) | |
| 5585 | 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) | |
| 5586 | 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) | |
| 5587 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8) | |
| 5588 | 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) | |
| 5589 | 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) | |
| 5590 | end | |
| 5591 | CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1,0,10,0.25,0.5,1)
| |
| 5592 | CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 1.5, 0.9,0,10,0.25,0.5,1)
| |
| 5593 | for i = 0, 1 do | |
| 5594 | CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 1.5, 1,0.1,10,0.15,0.5,1)
| |
| 5595 | end | |
| 5596 | CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 10, 1,0.1,10,0.15,0.5,1)
| |
| 5597 | --chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
| |
| 5598 | for i = 0,4,0.1 do | |
| 5599 | swait() | |
| 5600 | coroutine.resume(coroutine.create(function() | |
| 5601 | local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) | |
| 5602 | 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))) | |
| 5603 | local at1 = Instance.new("Attachment",dis)
| |
| 5604 | at1.Position = vt(-25000,0,0) | |
| 5605 | local at2 = Instance.new("Attachment",dis)
| |
| 5606 | at2.Position = vt(25000,0,0) | |
| 5607 | local trl = Instance.new('Trail',dis)
| |
| 5608 | trl.Attachment0 = at1 | |
| 5609 | trl.FaceCamera = true | |
| 5610 | trl.Attachment1 = at2 | |
| 5611 | trl.Texture = "rbxassetid://1049219073" | |
| 5612 | trl.LightEmission = 1 | |
| 5613 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 5614 | trl.Color = ColorSequence.new(Color3.new(1,0,0)) | |
| 5615 | trl.Lifetime = 5 | |
| 5616 | local bv = Instance.new("BodyVelocity")
| |
| 5617 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 5618 | bv.velocity = dis.CFrame.lookVector*math.random(500,2500) | |
| 5619 | bv.Parent = dis | |
| 5620 | game:GetService("Debris"):AddItem(dis, 5)
| |
| 5621 | targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0) | |
| 5622 | CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
| |
| 5623 | CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
| |
| 5624 | CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
| |
| 5625 | CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
| |
| 5626 | CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
| |
| 5627 | 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) | |
| 5628 | targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
| |
| 5629 | for i = 0, 2 do | |
| 5630 | --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"))
| |
| 5631 | end | |
| 5632 | 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) | |
| 5633 | for i,v in pairs(targetted:GetChildren()) do | |
| 5634 | if v:IsA("Part") or v:IsA("MeshPart") then
| |
| 5635 | v.Velocity = vt(0,0,0) | |
| 5636 | end | |
| 5637 | end | |
| 5638 | end)) | |
| 5639 | hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25) | |
| 5640 | 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) | |
| 5641 | 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) | |
| 5642 | 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) | |
| 5643 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8) | |
| 5644 | 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) | |
| 5645 | 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) | |
| 5646 | end | |
| 5647 | hum.CameraOffset = vt(0,0,0) | |
| 5648 | for i = 0, 49 do | |
| 5649 | local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) | |
| 5650 | 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))) | |
| 5651 | local at1 = Instance.new("Attachment",dis)
| |
| 5652 | at1.Position = vt(-50000,0,0) | |
| 5653 | local at2 = Instance.new("Attachment",dis)
| |
| 5654 | at2.Position = vt(50000,0,0) | |
| 5655 | local trl = Instance.new('Trail',dis)
| |
| 5656 | trl.Attachment0 = at1 | |
| 5657 | trl.FaceCamera = true | |
| 5658 | trl.Attachment1 = at2 | |
| 5659 | trl.Texture = "rbxassetid://1049219073" | |
| 5660 | trl.LightEmission = 1 | |
| 5661 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 5662 | trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1)) | |
| 5663 | trl.Lifetime = 5 | |
| 5664 | local bv = Instance.new("BodyVelocity")
| |
| 5665 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 5666 | bv.velocity = dis.CFrame.lookVector*math.random(500,2500) | |
| 5667 | bv.Parent = dis | |
| 5668 | game:GetService("Debris"):AddItem(dis, 5)
| |
| 5669 | end | |
| 5670 | for i = 0, 49 do | |
| 5671 | 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) | |
| 5672 | --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"))
| |
| 5673 | end | |
| 5674 | CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
| |
| 5675 | for i = 0, 1 do | |
| 5676 | CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
| |
| 5677 | CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
| |
| 5678 | end | |
| 5679 | for i = 0, 4 do | |
| 5680 | CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
| |
| 5681 | end | |
| 5682 | symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1) | |
| 5683 | symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2) | |
| 5684 | symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4) | |
| 5685 | dmg(targetted) | |
| 5686 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
| |
| 5687 | for i = 0, 9 do | |
| 5688 | --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)
| |
| 5689 | end | |
| 5690 | for i = 0, 24 do | |
| 5691 | end | |
| 5692 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
| |
| 5693 | root.CFrame = originalpos | |
| 5694 | for i = 0, 9 do | |
| 5695 | --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)
| |
| 5696 | end | |
| 5697 | for i = 0, 24 do | |
| 5698 | end | |
| 5699 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
| |
| 5700 | attack = false | |
| 5701 | hum.WalkSpeed = storehumanoidWS | |
| 5702 | end | |
| 5703 | end | |
| 5704 | ||
| 5705 | function CorruptionEvent() | |
| 5706 | attack = true | |
| 5707 | hum.WalkSpeed = 0 | |
| 5708 | CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
| |
| 5709 | CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
| |
| 5710 | local keptcolor = MAINRUINCOLOR | |
| 5711 | for i = 0,4,0.1 do | |
| 5712 | swait() | |
| 5713 | hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100) | |
| 5714 | block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
| 5715 | 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) | |
| 5716 | 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) | |
| 5717 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1) | |
| 5718 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1) | |
| 5719 | RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1) | |
| 5720 | LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1) | |
| 5721 | end | |
| 5722 | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1) | |
| 5723 | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5) | |
| 5724 | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3) | |
| 5725 | CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
| |
| 5726 | CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
| |
| 5727 | CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
| |
| 5728 | CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
| |
| 5729 | CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
| |
| 5730 | hum.CameraOffset = vt(0,0,0) | |
| 5731 | sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
| 5732 | sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
| 5733 | for i = 0, 24 do | |
| 5734 | --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"))
| |
| 5735 | end | |
| 5736 | local rrot = 0 | |
| 5737 | coroutine.resume(coroutine.create(function() | |
| 5738 | for i = 0, 4 do | |
| 5739 | rrot = rrot + 45 | |
| 5740 | local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) | |
| 5741 | xa.Anchored = true | |
| 5742 | local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) | |
| 5743 | xb.Anchored = true | |
| 5744 | local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) | |
| 5745 | xc.Anchored = true | |
| 5746 | local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) | |
| 5747 | xd.Anchored = true | |
| 5748 | CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
| |
| 5749 | CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
| |
| 5750 | CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
| |
| 5751 | CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
| |
| 5752 | CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
| |
| 5753 | CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
| |
| 5754 | CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
| |
| 5755 | CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
| |
| 5756 | CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
| |
| 5757 | CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
| |
| 5758 | CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
| |
| 5759 | CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
| |
| 5760 | xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75) | |
| 5761 | xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75) | |
| 5762 | xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0) | |
| 5763 | xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0) | |
| 5764 | MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal") | |
| 5765 | MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal") | |
| 5766 | MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal") | |
| 5767 | MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal") | |
| 5768 | block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color) | |
| 5769 | block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color) | |
| 5770 | block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color) | |
| 5771 | block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color) | |
| 5772 | 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) | |
| 5773 | 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) | |
| 5774 | 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) | |
| 5775 | 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) | |
| 5776 | 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))
| |
| 5777 | 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))
| |
| 5778 | 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))
| |
| 5779 | 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))
| |
| 5780 | game:GetService("Debris"):AddItem(xa, 5)
| |
| 5781 | game:GetService("Debris"):AddItem(xb, 5)
| |
| 5782 | game:GetService("Debris"):AddItem(xc, 5)
| |
| 5783 | game:GetService("Debris"):AddItem(xd, 5)
| |
| 5784 | coroutine.resume(coroutine.create(function() | |
| 5785 | for i = 0, 19 do | |
| 5786 | swait() | |
| 5787 | hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50) | |
| 5788 | end | |
| 5789 | hum.CameraOffset = vt(0,0,0) | |
| 5790 | end)) | |
| 5791 | swait(9) | |
| 5792 | end | |
| 5793 | end)) | |
| 5794 | for i = 0,2,0.1 do | |
| 5795 | swait() | |
| 5796 | 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) | |
| 5797 | 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) | |
| 5798 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8) | |
| 5799 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8) | |
| 5800 | RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8) | |
| 5801 | LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8) | |
| 5802 | end | |
| 5803 | attack = false | |
| 5804 | hum.WalkSpeed = storehumanoidWS | |
| 5805 | end | |
| 5806 | ||
| 5807 | function EndGROUND() | |
| 5808 | attack = true | |
| 5809 | hum.WalkSpeed = 0 | |
| 5810 | bosschatfunc("THIS IS IT!",MAINRUINCOLOR.Color,1)
| |
| 5811 | --CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
| |
| 5812 | CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
| |
| 5813 | CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
| |
| 5814 | CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
| |
| 5815 | local keptcolor = MAINRUINCOLOR | |
| 5816 | for i = 0,4,0.1 do | |
| 5817 | swait() | |
| 5818 | hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100) | |
| 5819 | block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
| 5820 | --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"))
| |
| 5821 | 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) | |
| 5822 | 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) | |
| 5823 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1) | |
| 5824 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1) | |
| 5825 | RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1) | |
| 5826 | LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1) | |
| 5827 | end | |
| 5828 | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1) | |
| 5829 | CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
| |
| 5830 | CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
| |
| 5831 | CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
| |
| 5832 | CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
| |
| 5833 | CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
| |
| 5834 | coroutine.resume(coroutine.create(function() | |
| 5835 | local shval = 10 | |
| 5836 | for i = 0, 99 do | |
| 5837 | swait() | |
| 5838 | shval = shval - 0.1 | |
| 5839 | hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15) | |
| 5840 | end | |
| 5841 | hum.CameraOffset = vt(0,0,0) | |
| 5842 | end)) | |
| 5843 | sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
| 5844 | sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
| 5845 | for i = 0, 24 do | |
| 5846 | --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"))
| |
| 5847 | end | |
| 5848 | local rrot = 0 | |
| 5849 | local xam = 1 | |
| 5850 | coroutine.resume(coroutine.create(function() | |
| 5851 | for i = 0, 14 do | |
| 5852 | --swait() | |
| 5853 | rrot = rrot + 40*xam | |
| 5854 | xam = xam + 0.25 | |
| 5855 | local bonus = xam | |
| 5856 | local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random()) | |
| 5857 | xa.Anchored = true | |
| 5858 | xa.Color = Color3.new(0,0,0) | |
| 5859 | xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75) | |
| 5860 | CreateMesh(xa,"Sphere",30*bonus,1,30*bonus) | |
| 5861 | local xc = 0 | |
| 5862 | coroutine.resume(coroutine.create(function() | |
| 5863 | for i = 0, 99 do | |
| 5864 | swait() | |
| 5865 | xc = xc + 0.01 | |
| 5866 | xa.Color = Color3.new(xc,0,0) | |
| 5867 | end | |
| 5868 | xa.Transparency = 1 | |
| 5869 | CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
| |
| 5870 | MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal") | |
| 5871 | for i = 0, 9 do | |
| 5872 | --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"))
| |
| 5873 | end | |
| 5874 | 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) | |
| 5875 | 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) | |
| 5876 | 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))
| |
| 5877 | game:GetService("Debris"):AddItem(xa, 5)
| |
| 5878 | coroutine.resume(coroutine.create(function() | |
| 5879 | for i = 0, 19 do | |
| 5880 | swait() | |
| 5881 | hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50) | |
| 5882 | end | |
| 5883 | hum.CameraOffset = vt(0,0,0) | |
| 5884 | end)) | |
| 5885 | end)) | |
| 5886 | end | |
| 5887 | end)) | |
| 5888 | for i = 0,2,0.1 do | |
| 5889 | swait() | |
| 5890 | 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) | |
| 5891 | 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) | |
| 5892 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8) | |
| 5893 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8) | |
| 5894 | RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8) | |
| 5895 | LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8) | |
| 5896 | end | |
| 5897 | attack = false | |
| 5898 | hum.WalkSpeed = storehumanoidWS | |
| 5899 | end | |
| 5900 | ||
| 5901 | function HeavenlyDisk() | |
| 5902 | attack = true | |
| 5903 | hum.WalkSpeed = 2 | |
| 5904 | local keptcolor = MAINRUINCOLOR | |
| 5905 | local radm = math.random(1,3) | |
| 5906 | if radm == 1 then | |
| 5907 | --bosschatfunc("Don't make this too easy for you.",MAINRUINCOLOR.Color,1)
| |
| 5908 | elseif radm == 2 then | |
| 5909 | --bosschatfunc("Heavenly Disks!",MAINRUINCOLOR.Color,1)
| |
| 5910 | elseif radm == 3 then | |
| 5911 | --bosschatfunc("Take it!",MAINRUINCOLOR.Color,1)
| |
| 5912 | end | |
| 5913 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
| |
| 5914 | CFuncs["EchoSound"].Create("rbxassetid://1625448638", root, 4, 1,0,10,0.15,0.5,1)
| |
| 5915 | for i = 0, 14 do | |
| 5916 | -- | |
| 5917 | end | |
| 5918 | for i = 0,2,0.1 do | |
| 5919 | swait() | |
| 5920 | 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) | |
| 5921 | 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) | |
| 5922 | 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) | |
| 5923 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3) | |
| 5924 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3) | |
| 5925 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3) | |
| 5926 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3) | |
| 5927 | end | |
| 5928 | CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
| |
| 5929 | for i = 0,1,0.6 do | |
| 5930 | swait() | |
| 5931 | 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) | |
| 5932 | --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"))
| |
| 5933 | 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) | |
| 5934 | 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) | |
| 5935 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6) | |
| 5936 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6) | |
| 5937 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6) | |
| 5938 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6) | |
| 5939 | end | |
| 5940 | for i = 0,1,0.6 do | |
| 5941 | swait() | |
| 5942 | 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) | |
| 5943 | --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"))
| |
| 5944 | 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) | |
| 5945 | 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) | |
| 5946 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6) | |
| 5947 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6) | |
| 5948 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6) | |
| 5949 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6) | |
| 5950 | end | |
| 5951 | for i = 0,1,0.6 do | |
| 5952 | swait() | |
| 5953 | 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) | |
| 5954 | --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"))
| |
| 5955 | 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) | |
| 5956 | 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) | |
| 5957 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6) | |
| 5958 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6) | |
| 5959 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6) | |
| 5960 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6) | |
| 5961 | end | |
| 5962 | for i = 0,1,0.6 do | |
| 5963 | swait() | |
| 5964 | 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) | |
| 5965 | --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"))
| |
| 5966 | 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) | |
| 5967 | 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) | |
| 5968 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6) | |
| 5969 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6) | |
| 5970 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6) | |
| 5971 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6) | |
| 5972 | end | |
| 5973 | local rot = 15 | |
| 5974 | for i = 0, 2 do | |
| 5975 | local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Toothpaste"))
| |
| 5976 | CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
| |
| 5977 | dis.CFrame = root.CFrame*CFrame.new(0,2,-3) | |
| 5978 | CreateMesh(dis,"Sphere",10,1,10) | |
| 5979 | local at1 = Instance.new("Attachment",dis)
| |
| 5980 | at1.Position = vt(-5,0,0) | |
| 5981 | local at2 = Instance.new("Attachment",dis)
| |
| 5982 | at2.Position = vt(5,0,0) | |
| 5983 | local trl = Instance.new('Trail',wed)
| |
| 5984 | trl.Attachment0 = at1 | |
| 5985 | trl.Attachment1 = at2 | |
| 5986 | trl.Texture = "rbxassetid://1049219073" | |
| 5987 | trl.LightEmission = 1 | |
| 5988 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 5989 | trl.Color = ColorSequence.new(dis.Color) | |
| 5990 | trl.Lifetime = 0.6 | |
| 5991 | local a = Instance.new("Part",workspace)
| |
| 5992 | a.Name = "Direction" | |
| 5993 | a.Anchored = true | |
| 5994 | a.BrickColor = bc("Bright red")
| |
| 5995 | a.Material = "Neon" | |
| 5996 | a.Transparency = 1 | |
| 5997 | a.CanCollide = false | |
| 5998 | local ray = Ray.new( | |
| 5999 | dis.CFrame.p, -- origin | |
| 6000 | (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction | |
| 6001 | ) | |
| 6002 | local ignore = dis | |
| 6003 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 6004 | a.BottomSurface = 10 | |
| 6005 | a.TopSurface = 10 | |
| 6006 | local distance = (dis.CFrame.p - position).magnitude | |
| 6007 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
| 6008 | a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0) | |
| 6009 | dis.CFrame = a.CFrame | |
| 6010 | dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0) | |
| 6011 | a:Destroy() | |
| 6012 | local bv = Instance.new("BodyVelocity")
| |
| 6013 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 6014 | bv.velocity = dis.CFrame.lookVector*250 | |
| 6015 | bv.Parent = dis | |
| 6016 | game:GetService("Debris"):AddItem(dis, 5)
| |
| 6017 | local hitted = false | |
| 6018 | coroutine.resume(coroutine.create(function() | |
| 6019 | dis.Touched:connect(function(hit) | |
| 6020 | if hitted == false and hit.Parent ~= char then | |
| 6021 | hitted = true | |
| 6022 | CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
| |
| 6023 | MagniDamage(dis, 30, 82,34575, 0, "Normal") | |
| 6024 | --sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color) | |
| 6025 | --sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color) | |
| 6026 | --sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
| |
| 6027 | coroutine.resume(coroutine.create(function() | |
| 6028 | for i = 0, 9 do | |
| 6029 | local disr = CreateParta(char,1,1,"Neon",keptcolor) | |
| 6030 | disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
| 6031 | local at1 = Instance.new("Attachment",disr)
| |
| 6032 | at1.Position = vt(-2,0,0) | |
| 6033 | local at2 = Instance.new("Attachment",disr)
| |
| 6034 | at2.Position = vt(2,0,0) | |
| 6035 | local trl = Instance.new('Trail',disr)
| |
| 6036 | trl.Attachment0 = at1 | |
| 6037 | trl.FaceCamera = true | |
| 6038 | trl.Attachment1 = at2 | |
| 6039 | trl.Texture = "rbxassetid://2342682798" | |
| 6040 | trl.LightEmission = 1 | |
| 6041 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 6042 | trl.Color = ColorSequence.new(Color3.new(0.3,1,1)) | |
| 6043 | trl.Lifetime = 0.5 | |
| 6044 | local bv = Instance.new("BodyVelocity")
| |
| 6045 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 6046 | bv.velocity = disr.CFrame.lookVector*math.random(50,200) | |
| 6047 | bv.Parent = disr | |
| 6048 | local val = 0 | |
| 6049 | coroutine.resume(coroutine.create(function() | |
| 6050 | swait(30) | |
| 6051 | for i = 0, 9 do | |
| 6052 | swait() | |
| 6053 | val = val + 0.1 | |
| 6054 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
| |
| 6055 | end | |
| 6056 | game:GetService("Debris"):AddItem(disr, 3)
| |
| 6057 | end)) | |
| 6058 | end | |
| 6059 | local eff = Instance.new("ParticleEmitter",dis)
| |
| 6060 | eff.Texture = "rbxassetid://2273224484" | |
| 6061 | eff.LightEmission = 1 | |
| 6062 | eff.Color = ColorSequence.new(Color3.new(0.3,1,1)) | |
| 6063 | eff.Rate = 500000 | |
| 6064 | eff.Lifetime = NumberRange.new(0.5,2) | |
| 6065 | 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)})
| |
| 6066 | 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)})
| |
| 6067 | eff.Speed = NumberRange.new(20,250) | |
| 6068 | eff.Drag = 5 | |
| 6069 | eff.Rotation = NumberRange.new(-500,500) | |
| 6070 | eff.VelocitySpread = 9000 | |
| 6071 | eff.RotSpeed = NumberRange.new(-50,50) | |
| 6072 | wait(0.25) | |
| 6073 | eff.Enabled = false | |
| 6074 | end)) | |
| 6075 | for i = 0, 9 do | |
| 6076 | --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"))
| |
| 6077 | end | |
| 6078 | for i = 0, 19 do | |
| 6079 | -- | |
| 6080 | end | |
| 6081 | coroutine.resume(coroutine.create(function() | |
| 6082 | for i = 0, 19 do | |
| 6083 | swait() | |
| 6084 | hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70) | |
| 6085 | end | |
| 6086 | hum.CameraOffset = vt(0,0,0) | |
| 6087 | end)) | |
| 6088 | dis.Anchored = true | |
| 6089 | dis.Transparency = 1 | |
| 6090 | wait(8) | |
| 6091 | dis:Destroy() | |
| 6092 | end | |
| 6093 | end) | |
| 6094 | end)) | |
| 6095 | rot = rot - 15 | |
| 6096 | end | |
| 6097 | for i = 0,2,0.1 do | |
| 6098 | swait() | |
| 6099 | 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) | |
| 6100 | 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) | |
| 6101 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3) | |
| 6102 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3) | |
| 6103 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3) | |
| 6104 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3) | |
| 6105 | end | |
| 6106 | attack = false | |
| 6107 | hum.WalkSpeed = storehumanoidWS | |
| 6108 | end | |
| 6109 | ||
| 6110 | function RapidBurst2() | |
| 6111 | attack = true | |
| 6112 | hum.WalkSpeed = 0 | |
| 6113 | CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
| |
| 6114 | CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5)
| |
| 6115 | CFuncs["EchoSound"].Create("rbxassetid://907329669", char, 4, 1,0,10,0.15,0.5,1)
| |
| 6116 | bosschatfunc("Leave the dead where they fall!",MAINRUINCOLOR.Color,2)
| |
| 6117 | local keptcolor = MAINRUINCOLOR | |
| 6118 | for i = 0,8,0.1 do | |
| 6119 | swait() | |
| 6120 | hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100) | |
| 6121 | --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()) | |
| 6122 | 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) | |
| 6123 | 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) | |
| 6124 | 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) | |
| 6125 | 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) | |
| 6126 | 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) | |
| 6127 | 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) | |
| 6128 | 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) | |
| 6129 | end | |
| 6130 | for i = 0, 99 do | |
| 6131 | local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) | |
| 6132 | 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))) | |
| 6133 | local at1 = Instance.new("Attachment",dis)
| |
| 6134 | at1.Position = vt(-25000,0,0) | |
| 6135 | local at2 = Instance.new("Attachment",dis)
| |
| 6136 | at2.Position = vt(25000,0,0) | |
| 6137 | local trl = Instance.new('Trail',dis)
| |
| 6138 | trl.Attachment0 = at1 | |
| 6139 | trl.FaceCamera = true | |
| 6140 | trl.Attachment1 = at2 | |
| 6141 | trl.Texture = "rbxassetid://1049219073" | |
| 6142 | trl.LightEmission = 1 | |
| 6143 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 6144 | trl.Color = ColorSequence.new(BrickColor.random().Color) | |
| 6145 | trl.Lifetime = 5 | |
| 6146 | local bv = Instance.new("BodyVelocity")
| |
| 6147 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 6148 | bv.velocity = dis.CFrame.lookVector*math.random(500,2500) | |
| 6149 | bv.Parent = dis | |
| 6150 | game:GetService("Debris"):AddItem(dis, 5)
| |
| 6151 | end | |
| 6152 | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1) | |
| 6153 | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5) | |
| 6154 | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3) | |
| 6155 | sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color) | |
| 6156 | sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color) | |
| 6157 | sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color) | |
| 6158 | sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color) | |
| 6159 | CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
| |
| 6160 | CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
| |
| 6161 | CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
| |
| 6162 | hum.CameraOffset = vt(0,0,0) | |
| 6163 | for i = 0, 24 do | |
| 6164 | --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()) | |
| 6165 | end | |
| 6166 | local distam = 0 | |
| 6167 | coroutine.resume(coroutine.create(function() | |
| 6168 | for i = 0, 99 do | |
| 6169 | wait() | |
| 6170 | distam = distam + 1 | |
| 6171 | local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) | |
| 6172 | xa.Anchored = true | |
| 6173 | xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam)) | |
| 6174 | game:GetService("Debris"):AddItem(xa, 5)
| |
| 6175 | for i = 0, 4 do | |
| 6176 | --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()) | |
| 6177 | end | |
| 6178 | coroutine.resume(coroutine.create(function() | |
| 6179 | local eff = Instance.new("ParticleEmitter",xa)
| |
| 6180 | eff.Texture = "rbxassetid://2273224484" | |
| 6181 | eff.LightEmission = 1 | |
| 6182 | eff.Color = ColorSequence.new(BrickColor.random().Color) | |
| 6183 | eff.Rate = 500000 | |
| 6184 | eff.Lifetime = NumberRange.new(1,3) | |
| 6185 | 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)})
| |
| 6186 | 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)})
| |
| 6187 | eff.Speed = NumberRange.new(50,500) | |
| 6188 | eff.Drag = 5 | |
| 6189 | eff.Rotation = NumberRange.new(-500,500) | |
| 6190 | eff.VelocitySpread = 9000 | |
| 6191 | eff.RotSpeed = NumberRange.new(-50,50) | |
| 6192 | wait(0.25) | |
| 6193 | eff.Enabled = false | |
| 6194 | end)) | |
| 6195 | coroutine.resume(coroutine.create(function() | |
| 6196 | for i = 0, 19 do | |
| 6197 | swait() | |
| 6198 | hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10) | |
| 6199 | end | |
| 6200 | hum.CameraOffset = vt(0,0,0) | |
| 6201 | end)) | |
| 6202 | CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
| |
| 6203 | --sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color) | |
| 6204 | --sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color) | |
| 6205 | MagniDamage(xa, 60, 9999,99999, 0, "Normal") | |
| 6206 | end | |
| 6207 | end)) | |
| 6208 | attack = false | |
| 6209 | hum.WalkSpeed = storehumanoidWS | |
| 6210 | end | |
| 6211 | ||
| 6212 | function RapidBurst() | |
| 6213 | attack = true | |
| 6214 | hum.WalkSpeed = 0 | |
| 6215 | CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
| |
| 6216 | CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5)
| |
| 6217 | CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1)
| |
| 6218 | bosschatfunc("SHATTER!",MAINRUINCOLOR.Color,2)
| |
| 6219 | local keptcolor = MAINRUINCOLOR | |
| 6220 | for i = 0,8,0.1 do | |
| 6221 | swait() | |
| 6222 | hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100) | |
| 6223 | --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()) | |
| 6224 | 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) | |
| 6225 | 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) | |
| 6226 | 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) | |
| 6227 | 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) | |
| 6228 | 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) | |
| 6229 | 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) | |
| 6230 | 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) | |
| 6231 | end | |
| 6232 | for i = 0, 99 do | |
| 6233 | local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) | |
| 6234 | 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))) | |
| 6235 | local at1 = Instance.new("Attachment",dis)
| |
| 6236 | at1.Position = vt(-25000,0,0) | |
| 6237 | local at2 = Instance.new("Attachment",dis)
| |
| 6238 | at2.Position = vt(25000,0,0) | |
| 6239 | local trl = Instance.new('Trail',dis)
| |
| 6240 | trl.Attachment0 = at1 | |
| 6241 | trl.FaceCamera = true | |
| 6242 | trl.Attachment1 = at2 | |
| 6243 | trl.Texture = "rbxassetid://1049219073" | |
| 6244 | trl.LightEmission = 1 | |
| 6245 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 6246 | trl.Color = ColorSequence.new(BrickColor.random().Color) | |
| 6247 | trl.Lifetime = 5 | |
| 6248 | local bv = Instance.new("BodyVelocity")
| |
| 6249 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 6250 | bv.velocity = dis.CFrame.lookVector*math.random(500,2500) | |
| 6251 | bv.Parent = dis | |
| 6252 | game:GetService("Debris"):AddItem(dis, 5)
| |
| 6253 | end | |
| 6254 | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1) | |
| 6255 | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5) | |
| 6256 | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3) | |
| 6257 | sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color) | |
| 6258 | sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color) | |
| 6259 | sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color) | |
| 6260 | sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color) | |
| 6261 | CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
| |
| 6262 | CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
| |
| 6263 | CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
| |
| 6264 | hum.CameraOffset = vt(0,0,0) | |
| 6265 | for i = 0, 24 do | |
| 6266 | --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()) | |
| 6267 | end | |
| 6268 | local distam = 0 | |
| 6269 | coroutine.resume(coroutine.create(function() | |
| 6270 | for i = 0, 99 do | |
| 6271 | wait() | |
| 6272 | distam = distam + 1 | |
| 6273 | local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) | |
| 6274 | xa.Anchored = true | |
| 6275 | xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam)) | |
| 6276 | game:GetService("Debris"):AddItem(xa, 5)
| |
| 6277 | for i = 0, 4 do | |
| 6278 | --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()) | |
| 6279 | end | |
| 6280 | coroutine.resume(coroutine.create(function() | |
| 6281 | local eff = Instance.new("ParticleEmitter",xa)
| |
| 6282 | eff.Texture = "rbxassetid://2273224484" | |
| 6283 | eff.LightEmission = 1 | |
| 6284 | eff.Color = ColorSequence.new(BrickColor.random().Color) | |
| 6285 | eff.Rate = 500000 | |
| 6286 | eff.Lifetime = NumberRange.new(1,3) | |
| 6287 | 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)})
| |
| 6288 | 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)})
| |
| 6289 | eff.Speed = NumberRange.new(50,500) | |
| 6290 | eff.Drag = 5 | |
| 6291 | eff.Rotation = NumberRange.new(-500,500) | |
| 6292 | eff.VelocitySpread = 9000 | |
| 6293 | eff.RotSpeed = NumberRange.new(-50,50) | |
| 6294 | wait(0.25) | |
| 6295 | eff.Enabled = false | |
| 6296 | end)) | |
| 6297 | coroutine.resume(coroutine.create(function() | |
| 6298 | for i = 0, 19 do | |
| 6299 | swait() | |
| 6300 | hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10) | |
| 6301 | end | |
| 6302 | hum.CameraOffset = vt(0,0,0) | |
| 6303 | end)) | |
| 6304 | CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
| |
| 6305 | --sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color) | |
| 6306 | --sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color) | |
| 6307 | MagniDamage(xa, 60, 9999,99999, 0, "Normal") | |
| 6308 | end | |
| 6309 | end)) | |
| 6310 | attack = false | |
| 6311 | hum.WalkSpeed = storehumanoidWS | |
| 6312 | end | |
| 6313 | ||
| 6314 | ||
| 6315 | function FallenOrbs() | |
| 6316 | attack = true | |
| 6317 | hum.WalkSpeed = 2 | |
| 6318 | local keptcolor = MAINRUINCOLOR | |
| 6319 | CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 1.5, 1,0,10,0.15,0.5,1)
| |
| 6320 | CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 10, 1,0,10,0.15,0.5,1)
| |
| 6321 | local radm = math.random(1,3) | |
| 6322 | if radm == 1 then | |
| 6323 | bosschatfunc("This won't be easy for you.",MAINRUINCOLOR.Color,1)
| |
| 6324 | elseif radm == 2 then | |
| 6325 | bosschatfunc("How about this?",MAINRUINCOLOR.Color,1)
| |
| 6326 | elseif radm == 3 then | |
| 6327 | bosschatfunc("Swarm!",MAINRUINCOLOR.Color,1)
| |
| 6328 | end | |
| 6329 | coroutine.resume(coroutine.create(function() | |
| 6330 | for i = 0, 29 do | |
| 6331 | swait(2) | |
| 6332 | local dis = CreateParta(char,0.5,1,"Neon",MAINRUINCOLOR) | |
| 6333 | dis.Anchored = true | |
| 6334 | CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5)
| |
| 6335 | dis.CFrame = root.CFrame*CFrame.new(math.random(-35,35),math.random(5,35),math.random(-35,35)) | |
| 6336 | CreateMesh(dis,"Sphere",2,2,2) | |
| 6337 | --sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color) | |
| 6338 | --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"))
| |
| 6339 | coroutine.resume(coroutine.create(function() | |
| 6340 | wait(0.5) | |
| 6341 | dis.Anchored = false | |
| 6342 | CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 5, 1,0,2,0.15,0.1,1)
| |
| 6343 | local at1 = Instance.new("Attachment",dis)
| |
| 6344 | at1.Position = vt(-1,0,0) | |
| 6345 | local at2 = Instance.new("Attachment",dis)
| |
| 6346 | at2.Position = vt(1,0,0) | |
| 6347 | local trl = Instance.new('Trail',dis)
| |
| 6348 | trl.Attachment0 = at1 | |
| 6349 | trl.FaceCamera = true | |
| 6350 | trl.Attachment1 = at2 | |
| 6351 | trl.Texture = "rbxassetid://1049219073" | |
| 6352 | trl.LightEmission = 1 | |
| 6353 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 6354 | trl.Color = ColorSequence.new(dis.Color) | |
| 6355 | trl.Lifetime = 0.6 | |
| 6356 | local a = Instance.new("Part",workspace)
| |
| 6357 | a.Name = "Direction" | |
| 6358 | a.Anchored = true | |
| 6359 | a.BrickColor = bc("Bright red")
| |
| 6360 | a.Material = "Neon" | |
| 6361 | a.Transparency = 1 | |
| 6362 | a.CanCollide = false | |
| 6363 | local ray = Ray.new( | |
| 6364 | dis.CFrame.p, -- origin | |
| 6365 | (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction | |
| 6366 | ) | |
| 6367 | local ignore = dis | |
| 6368 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 6369 | a.BottomSurface = 10 | |
| 6370 | a.TopSurface = 10 | |
| 6371 | local distance = (dis.CFrame.p - position).magnitude | |
| 6372 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
| 6373 | a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0) | |
| 6374 | dis.CFrame = a.CFrame | |
| 6375 | a:Destroy() | |
| 6376 | local bv = Instance.new("BodyVelocity")
| |
| 6377 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 6378 | bv.velocity = dis.CFrame.lookVector*500 | |
| 6379 | bv.Parent = dis | |
| 6380 | game:GetService("Debris"):AddItem(dis, 5)
| |
| 6381 | local hitted = false | |
| 6382 | coroutine.resume(coroutine.create(function() | |
| 6383 | dis.Touched:connect(function(hit) | |
| 6384 | if hitted == false and hit.Parent ~= char then | |
| 6385 | hitted = true | |
| 6386 | CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 2.5, 0.8,0,10,0.15,0.5,1)
| |
| 6387 | MagniDamage(dis, 60, 25456,124672, 0, "Normal") | |
| 6388 | --sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,keptcolor,keptcolor.Color) | |
| 6389 | --sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1))
| |
| 6390 | coroutine.resume(coroutine.create(function() | |
| 6391 | for i = 0, 4 do | |
| 6392 | local disr = CreateParta(char,1,1,"Neon",keptcolor) | |
| 6393 | disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
| 6394 | local at1 = Instance.new("Attachment",disr)
| |
| 6395 | at1.Position = vt(-10,0,0) | |
| 6396 | local at2 = Instance.new("Attachment",disr)
| |
| 6397 | at2.Position = vt(10,0,0) | |
| 6398 | local trl = Instance.new('Trail',disr)
| |
| 6399 | trl.Attachment0 = at1 | |
| 6400 | trl.FaceCamera = true | |
| 6401 | trl.Attachment1 = at2 | |
| 6402 | trl.Texture = "rbxassetid://2342682798" | |
| 6403 | trl.LightEmission = 1 | |
| 6404 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 6405 | trl.Color = ColorSequence.new(disr.Color) | |
| 6406 | trl.Lifetime = 0.5 | |
| 6407 | local bv = Instance.new("BodyVelocity")
| |
| 6408 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 6409 | bv.velocity = disr.CFrame.lookVector*math.random(125,250) | |
| 6410 | bv.Parent = disr | |
| 6411 | local val = 0 | |
| 6412 | coroutine.resume(coroutine.create(function() | |
| 6413 | swait(30) | |
| 6414 | for i = 0, 9 do | |
| 6415 | swait() | |
| 6416 | val = val + 0.1 | |
| 6417 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
| |
| 6418 | end | |
| 6419 | game:GetService("Debris"):AddItem(disr, 3)
| |
| 6420 | end)) | |
| 6421 | end | |
| 6422 | local eff = Instance.new("ParticleEmitter",dis)
| |
| 6423 | eff.Texture = "rbxassetid://2273224484" | |
| 6424 | eff.LightEmission = 1 | |
| 6425 | eff.Color = ColorSequence.new(dis.Color) | |
| 6426 | eff.Rate = 500000 | |
| 6427 | eff.Lifetime = NumberRange.new(0.5,2) | |
| 6428 | 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)})
| |
| 6429 | 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)})
| |
| 6430 | eff.Speed = NumberRange.new(20,250) | |
| 6431 | eff.Drag = 5 | |
| 6432 | eff.Rotation = NumberRange.new(-500,500) | |
| 6433 | eff.VelocitySpread = 9000 | |
| 6434 | eff.RotSpeed = NumberRange.new(-50,50) | |
| 6435 | wait(0.5) | |
| 6436 | eff.Enabled = false | |
| 6437 | end)) | |
| 6438 | for i = 0, 4 do | |
| 6439 | --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"))
| |
| 6440 | end | |
| 6441 | coroutine.resume(coroutine.create(function() | |
| 6442 | for i = 0, 19 do | |
| 6443 | swait() | |
| 6444 | hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70) | |
| 6445 | end | |
| 6446 | hum.CameraOffset = vt(0,0,0) | |
| 6447 | end)) | |
| 6448 | dis.Anchored = true | |
| 6449 | dis.Transparency = 1 | |
| 6450 | wait(8) | |
| 6451 | dis:Destroy() | |
| 6452 | end | |
| 6453 | end) | |
| 6454 | end)) | |
| 6455 | end)) | |
| 6456 | end | |
| 6457 | end)) | |
| 6458 | for i = 0,9,0.1 do | |
| 6459 | swait() | |
| 6460 | 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) | |
| 6461 | 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) | |
| 6462 | 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) | |
| 6463 | 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) | |
| 6464 | 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) | |
| 6465 | 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) | |
| 6466 | 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) | |
| 6467 | end | |
| 6468 | attack = false | |
| 6469 | hum.WalkSpeed = storehumanoidWS | |
| 6470 | end | |
| 6471 | ||
| 6472 | function EquinoxOrbs() | |
| 6473 | hum.WalkSpeed = 0 | |
| 6474 | attack = true | |
| 6475 | for i = 0,1,0.1 do | |
| 6476 | swait() | |
| 6477 | 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) | |
| 6478 | 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) | |
| 6479 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2) | |
| 6480 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2) | |
| 6481 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3) | |
| 6482 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3) | |
| 6483 | end | |
| 6484 | --sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR) | |
| 6485 | --sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR) | |
| 6486 | for i = 0, 24 do | |
| 6487 | --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"))
| |
| 6488 | end | |
| 6489 | CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
| |
| 6490 | CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
| |
| 6491 | CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
| |
| 6492 | CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
| |
| 6493 | for i = 0,4,0.1 do | |
| 6494 | swait() | |
| 6495 | root.CFrame = root.CFrame + root.CFrame.lookVector*7.5 | |
| 6496 | local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR) | |
| 6497 | CreateMesh(dis,"Sphere",1,1,1) | |
| 6498 | dis.Anchored = true | |
| 6499 | dis.CFrame = larm.CFrame*CFrame.new(0,-3,0) | |
| 6500 | local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Really black"))
| |
| 6501 | CreateMesh(dis2,"Sphere",1,1,1) | |
| 6502 | dis2.Anchored = true | |
| 6503 | dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0) | |
| 6504 | --sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color) | |
| 6505 | --sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color) | |
| 6506 | coroutine.resume(coroutine.create(function() | |
| 6507 | swait(60) | |
| 6508 | dis.Transparency = 1 | |
| 6509 | dis2.Transparency = 1 | |
| 6510 | coroutine.resume(coroutine.create(function() | |
| 6511 | for i = 0, 19 do | |
| 6512 | swait() | |
| 6513 | hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40) | |
| 6514 | end | |
| 6515 | hum.CameraOffset = vt(0,0,0) | |
| 6516 | end)) | |
| 6517 | coroutine.resume(coroutine.create(function() | |
| 6518 | local eff = Instance.new("ParticleEmitter",dis)
| |
| 6519 | eff.Texture = "rbxassetid://2273224484" | |
| 6520 | eff.LightEmission = 1 | |
| 6521 | eff.Color = ColorSequence.new(dis.Color) | |
| 6522 | eff.Rate = 500000 | |
| 6523 | eff.Lifetime = NumberRange.new(0.5,2) | |
| 6524 | 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)})
| |
| 6525 | 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)})
| |
| 6526 | eff.Speed = NumberRange.new(50,450) | |
| 6527 | eff.Drag = 5 | |
| 6528 | eff.Rotation = NumberRange.new(-500,500) | |
| 6529 | eff.VelocitySpread = 9000 | |
| 6530 | eff.RotSpeed = NumberRange.new(-50,50) | |
| 6531 | local eff2 = eff:Clone() | |
| 6532 | eff2.Parent = dis2 | |
| 6533 | eff2.LightEmission = 0 | |
| 6534 | eff2.Color = ColorSequence.new(dis2.Color) | |
| 6535 | wait(0.25) | |
| 6536 | eff.Enabled = false | |
| 6537 | eff2.Enabled = false | |
| 6538 | end)) | |
| 6539 | MagniDamage(dis, 55, 89,219788936, 0, "Normal") | |
| 6540 | MagniDamage(dis2, 55, 89,219788936, 0, "Normal") | |
| 6541 | CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
| |
| 6542 | CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
| |
| 6543 | CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
| |
| 6544 | CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
| |
| 6545 | CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
| |
| 6546 | CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
| |
| 6547 | sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color) | |
| 6548 | sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color) | |
| 6549 | end)) | |
| 6550 | game:GetService("Debris"):AddItem(dis, 5)
| |
| 6551 | game:GetService("Debris"):AddItem(dis2, 5)
| |
| 6552 | 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) | |
| 6553 | 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) | |
| 6554 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2) | |
| 6555 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2) | |
| 6556 | RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1) | |
| 6557 | LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1) | |
| 6558 | end | |
| 6559 | attack = false | |
| 6560 | hum.WalkSpeed = storehumanoidWS | |
| 6561 | end | |
| 6562 | function FallenDEMISE() | |
| 6563 | attack = true | |
| 6564 | hum.WalkSpeed = 0 | |
| 6565 | local keptcolor = MAINRUINCOLOR | |
| 6566 | --bosschatfunc("ALL OF YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,3)
| |
| 6567 | CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.75)
| |
| 6568 | CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5)
| |
| 6569 | for i = 0, 15, 0.1 do | |
| 6570 | swait() | |
| 6571 | local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) | |
| 6572 | 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))) | |
| 6573 | local at1 = Instance.new("Attachment",dis)
| |
| 6574 | at1.Position = vt(-25000,0,0) | |
| 6575 | local at2 = Instance.new("Attachment",dis)
| |
| 6576 | at2.Position = vt(25000,0,0) | |
| 6577 | local trl = Instance.new('Trail',dis)
| |
| 6578 | trl.Attachment0 = at1 | |
| 6579 | trl.FaceCamera = true | |
| 6580 | trl.Attachment1 = at2 | |
| 6581 | trl.Texture = "rbxassetid://1049219073" | |
| 6582 | trl.LightEmission = 1 | |
| 6583 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 6584 | trl.Color = ColorSequence.new(dis.Color) | |
| 6585 | trl.Lifetime = 5 | |
| 6586 | local bv = Instance.new("BodyVelocity")
| |
| 6587 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 6588 | bv.velocity = dis.CFrame.lookVector*math.random(500,2500) | |
| 6589 | bv.Parent = dis | |
| 6590 | game:GetService("Debris"):AddItem(dis, 1)
| |
| 6591 | sphere2(15,"Add",root.CFrame,vt(8,8,8),2,2,2,MAINRUINCOLOR) | |
| 6592 | --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"))
| |
| 6593 | --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"))
| |
| 6594 | 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) | |
| 6595 | 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) | |
| 6596 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1) | |
| 6597 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
| 6598 | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1) | |
| 6599 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1) | |
| 6600 | end | |
| 6601 | CFuncs["Sound"].Create("rbxassetid://294188875", char, 10,1)
| |
| 6602 | for i = 0, 30, 0.1 do | |
| 6603 | swait() | |
| 6604 | coroutine.resume(coroutine.create(function() | |
| 6605 | for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do | |
| 6606 | if v:FindFirstChild('Head') then
| |
| 6607 | dmg(v) | |
| 6608 | end | |
| 6609 | end | |
| 6610 | end)) | |
| 6611 | local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) | |
| 6612 | 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))) | |
| 6613 | local at1 = Instance.new("Attachment",dis)
| |
| 6614 | at1.Position = vt(-50000,0,0) | |
| 6615 | local at2 = Instance.new("Attachment",dis)
| |
| 6616 | at2.Position = vt(50000,0,0) | |
| 6617 | local trl = Instance.new('Trail',dis)
| |
| 6618 | trl.Attachment0 = at1 | |
| 6619 | trl.FaceCamera = true | |
| 6620 | trl.Attachment1 = at2 | |
| 6621 | trl.Texture = "rbxassetid://1049219073" | |
| 6622 | trl.LightEmission = 1 | |
| 6623 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 6624 | trl.Color = ColorSequence.new(dis.Color) | |
| 6625 | trl.Lifetime = 10 | |
| 6626 | local bv = Instance.new("BodyVelocity")
| |
| 6627 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 6628 | bv.velocity = dis.CFrame.lookVector*math.random(1500,10000) | |
| 6629 | bv.Parent = dis | |
| 6630 | game:GetService("Debris"):AddItem(dis, math.random(1,4))
| |
| 6631 | --sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MAINRUINCOLOR) | |
| 6632 | --sphere2(15,"Add",root.CFrame,vt(8,8,8),8,8,8,MAINRUINCOLOR) | |
| 6633 | --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"))
| |
| 6634 | --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"))
| |
| 6635 | --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"))
| |
| 6636 | --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"))
| |
| 6637 | for i = 0, 2 do | |
| 6638 | --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) | |
| 6639 | end | |
| 6640 | 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) | |
| 6641 | 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) | |
| 6642 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1) | |
| 6643 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
| 6644 | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1) | |
| 6645 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1) | |
| 6646 | end | |
| 6647 | attack = false | |
| 6648 | hum.WalkSpeed = storehumanoidWS | |
| 6649 | end | |
| 6650 | ------------------------------------- | |
| 6651 | ||
| 6652 | Humanoid.Animator.Parent = nil | |
| 6653 | ||
| 6654 | ------------------------------------- | |
| 6655 | ||
| 6656 | local attacktype = 1 | |
| 6657 | mouse.Button1Down:connect(function() | |
| 6658 | if attack == false and attacktype == 1 then | |
| 6659 | attacktype = 2 | |
| 6660 | attackone() | |
| 6661 | elseif attack == false and attacktype == 2 then | |
| 6662 | attacktype = 3 | |
| 6663 | attacktwo() | |
| 6664 | elseif attack == false and attacktype == 3 then | |
| 6665 | attacktype = 1 | |
| 6666 | attackthree() | |
| 6667 | elseif attack == false and attacktype == 4 then | |
| 6668 | attacktype = 1 | |
| 6669 | --attackfour() | |
| 6670 | end | |
| 6671 | end) | |
| 6672 | mouse.KeyDown:connect(function(k) | |
| 6673 | if k == "q" and attack == false and ModeOfGlitch ~= 1 then | |
| 6674 | --normalmog() ---Disabled due to crashing... only in VSB | |
| 6675 | ModeOfGlitch = 1 | |
| 6676 | storehumanoidWS = 16 | |
| 6677 | hum.WalkSpeed = 16 | |
| 6678 | rainbowmode = false | |
| 6679 | chaosmode = false | |
| 6680 | chaosmode2 = false | |
| 6681 | newTheme("rbxassetid://1564523997",48.6,1,1.25)
| |
| 6682 | RecolorTextAndRename("Solitude",Color3.new(0,0,0),Color3.new(1,1,1),"Antique")
| |
| 6683 | MAINRUINCOLOR = BrickColor.new("Really black")
| |
| 6684 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false) | |
| 6685 | end | |
| 6686 | if k == "e" and attack == false and ModeOfGlitch ~= 2 then | |
| 6687 | ModeOfGlitch = 2 | |
| 6688 | storehumanoidWS = 16 | |
| 6689 | hum.WalkSpeed = 16 | |
| 6690 | rainbowmode = false | |
| 6691 | chaosmode = false | |
| 6692 | chaosmode2 = false | |
| 6693 | - | RecolorTextAndRename("PURITY",Color3.new(0,1,1),Color3.new(1,1,1),"Code")
|
| 6693 | + | RecolorTextAndRename("Clarity",Color3.new(0,1,1),Color3.new(1,1,1),"Code")
|
| 6694 | newTheme("rbxassetid://1539245059",0,1,1.25)
| |
| 6695 | MAINRUINCOLOR = BrickColor.new("Toothpaste")
| |
| 6696 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true) | |
| 6697 | end | |
| 6698 | if k == "r" and attack == false and ModeOfGlitch ~= 3 then | |
| 6699 | ModeOfGlitch = 3 | |
| 6700 | storehumanoidWS = 16 | |
| 6701 | hum.WalkSpeed = 16 | |
| 6702 | rainbowmode = false | |
| 6703 | chaosmode = false | |
| 6704 | chaosmode2 = false | |
| 6705 | RecolorTextAndRename("CORRUPTION",Color3.new(0,0,0),Color3.new(0.35,0,1),"Antique")
| |
| 6706 | newTheme("rbxassetid://1283869370",58.15,0.98,1.25)
| |
| 6707 | MAINRUINCOLOR = BrickColor.new("Royal purple")
| |
| 6708 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true) | |
| 6709 | end | |
| 6710 | if k == "t" and attack == false and ModeOfGlitch ~= 4 then | |
| 6711 | ModeOfGlitch = 4 | |
| 6712 | storehumanoidWS = 16 | |
| 6713 | hum.WalkSpeed = 16 | |
| 6714 | rainbowmode = false | |
| 6715 | chaosmode = true | |
| 6716 | chaosmode2 = false | |
| 6717 | RecolorTextAndRename("CHAOS",Color3.new(0,0,0),Color3.new(1,1,1),"Arcade")
| |
| 6718 | newTheme("rbxassetid://1369263130",0,1.01,1.25)
| |
| 6719 | MAINRUINCOLOR = BrickColor.new("Black")
| |
| 6720 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true) | |
| 6721 | end | |
| 6722 | if k == "n" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 666666 then | |
| 6723 | ModeOfGlitch = 666666 | |
| 6724 | storehumanoidWS = 16 | |
| 6725 | hum.WalkSpeed = 16 | |
| 6726 | rainbowmode = false | |
| 6727 | chaosmode2 = true | |
| 6728 | chaosmode = false | |
| 6729 | RecolorTextAndRename("INSANITY",Color3.new(0,0,0),Color3.new(1,1,1),"Arcade")
| |
| 6730 | newTheme("rbxassetid://919231299",0,1.01,1.25)
| |
| 6731 | MAINRUINCOLOR = BrickColor.new("Black")
| |
| 6732 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,MAINRUINCOLOR,0,MAINRUINCOLOR,true) | |
| 6733 | end | |
| 6734 | if k == "y" and attack == false and ModeOfGlitch ~= 5 then | |
| 6735 | ModeOfGlitch = 5 | |
| 6736 | storehumanoidWS = 16 | |
| 6737 | hum.WalkSpeed = 16 | |
| 6738 | rainbowmode = false | |
| 6739 | chaosmode = false | |
| 6740 | chaosmode2 = false | |
| 6741 | RecolorTextAndRename("DIVINITY",Color3.new(1,1,1),Color3.new(1,1,0.5),"SciFi")
| |
| 6742 | newTheme("rbxassetid://661079869",0,1.02,1.25)
| |
| 6743 | MAINRUINCOLOR = BrickColor.new("Bright yellow")
| |
| 6744 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true) | |
| 6745 | end | |
| 6746 | if k == "u" and attack == false and ModeOfGlitch ~= 6 then | |
| 6747 | ModeOfGlitch = 6 | |
| 6748 | storehumanoidWS = 100 | |
| 6749 | hum.WalkSpeed = 100 | |
| 6750 | rainbowmode = false | |
| 6751 | chaosmode = false | |
| 6752 | chaosmode2 = false | |
| 6753 | RecolorTextAndRename("EQUINOX",Color3.new(0,0,0),Color3.new(1,1,1),"Fantasy")
| |
| 6754 | newTheme("rbxassetid://1347011178",0,1.01,1.25)
| |
| 6755 | MAINRUINCOLOR = BrickColor.new("White")
| |
| 6756 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
| |
| 6757 | end | |
| 6758 | if k == "h" and attack == false and ModeOfGlitch ~= 8 then | |
| 6759 | ModeOfGlitch = 8 | |
| 6760 | storehumanoidWS = 140 | |
| 6761 | hum.WalkSpeed = 140 | |
| 6762 | rainbowmode = false | |
| 6763 | chaosmode = false | |
| 6764 | chaosmode2 = false | |
| 6765 | RecolorTextAndRename("DESTINY",Color3.new(1,1,1),BrickColor.new("Alder").Color,"Code")
| |
| 6766 | newTheme("rbxassetid://1495032271",0,1.01,1.25)
| |
| 6767 | MAINRUINCOLOR = BrickColor.new("Alder")
| |
| 6768 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true) | |
| 6769 | end | |
| 6770 | if k == "g" and attack == false and ModeOfGlitch ~= 9 then | |
| 6771 | ModeOfGlitch = 9 | |
| 6772 | storehumanoidWS = 150 | |
| 6773 | hum.WalkSpeed = 150 | |
| 6774 | rainbowmode = false | |
| 6775 | chaosmode = false | |
| 6776 | chaosmode2 = false | |
| 6777 | RecolorTextAndRename("INFESTATION",Color3.new(0,1,0),Color3.new(0.8,1,0.5),"Bodoni")
| |
| 6778 | newTheme("rbxassetid://708334127",0,1.01,1.25)
| |
| 6779 | MAINRUINCOLOR = BrickColor.new("Br. yellowish green")
| |
| 6780 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Lime green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
| |
| 6781 | end | |
| 6782 | if k == "m" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 8889 then | |
| 6783 | ModeOfGlitch = 8889 | |
| 6784 | storehumanoidWS = 180 | |
| 6785 | hum.WalkSpeed = 180 | |
| 6786 | rainbowmode = false | |
| 6787 | chaosmode = false | |
| 6788 | chaosmode2 = false | |
| 6789 | RecolorTextAndRename("CALAMITY",BrickColor.new("Alder").Color,BrickColor.new("Lilac").Color,"Antique")
| |
| 6790 | newTheme("rbxassetid://1359036559",0,1.01,1.25)
| |
| 6791 | MAINRUINCOLOR = BrickColor.new("Lilac")
| |
| 6792 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Alder"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
| |
| 6793 | end | |
| 6794 | if k == "f" and attack == false and ModeOfGlitch ~= 55469696922 then | |
| 6795 | ModeOfGlitch = 55469696922 | |
| 6796 | ||
| 6797 | storehumanoidWS = 16 | |
| 6798 | hum.WalkSpeed = 16 | |
| 6799 | rainbowmode = false | |
| 6800 | chaosmode = false | |
| 6801 | chaosmode2 = false | |
| 6802 | RecolorTextAndRename("Loost",Color3.new(0.25,0,0.1),BrickColor.new("Hot pink").Color,"Antique")
| |
| 6803 | newTheme("rbxassetid://1292453759",0,1.005,1.25)
| |
| 6804 | MAINRUINCOLOR = BrickColor.new("Pink")
| |
| 6805 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true) | |
| 6806 | end | |
| 6807 | if k == "n" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then | |
| 6808 | ModeOfGlitch = 4367677813 | |
| 6809 | storehumanoidWS = 225 | |
| 6810 | hum.WalkSpeed = 225 | |
| 6811 | rainbowmode = false | |
| 6812 | chaosmode = false | |
| 6813 | chaosmode2 = false | |
| 6814 | RecolorTextAndRename("BRIGHTNESS",Color3.new(0.75,0.9,1),BrickColor.new("Pink").Color,"Arcade")
| |
| 6815 | newTheme("rbxassetid://363284685",0,1.01,1.25)
| |
| 6816 | MAINRUINCOLOR = BrickColor.new("Baby blue")
| |
| 6817 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
| |
| 6818 | end | |
| 6819 | if k == "n" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 9999999921111 then | |
| 6820 | ModeOfGlitch = 9999999921111 | |
| 6821 | storehumanoidWS = 300 | |
| 6822 | hum.WalkSpeed = 300 | |
| 6823 | rainbowmode = false | |
| 6824 | chaosmode = false | |
| 6825 | chaosmode2 = false | |
| 6826 | - | RecolorTextAndRename("The Big Black",BrickColor.new("Really black").Color,BrickColor.new("Lily white").Color,"SciFi")
|
| 6826 | + | RecolorTextAndRename("CONTROLLED-SANITY",BrickColor.new("Really red").Color,BrickColor.new("Really black").Color,"SciFi")
|
| 6827 | - | newTheme("rbxassetid://1420353940",0,1.01,1.25)
|
| 6827 | + | newTheme("rbxassetid://1138145518",0,1.01,1.25)
|
| 6828 | - | MAINRUINCOLOR = BrickColor.new("Dark stone grey")
|
| 6828 | + | MAINRUINCOLOR = BrickColor.new("Really red")
|
| 6829 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,MAINRUINCOLOR,0,MAINRUINCOLOR,true)
| |
| 6830 | end | |
| 6831 | if k == "" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 999999999556 then | |
| 6832 | ModeOfGlitch = 999999999556 | |
| 6833 | storehumanoidWS = 500 | |
| 6834 | hum.WalkSpeed = 500 | |
| 6835 | rainbowmode = false | |
| 6836 | chaosmode = false | |
| 6837 | chaosmode2 = false | |
| 6838 | RecolorTextAndRename("CRAZED",BrickColor.new("Really black").Color,BrickColor.new("Navy blue").Color,"Code")
| |
| 6839 | newTheme("rbxassetid://719008519",0,1.02,1.25)
| |
| 6840 | MAINRUINCOLOR = BrickColor.new("Navy blue")
| |
| 6841 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
| |
| 6842 | end | |
| 6843 | if k == "n" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then | |
| 6844 | ModeOfGlitch = 1264532489 | |
| 6845 | storehumanoidWS = 250 | |
| 6846 | hum.WalkSpeed = 250 | |
| 6847 | rainbowmode = false | |
| 6848 | chaosmode = false | |
| 6849 | chaosmode2 = false | |
| 6850 | RecolorTextAndRename("FALLEN",Color3.new(0.5,1,1),BrickColor.new("Deep orange").Color,"Antique")
| |
| 6851 | newTheme("rbxassetid://1505487022",0,1.01,1.25)
| |
| 6852 | MAINRUINCOLOR = BrickColor.new("Pastel green")
| |
| 6853 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true) | |
| 6854 | end | |
| 6855 | if k == "l" and mutedtog == false then | |
| 6856 | mutedtog = true | |
| 6857 | kan.Volume = 0 | |
| 6858 | elseif k == "l" and mutedtog == true then | |
| 6859 | mutedtog = false | |
| 6860 | kan.Volume = 1.25 | |
| 6861 | end | |
| 6862 | if k == "p" and toggleTag == false then | |
| 6863 | toggleTag = true | |
| 6864 | modet.TextTransparency = 0 | |
| 6865 | modet.TextStrokeTransparency = 0 | |
| 6866 | elseif k == "p" and toggleTag == true then | |
| 6867 | toggleTag = false | |
| 6868 | modet.TextTransparency = 1 | |
| 6869 | modet.TextStrokeTransparency = 1 | |
| 6870 | end | |
| 6871 | if k == "z" and attack == false and ModeOfGlitch == 1 then | |
| 6872 | ExtinctiveHeartbreak() | |
| 6873 | elseif k == "z" and attack == false and ModeOfGlitch == 2 then | |
| 6874 | HeavenlyDisk() | |
| 6875 | elseif k == "z" and attack == false and ModeOfGlitch == 3 then | |
| 6876 | CorruptionEvent() | |
| 6877 | elseif k == "z" and attack == false and ModeOfGlitch == 4 then | |
| 6878 | RapidBurst() | |
| 6879 | elseif k == "z" and attack == false and ModeOfGlitch == 666666 then | |
| 6880 | RapidBurst2() | |
| 6881 | elseif k == "z" and attack == false and ModeOfGlitch == 9999999921111 then | |
| 6882 | ExtinctiveHeartbreak() | |
| 6883 | elseif k == "z" and attack == false and ModeOfGlitch == 6 then | |
| 6884 | EquinoxOrbs() | |
| 6885 | elseif k == "z" and attack == false and ModeOfGlitch == 1264532489 then | |
| 6886 | FallenOrbs() | |
| 6887 | end | |
| 6888 | if k == "v" and attack == false and ModeOfGlitch == 1264532489 then | |
| 6889 | FallenDEMISE() | |
| 6890 | end | |
| 6891 | if k == "m" and attack == false and ModeOfGlitch == 55469696922 then | |
| 6892 | FuckMeSidewaysAndCallMeGay() | |
| 6893 | end | |
| 6894 | if k == "x" and attack == false and ModeOfGlitch == 1 then | |
| 6895 | EndGROUND() | |
| 6896 | end | |
| 6897 | end) | |
| 6898 | ||
| 6899 | function FuckMeSidewaysAndCallMeGay() | |
| 6900 | local whom = (mouse.Target and mouse.Target.Parent) | |
| 6901 | --[[local fuckThisBoi = false | |
| 6902 | if(whom and whom:FindFirstChildOfClass'Humanoid')then | |
| 6903 | for _,v in next, ODers do | |
| 6904 | if(v == whom)then | |
| 6905 | fuckThisBoi = false | |
| 6906 | end | |
| 6907 | end | |
| 6908 | end | |
| 6909 | if(not fuckThisBoi)then | |
| 6910 | attack = false | |
| 6911 | warn'to fuck that boi you need to target them with z' | |
| 6912 | else]] | |
| 6913 | if(whom and whom:FindFirstChildOfClass'Humanoid' and whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso')then | |
| 6914 | local hed = whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' | |
| 6915 | local hum = whom:FindFirstChildOfClass'Humanoid' | |
| 6916 | local ocf = RootPart.CFrame | |
| 6917 | hum.WalkSpeed = 0 | |
| 6918 | hum.JumpPower = 0 | |
| 6919 | hed.Anchored = true | |
| 6920 | RootPart.Anchored = true | |
| 6921 | Humanoid.WalkSpeed = 0 | |
| 6922 | Humanoid.JumpPower = 0 | |
| 6923 | RootPart.CFrame = hed.CFrame*cf(0,0,1.35) | |
| 6924 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
| |
| 6925 | for i = 0, 9 do | |
| 6926 | 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("Pink"),0)
| |
| 6927 | end | |
| 6928 | for i = 0, 24 do | |
| 6929 | 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("Pink"),0)
| |
| 6930 | end | |
| 6931 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink"))
| |
| 6932 | attack = true | |
| 6933 | local speed = 1 | |
| 6934 | local heck; | |
| 6935 | local stopitlol = false; | |
| 6936 | heck = mouse.KeyUp:connect(function(k) | |
| 6937 | if(k:lower() == 'm')then | |
| 6938 | stopitlol = true | |
| 6939 | heck:disconnect() | |
| 6940 | end | |
| 6941 | end) | |
| 6942 | local times = 0 | |
| 6943 | repeat swait() | |
| 6944 | speed = speed - .01 | |
| 6945 | times = times + 1 | |
| 6946 | if(speed < .1)then | |
| 6947 | speed = .1 | |
| 6948 | end | |
| 6949 | for i = 0, speed, .05 do | |
| 6950 | RootPart.CFrame = hed.CFrame*cf(0,0,1.35) | |
| 6951 | swait() | |
| 6952 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4) | |
| 6953 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4) | |
| 6954 | RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4) | |
| 6955 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8) | |
| 6956 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4) | |
| 6957 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4) | |
| 6958 | end | |
| 6959 | CameraEnshaking(5,5) | |
| 6960 | ||
| 6961 | CFuncs["Sound"].Create("rbxassetid://836796971", Torso, 10,1)
| |
| 6962 | ||
| 6963 | for i = 0, speed, .05 do | |
| 6964 | RootPart.CFrame = hed.CFrame*cf(0,0,1.35) | |
| 6965 | swait() | |
| 6966 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4) | |
| 6967 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4) | |
| 6968 | RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4) | |
| 6969 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8) | |
| 6970 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4) | |
| 6971 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4) | |
| 6972 | end | |
| 6973 | until stopitlol and times >= 3 | |
| 6974 | for i = 1, 3 do | |
| 6975 | for i = 0, 1.5, .05 do | |
| 6976 | RootPart.CFrame = hed.CFrame*cf(0,0,1.35) | |
| 6977 | swait() | |
| 6978 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4) | |
| 6979 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4) | |
| 6980 | RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4) | |
| 6981 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8) | |
| 6982 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4) | |
| 6983 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4) | |
| 6984 | end | |
| 6985 | CameraEnshaking(5,25) | |
| 6986 | ||
| 6987 | CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75)
| |
| 6988 | ||
| 6989 | ||
| 6990 | coroutine.resume(coroutine.create(function() | |
| 6991 | bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso"))
| |
| 6992 | bld.LightEmission = 0.1 | |
| 6993 | bld.Texture = "rbxassetid://284205403" | |
| 6994 | bld.Color = ColorSequence.new(Color3.new(1,1,1)) | |
| 6995 | bld.Rate = 500 | |
| 6996 | bld.Lifetime = NumberRange.new(1) | |
| 6997 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 6998 | bld.Acceleration = vt(0,-25,0) | |
| 6999 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 7000 | bld.Speed = NumberRange.new(10,50) | |
| 7001 | bld.EmissionDirection = "Back" | |
| 7002 | bld.VelocitySpread = 25 | |
| 7003 | bld.Rotation = NumberRange.new(-500,500) | |
| 7004 | bld.RotSpeed = NumberRange.new(-500,500) | |
| 7005 | bld.Enabled = false | |
| 7006 | bld:Emit(250) | |
| 7007 | end)) | |
| 7008 | coroutine.resume(coroutine.create(function() | |
| 7009 | bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso"))
| |
| 7010 | bld.LightEmission = 0.1 | |
| 7011 | bld.Texture = "rbxassetid://284205403" | |
| 7012 | bld.Color = ColorSequence.new(Color3.new(1,1,1)) | |
| 7013 | bld.Rate = 500 | |
| 7014 | bld.Lifetime = NumberRange.new(1) | |
| 7015 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 7016 | bld.Acceleration = vt(0,-25,0) | |
| 7017 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 7018 | bld.Speed = NumberRange.new(10,50) | |
| 7019 | bld.EmissionDirection = "Back" | |
| 7020 | bld.VelocitySpread = 25 | |
| 7021 | bld.Rotation = NumberRange.new(-500,500) | |
| 7022 | bld.RotSpeed = NumberRange.new(-500,500) | |
| 7023 | bld.Enabled = false | |
| 7024 | bld:Emit(250) | |
| 7025 | end)) | |
| 7026 | for i = 0, 1.5, .05 do | |
| 7027 | RootPart.CFrame = hed.CFrame*cf(0,0,1.35) | |
| 7028 | swait() | |
| 7029 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4) | |
| 7030 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4) | |
| 7031 | RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4) | |
| 7032 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8) | |
| 7033 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4) | |
| 7034 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4) | |
| 7035 | end | |
| 7036 | end | |
| 7037 | for i = 0, 4, .05 do | |
| 7038 | RootPart.CFrame = hed.CFrame*cf(0,0,1.35) | |
| 7039 | swait() | |
| 7040 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(100),0,0)*angles(0,math.rad(90),0),.1) | |
| 7041 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(100),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
| 7042 | RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(-50),0,0)*RootCF,.1) | |
| 7043 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1) | |
| 7044 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.1) | |
| 7045 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.1) | |
| 7046 | end | |
| 7047 | CameraEnshaking(5,25) | |
| 7048 | CFuncs["Sound"].Create("rbxassetid://429400881", hed, 3,1)
| |
| 7049 | CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75)
| |
| 7050 | ||
| 7051 | dmg(whom) | |
| 7052 | coroutine.resume(coroutine.create(function() | |
| 7053 | bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso"))
| |
| 7054 | bld.LightEmission = 0.1 | |
| 7055 | bld.Texture = "rbxassetid://284205403" | |
| 7056 | bld.Color = ColorSequence.new(Color3.new(1,1,1)) | |
| 7057 | bld.Rate = 500 | |
| 7058 | bld.Lifetime = NumberRange.new(1) | |
| 7059 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 7060 | bld.Acceleration = vt(0,-25,0) | |
| 7061 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 7062 | bld.Speed = NumberRange.new(10,50) | |
| 7063 | bld.EmissionDirection = "Back" | |
| 7064 | bld.VelocitySpread = 25 | |
| 7065 | bld.Rotation = NumberRange.new(-500,500) | |
| 7066 | bld.RotSpeed = NumberRange.new(-500,500) | |
| 7067 | bld.Enabled = true | |
| 7068 | end)) | |
| 7069 | coroutine.resume(coroutine.create(function() | |
| 7070 | bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso"))
| |
| 7071 | bld.LightEmission = 0.1 | |
| 7072 | bld.Texture = "rbxassetid://284205403" | |
| 7073 | bld.Color = ColorSequence.new(Color3.new(1,1,1)) | |
| 7074 | bld.Rate = 500 | |
| 7075 | bld.Lifetime = NumberRange.new(1) | |
| 7076 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 7077 | bld.Acceleration = vt(0,-25,0) | |
| 7078 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 7079 | bld.Speed = NumberRange.new(10,50) | |
| 7080 | bld.EmissionDirection = "Back" | |
| 7081 | bld.VelocitySpread = 25 | |
| 7082 | bld.Rotation = NumberRange.new(-500,500) | |
| 7083 | bld.RotSpeed = NumberRange.new(-500,500) | |
| 7084 | bld.Enabled = true | |
| 7085 | end)) | |
| 7086 | for i = 0, 3, .05 do | |
| 7087 | RootPart.CFrame = hed.CFrame*cf(0,0,1.35) | |
| 7088 | swait() | |
| 7089 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-100),0,0)*angles(0,math.rad(90),0),.4) | |
| 7090 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-100),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4) | |
| 7091 | RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(50),0,0)*RootCF,.4) | |
| 7092 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8) | |
| 7093 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4) | |
| 7094 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4) | |
| 7095 | end | |
| 7096 | ||
| 7097 | RootPart.CFrame = ocf | |
| 7098 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
| |
| 7099 | for i = 0, 9 do | |
| 7100 | 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("Pink"),0)
| |
| 7101 | end | |
| 7102 | for i = 0, 24 do | |
| 7103 | 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("Pink"),0)
| |
| 7104 | end | |
| 7105 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink"))
| |
| 7106 | RootPart.Anchored = false | |
| 7107 | Humanoid.WalkSpeed = storehumanoidWS | |
| 7108 | Humanoid.JumpPower = 50 | |
| 7109 | attack = false | |
| 7110 | end | |
| 7111 | end | |
| 7112 | ||
| 7113 | --[[coroutine.resume(coroutine.create(function() | |
| 7114 | while true do | |
| 7115 | swait(2) | |
| 7116 | if chaosmode == true then | |
| 7117 | tl1.Color = ColorSequence.new(BrickColor.random().Color) | |
| 7118 | tl2.Color = ColorSequence.new(BrickColor.random().Color) | |
| 7119 | tl3.Color = ColorSequence.new(BrickColor.random().Color) | |
| 7120 | RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color,"Fantasy")
| |
| 7121 | for i, v in pairs(mw1:GetChildren()) do | |
| 7122 | if v:IsA("Part") then
| |
| 7123 | v.Transparency = 0.75 | |
| 7124 | v.BrickColor = BrickColor.random() | |
| 7125 | v.Material = "Neon" | |
| 7126 | end | |
| 7127 | end | |
| 7128 | for i, v in pairs(m2:GetChildren()) do | |
| 7129 | if v:IsA("Part") then
| |
| 7130 | v.BrickColor = BrickColor.random() | |
| 7131 | v.Material = "Neon" | |
| 7132 | end | |
| 7133 | end | |
| 7134 | end | |
| 7135 | end | |
| 7136 | end))]]-- | |
| 7137 | ||
| 7138 | --[[coroutine.resume(coroutine.create(function() | |
| 7139 | while true do | |
| 7140 | swait(2) | |
| 7141 | if chaosmode2 == true then | |
| 7142 | tl1.Color = ColorSequence.new(BrickColor.random().Color) | |
| 7143 | tl2.Color = ColorSequence.new(BrickColor.random().Color) | |
| 7144 | tl3.Color = ColorSequence.new(BrickColor.random().Color) | |
| 7145 | RecolorTextAndRename("INSANITY",Color3.new(0,0,0),BrickColor.random().Color,"Fantasy")
| |
| 7146 | for i, v in pairs(mw1:GetChildren()) do | |
| 7147 | if v:IsA("Part") then
| |
| 7148 | v.Transparency = 0.75 | |
| 7149 | v.BrickColor = BrickColor.random() | |
| 7150 | v.Material = "Neon" | |
| 7151 | end | |
| 7152 | end | |
| 7153 | for i, v in pairs(m2:GetChildren()) do | |
| 7154 | if v:IsA("Part") then
| |
| 7155 | v.BrickColor = BrickColor.random() | |
| 7156 | v.Material = "Neon" | |
| 7157 | end | |
| 7158 | end | |
| 7159 | end | |
| 7160 | end | |
| 7161 | end))]]-- | |
| 7162 | Humanoid.Name = "STARGLITCHER" | |
| 7163 | Humanoid.MaxHealth = math.huge | |
| 7164 | Humanoid.Health = math.huge | |
| 7165 | Instance.new("ForceField",char).Visible = false
| |
| 7166 | ||
| 7167 | local bguis = Instance.new("BillboardGui",tors)
| |
| 7168 | bguis.Size = UDim2.new(25, 0, 25, 0) | |
| 7169 | local imgca = Instance.new("ImageLabel",bguis)
| |
| 7170 | imgca.BackgroundTransparency = 1 | |
| 7171 | imgca.ImageTransparency = 1 | |
| 7172 | imgca.Size = UDim2.new(1,0,1,0) | |
| 7173 | imgca.Image = "rbxassetid://2312119891" --997291547,521073910,2312119891 | |
| 7174 | imgca.ImageColor3 = Color3.new(0,0,0) | |
| 7175 | ||
| 7176 | idleanim=.4 | |
| 7177 | while true do | |
| 7178 | if mutedtog == false then | |
| 7179 | kan.Volume = currentVol | |
| 7180 | elseif mutedtog == true then | |
| 7181 | kan.Volume = 0 | |
| 7182 | end | |
| 7183 | kan.PlaybackSpeed = currentPitch | |
| 7184 | kan.Pitch = currentPitch | |
| 7185 | kan.SoundId = currentThemePlaying | |
| 7186 | kan.Looped = true | |
| 7187 | kan.Parent = char | |
| 7188 | kan:Resume() | |
| 7189 | if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 then | |
| 7190 | imgca.ImageTransparency = 1 | |
| 7191 | elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 then | |
| 7192 | imgca.ImageColor3 = MAINRUINCOLOR.Color | |
| 7193 | imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30) | |
| 7194 | end | |
| 7195 | imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/25 | |
| 7196 | bguis.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0) | |
| 7197 | coroutine.resume(coroutine.create(function() | |
| 7198 | if chaosmode == true then | |
| 7199 | for i, v in pairs(mw1:GetChildren()) do | |
| 7200 | if v:IsA("Part") then
| |
| 7201 | v.Transparency = 0 | |
| 7202 | v.BrickColor = BrickColor.random() | |
| 7203 | v.Material = "Neon" | |
| 7204 | end | |
| 7205 | end | |
| 7206 | tl1.Color = ColorSequence.new(BrickColor.random().Color) | |
| 7207 | tl2.Color = ColorSequence.new(BrickColor.random().Color) | |
| 7208 | tl3.Color = ColorSequence.new(BrickColor.random().Color) | |
| 7209 | RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color,"Arcade")
| |
| 7210 | end | |
| 7211 | end)) | |
| 7212 | ||
| 7213 | coroutine.resume(coroutine.create(function() | |
| 7214 | if chaosmode2 == true then | |
| 7215 | for i, v in pairs(mw1:GetChildren()) do | |
| 7216 | if v:IsA("Part") then
| |
| 7217 | v.Transparency = 0 | |
| 7218 | v.BrickColor = BrickColor.random() | |
| 7219 | v.Material = "Neon" | |
| 7220 | end | |
| 7221 | end | |
| 7222 | tl1.Color = ColorSequence.new(BrickColor.random().Color) | |
| 7223 | tl2.Color = ColorSequence.new(BrickColor.random().Color) | |
| 7224 | tl3.Color = ColorSequence.new(BrickColor.random().Color) | |
| 7225 | RecolorTextAndRename("INSANITY",Color3.new(0,0,0),BrickColor.random().Color,"Arcade")
| |
| 7226 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 7227 | if v:IsA("Part") and ModeOfGlitch == 666666 then
| |
| 7228 | v.Transparency = 0.75 | |
| 7229 | v.BrickColor = BrickColor.random() | |
| 7230 | v.Material = "Neon" | |
| 7231 | elseif v:IsA("Part") then
| |
| 7232 | v.Transparency = 1 | |
| 7233 | end | |
| 7234 | end | |
| 7235 | for i, v in pairs(m2:GetChildren()) do | |
| 7236 | if v:IsA("Part") then
| |
| 7237 | v.BrickColor = BrickColor.random() | |
| 7238 | v.Material = "Neon" | |
| 7239 | end | |
| 7240 | end | |
| 7241 | end | |
| 7242 | end)) | |
| 7243 | if chaosmode == false then | |
| 7244 | modet.Position = UDim2.new(0,0,0,0) | |
| 7245 | modet.Rotation = -5 * math.cos(sine / 32) | |
| 7246 | techc.Rotation = techc.Rotation + 1 | |
| 7247 | circl.Rotation = circl.Rotation - kan.PlaybackLoudness/75 - 1 | |
| 7248 | circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/50 + 1 | |
| 7249 | imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/50 + 1 | |
| 7250 | imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/25 - 1 | |
| 7251 | ned.Rotation = 0 - 2 * math.cos(sine / 24) | |
| 7252 | ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45)) | |
| 7253 | else | |
| 7254 | techc.Rotation = techc.Rotation + 1 | |
| 7255 | circl.Rotation = circl.Rotation - kan.PlaybackLoudness/50 + math.random(-5,5) | |
| 7256 | circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/25 + math.random(-5,5) | |
| 7257 | imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/25 + math.random(-5,5) | |
| 7258 | imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/12.5 + math.random(-5,5) | |
| 7259 | ned.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3) | |
| 7260 | ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3)) | |
| 7261 | modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1)) | |
| 7262 | modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3) | |
| 7263 | end | |
| 7264 | if chaosmode2 == false then | |
| 7265 | modet.Position = UDim2.new(0,0,0,0) | |
| 7266 | modet.Rotation = -5 * math.cos(sine / 32) | |
| 7267 | techc.Rotation = techc.Rotation + 1 | |
| 7268 | circl.Rotation = circl.Rotation - kan.PlaybackLoudness/75 - 1 | |
| 7269 | circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/50 + 1 | |
| 7270 | imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/50 + 1 | |
| 7271 | imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/25 - 1 | |
| 7272 | ned.Rotation = 0 - 2 * math.cos(sine / 24) | |
| 7273 | ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45)) | |
| 7274 | else | |
| 7275 | techc.Rotation = techc.Rotation + 1 | |
| 7276 | circl.Rotation = circl.Rotation - kan.PlaybackLoudness/50 + math.random(-5,5) | |
| 7277 | circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/25 + math.random(-5,5) | |
| 7278 | imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/25 + math.random(-5,5) | |
| 7279 | imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/12.5 + math.random(-5,5) | |
| 7280 | ned.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3) | |
| 7281 | ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3)) | |
| 7282 | modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1)) | |
| 7283 | modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3) | |
| 7284 | end | |
| 7285 | CameraManager() | |
| 7286 | swait() | |
| 7287 | 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) | |
| 7288 | 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) | |
| 7289 | 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) | |
| 7290 | 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) | |
| 7291 | 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) | |
| 7292 | 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) | |
| 7293 | 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) | |
| 7294 | 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) | |
| 7295 | 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) | |
| 7296 | 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) | |
| 7297 | 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) | |
| 7298 | 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) | |
| 7299 | sine = sine + change | |
| 7300 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
| 7301 | local velderp=RootPart.Velocity.y | |
| 7302 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
| 7303 | if equipped==true or equipped==false then | |
| 7304 | if attack==false then | |
| 7305 | idle=idle+1 | |
| 7306 | else | |
| 7307 | idle=0 | |
| 7308 | end | |
| 7309 | if idle>=500 then | |
| 7310 | if attack==false then | |
| 7311 | --Sheath() | |
| 7312 | end | |
| 7313 | end | |
| 7314 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
| 7315 | Anim="Jump" | |
| 7316 | if attack==false then | |
| 7317 | 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) | |
| 7318 | 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) | |
| 7319 | 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) | |
| 7320 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1) | |
| 7321 | 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) | |
| 7322 | 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) | |
| 7323 | end | |
| 7324 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
| 7325 | Anim="Fall" | |
| 7326 | if attack==false then | |
| 7327 | 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) | |
| 7328 | 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) | |
| 7329 | 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) | |
| 7330 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1) | |
| 7331 | 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) | |
| 7332 | 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) | |
| 7333 | end | |
| 7334 | elseif torvel<1 and hitfloor~=nil then | |
| 7335 | Anim="Idle" | |
| 7336 | if attack==false then | |
| 7337 | if ModeOfGlitch == 1 then | |
| 7338 | local snap = math.random(1,10) | |
| 7339 | if snap == 1 then | |
| 7340 | 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) | |
| 7341 | end | |
| 7342 | 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) | |
| 7343 | 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) | |
| 7344 | 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) | |
| 7345 | 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) | |
| 7346 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(13 + 9 * math.cos(sine / 45))),.1) | |
| 7347 | 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) | |
| 7348 | elseif ModeOfGlitch == 2 then | |
| 7349 | 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) | |
| 7350 | 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) | |
| 7351 | 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) | |
| 7352 | 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) | |
| 7353 | 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) | |
| 7354 | 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) | |
| 7355 | elseif ModeOfGlitch == 3 then | |
| 7356 | local snap = math.random(1,32) | |
| 7357 | if snap == 1 then | |
| 7358 | 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) | |
| 7359 | end | |
| 7360 | 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) | |
| 7361 | 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) | |
| 7362 | 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) | |
| 7363 | 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) | |
| 7364 | 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) | |
| 7365 | 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) | |
| 7366 | elseif ModeOfGlitch == 4 then | |
| 7367 | local snap = math.random(1,5) | |
| 7368 | if snap == 1 then | |
| 7369 | 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) | |
| 7370 | 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) | |
| 7371 | 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) | |
| 7372 | end | |
| 7373 | 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) | |
| 7374 | 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) | |
| 7375 | 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) | |
| 7376 | 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) | |
| 7377 | 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) | |
| 7378 | 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) | |
| 7379 | elseif ModeOfGlitch == 666666 then | |
| 7380 | local snap = math.random(1,31) | |
| 7381 | if snap == 1 then | |
| 7382 | 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) | |
| 7383 | 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) | |
| 7384 | 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) | |
| 7385 | end | |
| 7386 | 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) | |
| 7387 | 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) | |
| 7388 | 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) | |
| 7389 | 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) | |
| 7390 | 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) | |
| 7391 | 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) | |
| 7392 | elseif ModeOfGlitch == 5 then | |
| 7393 | 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) | |
| 7394 | 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) | |
| 7395 | 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) | |
| 7396 | 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) | |
| 7397 | 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) | |
| 7398 | 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) | |
| 7399 | elseif ModeOfGlitch == 6 then | |
| 7400 | 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) | |
| 7401 | 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) | |
| 7402 | 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) | |
| 7403 | 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) | |
| 7404 | 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) | |
| 7405 | 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) | |
| 7406 | elseif ModeOfGlitch == 8 then | |
| 7407 | 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) | |
| 7408 | 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) | |
| 7409 | 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) | |
| 7410 | 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) | |
| 7411 | 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) | |
| 7412 | 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) | |
| 7413 | elseif ModeOfGlitch == 9 then | |
| 7414 | 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) | |
| 7415 | 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) | |
| 7416 | 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) | |
| 7417 | 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) | |
| 7418 | 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) | |
| 7419 | 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) | |
| 7420 | elseif ModeOfGlitch == 8889 then | |
| 7421 | 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) | |
| 7422 | 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) | |
| 7423 | 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) | |
| 7424 | 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) | |
| 7425 | 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) | |
| 7426 | 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) | |
| 7427 | elseif ModeOfGlitch == 1264532489 then | |
| 7428 | 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) | |
| 7429 | 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) | |
| 7430 | 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) | |
| 7431 | 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) | |
| 7432 | 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) | |
| 7433 | 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) | |
| 7434 | elseif ModeOfGlitch == 9999999921111 then | |
| 7435 | RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1) | |
| 7436 | LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
| 7437 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1) | |
| 7438 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,math.rad(-25),0)*angles(math.rad(0 - 25 * math.cos(sine / 0.1164)),math.rad(0 - 30 * math.cos(sine / 0.25)),math.rad(0 - 30 * math.cos(sine / 0.465))),.1) | |
| 7439 | RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1) | |
| 7440 | LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1) | |
| 7441 | elseif ModeOfGlitch == 4367677813 then | |
| 7442 | 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) | |
| 7443 | 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) | |
| 7444 | 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) | |
| 7445 | 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) | |
| 7446 | 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) | |
| 7447 | 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) | |
| 7448 | elseif ModeOfGlitch == 55469696922 then | |
| 7449 | RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(0,0,math.rad(0+5*math.cos(sine/16)))*RootCF,.1) | |
| 7450 | Torso.Neck.C0 = Torso.Neck.C0:lerp(necko*angles(0,0,-math.rad(0+5*math.cos(sine/16))),.1) | |
| 7451 | LH.C0 = LH.C0:lerp(cf(-1-math.rad(0+5*math.cos(sine/16)),-1+math.rad(0+5*math.cos(sine/16)),0)*angles(0,0,-math.rad(0+5*math.cos(sine/16)))*angles(math.rad(-15),math.rad(25),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
| 7452 | RH.C0 = RH.C0:lerp(cf(1-math.rad(0+5*math.cos(sine/16)),-1-math.rad(0+5*math.cos(sine/16)),0)*angles(0,0,-math.rad(0+5*math.cos(sine/16)))*angles(math.rad(0),math.rad(90),math.rad(0)),.1) | |
| 7453 | LW.C0 = LW.C0:lerp(cf(-1.5,0.5,0)*cf(0,-.15,0)*angles(math.rad(15),0,math.rad(20)),.1) | |
| 7454 | RW.C0 = RW.C0:lerp(cf(1.5,0.5,0)*angles(0,0,math.rad(5+5*math.sin(sine/16))),.1) | |
| 7455 | elseif ModeOfGlitch == 999999999556 then | |
| 7456 | 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) | |
| 7457 | 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) | |
| 7458 | 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) | |
| 7459 | 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) | |
| 7460 | 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) | |
| 7461 | 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) | |
| 7462 | end | |
| 7463 | end | |
| 7464 | elseif torvel>2 and torvel<22 and hitfloor~=nil then | |
| 7465 | Anim="Walk" | |
| 7466 | if attack==false then | |
| 7467 | 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) | |
| 7468 | 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) | |
| 7469 | 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) | |
| 7470 | 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) | |
| 7471 | 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) | |
| 7472 | 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) | |
| 7473 | end | |
| 7474 | elseif torvel>=22 and hitfloor~=nil then | |
| 7475 | Anim="Run" | |
| 7476 | if attack==false then | |
| 7477 | if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 8889 then | |
| 7478 | 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) | |
| 7479 | 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) | |
| 7480 | 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) | |
| 7481 | 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) | |
| 7482 | 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) | |
| 7483 | 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) | |
| 7484 | if ModeOfGlitch == 9 then | |
| 7485 | -- | |
| 7486 | end | |
| 7487 | elseif ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 8889 then | |
| 7488 | 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) | |
| 7489 | 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) | |
| 7490 | 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) | |
| 7491 | 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) | |
| 7492 | 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) | |
| 7493 | 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) | |
| 7494 | end | |
| 7495 | end | |
| 7496 | end | |
| 7497 | end | |
| 7498 | end |