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.1 Update Log: | |
| 109 | !C? - Mostly about 7-9 main modes added. | |
| 110 | ! - Non-canon [N] modes are added from few modes: | |
| 111 | > Mayhem: NANO | |
| 112 | > Purity: BRIGHTNESS | |
| 113 | > Chaos: CRAZED | |
| 114 | > Divinity: FALLENEX | |
| 115 | > Destiny: OMEGA | |
| 116 | ! - Added back CALAMITY and INFESTATION. | |
| 117 | C - Two main click attacks changed. | |
| 118 | !C - Moves are added back, with severe change and difference. | |
| 119 | C - Some modes got renamed because fat filter | |
| 120 | C - Toned down the effects to be compatible with fe without strong lag.]]) | |
| 121 | --- its obs smooth af do not touch | |
| 122 | ---- Sources and functions might be taken from others | |
| 123 | plr = owner | |
| 124 | char = plr.Character | |
| 125 | hum = char.Humanoid | |
| 126 | local cam = game.Workspace.CurrentCamera | |
| 127 | Camera = cam | |
| 128 | local CamInterrupt = false | |
| 129 | local TwoD = false | |
| 130 | local TargetInfo = {nil, nil}
| |
| 131 | cam.CameraType = "Custom" | |
| 132 | t = char.Torso | |
| 133 | h = char.Head | |
| 134 | ra = char["Right Arm"] | |
| 135 | la = char["Left Arm"] | |
| 136 | rl = char["Right Leg"] | |
| 137 | ll = char["Left Leg"] | |
| 138 | tors = char.Torso | |
| 139 | lleg = char["Left Leg"] | |
| 140 | root = char.HumanoidRootPart | |
| 141 | hed = char.Head | |
| 142 | rleg = char["Right Leg"] | |
| 143 | rarm = char["Right Arm"] | |
| 144 | larm = char["Left Arm"] | |
| 145 | radian = math.rad | |
| 146 | random = math.random | |
| 147 | Vec3 = Vector3.new | |
| 148 | Inst = Instance.new | |
| 149 | cFrame = CFrame.new | |
| 150 | Euler = CFrame.fromEulerAnglesXYZ | |
| 151 | vt = Vector3.new | |
| 152 | bc = BrickColor.new | |
| 153 | br = BrickColor.random | |
| 154 | it = Instance.new | |
| 155 | cf = CFrame.new | |
| 156 | ||
| 157 | local Booleans = {
| |
| 158 | CamFollow = true, | |
| 159 | GyroUse = true | |
| 160 | } | |
| 161 | ||
| 162 | function lerp(object, newCFrame, alpha) | |
| 163 | return object:lerp(newCFrame, alpha) | |
| 164 | end | |
| 165 | ||
| 166 | local Directer = Inst("BodyGyro", root)
| |
| 167 | Directer.MaxTorque = Vec3(0, 0, 0) | |
| 168 | Directer.P = 600000 | |
| 169 | local CPart = Inst("Part")
| |
| 170 | CPart.Anchored = true | |
| 171 | CPart.CanCollide = false | |
| 172 | CPart.Locked = true | |
| 173 | CPart.Transparency = 1 | |
| 174 | ||
| 175 | local rainbowmode = false | |
| 176 | local chaosmode = false | |
| 177 | ||
| 178 | local kan = Instance.new("Sound",char)
| |
| 179 | kan.Volume = 1.25 | |
| 180 | kan.TimePosition = 0 | |
| 181 | kan.PlaybackSpeed = 1 | |
| 182 | kan.Pitch = 1 | |
| 183 | kan.SoundId = "rbxassetid://1537276744" | |
| 184 | kan.Name = "wrecked" | |
| 185 | kan.Looped = true | |
| 186 | kan:Play() | |
| 187 | ||
| 188 | local currentThemePlaying = kan.SoundId | |
| 189 | local currentPitch = kan.Pitch | |
| 190 | local currentVol = kan.Volume | |
| 191 | function newTheme(ID,timepos,pitch,vol) | |
| 192 | local kanz = kan | |
| 193 | --kanz:Stop() | |
| 194 | kanz.Volume = vol | |
| 195 | --kanz.TimePosition = timepos | |
| 196 | kanz.PlaybackSpeed = pitch | |
| 197 | kanz.Pitch = pitch | |
| 198 | kanz.SoundId = ID | |
| 199 | kanz.Name = "wrecked" | |
| 200 | kanz.Looped = true | |
| 201 | currentThemePlaying = kanz.SoundId | |
| 202 | currentVol = kanz.Volume | |
| 203 | currentPitch = kanz.Pitch | |
| 204 | --kanz:Play() | |
| 205 | --coroutine.resume(coroutine.create(function() | |
| 206 | --wait(0.05) | |
| 207 | --end)) | |
| 208 | end | |
| 209 | ||
| 210 | ||
| 211 | function newThemeCust(ID,timepos,pitch,vol) | |
| 212 | local kanz = kan | |
| 213 | kanz:Stop() | |
| 214 | kanz.Volume = vol | |
| 215 | kanz.TimePosition = timepos | |
| 216 | kanz.PlaybackSpeed = pitch | |
| 217 | kanz.Pitch = pitch | |
| 218 | kanz.SoundId = ID | |
| 219 | kanz.Name = "wrecked" | |
| 220 | kanz.Looped = true | |
| 221 | currentThemePlaying = kanz.SoundId | |
| 222 | currentVol = kanz.Volume | |
| 223 | currentPitch = kanz.Pitch | |
| 224 | kanz:Play() | |
| 225 | coroutine.resume(coroutine.create(function() | |
| 226 | wait(0.05) | |
| 227 | end)) | |
| 228 | end | |
| 229 | ||
| 230 | local mutedtog = false | |
| 231 | ||
| 232 | function CameraEnshaking(Length,Intensity) | |
| 233 | coroutine.resume(coroutine.create(function() | |
| 234 | local intensity = 1*Intensity | |
| 235 | local rotM = 0.01*Intensity | |
| 236 | for i = 0, Length, 0.1 do | |
| 237 | swait() | |
| 238 | intensity = intensity - 0.05*Intensity/Length | |
| 239 | rotM = rotM - 0.0005*Intensity/Length | |
| 240 | hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) | |
| 241 | 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) | |
| 242 | end | |
| 243 | Humanoid.CameraOffset = Vec3(0, 0, 0) | |
| 244 | end)) | |
| 245 | end | |
| 246 | CamShake=function(Part,Distan,Power,Times) | |
| 247 | local de=Part.Position | |
| 248 | for i,v in pairs(workspace:children()) do | |
| 249 | if v:IsA("Model") and v:findFirstChild("Humanoid") then
| |
| 250 | for _,c in pairs(v:children()) do | |
| 251 | if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then | |
| 252 | local Noob=v.Humanoid | |
| 253 | if Noob~=nil then | |
| 254 | coroutine.resume(coroutine.create(function() | |
| 255 | FV = Instance.new("BoolValue", Noob)
| |
| 256 | FV.Name = "CameraShake" | |
| 257 | for ShakeNum=1,Times do | |
| 258 | swait() | |
| 259 | local ef=Power | |
| 260 | if ef>=1 then | |
| 261 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef)) | |
| 262 | else | |
| 263 | ef=Power*10 | |
| 264 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10) | |
| 265 | end | |
| 266 | end | |
| 267 | Humanoid.CameraOffset = Vector3.new(0,0,0) | |
| 268 | FV:Destroy() | |
| 269 | end)) | |
| 270 | CameraShake(Times, Power, Noob) | |
| 271 | end | |
| 272 | end | |
| 273 | end | |
| 274 | end | |
| 275 | end | |
| 276 | end | |
| 277 | ||
| 278 | local toggleTag = true | |
| 279 | local bilguit = Instance.new("BillboardGui", hed)
| |
| 280 | bilguit.Adornee = nil | |
| 281 | bilguit.Name = "ModeName" | |
| 282 | bilguit.Size = UDim2.new(4, 0, 1.2, 0) | |
| 283 | bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0) | |
| 284 | local modet = Instance.new("TextLabel", bilguit)
| |
| 285 | modet.Size = UDim2.new(10/2, 0, 7/2, 0) | |
| 286 | modet.FontSize = "Size8" | |
| 287 | modet.TextScaled = true | |
| 288 | modet.TextTransparency = 0 | |
| 289 | modet.BackgroundTransparency = 1 | |
| 290 | modet.TextTransparency = 0 | |
| 291 | modet.TextStrokeTransparency = 0 | |
| 292 | modet.Font = "Antique" | |
| 293 | modet.TextStrokeColor3 = Color3.new(1,0,0) | |
| 294 | modet.TextColor3 = Color3.new(0.25,0,0) | |
| 295 | modet.Text = "STAR" | |
| 296 | ||
| 297 | ||
| 298 | function chatfunc(text,color,typet,font,timeex) | |
| 299 | local chat = coroutine.wrap(function() | |
| 300 | if Character:FindFirstChild("TalkingBillBoard")~= nil then
| |
| 301 | Character:FindFirstChild("TalkingBillBoard"):destroy()
| |
| 302 | end | |
| 303 | local naeeym2 = Instance.new("BillboardGui",Character)
| |
| 304 | naeeym2.Size = UDim2.new(0,100,0,40) | |
| 305 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
| 306 | naeeym2.Adornee = Character.Head | |
| 307 | naeeym2.Name = "TalkingBillBoard" | |
| 308 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 309 | tecks2.BackgroundTransparency = 1 | |
| 310 | tecks2.BorderSizePixel = 0 | |
| 311 | tecks2.Text = "" | |
| 312 | tecks2.Font = font | |
| 313 | tecks2.TextSize = 30 | |
| 314 | tecks2.TextStrokeTransparency = 0 | |
| 315 | tecks2.TextColor3 = color | |
| 316 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
| 317 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 318 | local tecks3 = Instance.new("TextLabel",naeeym2)
| |
| 319 | tecks3.BackgroundTransparency = 1 | |
| 320 | tecks3.BorderSizePixel = 0 | |
| 321 | tecks3.Text = "" | |
| 322 | tecks3.Font = font | |
| 323 | tecks3.TextSize = 30 | |
| 324 | tecks3.TextStrokeTransparency = 0 | |
| 325 | if typet == "Inverted" then | |
| 326 | tecks3.TextColor3 = Color3.new(0,0,0) | |
| 327 | tecks3.TextStrokeColor3 = color | |
| 328 | elseif typet == "Normal" then | |
| 329 | tecks3.TextColor3 = color | |
| 330 | tecks3.TextStrokeColor3 = Color3.new(0,0,0) | |
| 331 | end | |
| 332 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
| 333 | coroutine.resume(coroutine.create(function() | |
| 334 | while true do | |
| 335 | swait(1) | |
| 336 | if chaosmode == true then | |
| 337 | tecks2.TextColor3 = BrickColor.random().Color | |
| 338 | tecks3.TextStrokeColor3 = BrickColor.random().Color | |
| 339 | end | |
| 340 | end | |
| 341 | end)) | |
| 342 | modet.TextTransparency = modet.TextTransparency + 1 | |
| 343 | modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1 | |
| 344 | for i = 0, 74*timeex do | |
| 345 | swait() | |
| 346 | modet.TextTransparency = 1 | |
| 347 | modet.TextStrokeTransparency = 1 | |
| 348 | tecks2.Text = text | |
| 349 | tecks3.Text = text | |
| 350 | end | |
| 351 | local randomrot = math.random(1,2) | |
| 352 | if randomrot == 1 then | |
| 353 | for i = 1, 50 do | |
| 354 | swait() | |
| 355 | tecks2.Text = text | |
| 356 | tecks3.Text = text | |
| 357 | modet.TextTransparency = modet.TextTransparency - .02 | |
| 358 | modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02 | |
| 359 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 360 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
| 361 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 362 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
| 363 | end | |
| 364 | elseif randomrot == 2 then | |
| 365 | for i = 1, 50 do | |
| 366 | swait() | |
| 367 | tecks2.Text = text | |
| 368 | tecks3.Text = text | |
| 369 | modet.TextTransparency = modet.TextTransparency - .02 | |
| 370 | modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02 | |
| 371 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 372 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
| 373 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 374 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
| 375 | end | |
| 376 | end | |
| 377 | modet.TextTransparency = 0 | |
| 378 | modet.TextStrokeTransparency = 0 | |
| 379 | if toggleTag == false then | |
| 380 | modet.TextTransparency = 1 | |
| 381 | modet.TextStrokeTransparency = 1 | |
| 382 | end | |
| 383 | naeeym2:Destroy() | |
| 384 | end) | |
| 385 | chat() | |
| 386 | end | |
| 387 | ||
| 388 | function bosschatfunc(text,color,watval) | |
| 389 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do
| |
| 390 | coroutine.resume(coroutine.create(function() | |
| 391 | if v.PlayerGui:FindFirstChild("Dialog")~= nil then
| |
| 392 | v.PlayerGui:FindFirstChild("Dialog"):destroy()
| |
| 393 | end | |
| 394 | local scrg = Instance.new("ScreenGui",v.PlayerGui)
| |
| 395 | CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
| |
| 396 | scrg.Name = "Dialog" | |
| 397 | local txtlb = Instance.new("TextLabel",scrg)
| |
| 398 | txtlb.Text = "" | |
| 399 | txtlb.Font = "Bodoni" | |
| 400 | txtlb.TextColor3 = Color3.new(0,0,0) | |
| 401 | txtlb.TextStrokeTransparency = 0 | |
| 402 | txtlb.BackgroundTransparency = 0.75 | |
| 403 | txtlb.BackgroundColor3 = Color3.new(0,0,0) | |
| 404 | txtlb.TextStrokeColor3 = color | |
| 405 | txtlb.TextScaled = true | |
| 406 | txtlb.Size = UDim2.new(1,0,0.25,0) | |
| 407 | txtlb.TextXAlignment = "Left" | |
| 408 | txtlb.Position = UDim2.new(0,0,0.75 + 1,0) | |
| 409 | local txtlb2 = Instance.new("TextLabel",scrg)
| |
| 410 | txtlb2.Text = "Star:" | |
| 411 | txtlb2.Font = "Arcade" | |
| 412 | txtlb2.TextColor3 = Color3.new(0,0,0) | |
| 413 | txtlb2.TextStrokeTransparency = 0 | |
| 414 | txtlb2.BackgroundTransparency = 1 | |
| 415 | txtlb2.TextStrokeColor3 = color | |
| 416 | txtlb2.TextSize = 40 | |
| 417 | txtlb2.Size = UDim2.new(1,0,0.25,0) | |
| 418 | txtlb2.TextXAlignment = "Left" | |
| 419 | txtlb2.Position = UDim2.new(0,0,1,0) | |
| 420 | local fvalen = 0.55 | |
| 421 | local fval = -0.49 | |
| 422 | coroutine.resume(coroutine.create(function() | |
| 423 | while true do | |
| 424 | swait() | |
| 425 | if chaosmode == true then | |
| 426 | txtlb.Rotation = math.random(-1,1) | |
| 427 | txtlb2.Rotation = math.random(-1,1) | |
| 428 | txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
| 429 | txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
| 430 | txtlb.TextStrokeColor3 = BrickColor.random().Color | |
| 431 | txtlb2.TextStrokeColor3 = BrickColor.random().Color | |
| 432 | end | |
| 433 | end | |
| 434 | end)) | |
| 435 | coroutine.resume(coroutine.create(function() | |
| 436 | while true do | |
| 437 | swait() | |
| 438 | if scrg.Parent ~= nil then | |
| 439 | fvalen = fvalen - 0.0001 | |
| 440 | elseif scrg.Parent == nil then | |
| 441 | break | |
| 442 | end | |
| 443 | end | |
| 444 | end)) | |
| 445 | local flol = 1.75 | |
| 446 | local flil = 1.6 | |
| 447 | coroutine.resume(coroutine.create(function() | |
| 448 | for i = 0, 9 do | |
| 449 | swait() | |
| 450 | fval = fval + 0.05 | |
| 451 | flol = flol - 0.1 | |
| 452 | flil = flil - 0.1 | |
| 453 | txtlb.Text = "" | |
| 454 | txtlb.Position = UDim2.new(0,0,flol,0) | |
| 455 | txtlb2.Position = UDim2.new(0,0,flil,0) | |
| 456 | end | |
| 457 | txtlb.Text = text | |
| 458 | wait(watval) | |
| 459 | local valinc = 0 | |
| 460 | for i = 0, 99 do | |
| 461 | swait() | |
| 462 | valinc = valinc + 0.0001 | |
| 463 | flol = flol + valinc | |
| 464 | flil = flil + valinc | |
| 465 | txtlb.Rotation = txtlb.Rotation + valinc*20 | |
| 466 | txtlb2.Rotation = txtlb2.Rotation - valinc*50 | |
| 467 | txtlb.Position = UDim2.new(0,0,flol,0) | |
| 468 | txtlb2.Position = UDim2.new(0,0,flil,0) | |
| 469 | txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01 | |
| 470 | txtlb.TextTransparency = txtlb.TextTransparency + 0.01 | |
| 471 | txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01 | |
| 472 | txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01 | |
| 473 | txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025 | |
| 474 | end | |
| 475 | scrg:Destroy() | |
| 476 | end)) | |
| 477 | end)) | |
| 478 | end | |
| 479 | end | |
| 480 | ||
| 481 | ||
| 482 | local Create = LoadLibrary("RbxUtility").Create
| |
| 483 | ||
| 484 | CFuncs = {
| |
| 485 | ["Part"] = {
| |
| 486 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 487 | local Part = Create("Part"){
| |
| 488 | Parent = Parent, | |
| 489 | Reflectance = Reflectance, | |
| 490 | Transparency = Transparency, | |
| 491 | CanCollide = false, | |
| 492 | Locked = true, | |
| 493 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 494 | Name = Name, | |
| 495 | Size = Size, | |
| 496 | Material = Material, | |
| 497 | } | |
| 498 | RemoveOutlines(Part) | |
| 499 | return Part | |
| 500 | end; | |
| 501 | }; | |
| 502 | ||
| 503 | ["Mesh"] = {
| |
| 504 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 505 | local Msh = Create(Mesh){
| |
| 506 | Parent = Part, | |
| 507 | Offset = OffSet, | |
| 508 | Scale = Scale, | |
| 509 | } | |
| 510 | if Mesh == "SpecialMesh" then | |
| 511 | Msh.MeshType = MeshType | |
| 512 | Msh.MeshId = MeshId | |
| 513 | end | |
| 514 | return Msh | |
| 515 | end; | |
| 516 | }; | |
| 517 | ||
| 518 | ["Mesh"] = {
| |
| 519 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 520 | local Msh = Create(Mesh){
| |
| 521 | Parent = Part, | |
| 522 | Offset = OffSet, | |
| 523 | Scale = Scale, | |
| 524 | } | |
| 525 | if Mesh == "SpecialMesh" then | |
| 526 | Msh.MeshType = MeshType | |
| 527 | Msh.MeshId = MeshId | |
| 528 | end | |
| 529 | return Msh | |
| 530 | end; | |
| 531 | }; | |
| 532 | ||
| 533 | ["Weld"] = {
| |
| 534 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 535 | local Weld = Create("Weld"){
| |
| 536 | Parent = Parent, | |
| 537 | Part0 = Part0, | |
| 538 | Part1 = Part1, | |
| 539 | C0 = C0, | |
| 540 | C1 = C1, | |
| 541 | } | |
| 542 | return Weld | |
| 543 | end; | |
| 544 | }; | |
| 545 | ||
| 546 | ["Sound"] = {
| |
| 547 | Create = function(id, par, vol, pit) | |
| 548 | coroutine.resume(coroutine.create(function() | |
| 549 | local S = Create("Sound"){
| |
| 550 | Volume = vol, | |
| 551 | Name = "EffectSoundo", | |
| 552 | Pitch = pit or 1, | |
| 553 | SoundId = id, | |
| 554 | Parent = par or workspace, | |
| 555 | } | |
| 556 | wait() | |
| 557 | S:play() | |
| 558 | game:GetService("Debris"):AddItem(S, 10)
| |
| 559 | end)) | |
| 560 | end; | |
| 561 | }; | |
| 562 | ||
| 563 | ["TimeSound"] = {
| |
| 564 | Create = function(id, par, vol, pit, timepos) | |
| 565 | coroutine.resume(coroutine.create(function() | |
| 566 | local S = Create("Sound"){
| |
| 567 | Volume = vol, | |
| 568 | Name = "EffectSoundo", | |
| 569 | Pitch = pit or 1, | |
| 570 | SoundId = id, | |
| 571 | TimePosition = timepos, | |
| 572 | Parent = par or workspace, | |
| 573 | } | |
| 574 | wait() | |
| 575 | S:play() | |
| 576 | game:GetService("Debris"):AddItem(S, 10)
| |
| 577 | end)) | |
| 578 | end; | |
| 579 | }; | |
| 580 | ["EchoSound"] = {
| |
| 581 | Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl) | |
| 582 | coroutine.resume(coroutine.create(function() | |
| 583 | local Sas = Create("Sound"){
| |
| 584 | Volume = vol, | |
| 585 | Name = "EffectSoundo", | |
| 586 | Pitch = pit or 1, | |
| 587 | SoundId = id, | |
| 588 | TimePosition = timepos, | |
| 589 | Parent = par or workspace, | |
| 590 | } | |
| 591 | local E = Create("EchoSoundEffect"){
| |
| 592 | Delay = echodelay, | |
| 593 | Name = "Echo", | |
| 594 | Feedback = fedb, | |
| 595 | DryLevel = dryl, | |
| 596 | Parent = Sas, | |
| 597 | } | |
| 598 | wait() | |
| 599 | Sas:play() | |
| 600 | game:GetService("Debris"):AddItem(Sas, delays)
| |
| 601 | end)) | |
| 602 | end; | |
| 603 | }; | |
| 604 | ||
| 605 | ["LongSound"] = {
| |
| 606 | Create = function(id, par, vol, pit) | |
| 607 | coroutine.resume(coroutine.create(function() | |
| 608 | local S = Create("Sound"){
| |
| 609 | Volume = vol, | |
| 610 | Pitch = pit or 1, | |
| 611 | SoundId = id, | |
| 612 | Parent = par or workspace, | |
| 613 | } | |
| 614 | wait() | |
| 615 | S:play() | |
| 616 | game:GetService("Debris"):AddItem(S, 60)
| |
| 617 | end)) | |
| 618 | end; | |
| 619 | }; | |
| 620 | ||
| 621 | ["ParticleEmitter"] = {
| |
| 622 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 623 | local fp = Create("ParticleEmitter"){
| |
| 624 | Parent = Parent, | |
| 625 | Color = ColorSequence.new(Color1, Color2), | |
| 626 | LightEmission = LightEmission, | |
| 627 | Size = Size, | |
| 628 | Texture = Texture, | |
| 629 | Transparency = Transparency, | |
| 630 | ZOffset = ZOffset, | |
| 631 | Acceleration = Accel, | |
| 632 | Drag = Drag, | |
| 633 | LockedToPart = LockedToPart, | |
| 634 | VelocityInheritance = VelocityInheritance, | |
| 635 | EmissionDirection = EmissionDirection, | |
| 636 | Enabled = Enabled, | |
| 637 | Lifetime = LifeTime, | |
| 638 | Rate = Rate, | |
| 639 | Rotation = Rotation, | |
| 640 | RotSpeed = RotSpeed, | |
| 641 | Speed = Speed, | |
| 642 | VelocitySpread = VelocitySpread, | |
| 643 | } | |
| 644 | return fp | |
| 645 | end; | |
| 646 | }; | |
| 647 | ||
| 648 | CreateTemplate = {
| |
| 649 | ||
| 650 | }; | |
| 651 | } | |
| 652 | ||
| 653 | ||
| 654 | ||
| 655 | New = function(Object, Parent, Name, Data) | |
| 656 | local Object = Instance.new(Object) | |
| 657 | for Index, Value in pairs(Data or {}) do
| |
| 658 | Object[Index] = Value | |
| 659 | end | |
| 660 | Object.Parent = Parent | |
| 661 | Object.Name = Name | |
| 662 | return Object | |
| 663 | end | |
| 664 | local halocolor = BrickColor.new("Pastel light blue")
| |
| 665 | local halocolor2 = BrickColor.new("Cool yellow")
| |
| 666 | local starcolor = BrickColor.new("Bright yellow")
| |
| 667 | local lunacolor = BrickColor.new("Navy blue")
| |
| 668 | local lunacolor2 = BrickColor.new("Bright blue")
| |
| 669 | local wepcolor = BrickColor.new("Really black")
| |
| 670 | local maincolor = BrickColor.new("Really black")
| |
| 671 | local m = Instance.new("Model",char)
| |
| 672 | local m2 = Instance.new("Model",char)
| |
| 673 | local m3 = Instance.new("Model",char)
| |
| 674 | local mw1 = Instance.new("Model",char)
| |
| 675 | local mw2 = Instance.new("Model",char)
| |
| 676 | ||
| 677 | ||
| 678 | gui = function(GuiType, parent, text, backtrans, backcol, pos, size) | |
| 679 | local gui = it(GuiType) | |
| 680 | gui.Parent = parent | |
| 681 | gui.Text = text | |
| 682 | gui.BackgroundTransparency = backtrans | |
| 683 | gui.BackgroundColor3 = backcol | |
| 684 | gui.SizeConstraint = "RelativeXY" | |
| 685 | gui.TextXAlignment = "Center" | |
| 686 | gui.TextYAlignment = "Center" | |
| 687 | gui.Position = pos | |
| 688 | gui.Size = size | |
| 689 | gui.Font = "SourceSans" | |
| 690 | gui.FontSize = "Size14" | |
| 691 | gui.TextWrapped = false | |
| 692 | gui.TextStrokeTransparency = 0 | |
| 693 | gui.TextColor = BrickColor.new("White")
| |
| 694 | return gui | |
| 695 | end | |
| 696 | --------------------------- GUI STUFF | |
| 697 | local basgui = it("GuiMain")
| |
| 698 | basgui.Parent = plr.PlayerGui | |
| 699 | basgui.Name = "VISgui" | |
| 700 | local fullscreenz = it("Frame")
| |
| 701 | fullscreenz.Parent = basgui | |
| 702 | fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255) | |
| 703 | fullscreenz.BackgroundTransparency = 1 | |
| 704 | fullscreenz.BorderColor3 = Color3.new(17, 17, 17) | |
| 705 | fullscreenz.Size = UDim2.new(1, 0, 1, 0) | |
| 706 | fullscreenz.Position = UDim2.new(0, 0, 0, 0) | |
| 707 | local imgl2 = Instance.new("ImageLabel",fullscreenz)
| |
| 708 | imgl2.BackgroundTransparency = 1 | |
| 709 | imgl2.BorderSizePixel = 0 | |
| 710 | imgl2.ImageTransparency = 0.5 | |
| 711 | imgl2.ImageColor3 = Color3.new(1,0,0) | |
| 712 | imgl2.Position = UDim2.new(0.75,-200,0.55,-200) | |
| 713 | imgl2.Size = UDim2.new(0,1000,0,1000) | |
| 714 | imgl2.Image = "rbxassetid://2325939897" | |
| 715 | local techc = imgl2:Clone() | |
| 716 | techc.Parent = fullscreenz | |
| 717 | techc.ImageTransparency = 0 | |
| 718 | techc.Size = UDim2.new(0,900,0,900) | |
| 719 | techc.Position = UDim2.new(0.75,-150,0.55,-150) | |
| 720 | techc.ImageColor3 = Color3.new(1,0,0) | |
| 721 | techc.Image = "rbxassetid://2273224484" | |
| 722 | local circl = imgl2:Clone() | |
| 723 | circl.Parent = fullscreenz | |
| 724 | circl.ImageTransparency = 0 | |
| 725 | circl.Size = UDim2.new(0,550,0,550) | |
| 726 | circl.Position = UDim2.new(0.75,25,0.55,25) | |
| 727 | circl.ImageColor3 = Color3.new(0,0,0) | |
| 728 | circl.Image = "rbxassetid://2312119891" | |
| 729 | local circl2 = imgl2:Clone() | |
| 730 | circl2.Parent = fullscreenz | |
| 731 | circl2.ImageTransparency = 0 | |
| 732 | circl2.Size = UDim2.new(0,700,0,700) | |
| 733 | circl2.Position = UDim2.new(0.75,-50,0.55,-50) | |
| 734 | circl2.ImageColor3 = Color3.new(1,0,0) | |
| 735 | circl2.Image = "rbxassetid://2312119891" | |
| 736 | local imgl2b = imgl2:Clone() | |
| 737 | imgl2b.Parent = fullscreenz | |
| 738 | imgl2b.ImageTransparency = 0 | |
| 739 | imgl2b.Size = UDim2.new(0,800,0,800) | |
| 740 | imgl2b.Position = UDim2.new(0.75,-100,0.55,-100) | |
| 741 | imgl2b.ImageColor3 = Color3.new(0,0,0) | |
| 742 | local ned = Instance.new("TextLabel",fullscreenz)
| |
| 743 | ned.ZIndex = 2 | |
| 744 | ned.Font = "Arcade" | |
| 745 | ned.BackgroundTransparency = 1 | |
| 746 | ned.BorderSizePixel = 0.65 | |
| 747 | ned.Size = UDim2.new(0.3,0,0.2,0) | |
| 748 | ned.Position = UDim2.new(0.7,0,0.8,0) | |
| 749 | ned.TextColor3 = BrickColor.new("Royal purple").Color
| |
| 750 | ned.TextStrokeColor3 = BrickColor.new("Really black").Color
| |
| 751 | ned.TextScaled = true | |
| 752 | ned.TextStrokeTransparency = 0 | |
| 753 | ned.Text = "STAR" | |
| 754 | ned.TextSize = 24 | |
| 755 | ned.Rotation = 1 | |
| 756 | ned.TextXAlignment = "Right" | |
| 757 | ned.TextYAlignment = "Bottom" | |
| 758 | ||
| 759 | local extrawingmod1 = Instance.new("Model",char)
| |
| 760 | local extrawingmod2 = Instance.new("Model",char)
| |
| 761 | ||
| 762 | function CreateParta(parent,transparency,reflectance,material,brickcolor) | |
| 763 | local p = Instance.new("Part")
| |
| 764 | p.TopSurface = 0 | |
| 765 | p.BottomSurface = 0 | |
| 766 | p.Parent = parent | |
| 767 | p.Size = Vector3.new(0.1,0.1,0.1) | |
| 768 | p.Transparency = transparency | |
| 769 | p.Reflectance = reflectance | |
| 770 | p.CanCollide = false | |
| 771 | p.Locked = true | |
| 772 | p.BrickColor = brickcolor | |
| 773 | p.Material = material | |
| 774 | return p | |
| 775 | end | |
| 776 | ||
| 777 | function CreateMesh(parent,meshtype,x1,y1,z1) | |
| 778 | local mesh = Instance.new("SpecialMesh",parent)
| |
| 779 | mesh.MeshType = meshtype | |
| 780 | mesh.Scale = Vector3.new(x1*10,y1*10,z1*10) | |
| 781 | return mesh | |
| 782 | end | |
| 783 | ||
| 784 | function CreateSpecialMesh(parent,meshid,x1,y1,z1) | |
| 785 | local mesh = Instance.new("SpecialMesh",parent)
| |
| 786 | mesh.MeshType = "FileMesh" | |
| 787 | mesh.MeshId = meshid | |
| 788 | mesh.Scale = Vector3.new(x1,y1,z1) | |
| 789 | return mesh | |
| 790 | end | |
| 791 | ||
| 792 | ||
| 793 | function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1) | |
| 794 | local mesh = Instance.new("SpecialMesh",parent)
| |
| 795 | mesh.MeshType = "FileMesh" | |
| 796 | mesh.MeshId = meshid | |
| 797 | mesh.TextureId = "http://www.roblox.com/asset/?id=269748808" | |
| 798 | mesh.Scale = Vector3.new(x1,y1,z1) | |
| 799 | mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b) | |
| 800 | return mesh | |
| 801 | end | |
| 802 | ||
| 803 | function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za) | |
| 804 | local weld = Instance.new("Weld")
| |
| 805 | weld.Parent = parent | |
| 806 | weld.Part0 = part0 | |
| 807 | weld.Part1 = part1 | |
| 808 | weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za) | |
| 809 | weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za) | |
| 810 | return weld | |
| 811 | end | |
| 812 | ||
| 813 | ||
| 814 | -------------- | |
| 815 | -------------- | |
| 816 | local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 817 | 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)) | |
| 818 | local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 819 | 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)) | |
| 820 | ||
| 821 | local handlex = CreateParta(mw2,1,1,"Neon",maincolor) | |
| 822 | CreateMesh(handle,"Brick",0,0,0) | |
| 823 | 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)) | |
| 824 | local valuaring = 10 | |
| 825 | for i = 0, 49 do | |
| 826 | valuaring = valuaring + 10 | |
| 827 | rn = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 828 | CreateMesh(rn,"Brick",0.25,0.1,0.1) | |
| 829 | 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)) | |
| 830 | end | |
| 831 | ||
| 832 | handlex = CreateParta(mw2,1,1,"Neon",maincolor) | |
| 833 | CreateMesh(handle,"Brick",0,0,0) | |
| 834 | 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)) | |
| 835 | local valuaring = 10 | |
| 836 | for i = 0, 49 do | |
| 837 | valuaring = valuaring + 10 | |
| 838 | rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 839 | CreateMesh(rn,"Brick",0.5,0.2,0.2) | |
| 840 | 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)) | |
| 841 | end | |
| 842 | ||
| 843 | ||
| 844 | local handle = CreateParta(m,1,1,"Neon",maincolor) | |
| 845 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 846 | 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)) | |
| 847 | ||
| 848 | --- Left wing. | |
| 849 | ||
| 850 | local lwing1 = CreateParta(m,1,1,"Neon",maincolor) | |
| 851 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 852 | 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)) | |
| 853 | ||
| 854 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 855 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 856 | 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)) | |
| 857 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 858 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 859 | 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)) | |
| 860 | A0 = Instance.new('Attachment',wed)
| |
| 861 | A0.Position = vt(0,0.25,0.25) | |
| 862 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 863 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 864 | 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)) | |
| 865 | A1 = Instance.new('Attachment',wed)
| |
| 866 | A1.Position = vt(0,-0.25,-2) | |
| 867 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 868 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 869 | 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)) | |
| 870 | ||
| 871 | tl1 = Instance.new('Trail',wed)
| |
| 872 | tl1.Attachment0 = A1 | |
| 873 | tl1.Attachment1 = A0 | |
| 874 | tl1.Texture = "rbxassetid://2108945559" | |
| 875 | tl1.LightEmission = 1 | |
| 876 | tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 877 | tl1.Color = ColorSequence.new(BrickColor.new('Royal purple').Color)
| |
| 878 | tl1.Lifetime = 0.6 | |
| 879 | ||
| 880 | ||
| 881 | local lwing2 = CreateParta(m,1,1,"Neon",maincolor) | |
| 882 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 883 | 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)) | |
| 884 | ||
| 885 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 886 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 887 | 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)) | |
| 888 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 889 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 890 | 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)) | |
| 891 | A0 = Instance.new('Attachment',wed)
| |
| 892 | A0.Position = vt(0,0.25,0.25) | |
| 893 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 894 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 895 | 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)) | |
| 896 | A1 = Instance.new('Attachment',wed)
| |
| 897 | A1.Position = vt(0,-0.25,-2) | |
| 898 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 899 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 900 | 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)) | |
| 901 | ||
| 902 | tl2 = Instance.new('Trail',wed)
| |
| 903 | tl2.Attachment0 = A1 | |
| 904 | tl2.Attachment1 = A0 | |
| 905 | tl2.Texture = "rbxassetid://2108945559" | |
| 906 | tl2.LightEmission = 1 | |
| 907 | tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 908 | tl2.Color = ColorSequence.new(BrickColor.new('Royal purple').Color)
| |
| 909 | tl2.Lifetime = 0.6 | |
| 910 | ||
| 911 | local lwing3 = CreateParta(m,1,1,"Neon",maincolor) | |
| 912 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 913 | 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)) | |
| 914 | ||
| 915 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 916 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 917 | 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)) | |
| 918 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 919 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 920 | 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)) | |
| 921 | A0 = Instance.new('Attachment',wed)
| |
| 922 | A0.Position = vt(0,0.25,0.25) | |
| 923 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 924 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 925 | 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)) | |
| 926 | A1 = Instance.new('Attachment',wed)
| |
| 927 | A1.Position = vt(0,-0.25,-2) | |
| 928 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 929 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 930 | 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)) | |
| 931 | ||
| 932 | tl3 = Instance.new('Trail',wed)
| |
| 933 | tl3.Attachment0 = A1 | |
| 934 | tl3.Attachment1 = A0 | |
| 935 | tl3.Texture = "rbxassetid://2108945559" | |
| 936 | tl3.LightEmission = 1 | |
| 937 | tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 938 | tl3.Color = ColorSequence.new(BrickColor.new('Royal purple').Color)
| |
| 939 | tl3.Lifetime = 0.6 | |
| 940 | ||
| 941 | tl1.Enabled = false | |
| 942 | tl2.Enabled = false | |
| 943 | tl3.Enabled = false | |
| 944 | local lwing4 = CreateParta(m,1,1,"Neon",maincolor) | |
| 945 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 946 | 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)) | |
| 947 | ||
| 948 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 949 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 950 | 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)) | |
| 951 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 952 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 953 | 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)) | |
| 954 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 955 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 956 | 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)) | |
| 957 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 958 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 959 | 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)) | |
| 960 | ||
| 961 | local lwing5 = CreateParta(m,1,1,"Neon",maincolor) | |
| 962 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 963 | 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)) | |
| 964 | ||
| 965 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 966 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 967 | 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)) | |
| 968 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 969 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 970 | 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)) | |
| 971 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 972 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 973 | 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)) | |
| 974 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 975 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 976 | 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)) | |
| 977 | ||
| 978 | local lwing6 = CreateParta(m,1,1,"Neon",maincolor) | |
| 979 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 980 | 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)) | |
| 981 | ||
| 982 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 983 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 984 | 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)) | |
| 985 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 986 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 987 | 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)) | |
| 988 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 989 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 990 | 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)) | |
| 991 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 992 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 993 | 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)) | |
| 994 | ||
| 995 | -- Right wing. | |
| 996 | ||
| 997 | local rwing1 = CreateParta(m,1,1,"Neon",maincolor) | |
| 998 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 999 | 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)) | |
| 1000 | ||
| 1001 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 1002 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1003 | 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)) | |
| 1004 | A0 = Instance.new('Attachment',wed)
| |
| 1005 | A0.Position = vt(0,0.25,0.25) | |
| 1006 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 1007 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1008 | 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)) | |
| 1009 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 1010 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 1011 | 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)) | |
| 1012 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 1013 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 1014 | 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)) | |
| 1015 | A1 = Instance.new('Attachment',wed)
| |
| 1016 | A1.Position = vt(0,2,0.25) | |
| 1017 | ||
| 1018 | tr1 = Instance.new('Trail',wed)
| |
| 1019 | tr1.Attachment0 = A1 | |
| 1020 | tr1.Attachment1 = A0 | |
| 1021 | tr1.Texture = "rbxassetid://2108945559" | |
| 1022 | tr1.LightEmission = 1 | |
| 1023 | tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 1024 | tr1.Color = ColorSequence.new(BrickColor.new('Royal purple').Color)
| |
| 1025 | tr1.Lifetime = 0.6 | |
| 1026 | ||
| 1027 | local rwing2 = CreateParta(m,1,1,"Neon",maincolor) | |
| 1028 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 1029 | 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)) | |
| 1030 | ||
| 1031 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 1032 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1033 | 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)) | |
| 1034 | A0 = Instance.new('Attachment',wed)
| |
| 1035 | A0.Position = vt(0,0.25,0.25) | |
| 1036 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 1037 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1038 | 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)) | |
| 1039 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 1040 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 1041 | 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)) | |
| 1042 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 1043 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 1044 | 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)) | |
| 1045 | A1 = Instance.new('Attachment',wed)
| |
| 1046 | A1.Position = vt(0,2,0.25) | |
| 1047 | ||
| 1048 | tr2 = Instance.new('Trail',wed)
| |
| 1049 | tr2.Attachment0 = A1 | |
| 1050 | tr2.Attachment1 = A0 | |
| 1051 | tr2.Texture = "rbxassetid://2108945559" | |
| 1052 | tr2.LightEmission = 1 | |
| 1053 | tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 1054 | tr2.Color = ColorSequence.new(BrickColor.new('Royal purple').Color)
| |
| 1055 | tr2.Lifetime = 0.6 | |
| 1056 | ||
| 1057 | local rwing3 = CreateParta(m,1,1,"Neon",maincolor) | |
| 1058 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 1059 | 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)) | |
| 1060 | ||
| 1061 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 1062 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1063 | 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)) | |
| 1064 | A0 = Instance.new('Attachment',wed)
| |
| 1065 | A0.Position = vt(0,0.25,0.25) | |
| 1066 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 1067 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1068 | 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)) | |
| 1069 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 1070 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 1071 | 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)) | |
| 1072 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 1073 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 1074 | 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)) | |
| 1075 | A1 = Instance.new('Attachment',wed)
| |
| 1076 | A1.Position = vt(0,2,0.25) | |
| 1077 | ||
| 1078 | tr3 = Instance.new('Trail',wed)
| |
| 1079 | tr3.Attachment0 = A1 | |
| 1080 | tr3.Attachment1 = A0 | |
| 1081 | tr3.Texture = "rbxassetid://2108945559" | |
| 1082 | tr3.LightEmission = 1 | |
| 1083 | tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 1084 | tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
| |
| 1085 | tr3.Lifetime = 0.6 | |
| 1086 | ||
| 1087 | ||
| 1088 | local rwing4 = CreateParta(m,1,1,"Neon",maincolor) | |
| 1089 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 1090 | 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)) | |
| 1091 | ||
| 1092 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1093 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1094 | 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)) | |
| 1095 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1096 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1097 | 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)) | |
| 1098 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1099 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 1100 | 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)) | |
| 1101 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1102 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 1103 | 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)) | |
| 1104 | ||
| 1105 | local rwing5 = CreateParta(m,1,1,"Neon",maincolor) | |
| 1106 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 1107 | 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)) | |
| 1108 | ||
| 1109 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1110 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1111 | 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)) | |
| 1112 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1113 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1114 | 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)) | |
| 1115 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1116 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 1117 | 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)) | |
| 1118 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1119 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 1120 | 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)) | |
| 1121 | ||
| 1122 | local rwing6 = CreateParta(m,1,1,"Neon",maincolor) | |
| 1123 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 1124 | 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)) | |
| 1125 | ||
| 1126 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1127 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1128 | 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)) | |
| 1129 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1130 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1131 | 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)) | |
| 1132 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1133 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 1134 | 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)) | |
| 1135 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1136 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 1137 | 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)) | |
| 1138 | ||
| 1139 | ---- HERES THE RING | |
| 1140 | ||
| 1141 | ||
| 1142 | --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor) | |
| 1143 | CreateMesh(ran,"Wedge",1.02,1.02,1.02) | |
| 1144 | 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)) | |
| 1145 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1146 | CreateMesh(ran,"Wedge",0.9,0.9,1.025) | |
| 1147 | 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)) | |
| 1148 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1149 | CreateMesh(ran,"Wedge",1.025,0.9,0.9) | |
| 1150 | 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)) | |
| 1151 | ||
| 1152 | ||
| 1153 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1154 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
| 1155 | 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)) | |
| 1156 | ||
| 1157 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1158 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
| 1159 | 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)) | |
| 1160 | ||
| 1161 | ||
| 1162 | ||
| 1163 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
| 1164 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
| 1165 | 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)) | |
| 1166 | ||
| 1167 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
| 1168 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
| 1169 | 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)) | |
| 1170 | ||
| 1171 | gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2) | |
| 1172 | CreateMesh(gane,"Brick",1.0625,0.2,1.0625) | |
| 1173 | 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)) | |
| 1174 | ||
| 1175 | star = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1176 | CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5) | |
| 1177 | 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)) | |
| 1178 | starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor) | |
| 1179 | CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95) | |
| 1180 | 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)) | |
| 1181 | ||
| 1182 | --- second ring | |
| 1183 | ||
| 1184 | ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor) | |
| 1185 | CreateMesh(ran,"Wedge",1.02,1.02,1.02) | |
| 1186 | 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)) | |
| 1187 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1188 | CreateMesh(ran,"Wedge",0.9,0.9,1.025) | |
| 1189 | 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)) | |
| 1190 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1191 | CreateMesh(ran,"Wedge",1.025,0.9,0.9) | |
| 1192 | 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)) | |
| 1193 | ||
| 1194 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1195 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
| 1196 | 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)) | |
| 1197 | ||
| 1198 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1199 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
| 1200 | 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)) | |
| 1201 | ||
| 1202 | ||
| 1203 | ||
| 1204 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
| 1205 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
| 1206 | 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)) | |
| 1207 | ||
| 1208 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
| 1209 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
| 1210 | 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)) | |
| 1211 | ||
| 1212 | gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2) | |
| 1213 | CreateMesh(gane,"Brick",1.0625,0.2,1.0625) | |
| 1214 | 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)) | |
| 1215 | ||
| 1216 | star = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1217 | CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5) | |
| 1218 | 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)) | |
| 1219 | starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor) | |
| 1220 | CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95) | |
| 1221 | 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))]]-- | |
| 1222 | ||
| 1223 | ||
| 1224 | ||
| 1225 | for i, v in pairs(m:GetChildren()) do | |
| 1226 | if v:IsA("Part") then
| |
| 1227 | v.BrickColor = BrickColor.new("Really black")
| |
| 1228 | v.Material = "Glass" | |
| 1229 | end | |
| 1230 | end | |
| 1231 | for i, v in pairs(m2:GetChildren()) do | |
| 1232 | if v:IsA("Part") then
| |
| 1233 | v.BrickColor = BrickColor.new("Crimson")
| |
| 1234 | v.Material = "Granite" | |
| 1235 | end | |
| 1236 | end | |
| 1237 | for i, v in pairs(m3:GetChildren()) do | |
| 1238 | if v:IsA("Part") then
| |
| 1239 | v.BrickColor = BrickColor.new("Really red")
| |
| 1240 | v.Material = "Neon" | |
| 1241 | end | |
| 1242 | end | |
| 1243 | for i, v in pairs(mw2:GetChildren()) do | |
| 1244 | if v:IsA("Part") then
| |
| 1245 | v.BrickColor = BrickColor.new("Royal purple")
| |
| 1246 | v.Material = "Neon" | |
| 1247 | end | |
| 1248 | end | |
| 1249 | for i, v in pairs(mw1:GetChildren()) do | |
| 1250 | if v:IsA("Part") then
| |
| 1251 | v.Transparency = 0 | |
| 1252 | v.BrickColor = BrickColor.new("Royal purple")
| |
| 1253 | v.Material = "Neon" | |
| 1254 | end | |
| 1255 | end | |
| 1256 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 1257 | if v:IsA("Part") then
| |
| 1258 | v.Transparency = 0.75 | |
| 1259 | v.BrickColor = BrickColor.new("Royal pruple")
| |
| 1260 | v.Material = "Neon" | |
| 1261 | end | |
| 1262 | end | |
| 1263 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 1264 | if v:IsA("Part") then
| |
| 1265 | v.Transparency = 0.75 | |
| 1266 | v.BrickColor = BrickColor.new("Royal pruple")
| |
| 1267 | v.Material = "Neon" | |
| 1268 | end | |
| 1269 | end | |
| 1270 | local MAINRUINCOLOR = BrickColor.new("Really red")
| |
| 1271 | ------ | |
| 1272 | ||
| 1273 | ||
| 1274 | function RemoveOutlines(part) | |
| 1275 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 1276 | end | |
| 1277 | function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 1278 | local Part = Create("Part")({
| |
| 1279 | Parent = Parent, | |
| 1280 | Reflectance = Reflectance, | |
| 1281 | Transparency = Transparency, | |
| 1282 | CanCollide = false, | |
| 1283 | Locked = true, | |
| 1284 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 1285 | Name = Name, | |
| 1286 | Size = Size, | |
| 1287 | Material = Material | |
| 1288 | }) | |
| 1289 | Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001) | |
| 1290 | RemoveOutlines(Part) | |
| 1291 | return Part | |
| 1292 | end | |
| 1293 | function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 1294 | local Msh = Create(Mesh)({
| |
| 1295 | Parent = Part, | |
| 1296 | Offset = OffSet, | |
| 1297 | Scale = Scale | |
| 1298 | }) | |
| 1299 | if Mesh == "SpecialMesh" then | |
| 1300 | Msh.MeshType = MeshType | |
| 1301 | Msh.MeshId = MeshId | |
| 1302 | end | |
| 1303 | return Msh | |
| 1304 | end | |
| 1305 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
| 1306 | local Weld = Create("Weld")({
| |
| 1307 | Parent = Parent, | |
| 1308 | Part0 = Part0, | |
| 1309 | Part1 = Part1, | |
| 1310 | C0 = C0, | |
| 1311 | C1 = C1 | |
| 1312 | }) | |
| 1313 | return Weld | |
| 1314 | end | |
| 1315 | ||
| 1316 | Character=Player.Character | |
| 1317 | PlayerGui=Player.PlayerGui | |
| 1318 | Backpack=Player.Backpack | |
| 1319 | Torso=Character.Torso | |
| 1320 | Head=Character.Head | |
| 1321 | Humanoid=Character.Humanoid | |
| 1322 | m=Instance.new('Model',Character)
| |
| 1323 | LeftArm=Character["Left Arm"] | |
| 1324 | LeftLeg=Character["Left Leg"] | |
| 1325 | RightArm=Character["Right Arm"] | |
| 1326 | RightLeg=Character["Right Leg"] | |
| 1327 | LS=Torso["Left Shoulder"] | |
| 1328 | LH=Torso["Left Hip"] | |
| 1329 | RS=Torso["Right Shoulder"] | |
| 1330 | RH=Torso["Right Hip"] | |
| 1331 | Face = Head.face | |
| 1332 | Neck=Torso.Neck | |
| 1333 | it=Instance.new | |
| 1334 | attacktype=1 | |
| 1335 | vt=Vector3.new | |
| 1336 | cf=CFrame.new | |
| 1337 | euler=CFrame.fromEulerAnglesXYZ | |
| 1338 | angles=CFrame.Angles | |
| 1339 | cloaked=false | |
| 1340 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 1341 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 1342 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
| 1343 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
| 1344 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
| 1345 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
| 1346 | RootPart=Character.HumanoidRootPart | |
| 1347 | RootJoint=RootPart.RootJoint | |
| 1348 | RootCF=euler(-1.57,0,3.14) | |
| 1349 | attack = false | |
| 1350 | attackdebounce = false | |
| 1351 | deb=false | |
| 1352 | equipped=true | |
| 1353 | hand=false | |
| 1354 | combo=0 | |
| 1355 | mana=0 | |
| 1356 | trispeed=.2 | |
| 1357 | attackmode='none' | |
| 1358 | local idle=0 | |
| 1359 | local Anim="Idle" | |
| 1360 | local Effects={}
| |
| 1361 | local gun=false | |
| 1362 | local shoot=false | |
| 1363 | local sine = 0 | |
| 1364 | local change = 1 | |
| 1365 | ||
| 1366 | function RecolorTextAndRename(name,col1,col2,font) | |
| 1367 | modet.TextStrokeColor3 = col2 | |
| 1368 | modet.TextColor3 = col1 | |
| 1369 | modet.Font = font | |
| 1370 | modet.Text = name | |
| 1371 | techc.ImageColor3 = col2 | |
| 1372 | circl.ImageColor3 = col2 | |
| 1373 | circl2.ImageColor3 = col1 | |
| 1374 | imgl2.ImageColor3 = col1 | |
| 1375 | imgl2b.ImageColor3 = col2 | |
| 1376 | ned.Text = name | |
| 1377 | ned.TextColor3 = col1 | |
| 1378 | ned.TextStrokeColor3 = col2 | |
| 1379 | end | |
| 1380 | --save shoulders | |
| 1381 | RSH, LSH=nil, nil | |
| 1382 | --welds | |
| 1383 | RW, LW=Instance.new("Weld"), Instance.new("Weld")
| |
| 1384 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
| 1385 | LH=Torso["Left Hip"] | |
| 1386 | RH=Torso["Right Hip"] | |
| 1387 | TorsoColor=Torso.BrickColor | |
| 1388 | function NoOutline(Part) | |
| 1389 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
| 1390 | end | |
| 1391 | ch=Character | |
| 1392 | RSH=ch.Torso["Right Shoulder"] | |
| 1393 | LSH=ch.Torso["Left Shoulder"] | |
| 1394 | -- | |
| 1395 | RSH.Parent=nil | |
| 1396 | LSH.Parent=nil | |
| 1397 | -- | |
| 1398 | RW.Name="Right Shoulder" | |
| 1399 | RW.Part0=ch.Torso | |
| 1400 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
| 1401 | RW.C1=cf(0, 0.5, 0) | |
| 1402 | RW.Part1=ch["Right Arm"] | |
| 1403 | RW.Parent=ch.Torso | |
| 1404 | -- | |
| 1405 | LW.Name="Left Shoulder" | |
| 1406 | LW.Part0=ch.Torso | |
| 1407 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
| 1408 | LW.C1=cf(0, 0.5, 0) | |
| 1409 | LW.Part1=ch["Left Arm"] | |
| 1410 | LW.Parent=ch.Torso | |
| 1411 | ||
| 1412 | local Stats=Instance.new("BoolValue")
| |
| 1413 | Stats.Name="Stats" | |
| 1414 | Stats.Parent=Character | |
| 1415 | local Atk=Instance.new("NumberValue")
| |
| 1416 | Atk.Name="Damage" | |
| 1417 | Atk.Parent=Stats | |
| 1418 | Atk.Value=1 | |
| 1419 | local Def=Instance.new("NumberValue")
| |
| 1420 | Def.Name="Defense" | |
| 1421 | Def.Parent=Stats | |
| 1422 | Def.Value=1 | |
| 1423 | local Speed=Instance.new("NumberValue")
| |
| 1424 | Speed.Name="Speed" | |
| 1425 | Speed.Parent=Stats | |
| 1426 | Speed.Value=1 | |
| 1427 | local Mvmt=Instance.new("NumberValue")
| |
| 1428 | Mvmt.Name="Movement" | |
| 1429 | Mvmt.Parent=Stats | |
| 1430 | Mvmt.Value=1 | |
| 1431 | ||
| 1432 | local donum=0 | |
| 1433 | ||
| 1434 | ||
| 1435 | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
| 1436 | local fp=it("Part")
| |
| 1437 | fp.formFactor=formfactor | |
| 1438 | fp.Parent=parent | |
| 1439 | fp.Reflectance=reflectance | |
| 1440 | fp.Transparency=transparency | |
| 1441 | fp.CanCollide=false | |
| 1442 | fp.Locked=true | |
| 1443 | fp.BrickColor=brickcolor | |
| 1444 | fp.Name=name | |
| 1445 | fp.Size=size | |
| 1446 | fp.Position=Torso.Position | |
| 1447 | NoOutline(fp) | |
| 1448 | fp.Material="SmoothPlastic" | |
| 1449 | fp:BreakJoints() | |
| 1450 | return fp | |
| 1451 | end | |
| 1452 | ||
| 1453 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
| 1454 | local mesh=it(Mesh) | |
| 1455 | mesh.Parent=part | |
| 1456 | if Mesh=="SpecialMesh" then | |
| 1457 | mesh.MeshType=meshtype | |
| 1458 | if meshid~="nil" then | |
| 1459 | mesh.MeshId="http://www.roblox.com/asset/?id="..meshid | |
| 1460 | end | |
| 1461 | end | |
| 1462 | mesh.Offset=offset | |
| 1463 | mesh.Scale=scale | |
| 1464 | return mesh | |
| 1465 | end | |
| 1466 | ||
| 1467 | function weld(parent,part0,part1,c0) | |
| 1468 | local weld=it("Weld")
| |
| 1469 | weld.Parent=parent | |
| 1470 | weld.Part0=part0 | |
| 1471 | weld.Part1=part1 | |
| 1472 | weld.C0=c0 | |
| 1473 | return weld | |
| 1474 | end | |
| 1475 | ||
| 1476 | local Color1=Torso.BrickColor | |
| 1477 | ||
| 1478 | local bodvel=Instance.new("BodyVelocity")
| |
| 1479 | local bg=Instance.new("BodyGyro")
| |
| 1480 | ||
| 1481 | --------- SazEreno's Artificial HB -------------- | |
| 1482 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 1483 | ArtificialHB.Name = "ArtificialHB" | |
| 1484 | ||
| 1485 | script:WaitForChild("ArtificialHB")
| |
| 1486 | Frame_Speed = 1 / 60 | |
| 1487 | frame = Frame_Speed | |
| 1488 | tf = 0 | |
| 1489 | allowframeloss = false | |
| 1490 | tossremainder = false | |
| 1491 | lastframe = tick() | |
| 1492 | script.ArtificialHB:Fire() | |
| 1493 | ||
| 1494 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 1495 | tf = tf + s | |
| 1496 | if tf >= frame then | |
| 1497 | if allowframeloss then | |
| 1498 | script.ArtificialHB:Fire() | |
| 1499 | lastframe = tick() | |
| 1500 | else | |
| 1501 | for i = 1, math.floor(tf / frame) do | |
| 1502 | script.ArtificialHB:Fire() | |
| 1503 | end | |
| 1504 | lastframe = tick() | |
| 1505 | end | |
| 1506 | if tossremainder then | |
| 1507 | tf = 0 | |
| 1508 | else | |
| 1509 | tf = tf - frame * math.floor(tf / frame) | |
| 1510 | end | |
| 1511 | end | |
| 1512 | end) | |
| 1513 | ||
| 1514 | ------------------ | |
| 1515 | function swait(num) | |
| 1516 | function swait(num) | |
| 1517 | if num==0 or num==nil then | |
| 1518 | game:service'RunService'.Stepped:wait(0) | |
| 1519 | else | |
| 1520 | for i=0,num do | |
| 1521 | game:service'RunService'.Stepped:wait(0) | |
| 1522 | end | |
| 1523 | end | |
| 1524 | end | |
| 1525 | end | |
| 1526 | ||
| 1527 | -------- RAINBOW LEAVE IT TO ME | |
| 1528 | local r = 255 | |
| 1529 | local g = 0 | |
| 1530 | local b = 0 | |
| 1531 | coroutine.resume(coroutine.create(function() | |
| 1532 | while wait() do | |
| 1533 | for i = 0, 254/5 do | |
| 1534 | swait() | |
| 1535 | g = g + 5 | |
| 1536 | end | |
| 1537 | for i = 0, 254/5 do | |
| 1538 | swait() | |
| 1539 | r = r - 5 | |
| 1540 | end | |
| 1541 | for i = 0, 254/5 do | |
| 1542 | swait() | |
| 1543 | b = b + 5 | |
| 1544 | end | |
| 1545 | for i = 0, 254/5 do | |
| 1546 | swait() | |
| 1547 | g = g - 5 | |
| 1548 | end | |
| 1549 | for i = 0, 254/5 do | |
| 1550 | swait() | |
| 1551 | r = r + 5 | |
| 1552 | end | |
| 1553 | for i = 0, 254/5 do | |
| 1554 | swait() | |
| 1555 | b = b - 5 | |
| 1556 | end | |
| 1557 | end | |
| 1558 | end)) | |
| 1559 | ||
| 1560 | ||
| 1561 | so = function(id,par,vol,pit) | |
| 1562 | coroutine.resume(coroutine.create(function() | |
| 1563 | local sou = Instance.new("Sound",par or workspace)
| |
| 1564 | sou.Volume=vol | |
| 1565 | sou.Pitch=pit or 1 | |
| 1566 | sou.SoundId=id | |
| 1567 | swait() | |
| 1568 | sou:play() | |
| 1569 | game:GetService("Debris"):AddItem(sou,6)
| |
| 1570 | end)) | |
| 1571 | end | |
| 1572 | ||
| 1573 | function clerp(a,b,t) | |
| 1574 | local qa = {QuaternionFromCFrame(a)}
| |
| 1575 | local qb = {QuaternionFromCFrame(b)}
| |
| 1576 | local ax, ay, az = a.x, a.y, a.z | |
| 1577 | local bx, by, bz = b.x, b.y, b.z | |
| 1578 | local _t = 1-t | |
| 1579 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
| 1580 | end | |
| 1581 | ||
| 1582 | function QuaternionFromCFrame(cf) | |
| 1583 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 1584 | local trace = m00 + m11 + m22 | |
| 1585 | if trace > 0 then | |
| 1586 | local s = math.sqrt(1 + trace) | |
| 1587 | local recip = 0.5/s | |
| 1588 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
| 1589 | else | |
| 1590 | local i = 0 | |
| 1591 | if m11 > m00 then | |
| 1592 | i = 1 | |
| 1593 | end | |
| 1594 | if m22 > (i == 0 and m00 or m11) then | |
| 1595 | i = 2 | |
| 1596 | end | |
| 1597 | if i == 0 then | |
| 1598 | local s = math.sqrt(m00-m11-m22+1) | |
| 1599 | local recip = 0.5/s | |
| 1600 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
| 1601 | elseif i == 1 then | |
| 1602 | local s = math.sqrt(m11-m22-m00+1) | |
| 1603 | local recip = 0.5/s | |
| 1604 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
| 1605 | elseif i == 2 then | |
| 1606 | local s = math.sqrt(m22-m00-m11+1) | |
| 1607 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
| 1608 | end | |
| 1609 | end | |
| 1610 | end | |
| 1611 | ||
| 1612 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 1613 | local xs, ys, zs = x + x, y + y, z + z | |
| 1614 | local wx, wy, wz = w*xs, w*ys, w*zs | |
| 1615 | local xx = x*xs | |
| 1616 | local xy = x*ys | |
| 1617 | local xz = x*zs | |
| 1618 | local yy = y*ys | |
| 1619 | local yz = y*zs | |
| 1620 | local zz = z*zs | |
| 1621 | 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)) | |
| 1622 | end | |
| 1623 | ||
| 1624 | function QuaternionSlerp(a, b, t) | |
| 1625 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
| 1626 | local startInterp, finishInterp; | |
| 1627 | if cosTheta >= 0.0001 then | |
| 1628 | if (1 - cosTheta) > 0.0001 then | |
| 1629 | local theta = math.acos(cosTheta) | |
| 1630 | local invSinTheta = 1/math.sin(theta) | |
| 1631 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
| 1632 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 1633 | else | |
| 1634 | startInterp = 1-t | |
| 1635 | finishInterp = t | |
| 1636 | end | |
| 1637 | else | |
| 1638 | if (1+cosTheta) > 0.0001 then | |
| 1639 | local theta = math.acos(-cosTheta) | |
| 1640 | local invSinTheta = 1/math.sin(theta) | |
| 1641 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
| 1642 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 1643 | else | |
| 1644 | startInterp = t-1 | |
| 1645 | finishInterp = t | |
| 1646 | end | |
| 1647 | end | |
| 1648 | 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 | |
| 1649 | end | |
| 1650 | ||
| 1651 | local function CFrameFromTopBack(at, top, back) | |
| 1652 | local right = top:Cross(back) | |
| 1653 | return CFrame.new(at.x, at.y, at.z, | |
| 1654 | right.x, top.x, back.x, | |
| 1655 | right.y, top.y, back.y, | |
| 1656 | right.z, top.z, back.z) | |
| 1657 | end | |
| 1658 | ||
| 1659 | function Triangle(a, b, c) | |
| 1660 | local edg1 = (c-a):Dot((b-a).unit) | |
| 1661 | local edg2 = (a-b):Dot((c-b).unit) | |
| 1662 | local edg3 = (b-c):Dot((a-c).unit) | |
| 1663 | if edg1 <= (b-a).magnitude and edg1 >= 0 then | |
| 1664 | a, b, c = a, b, c | |
| 1665 | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then | |
| 1666 | a, b, c = b, c, a | |
| 1667 | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then | |
| 1668 | a, b, c = c, a, b | |
| 1669 | else | |
| 1670 | assert(false, "unreachable") | |
| 1671 | end | |
| 1672 | ||
| 1673 | local len1 = (c-a):Dot((b-a).unit) | |
| 1674 | local len2 = (b-a).magnitude - len1 | |
| 1675 | local width = (a + (b-a).unit*len1 - c).magnitude | |
| 1676 | ||
| 1677 | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) | |
| 1678 | ||
| 1679 | local list = {}
| |
| 1680 | ||
| 1681 | if len1 > 0.01 then | |
| 1682 | local w1 = Instance.new('WedgePart', m)
| |
| 1683 | game:GetService("Debris"):AddItem(w1,5)
| |
| 1684 | w1.Material = "SmoothPlastic" | |
| 1685 | w1.FormFactor = 'Custom' | |
| 1686 | w1.BrickColor = BrickColor.new("Really red")
| |
| 1687 | w1.Transparency = 0 | |
| 1688 | w1.Reflectance = 0 | |
| 1689 | w1.Material = "SmoothPlastic" | |
| 1690 | w1.CanCollide = false | |
| 1691 | local l1 = Instance.new("PointLight",w1)
| |
| 1692 | l1.Color = Color3.new(170,0,0) | |
| 1693 | NoOutline(w1) | |
| 1694 | local sz = Vector3.new(0.2, width, len1) | |
| 1695 | w1.Size = sz | |
| 1696 | local sp = Instance.new("SpecialMesh",w1)
| |
| 1697 | sp.MeshType = "Wedge" | |
| 1698 | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size | |
| 1699 | w1:BreakJoints() | |
| 1700 | w1.Anchored = true | |
| 1701 | w1.Parent = workspace | |
| 1702 | w1.Transparency = 0.7 | |
| 1703 | table.insert(Effects,{w1,"Disappear",.01})
| |
| 1704 | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) | |
| 1705 | table.insert(list,w1) | |
| 1706 | end | |
| 1707 | ||
| 1708 | if len2 > 0.01 then | |
| 1709 | local w2 = Instance.new('WedgePart', m)
| |
| 1710 | game:GetService("Debris"):AddItem(w2,5)
| |
| 1711 | w2.Material = "SmoothPlastic" | |
| 1712 | w2.FormFactor = 'Custom' | |
| 1713 | w2.BrickColor = BrickColor.new("Really red")
| |
| 1714 | w2.Transparency = 0 | |
| 1715 | w2.Reflectance = 0 | |
| 1716 | w2.Material = "SmoothPlastic" | |
| 1717 | w2.CanCollide = false | |
| 1718 | local l2 = Instance.new("PointLight",w2)
| |
| 1719 | l2.Color = Color3.new(170,0,0) | |
| 1720 | NoOutline(w2) | |
| 1721 | local sz = Vector3.new(0.2, width, len2) | |
| 1722 | w2.Size = sz | |
| 1723 | local sp = Instance.new("SpecialMesh",w2)
| |
| 1724 | sp.MeshType = "Wedge" | |
| 1725 | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size | |
| 1726 | w2:BreakJoints() | |
| 1727 | w2.Anchored = true | |
| 1728 | w2.Parent = workspace | |
| 1729 | w2.Transparency = 0.7 | |
| 1730 | table.insert(Effects,{w2,"Disappear",.01})
| |
| 1731 | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) | |
| 1732 | table.insert(list,w2) | |
| 1733 | end | |
| 1734 | return unpack(list) | |
| 1735 | end | |
| 1736 | ||
| 1737 | ||
| 1738 | function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 1739 | if hit.Parent == nil then | |
| 1740 | return | |
| 1741 | end | |
| 1742 | local h = hit.Parent:FindFirstChildOfClass("Humanoid")
| |
| 1743 | for _, v in pairs(hit.Parent:children()) do | |
| 1744 | if v:IsA("Humanoid") then
| |
| 1745 | h = v | |
| 1746 | end | |
| 1747 | end | |
| 1748 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
| |
| 1749 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
| |
| 1750 | return | |
| 1751 | end | |
| 1752 | local c = Create("ObjectValue")({
| |
| 1753 | Name = "creator", | |
| 1754 | Value = game:GetService("Players").LocalPlayer,
| |
| 1755 | Parent = h | |
| 1756 | }) | |
| 1757 | game:GetService("Debris"):AddItem(c, 0.5)
| |
| 1758 | if HitSound ~= nil and HitPitch ~= nil then | |
| 1759 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
| 1760 | end | |
| 1761 | local Damage = math.random(minim, maxim) | |
| 1762 | local blocked = false | |
| 1763 | local block = hit.Parent:findFirstChild("Block")
| |
| 1764 | if block ~= nil and block.className == "IntValue" and block.Value > 0 then | |
| 1765 | blocked = true | |
| 1766 | block.Value = block.Value - 1 | |
| 1767 | print(block.Value) | |
| 1768 | end | |
| 1769 | if blocked == false then | |
| 1770 | HitHealth = h.Health | |
| 1771 | h.MaxHealth = 100 | |
| 1772 | h.Health = h.Health - Damage | |
| 1773 | if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then | |
| 1774 | print("gained kill")
| |
| 1775 | dmg(h.Parent) | |
| 1776 | end | |
| 1777 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
| 1778 | else | |
| 1779 | h.Health = h.Health - Damage / 2 | |
| 1780 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
| 1781 | end | |
| 1782 | if Type == "Knockdown" then | |
| 1783 | local hum = hit.Parent.Humanoid | |
| 1784 | hum.PlatformStand = true | |
| 1785 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 1786 | swait(1) | |
| 1787 | HHumanoid.PlatformStand = false | |
| 1788 | end), hum) | |
| 1789 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
| 1790 | local bodvol = Create("BodyVelocity")({
| |
| 1791 | velocity = angle * knockback, | |
| 1792 | P = 5000, | |
| 1793 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 1794 | Parent = hit | |
| 1795 | }) | |
| 1796 | local rl = Create("BodyAngularVelocity")({
| |
| 1797 | P = 3000, | |
| 1798 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
| 1799 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
| 1800 | Parent = hit | |
| 1801 | }) | |
| 1802 | game:GetService("Debris"):AddItem(bodvol, 0.5)
| |
| 1803 | game:GetService("Debris"):AddItem(rl, 0.5)
| |
| 1804 | elseif Type == "Normal" then | |
| 1805 | local vp = Create("BodyVelocity")({
| |
| 1806 | P = 500, | |
| 1807 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
| 1808 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
| 1809 | }) | |
| 1810 | if knockback > 0 then | |
| 1811 | vp.Parent = hit.Parent.Head | |
| 1812 | end | |
| 1813 | game:GetService("Debris"):AddItem(vp, 0.5)
| |
| 1814 | elseif Type == "Up" then | |
| 1815 | local bodyVelocity = Create("BodyVelocity")({
| |
| 1816 | velocity = Vector3.new(0, 20, 0), | |
| 1817 | P = 5000, | |
| 1818 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 1819 | Parent = hit | |
| 1820 | }) | |
| 1821 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
| |
| 1822 | local bodyVelocity = Create("BodyVelocity")({
| |
| 1823 | velocity = Vector3.new(0, 20, 0), | |
| 1824 | P = 5000, | |
| 1825 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 1826 | Parent = hit | |
| 1827 | }) | |
| 1828 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 1829 | elseif Type == "Leech" then | |
| 1830 | local hum = hit.Parent.Humanoid | |
| 1831 | if hum ~= nil then | |
| 1832 | for i = 0, 2 do | |
| 1833 | 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)
| |
| 1834 | end | |
| 1835 | Humanoid.Health = Humanoid.Health + 10 | |
| 1836 | end | |
| 1837 | elseif Type == "UpKnock" then | |
| 1838 | local hum = hit.Parent.Humanoid | |
| 1839 | hum.PlatformStand = true | |
| 1840 | if hum ~= nil then | |
| 1841 | hitr = true | |
| 1842 | end | |
| 1843 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 1844 | swait(5) | |
| 1845 | HHumanoid.PlatformStand = false | |
| 1846 | hitr = false | |
| 1847 | end), hum) | |
| 1848 | local bodyVelocity = Create("BodyVelocity")({
| |
| 1849 | velocity = Vector3.new(0, 20, 0), | |
| 1850 | P = 5000, | |
| 1851 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 1852 | Parent = hit | |
| 1853 | }) | |
| 1854 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
| |
| 1855 | local bodyVelocity = Create("BodyVelocity")({
| |
| 1856 | velocity = Vector3.new(0, 20, 0), | |
| 1857 | P = 5000, | |
| 1858 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 1859 | Parent = hit | |
| 1860 | }) | |
| 1861 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 1862 | elseif Type == "Snare" then | |
| 1863 | local bp = Create("BodyPosition")({
| |
| 1864 | P = 2000, | |
| 1865 | D = 100, | |
| 1866 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 1867 | position = hit.Parent.Torso.Position, | |
| 1868 | Parent = hit.Parent.Torso | |
| 1869 | }) | |
| 1870 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 1871 | elseif Type == "Slashnare" then | |
| 1872 | 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)
| |
| 1873 | for i = 1, math.random(4, 5) do | |
| 1874 | 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)
| |
| 1875 | end | |
| 1876 | local bp = Create("BodyPosition")({
| |
| 1877 | P = 2000, | |
| 1878 | D = 100, | |
| 1879 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 1880 | position = hit.Parent.Torso.Position, | |
| 1881 | Parent = hit.Parent.Torso | |
| 1882 | }) | |
| 1883 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 1884 | elseif Type == "Spike" then | |
| 1885 | CreateBigIceSword(hit.Parent.Torso.CFrame) | |
| 1886 | local bp = Create("BodyPosition")({
| |
| 1887 | P = 2000, | |
| 1888 | D = 100, | |
| 1889 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 1890 | position = hit.Parent.Torso.Position, | |
| 1891 | Parent = hit.Parent.Torso | |
| 1892 | }) | |
| 1893 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 1894 | elseif Type == "Freeze" then | |
| 1895 | local BodPos = Create("BodyPosition")({
| |
| 1896 | P = 50000, | |
| 1897 | D = 1000, | |
| 1898 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 1899 | position = hit.Parent.Torso.Position, | |
| 1900 | Parent = hit.Parent.Torso | |
| 1901 | }) | |
| 1902 | local BodGy = Create("BodyGyro")({
| |
| 1903 | maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, | |
| 1904 | P = 20000, | |
| 1905 | Parent = hit.Parent.Torso, | |
| 1906 | cframe = hit.Parent.Torso.CFrame | |
| 1907 | }) | |
| 1908 | hit.Parent.Torso.Anchored = true | |
| 1909 | coroutine.resume(coroutine.create(function(Part) | |
| 1910 | swait(1.5) | |
| 1911 | Part.Anchored = false | |
| 1912 | end), hit.Parent.Torso) | |
| 1913 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 1914 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 1915 | end | |
| 1916 | local debounce = Create("BoolValue")({
| |
| 1917 | Name = "DebounceHit", | |
| 1918 | Parent = hit.Parent, | |
| 1919 | Value = true | |
| 1920 | }) | |
| 1921 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 1922 | c = Instance.new("ObjectValue")
| |
| 1923 | c.Name = "creator" | |
| 1924 | c.Value = Player | |
| 1925 | c.Parent = h | |
| 1926 | game:GetService("Debris"):AddItem(c, 0.5)
| |
| 1927 | end | |
| 1928 | end | |
| 1929 | function ShowDamage(Pos, Text, Time, Color) | |
| 1930 | local Rate = 0.03333333333333333 | |
| 1931 | local Pos = Pos or Vector3.new(0, 0, 0) | |
| 1932 | local Text = Text or "" | |
| 1933 | local Time = Time or 2 | |
| 1934 | local Color = Color or Color3.new(1, 0, 1) | |
| 1935 | local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
| 1936 | EffectPart.Anchored = true | |
| 1937 | local BillboardGui = Create("BillboardGui")({
| |
| 1938 | Size = UDim2.new(3, 0, 3, 0), | |
| 1939 | Adornee = EffectPart, | |
| 1940 | Parent = EffectPart | |
| 1941 | }) | |
| 1942 | local TextLabel = Create("TextLabel")({
| |
| 1943 | BackgroundTransparency = 1, | |
| 1944 | Size = UDim2.new(1, 0, 1, 0), | |
| 1945 | Text = Text, | |
| 1946 | TextColor3 = Color, | |
| 1947 | TextScaled = true, | |
| 1948 | Font = Enum.Font.ArialBold, | |
| 1949 | Parent = BillboardGui | |
| 1950 | }) | |
| 1951 | game.Debris:AddItem(EffectPart, Time + 0.1) | |
| 1952 | EffectPart.Parent = game:GetService("Workspace")
| |
| 1953 | delay(0, function() | |
| 1954 | local Frames = Time / Rate | |
| 1955 | for Frame = 1, Frames do | |
| 1956 | wait(Rate) | |
| 1957 | local Percent = Frame / Frames | |
| 1958 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 1959 | TextLabel.TextTransparency = Percent | |
| 1960 | end | |
| 1961 | if EffectPart and EffectPart.Parent then | |
| 1962 | EffectPart:Destroy() | |
| 1963 | end | |
| 1964 | end) | |
| 1965 | end | |
| 1966 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
| 1967 | for _, c in pairs(workspace:children()) do | |
| 1968 | local hum = c:findFirstChildOfClass("Humanoid")
| |
| 1969 | if hum ~= nil then | |
| 1970 | local head = c:findFirstChild("Head")
| |
| 1971 | if head ~= nil then | |
| 1972 | local targ = head.Position - Part.Position | |
| 1973 | local mag = targ.magnitude | |
| 1974 | if magni >= mag and c.Name ~= Player.Name then | |
| 1975 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) | |
| 1976 | end | |
| 1977 | end | |
| 1978 | end | |
| 1979 | end | |
| 1980 | end | |
| 1981 | ||
| 1982 | function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type) | |
| 1983 | for _, c in pairs(workspace:children()) do | |
| 1984 | local hum = c:findFirstChild("Humanoid")
| |
| 1985 | if hum ~= nil then | |
| 1986 | local head = c:findFirstChild("Torso")
| |
| 1987 | if head ~= nil then | |
| 1988 | local targ = head.Position - Part.Position | |
| 1989 | local mag = targ.magnitude | |
| 1990 | if magni >= mag and c.Name ~= Player.Name then | |
| 1991 | MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
| |
| 1992 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) | |
| 1993 | end | |
| 1994 | end | |
| 1995 | end | |
| 1996 | end | |
| 1997 | end | |
| 1998 | ||
| 1999 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
| 2000 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
| |
| 2001 | end | |
| 2002 | ||
| 2003 | function SkullEffect(brickcolor,cframe,x1,y1,z1,delay) | |
| 2004 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2005 | prt.Anchored=true | |
| 2006 | prt.CFrame=cframe | |
| 2007 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
| |
| 2008 | --http://www.roblox.com/asset/?id=4770560 | |
| 2009 | game:GetService("Debris"):AddItem(prt,2)
| |
| 2010 | CF=prt.CFrame | |
| 2011 | coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) | |
| 2012 | for i=0,1,0.2 do | |
| 2013 | wait() | |
| 2014 | Part.CFrame=CF*cf(0,0,-0.4) | |
| 2015 | end | |
| 2016 | for i=0,1,delay do | |
| 2017 | wait() | |
| 2018 | --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) | |
| 2019 | Mesh.Scale=Mesh.Scale | |
| 2020 | end | |
| 2021 | for i=0,1,0.1 do | |
| 2022 | wait() | |
| 2023 | Part.Transparency=i | |
| 2024 | end | |
| 2025 | Part.Parent=nil | |
| 2026 | end),prt,msh,CF) | |
| 2027 | end | |
| 2028 | ||
| 2029 | function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 2030 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2031 | prt.Anchored=true | |
| 2032 | prt.Material = "Neon" | |
| 2033 | prt.CFrame=cframe | |
| 2034 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2035 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2036 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2037 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2038 | for i=0,1,delay do | |
| 2039 | swait() | |
| 2040 | Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2041 | Part.Transparency=i | |
| 2042 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2043 | end | |
| 2044 | Part.Parent=nil | |
| 2045 | end),prt,msh) | |
| 2046 | end | |
| 2047 | ||
| 2048 | function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
| 2049 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2050 | prt.Anchored=true | |
| 2051 | prt.Material = "Neon" | |
| 2052 | prt.CFrame=cframe | |
| 2053 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2054 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2055 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2056 | local rtype = rottype | |
| 2057 | for i=0,1,delay do | |
| 2058 | swait() | |
| 2059 | if rtype == 1 then | |
| 2060 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
| 2061 | elseif rtype == 2 then | |
| 2062 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
| 2063 | end | |
| 2064 | Part.Transparency=i | |
| 2065 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2066 | end | |
| 2067 | Part.Parent=nil | |
| 2068 | end),prt,msh) | |
| 2069 | end | |
| 2070 | ||
| 2071 | function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 2072 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2073 | prt.Anchored=true | |
| 2074 | prt.CFrame=cframe | |
| 2075 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2076 | msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2077 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2078 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2079 | for i=0,1,delay do | |
| 2080 | wait() | |
| 2081 | Part.Transparency=i | |
| 2082 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2083 | end | |
| 2084 | Part.Parent=nil | |
| 2085 | end),prt,msh) | |
| 2086 | end | |
| 2087 | ||
| 2088 | function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
| 2089 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2090 | prt.Anchored=true | |
| 2091 | prt.Material = "Neon" | |
| 2092 | prt.CFrame=cframe | |
| 2093 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2094 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2095 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2096 | local rtype = rottype | |
| 2097 | for i=0,1,delay do | |
| 2098 | swait() | |
| 2099 | if rtype == 1 then | |
| 2100 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
| 2101 | elseif rtype == 2 then | |
| 2102 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
| 2103 | end | |
| 2104 | Part.Transparency=i | |
| 2105 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2106 | end | |
| 2107 | Part.Parent=nil | |
| 2108 | end),prt,msh) | |
| 2109 | end | |
| 2110 | ||
| 2111 | function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype) | |
| 2112 | local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2113 | prt.Anchored=true | |
| 2114 | prt.Material = "Neon" | |
| 2115 | prt.CFrame=cframe | |
| 2116 | local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt) | |
| 2117 | local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt) | |
| 2118 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
| |
| 2119 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2120 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2121 | local rtype = rottype | |
| 2122 | for i=0,1,delay do | |
| 2123 | swait() | |
| 2124 | if rtype == 1 then | |
| 2125 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
| 2126 | elseif rtype == 2 then | |
| 2127 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
| 2128 | end | |
| 2129 | dec.Transparency=i | |
| 2130 | dec2.Transparency=i | |
| 2131 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
| 2132 | end | |
| 2133 | Part.Parent=nil | |
| 2134 | end),prt,msh) | |
| 2135 | end | |
| 2136 | ||
| 2137 | function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype) | |
| 2138 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2139 | prt.Anchored=true | |
| 2140 | prt.Material = "Neon" | |
| 2141 | prt.CFrame=cframe | |
| 2142 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
| |
| 2143 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2144 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2145 | local rtype = rottype | |
| 2146 | for i=0,1,delay do | |
| 2147 | swait() | |
| 2148 | if rtype == 1 then | |
| 2149 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
| 2150 | elseif rtype == 2 then | |
| 2151 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
| 2152 | end | |
| 2153 | prt.Transparency=i | |
| 2154 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
| 2155 | end | |
| 2156 | Part.Parent=nil | |
| 2157 | end),prt,msh) | |
| 2158 | end | |
| 2159 | ||
| 2160 | function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype) | |
| 2161 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2162 | prt.Anchored=true | |
| 2163 | prt.Material = "Neon" | |
| 2164 | prt.CFrame=cframe | |
| 2165 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
| |
| 2166 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2167 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2168 | local rtype = rottype | |
| 2169 | for i=0,1,delay do | |
| 2170 | swait() | |
| 2171 | if rtype == 1 then | |
| 2172 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0) | |
| 2173 | elseif rtype == 2 then | |
| 2174 | prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0) | |
| 2175 | end | |
| 2176 | prt.Transparency=i | |
| 2177 | Mesh.Scale=Mesh.Scale+vt(x3,0,z3) | |
| 2178 | end | |
| 2179 | Part.Parent=nil | |
| 2180 | end),prt,msh) | |
| 2181 | end | |
| 2182 | ||
| 2183 | function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype) | |
| 2184 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2185 | prt.Anchored=true | |
| 2186 | prt.Material = "Neon" | |
| 2187 | prt.CFrame=cframe | |
| 2188 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2189 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2190 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2191 | local rtype = rottype | |
| 2192 | for i=0,1,delay do | |
| 2193 | swait() | |
| 2194 | if rtype == 1 then | |
| 2195 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
| 2196 | elseif rtype == 2 then | |
| 2197 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
| 2198 | end | |
| 2199 | prt.Transparency=i | |
| 2200 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
| 2201 | end | |
| 2202 | Part.Parent=nil | |
| 2203 | end),prt,msh) | |
| 2204 | end | |
| 2205 | ||
| 2206 | function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
| 2207 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2208 | prt.Anchored=true | |
| 2209 | prt.Material = "Neon" | |
| 2210 | prt.CFrame=cframe | |
| 2211 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2212 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2213 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2214 | local rtype = rottype | |
| 2215 | for i=0,1,delay do | |
| 2216 | swait() | |
| 2217 | if rtype == 1 then | |
| 2218 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
| 2219 | elseif rtype == 2 then | |
| 2220 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
| 2221 | end | |
| 2222 | prt.Transparency=i | |
| 2223 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2224 | end | |
| 2225 | Part.Parent=nil | |
| 2226 | end),prt,msh) | |
| 2227 | end | |
| 2228 | ||
| 2229 | function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
| 2230 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2231 | prt.Anchored=false | |
| 2232 | prt.CFrame=cframe | |
| 2233 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2234 | local wld=weld(prt,prt,Parent,cframe) | |
| 2235 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2236 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
| 2237 | for i=0,1,delay do | |
| 2238 | wait() | |
| 2239 | Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe | |
| 2240 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2241 | Part.Transparency=i | |
| 2242 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2243 | end | |
| 2244 | Part.Parent=nil | |
| 2245 | end),prt,msh,wld) | |
| 2246 | end | |
| 2247 | ||
| 2248 | function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
| 2249 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2250 | prt.Anchored=false | |
| 2251 | prt.CFrame=cframe | |
| 2252 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2253 | local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0)) | |
| 2254 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2255 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
| 2256 | for i=0,1,delay do | |
| 2257 | wait() | |
| 2258 | Weld.C0=euler(i*20,0,0) | |
| 2259 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2260 | Part.Transparency=i | |
| 2261 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2262 | end | |
| 2263 | Part.Parent=nil | |
| 2264 | end),prt,msh,wld) | |
| 2265 | end | |
| 2266 | ||
| 2267 | function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 2268 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2269 | prt.Anchored=true | |
| 2270 | prt.CFrame=cframe | |
| 2271 | local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2272 | game:GetService("Debris"):AddItem(prt,2)
| |
| 2273 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2274 | for i=0,1,delay do | |
| 2275 | wait() | |
| 2276 | Part.CFrame=Part.CFrame | |
| 2277 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2278 | local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2279 | prt2.Anchored=true | |
| 2280 | prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2281 | local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
| |
| 2282 | game:GetService("Debris"):AddItem(prt2,2)
| |
| 2283 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2284 | for i=0,1,0.1 do | |
| 2285 | wait() | |
| 2286 | Part.CFrame=Part.CFrame*cf(0,0.5,0) | |
| 2287 | end | |
| 2288 | Part.Parent=nil | |
| 2289 | end),prt2,msh2) | |
| 2290 | end | |
| 2291 | for i=0,1,delay*2 do | |
| 2292 | wait() | |
| 2293 | Part.CFrame=Part.CFrame | |
| 2294 | Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i) | |
| 2295 | end | |
| 2296 | Part.Parent=nil | |
| 2297 | end),prt,msh) | |
| 2298 | end | |
| 2299 | ||
| 2300 | function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 2301 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2302 | prt.Anchored=true | |
| 2303 | prt.CFrame=cframe | |
| 2304 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2305 | game:GetService("Debris"):AddItem(prt,2)
| |
| 2306 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2307 | for i=0,1,delay do | |
| 2308 | wait() | |
| 2309 | Part.CFrame=Part.CFrame | |
| 2310 | Part.Transparency=i | |
| 2311 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2312 | end | |
| 2313 | Part.Parent=nil | |
| 2314 | end),prt,msh) | |
| 2315 | end | |
| 2316 | ||
| 2317 | function BreakEffect(brickcolor,cframe,x1,y1,z1) | |
| 2318 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2319 | prt.Anchored=true | |
| 2320 | prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2321 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2322 | game:GetService("Debris"):AddItem(prt,2)
| |
| 2323 | coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) | |
| 2324 | CF=Part.CFrame | |
| 2325 | Numbb=0 | |
| 2326 | randnumb=math.random()/10 | |
| 2327 | rand1=math.random()/10 | |
| 2328 | for i=0,1,rand1 do | |
| 2329 | wait() | |
| 2330 | CF=CF*cf(0,math.random()/2,0) | |
| 2331 | --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0) | |
| 2332 | Part.CFrame=CF*euler(Numbb,0,0) | |
| 2333 | Part.Transparency=i | |
| 2334 | Numbb=Numbb+randnumb | |
| 2335 | end | |
| 2336 | Part.Parent=nil | |
| 2337 | end),prt,CF,Numbb,randnumb) | |
| 2338 | end | |
| 2339 | ||
| 2340 | function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 2341 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2342 | prt.Anchored=true | |
| 2343 | prt.CFrame=cframe | |
| 2344 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
| |
| 2345 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2346 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2347 | for i=0,1,delay do | |
| 2348 | wait() | |
| 2349 | Part.CFrame=Part.CFrame*euler(0,0.7,0) | |
| 2350 | Part.Transparency=i | |
| 2351 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2352 | end | |
| 2353 | Part.Parent=nil | |
| 2354 | end),prt,msh) | |
| 2355 | end | |
| 2356 | ||
| 2357 | function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 2358 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2359 | prt.Anchored=true | |
| 2360 | prt.CFrame=cframe | |
| 2361 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
| |
| 2362 | game:GetService("Debris"):AddItem(prt,2)
| |
| 2363 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2364 | for i=0,1,delay do | |
| 2365 | wait() | |
| 2366 | Part.CFrame=Part.CFrame*cf(0,y3/2,0) | |
| 2367 | Part.Transparency=i | |
| 2368 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2369 | end | |
| 2370 | Part.Parent=nil | |
| 2371 | end),prt,msh) | |
| 2372 | end | |
| 2373 | ||
| 2374 | function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay) | |
| 2375 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2376 | prt.Anchored=true | |
| 2377 | prt.CFrame=cframe*cf(x,y,z) | |
| 2378 | msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
| |
| 2379 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2380 | coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) | |
| 2381 | local num=math.random() | |
| 2382 | local num2=math.random(-3,2)+math.random() | |
| 2383 | local numm=0 | |
| 2384 | for i=0,1,delay*2 do | |
| 2385 | swait() | |
| 2386 | Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0) | |
| 2387 | Part.Transparency=i | |
| 2388 | numm=numm+0.01 | |
| 2389 | end | |
| 2390 | Part.Parent=nil | |
| 2391 | Mesh.Parent=nil | |
| 2392 | end),prt,msh,x,y,z) | |
| 2393 | end | |
| 2394 | ||
| 2395 | function dmgstart(dmg,what) | |
| 2396 | hitcon = what.Touched:connect(function(hit) | |
| 2397 | local hum = hit.Parent:FindFirstChild("Humanoid")
| |
| 2398 | if hum and not hum:IsDescendantOf(Character) then | |
| 2399 | hum:TakeDamage(dmg) | |
| 2400 | end | |
| 2401 | end) | |
| 2402 | end | |
| 2403 | ||
| 2404 | function dmgstop() | |
| 2405 | hitcon:disconnect() | |
| 2406 | end | |
| 2407 | ||
| 2408 | function Cloak() | |
| 2409 | Face.Parent=nil | |
| 2410 | cloaked=true | |
| 2411 | for _,v in pairs(Torso.Parent:children()) do | |
| 2412 | if v.className=="Part" and v.Name~="HumanoidRootPart" then | |
| 2413 | coroutine.resume(coroutine.create(function() | |
| 2414 | for i=0,1,0.2 do | |
| 2415 | wait() | |
| 2416 | v.Transparency=i | |
| 2417 | end | |
| 2418 | v.Transparency=1 | |
| 2419 | end)) | |
| 2420 | end | |
| 2421 | if v.className=="Hat" then | |
| 2422 | hatp=v.Handle | |
| 2423 | coroutine.resume(coroutine.create(function(derp) | |
| 2424 | for i=0,1,0.2 do | |
| 2425 | wait() | |
| 2426 | derp.Transparency=i | |
| 2427 | end | |
| 2428 | derp.Transparency=1 | |
| 2429 | end),hatp) | |
| 2430 | end | |
| 2431 | end | |
| 2432 | for _,v in pairs(m:children()) do | |
| 2433 | if v.className=="Part" then | |
| 2434 | coroutine.resume(coroutine.create(function() | |
| 2435 | for i=0,1,0.2 do | |
| 2436 | wait() | |
| 2437 | v.Transparency=i | |
| 2438 | end | |
| 2439 | v.Transparency=1 | |
| 2440 | end)) | |
| 2441 | end | |
| 2442 | end | |
| 2443 | end | |
| 2444 | ||
| 2445 | function UnCloak() | |
| 2446 | so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
| |
| 2447 | Face.Parent=Head | |
| 2448 | cloaked=false | |
| 2449 | for _,v in pairs(Torso.Parent:children()) do | |
| 2450 | if v.className=="Part" and v.Name~="HumanoidRootPart" then | |
| 2451 | coroutine.resume(coroutine.create(function() | |
| 2452 | for i=0,1,0.1 do | |
| 2453 | wait() | |
| 2454 | v.Transparency=v.Transparency-0.1 | |
| 2455 | end | |
| 2456 | v.Transparency=0 | |
| 2457 | end)) | |
| 2458 | end | |
| 2459 | if v.className=="Hat" then | |
| 2460 | hatp=v.Handle | |
| 2461 | coroutine.resume(coroutine.create(function(derp) | |
| 2462 | for i=0,1,0.1 do | |
| 2463 | wait() | |
| 2464 | derp.Transparency=derp.Transparency-0.1 | |
| 2465 | end | |
| 2466 | derp.Transparency=0 | |
| 2467 | end),hatp) | |
| 2468 | end | |
| 2469 | end | |
| 2470 | for _,v in pairs(m:children()) do | |
| 2471 | if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then | |
| 2472 | coroutine.resume(coroutine.create(function() | |
| 2473 | for i=0,1,0.1 do | |
| 2474 | wait() | |
| 2475 | v.Transparency=v.Transparency-0.1 | |
| 2476 | end | |
| 2477 | v.Transparency=0 | |
| 2478 | end)) | |
| 2479 | v.Transparency=0 | |
| 2480 | end | |
| 2481 | end | |
| 2482 | end | |
| 2483 | ||
| 2484 | local origcolor = BrickColor.new("Pastel light blue")
| |
| 2485 | ---- This section of explosions. | |
| 2486 | ||
| 2487 | ---- | |
| 2488 | ||
| 2489 | ||
| 2490 | function ring(type,pos,scale,value) | |
| 2491 | local type = type | |
| 2492 | local rng = Instance.new("Part", char)
| |
| 2493 | rng.Anchored = true | |
| 2494 | rng.BrickColor = origcolor | |
| 2495 | rng.CanCollide = false | |
| 2496 | rng.FormFactor = 3 | |
| 2497 | rng.Name = "Ring" | |
| 2498 | rng.Size = Vector3.new(1, 1, 1) | |
| 2499 | rng.Transparency = 0 | |
| 2500 | rng.TopSurface = 0 | |
| 2501 | rng.BottomSurface = 0 | |
| 2502 | rng.CFrame = pos | |
| 2503 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2504 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 2505 | rngm.Scale = scale | |
| 2506 | local scaler2 = 1 | |
| 2507 | if type == "Add" then | |
| 2508 | scaler2 = 1*value | |
| 2509 | elseif type == "Divide" then | |
| 2510 | scaler2 = 1/value | |
| 2511 | end | |
| 2512 | coroutine.resume(coroutine.create(function() | |
| 2513 | for i = 0,10,0.1 do | |
| 2514 | swait() | |
| 2515 | if type == "Add" then | |
| 2516 | scaler2 = scaler2 - 0.01*value | |
| 2517 | elseif type == "Divide" then | |
| 2518 | scaler2 = scaler2 - 0.01/value | |
| 2519 | end | |
| 2520 | rng.Transparency = rng.Transparency + 0.01 | |
| 2521 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
| 2522 | end | |
| 2523 | rng:Destroy() | |
| 2524 | end)) | |
| 2525 | end | |
| 2526 | ||
| 2527 | ||
| 2528 | function wave(type,pos,scale,value) | |
| 2529 | local type = type | |
| 2530 | local rng = Instance.new("Part", char)
| |
| 2531 | rng.Anchored = true | |
| 2532 | rng.BrickColor = origcolor | |
| 2533 | rng.CanCollide = false | |
| 2534 | rng.FormFactor = 3 | |
| 2535 | rng.Name = "Ring" | |
| 2536 | rng.Size = Vector3.new(1, 1, 1) | |
| 2537 | rng.Transparency = 0 | |
| 2538 | rng.TopSurface = 0 | |
| 2539 | rng.BottomSurface = 0 | |
| 2540 | rng.CFrame = pos | |
| 2541 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2542 | rngm.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
| 2543 | rngm.Scale = scale | |
| 2544 | local scaler2 = 1 | |
| 2545 | if type == "Add" then | |
| 2546 | scaler2 = 1*value | |
| 2547 | elseif type == "Divide" then | |
| 2548 | scaler2 = 1/value | |
| 2549 | end | |
| 2550 | coroutine.resume(coroutine.create(function() | |
| 2551 | for i = 0,10,0.1 do | |
| 2552 | swait() | |
| 2553 | if type == "Add" then | |
| 2554 | scaler2 = scaler2 - 0.01*value | |
| 2555 | elseif type == "Divide" then | |
| 2556 | scaler2 = scaler2 - 0.01/value | |
| 2557 | end | |
| 2558 | rng.Transparency = rng.Transparency + 0.01 | |
| 2559 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) | |
| 2560 | end | |
| 2561 | rng:Destroy() | |
| 2562 | end)) | |
| 2563 | end | |
| 2564 | ||
| 2565 | function wind(type,pos,scale,value,speed) | |
| 2566 | local type = type | |
| 2567 | local rng = Instance.new("Part", char)
| |
| 2568 | rng.Anchored = true | |
| 2569 | rng.BrickColor = origcolor | |
| 2570 | rng.CanCollide = false | |
| 2571 | rng.FormFactor = 3 | |
| 2572 | rng.Name = "Ring" | |
| 2573 | rng.Size = Vector3.new(1, 1, 1) | |
| 2574 | rng.Transparency = 0 | |
| 2575 | rng.TopSurface = 0 | |
| 2576 | rng.BottomSurface = 0 | |
| 2577 | rng.CFrame = pos | |
| 2578 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2579 | rngm.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
| 2580 | rngm.Scale = scale | |
| 2581 | local scaler2 = 1 | |
| 2582 | if type == "Add" then | |
| 2583 | scaler2 = 1*value | |
| 2584 | elseif type == "Divide" then | |
| 2585 | scaler2 = 1/value | |
| 2586 | end | |
| 2587 | coroutine.resume(coroutine.create(function() | |
| 2588 | for i = 0,10,0.1 do | |
| 2589 | swait() | |
| 2590 | if type == "Add" then | |
| 2591 | scaler2 = scaler2 - 0.01*value | |
| 2592 | elseif type == "Divide" then | |
| 2593 | scaler2 = scaler2 - 0.01/value | |
| 2594 | end | |
| 2595 | rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0) | |
| 2596 | rng.Transparency = rng.Transparency + 0.01 | |
| 2597 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) | |
| 2598 | end | |
| 2599 | rng:Destroy() | |
| 2600 | end)) | |
| 2601 | end | |
| 2602 | ||
| 2603 | function groundwind(type,pos,scale,value,speed) | |
| 2604 | local type = type | |
| 2605 | local rng = Instance.new("Part", char)
| |
| 2606 | rng.Anchored = true | |
| 2607 | rng.BrickColor = origcolor | |
| 2608 | rng.CanCollide = false | |
| 2609 | rng.FormFactor = 3 | |
| 2610 | rng.Name = "Ring" | |
| 2611 | rng.Size = Vector3.new(1, 1, 1) | |
| 2612 | rng.Transparency = 0 | |
| 2613 | rng.TopSurface = 0 | |
| 2614 | rng.BottomSurface = 0 | |
| 2615 | rng.CFrame = pos | |
| 2616 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2617 | rngm.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
| 2618 | rngm.Scale = scale | |
| 2619 | local scaler2 = 1 | |
| 2620 | if type == "Add" then | |
| 2621 | scaler2 = 1*value | |
| 2622 | elseif type == "Divide" then | |
| 2623 | scaler2 = 1/value | |
| 2624 | end | |
| 2625 | coroutine.resume(coroutine.create(function() | |
| 2626 | for i = 0,10,0.1 do | |
| 2627 | swait() | |
| 2628 | if type == "Add" then | |
| 2629 | scaler2 = scaler2 - 0.01*value | |
| 2630 | elseif type == "Divide" then | |
| 2631 | scaler2 = scaler2 - 0.01/value | |
| 2632 | end | |
| 2633 | rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0) | |
| 2634 | rng.Transparency = rng.Transparency + 0.01 | |
| 2635 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2) | |
| 2636 | end | |
| 2637 | rng:Destroy() | |
| 2638 | end)) | |
| 2639 | end | |
| 2640 | ||
| 2641 | function CameraManager() | |
| 2642 | if TwoD and not CamInterrupt then | |
| 2643 | if Humanoid.Health > 0 then | |
| 2644 | Camera.CameraSubject = Humanoid | |
| 2645 | Camera.CameraType = "Scriptable" | |
| 2646 | Humanoid.AutoRotate = false | |
| 2647 | if Booleans.GyroUse then | |
| 2648 | Directer.MaxTorque = Vec3(0, huge, 0) | |
| 2649 | else | |
| 2650 | Directer.MaxTorque = Vec3(0, 0, 0) | |
| 2651 | end | |
| 2652 | if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then | |
| 2653 | if Booleans.CamFollow then | |
| 2654 | CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z)) | |
| 2655 | Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position) | |
| 2656 | else | |
| 2657 | CPart.Position = RootPart.Position | |
| 2658 | end | |
| 2659 | else | |
| 2660 | local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p | |
| 2661 | CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z)) | |
| 2662 | end | |
| 2663 | Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2) | |
| 2664 | else | |
| 2665 | Camera.CameraSubject = Humanoid | |
| 2666 | Camera.CameraType = "Custom" | |
| 2667 | Controller.Disabled = false | |
| 2668 | end | |
| 2669 | end | |
| 2670 | end | |
| 2671 | ||
| 2672 | function ring(type,pos,scale,value) | |
| 2673 | local type = type | |
| 2674 | local rng = Instance.new("Part", char)
| |
| 2675 | rng.Anchored = true | |
| 2676 | rng.BrickColor = origcolor | |
| 2677 | rng.CanCollide = false | |
| 2678 | rng.FormFactor = 3 | |
| 2679 | rng.Name = "Ring" | |
| 2680 | rng.Size = Vector3.new(1, 1, 1) | |
| 2681 | rng.Transparency = 0 | |
| 2682 | rng.TopSurface = 0 | |
| 2683 | rng.BottomSurface = 0 | |
| 2684 | rng.CFrame = pos | |
| 2685 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2686 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 2687 | rngm.Scale = scale | |
| 2688 | local scaler2 = 1 | |
| 2689 | if type == "Add" then | |
| 2690 | scaler2 = 1*value | |
| 2691 | elseif type == "Divide" then | |
| 2692 | scaler2 = 1/value | |
| 2693 | end | |
| 2694 | coroutine.resume(coroutine.create(function() | |
| 2695 | for i = 0,10,0.1 do | |
| 2696 | swait() | |
| 2697 | if type == "Add" then | |
| 2698 | scaler2 = scaler2 - 0.01*value | |
| 2699 | elseif type == "Divide" then | |
| 2700 | scaler2 = scaler2 - 0.01/value | |
| 2701 | end | |
| 2702 | rng.Transparency = rng.Transparency + 0.01 | |
| 2703 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
| 2704 | end | |
| 2705 | rng:Destroy() | |
| 2706 | end)) | |
| 2707 | end | |
| 2708 | ||
| 2709 | ||
| 2710 | function wave(type,pos,scale,value) | |
| 2711 | local type = type | |
| 2712 | local rng = Instance.new("Part", char)
| |
| 2713 | rng.Anchored = true | |
| 2714 | rng.BrickColor = origcolor | |
| 2715 | rng.CanCollide = false | |
| 2716 | rng.FormFactor = 3 | |
| 2717 | rng.Name = "Ring" | |
| 2718 | rng.Size = Vector3.new(1, 1, 1) | |
| 2719 | rng.Transparency = 0 | |
| 2720 | rng.TopSurface = 0 | |
| 2721 | rng.BottomSurface = 0 | |
| 2722 | rng.CFrame = pos | |
| 2723 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2724 | rngm.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
| 2725 | rngm.Scale = scale | |
| 2726 | local scaler2 = 1 | |
| 2727 | if type == "Add" then | |
| 2728 | scaler2 = 1*value | |
| 2729 | elseif type == "Divide" then | |
| 2730 | scaler2 = 1/value | |
| 2731 | end | |
| 2732 | coroutine.resume(coroutine.create(function() | |
| 2733 | for i = 0,10,0.1 do | |
| 2734 | swait() | |
| 2735 | if type == "Add" then | |
| 2736 | scaler2 = scaler2 - 0.01*value | |
| 2737 | elseif type == "Divide" then | |
| 2738 | scaler2 = scaler2 - 0.01/value | |
| 2739 | end | |
| 2740 | rng.Transparency = rng.Transparency + 0.01 | |
| 2741 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) | |
| 2742 | end | |
| 2743 | rng:Destroy() | |
| 2744 | end)) | |
| 2745 | end | |
| 2746 | ||
| 2747 | function sphere(bonuspeed,type,pos,scale,value,color) | |
| 2748 | local type = type | |
| 2749 | local rng = Instance.new("Part", char)
| |
| 2750 | rng.Anchored = true | |
| 2751 | if ModeOfGlitch ~= 9 then | |
| 2752 | rng.BrickColor = color | |
| 2753 | elseif ModeOfGlitch == 9 then | |
| 2754 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
| 2755 | end | |
| 2756 | rng.CanCollide = false | |
| 2757 | rng.FormFactor = 3 | |
| 2758 | rng.Name = "Ring" | |
| 2759 | rng.Material = "Neon" | |
| 2760 | rng.Size = Vector3.new(1, 1, 1) | |
| 2761 | rng.Transparency = 0 | |
| 2762 | rng.TopSurface = 0 | |
| 2763 | rng.BottomSurface = 0 | |
| 2764 | rng.CFrame = pos | |
| 2765 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2766 | rngm.MeshType = "Sphere" | |
| 2767 | rngm.Scale = scale | |
| 2768 | if rainbowmode == true then | |
| 2769 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2770 | end | |
| 2771 | if ModeOfGlitch == 9 then | |
| 2772 | coroutine.resume(coroutine.create(function() | |
| 2773 | while true do | |
| 2774 | swait() | |
| 2775 | if rng.Parent ~= nil then | |
| 2776 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
| 2777 | else | |
| 2778 | break | |
| 2779 | end | |
| 2780 | end | |
| 2781 | end)) | |
| 2782 | end | |
| 2783 | local scaler2 = 1 | |
| 2784 | if type == "Add" then | |
| 2785 | scaler2 = 1*value | |
| 2786 | elseif type == "Divide" then | |
| 2787 | scaler2 = 1/value | |
| 2788 | end | |
| 2789 | coroutine.resume(coroutine.create(function() | |
| 2790 | for i = 0,10/bonuspeed,0.1 do | |
| 2791 | swait() | |
| 2792 | if rainbowmode == true then | |
| 2793 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2794 | end | |
| 2795 | if type == "Add" then | |
| 2796 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 2797 | elseif type == "Divide" then | |
| 2798 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 2799 | end | |
| 2800 | if chaosmode == true then | |
| 2801 | rng.BrickColor = BrickColor.random() | |
| 2802 | end | |
| 2803 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 2804 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
| 2805 | end | |
| 2806 | rng:Destroy() | |
| 2807 | end)) | |
| 2808 | end | |
| 2809 | ||
| 2810 | function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color) | |
| 2811 | local type = type | |
| 2812 | local rng = Instance.new("Part", char)
| |
| 2813 | rng.Anchored = true | |
| 2814 | if ModeOfGlitch ~= 9 then | |
| 2815 | rng.BrickColor = color | |
| 2816 | elseif ModeOfGlitch == 9 then | |
| 2817 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
| 2818 | end | |
| 2819 | rng.CanCollide = false | |
| 2820 | rng.FormFactor = 3 | |
| 2821 | rng.Name = "Ring" | |
| 2822 | rng.Material = "Neon" | |
| 2823 | rng.Size = Vector3.new(1, 1, 1) | |
| 2824 | rng.Transparency = 0 | |
| 2825 | rng.TopSurface = 0 | |
| 2826 | rng.BottomSurface = 0 | |
| 2827 | rng.CFrame = pos | |
| 2828 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2829 | rngm.MeshType = "Sphere" | |
| 2830 | rngm.Scale = scale | |
| 2831 | local scaler2 = 1 | |
| 2832 | local scaler2b = 1 | |
| 2833 | local scaler2c = 1 | |
| 2834 | if type == "Add" then | |
| 2835 | scaler2 = 1*value | |
| 2836 | scaler2b = 1*value2 | |
| 2837 | scaler2c = 1*value3 | |
| 2838 | elseif type == "Divide" then | |
| 2839 | scaler2 = 1/value | |
| 2840 | scaler2b = 1/value2 | |
| 2841 | scaler2c = 1/value3 | |
| 2842 | end | |
| 2843 | if ModeOfGlitch == 9 then | |
| 2844 | coroutine.resume(coroutine.create(function() | |
| 2845 | while true do | |
| 2846 | swait() | |
| 2847 | if rng.Parent ~= nil then | |
| 2848 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
| 2849 | else | |
| 2850 | break | |
| 2851 | end | |
| 2852 | end | |
| 2853 | end)) | |
| 2854 | end | |
| 2855 | coroutine.resume(coroutine.create(function() | |
| 2856 | for i = 0,10/bonuspeed,0.1 do | |
| 2857 | swait() | |
| 2858 | if type == "Add" then | |
| 2859 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 2860 | scaler2b = scaler2b - 0.01*value/bonuspeed | |
| 2861 | scaler2c = scaler2c - 0.01*value/bonuspeed | |
| 2862 | elseif type == "Divide" then | |
| 2863 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 2864 | scaler2b = scaler2b - 0.01/value*bonuspeed | |
| 2865 | scaler2c = scaler2c - 0.01/value*bonuspeed | |
| 2866 | end | |
| 2867 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 2868 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed) | |
| 2869 | end | |
| 2870 | rng:Destroy() | |
| 2871 | end)) | |
| 2872 | end | |
| 2873 | ||
| 2874 | function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color) | |
| 2875 | local type = type | |
| 2876 | local rotenable = rotatingop | |
| 2877 | local rng = Instance.new("Part", char)
| |
| 2878 | rng.Anchored = true | |
| 2879 | rng.BrickColor = color | |
| 2880 | rng.CanCollide = false | |
| 2881 | rng.FormFactor = 3 | |
| 2882 | rng.Name = "Ring" | |
| 2883 | rng.Material = "Neon" | |
| 2884 | rng.Size = Vector3.new(1, 1, 1) | |
| 2885 | rng.Transparency = 0 | |
| 2886 | if typeoftrans == "In" then | |
| 2887 | rng.Transparency = 1 | |
| 2888 | end | |
| 2889 | rng.TopSurface = 0 | |
| 2890 | rng.BottomSurface = 0 | |
| 2891 | rng.CFrame = pos | |
| 2892 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2893 | rngm.MeshType = "FileMesh" | |
| 2894 | if typeofshape == "Normal" then | |
| 2895 | rngm.MeshId = "rbxassetid://662586858" | |
| 2896 | elseif typeofshape == "Round" then | |
| 2897 | rngm.MeshId = "rbxassetid://662585058" | |
| 2898 | end | |
| 2899 | rngm.Scale = scale | |
| 2900 | local scaler2 = 1/10 | |
| 2901 | if type == "Add" then | |
| 2902 | scaler2 = 1*value/10 | |
| 2903 | elseif type == "Divide" then | |
| 2904 | scaler2 = 1/value/10 | |
| 2905 | end | |
| 2906 | local randomrot = math.random(1,2) | |
| 2907 | coroutine.resume(coroutine.create(function() | |
| 2908 | for i = 0,10/bonuspeed,0.1 do | |
| 2909 | swait() | |
| 2910 | if type == "Add" then | |
| 2911 | scaler2 = scaler2 - 0.01*value/bonuspeed/10 | |
| 2912 | elseif type == "Divide" then | |
| 2913 | scaler2 = scaler2 - 0.01/value*bonuspeed/10 | |
| 2914 | end | |
| 2915 | if rotenable == true then | |
| 2916 | if randomrot == 1 then | |
| 2917 | rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0) | |
| 2918 | elseif randomrot == 2 then | |
| 2919 | rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0) | |
| 2920 | end | |
| 2921 | end | |
| 2922 | if typeoftrans == "Out" then | |
| 2923 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 2924 | elseif typeoftrans == "In" then | |
| 2925 | rng.Transparency = rng.Transparency - 0.01*bonuspeed | |
| 2926 | end | |
| 2927 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10) | |
| 2928 | end | |
| 2929 | rng:Destroy() | |
| 2930 | end)) | |
| 2931 | end | |
| 2932 | ||
| 2933 | function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
| 2934 | local type = type | |
| 2935 | local rng = Instance.new("Part", char)
| |
| 2936 | rng.Anchored = true | |
| 2937 | rng.BrickColor = color | |
| 2938 | rng.CanCollide = false | |
| 2939 | rng.FormFactor = 3 | |
| 2940 | rng.Name = "Ring" | |
| 2941 | rng.Material = "Neon" | |
| 2942 | rng.Size = Vector3.new(1, 1, 1) | |
| 2943 | rng.Transparency = 0 | |
| 2944 | rng.TopSurface = 0 | |
| 2945 | rng.BottomSurface = 0 | |
| 2946 | rng.CFrame = pos | |
| 2947 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
| 2948 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2949 | rngm.MeshType = "Brick" | |
| 2950 | rngm.Scale = vt(x1,y1,z1) | |
| 2951 | if rainbowmode == true then | |
| 2952 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2953 | end | |
| 2954 | local scaler2 = 1 | |
| 2955 | local speeder = FastSpeed/10 | |
| 2956 | if type == "Add" then | |
| 2957 | scaler2 = 1*value | |
| 2958 | elseif type == "Divide" then | |
| 2959 | scaler2 = 1/value | |
| 2960 | end | |
| 2961 | coroutine.resume(coroutine.create(function() | |
| 2962 | for i = 0,10/bonuspeed,0.1 do | |
| 2963 | swait() | |
| 2964 | if rainbowmode == true then | |
| 2965 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2966 | end | |
| 2967 | if type == "Add" then | |
| 2968 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 2969 | elseif type == "Divide" then | |
| 2970 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 2971 | end | |
| 2972 | if chaosmode == true then | |
| 2973 | rng.BrickColor = BrickColor.random() | |
| 2974 | end | |
| 2975 | speeder = speeder - 0.01*FastSpeed*bonuspeed/10 | |
| 2976 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
| 2977 | --rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 2978 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
| 2979 | end | |
| 2980 | rng:Destroy() | |
| 2981 | end)) | |
| 2982 | end | |
| 2983 | ||
| 2984 | function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
| 2985 | local type = type | |
| 2986 | local rng = Instance.new("Part", char)
| |
| 2987 | rng.Anchored = true | |
| 2988 | rng.BrickColor = color | |
| 2989 | rng.CanCollide = false | |
| 2990 | rng.FormFactor = 3 | |
| 2991 | rng.Name = "Ring" | |
| 2992 | rng.Material = "Neon" | |
| 2993 | rng.Size = Vector3.new(1, 1, 1) | |
| 2994 | rng.Transparency = 0 | |
| 2995 | rng.TopSurface = 0 | |
| 2996 | rng.BottomSurface = 0 | |
| 2997 | rng.CFrame = pos | |
| 2998 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
| 2999 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 3000 | rngm.MeshType = "Brick" | |
| 3001 | rngm.Scale = vt(x1,y1,z1) | |
| 3002 | if rainbowmode == true then | |
| 3003 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 3004 | end | |
| 3005 | local scaler2 = 1 | |
| 3006 | local speeder = FastSpeed/10 | |
| 3007 | if type == "Add" then | |
| 3008 | scaler2 = 1*value | |
| 3009 | elseif type == "Divide" then | |
| 3010 | scaler2 = 1/value | |
| 3011 | end | |
| 3012 | coroutine.resume(coroutine.create(function() | |
| 3013 | for i = 0,10/bonuspeed,0.1 do | |
| 3014 | swait() | |
| 3015 | if rainbowmode == true then | |
| 3016 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 3017 | end | |
| 3018 | if type == "Add" then | |
| 3019 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 3020 | elseif type == "Divide" then | |
| 3021 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 3022 | end | |
| 3023 | if chaosmode == true then | |
| 3024 | rng.BrickColor = BrickColor.random() | |
| 3025 | end | |
| 3026 | speeder = speeder - 0.01*FastSpeed*bonuspeed/10 | |
| 3027 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
| 3028 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 3029 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
| 3030 | end | |
| 3031 | rng:Destroy() | |
| 3032 | end)) | |
| 3033 | end | |
| 3034 | ||
| 3035 | function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
| 3036 | local type = type | |
| 3037 | local rng = Instance.new("Part", char)
| |
| 3038 | rng.Anchored = true | |
| 3039 | rng.BrickColor = color | |
| 3040 | rng.CanCollide = false | |
| 3041 | rng.FormFactor = 3 | |
| 3042 | rng.Name = "Ring" | |
| 3043 | rng.Material = "Neon" | |
| 3044 | rng.Size = Vector3.new(1, 1, 1) | |
| 3045 | rng.Transparency = 0 | |
| 3046 | rng.TopSurface = 0 | |
| 3047 | rng.BottomSurface = 0 | |
| 3048 | rng.CFrame = pos | |
| 3049 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
| 3050 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 3051 | rngm.MeshType = "Brick" | |
| 3052 | rngm.Scale = vt(x1,y1,z1) | |
| 3053 | if rainbowmode == true then | |
| 3054 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 3055 | end | |
| 3056 | local scaler2 = 0 | |
| 3057 | local speeder = FastSpeed/10 | |
| 3058 | if type == "Add" then | |
| 3059 | scaler2 = 1*value | |
| 3060 | elseif type == "Divide" then | |
| 3061 | scaler2 = 1/value | |
| 3062 | end | |
| 3063 | coroutine.resume(coroutine.create(function() | |
| 3064 | for i = 0,10/bonuspeed,0.1 do | |
| 3065 | swait() | |
| 3066 | if rainbowmode == true then | |
| 3067 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 3068 | end | |
| 3069 | if type == "Add" then | |
| 3070 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 3071 | elseif type == "Divide" then | |
| 3072 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 3073 | end | |
| 3074 | if chaosmode == true then | |
| 3075 | rng.BrickColor = BrickColor.random() | |
| 3076 | end | |
| 3077 | speeder = speeder + 0.01*FastSpeed*bonuspeed/10 | |
| 3078 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
| 3079 | --rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 3080 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
| 3081 | end | |
| 3082 | rng:Destroy() | |
| 3083 | end)) | |
| 3084 | end | |
| 3085 | ||
| 3086 | function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3) | |
| 3087 | local type = type | |
| 3088 | local rng = Instance.new("Part", char)
| |
| 3089 | rng.Anchored = true | |
| 3090 | rng.BrickColor = color | |
| 3091 | rng.Color = color3 | |
| 3092 | rng.CanCollide = false | |
| 3093 | rng.FormFactor = 3 | |
| 3094 | rng.Name = "Ring" | |
| 3095 | rng.Material = "Neon" | |
| 3096 | rng.Size = Vector3.new(1, 1, 1) | |
| 3097 | rng.Transparency = 0 | |
| 3098 | rng.TopSurface = 0 | |
| 3099 | rng.BottomSurface = 0 | |
| 3100 | rng.CFrame = pos | |
| 3101 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 3102 | rngm.MeshType = "Brick" | |
| 3103 | rngm.Scale = scale | |
| 3104 | local scaler2 = 1 | |
| 3105 | local scaler2b = 1 | |
| 3106 | local scaler2c = 1 | |
| 3107 | if type == "Add" then | |
| 3108 | scaler2 = 1*value | |
| 3109 | scaler2b = 1*value2 | |
| 3110 | scaler2c = 1*value3 | |
| 3111 | elseif type == "Divide" then | |
| 3112 | scaler2 = 1/value | |
| 3113 | scaler2b = 1/value2 | |
| 3114 | scaler2c = 1/value3 | |
| 3115 | end | |
| 3116 | coroutine.resume(coroutine.create(function() | |
| 3117 | for i = 0,10/bonuspeed,0.1 do | |
| 3118 | swait() | |
| 3119 | if type == "Add" then | |
| 3120 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 3121 | scaler2b = scaler2b - 0.01*value/bonuspeed | |
| 3122 | scaler2c = scaler2c - 0.01*value/bonuspeed | |
| 3123 | elseif type == "Divide" then | |
| 3124 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 3125 | scaler2b = scaler2b - 0.01/value*bonuspeed | |
| 3126 | scaler2c = scaler2c - 0.01/value*bonuspeed | |
| 3127 | end | |
| 3128 | rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
| 3129 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 3130 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed) | |
| 3131 | end | |
| 3132 | rng:Destroy() | |
| 3133 | end)) | |
| 3134 | end | |
| 3135 | ||
| 3136 | function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
| 3137 | local type = type | |
| 3138 | local rng = Instance.new("Part", char)
| |
| 3139 | rng.Anchored = true | |
| 3140 | if ModeOfGlitch ~= 9 then | |
| 3141 | rng.BrickColor = color | |
| 3142 | elseif ModeOfGlitch == 9 then | |
| 3143 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
| 3144 | end | |
| 3145 | rng.CanCollide = false | |
| 3146 | rng.FormFactor = 3 | |
| 3147 | rng.Name = "Ring" | |
| 3148 | rng.Material = "Neon" | |
| 3149 | rng.Size = Vector3.new(1, 1, 1) | |
| 3150 | rng.Transparency = 0 | |
| 3151 | rng.TopSurface = 0 | |
| 3152 | rng.BottomSurface = 0 | |
| 3153 | rng.CFrame = pos | |
| 3154 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
| 3155 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 3156 | rngm.MeshType = "Sphere" | |
| 3157 | rngm.Scale = vt(x1,y1,z1) | |
| 3158 | if rainbowmode == true then | |
| 3159 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 3160 | end | |
| 3161 | if ModeOfGlitch == 9 then | |
| 3162 | coroutine.resume(coroutine.create(function() | |
| 3163 | while true do | |
| 3164 | swait() | |
| 3165 | if rng.Parent ~= nil then | |
| 3166 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
| 3167 | else | |
| 3168 | break | |
| 3169 | end | |
| 3170 | end | |
| 3171 | end)) | |
| 3172 | end | |
| 3173 | local scaler2 = 1 | |
| 3174 | local speeder = FastSpeed | |
| 3175 | if type == "Add" then | |
| 3176 | scaler2 = 1*value | |
| 3177 | elseif type == "Divide" then | |
| 3178 | scaler2 = 1/value | |
| 3179 | end | |
| 3180 | coroutine.resume(coroutine.create(function() | |
| 3181 | for i = 0,10/bonuspeed,0.1 do | |
| 3182 | swait() | |
| 3183 | if rainbowmode == true then | |
| 3184 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 3185 | end | |
| 3186 | if type == "Add" then | |
| 3187 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 3188 | elseif type == "Divide" then | |
| 3189 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 3190 | end | |
| 3191 | if chaosmode == true then | |
| 3192 | rng.BrickColor = BrickColor.random() | |
| 3193 | end | |
| 3194 | speeder = speeder - 0.01*FastSpeed*bonuspeed | |
| 3195 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
| 3196 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 3197 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) | |
| 3198 | end | |
| 3199 | rng:Destroy() | |
| 3200 | end)) | |
| 3201 | end | |
| 3202 | ||
| 3203 | ||
| 3204 | function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
| 3205 | local type = type | |
| 3206 | local rng = Instance.new("Part", char)
| |
| 3207 | rng.Anchored = true | |
| 3208 | if ModeOfGlitch ~= 9 then | |
| 3209 | rng.BrickColor = color | |
| 3210 | elseif ModeOfGlitch == 9 then | |
| 3211 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
| 3212 | end | |
| 3213 | rng.CanCollide = false | |
| 3214 | rng.FormFactor = 3 | |
| 3215 | rng.Name = "Ring" | |
| 3216 | rng.Material = "Neon" | |
| 3217 | rng.Size = Vector3.new(1, 1, 1) | |
| 3218 | rng.Transparency = 1 | |
| 3219 | rng.TopSurface = 0 | |
| 3220 | rng.BottomSurface = 0 | |
| 3221 | rng.CFrame = pos | |
| 3222 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
| 3223 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 3224 | rngm.MeshType = "Sphere" | |
| 3225 | rngm.Scale = vt(x1,y1,z1) | |
| 3226 | if rainbowmode == true then | |
| 3227 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 3228 | end | |
| 3229 | if ModeOfGlitch == 9 then | |
| 3230 | coroutine.resume(coroutine.create(function() | |
| 3231 | while true do | |
| 3232 | swait() | |
| 3233 | if rng.Parent ~= nil then | |
| 3234 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
| 3235 | else | |
| 3236 | break | |
| 3237 | end | |
| 3238 | end | |
| 3239 | end)) | |
| 3240 | end | |
| 3241 | local scaler2 = 1 | |
| 3242 | local speeder = FastSpeed | |
| 3243 | if type == "Add" then | |
| 3244 | scaler2 = 1*value | |
| 3245 | elseif type == "Divide" then | |
| 3246 | scaler2 = 1/value | |
| 3247 | end | |
| 3248 | coroutine.resume(coroutine.create(function() | |
| 3249 | for i = 0,10/bonuspeed,0.1 do | |
| 3250 | swait() | |
| 3251 | if rainbowmode == true then | |
| 3252 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 3253 | end | |
| 3254 | if type == "Add" then | |
| 3255 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 3256 | elseif type == "Divide" then | |
| 3257 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 3258 | end | |
| 3259 | if chaosmode == true then | |
| 3260 | rng.BrickColor = BrickColor.random() | |
| 3261 | end | |
| 3262 | speeder = speeder - 0.01*FastSpeed*bonuspeed | |
| 3263 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
| 3264 | rng.Transparency = rng.Transparency - 0.01*bonuspeed | |
| 3265 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) | |
| 3266 | end | |
| 3267 | rng:Destroy() | |
| 3268 | end)) | |
| 3269 | end | |
| 3270 | ||
| 3271 | function dmg(dude) | |
| 3272 | if dude.Name ~= Character then | |
| 3273 | local keptcolor = MAINRUINCOLOR | |
| 3274 | local bgf = Instance.new("BodyGyro",dude.Head)
| |
| 3275 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) | |
| 3276 | --[[local val = Instance.new("BoolValue",dude)
| |
| 3277 | val.Name = "IsHit"]]-- | |
| 3278 | local ds = coroutine.wrap(function() | |
| 3279 | dude:WaitForChild("Head"):BreakJoints()
| |
| 3280 | for i, v in pairs(dude:GetChildren()) do | |
| 3281 | if v:IsA("Part") or v:IsA("MeshPart") then
| |
| 3282 | v.Name = "DEMINISHED" | |
| 3283 | end | |
| 3284 | end | |
| 3285 | wait(0.5) | |
| 3286 | targetted = nil | |
| 3287 | CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
| |
| 3288 | coroutine.resume(coroutine.create(function() | |
| 3289 | for i, v in pairs(dude:GetChildren()) do | |
| 3290 | if v:IsA("Accessory") then
| |
| 3291 | v:Destroy() | |
| 3292 | end | |
| 3293 | if v:IsA("Humanoid") then
| |
| 3294 | v:Destroy() | |
| 3295 | end | |
| 3296 | if v:IsA("CharacterMesh") then
| |
| 3297 | v:Destroy() | |
| 3298 | end | |
| 3299 | if v:IsA("Model") then
| |
| 3300 | v:Destroy() | |
| 3301 | end | |
| 3302 | if v:IsA("Part") or v:IsA("MeshPart") then
| |
| 3303 | for x, o in pairs(v:GetChildren()) do | |
| 3304 | if o:IsA("Decal") then
| |
| 3305 | o:Destroy() | |
| 3306 | end | |
| 3307 | end | |
| 3308 | coroutine.resume(coroutine.create(function() | |
| 3309 | v.Material = "Neon" | |
| 3310 | v.CanCollide = false | |
| 3311 | v.Anchored = false | |
| 3312 | local bld = Instance.new("ParticleEmitter",v)
| |
| 3313 | bld.LightEmission = 0.75 | |
| 3314 | bld.Texture = "rbxassetid://363275192" ---284205403 | |
| 3315 | bld.Color = ColorSequence.new(keptcolor.Color) | |
| 3316 | bld.Rate = 500 | |
| 3317 | bld.Lifetime = NumberRange.new(1) | |
| 3318 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 3319 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 3320 | bld.Speed = NumberRange.new(2,5) | |
| 3321 | bld.VelocitySpread = 50000 | |
| 3322 | bld.Rotation = NumberRange.new(-500,500) | |
| 3323 | bld.RotSpeed = NumberRange.new(-500,500) | |
| 3324 | local sbs = Instance.new("BodyPosition", v)
| |
| 3325 | sbs.P = 3000 | |
| 3326 | sbs.D = 1000 | |
| 3327 | sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
| 3328 | sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2)) | |
| 3329 | v.Color = keptcolor.Color | |
| 3330 | coroutine.resume(coroutine.create(function() | |
| 3331 | for i = 0, 49 do | |
| 3332 | swait(1) | |
| 3333 | v:BreakJoints() | |
| 3334 | v.Transparency = v.Transparency + 0.02 | |
| 3335 | end | |
| 3336 | v:BreakJoints() | |
| 3337 | sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor) | |
| 3338 | CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
| |
| 3339 | bld.Speed = NumberRange.new(10,25) | |
| 3340 | bld.Drag = 5 | |
| 3341 | bld.Acceleration = vt(0,2,0) | |
| 3342 | wait(0.5) | |
| 3343 | bld.Enabled = false | |
| 3344 | wait(8) | |
| 3345 | v:Destroy() | |
| 3346 | dude:Destroy() | |
| 3347 | end)) | |
| 3348 | end)) | |
| 3349 | end | |
| 3350 | end | |
| 3351 | end)) | |
| 3352 | end) | |
| 3353 | ds() | |
| 3354 | end | |
| 3355 | end | |
| 3356 | ||
| 3357 | ||
| 3358 | function FindNearestHead(Position, Distance, SinglePlayer) | |
| 3359 | if SinglePlayer then | |
| 3360 | return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance | |
| 3361 | end | |
| 3362 | local List = {}
| |
| 3363 | for i, v in pairs(workspace:GetChildren()) do | |
| 3364 | if v:IsA("Model") then
| |
| 3365 | if v:findFirstChild("Head") then
| |
| 3366 | if v ~= Character then | |
| 3367 | if (v.Head.Position - Position).magnitude <= Distance then | |
| 3368 | table.insert(List, v) | |
| 3369 | end | |
| 3370 | end | |
| 3371 | end | |
| 3372 | end | |
| 3373 | end | |
| 3374 | return List | |
| 3375 | end | |
| 3376 | ||
| 3377 | function FaceMouse() | |
| 3378 | Cam = workspace.CurrentCamera | |
| 3379 | return {
| |
| 3380 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), | |
| 3381 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
| 3382 | } | |
| 3383 | end | |
| 3384 | ||
| 3385 | function FaceMouse2() | |
| 3386 | Cam = workspace.CurrentCamera | |
| 3387 | return {
| |
| 3388 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)), | |
| 3389 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
| 3390 | } | |
| 3391 | end | |
| 3392 | ||
| 3393 | local ModeOfGlitch = 1 | |
| 3394 | -- Functions are ready. | |
| 3395 | local storehumanoidWS = 16 | |
| 3396 | ||
| 3397 | function CorruptBlink() | |
| 3398 | for i = 0, 14 do | |
| 3399 | 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) | |
| 3400 | end | |
| 3401 | sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 3402 | CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
| |
| 3403 | RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0) | |
| 3404 | CameraEnshaking(2,10) | |
| 3405 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do | |
| 3406 | if v:FindFirstChild('Head') then
| |
| 3407 | dmg(v) | |
| 3408 | end | |
| 3409 | end | |
| 3410 | for i = 0, 14 do | |
| 3411 | 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) | |
| 3412 | end | |
| 3413 | sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 3414 | end | |
| 3415 | function PureBomb() | |
| 3416 | attack = true | |
| 3417 | hum.WalkSpeed = 0 | |
| 3418 | local orb = Instance.new("Part", char)
| |
| 3419 | orb.Anchored = true | |
| 3420 | orb.BrickColor = BrickColor.new("Toothpaste")
| |
| 3421 | orb.CanCollide = false | |
| 3422 | orb.FormFactor = 3 | |
| 3423 | orb.Name = "Ring" | |
| 3424 | orb.Material = "Neon" | |
| 3425 | orb.Size = Vector3.new(1, 1, 1) | |
| 3426 | orb.Transparency = 0 | |
| 3427 | orb.TopSurface = 0 | |
| 3428 | orb.BottomSurface = 0 | |
| 3429 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 3430 | orbm.MeshType = "Sphere" | |
| 3431 | orbm.Name = "SizeMesh" | |
| 3432 | orbm.Scale = vt(0,0,0) | |
| 3433 | local scaled = 0.1 | |
| 3434 | local posid = 0 | |
| 3435 | CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
| |
| 3436 | for i = 0, 5, 0.1 do | |
| 3437 | swait() | |
| 3438 | scaled = scaled - 0.001 | |
| 3439 | posid = posid - scaled | |
| 3440 | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) | |
| 3441 | local scaled = 0.1 | |
| 3442 | orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled) | |
| 3443 | 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)
| |
| 3444 | 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)
| |
| 3445 | 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) | |
| 3446 | 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) | |
| 3447 | 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) | |
| 3448 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 3449 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1) | |
| 3450 | 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) | |
| 3451 | end | |
| 3452 | for i = 0, 2, 0.1 do | |
| 3453 | swait() | |
| 3454 | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) | |
| 3455 | 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) | |
| 3456 | 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) | |
| 3457 | 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) | |
| 3458 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4) | |
| 3459 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4) | |
| 3460 | 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) | |
| 3461 | end | |
| 3462 | coroutine.resume(coroutine.create(function() | |
| 3463 | orb.Anchored = false | |
| 3464 | CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
| |
| 3465 | local a = Instance.new("Part",workspace)
| |
| 3466 | a.Name = "Direction" | |
| 3467 | a.Anchored = true | |
| 3468 | a.BrickColor = bc("Bright red")
| |
| 3469 | a.Material = "Neon" | |
| 3470 | a.Transparency = 1 | |
| 3471 | a.CanCollide = false | |
| 3472 | local ray = Ray.new( | |
| 3473 | orb.CFrame.p, -- origin | |
| 3474 | (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction | |
| 3475 | ) | |
| 3476 | local ignore = orb | |
| 3477 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 3478 | a.BottomSurface = 10 | |
| 3479 | a.TopSurface = 10 | |
| 3480 | local distance = (orb.CFrame.p - position).magnitude | |
| 3481 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
| 3482 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
| 3483 | orb.CFrame = a.CFrame | |
| 3484 | a:Destroy() | |
| 3485 | local bv = Instance.new("BodyVelocity")
| |
| 3486 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 3487 | bv.velocity = orb.CFrame.lookVector*125 | |
| 3488 | bv.Parent = orb | |
| 3489 | local hitted = false | |
| 3490 | game:GetService("Debris"):AddItem(orb, 15)
| |
| 3491 | wait() | |
| 3492 | local hit =orb.Touched:connect(function(hit) | |
| 3493 | if hitted == false then | |
| 3494 | hitted = true | |
| 3495 | CameraEnshaking(10,2.5) | |
| 3496 | CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
| |
| 3497 | MagniDamage(orb, 65, 65,90, 0, "Normal") | |
| 3498 | sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
| |
| 3499 | sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
| |
| 3500 | for i = 0, 49 do | |
| 3501 | 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)
| |
| 3502 | end | |
| 3503 | for i = 0, 9 do | |
| 3504 | 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)
| |
| 3505 | 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)
| |
| 3506 | end | |
| 3507 | orb.Anchored = true | |
| 3508 | orb.Transparency = 1 | |
| 3509 | wait(8) | |
| 3510 | orb:Destroy() | |
| 3511 | end | |
| 3512 | end) | |
| 3513 | end)) | |
| 3514 | for i = 0, 1, 0.1 do | |
| 3515 | swait() | |
| 3516 | 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) | |
| 3517 | 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) | |
| 3518 | 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) | |
| 3519 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4) | |
| 3520 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4) | |
| 3521 | 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) | |
| 3522 | end | |
| 3523 | hum.WalkSpeed = storehumanoidWS | |
| 3524 | attack = false | |
| 3525 | end | |
| 3526 | ||
| 3527 | function BanishingOrb() | |
| 3528 | attack = true | |
| 3529 | hum.WalkSpeed = 0 | |
| 3530 | local orb = Instance.new("Part", char)
| |
| 3531 | orb.Anchored = true | |
| 3532 | orb.BrickColor = BrickColor.new("Black")
| |
| 3533 | orb.CanCollide = false | |
| 3534 | orb.FormFactor = 3 | |
| 3535 | orb.Name = "Ring" | |
| 3536 | orb.Material = "Neon" | |
| 3537 | orb.Size = Vector3.new(1, 1, 1) | |
| 3538 | orb.Transparency = 0 | |
| 3539 | orb.TopSurface = 0 | |
| 3540 | orb.BottomSurface = 0 | |
| 3541 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 3542 | orbm.MeshType = "Sphere" | |
| 3543 | orbm.Name = "SizeMesh" | |
| 3544 | orbm.Scale = vt(0,0,0) | |
| 3545 | local scaled = 0.1 | |
| 3546 | local posid = 0 | |
| 3547 | CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5,0.9)
| |
| 3548 | for i = 0, 5, 0.1 do | |
| 3549 | swait() | |
| 3550 | scaled = scaled - 0.001 | |
| 3551 | posid = posid - scaled | |
| 3552 | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) | |
| 3553 | local scaled = 0.1 | |
| 3554 | orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled) | |
| 3555 | 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)
| |
| 3556 | 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) | |
| 3557 | 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) | |
| 3558 | 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) | |
| 3559 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 3560 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1) | |
| 3561 | 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) | |
| 3562 | end | |
| 3563 | for i = 0, 2, 0.1 do | |
| 3564 | swait() | |
| 3565 | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) | |
| 3566 | 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) | |
| 3567 | 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) | |
| 3568 | 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) | |
| 3569 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4) | |
| 3570 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4) | |
| 3571 | 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) | |
| 3572 | end | |
| 3573 | coroutine.resume(coroutine.create(function() | |
| 3574 | orb.Anchored = false | |
| 3575 | CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,0.75)
| |
| 3576 | local a = Instance.new("Part",workspace)
| |
| 3577 | a.Name = "Direction" | |
| 3578 | a.Anchored = true | |
| 3579 | a.BrickColor = bc("Bright red")
| |
| 3580 | a.Material = "Neon" | |
| 3581 | a.Transparency = 1 | |
| 3582 | a.CanCollide = false | |
| 3583 | local ray = Ray.new( | |
| 3584 | orb.CFrame.p, -- origin | |
| 3585 | (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction | |
| 3586 | ) | |
| 3587 | local ignore = orb | |
| 3588 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 3589 | a.BottomSurface = 10 | |
| 3590 | a.TopSurface = 10 | |
| 3591 | local distance = (orb.CFrame.p - position).magnitude | |
| 3592 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
| 3593 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
| 3594 | orb.CFrame = a.CFrame | |
| 3595 | a:Destroy() | |
| 3596 | local bv = Instance.new("BodyVelocity")
| |
| 3597 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 3598 | bv.velocity = orb.CFrame.lookVector*0 | |
| 3599 | bv.Parent = orb | |
| 3600 | local hitted = false | |
| 3601 | local rate = 0 | |
| 3602 | coroutine.resume(coroutine.create(function() | |
| 3603 | for i = 0, 24 do | |
| 3604 | wait(0.1) | |
| 3605 | rate = rate + 0.25 | |
| 3606 | bv.velocity = bv.velocity + orb.CFrame.lookVector*rate | |
| 3607 | for i, v in pairs(FindNearestHead(orb.CFrame.p, 15)) do | |
| 3608 | if v:FindFirstChild('Head') then
| |
| 3609 | dmg(v) | |
| 3610 | end | |
| 3611 | end | |
| 3612 | CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 2.5,0.9)
| |
| 3613 | sphere(2,"Add",orb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR) | |
| 3614 | sphere(3,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR) | |
| 3615 | end | |
| 3616 | orb.Anchored = true | |
| 3617 | orb.Transparency = 1 | |
| 3618 | for i, v in pairs(FindNearestHead(orb.CFrame.p, 32)) do | |
| 3619 | if v:FindFirstChild('Head') then
| |
| 3620 | dmg(v) | |
| 3621 | end | |
| 3622 | end | |
| 3623 | local eff = Instance.new("ParticleEmitter",orb)
| |
| 3624 | eff.Texture = "rbxassetid://296874871" | |
| 3625 | eff.LightEmission = 0.95 | |
| 3626 | eff.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 3627 | eff.Rate = 1000000000 | |
| 3628 | eff.Lifetime = NumberRange.new(3) | |
| 3629 | 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)})
| |
| 3630 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 3631 | eff.Speed = NumberRange.new(30) | |
| 3632 | eff.Acceleration = vt(0,-15,0) | |
| 3633 | eff.Rotation = NumberRange.new(-500,500) | |
| 3634 | eff.VelocitySpread = 100000 | |
| 3635 | eff.RotSpeed = NumberRange.new(-500,500) | |
| 3636 | coroutine.resume(coroutine.create(function() | |
| 3637 | wait(0.6) | |
| 3638 | eff.Enabled = false | |
| 3639 | end)) | |
| 3640 | CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 8,0.6)
| |
| 3641 | CFuncs["Sound"].Create("rbxassetid://438666141", orb, 7.5,0.9)
| |
| 3642 | sphere(1,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR) | |
| 3643 | sphere(1.5,"Add",orb.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 3644 | sphere(2,"Add",orb.CFrame,vt(0,0,0),1.25,MAINRUINCOLOR) | |
| 3645 | game:GetService("Debris"):AddItem(orb, 15)
| |
| 3646 | end)) | |
| 3647 | end)) | |
| 3648 | for i = 0, 1, 0.1 do | |
| 3649 | swait() | |
| 3650 | 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) | |
| 3651 | 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) | |
| 3652 | 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) | |
| 3653 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4) | |
| 3654 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4) | |
| 3655 | 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) | |
| 3656 | end | |
| 3657 | hum.WalkSpeed = storehumanoidWS | |
| 3658 | attack = false | |
| 3659 | end | |
| 3660 | ||
| 3661 | ||
| 3662 | function ChaosGroundStrike() | |
| 3663 | attack = true | |
| 3664 | for i = 0, 2, 0.1 do | |
| 3665 | swait() | |
| 3666 | bosschatfunc("INSANE STOMP",MAINRUINCOLOR.Color,2)
| |
| 3667 | 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) | |
| 3668 | 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) | |
| 3669 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 3670 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 3671 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2) | |
| 3672 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2) | |
| 3673 | end | |
| 3674 | CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
| |
| 3675 | CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
| |
| 3676 | CameraEnshaking(4,12) | |
| 3677 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do | |
| 3678 | if v:FindFirstChild('Head') then
| |
| 3679 | dmg(v) | |
| 3680 | end | |
| 3681 | end | |
| 3682 | sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random()) | |
| 3683 | sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random()) | |
| 3684 | sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random()) | |
| 3685 | for i = 0, 2, 0.1 do | |
| 3686 | swait() | |
| 3687 | 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) | |
| 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 | 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) | |
| 3690 | 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) | |
| 3691 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
| 3692 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
| 3693 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4) | |
| 3694 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4) | |
| 3695 | end | |
| 3696 | attack = false | |
| 3697 | end | |
| 3698 | ||
| 3699 | function ChaosBegone() | |
| 3700 | attack = true | |
| 3701 | bosschatfunc("LEAVE THE DEAD!",MAINRUINCOLOR.Color,2)
| |
| 3702 | for i = 0, 10, 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)), 0.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)), 0.2) | |
| 3706 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) | |
| 3707 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) | |
| 3708 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2) | |
| 3709 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2) | |
| 3710 | end | |
| 3711 | bosschatfunc("WHERE THEY FALL!",MAINRUINCOLOR.Color,2)
| |
| 3712 | CFuncs.Sound.Create("rbxassetid://438666141", char, 7.5, 1)
| |
| 3713 | CFuncs.Sound.Create("rbxassetid://1208650519", char, 7.5, 1)
| |
| 3714 | CameraEnshaking(5, 25) | |
| 3715 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do | |
| 3716 | if v:FindFirstChild("Head") then
| |
| 3717 | dmg(v) | |
| 3718 | end | |
| 3719 | end | |
| 3720 | sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1000, BrickColor.random()) | |
| 3721 | sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2000, BrickColor.random()) | |
| 3722 | sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100000, 0.1, 100000), 0.01, BrickColor.random()) | |
| 3723 | for i = 0, 3, 0.1 do | |
| 3724 | swait() | |
| 3725 | sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * 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 | sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * 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) | |
| 3727 | sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * 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) | |
| 3728 | sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * 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) | |
| 3729 | 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)), 0.4) | |
| 3730 | 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)), 0.4) | |
| 3731 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) | |
| 3732 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) | |
| 3733 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4) | |
| 3734 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4) | |
| 3735 | end | |
| 3736 | attack = false | |
| 3737 | end | |
| 3738 | function orb_spawn_norm(positted, timer, color, MagniBoost, min, max, volEx, ShakePower, volSummon) | |
| 3739 | local orb = Instance.new("Part", char)
| |
| 3740 | orb.Anchored = true | |
| 3741 | orb.BrickColor = color | |
| 3742 | orb.CanCollide = false | |
| 3743 | orb.FormFactor = 3 | |
| 3744 | orb.Name = "Ring" | |
| 3745 | orb.Material = "Neon" | |
| 3746 | orb.Size = Vector3.new(1, 1, 1) | |
| 3747 | orb.Transparency = 0 | |
| 3748 | orb.TopSurface = 0 | |
| 3749 | orb.BottomSurface = 0 | |
| 3750 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 3751 | orbm.MeshType = "Sphere" | |
| 3752 | orb.CFrame = positted | |
| 3753 | orbm.Name = "SizeMesh" | |
| 3754 | orbm.Scale = vt(1, 1, 1) | |
| 3755 | CFuncs.Sound.Create("rbxassetid://183763506", orb, volSummon, 1)
| |
| 3756 | sphere(2.5, "Add", orb.CFrame, vt(1, 1, 1), 0.05, orb.BrickColor) | |
| 3757 | coroutine.resume(coroutine.create(function() | |
| 3758 | wait(timer) | |
| 3759 | CameraEnshaking(3, ShakePower) | |
| 3760 | orb.Transparency = 1 | |
| 3761 | MagniDamage(orb, 3.5 * MagniBoost, min, max, 0, "Normal") | |
| 3762 | sphere(5, "Add", orb.CFrame, vt(1, 1, 1), 0.1 * MagniBoost, orb.BrickColor) | |
| 3763 | CFuncs.Sound.Create("rbxassetid://192410089", orb, volEx, 0.7)
| |
| 3764 | wait(3) | |
| 3765 | orb:Destroy() | |
| 3766 | end)) | |
| 3767 | end | |
| 3768 | function orb_spawn(positted, timer) | |
| 3769 | local randomcol = math.random(1, 2) | |
| 3770 | local orb = Instance.new("Part", char)
| |
| 3771 | orb.Anchored = true | |
| 3772 | if randomcol == 1 then | |
| 3773 | orb.BrickColor = BrickColor.new("White")
| |
| 3774 | elseif randomcol == 2 then | |
| 3775 | orb.BrickColor = BrickColor.new("Really black")
| |
| 3776 | end | |
| 3777 | orb.CanCollide = false | |
| 3778 | orb.FormFactor = 3 | |
| 3779 | orb.Name = "Ring" | |
| 3780 | orb.Material = "Neon" | |
| 3781 | orb.Size = Vector3.new(1, 1, 1) | |
| 3782 | orb.Transparency = 0 | |
| 3783 | orb.TopSurface = 0 | |
| 3784 | orb.BottomSurface = 0 | |
| 3785 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 3786 | orbm.MeshType = "Sphere" | |
| 3787 | orb.CFrame = positted | |
| 3788 | orbm.Name = "SizeMesh" | |
| 3789 | orbm.Scale = vt(1, 1, 1) | |
| 3790 | CFuncs.Sound.Create("rbxassetid://183763506", orb, 1.5, 1)
| |
| 3791 | sphere(2.5, "Add", orb.CFrame, vt(1, 1, 1), 0.025, orb.BrickColor) | |
| 3792 | for i = 0, 2 do | |
| 3793 | 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) | |
| 3794 | end | |
| 3795 | coroutine.resume(coroutine.create(function() | |
| 3796 | wait(timer) | |
| 3797 | CameraEnshaking(3, 2) | |
| 3798 | orb.Transparency = 1 | |
| 3799 | MagniDamage(orb, 17.5, 10, 50, 0, "Normal") | |
| 3800 | sphere(5, "Add", orb.CFrame, vt(1, 1, 1), 0.5, orb.BrickColor) | |
| 3801 | for i = 0, 4 do | |
| 3802 | 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) | |
| 3803 | end | |
| 3804 | CFuncs.Sound.Create("rbxassetid://192410089", orb, 2, 0.7)
| |
| 3805 | wait(3) | |
| 3806 | orb:Destroy() | |
| 3807 | end)) | |
| 3808 | end | |
| 3809 | function scattercorrupt() | |
| 3810 | attack = true | |
| 3811 | local rot = 0 | |
| 3812 | local randomrotations = math.random(1, 2) | |
| 3813 | local lookv = 2.5 | |
| 3814 | local power = 5 | |
| 3815 | sphere(1, "Add", root.CFrame, vt(1, 100000, 1), 0.5, BrickColor.new("Royal purple"))
| |
| 3816 | sphere(1, "Add", root.CFrame, vt(1, 1, 1), 0.75, BrickColor.new("Royal purple"))
| |
| 3817 | for i = 0, 9 do | |
| 3818 | 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)
| |
| 3819 | end | |
| 3820 | CFuncs.Sound.Create("rbxassetid://180204650", char, 2.5, 0.6)
| |
| 3821 | CFuncs.Sound.Create("rbxassetid://233856079", char, 1, 0.5)
| |
| 3822 | CFuncs.Sound.Create("rbxassetid://1208650519", char, 2.5, 1)
| |
| 3823 | CFuncs.Sound.Create("rbxassetid://239000203", char, 0.5, 0.75)
| |
| 3824 | CFuncs.Sound.Create("rbxassetid://579687077", char, 0.5, 0.5)
| |
| 3825 | local hite = Instance.new("Part", char)
| |
| 3826 | hite.Anchored = true | |
| 3827 | hite.CanCollide = false | |
| 3828 | hite.FormFactor = 3 | |
| 3829 | hite.Name = "Ring" | |
| 3830 | hite.Material = "Neon" | |
| 3831 | hite.Size = Vector3.new(1, 1, 1) | |
| 3832 | hite.Transparency = 1 | |
| 3833 | hite.TopSurface = 0 | |
| 3834 | hite.BottomSurface = 0 | |
| 3835 | hite.CFrame = root.CFrame * CFrame.new(0, -2.5, 0) | |
| 3836 | local rem = Instance.new("Part", char)
| |
| 3837 | rem.Anchored = true | |
| 3838 | rem.CanCollide = false | |
| 3839 | rem.FormFactor = 3 | |
| 3840 | rem.Name = "Ring" | |
| 3841 | rem.Material = "Neon" | |
| 3842 | rem.Size = Vector3.new(1, 1, 1) | |
| 3843 | rem.Transparency = 1 | |
| 3844 | rem.TopSurface = 0 | |
| 3845 | rem.BottomSurface = 0 | |
| 3846 | rem.CFrame = hite.CFrame | |
| 3847 | local rem2 = rem:Clone() | |
| 3848 | rem2.Parent = char | |
| 3849 | rem2.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 3850 | local rem3 = rem:Clone() | |
| 3851 | rem3.Parent = char | |
| 3852 | rem3.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(180), 0) | |
| 3853 | local rem4 = rem:Clone() | |
| 3854 | rem4.Parent = char | |
| 3855 | rem4.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(270), 0) | |
| 3856 | hite:Destroy() | |
| 3857 | coroutine.resume(coroutine.create(function() | |
| 3858 | for i = 0, 24 do | |
| 3859 | swait(1) | |
| 3860 | if randomrotations == 1 then | |
| 3861 | rot = rot + 1 | |
| 3862 | elseif randomrotations == 2 then | |
| 3863 | rot = rot - 1 | |
| 3864 | end | |
| 3865 | power = power + 0.5 | |
| 3866 | lookv = lookv + 7.5 | |
| 3867 | rem.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(rot), 0) | |
| 3868 | rem2.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 3869 | rem3.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(180), 0) | |
| 3870 | rem4.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(270), 0) | |
| 3871 | orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
| |
| 3872 | orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
| |
| 3873 | orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
| |
| 3874 | orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
| |
| 3875 | end | |
| 3876 | end)) | |
| 3877 | attack = false | |
| 3878 | end | |
| 3879 | ||
| 3880 | function GleamingBeam() | |
| 3881 | attack = true | |
| 3882 | bosschatfunc("CORRUPTED BEAM!!!",MAINRUINCOLOR.Color,3)
| |
| 3883 | CFuncs["EchoSound"].Create("rbxassetid://1535995570", char, 8, 1,0,10,0.15,0.5,1)
| |
| 3884 | CFuncs["EchoSound"].Create("rbxassetid://1535995570", root, 60, 1,0,10,0.15,0.5,1)
| |
| 3885 | local rsiz = math.random(1,15) | |
| 3886 | local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) | |
| 3887 | hb.Anchored = true | |
| 3888 | hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0) | |
| 3889 | CFuncs["Sound"].Create("rbxassetid://1042700914", sorb, 8,0.25)
| |
| 3890 | for i = 0, 16, 0.1 do | |
| 3891 | swait() | |
| 3892 | rsiz = math.random(5,15) | |
| 3893 | hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0) | |
| 3894 | sphereMK(math.random(3,9),0.25,"Add",sorb.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,-15) | |
| 3895 | sphere2(5,"Add",sorb.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4,4,4),0.01,0.01,0.01,MAINRUINCOLOR) | |
| 3896 | 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) | |
| 3897 | 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) | |
| 3898 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(40)),.1) | |
| 3899 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(-40)),.1) | |
| 3900 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1) | |
| 3901 | LW.C0=clerp(LW.C0,cf(-1.25,0.5,0.5)*angles(math.rad(-20),math.rad(0),math.rad(20)),.1) | |
| 3902 | end | |
| 3903 | CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 10,0.6)
| |
| 3904 | CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 10,0.5)
| |
| 3905 | for i = 0, 2 do | |
| 3906 | CFuncs["Sound"].Create("rbxassetid://1042696115", sorb, 10,1)
| |
| 3907 | end | |
| 3908 | sphere2(3,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR) | |
| 3909 | sphere2(6,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR) | |
| 3910 | sphere2(9,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR) | |
| 3911 | for i = 0, 49 do | |
| 3912 | local rsiza = math.random(1,15) | |
| 3913 | sphereMK(math.random(1,5),0.75,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,MAINRUINCOLOR,0) | |
| 3914 | end | |
| 3915 | local a = Instance.new("Part",Character)
| |
| 3916 | a.Name = "Direction" | |
| 3917 | a.Anchored = true | |
| 3918 | a.BrickColor = MAINRUINCOLOR | |
| 3919 | a.Material = "Neon" | |
| 3920 | a.Transparency = 0 | |
| 3921 | a.Shape = "Cylinder" | |
| 3922 | a.CanCollide = false | |
| 3923 | local ba = Instance.new("Part",Character)
| |
| 3924 | ba.Name = "HitDirect" | |
| 3925 | ba.Anchored = true | |
| 3926 | ba.BrickColor = bc("Cool yellow")
| |
| 3927 | ba.Material = "Neon" | |
| 3928 | ba.Transparency = 1 | |
| 3929 | ba.CanCollide = false | |
| 3930 | local ray = Ray.new( | |
| 3931 | hb.CFrame.p, -- origin | |
| 3932 | (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction | |
| 3933 | ) | |
| 3934 | local ignore = Character | |
| 3935 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 3936 | a.BottomSurface = 10 | |
| 3937 | a.TopSurface = 10 | |
| 3938 | local distance = (hb.CFrame.p - position).magnitude | |
| 3939 | a.Size = Vector3.new(distance, 1, 1) | |
| 3940 | a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 3941 | ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 3942 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 3943 | local msh = Instance.new("SpecialMesh",a)
| |
| 3944 | msh.MeshType = "Cylinder" | |
| 3945 | msh.Scale = vt(1,4,4) | |
| 3946 | game:GetService("Debris"):AddItem(a, 30)
| |
| 3947 | game:GetService("Debris"):AddItem(ba, 30)
| |
| 3948 | for i = 0, 25, 0.1 do | |
| 3949 | swait() | |
| 3950 | hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0) | |
| 3951 | ray = Ray.new( | |
| 3952 | hb.CFrame.p, -- origin | |
| 3953 | (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction | |
| 3954 | ) | |
| 3955 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 3956 | distance = (hb.CFrame.p - position).magnitude | |
| 3957 | a.Size = Vector3.new(distance, 1, 1) | |
| 3958 | a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 3959 | ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 3960 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 3961 | rsiz = math.random(5,25) | |
| 3962 | MagniDamage(ba, 12, 40000,900000, 0, "Normal") | |
| 3963 | sphereMK(math.random(4,8),0.25,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/5,rsiz/5,rsiz/5,0,MAINRUINCOLOR,0) | |
| 3964 | for c = 0, 2 do | |
| 3965 | sphereMK(math.random(3,6),0.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/5,rsiz/5,rsiz/5,0,MAINRUINCOLOR,2) | |
| 3966 | end | |
| 3967 | sphere2(5,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4.2,4.2,4.2),0.01,0.01,0.01,MAINRUINCOLOR) | |
| 3968 | sphere2(5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(12,12,12),0.05,0.05,0.05,MAINRUINCOLOR) | |
| 3969 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.6) | |
| 3970 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.6) | |
| 3971 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(80)),.6) | |
| 3972 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(-80)),.6) | |
| 3973 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(80)),.6) | |
| 3974 | LW.C0=clerp(LW.C0,cf(-1.25,0.5,0.5)*angles(math.rad(-20),math.rad(0),math.rad(20)),.6) | |
| 3975 | end | |
| 3976 | CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 5,0.8)
| |
| 3977 | CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 5,0.9)
| |
| 3978 | CFuncs["Sound"].Create("rbxassetid://1042693018", ba, 10,0.8)
| |
| 3979 | CFuncs["Sound"].Create("rbxassetid://1042695469", ba, 10,0.9)
| |
| 3980 | MagniDamage(ba, 30, 400000,9000000, 0, "Normal") | |
| 3981 | sphere2(1,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),1,1,1,MAINRUINCOLOR) | |
| 3982 | sphere2(2,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),1,1,1,MAINRUINCOLOR) | |
| 3983 | sphere2(3,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),1,1,1,MAINRUINCOLOR) | |
| 3984 | sphere2(3,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR) | |
| 3985 | sphere2(6,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR) | |
| 3986 | sphere2(9,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR) | |
| 3987 | for i = 0, 49 do | |
| 3988 | local rsiza = math.random(1,15) | |
| 3989 | sphereMK(math.random(1,5),0.75,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,MAINRUINCOLOR,0) | |
| 3990 | end | |
| 3991 | for i = 0, 49 do | |
| 3992 | rsiz = math.random(1,8) | |
| 3993 | sphereMK(math.random(1,3),1,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz,rsiz,rsiz,0,MAINRUINCOLOR,2) | |
| 3994 | end | |
| 3995 | coroutine.resume(coroutine.create(function() | |
| 3996 | for i = 0, 99 do | |
| 3997 | swait() | |
| 3998 | a.Transparency = a.Transparency + 0.01 | |
| 3999 | end | |
| 4000 | a:Destroy() | |
| 4001 | ba:Destroy() | |
| 4002 | end)) | |
| 4003 | hb:Destroy() | |
| 4004 | attack = false | |
| 4005 | end | |
| 4006 | ||
| 4007 | function BeamOfDeath() | |
| 4008 | attack = true | |
| 4009 | bosschatfunc("DETERMINED STRIKE!",MAINRUINCOLOR.Color,2)
| |
| 4010 | hum.WalkSpeed = 0 | |
| 4011 | local keptcolor = MAINRUINCOLOR | |
| 4012 | local orb = Instance.new("Part", char)
| |
| 4013 | orb.BrickColor = keptcolor | |
| 4014 | orb.CanCollide = false | |
| 4015 | orb.FormFactor = 3 | |
| 4016 | orb.Name = "Ring" | |
| 4017 | orb.Material = "Neon" | |
| 4018 | orb.Size = Vector3.new(1, 1, 1) | |
| 4019 | orb.Transparency = 1 | |
| 4020 | orb.TopSurface = 0 | |
| 4021 | orb.BottomSurface = 0 | |
| 4022 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 4023 | orbm.MeshType = "Sphere" | |
| 4024 | orbm.Name = "SizeMesh" | |
| 4025 | orbm.Scale = vt(22.5,10000,22.5) | |
| 4026 | orb.CFrame = mouse.Hit | |
| 4027 | orb.Anchored = true | |
| 4028 | orb.Orientation = vt(0,0,0) | |
| 4029 | orb.CFrame = orb.CFrame*CFrame.new(0,1,0) | |
| 4030 | CFuncs["LongSound"].Create("rbxassetid://1545630949", char, 1.5, 1)
| |
| 4031 | coroutine.resume(coroutine.create(function() | |
| 4032 | coroutine.resume(coroutine.create(function() | |
| 4033 | for i = 0, 399 do | |
| 4034 | swait() | |
| 4035 | orbm.Scale = orbm.Scale - vt(0.05,0,0.05) | |
| 4036 | orb.Transparency = orb.Transparency - 0.0025 | |
| 4037 | end | |
| 4038 | end)) | |
| 4039 | wait(9) | |
| 4040 | coroutine.resume(coroutine.create(function() | |
| 4041 | local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char) | |
| 4042 | if hfr ~= nil then | |
| 4043 | for i = 0, 49 do | |
| 4044 | local deb = Instance.new("Part", char)
| |
| 4045 | deb.Anchored = true | |
| 4046 | deb.CanCollide = false | |
| 4047 | deb.FormFactor = 3 | |
| 4048 | deb.Name = "Ring" | |
| 4049 | deb.Material = hitfloor.Material | |
| 4050 | deb.Color = hitfloor.Color | |
| 4051 | deb.Size = vt(math.random(50,55),math.random(50,55),math.random(50,55)) | |
| 4052 | deb.Transparency = 0 | |
| 4053 | deb.TopSurface = 0 | |
| 4054 | deb.BottomSurface = 0 | |
| 4055 | deb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),-5,math.random(-150,150))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
| 4056 | local deb2 = Instance.new("Part", char)
| |
| 4057 | deb2.CanCollide = false | |
| 4058 | deb2.FormFactor = 3 | |
| 4059 | deb2.Name = "Ring" | |
| 4060 | deb2.Material = hitfloor.Material | |
| 4061 | deb2.Color = hitfloor.Color | |
| 4062 | deb2.Size = vt(math.random(34,38),math.random(34,38),math.random(34,38)) | |
| 4063 | deb2.Transparency = 0 | |
| 4064 | deb2.TopSurface = 0 | |
| 4065 | deb2.BottomSurface = 0 | |
| 4066 | deb2.Velocity = vt(math.random(-150,150),math.random(250,650),math.random(-150,150)) | |
| 4067 | deb2.CFrame = orb.CFrame*CFrame.new(math.random(-60,60),-5,math.random(-60,60))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
| 4068 | local eff = Instance.new("ParticleEmitter",deb)
| |
| 4069 | eff.Texture = "rbxassetid://363275192" | |
| 4070 | eff.LightEmission = 0.95 | |
| 4071 | eff.Color = ColorSequence.new(keptcolor.Color) | |
| 4072 | eff.Rate = 100 | |
| 4073 | eff.Lifetime = NumberRange.new(1) | |
| 4074 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,40,0),NumberSequenceKeypoint.new(1,45,0)})
| |
| 4075 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 4076 | eff.Speed = NumberRange.new(0,5) | |
| 4077 | eff.Rotation = NumberRange.new(-500,500) | |
| 4078 | eff.VelocitySpread = 9000 | |
| 4079 | eff.RotSpeed = NumberRange.new(-10,10) | |
| 4080 | local at1 = Instance.new('Attachment',deb2)
| |
| 4081 | at1.Position = vt(0,15,0) | |
| 4082 | local at2 = Instance.new('Attachment',deb2)
| |
| 4083 | at2.Position = vt(0,-15,0) | |
| 4084 | local tl = Instance.new('Trail',deb2)
| |
| 4085 | tl.Attachment0 = at1 | |
| 4086 | tl.Attachment1 = at2 | |
| 4087 | tl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 4088 | tl.Color = ColorSequence.new(BrickColor.new('White').Color)
| |
| 4089 | tl.Lifetime = 1 | |
| 4090 | game:GetService("Debris"):AddItem(deb,30)
| |
| 4091 | game:GetService("Debris"):AddItem(deb2,30)
| |
| 4092 | coroutine.resume(coroutine.create(function() | |
| 4093 | wait(15) | |
| 4094 | eff.Enabled = false | |
| 4095 | for i = 0, 49 do | |
| 4096 | swait() | |
| 4097 | deb.Transparency = deb.Transparency + 0.02 | |
| 4098 | end | |
| 4099 | wait(1) | |
| 4100 | deb:Destroy() | |
| 4101 | end)) | |
| 4102 | end | |
| 4103 | end | |
| 4104 | end)) | |
| 4105 | for i = 0, 199 do | |
| 4106 | swait(1.5) | |
| 4107 | for i, v in pairs(FindNearestHead(orb.CFrame.p, 175)) do | |
| 4108 | if v:FindFirstChild('Head') then
| |
| 4109 | dmg(v) | |
| 4110 | end | |
| 4111 | end | |
| 4112 | sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),5,5,5,keptcolor) | |
| 4113 | sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),1,35,1,keptcolor) | |
| 4114 | sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),0,50,0,keptcolor) | |
| 4115 | sphere2(5,"Add",orb.CFrame,vt(10,100000,10),2,2,2,keptcolor) | |
| 4116 | end | |
| 4117 | orb:Destroy() | |
| 4118 | end)) | |
| 4119 | hum.WalkSpeed = storehumanoidWS | |
| 4120 | attack = false | |
| 4121 | end | |
| 4122 | ||
| 4123 | function Beams() | |
| 4124 | attack = true | |
| 4125 | hum.WalkSpeed = 0 | |
| 4126 | CFuncs["EchoSound"].Create("rbxassetid://1436242274", char, 8, 1,0,10,0.15,0.5,1)
| |
| 4127 | CFuncs["EchoSound"].Create("rbxassetid://1436242274", root, 60, 1,0,10,0.15,0.5,1)
| |
| 4128 | bosschatfunc("DETERMINED BEAMS!",MAINRUINCOLOR.Color,2)
| |
| 4129 | local keptcolor = MAINRUINCOLOR | |
| 4130 | coroutine.resume(coroutine.create(function() | |
| 4131 | for i = 0, 96 do | |
| 4132 | swait(5) | |
| 4133 | local orb = Instance.new("Part", char)
| |
| 4134 | CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
| |
| 4135 | orb.BrickColor = keptcolor | |
| 4136 | orb.CanCollide = false | |
| 4137 | orb.FormFactor = 3 | |
| 4138 | orb.Name = "Ring" | |
| 4139 | orb.Material = "Neon" | |
| 4140 | orb.Size = Vector3.new(1, 1, 1) | |
| 4141 | orb.Transparency = 0 | |
| 4142 | orb.TopSurface = 0 | |
| 4143 | orb.BottomSurface = 0 | |
| 4144 | orb.Anchored = true | |
| 4145 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 4146 | orbm.MeshType = "Sphere" | |
| 4147 | orbm.Name = "SizeMesh" | |
| 4148 | orbm.Scale = vt(1.25,1.25,1.25) | |
| 4149 | orb.CFrame = root.CFrame*CFrame.new(math.random(-6,6),math.random(3,9),math.random(-6,6)) | |
| 4150 | sphere2(6,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor) | |
| 4151 | coroutine.resume(coroutine.create(function() | |
| 4152 | wait(0.5) | |
| 4153 | CFuncs["Sound"].Create("rbxassetid://161006182", orb, 2.5, 1.1)
| |
| 4154 | sphere2(3,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor) | |
| 4155 | sphere2(4,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor) | |
| 4156 | orb.Transparency = 1 | |
| 4157 | local a = Instance.new("Part",char)
| |
| 4158 | a.Name = "Direction" | |
| 4159 | a.Anchored = true | |
| 4160 | a.BrickColor = keptcolor | |
| 4161 | a.Material = "Neon" | |
| 4162 | a.Transparency = 0.25 | |
| 4163 | a.Shape = "Cylinder" | |
| 4164 | local ht = Instance.new("Part",char)
| |
| 4165 | ht.Name = "DirectionHit" | |
| 4166 | ht.Anchored = true | |
| 4167 | ht.BrickColor = keptcolor | |
| 4168 | ht.CanCollide = false | |
| 4169 | ht.Transparency = 1 | |
| 4170 | ht.Size = vt(0.1,0.1,0.1) | |
| 4171 | CFuncs["Sound"].Create("rbxassetid://183763487", ht, 2, 1.6)
| |
| 4172 | a.CanCollide = false | |
| 4173 | local ray = Ray.new( | |
| 4174 | orb.CFrame.p, -- origin | |
| 4175 | (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction | |
| 4176 | ) | |
| 4177 | local ignore = char | |
| 4178 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 4179 | a.BottomSurface = 10 | |
| 4180 | a.TopSurface = 10 | |
| 4181 | local distance = (orb.CFrame.p - position).magnitude | |
| 4182 | a.Size = Vector3.new(distance,1,1) | |
| 4183 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 4184 | ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 4185 | sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor) | |
| 4186 | sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor) | |
| 4187 | MagniDamage(ht, 9, 30,60, 0, "Normal") | |
| 4188 | coroutine.resume(coroutine.create(function() | |
| 4189 | local eff = Instance.new("ParticleEmitter",ht)
| |
| 4190 | eff.Texture = "rbxassetid://284205403" | |
| 4191 | eff.LightEmission = 0.95 | |
| 4192 | eff.Color = ColorSequence.new(keptcolor.Color) | |
| 4193 | eff.Rate = 500 | |
| 4194 | eff.Lifetime = NumberRange.new(0.5) | |
| 4195 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.2,2.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
| |
| 4196 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 4197 | eff.Speed = NumberRange.new(10,50) | |
| 4198 | eff.Drag = 5 | |
| 4199 | eff.Rotation = NumberRange.new(-500,500) | |
| 4200 | eff.VelocitySpread = 9000 | |
| 4201 | eff.RotSpeed = NumberRange.new(-500,500) | |
| 4202 | wait(0.25) | |
| 4203 | eff.Enabled = false | |
| 4204 | end)) | |
| 4205 | for i = 0, 4 do | |
| 4206 | sphere2(8,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.005,0.125,-0.005,keptcolor) | |
| 4207 | sphere2(4,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.01,0.5,-0.01,keptcolor) | |
| 4208 | local rsiz = math.random(10,30) | |
| 4209 | sphereMK(math.random(2,4),0.25,"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0) | |
| 4210 | end | |
| 4211 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4212 | local msh = Instance.new("SpecialMesh",a)
| |
| 4213 | msh.MeshType = "Cylinder" | |
| 4214 | msh.Scale = vt(1,1,1) | |
| 4215 | for i = 0, 49 do | |
| 4216 | swait() | |
| 4217 | msh.Scale = msh.Scale + vt(0,0.01,0.01) | |
| 4218 | a.Transparency = a.Transparency + 0.02 | |
| 4219 | end | |
| 4220 | orb:Destroy() | |
| 4221 | a:Destroy() | |
| 4222 | ht:Destroy() | |
| 4223 | end)) | |
| 4224 | game:GetService("Debris"):AddItem(orb, 10)
| |
| 4225 | end | |
| 4226 | end)) | |
| 4227 | for i = 0,6,0.1 do | |
| 4228 | swait() | |
| 4229 | sphere2(7,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,keptcolor) | |
| 4230 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.2 * math.cos(sine / 35))* angles(math.rad(0),math.rad(0),math.rad(40)),0.3) | |
| 4231 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(-40)),.3) | |
| 4232 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(10)), 0.3) | |
| 4233 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(6), math.rad(20), math.rad(-10)), 0.3) | |
| 4234 | 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) | |
| 4235 | 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) | |
| 4236 | end | |
| 4237 | hum.WalkSpeed = storehumanoidWS | |
| 4238 | attack = false | |
| 4239 | end | |
| 4240 | ||
| 4241 | function hugg() | |
| 4242 | attack = true | |
| 4243 | hum.WalkSpeed = 5 | |
| 4244 | local rsiz = math.random(5,15) | |
| 4245 | for i = 0, 2, 0.1 do | |
| 4246 | swait() | |
| 4247 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3) | |
| 4248 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3) | |
| 4249 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 4250 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(0)),.3) | |
| 4251 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(40)),.3) | |
| 4252 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(-40)),.3) | |
| 4253 | end | |
| 4254 | CFuncs["Sound"].Create("rbxassetid://444895479", root, 0.5,1)
| |
| 4255 | local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4256 | hb.Anchored = true | |
| 4257 | hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2 | |
| 4258 | local huggedperson = nil | |
| 4259 | local act = false | |
| 4260 | local alreadydid = false | |
| 4261 | for i = 0, 3, 0.1 do | |
| 4262 | swait() | |
| 4263 | if act == false then | |
| 4264 | for i, v in pairs(FindNearestHead(hb.CFrame.p, 1.25)) do | |
| 4265 | if v:FindFirstChild('Head') then
| |
| 4266 | if alreadydid == false then | |
| 4267 | huggedperson = v | |
| 4268 | hum.WalkSpeed = 0 | |
| 4269 | CFuncs["Sound"].Create("rbxassetid://294861193", root, 1,1)
| |
| 4270 | CFuncs["Sound"].Create("rbxassetid://200632821", root, 1,1.15)
| |
| 4271 | CFuncs["Sound"].Create("rbxassetid://1042716828", root, 1.5,1)
| |
| 4272 | CFuncs["Sound"].Create("rbxassetid://884155627", root, 2,1)
| |
| 4273 | local radm = math.random(1,3) | |
| 4274 | bosschatfunc("Friend hug!..",MAINRUINCOLOR.Color,1)
| |
| 4275 | root.Anchored = true | |
| 4276 | coroutine.resume(coroutine.create(function() | |
| 4277 | huggedperson.Humanoid.WalkSpeed = 0 | |
| 4278 | huggedperson:WaitForChild("HumanoidRootPart").Anchored = true
| |
| 4279 | end)) | |
| 4280 | --chatfunc(string.lower(huggedperson.Name).. "~~",BrickColor.new("Pink").Color,"Normal","SourceSansBold",1)
| |
| 4281 | alreadydid = true | |
| 4282 | act = true | |
| 4283 | print(huggedperson.Name) | |
| 4284 | end | |
| 4285 | end | |
| 4286 | end | |
| 4287 | hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2 | |
| 4288 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(0)),.3) | |
| 4289 | elseif act == true then | |
| 4290 | coroutine.resume(coroutine.create(function() | |
| 4291 | huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
| |
| 4292 | end)) | |
| 4293 | rsiz = math.random(5,15) | |
| 4294 | sphereMK(math.random(1,4),0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-8,-4),math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),rsiz/20,rsiz/20,rsiz/20,0,MAINRUINCOLOR,0) | |
| 4295 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(40)),.1) | |
| 4296 | huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0) | |
| 4297 | end | |
| 4298 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3) | |
| 4299 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3) | |
| 4300 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 4301 | RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3) | |
| 4302 | LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3) | |
| 4303 | end | |
| 4304 | hb:Destroy() | |
| 4305 | if act == true then | |
| 4306 | for x = 0, 2 do | |
| 4307 | for i = 0, 2, 0.1 do | |
| 4308 | swait() | |
| 4309 | coroutine.resume(coroutine.create(function() | |
| 4310 | huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
| |
| 4311 | end)) | |
| 4312 | rsiz = math.random(5,15) | |
| 4313 | sphereMK(math.random(1,4),0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-8,-4),math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),rsiz/20,rsiz/20,rsiz/20,0,MAINRUINCOLOR,0) | |
| 4314 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(45)),.1) | |
| 4315 | huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0) | |
| 4316 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3) | |
| 4317 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3) | |
| 4318 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 4319 | RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3) | |
| 4320 | LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3) | |
| 4321 | end | |
| 4322 | for i = 0, 2, 0.1 do | |
| 4323 | swait() | |
| 4324 | coroutine.resume(coroutine.create(function() | |
| 4325 | huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
| |
| 4326 | end)) | |
| 4327 | rsiz = math.random(5,15) | |
| 4328 | sphereMK(math.random(1,4),0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-8,-4),math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),rsiz/20,rsiz/20,rsiz/20,0,MAINRUINCOLOR,0) | |
| 4329 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(35)),.1) | |
| 4330 | huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0) | |
| 4331 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3) | |
| 4332 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3) | |
| 4333 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 4334 | RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3) | |
| 4335 | LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3) | |
| 4336 | end | |
| 4337 | end | |
| 4338 | end | |
| 4339 | hum.WalkSpeed = storehumanoidWS | |
| 4340 | root.Anchored = false | |
| 4341 | if act == true then | |
| 4342 | coroutine.resume(coroutine.create(function() | |
| 4343 | huggedperson.Humanoid.WalkSpeed = 16 | |
| 4344 | huggedperson:WaitForChild("HumanoidRootPart").Anchored = false
| |
| 4345 | end)) | |
| 4346 | end | |
| 4347 | hum.WalkSpeed = storehumanoidWS | |
| 4348 | attack = false | |
| 4349 | end | |
| 4350 | ||
| 4351 | function THE_TRUE_POWER_OF_VIOLENCE() | |
| 4352 | attack = true | |
| 4353 | hum.WalkSpeed = 0 | |
| 4354 | CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 2.5,0.7)
| |
| 4355 | for i = 0, 10, 0.1 do | |
| 4356 | swait() | |
| 4357 | 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) | |
| 4358 | 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) | |
| 4359 | 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) | |
| 4360 | 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) | |
| 4361 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4) | |
| 4362 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4) | |
| 4363 | 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) | |
| 4364 | end | |
| 4365 | local orb = Instance.new("Part", char)
| |
| 4366 | orb.BrickColor = MAINRUINCOLOR | |
| 4367 | orb.CanCollide = false | |
| 4368 | orb.FormFactor = 3 | |
| 4369 | orb.Name = "Ring" | |
| 4370 | orb.Material = "Neon" | |
| 4371 | orb.Size = Vector3.new(1, 1, 1) | |
| 4372 | orb.Transparency = 0 | |
| 4373 | orb.TopSurface = 0 | |
| 4374 | orb.BottomSurface = 0 | |
| 4375 | orb.CFrame = sorb.CFrame | |
| 4376 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 4377 | orbm.MeshType = "Sphere" | |
| 4378 | orbm.Name = "SizeMesh" | |
| 4379 | orbm.Scale = vt(0,0,0) | |
| 4380 | local sbs = Instance.new("BodyPosition", orb)
| |
| 4381 | sbs.P = 3000 | |
| 4382 | sbs.D = 1000 | |
| 4383 | sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000) | |
| 4384 | sbs.position = RootPart.CFrame.p + Vector3.new(0, 250, 0) | |
| 4385 | CFuncs["Sound"].Create("rbxassetid://419447292", rarm, 5,1)
| |
| 4386 | sphere(1,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
| 4387 | sphere(2,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
| 4388 | sphere(3,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
| 4389 | sphere(4,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
| 4390 | sphere(5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
| 4391 | for i = 0, 10, 0.1 do | |
| 4392 | swait() | |
| 4393 | 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) | |
| 4394 | 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) | |
| 4395 | 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) | |
| 4396 | 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) | |
| 4397 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6) | |
| 4398 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4) | |
| 4399 | 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) | |
| 4400 | end | |
| 4401 | orb.Anchored = true | |
| 4402 | local elocacenter = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4403 | elocacenter.Anchored = true | |
| 4404 | elocacenter.CFrame = orb.CFrame | |
| 4405 | elocacenter.Orientation = vt(0,0,0) | |
| 4406 | local eloca1 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4407 | eloca1.Anchored = true | |
| 4408 | eloca1.CFrame = elocacenter.CFrame | |
| 4409 | local eloca2 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4410 | eloca2.Anchored = true | |
| 4411 | eloca2.CFrame = elocacenter.CFrame | |
| 4412 | local eloca3 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4413 | eloca3.Anchored = true | |
| 4414 | eloca3.CFrame = elocacenter.CFrame | |
| 4415 | local eloca4 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4416 | eloca4.Anchored = true | |
| 4417 | eloca4.CFrame = elocacenter.CFrame | |
| 4418 | local lookavec = 0 | |
| 4419 | local speeds = 0 | |
| 4420 | CameraEnshaking(1,1) | |
| 4421 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 3,1)
| |
| 4422 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 1.5,1)
| |
| 4423 | CFuncs["Sound"].Create("rbxassetid://468991944", char, 2.5, 1)
| |
| 4424 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 1)
| |
| 4425 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4426 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4427 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4428 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4429 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4430 | for i = 0, 99 do | |
| 4431 | swait() | |
| 4432 | lookavec = lookavec + 2.5 | |
| 4433 | speeds = speeds + 0.25 | |
| 4434 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
| 4435 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
| 4436 | 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) | |
| 4437 | ||
| 4438 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
| 4439 | 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) | |
| 4440 | ||
| 4441 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
| 4442 | 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) | |
| 4443 | ||
| 4444 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
| 4445 | 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) | |
| 4446 | end | |
| 4447 | ||
| 4448 | for i = 0, 149 do | |
| 4449 | swait() | |
| 4450 | speeds = speeds + 0.25 | |
| 4451 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
| 4452 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
| 4453 | 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) | |
| 4454 | ||
| 4455 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
| 4456 | 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) | |
| 4457 | ||
| 4458 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
| 4459 | 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) | |
| 4460 | ||
| 4461 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
| 4462 | 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) | |
| 4463 | end | |
| 4464 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 5, 0.75)
| |
| 4465 | for i = 0, 99 do | |
| 4466 | swait() | |
| 4467 | lookavec = lookavec - 2.5 | |
| 4468 | speeds = speeds + 0.25 | |
| 4469 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
| 4470 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
| 4471 | 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) | |
| 4472 | ||
| 4473 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
| 4474 | 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) | |
| 4475 | ||
| 4476 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
| 4477 | 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) | |
| 4478 | ||
| 4479 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
| 4480 | 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) | |
| 4481 | end | |
| 4482 | local scaled = 0.1*75 | |
| 4483 | CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,1)
| |
| 4484 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5,1)
| |
| 4485 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5,0.5)
| |
| 4486 | CFuncs["Sound"].Create("rbxassetid://151304356", char, 1,0.5)
| |
| 4487 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 3.5, 0.75)
| |
| 4488 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
| |
| 4489 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4490 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4491 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4492 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4493 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4494 | for i = 0, 10, 0.1 do | |
| 4495 | swait() | |
| 4496 | scaled = scaled - 0.001*75 | |
| 4497 | orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled) | |
| 4498 | 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) | |
| 4499 | 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) | |
| 4500 | 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) | |
| 4501 | 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) | |
| 4502 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6) | |
| 4503 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4) | |
| 4504 | 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) | |
| 4505 | end | |
| 4506 | for x = 0, 4 do | |
| 4507 | for i = 0, 9 do | |
| 4508 | 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) | |
| 4509 | end | |
| 4510 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,0.75)
| |
| 4511 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 0.5)
| |
| 4512 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4513 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4514 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4515 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4516 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4517 | for i = 0, 5, 0.1 do | |
| 4518 | swait() | |
| 4519 | 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) | |
| 4520 | 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) | |
| 4521 | 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) | |
| 4522 | 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) | |
| 4523 | 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) | |
| 4524 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.1) | |
| 4525 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.1) | |
| 4526 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.1) | |
| 4527 | end | |
| 4528 | end | |
| 4529 | local speedearn = 0 | |
| 4530 | CFuncs["Sound"].Create("rbxassetid://136007472", char, 5,0.2)
| |
| 4531 | CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.75)
| |
| 4532 | CFuncs["Sound"].Create("rbxassetid://163619849", char, 2.5, 0.25)
| |
| 4533 | for i = 0, 30, 0.1 do | |
| 4534 | swait() | |
| 4535 | scaled = scaled - 0.001*75/10 | |
| 4536 | speedearn = speedearn + 0.5 | |
| 4537 | for i = 0, 4 do | |
| 4538 | 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) | |
| 4539 | end | |
| 4540 | 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) | |
| 4541 | orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled) | |
| 4542 | 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) | |
| 4543 | 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) | |
| 4544 | 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) | |
| 4545 | 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) | |
| 4546 | 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) | |
| 4547 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.6) | |
| 4548 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.4) | |
| 4549 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.6) | |
| 4550 | end | |
| 4551 | orb.Transparency = 1 | |
| 4552 | for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125000000)) do | |
| 4553 | if v:FindFirstChild('Head') then
| |
| 4554 | dmg(v) | |
| 4555 | end | |
| 4556 | end | |
| 4557 | CameraEnshaking(7,30) | |
| 4558 | MagniDamage(elocacenter, 9999999, 5000000,99999999, 0, "Normal") | |
| 4559 | CFuncs["Sound"].Create("rbxassetid://167115397", char, 5,1)
| |
| 4560 | CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.5)
| |
| 4561 | CFuncs["Sound"].Create("rbxassetid://163619849", char, 3, 0.25)
| |
| 4562 | CFuncs["Sound"].Create("rbxassetid://468991944", char, 10, 1)
| |
| 4563 | CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
| |
| 4564 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 6,1)
| |
| 4565 | CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
| |
| 4566 | CFuncs["Sound"].Create("rbxassetid://741272936", char, 5, 1)
| |
| 4567 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 5, 1)
| |
| 4568 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 7.5, 0.5)
| |
| 4569 | CFuncs["Sound"].Create("rbxassetid://429123896", char, 5, 0.85)
| |
| 4570 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 1)
| |
| 4571 | CFuncs["Sound"].Create("rbxassetid://919941001", char, 5,1.05)
| |
| 4572 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4573 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4574 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4575 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4576 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 4577 | for i = 0, 99 do | |
| 4578 | 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) | |
| 4579 | 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) | |
| 4580 | end | |
| 4581 | for i = 0, 24 do | |
| 4582 | 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) | |
| 4583 | 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) | |
| 4584 | 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) | |
| 4585 | 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) | |
| 4586 | 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) | |
| 4587 | end | |
| 4588 | game:GetService("Debris"):AddItem(orb, 10)
| |
| 4589 | hum.WalkSpeed = storehumanoidWS | |
| 4590 | attack = false | |
| 4591 | end | |
| 4592 | ||
| 4593 | function Judgement() | |
| 4594 | attack = true | |
| 4595 | judgement = true | |
| 4596 | hum.WalkSpeed = 0 | |
| 4597 | local p = Instance.new("Part",root)
| |
| 4598 | p.Anchored = true | |
| 4599 | p.CanCollide = false | |
| 4600 | p.BrickColor = MAINRUINCOLOR | |
| 4601 | p.Material = Enum.Material.Neon | |
| 4602 | p.Size = Vector3.new(1,1,1) | |
| 4603 | p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0) | |
| 4604 | p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354) | |
| 4605 | local m = Instance.new("SpecialMesh",p)
| |
| 4606 | m.MeshType = "Cylinder" | |
| 4607 | m.Scale = Vector3.new(2000,2,2) | |
| 4608 | local targ = Instance.new("Part",root)
| |
| 4609 | targ.Anchored = true | |
| 4610 | targ.Transparency = 1 | |
| 4611 | targ.CanCollide = false | |
| 4612 | targ.Size = Vector3.new(1,1,1) | |
| 4613 | targ.CFrame = p.CFrame-Vector3.new(0,1000,0) | |
| 4614 | local s = Instance.new("Sound",targ)
| |
| 4615 | s.SoundId = "https://roblox.com/asset/?id=115327352" | |
| 4616 | s.Looped = true | |
| 4617 | s.Pitch = 1.2 | |
| 4618 | s.Volume = 3 | |
| 4619 | spawn(function() | |
| 4620 | swait(15) | |
| 4621 | s:Play() | |
| 4622 | end) | |
| 4623 | CFuncs.Sound.Create("rbxassetid://1208650519", targ, 10, 1)
| |
| 4624 | for i = 1,15 do | |
| 4625 | targ.CFrame = p.CFrame-Vector3.new(0,1000,0) | |
| 4626 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2) | |
| 4627 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2) | |
| 4628 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2) | |
| 4629 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2) | |
| 4630 | 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(-20)),.2) | |
| 4631 | 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(10),math.rad(20)),.2) | |
| 4632 | sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.05, MAINRUINCOLOR) | |
| 4633 | sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 7, -0.005, MAINRUINCOLOR, 0) | |
| 4634 | m.Scale = m.Scale+Vector3.new(0,1,1) | |
| 4635 | p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0) | |
| 4636 | p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354) | |
| 4637 | swait() | |
| 4638 | end | |
| 4639 | sphereMK(3, 0.2, "Add", targ.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, MAINRUINCOLOR, 0) | |
| 4640 | repeat | |
| 4641 | targ.CFrame = p.CFrame-Vector3.new(0,1000,0) | |
| 4642 | sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 3, 3, 15, -0.005, MAINRUINCOLOR, 0) | |
| 4643 | sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.15, MAINRUINCOLOR) | |
| 4644 | p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0) | |
| 4645 | p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354) | |
| 4646 | MagniDamage(targ, 25, 5, 8, 0, "Normal") | |
| 4647 | swait() | |
| 4648 | until judgement == false | |
| 4649 | for i =1,15 do | |
| 4650 | m.Scale = m.Scale-Vector3.new(1,1,1) | |
| 4651 | p.Transparency = i / 15 | |
| 4652 | s.Pitch = s.Pitch - 0.4 | |
| 4653 | swait() | |
| 4654 | end | |
| 4655 | p:Destroy() | |
| 4656 | hum.WalkSpeed = storehumanoidWS | |
| 4657 | attack = false | |
| 4658 | end | |
| 4659 | ||
| 4660 | function Starfall() | |
| 4661 | attack = true | |
| 4662 | hum.WalkSpeed = 0 | |
| 4663 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
| |
| 4664 | for i = 0, 5, 0.1 do | |
| 4665 | swait() | |
| 4666 | 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) | |
| 4667 | 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) | |
| 4668 | 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) | |
| 4669 | 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) | |
| 4670 | 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) | |
| 4671 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1) | |
| 4672 | 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) | |
| 4673 | 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) | |
| 4674 | end | |
| 4675 | local Overed = false | |
| 4676 | CameraEnshaking(2,20) | |
| 4677 | sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
| 4678 | sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
| 4679 | sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR) | |
| 4680 | CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
| |
| 4681 | local orb = Instance.new("Part", char)
| |
| 4682 | orb.Anchored = true | |
| 4683 | orb.BrickColor = BrickColor.new("Toothpaste")
| |
| 4684 | orb.CanCollide = false | |
| 4685 | orb.FormFactor = 3 | |
| 4686 | orb.Name = "Remenant" | |
| 4687 | orb.Material = "Neon" | |
| 4688 | orb.CFrame = root.CFrame*CFrame.new(0,150,0) | |
| 4689 | orb.Size = Vector3.new(1, 1, 1) | |
| 4690 | orb.Transparency = 1 | |
| 4691 | orb.TopSurface = 0 | |
| 4692 | orb.BottomSurface = 0 | |
| 4693 | hum.WalkSpeed = storehumanoidWS | |
| 4694 | coroutine.resume(coroutine.create(function() | |
| 4695 | for i = 0, 9 do | |
| 4696 | swait(10) | |
| 4697 | local lb = Instance.new("Part")
| |
| 4698 | lb.Color = MAINRUINCOLOR.Color | |
| 4699 | lb.CanCollide = false | |
| 4700 | lb.Material = "Neon" | |
| 4701 | lb.Anchored = true | |
| 4702 | lb.TopSurface = 0 | |
| 4703 | lb.BottomSurface = 0 | |
| 4704 | lb.Transparency = 0 | |
| 4705 | lb.Size = vt(1,1,1) | |
| 4706 | 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))) | |
| 4707 | lb.Anchored = false | |
| 4708 | lb.Parent = char | |
| 4709 | local thingery = Instance.new("SpecialMesh",lb)
| |
| 4710 | thingery.MeshType = "Sphere" | |
| 4711 | thingery.Scale = vt(20,20,20) | |
| 4712 | game:GetService("Debris"):AddItem(lb, 10)
| |
| 4713 | local bv = Instance.new("BodyVelocity")
| |
| 4714 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 4715 | bv.velocity = lb.CFrame.lookVector*math.random(75,250) | |
| 4716 | bv.Parent = lb | |
| 4717 | sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR) | |
| 4718 | sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR) | |
| 4719 | CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
| |
| 4720 | CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
| |
| 4721 | CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
| |
| 4722 | CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
| |
| 4723 | local hitted = false | |
| 4724 | coroutine.resume(coroutine.create(function() | |
| 4725 | while true do | |
| 4726 | swait(1) | |
| 4727 | if lb.Parent ~= nil and hitted == false then | |
| 4728 | 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) | |
| 4729 | elseif lb.Parent == nil then | |
| 4730 | break | |
| 4731 | end | |
| 4732 | end | |
| 4733 | end)) | |
| 4734 | ||
| 4735 | game:GetService("Debris"):AddItem(a, 0.1)
| |
| 4736 | ||
| 4737 | coroutine.resume(coroutine.create(function() | |
| 4738 | swait(1) | |
| 4739 | lb.Touched:connect(function(hit) | |
| 4740 | if hitted == false then | |
| 4741 | hitted = true | |
| 4742 | lb.Transparency = 1 | |
| 4743 | lb.Anchored = true | |
| 4744 | CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
| |
| 4745 | CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
| |
| 4746 | CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
| |
| 4747 | CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
| |
| 4748 | CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
| |
| 4749 | CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
| |
| 4750 | MagniDamage(lb, 45, 45,85, 0, "Normal") | |
| 4751 | CameraEnshaking(1,5) | |
| 4752 | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) | |
| 4753 | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) | |
| 4754 | for i = 0, 9 do | |
| 4755 | 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) | |
| 4756 | end | |
| 4757 | for i = 0, 49 do | |
| 4758 | swait() | |
| 4759 | MagniDamage(lb, 30, 2,4, 0, "Normal") | |
| 4760 | 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) | |
| 4761 | end | |
| 4762 | end | |
| 4763 | end) | |
| 4764 | end)) | |
| 4765 | end | |
| 4766 | Overed = true | |
| 4767 | orb:Destroy() | |
| 4768 | end)) | |
| 4769 | ||
| 4770 | attack = false | |
| 4771 | end | |
| 4772 | ||
| 4773 | ||
| 4774 | function ViolentRing() | |
| 4775 | attack = true | |
| 4776 | CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1, 1)
| |
| 4777 | for i = 0, 2, 0.1 do | |
| 4778 | swait() | |
| 4779 | local snap = math.random(1,10) | |
| 4780 | if snap == 1 then | |
| 4781 | 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) | |
| 4782 | end | |
| 4783 | 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) | |
| 4784 | 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) | |
| 4785 | 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) | |
| 4786 | 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) | |
| 4787 | 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) | |
| 4788 | 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) | |
| 4789 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.6) | |
| 4790 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70),math.rad(20),math.rad(50)),.4) | |
| 4791 | 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) | |
| 4792 | RootPart.CFrame = FaceMouse()[1] | |
| 4793 | end | |
| 4794 | local orb = Instance.new("Part", char)
| |
| 4795 | orb.BrickColor = MAINRUINCOLOR | |
| 4796 | orb.CanCollide = false | |
| 4797 | orb.FormFactor = 3 | |
| 4798 | orb.Name = "Ring" | |
| 4799 | orb.Material = "Neon" | |
| 4800 | orb.Size = Vector3.new(1, 1, 1) | |
| 4801 | orb.Transparency = 0 | |
| 4802 | orb.TopSurface = 0 | |
| 4803 | orb.BottomSurface = 0 | |
| 4804 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 4805 | orbm.MeshType = "Sphere" | |
| 4806 | orbm.Name = "SizeMesh" | |
| 4807 | orbm.Scale = vt(2,2,2) | |
| 4808 | orb.CFrame = mouse.Hit | |
| 4809 | local bv = Instance.new("BodyVelocity")
| |
| 4810 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 4811 | bv.velocity = orb.CFrame.lookVector*100 | |
| 4812 | bv.Parent = orb | |
| 4813 | local hitted = false | |
| 4814 | coroutine.resume(coroutine.create(function() | |
| 4815 | game:GetService("Debris"):AddItem(orb, 5)
| |
| 4816 | orb.Transparency = 1 | |
| 4817 | orb.Anchored = true | |
| 4818 | local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4819 | elocacenter.Anchored = true | |
| 4820 | elocacenter.CFrame = orb.CFrame | |
| 4821 | elocacenter.Orientation = vt(0,0,0) | |
| 4822 | local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4823 | eloca1.Anchored = true | |
| 4824 | eloca1.CFrame = elocacenter.CFrame | |
| 4825 | local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4826 | eloca2.Anchored = true | |
| 4827 | eloca2.CFrame = elocacenter.CFrame | |
| 4828 | local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4829 | eloca3.Anchored = true | |
| 4830 | eloca3.CFrame = elocacenter.CFrame | |
| 4831 | local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4832 | eloca4.Anchored = true | |
| 4833 | eloca4.CFrame = elocacenter.CFrame | |
| 4834 | local lookavec = 0 | |
| 4835 | local speeds = 0 | |
| 4836 | CameraEnshaking(1,1) | |
| 4837 | CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
| |
| 4838 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4839 | sphere(6,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4840 | sphere(7,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4841 | sphere(8,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4842 | sphere(9,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4843 | for i = 0, 24 do | |
| 4844 | swait() | |
| 4845 | lookavec = lookavec + 3.5 | |
| 4846 | speeds = speeds + 1 | |
| 4847 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
| 4848 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
| 4849 | 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) | |
| 4850 | ||
| 4851 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
| 4852 | 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) | |
| 4853 | ||
| 4854 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
| 4855 | 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) | |
| 4856 | ||
| 4857 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
| 4858 | 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) | |
| 4859 | end | |
| 4860 | ||
| 4861 | local risen = 0 | |
| 4862 | for i = 0, 49 do | |
| 4863 | swait() | |
| 4864 | risen = risen + 0.05 | |
| 4865 | speeds = speeds + 0.1 | |
| 4866 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
| 4867 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
| 4868 | 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) | |
| 4869 | ||
| 4870 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
| 4871 | 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) | |
| 4872 | ||
| 4873 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
| 4874 | 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) | |
| 4875 | ||
| 4876 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
| 4877 | 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) | |
| 4878 | end | |
| 4879 | for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 100)) do | |
| 4880 | if v:FindFirstChild('Head') then
| |
| 4881 | dmg(v) | |
| 4882 | end | |
| 4883 | end | |
| 4884 | CameraEnshaking(4,10) | |
| 4885 | MagniDamage(elocacenter, 150, 50,75, 0, "Normal") | |
| 4886 | CFuncs["Sound"].Create("rbxassetid://468991944", char, 2, 1)
| |
| 4887 | CFuncs["Sound"].Create("rbxassetid://533636230", char, 2.5, 0.75)
| |
| 4888 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 0.25,1)
| |
| 4889 | CFuncs["Sound"].Create("rbxassetid://421328847", char, 0.25,1)
| |
| 4890 | CFuncs["Sound"].Create("rbxassetid://919941001", char, 1.5,1.05)
| |
| 4891 | sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),-0.25,MAINRUINCOLOR) | |
| 4892 | sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),0.5,MAINRUINCOLOR) | |
| 4893 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4894 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4895 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4896 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4897 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4898 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),500,MAINRUINCOLOR) | |
| 4899 | for i = 0, 24 do | |
| 4900 | 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) | |
| 4901 | 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) | |
| 4902 | 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) | |
| 4903 | 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) | |
| 4904 | end | |
| 4905 | coroutine.resume(coroutine.create(function() | |
| 4906 | wait(10) | |
| 4907 | elocacenter:Destroy() | |
| 4908 | eloca1:Destroy() | |
| 4909 | eloca2:Destroy() | |
| 4910 | eloca3:Destroy() | |
| 4911 | eloca4:Destroy() | |
| 4912 | end)) | |
| 4913 | end)) | |
| 4914 | attack = false | |
| 4915 | end | |
| 4916 | ||
| 4917 | function UniversalCollapse() | |
| 4918 | attack = true | |
| 4919 | local speedearn = 0 | |
| 4920 | hum.WalkSpeed = 0 | |
| 4921 | local sbs = Instance.new("BodyPosition", root)
| |
| 4922 | sbs.P = 3000 | |
| 4923 | sbs.D = 1000 | |
| 4924 | sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000) | |
| 4925 | sbs.position = RootPart.CFrame.p + Vector3.new(0, 200, 0) | |
| 4926 | CFuncs["LongSound"].Create("rbxassetid://489657591", char, 10, 1)
| |
| 4927 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
| |
| 4928 | for i = 0, 110, 0.1 do | |
| 4929 | swait() | |
| 4930 | speedearn = speedearn + 0.1 | |
| 4931 | 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) | |
| 4932 | 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) | |
| 4933 | 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) | |
| 4934 | 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) | |
| 4935 | 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) | |
| 4936 | sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR) | |
| 4937 | 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) | |
| 4938 | 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) | |
| 4939 | 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) | |
| 4940 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
| 4941 | 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) | |
| 4942 | 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) | |
| 4943 | end | |
| 4944 | CameraEnshaking(5,50) | |
| 4945 | sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR) | |
| 4946 | for i = 0, 2 do | |
| 4947 | CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
| |
| 4948 | CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
| |
| 4949 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,1)
| |
| 4950 | CFuncs["Sound"].Create("rbxassetid://421328847", char, 5,1)
| |
| 4951 | end | |
| 4952 | for i = 0, 49 do | |
| 4953 | 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) | |
| 4954 | 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) | |
| 4955 | 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) | |
| 4956 | 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) | |
| 4957 | end | |
| 4958 | sphere(1,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR) | |
| 4959 | sphere(2,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR) | |
| 4960 | sphere(3,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR) | |
| 4961 | sphere(4,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR) | |
| 4962 | sphere(5,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR) | |
| 4963 | sphere(6,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR) | |
| 4964 | sphere(1,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4965 | sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4966 | sphere(3,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4967 | sphere(4,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4968 | sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4969 | sphere(6,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4970 | for i = 0, 99 do | |
| 4971 | 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) | |
| 4972 | 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) | |
| 4973 | end | |
| 4974 | for i, v in pairs(FindNearestHead(root.CFrame.p, 9999999)) do | |
| 4975 | if v:FindFirstChild('Head') then
| |
| 4976 | dmg(v) | |
| 4977 | end | |
| 4978 | end | |
| 4979 | MagniDamage(root, 9999999, 1000000,9999999, 0, "Normal") | |
| 4980 | sbs:Destroy() | |
| 4981 | hum.WalkSpeed = storehumanoidWS | |
| 4982 | attack = false | |
| 4983 | end | |
| 4984 | ||
| 4985 | ||
| 4986 | function ChaosEND() | |
| 4987 | attack = true | |
| 4988 | local speedearn = 0 | |
| 4989 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.5)
| |
| 4990 | for i = 0, 15, 0.1 do | |
| 4991 | swait() | |
| 4992 | speedearn = speedearn + 0.25 | |
| 4993 | 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) | |
| 4994 | 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) | |
| 4995 | 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) | |
| 4996 | 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) | |
| 4997 | 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) | |
| 4998 | 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) | |
| 4999 | 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) | |
| 5000 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 5001 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 5002 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2) | |
| 5003 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2) | |
| 5004 | end | |
| 5005 | CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1)
| |
| 5006 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
| |
| 5007 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 0.75)
| |
| 5008 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 0.5)
| |
| 5009 | CameraEnshaking(5,25) | |
| 5010 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do | |
| 5011 | if v:FindFirstChild('Head') then
| |
| 5012 | dmg(v) | |
| 5013 | end | |
| 5014 | end | |
| 5015 | sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random()) | |
| 5016 | sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random()) | |
| 5017 | sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random()) | |
| 5018 | for i = 0, 3, 0.1 do | |
| 5019 | swait() | |
| 5020 | 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) | |
| 5021 | 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) | |
| 5022 | 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) | |
| 5023 | 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) | |
| 5024 | 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) | |
| 5025 | 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) | |
| 5026 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
| 5027 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
| 5028 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4) | |
| 5029 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4) | |
| 5030 | end | |
| 5031 | attack = false | |
| 5032 | end | |
| 5033 | ||
| 5034 | function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon) | |
| 5035 | local orb = Instance.new("Part", char)
| |
| 5036 | orb.Anchored = true | |
| 5037 | orb.BrickColor = color | |
| 5038 | orb.CanCollide = false | |
| 5039 | orb.FormFactor = 3 | |
| 5040 | orb.Name = "Ring" | |
| 5041 | orb.Material = "Neon" | |
| 5042 | orb.Size = Vector3.new(1, 1, 1) | |
| 5043 | orb.Transparency = 0 | |
| 5044 | orb.TopSurface = 0 | |
| 5045 | orb.BottomSurface = 0 | |
| 5046 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 5047 | orbm.MeshType = "Sphere" | |
| 5048 | orb.CFrame = positted | |
| 5049 | orbm.Name = "SizeMesh" | |
| 5050 | orbm.Scale = vt(1,1,1) | |
| 5051 | CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
| |
| 5052 | sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor) | |
| 5053 | --[[for i = 0, 2 do | |
| 5054 | 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) | |
| 5055 | end]]-- | |
| 5056 | coroutine.resume(coroutine.create(function() | |
| 5057 | wait(timer) | |
| 5058 | CameraEnshaking(3,ShakePower) | |
| 5059 | orb.Transparency = 1 | |
| 5060 | MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal") | |
| 5061 | sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor) | |
| 5062 | --[[for i = 0, 4 do | |
| 5063 | 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) | |
| 5064 | end]]-- | |
| 5065 | CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
| |
| 5066 | wait(3) | |
| 5067 | orb:Destroy() | |
| 5068 | end)) | |
| 5069 | end | |
| 5070 | ||
| 5071 | function orb_spawn(positted,timer) | |
| 5072 | local randomcol = math.random(1,2) | |
| 5073 | local orb = Instance.new("Part", char)
| |
| 5074 | orb.Anchored = true | |
| 5075 | if randomcol == 1 then | |
| 5076 | orb.BrickColor = BrickColor.new("White")
| |
| 5077 | elseif randomcol == 2 then | |
| 5078 | orb.BrickColor = BrickColor.new("Really black")
| |
| 5079 | end | |
| 5080 | orb.CanCollide = false | |
| 5081 | orb.FormFactor = 3 | |
| 5082 | orb.Name = "Ring" | |
| 5083 | orb.Material = "Neon" | |
| 5084 | orb.Size = Vector3.new(1, 1, 1) | |
| 5085 | orb.Transparency = 0 | |
| 5086 | orb.TopSurface = 0 | |
| 5087 | orb.BottomSurface = 0 | |
| 5088 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 5089 | orbm.MeshType = "Sphere" | |
| 5090 | orb.CFrame = positted | |
| 5091 | orbm.Name = "SizeMesh" | |
| 5092 | orbm.Scale = vt(1,1,1) | |
| 5093 | CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1)
| |
| 5094 | sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor) | |
| 5095 | for i = 0, 2 do | |
| 5096 | 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) | |
| 5097 | end | |
| 5098 | coroutine.resume(coroutine.create(function() | |
| 5099 | wait(timer) | |
| 5100 | CameraEnshaking(3,2) | |
| 5101 | orb.Transparency = 1 | |
| 5102 | MagniDamage(orb, 17.5, 10,50, 0, "Normal") | |
| 5103 | sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor) | |
| 5104 | for i = 0, 4 do | |
| 5105 | 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) | |
| 5106 | end | |
| 5107 | CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7)
| |
| 5108 | wait(3) | |
| 5109 | orb:Destroy() | |
| 5110 | end)) | |
| 5111 | end | |
| 5112 | ||
| 5113 | function scattercorrupt() | |
| 5114 | attack = true | |
| 5115 | local rot = 0 | |
| 5116 | local randomrotations = math.random(1,2) | |
| 5117 | local lookv = 2.5 | |
| 5118 | local power = 5 | |
| 5119 | sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
| |
| 5120 | sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
| |
| 5121 | for i = 0, 9 do | |
| 5122 | 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)
| |
| 5123 | end | |
| 5124 | CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6)
| |
| 5125 | CFuncs["Sound"].Create("rbxassetid://233856079", char, 1, 0.5)
| |
| 5126 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1)
| |
| 5127 | CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,0.75)
| |
| 5128 | CFuncs["Sound"].Create("rbxassetid://579687077", char, 0.5,0.5)
| |
| 5129 | local hite = Instance.new("Part", char)
| |
| 5130 | hite.Anchored = true | |
| 5131 | hite.CanCollide = false | |
| 5132 | hite.FormFactor = 3 | |
| 5133 | hite.Name = "Ring" | |
| 5134 | hite.Material = "Neon" | |
| 5135 | hite.Size = Vector3.new(1, 1, 1) | |
| 5136 | hite.Transparency = 1 | |
| 5137 | hite.TopSurface = 0 | |
| 5138 | hite.BottomSurface = 0 | |
| 5139 | hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0) | |
| 5140 | local rem = Instance.new("Part", char)
| |
| 5141 | rem.Anchored = true | |
| 5142 | rem.CanCollide = false | |
| 5143 | rem.FormFactor = 3 | |
| 5144 | rem.Name = "Ring" | |
| 5145 | rem.Material = "Neon" | |
| 5146 | rem.Size = Vector3.new(1, 1, 1) | |
| 5147 | rem.Transparency = 1 | |
| 5148 | rem.TopSurface = 0 | |
| 5149 | rem.BottomSurface = 0 | |
| 5150 | rem.CFrame = hite.CFrame | |
| 5151 | local rem2 = rem:Clone() | |
| 5152 | rem2.Parent = char | |
| 5153 | rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 5154 | local rem3 = rem:Clone() | |
| 5155 | rem3.Parent = char | |
| 5156 | rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0) | |
| 5157 | local rem4 = rem:Clone() | |
| 5158 | rem4.Parent = char | |
| 5159 | rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0) | |
| 5160 | hite:Destroy() | |
| 5161 | coroutine.resume(coroutine.create(function() | |
| 5162 | for i = 0, 24 do | |
| 5163 | swait(1) | |
| 5164 | if randomrotations == 1 then | |
| 5165 | rot = rot + 1 | |
| 5166 | elseif randomrotations == 2 then | |
| 5167 | rot = rot - 1 | |
| 5168 | end | |
| 5169 | power = power + 0.5 | |
| 5170 | lookv = lookv + 7.5 | |
| 5171 | rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0) | |
| 5172 | rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 5173 | rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0) | |
| 5174 | rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0) | |
| 5175 | orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
| |
| 5176 | orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
| |
| 5177 | orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
| |
| 5178 | orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
| |
| 5179 | end | |
| 5180 | end)) | |
| 5181 | attack = false | |
| 5182 | end | |
| 5183 | function yinyangi() | |
| 5184 | attack = true | |
| 5185 | for i = 0, 2, 0.1 do | |
| 5186 | swait() | |
| 5187 | 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) | |
| 5188 | 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) | |
| 5189 | 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) | |
| 5190 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 5191 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2) | |
| 5192 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2) | |
| 5193 | end | |
| 5194 | local bv = Instance.new("BodyVelocity")
| |
| 5195 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 5196 | bv.velocity = root.CFrame.lookVector*175 | |
| 5197 | bv.Parent = root | |
| 5198 | for Rotations = 0, 9 do | |
| 5199 | for i = 0, 1, 0.5 do | |
| 5200 | swait() | |
| 5201 | bv.velocity = root.CFrame.lookVector*175 | |
| 5202 | 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) | |
| 5203 | 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) | |
| 5204 | 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) | |
| 5205 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
| 5206 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
| 5207 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
| 5208 | end | |
| 5209 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
| 5210 | for i = 0, 1, 0.5 do | |
| 5211 | swait() | |
| 5212 | bv.velocity = root.CFrame.lookVector*175 | |
| 5213 | 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) | |
| 5214 | 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) | |
| 5215 | 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) | |
| 5216 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
| 5217 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
| 5218 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
| 5219 | end | |
| 5220 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
| 5221 | for i = 0, 1, 0.5 do | |
| 5222 | swait() | |
| 5223 | bv.velocity = root.CFrame.lookVector*175 | |
| 5224 | 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) | |
| 5225 | 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) | |
| 5226 | 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) | |
| 5227 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
| 5228 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
| 5229 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
| 5230 | end | |
| 5231 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
| 5232 | for i = 0, 1, 0.5 do | |
| 5233 | swait() | |
| 5234 | bv.velocity = root.CFrame.lookVector*175 | |
| 5235 | 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) | |
| 5236 | 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) | |
| 5237 | 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) | |
| 5238 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
| 5239 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
| 5240 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
| 5241 | end | |
| 5242 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
| 5243 | end | |
| 5244 | bv:Destroy() | |
| 5245 | attack = false | |
| 5246 | end | |
| 5247 | ||
| 5248 | function createBGCircle(size,parent,color) | |
| 5249 | local bgui = Instance.new("BillboardGui",parent)
| |
| 5250 | bgui.Size = UDim2.new(size, 0, size, 0) | |
| 5251 | local imgc = Instance.new("ImageLabel",bgui)
| |
| 5252 | imgc.BackgroundTransparency = 1 | |
| 5253 | imgc.ImageTransparency = 0 | |
| 5254 | imgc.Size = UDim2.new(1,0,1,0) | |
| 5255 | imgc.Image = "rbxassetid://997291547" --997291547,521073910 | |
| 5256 | imgc.ImageColor3 = color | |
| 5257 | return bgui,imgc | |
| 5258 | end | |
| 5259 | ||
| 5260 | function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay) | |
| 5261 | local bgui,imgc = createBGCircle(size,guipar,color) | |
| 5262 | bgui.AlwaysOnTop = true | |
| 5263 | imgc.Image = "rbxassetid://" ..img | |
| 5264 | local rrot = math.random(1,2) | |
| 5265 | CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
| |
| 5266 | coroutine.resume(coroutine.create(function() | |
| 5267 | for i = 0, 24*delay do | |
| 5268 | swait() | |
| 5269 | if rotationenabled == true then | |
| 5270 | if rrot == 1 then | |
| 5271 | imgc.Rotation = imgc.Rotation + rotsp | |
| 5272 | elseif rrot == 2 then | |
| 5273 | imgc.Rotation = imgc.Rotation - rotsp | |
| 5274 | end | |
| 5275 | end | |
| 5276 | bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0) | |
| 5277 | imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay | |
| 5278 | end | |
| 5279 | bgui:Destroy() | |
| 5280 | end)) | |
| 5281 | end | |
| 5282 | function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled) | |
| 5283 | for i, v in pairs(mw2:GetChildren()) do | |
| 5284 | if v:IsA("Part") then
| |
| 5285 | v.BrickColor = one | |
| 5286 | v.Material = "Neon" | |
| 5287 | end | |
| 5288 | end | |
| 5289 | CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
| |
| 5290 | symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1) | |
| 5291 | symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1) | |
| 5292 | tr1.Color = ColorSequence.new(one.Color) | |
| 5293 | tr2.Color = ColorSequence.new(one.Color) | |
| 5294 | tr3.Color = ColorSequence.new(one.Color) | |
| 5295 | for i, v in pairs(mw1:GetChildren()) do | |
| 5296 | if v:IsA("Part") then
| |
| 5297 | if secondaryenabled == false then | |
| 5298 | v.Transparency = 0 | |
| 5299 | elseif secondaryenabled == true then | |
| 5300 | v.Transparency = 0 | |
| 5301 | end | |
| 5302 | v.BrickColor = two | |
| 5303 | v.Material = "Neon" | |
| 5304 | end | |
| 5305 | end | |
| 5306 | if secondaryenabled == false then | |
| 5307 | tl1.Enabled = false | |
| 5308 | tl2.Enabled = false | |
| 5309 | tl3.Enabled = false | |
| 5310 | elseif secondaryenabled == true then | |
| 5311 | tl1.Enabled = true | |
| 5312 | tl2.Enabled = true | |
| 5313 | tl3.Enabled = true | |
| 5314 | end | |
| 5315 | tl1.Color = ColorSequence.new(two.Color) | |
| 5316 | tl2.Color = ColorSequence.new(two.Color) | |
| 5317 | tl3.Color = ColorSequence.new(two.Color) | |
| 5318 | for i, v in pairs(m:GetChildren()) do | |
| 5319 | if v:IsA("Part") then
| |
| 5320 | v.BrickColor = three | |
| 5321 | v.Material = "Ice" | |
| 5322 | end | |
| 5323 | end | |
| 5324 | for i, v in pairs(m2:GetChildren()) do | |
| 5325 | if v:IsA("Part") then
| |
| 5326 | v.BrickColor = four | |
| 5327 | v.Material = "Ice" | |
| 5328 | end | |
| 5329 | end | |
| 5330 | for i, v in pairs(m3:GetChildren()) do | |
| 5331 | if v:IsA("Part") then
| |
| 5332 | v.BrickColor = five | |
| 5333 | v.Material = "Neon" | |
| 5334 | end | |
| 5335 | end | |
| 5336 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 5337 | if v:IsA("Part") then
| |
| 5338 | v.Transparency = 0.75 | |
| 5339 | v.BrickColor = BrickColor.new("Royal purple")
| |
| 5340 | v.Material = "Neon" | |
| 5341 | end | |
| 5342 | end | |
| 5343 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 5344 | if v:IsA("Part") then
| |
| 5345 | v.Transparency = 0.75 | |
| 5346 | v.BrickColor = BrickColor.new("Royal purple")
| |
| 5347 | v.Material = "Neon" | |
| 5348 | end | |
| 5349 | end | |
| 5350 | end | |
| 5351 | ||
| 5352 | ||
| 5353 | function normalmog() | |
| 5354 | attack = true | |
| 5355 | hum.WalkSpeed = 0 | |
| 5356 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25)
| |
| 5357 | for i = 0,6,0.1 do | |
| 5358 | swait() | |
| 5359 | 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) | |
| 5360 | 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) | |
| 5361 | 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) | |
| 5362 | 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) | |
| 5363 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2) | |
| 5364 | 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) | |
| 5365 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) | |
| 5366 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) | |
| 5367 | end | |
| 5368 | CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
| |
| 5369 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
| |
| 5370 | CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
| |
| 5371 | CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
| |
| 5372 | CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
| |
| 5373 | CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
| |
| 5374 | CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
| |
| 5375 | rainbowmode = false | |
| 5376 | chaosmode = false | |
| 5377 | ModeOfGlitch = 1 | |
| 5378 | storehumanoidWS = 16 | |
| 5379 | newTheme("rbxassetid://1537276744",48.6,1,1.25)
| |
| 5380 | RecolorTextAndRename("STAR",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
| |
| 5381 | CameraEnshaking(5,2.5) | |
| 5382 | MAINRUINCOLOR = BrickColor.new("Royal purple")
| |
| 5383 | sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 5384 | for i = 0, 49 do | |
| 5385 | 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) | |
| 5386 | end | |
| 5387 | for i = 0, 24 do | |
| 5388 | 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) | |
| 5389 | 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"))
| |
| 5390 | end | |
| 5391 | for i = 0,3,0.1 do | |
| 5392 | 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) | |
| 5393 | end | |
| 5394 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false) | |
| 5395 | for i = 0,2,0.1 do | |
| 5396 | swait() | |
| 5397 | 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) | |
| 5398 | 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) | |
| 5399 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5) | |
| 5400 | 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) | |
| 5401 | 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) | |
| 5402 | 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) | |
| 5403 | end | |
| 5404 | hum.WalkSpeed = storehumanoidWS | |
| 5405 | attack = false | |
| 5406 | end | |
| 5407 | ||
| 5408 | function attackone() | |
| 5409 | attack = true | |
| 5410 | local keptcolor = MAINRUINCOLOR | |
| 5411 | for i = 0,1,0.1 do | |
| 5412 | swait() | |
| 5413 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3) | |
| 5414 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3) | |
| 5415 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3) | |
| 5416 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
| 5417 | 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) | |
| 5418 | 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) | |
| 5419 | end | |
| 5420 | local distlook = 5 | |
| 5421 | coroutine.resume(coroutine.create(function() | |
| 5422 | for i = 0, 4 do | |
| 5423 | swait(2) | |
| 5424 | CameraEnshaking(2,3) | |
| 5425 | local hite = Instance.new("Part", char)
| |
| 5426 | hite.Anchored = true | |
| 5427 | hite.CanCollide = false | |
| 5428 | hite.FormFactor = 3 | |
| 5429 | hite.Name = "Ring" | |
| 5430 | hite.Material = "Neon" | |
| 5431 | hite.Size = Vector3.new(1, 1, 1) | |
| 5432 | hite.Transparency = 1 | |
| 5433 | hite.TopSurface = 0 | |
| 5434 | hite.BottomSurface = 0 | |
| 5435 | hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook) | |
| 5436 | 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) | |
| 5437 | 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) | |
| 5438 | 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) | |
| 5439 | 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) | |
| 5440 | MagniDamage(hite, 9, 10,25, 0, "Normal") | |
| 5441 | for i = 0, 14 do | |
| 5442 | local rsiz = math.random(5,20) | |
| 5443 | 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) | |
| 5444 | end | |
| 5445 | CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1)
| |
| 5446 | CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1)
| |
| 5447 | game:GetService("Debris"):AddItem(hite, 5)
| |
| 5448 | distlook = distlook + 10 | |
| 5449 | end | |
| 5450 | end)) | |
| 5451 | for i = 0,1,0.1 do | |
| 5452 | swait() | |
| 5453 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5) | |
| 5454 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5) | |
| 5455 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5) | |
| 5456 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5) | |
| 5457 | 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) | |
| 5458 | 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) | |
| 5459 | end | |
| 5460 | attack = false | |
| 5461 | end | |
| 5462 | ||
| 5463 | function attacktwo() | |
| 5464 | attack = true | |
| 5465 | hum.WalkSpeed = 2 | |
| 5466 | local keptcolor = MAINRUINCOLOR | |
| 5467 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
| |
| 5468 | 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) | |
| 5469 | 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) | |
| 5470 | for i = 0, 14 do | |
| 5471 | end | |
| 5472 | for i = 0,1,0.1 do | |
| 5473 | swait() | |
| 5474 | 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) | |
| 5475 | 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) | |
| 5476 | 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) | |
| 5477 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3) | |
| 5478 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3) | |
| 5479 | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3) | |
| 5480 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3) | |
| 5481 | end | |
| 5482 | for i = 0, 1 do | |
| 5483 | CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
| |
| 5484 | for i = 0,1,0.6 do | |
| 5485 | swait() | |
| 5486 | 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) | |
| 5487 | 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) | |
| 5488 | 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) | |
| 5489 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6) | |
| 5490 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6) | |
| 5491 | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6) | |
| 5492 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6) | |
| 5493 | end | |
| 5494 | for i = 0,1,0.6 do | |
| 5495 | swait() | |
| 5496 | 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) | |
| 5497 | 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) | |
| 5498 | 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) | |
| 5499 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6) | |
| 5500 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6) | |
| 5501 | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6) | |
| 5502 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6) | |
| 5503 | end | |
| 5504 | for i = 0,1,0.6 do | |
| 5505 | swait() | |
| 5506 | 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) | |
| 5507 | 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) | |
| 5508 | 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) | |
| 5509 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6) | |
| 5510 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6) | |
| 5511 | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6) | |
| 5512 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6) | |
| 5513 | end | |
| 5514 | for i = 0,1,0.6 do | |
| 5515 | swait() | |
| 5516 | 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) | |
| 5517 | 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) | |
| 5518 | 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) | |
| 5519 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6) | |
| 5520 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6) | |
| 5521 | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6) | |
| 5522 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6) | |
| 5523 | end | |
| 5524 | local rot = 0 | |
| 5525 | local dis = CreateParta(char,0.5,1,"Neon",keptcolor) | |
| 5526 | CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
| |
| 5527 | dis.CFrame = root.CFrame*CFrame.new(0,2,-3) | |
| 5528 | CreateMesh(dis,"Sphere",10,1,10) | |
| 5529 | local at1 = Instance.new("Attachment",dis)
| |
| 5530 | at1.Position = vt(-5,0,0) | |
| 5531 | local at2 = Instance.new("Attachment",dis)
| |
| 5532 | at2.Position = vt(5,0,0) | |
| 5533 | local trl = Instance.new('Trail',wed)
| |
| 5534 | trl.Attachment0 = at1 | |
| 5535 | trl.Attachment1 = at2 | |
| 5536 | trl.Texture = "rbxassetid://1049219073" | |
| 5537 | trl.LightEmission = 1 | |
| 5538 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 5539 | trl.Color = ColorSequence.new(dis.Color) | |
| 5540 | trl.Lifetime = 0.6 | |
| 5541 | local a = Instance.new("Part",workspace)
| |
| 5542 | a.Name = "Direction" | |
| 5543 | a.Anchored = true | |
| 5544 | a.BrickColor = bc("Bright red")
| |
| 5545 | a.Material = "Neon" | |
| 5546 | a.Transparency = 1 | |
| 5547 | a.CanCollide = false | |
| 5548 | local ray = Ray.new( | |
| 5549 | dis.CFrame.p, -- origin | |
| 5550 | (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction | |
| 5551 | ) | |
| 5552 | local ignore = dis | |
| 5553 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 5554 | a.BottomSurface = 10 | |
| 5555 | a.TopSurface = 10 | |
| 5556 | local distance = (dis.CFrame.p - position).magnitude | |
| 5557 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
| 5558 | a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0) | |
| 5559 | dis.CFrame = a.CFrame | |
| 5560 | dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0) | |
| 5561 | a:Destroy() | |
| 5562 | local bv = Instance.new("BodyVelocity")
| |
| 5563 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 5564 | bv.velocity = dis.CFrame.lookVector*250 | |
| 5565 | bv.Parent = dis | |
| 5566 | game:GetService("Debris"):AddItem(dis, 5)
| |
| 5567 | local hitted = false | |
| 5568 | coroutine.resume(coroutine.create(function() | |
| 5569 | dis.Touched:connect(function(hit) | |
| 5570 | if hitted == false and hit.Parent ~= char then | |
| 5571 | hitted = true | |
| 5572 | CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
| |
| 5573 | MagniDamage(dis, 30, 33,56, 0, "Normal") | |
| 5574 | sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color) | |
| 5575 | sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color) | |
| 5576 | sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color) | |
| 5577 | coroutine.resume(coroutine.create(function() | |
| 5578 | for i = 0, 9 do | |
| 5579 | local disr = CreateParta(char,1,1,"Neon",keptcolor) | |
| 5580 | disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
| 5581 | local at1 = Instance.new("Attachment",disr)
| |
| 5582 | at1.Position = vt(-5,0,0) | |
| 5583 | local at2 = Instance.new("Attachment",disr)
| |
| 5584 | at2.Position = vt(5,0,0) | |
| 5585 | local trl = Instance.new('Trail',disr)
| |
| 5586 | trl.Attachment0 = at1 | |
| 5587 | trl.FaceCamera = true | |
| 5588 | trl.Attachment1 = at2 | |
| 5589 | trl.Texture = "rbxassetid://2342682798" | |
| 5590 | trl.LightEmission = 1 | |
| 5591 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 5592 | trl.Color = ColorSequence.new(keptcolor.Color) | |
| 5593 | trl.Lifetime = 0.5 | |
| 5594 | local bv = Instance.new("BodyVelocity")
| |
| 5595 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 5596 | bv.velocity = disr.CFrame.lookVector*math.random(50,200) | |
| 5597 | bv.Parent = disr | |
| 5598 | local val = 0 | |
| 5599 | coroutine.resume(coroutine.create(function() | |
| 5600 | swait(30) | |
| 5601 | for i = 0, 9 do | |
| 5602 | swait() | |
| 5603 | val = val + 0.1 | |
| 5604 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
| |
| 5605 | end | |
| 5606 | game:GetService("Debris"):AddItem(disr, 3)
| |
| 5607 | end)) | |
| 5608 | end | |
| 5609 | local eff = Instance.new("ParticleEmitter",dis)
| |
| 5610 | eff.Texture = "rbxassetid://2273224484" | |
| 5611 | eff.LightEmission = 1 | |
| 5612 | eff.Color = ColorSequence.new(keptcolor.Color) | |
| 5613 | eff.Rate = 50 | |
| 5614 | eff.Lifetime = NumberRange.new(0.5,2) | |
| 5615 | 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)})
| |
| 5616 | 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)})
| |
| 5617 | eff.Speed = NumberRange.new(20,250) | |
| 5618 | eff.Drag = 5 | |
| 5619 | eff.Rotation = NumberRange.new(-500,500) | |
| 5620 | eff.VelocitySpread = 9000 | |
| 5621 | eff.RotSpeed = NumberRange.new(-50,50) | |
| 5622 | wait(0.25) | |
| 5623 | eff.Enabled = false | |
| 5624 | end)) | |
| 5625 | for i = 0, 9 do | |
| 5626 | end | |
| 5627 | for i = 0, 19 do | |
| 5628 | end | |
| 5629 | coroutine.resume(coroutine.create(function() | |
| 5630 | for i = 0, 19 do | |
| 5631 | swait() | |
| 5632 | hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70) | |
| 5633 | end | |
| 5634 | hum.CameraOffset = vt(0,0,0) | |
| 5635 | end)) | |
| 5636 | dis.Anchored = true | |
| 5637 | dis.Transparency = 1 | |
| 5638 | wait(8) | |
| 5639 | dis:Destroy() | |
| 5640 | end | |
| 5641 | end) | |
| 5642 | end)) | |
| 5643 | rot = rot - 15 | |
| 5644 | end | |
| 5645 | for i = 0,2,0.1 do | |
| 5646 | swait() | |
| 5647 | 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) | |
| 5648 | 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) | |
| 5649 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3) | |
| 5650 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3) | |
| 5651 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3) | |
| 5652 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3) | |
| 5653 | end | |
| 5654 | attack = false | |
| 5655 | hum.WalkSpeed = storehumanoidWS | |
| 5656 | end | |
| 5657 | ||
| 5658 | function attackthree() | |
| 5659 | attack = true | |
| 5660 | local keptcolor = MAINRUINCOLOR | |
| 5661 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
| |
| 5662 | for i = 0,2,0.1 do | |
| 5663 | swait() | |
| 5664 | sphere2(5,"Add",larm.CFrame*CFrame.new(0,-1.5,0),vt(1,1,1),0.025,0.025,0.025,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
| 5665 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(50)),0.3) | |
| 5666 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3) | |
| 5667 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(10), math.rad(60)), 0.3) | |
| 5668 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-70)), 0.3) | |
| 5669 | 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) | |
| 5670 | 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) | |
| 5671 | end | |
| 5672 | CFuncs["Sound"].Create("rbxassetid://763716870", root, 3,1)
| |
| 5673 | CFuncs["Sound"].Create("rbxassetid://782353443", root, 5,0.9)
| |
| 5674 | CFuncs["Sound"].Create("rbxassetid://782225570", root, 4,0.5)
| |
| 5675 | CFuncs["Sound"].Create("rbxassetid://763717569", root, 3,1)
| |
| 5676 | sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR) | |
| 5677 | sphere2(5,"Add",root.CFrame,vt(1,1,1),0.5,0.5,0.5,MAINRUINCOLOR) | |
| 5678 | for i = 0, 24 do | |
| 5679 | end | |
| 5680 | for i = 0,4,0.1 do | |
| 5681 | swait() | |
| 5682 | root.CFrame = root.CFrame + root.CFrame.lookVector*5 | |
| 5683 | local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR) | |
| 5684 | CreateMesh(dis,"Sphere",1,1,1) | |
| 5685 | dis.Anchored = true | |
| 5686 | dis.CFrame = larm.CFrame*CFrame.new(0,-3,0) | |
| 5687 | sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color) | |
| 5688 | coroutine.resume(coroutine.create(function() | |
| 5689 | swait(30) | |
| 5690 | dis.Transparency = 1 | |
| 5691 | coroutine.resume(coroutine.create(function() | |
| 5692 | for i = 0, 19 do | |
| 5693 | swait() | |
| 5694 | hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40) | |
| 5695 | end | |
| 5696 | hum.CameraOffset = vt(0,0,0) | |
| 5697 | end)) | |
| 5698 | coroutine.resume(coroutine.create(function() | |
| 5699 | local eff = Instance.new("ParticleEmitter",dis)
| |
| 5700 | eff.Texture = "rbxassetid://2273224484" | |
| 5701 | eff.LightEmission = 1 | |
| 5702 | eff.Color = ColorSequence.new(dis.Color) | |
| 5703 | eff.Rate = 500000 | |
| 5704 | eff.Lifetime = NumberRange.new(0.5,2) | |
| 5705 | 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)})
| |
| 5706 | 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)})
| |
| 5707 | eff.Speed = NumberRange.new(50,450) | |
| 5708 | eff.Drag = 5 | |
| 5709 | eff.Rotation = NumberRange.new(-500,500) | |
| 5710 | eff.VelocitySpread = 9000 | |
| 5711 | eff.RotSpeed = NumberRange.new(-50,50) | |
| 5712 | wait(0.125) | |
| 5713 | eff.Enabled = false | |
| 5714 | end)) | |
| 5715 | MagniDamage(dis, 30, 45,50, 0, "Normal") | |
| 5716 | for i = 0, 2 do | |
| 5717 | --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) | |
| 5718 | end | |
| 5719 | CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,1)
| |
| 5720 | CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.5)
| |
| 5721 | CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.65)
| |
| 5722 | sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.4,0.4,0.4,dis.BrickColor,dis.Color) | |
| 5723 | end)) | |
| 5724 | game:GetService("Debris"):AddItem(dis, 5)
| |
| 5725 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(89),math.rad(-8),math.rad(-5)),0.5) | |
| 5726 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-30),math.rad(0),math.rad(8)),.5) | |
| 5727 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-14), math.rad(1), math.rad(17)), 0.5) | |
| 5728 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.85, 0) * angles(math.rad(180), math.rad(0), math.rad(-8)), 0.5) | |
| 5729 | 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) | |
| 5730 | 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) | |
| 5731 | end | |
| 5732 | attack = false | |
| 5733 | end | |
| 5734 | ----------------------------------- Abilities | |
| 5735 | ||
| 5736 | function ExtinctiveHeartbreak() | |
| 5737 | local targetted = nil | |
| 5738 | if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
| |
| 5739 | targetted = mouse.Target.Parent | |
| 5740 | end | |
| 5741 | if targetted ~= nil then | |
| 5742 | attack = true | |
| 5743 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
| |
| 5744 | for i = 0, 9 do | |
| 5745 | --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)
| |
| 5746 | end | |
| 5747 | for i = 0, 24 do | |
| 5748 | -- | |
| 5749 | end | |
| 5750 | --sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
| |
| 5751 | local originalpos = root.CFrame | |
| 5752 | RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2) | |
| 5753 | for i = 0, 9 do | |
| 5754 | --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)
| |
| 5755 | end | |
| 5756 | for i = 0, 24 do | |
| 5757 | end | |
| 5758 | hum.WalkSpeed = 0 | |
| 5759 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
| |
| 5760 | local radm = math.random(1,3) | |
| 5761 | if radm == 1 then | |
| 5762 | --bosschatfunc("YOU WON'T BE NECCESSARY.",MAINRUINCOLOR.Color,2)
| |
| 5763 | elseif radm == 2 then | |
| 5764 | --bosschatfunc("YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,2)
| |
| 5765 | elseif radm == 3 then | |
| 5766 | --bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
| |
| 5767 | end | |
| 5768 | for i = 0,2,0.1 do | |
| 5769 | swait() | |
| 5770 | 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) | |
| 5771 | 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) | |
| 5772 | 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) | |
| 5773 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8) | |
| 5774 | 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) | |
| 5775 | 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) | |
| 5776 | end | |
| 5777 | CFuncs["Sound"].Create("rbxassetid://153092227", root, 5,1)
| |
| 5778 | CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 10, 1,0,10,0.25,0.5,1)
| |
| 5779 | for i = 0,2,0.1 do | |
| 5780 | swait() | |
| 5781 | coroutine.resume(coroutine.create(function() | |
| 5782 | targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0) | |
| 5783 | for i,v in pairs(targetted:GetChildren()) do | |
| 5784 | if v:IsA("Part") or v:IsA("MeshPart") then
| |
| 5785 | v.Velocity = vt(0,0,0) | |
| 5786 | end | |
| 5787 | end | |
| 5788 | end)) | |
| 5789 | 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) | |
| 5790 | 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) | |
| 5791 | 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) | |
| 5792 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8) | |
| 5793 | 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) | |
| 5794 | 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) | |
| 5795 | end | |
| 5796 | CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1,0,10,0.25,0.5,1)
| |
| 5797 | CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 1.5, 0.9,0,10,0.25,0.5,1)
| |
| 5798 | for i = 0, 1 do | |
| 5799 | CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 1.5, 1,0.1,10,0.15,0.5,1)
| |
| 5800 | end | |
| 5801 | CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 10, 1,0.1,10,0.15,0.5,1)
| |
| 5802 | --chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
| |
| 5803 | for i = 0,4,0.1 do | |
| 5804 | swait() | |
| 5805 | coroutine.resume(coroutine.create(function() | |
| 5806 | local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) | |
| 5807 | 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))) | |
| 5808 | local at1 = Instance.new("Attachment",dis)
| |
| 5809 | at1.Position = vt(-25000,0,0) | |
| 5810 | local at2 = Instance.new("Attachment",dis)
| |
| 5811 | at2.Position = vt(25000,0,0) | |
| 5812 | local trl = Instance.new('Trail',dis)
| |
| 5813 | trl.Attachment0 = at1 | |
| 5814 | trl.FaceCamera = true | |
| 5815 | trl.Attachment1 = at2 | |
| 5816 | trl.Texture = "rbxassetid://1049219073" | |
| 5817 | trl.LightEmission = 1 | |
| 5818 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 5819 | trl.Color = ColorSequence.new(Color3.new(1,0,0)) | |
| 5820 | trl.Lifetime = 5 | |
| 5821 | local bv = Instance.new("BodyVelocity")
| |
| 5822 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 5823 | bv.velocity = dis.CFrame.lookVector*math.random(500,2500) | |
| 5824 | bv.Parent = dis | |
| 5825 | game:GetService("Debris"):AddItem(dis, 5)
| |
| 5826 | targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0) | |
| 5827 | CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
| |
| 5828 | CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
| |
| 5829 | CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
| |
| 5830 | CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
| |
| 5831 | CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
| |
| 5832 | 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) | |
| 5833 | targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
| |
| 5834 | for i = 0, 2 do | |
| 5835 | --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"))
| |
| 5836 | end | |
| 5837 | 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) | |
| 5838 | for i,v in pairs(targetted:GetChildren()) do | |
| 5839 | if v:IsA("Part") or v:IsA("MeshPart") then
| |
| 5840 | v.Velocity = vt(0,0,0) | |
| 5841 | end | |
| 5842 | end | |
| 5843 | end)) | |
| 5844 | hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25) | |
| 5845 | 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) | |
| 5846 | 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) | |
| 5847 | 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) | |
| 5848 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8) | |
| 5849 | 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) | |
| 5850 | 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) | |
| 5851 | end | |
| 5852 | hum.CameraOffset = vt(0,0,0) | |
| 5853 | for i = 0, 49 do | |
| 5854 | local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) | |
| 5855 | 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))) | |
| 5856 | local at1 = Instance.new("Attachment",dis)
| |
| 5857 | at1.Position = vt(-50000,0,0) | |
| 5858 | local at2 = Instance.new("Attachment",dis)
| |
| 5859 | at2.Position = vt(50000,0,0) | |
| 5860 | local trl = Instance.new('Trail',dis)
| |
| 5861 | trl.Attachment0 = at1 | |
| 5862 | trl.FaceCamera = true | |
| 5863 | trl.Attachment1 = at2 | |
| 5864 | trl.Texture = "rbxassetid://1049219073" | |
| 5865 | trl.LightEmission = 1 | |
| 5866 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 5867 | trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1)) | |
| 5868 | trl.Lifetime = 5 | |
| 5869 | local bv = Instance.new("BodyVelocity")
| |
| 5870 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 5871 | bv.velocity = dis.CFrame.lookVector*math.random(500,2500) | |
| 5872 | bv.Parent = dis | |
| 5873 | game:GetService("Debris"):AddItem(dis, 5)
| |
| 5874 | end | |
| 5875 | for i = 0, 49 do | |
| 5876 | 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) | |
| 5877 | --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"))
| |
| 5878 | end | |
| 5879 | CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
| |
| 5880 | for i = 0, 1 do | |
| 5881 | CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
| |
| 5882 | CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
| |
| 5883 | end | |
| 5884 | for i = 0, 4 do | |
| 5885 | CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
| |
| 5886 | end | |
| 5887 | symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1) | |
| 5888 | symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2) | |
| 5889 | symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4) | |
| 5890 | dmg(targetted) | |
| 5891 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
| |
| 5892 | for i = 0, 9 do | |
| 5893 | --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)
| |
| 5894 | end | |
| 5895 | for i = 0, 24 do | |
| 5896 | end | |
| 5897 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
| |
| 5898 | root.CFrame = originalpos | |
| 5899 | for i = 0, 9 do | |
| 5900 | --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)
| |
| 5901 | end | |
| 5902 | for i = 0, 24 do | |
| 5903 | end | |
| 5904 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
| |
| 5905 | attack = false | |
| 5906 | hum.WalkSpeed = storehumanoidWS | |
| 5907 | end | |
| 5908 | end | |
| 5909 | ||
| 5910 | function CorruptionEvent() | |
| 5911 | attack = true | |
| 5912 | hum.WalkSpeed = 0 | |
| 5913 | bosschatfunc("EVIL STOMP!!",MAINRUINCOLOR.Color,2)
| |
| 5914 | CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
| |
| 5915 | CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
| |
| 5916 | local keptcolor = MAINRUINCOLOR | |
| 5917 | for i = 0,4,0.1 do | |
| 5918 | swait() | |
| 5919 | hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100) | |
| 5920 | block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
| 5921 | 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) | |
| 5922 | 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) | |
| 5923 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1) | |
| 5924 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1) | |
| 5925 | RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1) | |
| 5926 | LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1) | |
| 5927 | end | |
| 5928 | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1) | |
| 5929 | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5) | |
| 5930 | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3) | |
| 5931 | CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
| |
| 5932 | CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
| |
| 5933 | CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
| |
| 5934 | CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
| |
| 5935 | CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
| |
| 5936 | hum.CameraOffset = vt(0,0,0) | |
| 5937 | sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
| 5938 | sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
| 5939 | for i = 0, 24 do | |
| 5940 | --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"))
| |
| 5941 | end | |
| 5942 | local rrot = 0 | |
| 5943 | coroutine.resume(coroutine.create(function() | |
| 5944 | for i = 0, 4 do | |
| 5945 | rrot = rrot + 45 | |
| 5946 | local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) | |
| 5947 | xa.Anchored = true | |
| 5948 | local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) | |
| 5949 | xb.Anchored = true | |
| 5950 | local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) | |
| 5951 | xc.Anchored = true | |
| 5952 | local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) | |
| 5953 | xd.Anchored = true | |
| 5954 | CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
| |
| 5955 | CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
| |
| 5956 | CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
| |
| 5957 | CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
| |
| 5958 | CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
| |
| 5959 | CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
| |
| 5960 | CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
| |
| 5961 | CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
| |
| 5962 | CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
| |
| 5963 | CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
| |
| 5964 | CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
| |
| 5965 | CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
| |
| 5966 | xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75) | |
| 5967 | xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75) | |
| 5968 | xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0) | |
| 5969 | xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0) | |
| 5970 | MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal") | |
| 5971 | MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal") | |
| 5972 | MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal") | |
| 5973 | MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal") | |
| 5974 | block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color) | |
| 5975 | block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color) | |
| 5976 | block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color) | |
| 5977 | block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color) | |
| 5978 | 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) | |
| 5979 | 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) | |
| 5980 | 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) | |
| 5981 | 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) | |
| 5982 | 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))
| |
| 5983 | 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))
| |
| 5984 | 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))
| |
| 5985 | 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))
| |
| 5986 | game:GetService("Debris"):AddItem(xa, 5)
| |
| 5987 | game:GetService("Debris"):AddItem(xb, 5)
| |
| 5988 | game:GetService("Debris"):AddItem(xc, 5)
| |
| 5989 | game:GetService("Debris"):AddItem(xd, 5)
| |
| 5990 | coroutine.resume(coroutine.create(function() | |
| 5991 | for i = 0, 19 do | |
| 5992 | swait() | |
| 5993 | hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50) | |
| 5994 | end | |
| 5995 | hum.CameraOffset = vt(0,0,0) | |
| 5996 | end)) | |
| 5997 | swait(9) | |
| 5998 | end | |
| 5999 | end)) | |
| 6000 | for i = 0,2,0.1 do | |
| 6001 | swait() | |
| 6002 | 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) | |
| 6003 | 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) | |
| 6004 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8) | |
| 6005 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8) | |
| 6006 | RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8) | |
| 6007 | LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8) | |
| 6008 | end | |
| 6009 | attack = false | |
| 6010 | hum.WalkSpeed = storehumanoidWS | |
| 6011 | end | |
| 6012 | ||
| 6013 | function EndGROUND() | |
| 6014 | attack = true | |
| 6015 | hum.WalkSpeed = 0 | |
| 6016 | bosschatfunc("THIS IS IT!",MAINRUINCOLOR.Color,1)
| |
| 6017 | --CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
| |
| 6018 | CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
| |
| 6019 | CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
| |
| 6020 | CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
| |
| 6021 | local keptcolor = MAINRUINCOLOR | |
| 6022 | for i = 0,4,0.1 do | |
| 6023 | swait() | |
| 6024 | hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100) | |
| 6025 | block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
| 6026 | --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"))
| |
| 6027 | 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) | |
| 6028 | 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) | |
| 6029 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1) | |
| 6030 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1) | |
| 6031 | RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1) | |
| 6032 | LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1) | |
| 6033 | end | |
| 6034 | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1) | |
| 6035 | CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
| |
| 6036 | CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
| |
| 6037 | CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
| |
| 6038 | CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
| |
| 6039 | CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
| |
| 6040 | coroutine.resume(coroutine.create(function() | |
| 6041 | local shval = 10 | |
| 6042 | for i = 0, 99 do | |
| 6043 | swait() | |
| 6044 | shval = shval - 0.1 | |
| 6045 | hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15) | |
| 6046 | end | |
| 6047 | hum.CameraOffset = vt(0,0,0) | |
| 6048 | end)) | |
| 6049 | sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
| 6050 | sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
| 6051 | for i = 0, 24 do | |
| 6052 | --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"))
| |
| 6053 | end | |
| 6054 | local rrot = 0 | |
| 6055 | local xam = 1 | |
| 6056 | coroutine.resume(coroutine.create(function() | |
| 6057 | for i = 0, 14 do | |
| 6058 | --swait() | |
| 6059 | rrot = rrot + 40*xam | |
| 6060 | xam = xam + 0.25 | |
| 6061 | local bonus = xam | |
| 6062 | local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random()) | |
| 6063 | xa.Anchored = true | |
| 6064 | xa.Color = Color3.new(0,0,0) | |
| 6065 | xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75) | |
| 6066 | CreateMesh(xa,"Sphere",30*bonus,1,30*bonus) | |
| 6067 | local xc = 0 | |
| 6068 | coroutine.resume(coroutine.create(function() | |
| 6069 | for i = 0, 99 do | |
| 6070 | swait() | |
| 6071 | xc = xc + 0.01 | |
| 6072 | xa.Color = Color3.new(xc,0,0) | |
| 6073 | end | |
| 6074 | xa.Transparency = 1 | |
| 6075 | CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
| |
| 6076 | MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal") | |
| 6077 | for i = 0, 9 do | |
| 6078 | --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"))
| |
| 6079 | end | |
| 6080 | 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) | |
| 6081 | 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) | |
| 6082 | 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))
| |
| 6083 | game:GetService("Debris"):AddItem(xa, 5)
| |
| 6084 | coroutine.resume(coroutine.create(function() | |
| 6085 | for i = 0, 19 do | |
| 6086 | swait() | |
| 6087 | hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50) | |
| 6088 | end | |
| 6089 | hum.CameraOffset = vt(0,0,0) | |
| 6090 | end)) | |
| 6091 | end)) | |
| 6092 | end | |
| 6093 | end)) | |
| 6094 | for i = 0,2,0.1 do | |
| 6095 | swait() | |
| 6096 | 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) | |
| 6097 | 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) | |
| 6098 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8) | |
| 6099 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8) | |
| 6100 | RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8) | |
| 6101 | LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8) | |
| 6102 | end | |
| 6103 | attack = false | |
| 6104 | hum.WalkSpeed = storehumanoidWS | |
| 6105 | end | |
| 6106 | ||
| 6107 | function HeavenlyDisk() | |
| 6108 | attack = true | |
| 6109 | hum.WalkSpeed = 2 | |
| 6110 | local keptcolor = MAINRUINCOLOR | |
| 6111 | local radm = math.random(1,3) | |
| 6112 | if radm == 1 then | |
| 6113 | --bosschatfunc("Don't make this too easy for you.",MAINRUINCOLOR.Color,1)
| |
| 6114 | elseif radm == 2 then | |
| 6115 | --bosschatfunc("Heavenly Disks!",MAINRUINCOLOR.Color,1)
| |
| 6116 | elseif radm == 3 then | |
| 6117 | --bosschatfunc("Take it!",MAINRUINCOLOR.Color,1)
| |
| 6118 | end | |
| 6119 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
| |
| 6120 | CFuncs["EchoSound"].Create("rbxassetid://1625448638", root, 4, 1,0,10,0.15,0.5,1)
| |
| 6121 | for i = 0, 14 do | |
| 6122 | -- | |
| 6123 | end | |
| 6124 | for i = 0,2,0.1 do | |
| 6125 | swait() | |
| 6126 | 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) | |
| 6127 | 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) | |
| 6128 | 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) | |
| 6129 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3) | |
| 6130 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3) | |
| 6131 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3) | |
| 6132 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3) | |
| 6133 | end | |
| 6134 | CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
| |
| 6135 | for i = 0,1,0.6 do | |
| 6136 | swait() | |
| 6137 | 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) | |
| 6138 | --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"))
| |
| 6139 | 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) | |
| 6140 | 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) | |
| 6141 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6) | |
| 6142 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6) | |
| 6143 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6) | |
| 6144 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6) | |
| 6145 | end | |
| 6146 | for i = 0,1,0.6 do | |
| 6147 | swait() | |
| 6148 | 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) | |
| 6149 | --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"))
| |
| 6150 | 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) | |
| 6151 | 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) | |
| 6152 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6) | |
| 6153 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6) | |
| 6154 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6) | |
| 6155 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6) | |
| 6156 | end | |
| 6157 | for i = 0,1,0.6 do | |
| 6158 | swait() | |
| 6159 | 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) | |
| 6160 | --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"))
| |
| 6161 | 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) | |
| 6162 | 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) | |
| 6163 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6) | |
| 6164 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6) | |
| 6165 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6) | |
| 6166 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6) | |
| 6167 | end | |
| 6168 | for i = 0,1,0.6 do | |
| 6169 | swait() | |
| 6170 | 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) | |
| 6171 | --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"))
| |
| 6172 | 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) | |
| 6173 | 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) | |
| 6174 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6) | |
| 6175 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6) | |
| 6176 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6) | |
| 6177 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6) | |
| 6178 | end | |
| 6179 | local rot = 15 | |
| 6180 | for i = 0, 2 do | |
| 6181 | local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Toothpaste"))
| |
| 6182 | CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
| |
| 6183 | dis.CFrame = root.CFrame*CFrame.new(0,2,-3) | |
| 6184 | CreateMesh(dis,"Sphere",10,1,10) | |
| 6185 | local at1 = Instance.new("Attachment",dis)
| |
| 6186 | at1.Position = vt(-5,0,0) | |
| 6187 | local at2 = Instance.new("Attachment",dis)
| |
| 6188 | at2.Position = vt(5,0,0) | |
| 6189 | local trl = Instance.new('Trail',wed)
| |
| 6190 | trl.Attachment0 = at1 | |
| 6191 | trl.Attachment1 = at2 | |
| 6192 | trl.Texture = "rbxassetid://1049219073" | |
| 6193 | trl.LightEmission = 1 | |
| 6194 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 6195 | trl.Color = ColorSequence.new(dis.Color) | |
| 6196 | trl.Lifetime = 0.6 | |
| 6197 | local a = Instance.new("Part",workspace)
| |
| 6198 | a.Name = "Direction" | |
| 6199 | a.Anchored = true | |
| 6200 | a.BrickColor = bc("Bright red")
| |
| 6201 | a.Material = "Neon" | |
| 6202 | a.Transparency = 1 | |
| 6203 | a.CanCollide = false | |
| 6204 | local ray = Ray.new( | |
| 6205 | dis.CFrame.p, -- origin | |
| 6206 | (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction | |
| 6207 | ) | |
| 6208 | local ignore = dis | |
| 6209 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 6210 | a.BottomSurface = 10 | |
| 6211 | a.TopSurface = 10 | |
| 6212 | local distance = (dis.CFrame.p - position).magnitude | |
| 6213 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
| 6214 | a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0) | |
| 6215 | dis.CFrame = a.CFrame | |
| 6216 | dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0) | |
| 6217 | a:Destroy() | |
| 6218 | local bv = Instance.new("BodyVelocity")
| |
| 6219 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 6220 | bv.velocity = dis.CFrame.lookVector*250 | |
| 6221 | bv.Parent = dis | |
| 6222 | game:GetService("Debris"):AddItem(dis, 5)
| |
| 6223 | local hitted = false | |
| 6224 | coroutine.resume(coroutine.create(function() | |
| 6225 | dis.Touched:connect(function(hit) | |
| 6226 | if hitted == false and hit.Parent ~= char then | |
| 6227 | hitted = true | |
| 6228 | CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
| |
| 6229 | MagniDamage(dis, 30, 82,34575, 0, "Normal") | |
| 6230 | --sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color) | |
| 6231 | --sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color) | |
| 6232 | --sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
| |
| 6233 | coroutine.resume(coroutine.create(function() | |
| 6234 | for i = 0, 9 do | |
| 6235 | local disr = CreateParta(char,1,1,"Neon",keptcolor) | |
| 6236 | disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
| 6237 | local at1 = Instance.new("Attachment",disr)
| |
| 6238 | at1.Position = vt(-2,0,0) | |
| 6239 | local at2 = Instance.new("Attachment",disr)
| |
| 6240 | at2.Position = vt(2,0,0) | |
| 6241 | local trl = Instance.new('Trail',disr)
| |
| 6242 | trl.Attachment0 = at1 | |
| 6243 | trl.FaceCamera = true | |
| 6244 | trl.Attachment1 = at2 | |
| 6245 | trl.Texture = "rbxassetid://2342682798" | |
| 6246 | trl.LightEmission = 1 | |
| 6247 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 6248 | trl.Color = ColorSequence.new(Color3.new(0.3,1,1)) | |
| 6249 | trl.Lifetime = 0.5 | |
| 6250 | local bv = Instance.new("BodyVelocity")
| |
| 6251 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 6252 | bv.velocity = disr.CFrame.lookVector*math.random(50,200) | |
| 6253 | bv.Parent = disr | |
| 6254 | local val = 0 | |
| 6255 | coroutine.resume(coroutine.create(function() | |
| 6256 | swait(30) | |
| 6257 | for i = 0, 9 do | |
| 6258 | swait() | |
| 6259 | val = val + 0.1 | |
| 6260 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
| |
| 6261 | end | |
| 6262 | game:GetService("Debris"):AddItem(disr, 3)
| |
| 6263 | end)) | |
| 6264 | end | |
| 6265 | local eff = Instance.new("ParticleEmitter",dis)
| |
| 6266 | eff.Texture = "rbxassetid://2273224484" | |
| 6267 | eff.LightEmission = 1 | |
| 6268 | eff.Color = ColorSequence.new(Color3.new(0.3,1,1)) | |
| 6269 | eff.Rate = 500000 | |
| 6270 | eff.Lifetime = NumberRange.new(0.5,2) | |
| 6271 | 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)})
| |
| 6272 | 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)})
| |
| 6273 | eff.Speed = NumberRange.new(20,250) | |
| 6274 | eff.Drag = 5 | |
| 6275 | eff.Rotation = NumberRange.new(-500,500) | |
| 6276 | eff.VelocitySpread = 9000 | |
| 6277 | eff.RotSpeed = NumberRange.new(-50,50) | |
| 6278 | wait(0.25) | |
| 6279 | eff.Enabled = false | |
| 6280 | end)) | |
| 6281 | for i = 0, 9 do | |
| 6282 | --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"))
| |
| 6283 | end | |
| 6284 | for i = 0, 19 do | |
| 6285 | -- | |
| 6286 | end | |
| 6287 | coroutine.resume(coroutine.create(function() | |
| 6288 | for i = 0, 19 do | |
| 6289 | swait() | |
| 6290 | hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70) | |
| 6291 | end | |
| 6292 | hum.CameraOffset = vt(0,0,0) | |
| 6293 | end)) | |
| 6294 | dis.Anchored = true | |
| 6295 | dis.Transparency = 1 | |
| 6296 | wait(8) | |
| 6297 | dis:Destroy() | |
| 6298 | end | |
| 6299 | end) | |
| 6300 | end)) | |
| 6301 | rot = rot - 15 | |
| 6302 | end | |
| 6303 | for i = 0,2,0.1 do | |
| 6304 | swait() | |
| 6305 | 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) | |
| 6306 | 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) | |
| 6307 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3) | |
| 6308 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3) | |
| 6309 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3) | |
| 6310 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3) | |
| 6311 | end | |
| 6312 | attack = false | |
| 6313 | hum.WalkSpeed = storehumanoidWS | |
| 6314 | end | |
| 6315 | ||
| 6316 | function RapidBurst() | |
| 6317 | attack = true | |
| 6318 | hum.WalkSpeed = 0 | |
| 6319 | CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
| |
| 6320 | CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5)
| |
| 6321 | CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1)
| |
| 6322 | bosschatfunc("SHATTER!",MAINRUINCOLOR.Color,2)
| |
| 6323 | local keptcolor = MAINRUINCOLOR | |
| 6324 | for i = 0,8,0.1 do | |
| 6325 | swait() | |
| 6326 | hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100) | |
| 6327 | --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()) | |
| 6328 | 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) | |
| 6329 | 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) | |
| 6330 | 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) | |
| 6331 | 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) | |
| 6332 | 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) | |
| 6333 | 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) | |
| 6334 | 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) | |
| 6335 | end | |
| 6336 | for i = 0, 99 do | |
| 6337 | local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) | |
| 6338 | 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))) | |
| 6339 | local at1 = Instance.new("Attachment",dis)
| |
| 6340 | at1.Position = vt(-25000,0,0) | |
| 6341 | local at2 = Instance.new("Attachment",dis)
| |
| 6342 | at2.Position = vt(25000,0,0) | |
| 6343 | local trl = Instance.new('Trail',dis)
| |
| 6344 | trl.Attachment0 = at1 | |
| 6345 | trl.FaceCamera = true | |
| 6346 | trl.Attachment1 = at2 | |
| 6347 | trl.Texture = "rbxassetid://1049219073" | |
| 6348 | trl.LightEmission = 1 | |
| 6349 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 6350 | trl.Color = ColorSequence.new(BrickColor.random().Color) | |
| 6351 | trl.Lifetime = 5 | |
| 6352 | local bv = Instance.new("BodyVelocity")
| |
| 6353 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 6354 | bv.velocity = dis.CFrame.lookVector*math.random(500,2500) | |
| 6355 | bv.Parent = dis | |
| 6356 | game:GetService("Debris"):AddItem(dis, 5)
| |
| 6357 | end | |
| 6358 | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1) | |
| 6359 | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5) | |
| 6360 | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3) | |
| 6361 | sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color) | |
| 6362 | sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color) | |
| 6363 | sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color) | |
| 6364 | sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color) | |
| 6365 | CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
| |
| 6366 | CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
| |
| 6367 | CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
| |
| 6368 | hum.CameraOffset = vt(0,0,0) | |
| 6369 | for i = 0, 24 do | |
| 6370 | --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()) | |
| 6371 | end | |
| 6372 | local distam = 0 | |
| 6373 | coroutine.resume(coroutine.create(function() | |
| 6374 | for i = 0, 99 do | |
| 6375 | wait() | |
| 6376 | distam = distam + 1 | |
| 6377 | local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) | |
| 6378 | xa.Anchored = true | |
| 6379 | xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam)) | |
| 6380 | game:GetService("Debris"):AddItem(xa, 5)
| |
| 6381 | for i = 0, 4 do | |
| 6382 | --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()) | |
| 6383 | end | |
| 6384 | coroutine.resume(coroutine.create(function() | |
| 6385 | local eff = Instance.new("ParticleEmitter",xa)
| |
| 6386 | eff.Texture = "rbxassetid://2273224484" | |
| 6387 | eff.LightEmission = 1 | |
| 6388 | eff.Color = ColorSequence.new(BrickColor.random().Color) | |
| 6389 | eff.Rate = 500000 | |
| 6390 | eff.Lifetime = NumberRange.new(1,3) | |
| 6391 | 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)})
| |
| 6392 | 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)})
| |
| 6393 | eff.Speed = NumberRange.new(50,500) | |
| 6394 | eff.Drag = 5 | |
| 6395 | eff.Rotation = NumberRange.new(-500,500) | |
| 6396 | eff.VelocitySpread = 9000 | |
| 6397 | eff.RotSpeed = NumberRange.new(-50,50) | |
| 6398 | wait(0.25) | |
| 6399 | eff.Enabled = false | |
| 6400 | end)) | |
| 6401 | coroutine.resume(coroutine.create(function() | |
| 6402 | for i = 0, 19 do | |
| 6403 | swait() | |
| 6404 | hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10) | |
| 6405 | end | |
| 6406 | hum.CameraOffset = vt(0,0,0) | |
| 6407 | end)) | |
| 6408 | CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
| |
| 6409 | --sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color) | |
| 6410 | --sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color) | |
| 6411 | MagniDamage(xa, 60, 9999,99999, 0, "Normal") | |
| 6412 | end | |
| 6413 | end)) | |
| 6414 | attack = false | |
| 6415 | hum.WalkSpeed = storehumanoidWS | |
| 6416 | end | |
| 6417 | ||
| 6418 | ||
| 6419 | function FallenOrbs() | |
| 6420 | attack = true | |
| 6421 | hum.WalkSpeed = 2 | |
| 6422 | local keptcolor = MAINRUINCOLOR | |
| 6423 | CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 1.5, 1,0,10,0.15,0.5,1)
| |
| 6424 | CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 10, 1,0,10,0.15,0.5,1)
| |
| 6425 | local radm = math.random(1,3) | |
| 6426 | if radm == 1 then | |
| 6427 | bosschatfunc("Lets make this a little fun.",MAINRUINCOLOR.Color,1)
| |
| 6428 | elseif radm == 2 then | |
| 6429 | bosschatfunc("How about this?",MAINRUINCOLOR.Color,1)
| |
| 6430 | elseif radm == 3 then | |
| 6431 | bosschatfunc("Swarm!",MAINRUINCOLOR.Color,1)
| |
| 6432 | end | |
| 6433 | coroutine.resume(coroutine.create(function() | |
| 6434 | for i = 0, 29 do | |
| 6435 | swait(2) | |
| 6436 | local dis = CreateParta(char,0.5,1,"Neon",MAINRUINCOLOR) | |
| 6437 | dis.Anchored = true | |
| 6438 | CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5)
| |
| 6439 | dis.CFrame = root.CFrame*CFrame.new(math.random(-35,35),math.random(5,35),math.random(-35,35)) | |
| 6440 | CreateMesh(dis,"Sphere",2,2,2) | |
| 6441 | --sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color) | |
| 6442 | --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"))
| |
| 6443 | coroutine.resume(coroutine.create(function() | |
| 6444 | wait(0.5) | |
| 6445 | dis.Anchored = false | |
| 6446 | CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 5, 1,0,2,0.15,0.1,1)
| |
| 6447 | local at1 = Instance.new("Attachment",dis)
| |
| 6448 | at1.Position = vt(-1,0,0) | |
| 6449 | local at2 = Instance.new("Attachment",dis)
| |
| 6450 | at2.Position = vt(1,0,0) | |
| 6451 | local trl = Instance.new('Trail',dis)
| |
| 6452 | trl.Attachment0 = at1 | |
| 6453 | trl.FaceCamera = true | |
| 6454 | trl.Attachment1 = at2 | |
| 6455 | trl.Texture = "rbxassetid://1049219073" | |
| 6456 | trl.LightEmission = 1 | |
| 6457 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 6458 | trl.Color = ColorSequence.new(dis.Color) | |
| 6459 | trl.Lifetime = 0.6 | |
| 6460 | local a = Instance.new("Part",workspace)
| |
| 6461 | a.Name = "Direction" | |
| 6462 | a.Anchored = true | |
| 6463 | a.BrickColor = bc("Bright red")
| |
| 6464 | a.Material = "Neon" | |
| 6465 | a.Transparency = 1 | |
| 6466 | a.CanCollide = false | |
| 6467 | local ray = Ray.new( | |
| 6468 | dis.CFrame.p, -- origin | |
| 6469 | (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction | |
| 6470 | ) | |
| 6471 | local ignore = dis | |
| 6472 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 6473 | a.BottomSurface = 10 | |
| 6474 | a.TopSurface = 10 | |
| 6475 | local distance = (dis.CFrame.p - position).magnitude | |
| 6476 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
| 6477 | a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0) | |
| 6478 | dis.CFrame = a.CFrame | |
| 6479 | a:Destroy() | |
| 6480 | local bv = Instance.new("BodyVelocity")
| |
| 6481 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 6482 | bv.velocity = dis.CFrame.lookVector*500 | |
| 6483 | bv.Parent = dis | |
| 6484 | game:GetService("Debris"):AddItem(dis, 5)
| |
| 6485 | local hitted = false | |
| 6486 | coroutine.resume(coroutine.create(function() | |
| 6487 | dis.Touched:connect(function(hit) | |
| 6488 | if hitted == false and hit.Parent ~= char then | |
| 6489 | hitted = true | |
| 6490 | CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 2.5, 0.8,0,10,0.15,0.5,1)
| |
| 6491 | MagniDamage(dis, 60, 25456,124672, 0, "Normal") | |
| 6492 | --sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,keptcolor,keptcolor.Color) | |
| 6493 | --sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1))
| |
| 6494 | coroutine.resume(coroutine.create(function() | |
| 6495 | for i = 0, 4 do | |
| 6496 | local disr = CreateParta(char,1,1,"Neon",keptcolor) | |
| 6497 | disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
| 6498 | local at1 = Instance.new("Attachment",disr)
| |
| 6499 | at1.Position = vt(-10,0,0) | |
| 6500 | local at2 = Instance.new("Attachment",disr)
| |
| 6501 | at2.Position = vt(10,0,0) | |
| 6502 | local trl = Instance.new('Trail',disr)
| |
| 6503 | trl.Attachment0 = at1 | |
| 6504 | trl.FaceCamera = true | |
| 6505 | trl.Attachment1 = at2 | |
| 6506 | trl.Texture = "rbxassetid://2342682798" | |
| 6507 | trl.LightEmission = 1 | |
| 6508 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 6509 | trl.Color = ColorSequence.new(disr.Color) | |
| 6510 | trl.Lifetime = 0.5 | |
| 6511 | local bv = Instance.new("BodyVelocity")
| |
| 6512 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 6513 | bv.velocity = disr.CFrame.lookVector*math.random(125,250) | |
| 6514 | bv.Parent = disr | |
| 6515 | local val = 0 | |
| 6516 | coroutine.resume(coroutine.create(function() | |
| 6517 | swait(30) | |
| 6518 | for i = 0, 9 do | |
| 6519 | swait() | |
| 6520 | val = val + 0.1 | |
| 6521 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
| |
| 6522 | end | |
| 6523 | game:GetService("Debris"):AddItem(disr, 3)
| |
| 6524 | end)) | |
| 6525 | end | |
| 6526 | local eff = Instance.new("ParticleEmitter",dis)
| |
| 6527 | eff.Texture = "rbxassetid://2273224484" | |
| 6528 | eff.LightEmission = 1 | |
| 6529 | eff.Color = ColorSequence.new(dis.Color) | |
| 6530 | eff.Rate = 500000 | |
| 6531 | eff.Lifetime = NumberRange.new(0.5,2) | |
| 6532 | 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)})
| |
| 6533 | 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)})
| |
| 6534 | eff.Speed = NumberRange.new(20,250) | |
| 6535 | eff.Drag = 5 | |
| 6536 | eff.Rotation = NumberRange.new(-500,500) | |
| 6537 | eff.VelocitySpread = 9000 | |
| 6538 | eff.RotSpeed = NumberRange.new(-50,50) | |
| 6539 | wait(0.5) | |
| 6540 | eff.Enabled = false | |
| 6541 | end)) | |
| 6542 | for i = 0, 4 do | |
| 6543 | --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"))
| |
| 6544 | end | |
| 6545 | coroutine.resume(coroutine.create(function() | |
| 6546 | for i = 0, 19 do | |
| 6547 | swait() | |
| 6548 | hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70) | |
| 6549 | end | |
| 6550 | hum.CameraOffset = vt(0,0,0) | |
| 6551 | end)) | |
| 6552 | dis.Anchored = true | |
| 6553 | dis.Transparency = 1 | |
| 6554 | wait(8) | |
| 6555 | dis:Destroy() | |
| 6556 | end | |
| 6557 | end) | |
| 6558 | end)) | |
| 6559 | end)) | |
| 6560 | end | |
| 6561 | end)) | |
| 6562 | for i = 0,9,0.1 do | |
| 6563 | swait() | |
| 6564 | 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) | |
| 6565 | 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) | |
| 6566 | 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) | |
| 6567 | 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) | |
| 6568 | 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) | |
| 6569 | 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) | |
| 6570 | 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) | |
| 6571 | end | |
| 6572 | attack = false | |
| 6573 | hum.WalkSpeed = storehumanoidWS | |
| 6574 | end | |
| 6575 | ||
| 6576 | function EquinoxOrbs() | |
| 6577 | hum.WalkSpeed = 0 | |
| 6578 | attack = true | |
| 6579 | for i = 0,1,0.1 do | |
| 6580 | swait() | |
| 6581 | 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) | |
| 6582 | 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) | |
| 6583 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2) | |
| 6584 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2) | |
| 6585 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3) | |
| 6586 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3) | |
| 6587 | end | |
| 6588 | --sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR) | |
| 6589 | --sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR) | |
| 6590 | for i = 0, 24 do | |
| 6591 | --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"))
| |
| 6592 | end | |
| 6593 | CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
| |
| 6594 | CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
| |
| 6595 | CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
| |
| 6596 | CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
| |
| 6597 | for i = 0,4,0.1 do | |
| 6598 | swait() | |
| 6599 | root.CFrame = root.CFrame + root.CFrame.lookVector*7.5 | |
| 6600 | local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR) | |
| 6601 | CreateMesh(dis,"Sphere",1,1,1) | |
| 6602 | dis.Anchored = true | |
| 6603 | dis.CFrame = larm.CFrame*CFrame.new(0,-3,0) | |
| 6604 | local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Really black"))
| |
| 6605 | CreateMesh(dis2,"Sphere",1,1,1) | |
| 6606 | dis2.Anchored = true | |
| 6607 | dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0) | |
| 6608 | --sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color) | |
| 6609 | --sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color) | |
| 6610 | coroutine.resume(coroutine.create(function() | |
| 6611 | swait(60) | |
| 6612 | dis.Transparency = 1 | |
| 6613 | dis2.Transparency = 1 | |
| 6614 | coroutine.resume(coroutine.create(function() | |
| 6615 | for i = 0, 19 do | |
| 6616 | swait() | |
| 6617 | hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40) | |
| 6618 | end | |
| 6619 | hum.CameraOffset = vt(0,0,0) | |
| 6620 | end)) | |
| 6621 | coroutine.resume(coroutine.create(function() | |
| 6622 | local eff = Instance.new("ParticleEmitter",dis)
| |
| 6623 | eff.Texture = "rbxassetid://2273224484" | |
| 6624 | eff.LightEmission = 1 | |
| 6625 | eff.Color = ColorSequence.new(dis.Color) | |
| 6626 | eff.Rate = 500000 | |
| 6627 | eff.Lifetime = NumberRange.new(0.5,2) | |
| 6628 | 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)})
| |
| 6629 | 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)})
| |
| 6630 | eff.Speed = NumberRange.new(50,450) | |
| 6631 | eff.Drag = 5 | |
| 6632 | eff.Rotation = NumberRange.new(-500,500) | |
| 6633 | eff.VelocitySpread = 9000 | |
| 6634 | eff.RotSpeed = NumberRange.new(-50,50) | |
| 6635 | local eff2 = eff:Clone() | |
| 6636 | eff2.Parent = dis2 | |
| 6637 | eff2.LightEmission = 0 | |
| 6638 | eff2.Color = ColorSequence.new(dis2.Color) | |
| 6639 | wait(0.25) | |
| 6640 | eff.Enabled = false | |
| 6641 | eff2.Enabled = false | |
| 6642 | end)) | |
| 6643 | MagniDamage(dis, 55, 89,219788936, 0, "Normal") | |
| 6644 | MagniDamage(dis2, 55, 89,219788936, 0, "Normal") | |
| 6645 | CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
| |
| 6646 | CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
| |
| 6647 | CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
| |
| 6648 | CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
| |
| 6649 | CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
| |
| 6650 | CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
| |
| 6651 | sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color) | |
| 6652 | sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color) | |
| 6653 | end)) | |
| 6654 | game:GetService("Debris"):AddItem(dis, 5)
| |
| 6655 | game:GetService("Debris"):AddItem(dis2, 5)
| |
| 6656 | 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) | |
| 6657 | 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) | |
| 6658 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2) | |
| 6659 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2) | |
| 6660 | RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1) | |
| 6661 | LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1) | |
| 6662 | end | |
| 6663 | attack = false | |
| 6664 | hum.WalkSpeed = storehumanoidWS | |
| 6665 | end | |
| 6666 | function FallenDEMISE() | |
| 6667 | attack = true | |
| 6668 | hum.WalkSpeed = 0 | |
| 6669 | local keptcolor = MAINRUINCOLOR | |
| 6670 | --bosschatfunc("ALL OF YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,3)
| |
| 6671 | CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.75)
| |
| 6672 | CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5)
| |
| 6673 | for i = 0, 15, 0.1 do | |
| 6674 | swait() | |
| 6675 | local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) | |
| 6676 | 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))) | |
| 6677 | local at1 = Instance.new("Attachment",dis)
| |
| 6678 | at1.Position = vt(-25000,0,0) | |
| 6679 | local at2 = Instance.new("Attachment",dis)
| |
| 6680 | at2.Position = vt(25000,0,0) | |
| 6681 | local trl = Instance.new('Trail',dis)
| |
| 6682 | trl.Attachment0 = at1 | |
| 6683 | trl.FaceCamera = true | |
| 6684 | trl.Attachment1 = at2 | |
| 6685 | trl.Texture = "rbxassetid://1049219073" | |
| 6686 | trl.LightEmission = 1 | |
| 6687 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 6688 | trl.Color = ColorSequence.new(dis.Color) | |
| 6689 | trl.Lifetime = 5 | |
| 6690 | local bv = Instance.new("BodyVelocity")
| |
| 6691 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 6692 | bv.velocity = dis.CFrame.lookVector*math.random(500,2500) | |
| 6693 | bv.Parent = dis | |
| 6694 | game:GetService("Debris"):AddItem(dis, 1)
| |
| 6695 | sphere2(15,"Add",root.CFrame,vt(8,8,8),2,2,2,MAINRUINCOLOR) | |
| 6696 | --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"))
| |
| 6697 | --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"))
| |
| 6698 | 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) | |
| 6699 | 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) | |
| 6700 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1) | |
| 6701 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
| 6702 | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1) | |
| 6703 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1) | |
| 6704 | end | |
| 6705 | CFuncs["Sound"].Create("rbxassetid://294188875", char, 10,1)
| |
| 6706 | for i = 0, 30, 0.1 do | |
| 6707 | swait() | |
| 6708 | coroutine.resume(coroutine.create(function() | |
| 6709 | for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do | |
| 6710 | if v:FindFirstChild('Head') then
| |
| 6711 | dmg(v) | |
| 6712 | end | |
| 6713 | end | |
| 6714 | end)) | |
| 6715 | local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) | |
| 6716 | 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))) | |
| 6717 | local at1 = Instance.new("Attachment",dis)
| |
| 6718 | at1.Position = vt(-50000,0,0) | |
| 6719 | local at2 = Instance.new("Attachment",dis)
| |
| 6720 | at2.Position = vt(50000,0,0) | |
| 6721 | local trl = Instance.new('Trail',dis)
| |
| 6722 | trl.Attachment0 = at1 | |
| 6723 | trl.FaceCamera = true | |
| 6724 | trl.Attachment1 = at2 | |
| 6725 | trl.Texture = "rbxassetid://1049219073" | |
| 6726 | trl.LightEmission = 1 | |
| 6727 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 6728 | trl.Color = ColorSequence.new(dis.Color) | |
| 6729 | trl.Lifetime = 10 | |
| 6730 | local bv = Instance.new("BodyVelocity")
| |
| 6731 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 6732 | bv.velocity = dis.CFrame.lookVector*math.random(1500,10000) | |
| 6733 | bv.Parent = dis | |
| 6734 | game:GetService("Debris"):AddItem(dis, math.random(1,4))
| |
| 6735 | --sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MAINRUINCOLOR) | |
| 6736 | --sphere2(15,"Add",root.CFrame,vt(8,8,8),8,8,8,MAINRUINCOLOR) | |
| 6737 | --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"))
| |
| 6738 | --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"))
| |
| 6739 | --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"))
| |
| 6740 | --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"))
| |
| 6741 | for i = 0, 2 do | |
| 6742 | --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) | |
| 6743 | end | |
| 6744 | 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) | |
| 6745 | 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) | |
| 6746 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1) | |
| 6747 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
| 6748 | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1) | |
| 6749 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1) | |
| 6750 | end | |
| 6751 | attack = false | |
| 6752 | hum.WalkSpeed = storehumanoidWS | |
| 6753 | end | |
| 6754 | ------------------------------------- | |
| 6755 | ||
| 6756 | Humanoid.Animator.Parent = nil | |
| 6757 | ||
| 6758 | ------------------------------------- | |
| 6759 | ||
| 6760 | local attacktype = 1 | |
| 6761 | mouse.Button1Down:connect(function() | |
| 6762 | if attack == false and attacktype == 1 then | |
| 6763 | attacktype = 2 | |
| 6764 | attackone() | |
| 6765 | elseif attack == false and attacktype == 2 then | |
| 6766 | attacktype = 3 | |
| 6767 | attacktwo() | |
| 6768 | elseif attack == false and attacktype == 3 then | |
| 6769 | attacktype = 1 | |
| 6770 | attackthree() | |
| 6771 | elseif attack == false and attacktype == 4 then | |
| 6772 | attacktype = 1 | |
| 6773 | --attackfour() | |
| 6774 | end | |
| 6775 | end) | |
| 6776 | mouse.KeyDown:connect(function(k) | |
| 6777 | if k == "q" and attack == false and ModeOfGlitch ~= 1 then | |
| 6778 | --normalmog() ---Disabled due to crashing... only in VSB | |
| 6779 | ModeOfGlitch = 1 | |
| 6780 | storehumanoidWS = 16 | |
| 6781 | hum.WalkSpeed = 16 | |
| 6782 | rainbowmode = false | |
| 6783 | chaosmode = false | |
| 6784 | newTheme("rbxassetid://1537276744",0,1.02,1.25)
| |
| 6785 | RecolorTextAndRename("MICHEAL.EXE",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
| |
| 6786 | MAINRUINCOLOR = BrickColor.new("Crimson")
| |
| 6787 | bosschatfunc("IM BACK!!",MAINRUINCOLOR.Color,1)
| |
| 6788 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false) | |
| 6789 | end | |
| 6790 | if k == "e" and attack == false and ModeOfGlitch ~= 2 then | |
| 6791 | ModeOfGlitch = 2 | |
| 6792 | storehumanoidWS = 16 | |
| 6793 | hum.WalkSpeed = 16 | |
| 6794 | rainbowmode = false | |
| 6795 | chaosmode = false | |
| 6796 | RecolorTextAndRename("INJUSTICE",Color3.new(6,6,0),Color3.new(6,6,0),"Code")
| |
| 6797 | newTheme("rbxassetid://790661474",0,1,1)
| |
| 6798 | MAINRUINCOLOR = BrickColor.new("Bright yellow")
| |
| 6799 | bosschatfunc("IM SHOW YOU WHAT A JUSTICE",MAINRUINCOLOR.Color,1)
| |
| 6800 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true) | |
| 6801 | end | |
| 6802 | if k == "r" and attack == false and ModeOfGlitch ~= 3 then | |
| 6803 | ModeOfGlitch = 3 | |
| 6804 | storehumanoidWS = 16 | |
| 6805 | hum.WalkSpeed = 16 | |
| 6806 | rainbowmode = false | |
| 6807 | - | RecolorTextAndRename("CONTROLLED_STAR",Color3.new(0,0,0),Color3.new(0,0,0.4),"Antique")
|
| 6807 | + | |
| 6808 | RecolorTextAndRename"ROYALITY",Color3.new(0,0,0),Color3.new(0,0,0.4),"Antique") | |
| 6809 | newTheme("rbxassetid://2074863720", 0,0.8,1.5)
| |
| 6810 | MAINRUINCOLOR = BrickColor.new("Dark red")
| |
| 6811 | bosschatfunc("YOUR KINGDOM BE IN RUIN",MAINRUINCOLOR.Color,1)
| |
| 6812 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true) | |
| 6813 | end | |
| 6814 | if k == "t" and attack == false and ModeOfGlitch ~= 4 then | |
| 6815 | ModeOfGlitch = 4 | |
| 6816 | storehumanoidWS = 16 | |
| 6817 | hum.WalkSpeed = 16 | |
| 6818 | - | RecolorTextAndRename("InSaNe StAr",Color3.new(0,0,0),Color3.new(1,1,1),"Arcade")
|
| 6818 | + | |
| 6819 | chaosmode = true | |
| 6820 | RecolorTextAndRename("CHAOS MAKER",Color3.new(0,0,0),Color3.new(1,1,1),"Arcade")
| |
| 6821 | newTheme("rbxassetid://623662713",0,1,1)
| |
| 6822 | MAINRUINCOLOR = BrickColor.new("Black")
| |
| 6823 | bosschatfunc("IM NOT FOOL",MAINRUINCOLOR.Color,1)
| |
| 6824 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true) | |
| 6825 | end | |
| 6826 | if k == "y" and attack == false and ModeOfGlitch ~= 5 then | |
| 6827 | ModeOfGlitch = 5 | |
| 6828 | storehumanoidWS = 100 | |
| 6829 | - | RecolorTextAndRename("undone star",Color3.new(1,1,1),Color3.new(1,1,0.5),"SciFi")
|
| 6829 | + | |
| 6830 | rainbowmode = false | |
| 6831 | chaosmode = false | |
| 6832 | RecolorTextAndRename("FALLEN ANGEL",Color3.new(1,1,1),Color3.new(1,1,0.5),"SciFi")
| |
| 6833 | newTheme("rbxassetid://595800581",0,1,1)
| |
| 6834 | MAINRUINCOLOR = BrickColor.new("Really yellow")
| |
| 6835 | bosschatfunc("WHY IM HERE WITH THIS FOOLS?!",MAINRUINCOLOR.Color,1)
| |
| 6836 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true) | |
| 6837 | end | |
| 6838 | if k == "u" and attack == false and ModeOfGlitch ~= 6 then | |
| 6839 | ModeOfGlitch = 6 | |
| 6840 | storehumanoidWS = 100 | |
| 6841 | hum.WalkSpeed = 100 | |
| 6842 | rainbowmode = false | |
| 6843 | chaosmode = false | |
| 6844 | RecolorTextAndRename("STAR'S SOLITUDE",Color3.new(0,0,0),Color3.new(1,1,1),"Fantasy")
| |
| 6845 | newTheme("rbxassetid://1564523997",0,1,1)
| |
| 6846 | MAINRUINCOLOR = BrickColor.new("Really black")
| |
| 6847 | bosschatfunc("YOUR DEATH BE REALLITY",MAINRUINCOLOR.Color,1)
| |
| 6848 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
| |
| 6849 | end | |
| 6850 | if k == "f" and attack == false and ModeOfGlitch ~= 8 then | |
| 6851 | ModeOfGlitch = 8 | |
| 6852 | storehumanoidWS = 140 | |
| 6853 | hum.WalkSpeed = 140 | |
| 6854 | rainbowmode = false | |
| 6855 | chaosmode = false | |
| 6856 | RecolorTextAndRename("STAR'S DESTINY",Color3.new(1,1,1),BrickColor.new("Alder").Color,"Code")
| |
| 6857 | newTheme("rbxassetid://1495032271",0,1.01,1.25)
| |
| 6858 | MAINRUINCOLOR = BrickColor.new("Alder")
| |
| 6859 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true) | |
| 6860 | end | |
| 6861 | if k == "g" and attack == false and ModeOfGlitch ~= 9 then | |
| 6862 | - | RecolorTextAndRename("CORRUPTED_STAR",Color3.new(0,1,0),Color3.new(0.8,1,0.5),"Bodoni")
|
| 6862 | + | |
| 6863 | storehumanoidWS = 150 | |
| 6864 | hum.WalkSpeed = 150 | |
| 6865 | rainbowmode = false | |
| 6866 | chaosmode = false | |
| 6867 | RecolorTextAndRename("Glither",Color3.new(0,1,0),Color3.new(0.8,1,0.5),"Bodoni")
| |
| 6868 | newTheme("rbxassetid://641812804",0,0.8,1.5)
| |
| 6869 | MAINRUINCOLOR = BrickColor.new("Dark red")
| |
| 6870 | bosschatfunc("........",MAINRUINCOLOR.Color,1)
| |
| 6871 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark Red"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
| |
| 6872 | end | |
| 6873 | if k == "m" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 8889 then | |
| 6874 | ModeOfGlitch = 8889 | |
| 6875 | storehumanoidWS = 180 | |
| 6876 | hum.WalkSpeed = 180 | |
| 6877 | rainbowmode = false | |
| 6878 | chaosmode = false | |
| 6879 | RecolorTextAndRename("STAR'S CALAMITY",BrickColor.new("Alder").Color,BrickColor.new("Lilac").Color,"Antique")
| |
| 6880 | newTheme("rbxassetid://1359036559",0,1.01,1.25)
| |
| 6881 | MAINRUINCOLOR = BrickColor.new("Lilac")
| |
| 6882 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Alder"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
| |
| 6883 | end | |
| 6884 | if k == "n" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 55469696922 then | |
| 6885 | ModeOfGlitch = 55469696922 | |
| 6886 | storehumanoidWS = 275 | |
| 6887 | hum.WalkSpeed = 275 | |
| 6888 | rainbowmode = false | |
| 6889 | chaosmode = false | |
| 6890 | RecolorTextAndRename("Friendly star",Color3.new(0.25,0,0.1),BrickColor.new("Hot pink").Color,"Antique")
| |
| 6891 | newTheme("rbxassetid://1844782079",0,1.005,1.25)
| |
| 6892 | MAINRUINCOLOR = BrickColor.new("Navy blue")
| |
| 6893 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true) | |
| 6894 | end | |
| 6895 | if k == "n" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then | |
| 6896 | ModeOfGlitch = 4367677813 | |
| 6897 | storehumanoidWS = 225 | |
| 6898 | hum.WalkSpeed = 225 | |
| 6899 | rainbowmode = false | |
| 6900 | chaosmode = false | |
| 6901 | RecolorTextAndRename("Star's light",Color3.new(0.75,0.9,1),BrickColor.new("Pink").Color,"Arcade")
| |
| 6902 | newTheme("rbxassetid://363284685",0,1.01,1.25)
| |
| 6903 | MAINRUINCOLOR = BrickColor.new("Baby blue")
| |
| 6904 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
| |
| 6905 | end | |
| 6906 | if k == "n" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 9999999921111 then | |
| 6907 | ModeOfGlitch = 9999999921111 | |
| 6908 | storehumanoidWS = 16 | |
| 6909 | hum.WalkSpeed = 16 | |
| 6910 | rainbowmode = false | |
| 6911 | chaosmode = false | |
| 6912 | RecolorTextAndRename("STAR'S LOST LIGHT",BrickColor.new("Really black").Color,BrickColor.new("Really black").Color,"SciFi")
| |
| 6913 | newTheme("rbxassetid://1346743822",0,1,1)
| |
| 6914 | MAINRUINCOLOR = BrickColor.new("Really black")
| |
| 6915 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
| |
| 6916 | end | |
| 6917 | if k == "n" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 999999999556 then | |
| 6918 | ||
| 6919 | ModeOfGlitch = 999999999556 | |
| 6920 | storehumanoidWS = 250 | |
| 6921 | hum.WalkSpeed = 250 | |
| 6922 | rainbowmode = false | |
| 6923 | chaosmode = false | |
| 6924 | RecolorTextAndRename("STAR'S DETERMANATION",BrickColor.new("Really black").Color,BrickColor.new("Navy blue").Color,"Code")
| |
| 6925 | newTheme("rbxassetid://453388540",0,1.02,1.25)
| |
| 6926 | MAINRUINCOLOR = BrickColor.new("Really red")
| |
| 6927 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Really red"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
| |
| 6928 | end | |
| 6929 | if k == "n" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then | |
| 6930 | ModeOfGlitch = 1264532489 | |
| 6931 | storehumanoidWS = 250 | |
| 6932 | hum.WalkSpeed = 250 | |
| 6933 | rainbowmode = false | |
| 6934 | chaosmode = false | |
| 6935 | RecolorTextAndRename("STAR'S CORRUPTED CATASTROPHE",Color3.new(0.5,1,1),BrickColor.new("Deep orange").Color,"Antique")
| |
| 6936 | newTheme("rbxassetid://1504604335",0,0.8,1.5)
| |
| 6937 | MAINRUINCOLOR = BrickColor.new("Royal purple")
| |
| 6938 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true) | |
| 6939 | end | |
| 6940 | if k == "l" and mutedtog == false then | |
| 6941 | mutedtog = true | |
| 6942 | kan.Volume = 0 | |
| 6943 | elseif k == "l" and mutedtog == true then | |
| 6944 | mutedtog = false | |
| 6945 | kan.Volume = 1.25 | |
| 6946 | end | |
| 6947 | if k == "p" and toggleTag == false then | |
| 6948 | toggleTag = true | |
| 6949 | modet.TextTransparency = 0 | |
| 6950 | modet.TextStrokeTransparency = 0 | |
| 6951 | elseif k == "p" and toggleTag == true then | |
| 6952 | toggleTag = false | |
| 6953 | modet.TextTransparency = 1 | |
| 6954 | modet.TextStrokeTransparency = 1 | |
| 6955 | end | |
| 6956 | if k == "z" and attack == false and ModeOfGlitch == 1 then | |
| 6957 | ExtinctiveHeartbreak() | |
| 6958 | elseif k == "z" and attack == false and ModeOfGlitch == 2 then | |
| 6959 | HeavenlyDisk() | |
| 6960 | elseif k == "z" and attack == false and ModeOfGlitch == 9 then | |
| 6961 | GleamingBeam() | |
| 6962 | elseif k == "x" and attack == false and ModeOfGlitch == 999999999556 then | |
| 6963 | BeamOfDeath() | |
| 6964 | elseif k == "z" and attack == false and ModeOfGlitch == 999999999556 then | |
| 6965 | Beams() | |
| 6966 | elseif k == "z" and attack == false and ModeOfGlitch == 3 then | |
| 6967 | CorruptionEvent() | |
| 6968 | elseif k == "z" and attack == false and ModeOfGlitch == 9999999921111 then | |
| 6969 | CorruptionEvent() | |
| 6970 | elseif k == "c" and attack == false and ModeOfGlitch == 4 then | |
| 6971 | ChaosGroundStrike() | |
| 6972 | elseif k == "z" and attack == false and ModeOfGlitch == 9999999921111 then | |
| 6973 | ChaosGroundStrike() | |
| 6974 | elseif k == "v" and attack == false and ModeOfGlitch == 4 then | |
| 6975 | ChaosBegone() | |
| 6976 | elseif k == "v" and attack == false and ModeOfGlitch == 9999999921111 then | |
| 6977 | ChaosBegone() | |
| 6978 | elseif k == "x" and attack == false and ModeOfGlitch == 4 then | |
| 6979 | CorruptionEvent() | |
| 6980 | elseif k == "z" and attack == false and ModeOfGlitch == 8889 then | |
| 6981 | Starfall() | |
| 6982 | elseif k == "x" and attack == false and ModeOfGlitch == 5 then | |
| 6983 | Judgement() | |
| 6984 | elseif k == "z" and attack == false and ModeOfGlitch == 4 then | |
| 6985 | RapidBurst() | |
| 6986 | elseif k == "z" and attack == false and ModeOfGlitch == 55469696922 then | |
| 6987 | hugg() | |
| 6988 | elseif k == "z" and attack == false and ModeOfGlitch == 6 then | |
| 6989 | EquinoxOrbs() | |
| 6990 | elseif k == "z" and attack == false and ModeOfGlitch == 1264532489 then | |
| 6991 | FallenOrbs() | |
| 6992 | end | |
| 6993 | if k == "v" and attack == false and ModeOfGlitch == 1264532489 then | |
| 6994 | FallenDEMISE() | |
| 6995 | end | |
| 6996 | if k == "x" and attack == false and ModeOfGlitch == 1 then | |
| 6997 | EndGROUND() | |
| 6998 | end | |
| 6999 | end) | |
| 7000 | ||
| 7001 | --[[coroutine.resume(coroutine.create(function() | |
| 7002 | while true do | |
| 7003 | swait(2) | |
| 7004 | if chaosmode == true then | |
| 7005 | tl1.Color = ColorSequence.new(BrickColor.random().Color) | |
| 7006 | tl2.Color = ColorSequence.new(BrickColor.random().Color) | |
| 7007 | tl3.Color = ColorSequence.new(BrickColor.random().Color) | |
| 7008 | RecolorTextAndRename("InSaNe StAr",Color3.new(0,0,0),BrickColor.random().Color,"Fantasy")
| |
| 7009 | for i, v in pairs(mw1:GetChildren()) do | |
| 7010 | if v:IsA("Part") then
| |
| 7011 | v.Transparency = 0.75 | |
| 7012 | v.BrickColor = BrickColor.random() | |
| 7013 | v.Material = "Neon" | |
| 7014 | end | |
| 7015 | end | |
| 7016 | for i, v in pairs(m2:GetChildren()) do | |
| 7017 | if v:IsA("Part") then
| |
| 7018 | v.BrickColor = BrickColor.random() | |
| 7019 | v.Material = "Neon" | |
| 7020 | end | |
| 7021 | end | |
| 7022 | end | |
| 7023 | end | |
| 7024 | end))]]-- | |
| 7025 | Humanoid.Name = "STARGLITCHER" | |
| 7026 | Humanoid.MaxHealth = math.huge | |
| 7027 | Humanoid.Health = math.huge | |
| 7028 | Instance.new("ForceField",char).Visible = false
| |
| 7029 | ||
| 7030 | local bguis = Instance.new("BillboardGui",tors)
| |
| 7031 | bguis.Size = UDim2.new(25, 0, 25, 0) | |
| 7032 | local imgca = Instance.new("ImageLabel",bguis)
| |
| 7033 | imgca.BackgroundTransparency = 1 | |
| 7034 | imgca.ImageTransparency = 1 | |
| 7035 | imgca.Size = UDim2.new(1,0,1,0) | |
| 7036 | imgca.Image = "rbxassetid://2312119891" --997291547,521073910,2312119891 | |
| 7037 | imgca.ImageColor3 = Color3.new(0,0,0) | |
| 7038 | ||
| 7039 | idleanim=.4 | |
| 7040 | while true do | |
| 7041 | if mutedtog == false then | |
| 7042 | kan.Volume = currentVol | |
| 7043 | elseif mutedtog == true then | |
| 7044 | kan.Volume = 0 | |
| 7045 | end | |
| 7046 | kan.PlaybackSpeed = currentPitch | |
| 7047 | kan.Pitch = currentPitch | |
| 7048 | kan.SoundId = currentThemePlaying | |
| 7049 | kan.Looped = true | |
| 7050 | kan.Parent = char | |
| 7051 | kan:Resume() | |
| 7052 | if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 then | |
| 7053 | imgca.ImageTransparency = 1 | |
| 7054 | elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 then | |
| 7055 | imgca.ImageColor3 = MAINRUINCOLOR.Color | |
| 7056 | imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30) | |
| 7057 | end | |
| 7058 | imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/25 | |
| 7059 | bguis.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0) | |
| 7060 | coroutine.resume(coroutine.create(function() | |
| 7061 | if chaosmode == true then | |
| 7062 | for i, v in pairs(mw1:GetChildren()) do | |
| 7063 | if v:IsA("Part") then
| |
| 7064 | v.Transparency = 0 | |
| 7065 | v.BrickColor = BrickColor.random() | |
| 7066 | v.Material = "Neon" | |
| 7067 | end | |
| 7068 | end | |
| 7069 | tl1.Color = ColorSequence.new(BrickColor.random().Color) | |
| 7070 | tl2.Color = ColorSequence.new(BrickColor.random().Color) | |
| 7071 | tl3.Color = ColorSequence.new(BrickColor.random().Color) | |
| 7072 | RecolorTextAndRename("InSaNe StAr",Color3.new(0,0,0),BrickColor.random().Color,"Arcade")
| |
| 7073 | end | |
| 7074 | end)) | |
| 7075 | if chaosmode == false then | |
| 7076 | modet.Position = UDim2.new(0,0,0,0) | |
| 7077 | modet.Rotation = -5 * math.cos(sine / 32) | |
| 7078 | techc.Rotation = techc.Rotation + 1 | |
| 7079 | circl.Rotation = circl.Rotation - kan.PlaybackLoudness/75 - 1 | |
| 7080 | circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/50 + 1 | |
| 7081 | imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/50 + 1 | |
| 7082 | imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/25 - 1 | |
| 7083 | ned.Rotation = 0 - 2 * math.cos(sine / 24) | |
| 7084 | ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45)) | |
| 7085 | else | |
| 7086 | techc.Rotation = techc.Rotation + 1 | |
| 7087 | circl.Rotation = circl.Rotation - kan.PlaybackLoudness/50 + math.random(-5,5) | |
| 7088 | circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/25 + math.random(-5,5) | |
| 7089 | imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/25 + math.random(-5,5) | |
| 7090 | imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/12.5 + math.random(-5,5) | |
| 7091 | ned.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3) | |
| 7092 | ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3)) | |
| 7093 | modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1)) | |
| 7094 | modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3) | |
| 7095 | end | |
| 7096 | CameraManager() | |
| 7097 | swait() | |
| 7098 | 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) | |
| 7099 | 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) | |
| 7100 | 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) | |
| 7101 | 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) | |
| 7102 | 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) | |
| 7103 | 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) | |
| 7104 | 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) | |
| 7105 | 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) | |
| 7106 | 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) | |
| 7107 | 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) | |
| 7108 | 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) | |
| 7109 | 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) | |
| 7110 | sine = sine + change | |
| 7111 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
| 7112 | local velderp=RootPart.Velocity.y | |
| 7113 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
| 7114 | if equipped==true or equipped==false then | |
| 7115 | if attack==false then | |
| 7116 | idle=idle+1 | |
| 7117 | else | |
| 7118 | idle=0 | |
| 7119 | end | |
| 7120 | if idle>=500 then | |
| 7121 | if attack==false then | |
| 7122 | --Sheath() | |
| 7123 | end | |
| 7124 | end | |
| 7125 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
| 7126 | Anim="Jump" | |
| 7127 | if attack==false then | |
| 7128 | 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) | |
| 7129 | 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) | |
| 7130 | 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) | |
| 7131 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1) | |
| 7132 | 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) | |
| 7133 | 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) | |
| 7134 | end | |
| 7135 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
| 7136 | Anim="Fall" | |
| 7137 | if attack==false then | |
| 7138 | 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) | |
| 7139 | 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) | |
| 7140 | 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) | |
| 7141 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1) | |
| 7142 | 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) | |
| 7143 | 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) | |
| 7144 | end | |
| 7145 | elseif torvel<1 and hitfloor~=nil then | |
| 7146 | Anim="Idle" | |
| 7147 | if attack==false then | |
| 7148 | if ModeOfGlitch == 1 then | |
| 7149 | local snap = math.random(1,10) | |
| 7150 | if snap == 1 then | |
| 7151 | 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) | |
| 7152 | end | |
| 7153 | 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) | |
| 7154 | 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) | |
| 7155 | 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) | |
| 7156 | 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) | |
| 7157 | 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) | |
| 7158 | 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) | |
| 7159 | elseif ModeOfGlitch == 2 then | |
| 7160 | 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) | |
| 7161 | 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) | |
| 7162 | 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) | |
| 7163 | 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) | |
| 7164 | 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) | |
| 7165 | 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) | |
| 7166 | elseif ModeOfGlitch == 3 then | |
| 7167 | local snap = math.random(1,32) | |
| 7168 | if snap == 1 then | |
| 7169 | 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) | |
| 7170 | end | |
| 7171 | 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) | |
| 7172 | 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) | |
| 7173 | 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) | |
| 7174 | 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) | |
| 7175 | 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) | |
| 7176 | 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) | |
| 7177 | elseif ModeOfGlitch == 4 then | |
| 7178 | local snap = math.random(1,5) | |
| 7179 | if snap == 1 then | |
| 7180 | 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) | |
| 7181 | 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) | |
| 7182 | 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) | |
| 7183 | end | |
| 7184 | 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) | |
| 7185 | 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) | |
| 7186 | 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) | |
| 7187 | 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) | |
| 7188 | 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) | |
| 7189 | 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) | |
| 7190 | elseif ModeOfGlitch == 5 then | |
| 7191 | 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) | |
| 7192 | 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) | |
| 7193 | 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) | |
| 7194 | 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) | |
| 7195 | 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) | |
| 7196 | 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) | |
| 7197 | elseif ModeOfGlitch == 6 then | |
| 7198 | 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) | |
| 7199 | 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) | |
| 7200 | 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) | |
| 7201 | 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) | |
| 7202 | 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) | |
| 7203 | 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) | |
| 7204 | elseif ModeOfGlitch == 8 then | |
| 7205 | 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) | |
| 7206 | 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) | |
| 7207 | 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) | |
| 7208 | 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) | |
| 7209 | 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) | |
| 7210 | 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) | |
| 7211 | elseif ModeOfGlitch == 9 then | |
| 7212 | 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) | |
| 7213 | 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) | |
| 7214 | 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) | |
| 7215 | 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) | |
| 7216 | 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) | |
| 7217 | 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) | |
| 7218 | elseif ModeOfGlitch == 8889 then | |
| 7219 | 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) | |
| 7220 | 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) | |
| 7221 | 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) | |
| 7222 | 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) | |
| 7223 | 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) | |
| 7224 | 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) | |
| 7225 | elseif ModeOfGlitch == 1264532489 then | |
| 7226 | 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) | |
| 7227 | 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) | |
| 7228 | 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) | |
| 7229 | 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) | |
| 7230 | 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) | |
| 7231 | 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) | |
| 7232 | elseif ModeOfGlitch == 9999999921111 then | |
| 7233 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(8 - 6 * math.cos(sine / 67)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-18 - 5 * math.cos(sine / 32))),.1) | |
| 7234 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15 - 8 * math.cos(sine / 74)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(31 + 8 * math.cos(sine / 38))),.1) | |
| 7235 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(-21 - 2 * math.cos(sine / 32)),math.rad(8),math.rad(0)),.1) | |
| 7236 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 6 * math.cos(sine / 37)),math.rad(-14 + 5 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1) | |
| 7237 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(-24 + 9 * math.cos(sine / 72)),math.rad(3 - 5 * math.cos(sine / 58)),math.rad(38 + 7 * math.cos(sine / 45))),.1) | |
| 7238 | LW.C0=clerp(LW.C0,cf(-0.8,0.35 + 0.025 * math.cos(sine / 45),-0.75)*angles(math.rad(160 - 2 * math.cos(sine / 66)),math.rad(5 - 8 * math.cos(sine / 59)),math.rad(87 - 3 * math.cos(sine / 45))),.1) | |
| 7239 | elseif ModeOfGlitch == 4367677813 then | |
| 7240 | 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) | |
| 7241 | 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) | |
| 7242 | 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) | |
| 7243 | 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) | |
| 7244 | 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) | |
| 7245 | 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) | |
| 7246 | elseif ModeOfGlitch == 55469696922 then | |
| 7247 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(19 + 8 * math.cos(sine / 62)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-20 - 3 * math.cos(sine / 34))),.1) | |
| 7248 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 - 1 * math.cos(sine / 55)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(26 + 5 * math.cos(sine / 41))),.1) | |
| 7249 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(-13 - 2 * math.cos(sine / 32)),math.rad(3),math.rad(10 - 4 * math.cos(sine / 67))),.1) | |
| 7250 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 8 * math.cos(sine / 37)),math.rad(-21 + 2 * math.cos(sine / 58)),math.rad(-10 + 2 * math.cos(sine / 53))),.1) | |
| 7251 | RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 14 * math.cos(sine / 45))),.1) | |
| 7252 | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(35 - 8 * math.cos(sine / 51))),.1) | |
| 7253 | elseif ModeOfGlitch == 999999999556 then | |
| 7254 | 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) | |
| 7255 | 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) | |
| 7256 | 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) | |
| 7257 | 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) | |
| 7258 | 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) | |
| 7259 | 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) | |
| 7260 | end | |
| 7261 | end | |
| 7262 | elseif torvel>2 and torvel<22 and hitfloor~=nil then | |
| 7263 | Anim="Walk" | |
| 7264 | if attack==false then | |
| 7265 | 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) | |
| 7266 | 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) | |
| 7267 | 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) | |
| 7268 | 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) | |
| 7269 | 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) | |
| 7270 | 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) | |
| 7271 | end | |
| 7272 | elseif torvel>=22 and hitfloor~=nil then | |
| 7273 | Anim="Run" | |
| 7274 | if attack==false then | |
| 7275 | 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 | |
| 7276 | 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) | |
| 7277 | 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) | |
| 7278 | 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) | |
| 7279 | 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) | |
| 7280 | 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) | |
| 7281 | 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) | |
| 7282 | if ModeOfGlitch == 9 then | |
| 7283 | -- | |
| 7284 | end | |
| 7285 | 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 | |
| 7286 | 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) | |
| 7287 | 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) | |
| 7288 | 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) | |
| 7289 | 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) | |
| 7290 | 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) | |
| 7291 | 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) | |
| 7292 | end | |
| 7293 | end | |
| 7294 | end | |
| 7295 | end | |
| 7296 | end |