SHOW:
|
|
- or go back to the newest paste.
| 1 | warn([[Galaxy Glitcher Loaded. | |
| 2 | The third glitcher, once as the core is now new. | |
| 3 | ||
| 4 | Created by Tc | |
| 5 | ]]) | |
| 6 | ||
| 7 | ---------Wielder list as of OCs:--------- | |
| 8 | -- ??? (Nothing such as this yet, but wields all the Glitchers. What you're asking it's the creator.) | |
| 9 | -- Void Emily (OC of mine, can lead to any modes and mainly leading to LOVE and HARMONY, she's obviously shy sometimes.) | |
| 10 | -- Lunaria Floodio (Second OC, can lead to any modes.) | |
| 11 | -- Gacharix (Third OC, can lead to any modes and mainly leading to AZURE X, very corrupted person.) | |
| 12 | ----------------------------------------- | |
| 13 | ||
| 14 | print([[Icons: | |
| 15 | ! = New | |
| 16 | ? = Spoilers | |
| 17 | * = Exclusivity | |
| 18 | C = Changes | |
| 19 | ||
| 20 | ]]) | |
| 21 | warn([[V 3.2 Update Log: | |
| 22 | C - Huge revamp of wings. | |
| 23 | C - Walk and running are now tiltable on where you go on a side. | |
| 24 | C - Huge slight changes on all of the mode's idles. | |
| 25 | C - Even more effect changes. | |
| 26 | !C* - Love mode has been added. | |
| 27 | !C* - Love mode's transformation added.. | |
| 28 | !* - Love mode's taunt added... (why.. ;~;) | |
| 29 | C - Death effect has been improved. | |
| 30 | C - Binary's Z is imporvably changed | |
| 31 | ? - Nothing seems to be new yet.. | |
| 32 | ? - Some modes will have moves sooner. | |
| 33 | ||
| 34 | Commands for visualiser mode: play/, vol/, pitch/, skipto/, telltime/]]) | |
| 35 | ---- IMPORTANT READING: | |
| 36 | ---- Sources and functions might be taken from others | |
| 37 | - | plr = game.Players.LocalPlayer |
| 37 | + | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
|
| 38 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 39 | do | |
| 40 | print("FE Compatibility code by Mokiros")
| |
| 41 | script.Parent = Player.Character | |
| 42 | ||
| 43 | --RemoteEvent for communicating | |
| 44 | local Event = Instance.new("RemoteEvent")
| |
| 45 | Event.Name = "UserInput_Event" | |
| 46 | ||
| 47 | --Fake event to make stuff like Mouse.KeyDown work | |
| 48 | local function fakeEvent() | |
| 49 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
| |
| 50 | t.connect = t.Connect | |
| 51 | return t | |
| 52 | end | |
| 53 | ||
| 54 | --Creating fake input objects with fake variables | |
| 55 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
| |
| 56 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 57 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 58 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 59 | end} | |
| 60 | --Merged 2 functions into one by checking amount of arguments | |
| 61 | CAS.UnbindAction = CAS.BindAction | |
| 62 | ||
| 63 | --This function will trigger the events that have been :Connect()'ed | |
| 64 | local function te(self,ev,...) | |
| 65 | local t = m[ev] | |
| 66 | if t and t._fakeEvent and t.Function then | |
| 67 | t.Function(...) | |
| 68 | end | |
| 69 | end | |
| 70 | m.TrigEvent = te | |
| 71 | UIS.TrigEvent = te | |
| 72 | ||
| 73 | Event.OnServerEvent:Connect(function(plr,io) | |
| 74 | if plr~=Player then return end | |
| 75 | if io.isMouse then | |
| 76 | m.Target = io.Target | |
| 77 | m.Hit = io.Hit | |
| 78 | else | |
| 79 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 80 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 81 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
| 82 | end | |
| 83 | for _,t in pairs(CAS.Actions) do | |
| 84 | for _,k in pairs(t.Keys) do | |
| 85 | if k==io.KeyCode then | |
| 86 | t.Function(t.Name,io.UserInputState,io) | |
| 87 | end | |
| 88 | end | |
| 89 | end | |
| 90 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 91 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 92 | end | |
| 93 | end) | |
| 94 | Event.Parent = NLS([==[ | |
| 95 | local Player = game:GetService("Players").LocalPlayer
| |
| 96 | local Event = script:WaitForChild("UserInput_Event")
| |
| 97 | ||
| 98 | local UIS = game:GetService("UserInputService")
| |
| 99 | local input = function(io,a) | |
| 100 | if a then return end | |
| 101 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 102 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
| |
| 103 | end | |
| 104 | UIS.InputBegan:Connect(input) | |
| 105 | UIS.InputEnded:Connect(input) | |
| 106 | ||
| 107 | local Mouse = Player:GetMouse() | |
| 108 | local h,t | |
| 109 | --Give the server mouse data 30 times every second, but only if the values changed | |
| 110 | --If player is not moving their mouse, client won't fire events | |
| 111 | while wait(1/30) do | |
| 112 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 113 | h,t=Mouse.Hit,Mouse.Target | |
| 114 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 115 | end | |
| 116 | end]==],Player.Character) | |
| 117 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
| 118 | end | |
| 119 | ||
| 120 | plr = owner | |
| 121 | ||
| 122 | script.Parent = workspace.CurrentCamera | |
| 123 | plr.CharacterAdded:connect(function() | |
| 124 | script.Disabled = true | |
| 125 | script:destroy() | |
| 126 | end) | |
| 127 | ||
| 128 | char = plr.Character | |
| 129 | hum = char.Humanoid | |
| 130 | local cam = game.Workspace.CurrentCamera | |
| 131 | local Controls = local RealPlayer = Player:WaitForChild("ControlScript")
| |
| 132 | Camera = cam | |
| 133 | local CamInterrupt = false | |
| 134 | local TwoD = false | |
| 135 | local TargetInfo = {nil, nil}
| |
| 136 | cam.CameraType = "Custom" | |
| 137 | t = char.Torso | |
| 138 | h = char.Head | |
| 139 | ra = char["Right Arm"] | |
| 140 | la = char["Left Arm"] | |
| 141 | rl = char["Right Leg"] | |
| 142 | ll = char["Left Leg"] | |
| 143 | tors = char.Torso | |
| 144 | lleg = char["Left Leg"] | |
| 145 | root = char.HumanoidRootPart | |
| 146 | hed = char.Head | |
| 147 | rleg = char["Right Leg"] | |
| 148 | rarm = char["Right Arm"] | |
| 149 | larm = char["Left Arm"] | |
| 150 | radian = math.rad | |
| 151 | random = math.random | |
| 152 | Vec3 = Vector3.new | |
| 153 | Inst = Instance.new | |
| 154 | cFrame = CFrame.new | |
| 155 | Euler = CFrame.fromEulerAnglesXYZ | |
| 156 | vt = Vector3.new | |
| 157 | bc = BrickColor.new | |
| 158 | br = BrickColor.random | |
| 159 | it = Instance.new | |
| 160 | cf = CFrame.new | |
| 161 | ||
| 162 | ||
| 163 | local Booleans = {
| |
| 164 | CamFollow = true, | |
| 165 | GyroUse = true | |
| 166 | } | |
| 167 | ||
| 168 | function lerp(object, newCFrame, alpha) | |
| 169 | return object:lerp(newCFrame, alpha) | |
| 170 | end | |
| 171 | ||
| 172 | local Directer = Inst("BodyGyro", root)
| |
| 173 | Directer.MaxTorque = Vec3(0, 0, 0) | |
| 174 | Directer.P = 600000 | |
| 175 | local CPart = Inst("Part")
| |
| 176 | CPart.Anchored = true | |
| 177 | CPart.CanCollide = false | |
| 178 | CPart.Locked = true | |
| 179 | CPart.Transparency = 1 | |
| 180 | ||
| 181 | local rainbowmode = false | |
| 182 | local chaosmode = false | |
| 183 | local duringend = false | |
| 184 | local ModeOfGlitch = 1 | |
| 185 | ||
| 186 | local kan = Instance.new("Sound",char)
| |
| 187 | kan.Volume = 1.25 | |
| 188 | kan.TimePosition = 0 | |
| 189 | kan.PlaybackSpeed = 1 | |
| 190 | kan.Pitch = 1.01 | |
| 191 | kan.SoundId = "rbxassetid://435773595" | |
| 192 | kan.Name = "wreckeda" | |
| 193 | kan.Looped = true | |
| 194 | kan:Play() | |
| 195 | ||
| 196 | local currentThemePlaying = kan.SoundId | |
| 197 | local currentPitch = kan.Pitch | |
| 198 | local currentVol = kan.Volume | |
| 199 | function newTheme(ID,timepos,pitch,vol) | |
| 200 | local kanz = kan | |
| 201 | --kanz:Stop() | |
| 202 | kanz.Volume = vol | |
| 203 | --kanz.TimePosition = timepos | |
| 204 | kanz.PlaybackSpeed = pitch | |
| 205 | kanz.Pitch = pitch | |
| 206 | kanz.SoundId = ID | |
| 207 | kanz.Name = "wrecked" | |
| 208 | kanz.Looped = true | |
| 209 | currentThemePlaying = kanz.SoundId | |
| 210 | currentVol = kanz.Volume | |
| 211 | currentPitch = kanz.Pitch | |
| 212 | --kanz:Play() | |
| 213 | --coroutine.resume(coroutine.create(function() | |
| 214 | --wait(0.05) | |
| 215 | --end)) | |
| 216 | end | |
| 217 | ||
| 218 | ||
| 219 | function newThemeCust(ID,timepos,pitch,vol) | |
| 220 | local kanz = kan | |
| 221 | kanz:Stop() | |
| 222 | kanz.Volume = vol | |
| 223 | kanz.TimePosition = timepos | |
| 224 | kanz.PlaybackSpeed = pitch | |
| 225 | kanz.Pitch = pitch | |
| 226 | kanz.SoundId = ID | |
| 227 | kanz.Name = "wrecked" | |
| 228 | kanz.Looped = true | |
| 229 | currentThemePlaying = kanz.SoundId | |
| 230 | currentVol = kanz.Volume | |
| 231 | currentPitch = kanz.Pitch | |
| 232 | kanz:Play() | |
| 233 | coroutine.resume(coroutine.create(function() | |
| 234 | wait(0.05) | |
| 235 | end)) | |
| 236 | end | |
| 237 | ||
| 238 | local mutedtog = false | |
| 239 | ||
| 240 | function CameraEnshaking(Length,Intensity) | |
| 241 | coroutine.resume(coroutine.create(function() | |
| 242 | local intensity = 1*Intensity | |
| 243 | local rotM = 0.01*Intensity | |
| 244 | for i = 0, Length, 0.1 do | |
| 245 | swait() | |
| 246 | intensity = intensity - 0.05*Intensity/Length | |
| 247 | rotM = rotM - 0.0005*Intensity/Length | |
| 248 | hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) | |
| 249 | 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) | |
| 250 | end | |
| 251 | Humanoid.CameraOffset = Vec3(0, 0, 0) | |
| 252 | end)) | |
| 253 | end | |
| 254 | CamShake=function(Part,Distan,Power,Times) | |
| 255 | local de=Part.Position | |
| 256 | for i,v in pairs(workspace:children()) do | |
| 257 | if v:IsA("Model") and v:findFirstChild("Humanoid") then
| |
| 258 | for _,c in pairs(v:children()) do | |
| 259 | if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then | |
| 260 | local Noob=v.Humanoid | |
| 261 | if Noob~=nil then | |
| 262 | coroutine.resume(coroutine.create(function() | |
| 263 | FV = Instance.new("BoolValue", Noob)
| |
| 264 | FV.Name = "CameraShake" | |
| 265 | for ShakeNum=1,Times do | |
| 266 | swait() | |
| 267 | local ef=Power | |
| 268 | if ef>=1 then | |
| 269 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef)) | |
| 270 | else | |
| 271 | ef=Power*10 | |
| 272 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10) | |
| 273 | end | |
| 274 | end | |
| 275 | Humanoid.CameraOffset = Vector3.new(0,0,0) | |
| 276 | FV:Destroy() | |
| 277 | end)) | |
| 278 | CameraShake(Times, Power, Noob) | |
| 279 | end | |
| 280 | end | |
| 281 | end | |
| 282 | end | |
| 283 | end | |
| 284 | end | |
| 285 | ||
| 286 | local toggleTag = true | |
| 287 | local bilguit = Instance.new("BillboardGui", hed)
| |
| 288 | bilguit.Adornee = nil | |
| 289 | bilguit.Name = "ModeName" | |
| 290 | bilguit.Size = UDim2.new(4, 0, 1.2, 0) | |
| 291 | bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0) | |
| 292 | local modet = Instance.new("TextLabel", bilguit)
| |
| 293 | modet.Size = UDim2.new(10/2, 0, 7/2, 0) | |
| 294 | modet.FontSize = "Size8" | |
| 295 | modet.TextScaled = true | |
| 296 | modet.TextTransparency = 0 | |
| 297 | modet.BackgroundTransparency = 1 | |
| 298 | modet.TextTransparency = 0 | |
| 299 | modet.TextStrokeTransparency = 0 | |
| 300 | modet.Font = "Code" | |
| 301 | modet.TextStrokeColor3 = Color3.new(0,0,0) | |
| 302 | modet.TextColor3 = Color3.new(1,1,1) | |
| 303 | modet.Text = "Enlightened" | |
| 304 | ||
| 305 | ||
| 306 | function chatfunc(text,color,typet,font,timeex) | |
| 307 | local chat = coroutine.wrap(function() | |
| 308 | if Character:FindFirstChild("TalkingBillBoard")~= nil then
| |
| 309 | Character:FindFirstChild("TalkingBillBoard"):destroy()
| |
| 310 | end | |
| 311 | local naeeym2 = Instance.new("BillboardGui",Character)
| |
| 312 | naeeym2.Size = UDim2.new(0,100,0,40) | |
| 313 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
| 314 | naeeym2.Adornee = Character.Head | |
| 315 | naeeym2.Name = "TalkingBillBoard" | |
| 316 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 317 | tecks2.BackgroundTransparency = 1 | |
| 318 | tecks2.BorderSizePixel = 0 | |
| 319 | tecks2.Text = "" | |
| 320 | tecks2.Font = font | |
| 321 | tecks2.TextSize = 30 | |
| 322 | tecks2.TextStrokeTransparency = 0 | |
| 323 | tecks2.TextColor3 = color | |
| 324 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
| 325 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 326 | local tecks3 = Instance.new("TextLabel",naeeym2)
| |
| 327 | tecks3.BackgroundTransparency = 1 | |
| 328 | tecks3.BorderSizePixel = 0 | |
| 329 | tecks3.Text = "" | |
| 330 | tecks3.Font = font | |
| 331 | tecks3.TextSize = 30 | |
| 332 | tecks3.TextStrokeTransparency = 0 | |
| 333 | if typet == "Inverted" then | |
| 334 | tecks3.TextColor3 = Color3.new(0,0,0) | |
| 335 | tecks3.TextStrokeColor3 = color | |
| 336 | elseif typet == "Normal" then | |
| 337 | tecks3.TextColor3 = color | |
| 338 | tecks3.TextStrokeColor3 = Color3.new(0,0,0) | |
| 339 | end | |
| 340 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
| 341 | coroutine.resume(coroutine.create(function() | |
| 342 | while true do | |
| 343 | swait(1) | |
| 344 | if chaosmode == true then | |
| 345 | tecks2.TextColor3 = BrickColor.random().Color | |
| 346 | tecks3.TextStrokeColor3 = BrickColor.random().Color | |
| 347 | end | |
| 348 | end | |
| 349 | end)) | |
| 350 | modet.TextTransparency = modet.TextTransparency + 1 | |
| 351 | modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1 | |
| 352 | for i = 0, 74*timeex do | |
| 353 | swait() | |
| 354 | modet.TextTransparency = 1 | |
| 355 | modet.TextStrokeTransparency = 1 | |
| 356 | tecks2.Text = text | |
| 357 | tecks3.Text = text | |
| 358 | end | |
| 359 | local randomrot = math.random(1,2) | |
| 360 | if randomrot == 1 then | |
| 361 | for i = 1, 50 do | |
| 362 | swait() | |
| 363 | tecks2.Text = text | |
| 364 | tecks3.Text = text | |
| 365 | modet.TextTransparency = modet.TextTransparency - .02 | |
| 366 | modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02 | |
| 367 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 368 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
| 369 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 370 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
| 371 | end | |
| 372 | elseif randomrot == 2 then | |
| 373 | for i = 1, 50 do | |
| 374 | swait() | |
| 375 | tecks2.Text = text | |
| 376 | tecks3.Text = text | |
| 377 | modet.TextTransparency = modet.TextTransparency - .02 | |
| 378 | modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02 | |
| 379 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 380 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
| 381 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 382 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
| 383 | end | |
| 384 | end | |
| 385 | modet.TextTransparency = 0 | |
| 386 | modet.TextStrokeTransparency = 0 | |
| 387 | if toggleTag == false then | |
| 388 | modet.TextTransparency = 1 | |
| 389 | modet.TextStrokeTransparency = 1 | |
| 390 | end | |
| 391 | naeeym2:Destroy() | |
| 392 | end) | |
| 393 | chat() | |
| 394 | end | |
| 395 | ||
| 396 | ||
| 397 | local Create = LoadLibrary("RbxUtility").Create
| |
| 398 | ||
| 399 | CFuncs = {
| |
| 400 | ["Part"] = {
| |
| 401 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 402 | local Part = Create("Part"){
| |
| 403 | Parent = Parent, | |
| 404 | Reflectance = Reflectance, | |
| 405 | Transparency = Transparency, | |
| 406 | CanCollide = false, | |
| 407 | Locked = true, | |
| 408 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 409 | Name = Name, | |
| 410 | Size = Size, | |
| 411 | Material = Material, | |
| 412 | } | |
| 413 | RemoveOutlines(Part) | |
| 414 | return Part | |
| 415 | end; | |
| 416 | }; | |
| 417 | ||
| 418 | ["Mesh"] = {
| |
| 419 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 420 | local Msh = Create(Mesh){
| |
| 421 | Parent = Part, | |
| 422 | Offset = OffSet, | |
| 423 | Scale = Scale, | |
| 424 | } | |
| 425 | if Mesh == "SpecialMesh" then | |
| 426 | Msh.MeshType = MeshType | |
| 427 | Msh.MeshId = MeshId | |
| 428 | end | |
| 429 | return Msh | |
| 430 | end; | |
| 431 | }; | |
| 432 | ||
| 433 | ["Mesh"] = {
| |
| 434 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 435 | local Msh = Create(Mesh){
| |
| 436 | Parent = Part, | |
| 437 | Offset = OffSet, | |
| 438 | Scale = Scale, | |
| 439 | } | |
| 440 | if Mesh == "SpecialMesh" then | |
| 441 | Msh.MeshType = MeshType | |
| 442 | Msh.MeshId = MeshId | |
| 443 | end | |
| 444 | return Msh | |
| 445 | end; | |
| 446 | }; | |
| 447 | ||
| 448 | ["Weld"] = {
| |
| 449 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 450 | local Weld = Create("Weld"){
| |
| 451 | Parent = Parent, | |
| 452 | Part0 = Part0, | |
| 453 | Part1 = Part1, | |
| 454 | C0 = C0, | |
| 455 | C1 = C1, | |
| 456 | } | |
| 457 | return Weld | |
| 458 | end; | |
| 459 | }; | |
| 460 | ||
| 461 | ["Sound"] = {
| |
| 462 | Create = function(id, par, vol, pit) | |
| 463 | coroutine.resume(coroutine.create(function() | |
| 464 | local S = Create("Sound"){
| |
| 465 | Volume = vol, | |
| 466 | Name = "EffectSoundo", | |
| 467 | Pitch = pit or 1, | |
| 468 | SoundId = id, | |
| 469 | Parent = par or workspace, | |
| 470 | } | |
| 471 | wait() | |
| 472 | S:play() | |
| 473 | game:GetService("Debris"):AddItem(S, 10)
| |
| 474 | end)) | |
| 475 | end; | |
| 476 | }; | |
| 477 | ||
| 478 | ["LongSound"] = {
| |
| 479 | Create = function(id, par, vol, pit) | |
| 480 | coroutine.resume(coroutine.create(function() | |
| 481 | local S = Create("Sound"){
| |
| 482 | Volume = vol, | |
| 483 | Pitch = pit or 1, | |
| 484 | SoundId = id, | |
| 485 | Parent = par or workspace, | |
| 486 | } | |
| 487 | wait() | |
| 488 | S:play() | |
| 489 | game:GetService("Debris"):AddItem(S, 60)
| |
| 490 | end)) | |
| 491 | end; | |
| 492 | }; | |
| 493 | ||
| 494 | ["ParticleEmitter"] = {
| |
| 495 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 496 | local fp = Create("ParticleEmitter"){
| |
| 497 | Parent = Parent, | |
| 498 | Color = ColorSequence.new(Color1, Color2), | |
| 499 | LightEmission = LightEmission, | |
| 500 | Size = Size, | |
| 501 | Texture = Texture, | |
| 502 | Transparency = Transparency, | |
| 503 | ZOffset = ZOffset, | |
| 504 | Acceleration = Accel, | |
| 505 | Drag = Drag, | |
| 506 | LockedToPart = LockedToPart, | |
| 507 | VelocityInheritance = VelocityInheritance, | |
| 508 | EmissionDirection = EmissionDirection, | |
| 509 | Enabled = Enabled, | |
| 510 | Lifetime = LifeTime, | |
| 511 | Rate = Rate, | |
| 512 | Rotation = Rotation, | |
| 513 | RotSpeed = RotSpeed, | |
| 514 | Speed = Speed, | |
| 515 | VelocitySpread = VelocitySpread, | |
| 516 | } | |
| 517 | return fp | |
| 518 | end; | |
| 519 | }; | |
| 520 | ||
| 521 | CreateTemplate = {
| |
| 522 | ||
| 523 | }; | |
| 524 | } | |
| 525 | ||
| 526 | ||
| 527 | ||
| 528 | New = function(Object, Parent, Name, Data) | |
| 529 | local Object = Instance.new(Object) | |
| 530 | for Index, Value in pairs(Data or {}) do
| |
| 531 | Object[Index] = Value | |
| 532 | end | |
| 533 | Object.Parent = Parent | |
| 534 | Object.Name = Name | |
| 535 | return Object | |
| 536 | end | |
| 537 | local halocolor = BrickColor.new("Pastel light blue")
| |
| 538 | local halocolor2 = BrickColor.new("Cool yellow")
| |
| 539 | local starcolor = BrickColor.new("Bright yellow")
| |
| 540 | local lunacolor = BrickColor.new("Navy blue")
| |
| 541 | local lunacolor2 = BrickColor.new("Bright blue")
| |
| 542 | local wepcolor = BrickColor.new("Really black")
| |
| 543 | local maincolor = BrickColor.new("Really black")
| |
| 544 | local m = Instance.new("Model",char)
| |
| 545 | local m2 = Instance.new("Model",char)
| |
| 546 | local m3 = Instance.new("Model",char)
| |
| 547 | local mw1 = Instance.new("Model",char)
| |
| 548 | local mw2 = Instance.new("Model",char)
| |
| 549 | ||
| 550 | ||
| 551 | gui = function(GuiType, parent, text, backtrans, backcol, pos, size) | |
| 552 | local gui = it(GuiType) | |
| 553 | gui.Parent = parent | |
| 554 | gui.Text = text | |
| 555 | gui.BackgroundTransparency = backtrans | |
| 556 | gui.BackgroundColor3 = backcol | |
| 557 | gui.SizeConstraint = "RelativeXY" | |
| 558 | gui.TextXAlignment = "Center" | |
| 559 | gui.TextYAlignment = "Center" | |
| 560 | gui.Position = pos | |
| 561 | gui.Size = size | |
| 562 | gui.Font = "SourceSans" | |
| 563 | gui.FontSize = "Size14" | |
| 564 | gui.TextWrapped = false | |
| 565 | gui.TextStrokeTransparency = 0 | |
| 566 | gui.TextColor = BrickColor.new("White")
| |
| 567 | return gui | |
| 568 | end | |
| 569 | ---- GUI set | |
| 570 | local basgui = it("GuiMain")
| |
| 571 | basgui.Parent = plr.PlayerGui | |
| 572 | basgui.Name = "Killcounter GUI" | |
| 573 | local basframe = it("Frame")
| |
| 574 | basframe.Parent = basgui | |
| 575 | basframe.BackgroundColor3 = Color3.new(255, 255, 255) | |
| 576 | basframe.BackgroundTransparency = 1 | |
| 577 | basframe.BorderColor3 = Color3.new(17, 17, 17) | |
| 578 | basframe.Size = UDim2.new(0.2, 0, 0.2, 0) | |
| 579 | basframe.Position = UDim2.new(0.8, 0, 0.8, 0) | |
| 580 | local uhh = gui("TextLabel", basframe, "Basic", 0.5, BrickColor.new("Really black").Color, UDim2.new(-0.5, 0, 0.45, 0), UDim2.new(1.5, 0, 0.55, 0))
| |
| 581 | uhh.ZIndex = 2 | |
| 582 | uhh.Font = "Bodoni" | |
| 583 | uhh.TextStrokeColor3 = Color3.new(0.05,0.05,0.05) | |
| 584 | uhh.TextColor3 = Color3.new(1,1,1) | |
| 585 | uhh.BackgroundTransparency = 0.25 | |
| 586 | uhh.BorderSizePixel = 2 | |
| 587 | uhh.BorderColor3 = Color3.new(0,0,0) | |
| 588 | uhh.TextScaled = true | |
| 589 | uhh.TextXAlignment = "Left" | |
| 590 | uhh.Text = "SWITCH MODE: 1-9" | |
| 591 | uhh.TextSize = 64 | |
| 592 | local modeteller = gui("TextLabel", basframe, "Basic", 0.5, BrickColor.new("Really black").Color, UDim2.new(-0, 0, -0.01, 0), UDim2.new(1, 0, 0.45, 0))
| |
| 593 | modeteller.ZIndex = 2 | |
| 594 | modeteller.Font = "Bodoni" | |
| 595 | modeteller.TextStrokeColor3 = Color3.new(0.05,0.05,0.05) | |
| 596 | modeteller.TextColor3 = Color3.new(1,1,1) | |
| 597 | modeteller.BackgroundTransparency = 0.25 | |
| 598 | modeteller.BorderSizePixel = 2 | |
| 599 | modeteller.BorderColor3 = Color3.new(0,0,0) | |
| 600 | modeteller.TextScaled = true | |
| 601 | modeteller.TextXAlignment = "Right" | |
| 602 | modeteller.Text = "MAYHEM" | |
| 603 | modeteller.TextSize = 64 | |
| 604 | ||
| 605 | local extrawingmod1 = Instance.new("Model",char)
| |
| 606 | local extrawingmod2 = Instance.new("Model",char)
| |
| 607 | ||
| 608 | function CreateParta(parent,transparency,reflectance,material,brickcolor) | |
| 609 | local p = Instance.new("Part")
| |
| 610 | p.TopSurface = 0 | |
| 611 | p.BottomSurface = 0 | |
| 612 | p.Parent = parent | |
| 613 | p.Size = Vector3.new(0.1,0.1,0.1) | |
| 614 | p.Transparency = transparency | |
| 615 | p.Reflectance = reflectance | |
| 616 | p.CanCollide = false | |
| 617 | p.Locked = true | |
| 618 | p.BrickColor = brickcolor | |
| 619 | p.Material = material | |
| 620 | return p | |
| 621 | end | |
| 622 | ||
| 623 | function CreateMesh(parent,meshtype,x1,y1,z1) | |
| 624 | local mesh = Instance.new("SpecialMesh",parent)
| |
| 625 | mesh.MeshType = meshtype | |
| 626 | mesh.Scale = Vector3.new(x1*10,y1*10,z1*10) | |
| 627 | return mesh | |
| 628 | end | |
| 629 | ||
| 630 | function CreateSpecialMesh(parent,meshid,x1,y1,z1) | |
| 631 | local mesh = Instance.new("SpecialMesh",parent)
| |
| 632 | mesh.MeshType = "FileMesh" | |
| 633 | mesh.MeshId = meshid | |
| 634 | mesh.Scale = Vector3.new(x1,y1,z1) | |
| 635 | return mesh | |
| 636 | end | |
| 637 | ||
| 638 | ||
| 639 | function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1) | |
| 640 | local mesh = Instance.new("SpecialMesh",parent)
| |
| 641 | mesh.MeshType = "FileMesh" | |
| 642 | mesh.MeshId = meshid | |
| 643 | mesh.TextureId = "http://www.roblox.com/asset/?id=269748808" | |
| 644 | mesh.Scale = Vector3.new(x1,y1,z1) | |
| 645 | mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b) | |
| 646 | return mesh | |
| 647 | end | |
| 648 | ||
| 649 | function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za) | |
| 650 | local weld = Instance.new("Weld")
| |
| 651 | weld.Parent = parent | |
| 652 | weld.Part0 = part0 | |
| 653 | weld.Part1 = part1 | |
| 654 | weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za) | |
| 655 | weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za) | |
| 656 | return weld | |
| 657 | end | |
| 658 | ||
| 659 | ||
| 660 | -------------- | |
| 661 | local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 662 | 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)) | |
| 663 | local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 664 | 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)) | |
| 665 | ||
| 666 | local handlex = CreateParta(mw2,1,1,"Neon",maincolor) | |
| 667 | CreateMesh(handle,"Brick",0,0,0) | |
| 668 | 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)) | |
| 669 | local valuaring = 10 | |
| 670 | ||
| 671 | local refec = Instance.new("ParticleEmitter",handlex)
| |
| 672 | refec.Texture = "rbxassetid://284205403" | |
| 673 | refec.LightEmission = 0.95 | |
| 674 | refec.Color = ColorSequence.new(BrickColor.new("White").Color)
| |
| 675 | refec.Rate = 50 | |
| 676 | refec.Lifetime = NumberRange.new(0.5) | |
| 677 | refec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.5,0.75,0),NumberSequenceKeypoint.new(1,0.1,0)})
| |
| 678 | refec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 679 | refec.Speed = NumberRange.new(0,2) | |
| 680 | refec.Drag = 5 | |
| 681 | refec.LockedToPart = true | |
| 682 | refec.Rotation = NumberRange.new(-500,500) | |
| 683 | refec.VelocitySpread = 9000 | |
| 684 | refec.RotSpeed = NumberRange.new(-500,500) | |
| 685 | local refec2 = refec:Clone() | |
| 686 | refec2.LightEmission = 0.75 | |
| 687 | refec2.Texture = "rbxassetid://254287058" | |
| 688 | refec2.Parent = handlex | |
| 689 | refec2.Rate = 25 | |
| 690 | refec2.Lifetime = NumberRange.new(0.75) | |
| 691 | refec2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.5,0),NumberSequenceKeypoint.new(0.15,1,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,0.1,0)})
| |
| 692 | refec2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.65,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 693 | refec2.Speed = NumberRange.new(0) | |
| 694 | local refec3 = refec:Clone() | |
| 695 | refec3.LightEmission = 0.75 | |
| 696 | refec3.Texture = "rbxassetid://363275192" | |
| 697 | refec3.Parent = handlex | |
| 698 | refec3.Rate = 25 | |
| 699 | refec3.Lifetime = NumberRange.new(1) | |
| 700 | refec3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0.1,0)})
| |
| 701 | refec3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.65,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 702 | refec3.Speed = NumberRange.new(0) | |
| 703 | refec3.RotSpeed = NumberRange.new(-50,50) | |
| 704 | ||
| 705 | for i = 0, 35 do | |
| 706 | valuaring = valuaring + 10 | |
| 707 | rn = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 708 | CreateMesh(rn,"Wedge",0.1,0.5,0.1) | |
| 709 | CreateWeld(rn,handlex,rn,0,0.75,0,math.rad(0),math.rad(-90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 710 | rn = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 711 | CreateMesh(rn,"Wedge",0.1,0.5,0.1) | |
| 712 | CreateWeld(rn,handlex,rn,0,0.75,0,math.rad(0),math.rad(90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 713 | rn = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 714 | CreateMesh(rn,"Wedge",0.1,0.2,0.05) | |
| 715 | CreateWeld(rn,handlex,rn,0,-1.1,0.025,math.rad(0),math.rad(-90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 716 | rn = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 717 | CreateMesh(rn,"Wedge",0.1,0.2,0.05) | |
| 718 | CreateWeld(rn,handlex,rn,0,-1.1,0.025,math.rad(0),math.rad(90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 719 | end | |
| 720 | ||
| 721 | ||
| 722 | local handle = CreateParta(m,1,1,"Neon",maincolor) | |
| 723 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 724 | 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)) | |
| 725 | ||
| 726 | --- Left wing. | |
| 727 | ||
| 728 | local lwing1 = CreateParta(m,1,1,"Neon",maincolor) | |
| 729 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 730 | 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)) | |
| 731 | ||
| 732 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 733 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 734 | 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)) | |
| 735 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 736 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 737 | 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)) | |
| 738 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 739 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 740 | CreateWeld(wed,lwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 741 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 742 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 743 | CreateWeld(wed,lwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 744 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 745 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 746 | CreateWeld(wed,lwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 747 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 748 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 749 | CreateWeld(wed,lwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 750 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 751 | CreateMesh(wed,"Wedge",0.05,0.5,1.5) | |
| 752 | 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)) | |
| 753 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 754 | CreateMesh(wed,"Wedge",0.05,1.5,0.5) | |
| 755 | 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)) | |
| 756 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 757 | CreateMesh(wed,"Wedge",0.05,0.25,1.75) | |
| 758 | CreateWeld(wed,lwing1,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 759 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 760 | CreateMesh(wed,"Wedge",0.05,1.75,0.25) | |
| 761 | CreateWeld(wed,lwing1,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 762 | ||
| 763 | ||
| 764 | local lwing2 = CreateParta(m,1,1,"Neon",maincolor) | |
| 765 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 766 | 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)) | |
| 767 | ||
| 768 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 769 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 770 | 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)) | |
| 771 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 772 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 773 | 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)) | |
| 774 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 775 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 776 | CreateWeld(wed,lwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 777 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 778 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 779 | CreateWeld(wed,lwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 780 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 781 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 782 | CreateWeld(wed,lwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 783 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 784 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 785 | CreateWeld(wed,lwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 786 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 787 | CreateMesh(wed,"Wedge",0.05,0.5,1.5) | |
| 788 | 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)) | |
| 789 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 790 | CreateMesh(wed,"Wedge",0.05,1.5,0.5) | |
| 791 | 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)) | |
| 792 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 793 | CreateMesh(wed,"Wedge",0.05,0.25,1.75) | |
| 794 | CreateWeld(wed,lwing2,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 795 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 796 | CreateMesh(wed,"Wedge",0.05,1.75,0.25) | |
| 797 | CreateWeld(wed,lwing2,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 798 | ||
| 799 | local lwing3 = CreateParta(m,1,1,"Neon",maincolor) | |
| 800 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 801 | 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)) | |
| 802 | ||
| 803 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 804 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 805 | 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)) | |
| 806 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 807 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 808 | 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)) | |
| 809 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 810 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 811 | CreateWeld(wed,lwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 812 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 813 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 814 | CreateWeld(wed,lwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 815 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 816 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 817 | CreateWeld(wed,lwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 818 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 819 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 820 | CreateWeld(wed,lwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 821 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 822 | CreateMesh(wed,"Wedge",0.05,0.5,1.5) | |
| 823 | 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)) | |
| 824 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 825 | CreateMesh(wed,"Wedge",0.05,1.5,0.5) | |
| 826 | 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)) | |
| 827 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 828 | CreateMesh(wed,"Wedge",0.05,0.25,1.75) | |
| 829 | CreateWeld(wed,lwing3,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 830 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 831 | CreateMesh(wed,"Wedge",0.05,1.75,0.25) | |
| 832 | CreateWeld(wed,lwing3,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 833 | ||
| 834 | local lwing4 = CreateParta(m,1,1,"Neon",maincolor) | |
| 835 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 836 | 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)) | |
| 837 | ||
| 838 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 839 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 840 | 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)) | |
| 841 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 842 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 843 | 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)) | |
| 844 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 845 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 846 | 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)) | |
| 847 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 848 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 849 | 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)) | |
| 850 | ||
| 851 | local lwing5 = CreateParta(m,1,1,"Neon",maincolor) | |
| 852 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 853 | 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)) | |
| 854 | ||
| 855 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 856 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 857 | 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)) | |
| 858 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 859 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 860 | 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)) | |
| 861 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 862 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 863 | 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)) | |
| 864 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 865 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 866 | 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)) | |
| 867 | ||
| 868 | local lwing6 = CreateParta(m,1,1,"Neon",maincolor) | |
| 869 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 870 | 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)) | |
| 871 | ||
| 872 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 873 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 874 | 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)) | |
| 875 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 876 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 877 | 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)) | |
| 878 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 879 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 880 | 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)) | |
| 881 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 882 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 883 | 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)) | |
| 884 | ||
| 885 | -- Right wing. | |
| 886 | ||
| 887 | local rwing1 = CreateParta(m,1,1,"Neon",maincolor) | |
| 888 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 889 | 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)) | |
| 890 | ||
| 891 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 892 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 893 | 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)) | |
| 894 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 895 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 896 | 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)) | |
| 897 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 898 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 899 | CreateWeld(wed,rwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 900 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 901 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 902 | CreateWeld(wed,rwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 903 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 904 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 905 | CreateWeld(wed,rwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 906 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 907 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 908 | CreateWeld(wed,rwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 909 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 910 | CreateMesh(wed,"Wedge",0.05,0.5,1.5) | |
| 911 | 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)) | |
| 912 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 913 | CreateMesh(wed,"Wedge",0.05,1.5,0.5) | |
| 914 | 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)) | |
| 915 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 916 | CreateMesh(wed,"Wedge",0.05,0.25,1.75) | |
| 917 | CreateWeld(wed,rwing1,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 918 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 919 | CreateMesh(wed,"Wedge",0.05,1.75,0.25) | |
| 920 | CreateWeld(wed,rwing1,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 921 | ||
| 922 | local rwing2 = CreateParta(m,1,1,"Neon",maincolor) | |
| 923 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 924 | 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)) | |
| 925 | ||
| 926 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 927 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 928 | 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)) | |
| 929 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 930 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 931 | 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)) | |
| 932 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 933 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 934 | CreateWeld(wed,rwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 935 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 936 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 937 | CreateWeld(wed,rwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 938 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 939 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 940 | CreateWeld(wed,rwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 941 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 942 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 943 | CreateWeld(wed,rwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 944 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 945 | CreateMesh(wed,"Wedge",0.05,0.5,1.5) | |
| 946 | 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)) | |
| 947 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 948 | CreateMesh(wed,"Wedge",0.05,1.5,0.5) | |
| 949 | 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)) | |
| 950 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 951 | CreateMesh(wed,"Wedge",0.05,0.25,1.75) | |
| 952 | CreateWeld(wed,rwing2,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 953 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 954 | CreateMesh(wed,"Wedge",0.05,1.75,0.25) | |
| 955 | CreateWeld(wed,rwing2,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 956 | ||
| 957 | local rwing3 = CreateParta(m,1,1,"Neon",maincolor) | |
| 958 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 959 | 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)) | |
| 960 | ||
| 961 | ||
| 962 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 963 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 964 | 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)) | |
| 965 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 966 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 967 | 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)) | |
| 968 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 969 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 970 | CreateWeld(wed,rwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 971 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 972 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 973 | CreateWeld(wed,rwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 974 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 975 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 976 | CreateWeld(wed,rwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 977 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 978 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 979 | CreateWeld(wed,rwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 980 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 981 | CreateMesh(wed,"Wedge",0.05,0.5,1.5) | |
| 982 | 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)) | |
| 983 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 984 | CreateMesh(wed,"Wedge",0.05,1.5,0.5) | |
| 985 | 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)) | |
| 986 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 987 | CreateMesh(wed,"Wedge",0.05,0.25,1.75) | |
| 988 | CreateWeld(wed,rwing3,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 989 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 990 | CreateMesh(wed,"Wedge",0.05,1.75,0.25) | |
| 991 | CreateWeld(wed,rwing3,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 992 | ||
| 993 | ||
| 994 | local rwing4 = CreateParta(m,1,1,"Neon",maincolor) | |
| 995 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 996 | 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)) | |
| 997 | ||
| 998 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 999 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1000 | 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)) | |
| 1001 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1002 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1003 | 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)) | |
| 1004 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1005 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 1006 | 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)) | |
| 1007 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1008 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 1009 | 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)) | |
| 1010 | ||
| 1011 | local rwing5 = CreateParta(m,1,1,"Neon",maincolor) | |
| 1012 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 1013 | 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)) | |
| 1014 | ||
| 1015 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1016 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1017 | 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)) | |
| 1018 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1019 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1020 | 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)) | |
| 1021 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1022 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 1023 | 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)) | |
| 1024 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1025 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 1026 | 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)) | |
| 1027 | ||
| 1028 | local rwing6 = CreateParta(m,1,1,"Neon",maincolor) | |
| 1029 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 1030 | 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)) | |
| 1031 | ||
| 1032 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1033 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1034 | 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)) | |
| 1035 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1036 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 1037 | 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)) | |
| 1038 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1039 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 1040 | 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)) | |
| 1041 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 1042 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 1043 | 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)) | |
| 1044 | ||
| 1045 | ||
| 1046 | ---- HERES THE RING | |
| 1047 | ||
| 1048 | ||
| 1049 | --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor) | |
| 1050 | CreateMesh(ran,"Wedge",1.02,1.02,1.02) | |
| 1051 | 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)) | |
| 1052 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1053 | CreateMesh(ran,"Wedge",0.9,0.9,1.025) | |
| 1054 | 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)) | |
| 1055 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1056 | CreateMesh(ran,"Wedge",1.025,0.9,0.9) | |
| 1057 | 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)) | |
| 1058 | ||
| 1059 | ||
| 1060 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1061 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
| 1062 | 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)) | |
| 1063 | ||
| 1064 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1065 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
| 1066 | 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)) | |
| 1067 | ||
| 1068 | ||
| 1069 | ||
| 1070 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
| 1071 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
| 1072 | 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)) | |
| 1073 | ||
| 1074 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
| 1075 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
| 1076 | 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)) | |
| 1077 | ||
| 1078 | gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2) | |
| 1079 | CreateMesh(gane,"Brick",1.0625,0.2,1.0625) | |
| 1080 | 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)) | |
| 1081 | ||
| 1082 | star = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1083 | CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5) | |
| 1084 | 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)) | |
| 1085 | starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor) | |
| 1086 | CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95) | |
| 1087 | 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)) | |
| 1088 | ||
| 1089 | --- second ring | |
| 1090 | ||
| 1091 | ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor) | |
| 1092 | CreateMesh(ran,"Wedge",1.02,1.02,1.02) | |
| 1093 | 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)) | |
| 1094 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1095 | CreateMesh(ran,"Wedge",0.9,0.9,1.025) | |
| 1096 | 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)) | |
| 1097 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1098 | CreateMesh(ran,"Wedge",1.025,0.9,0.9) | |
| 1099 | 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)) | |
| 1100 | ||
| 1101 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1102 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
| 1103 | 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)) | |
| 1104 | ||
| 1105 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1106 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
| 1107 | 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)) | |
| 1108 | ||
| 1109 | ||
| 1110 | ||
| 1111 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
| 1112 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
| 1113 | 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)) | |
| 1114 | ||
| 1115 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
| 1116 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
| 1117 | 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)) | |
| 1118 | ||
| 1119 | gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2) | |
| 1120 | CreateMesh(gane,"Brick",1.0625,0.2,1.0625) | |
| 1121 | 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)) | |
| 1122 | ||
| 1123 | star = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1124 | CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5) | |
| 1125 | 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)) | |
| 1126 | starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor) | |
| 1127 | CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95) | |
| 1128 | 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))]]-- | |
| 1129 | ||
| 1130 | ------------- Trails | |
| 1131 | local A0 = Instance.new("Attachment",lwing1)
| |
| 1132 | A0.Position = Vector3.new(0,-0.7,0) | |
| 1133 | local A1 = Instance.new("Attachment",lwing1)
| |
| 1134 | A1.Position = Vector3.new(0,-3.5,0) | |
| 1135 | tl1 = Instance.new('Trail',lwing1)
| |
| 1136 | tl1.Attachment0 = A0 | |
| 1137 | tl1.Attachment1 = A1 | |
| 1138 | tl1.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
| 1139 | tl1.LightEmission = 1 | |
| 1140 | tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 1141 | tl1.Color = ColorSequence.new(BrickColor.new('White').Color)
| |
| 1142 | tl1.Lifetime = 0.6 | |
| 1143 | ||
| 1144 | local A0 = Instance.new("Attachment",lwing2)
| |
| 1145 | A0.Position = Vector3.new(0,-0.7,0) | |
| 1146 | local A1 = Instance.new("Attachment",lwing2)
| |
| 1147 | A1.Position = Vector3.new(0,-3.5,0) | |
| 1148 | tl2 = Instance.new('Trail',lwing2)
| |
| 1149 | tl2.Attachment0 = A0 | |
| 1150 | tl2.Attachment1 = A1 | |
| 1151 | tl2.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
| 1152 | tl2.LightEmission = 1 | |
| 1153 | tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 1154 | tl2.Color = ColorSequence.new(BrickColor.new('White').Color)
| |
| 1155 | tl2.Lifetime = 0.6 | |
| 1156 | ||
| 1157 | local A0 = Instance.new("Attachment",lwing3)
| |
| 1158 | A0.Position = Vector3.new(0,-0.7,0) | |
| 1159 | local A1 = Instance.new("Attachment",lwing3)
| |
| 1160 | A1.Position = Vector3.new(0,-3.5,0) | |
| 1161 | tl3 = Instance.new('Trail',lwing3)
| |
| 1162 | tl3.Attachment0 = A0 | |
| 1163 | tl3.Attachment1 = A1 | |
| 1164 | tl3.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
| 1165 | tl3.LightEmission = 1 | |
| 1166 | tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 1167 | tl3.Color = ColorSequence.new(BrickColor.new('White').Color)
| |
| 1168 | tl3.Lifetime = 0.6 | |
| 1169 | ||
| 1170 | local A0 = Instance.new("Attachment",rwing1)
| |
| 1171 | A0.Position = Vector3.new(0,-0.7,0) | |
| 1172 | local A1 = Instance.new("Attachment",rwing1)
| |
| 1173 | A1.Position = Vector3.new(0,-3.5,0) | |
| 1174 | tr1 = Instance.new('Trail',rwing1)
| |
| 1175 | tr1.Attachment0 = A0 | |
| 1176 | tr1.Attachment1 = A1 | |
| 1177 | tr1.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
| 1178 | tr1.LightEmission = 1 | |
| 1179 | tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 1180 | tr1.Color = ColorSequence.new(BrickColor.new('White').Color)
| |
| 1181 | tr1.Lifetime = 0.6 | |
| 1182 | ||
| 1183 | local A0 = Instance.new("Attachment",rwing2)
| |
| 1184 | A0.Position = Vector3.new(0,-0.7,0) | |
| 1185 | local A1 = Instance.new("Attachment",rwing2)
| |
| 1186 | A1.Position = Vector3.new(0,-3.5,0) | |
| 1187 | tr2 = Instance.new('Trail',rwing2)
| |
| 1188 | tr2.Attachment0 = A0 | |
| 1189 | tr2.Attachment1 = A1 | |
| 1190 | tr2.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
| 1191 | tr2.LightEmission = 1 | |
| 1192 | tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 1193 | tr2.Color = ColorSequence.new(BrickColor.new('White').Color)
| |
| 1194 | tr2.Lifetime = 0.6 | |
| 1195 | ||
| 1196 | local A0 = Instance.new("Attachment",rwing3)
| |
| 1197 | A0.Position = Vector3.new(0,-0.7,0) | |
| 1198 | local A1 = Instance.new("Attachment",rwing3)
| |
| 1199 | A1.Position = Vector3.new(0,-3.5,0) | |
| 1200 | tr3 = Instance.new('Trail',rwing3)
| |
| 1201 | tr3.Attachment0 = A0 | |
| 1202 | tr3.Attachment1 = A1 | |
| 1203 | tr3.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
| 1204 | tr3.LightEmission = 1 | |
| 1205 | tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 1206 | tr3.Color = ColorSequence.new(BrickColor.new('White').Color)
| |
| 1207 | tr3.Lifetime = 0.6 | |
| 1208 | -------------- | |
| 1209 | ||
| 1210 | for i, v in pairs(mw2:GetChildren()) do | |
| 1211 | if v:IsA("Part") then
| |
| 1212 | v.BrickColor = BrickColor.new("White")
| |
| 1213 | v.Material = "Neon" | |
| 1214 | end | |
| 1215 | end | |
| 1216 | for i, v in pairs(mw1:GetChildren()) do | |
| 1217 | if v:IsA("Part") then
| |
| 1218 | v.Transparency = 0 | |
| 1219 | v.BrickColor = BrickColor.new("White")
| |
| 1220 | v.Material = "Neon" | |
| 1221 | end | |
| 1222 | end | |
| 1223 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 1224 | if v:IsA("Part") then
| |
| 1225 | v.Transparency = 1 | |
| 1226 | v.BrickColor = BrickColor.new("White")
| |
| 1227 | v.Material = "Neon" | |
| 1228 | end | |
| 1229 | end | |
| 1230 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 1231 | if v:IsA("Part") then
| |
| 1232 | v.Transparency = 1 | |
| 1233 | v.BrickColor = BrickColor.new("White")
| |
| 1234 | v.Material = "Neon" | |
| 1235 | end | |
| 1236 | end | |
| 1237 | local MAINRUINCOLOR = BrickColor.new("White")
| |
| 1238 | ------ | |
| 1239 | ||
| 1240 | ||
| 1241 | function RemoveOutlines(part) | |
| 1242 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 1243 | end | |
| 1244 | function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 1245 | local Part = Create("Part")({
| |
| 1246 | Parent = Parent, | |
| 1247 | Reflectance = Reflectance, | |
| 1248 | Transparency = Transparency, | |
| 1249 | CanCollide = false, | |
| 1250 | Locked = true, | |
| 1251 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 1252 | Name = Name, | |
| 1253 | Size = Size, | |
| 1254 | Material = Material | |
| 1255 | }) | |
| 1256 | Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001) | |
| 1257 | RemoveOutlines(Part) | |
| 1258 | return Part | |
| 1259 | - | mouse=Player:GetMouse() |
| 1259 | + | |
| 1260 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 1261 | local Msh = Create(Mesh)({
| |
| 1262 | Parent = Part, | |
| 1263 | Offset = OffSet, | |
| 1264 | Scale = Scale | |
| 1265 | }) | |
| 1266 | if Mesh == "SpecialMesh" then | |
| 1267 | Msh.MeshType = MeshType | |
| 1268 | Msh.MeshId = MeshId | |
| 1269 | end | |
| 1270 | return Msh | |
| 1271 | end | |
| 1272 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
| 1273 | local Weld = Create("Weld")({
| |
| 1274 | Parent = Parent, | |
| 1275 | Part0 = Part0, | |
| 1276 | Part1 = Part1, | |
| 1277 | C0 = C0, | |
| 1278 | C1 = C1 | |
| 1279 | }) | |
| 1280 | return Weld | |
| 1281 | end | |
| 1282 | ||
| 1283 | Player=game:GetService("Players").LocalPlayer
| |
| 1284 | Character=Player.Character | |
| 1285 | PlayerGui=Player.PlayerGui | |
| 1286 | Backpack=Player.Backpack | |
| 1287 | Torso=Character.Torso | |
| 1288 | Head=Character.Head | |
| 1289 | Humanoid=Character.Humanoid | |
| 1290 | m=Instance.new('Model',Character)
| |
| 1291 | LeftArm=Character["Left Arm"] | |
| 1292 | LeftLeg=Character["Left Leg"] | |
| 1293 | RightArm=Character["Right Arm"] | |
| 1294 | RightLeg=Character["Right Leg"] | |
| 1295 | LS=Torso["Left Shoulder"] | |
| 1296 | LH=Torso["Left Hip"] | |
| 1297 | RS=Torso["Right Shoulder"] | |
| 1298 | RH=Torso["Right Hip"] | |
| 1299 | Face = Head.face | |
| 1300 | Neck=Torso.Neck | |
| 1301 | it=Instance.new | |
| 1302 | attacktype=1 | |
| 1303 | vt=Vector3.new | |
| 1304 | cf=CFrame.new | |
| 1305 | euler=CFrame.fromEulerAnglesXYZ | |
| 1306 | angles=CFrame.Angles | |
| 1307 | cloaked=false | |
| 1308 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 1309 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 1310 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
| 1311 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
| 1312 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
| 1313 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
| 1314 | RootPart=Character.HumanoidRootPart | |
| 1315 | RootJoint=RootPart.RootJoint | |
| 1316 | RootCF=euler(-1.57,0,3.14) | |
| 1317 | attack = false | |
| 1318 | attackdebounce = false | |
| 1319 | deb=false | |
| 1320 | equipped=true | |
| 1321 | hand=false | |
| 1322 | MMouse=nil | |
| 1323 | combo=0 | |
| 1324 | mana=0 | |
| 1325 | trispeed=.2 | |
| 1326 | attackmode='none' | |
| 1327 | local idle=0 | |
| 1328 | local Anim="Idle" | |
| 1329 | local Effects={}
| |
| 1330 | local gun=false | |
| 1331 | local shoot=false | |
| 1332 | local sine = 0 | |
| 1333 | local change = 1 | |
| 1334 | player=nil | |
| 1335 | ||
| 1336 | function RecolorTextAndRename(name,col1,col2,font) | |
| 1337 | modet.TextStrokeColor3 = col2 | |
| 1338 | modet.TextColor3 = col1 | |
| 1339 | modet.Font = font | |
| 1340 | modet.Text = name | |
| 1341 | end | |
| 1342 | --save shoulders | |
| 1343 | RSH, LSH=nil, nil | |
| 1344 | --welds | |
| 1345 | RW, LW=Instance.new("Weld"), Instance.new("Weld")
| |
| 1346 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
| 1347 | LH=Torso["Left Hip"] | |
| 1348 | RH=Torso["Right Hip"] | |
| 1349 | TorsoColor=Torso.BrickColor | |
| 1350 | function NoOutline(Part) | |
| 1351 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
| 1352 | end | |
| 1353 | player=Player | |
| 1354 | ch=Character | |
| 1355 | RSH=ch.Torso["Right Shoulder"] | |
| 1356 | LSH=ch.Torso["Left Shoulder"] | |
| 1357 | -- | |
| 1358 | RSH.Parent=nil | |
| 1359 | LSH.Parent=nil | |
| 1360 | -- | |
| 1361 | RW.Name="Right Shoulder" | |
| 1362 | RW.Part0=ch.Torso | |
| 1363 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
| 1364 | RW.C1=cf(0, 0.5, 0) | |
| 1365 | RW.Part1=ch["Right Arm"] | |
| 1366 | RW.Parent=ch.Torso | |
| 1367 | -- | |
| 1368 | LW.Name="Left Shoulder" | |
| 1369 | LW.Part0=ch.Torso | |
| 1370 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
| 1371 | LW.C1=cf(0, 0.5, 0) | |
| 1372 | LW.Part1=ch["Left Arm"] | |
| 1373 | LW.Parent=ch.Torso | |
| 1374 | ||
| 1375 | local Stats=Instance.new("BoolValue")
| |
| 1376 | Stats.Name="Stats" | |
| 1377 | Stats.Parent=Character | |
| 1378 | local Atk=Instance.new("NumberValue")
| |
| 1379 | Atk.Name="Damage" | |
| 1380 | Atk.Parent=Stats | |
| 1381 | Atk.Value=1 | |
| 1382 | local Def=Instance.new("NumberValue")
| |
| 1383 | Def.Name="Defense" | |
| 1384 | Def.Parent=Stats | |
| 1385 | Def.Value=1 | |
| 1386 | local Speed=Instance.new("NumberValue")
| |
| 1387 | Speed.Name="Speed" | |
| 1388 | Speed.Parent=Stats | |
| 1389 | Speed.Value=1 | |
| 1390 | local Mvmt=Instance.new("NumberValue")
| |
| 1391 | Mvmt.Name="Movement" | |
| 1392 | Mvmt.Parent=Stats | |
| 1393 | Mvmt.Value=1 | |
| 1394 | ||
| 1395 | local donum=0 | |
| 1396 | ||
| 1397 | ||
| 1398 | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
| 1399 | local fp=it("Part")
| |
| 1400 | fp.formFactor=formfactor | |
| 1401 | fp.Parent=parent | |
| 1402 | fp.Reflectance=reflectance | |
| 1403 | fp.Transparency=transparency | |
| 1404 | fp.CanCollide=false | |
| 1405 | fp.Locked=true | |
| 1406 | fp.BrickColor=brickcolor | |
| 1407 | fp.Name=name | |
| 1408 | fp.Size=size | |
| 1409 | fp.Position=Torso.Position | |
| 1410 | NoOutline(fp) | |
| 1411 | fp.Material="SmoothPlastic" | |
| 1412 | fp:BreakJoints() | |
| 1413 | return fp | |
| 1414 | end | |
| 1415 | ||
| 1416 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
| 1417 | local mesh=it(Mesh) | |
| 1418 | mesh.Parent=part | |
| 1419 | if Mesh=="SpecialMesh" then | |
| 1420 | mesh.MeshType=meshtype | |
| 1421 | if meshid~="nil" then | |
| 1422 | mesh.MeshId="http://www.roblox.com/asset/?id="..meshid | |
| 1423 | end | |
| 1424 | end | |
| 1425 | mesh.Offset=offset | |
| 1426 | mesh.Scale=scale | |
| 1427 | return mesh | |
| 1428 | end | |
| 1429 | ||
| 1430 | function weld(parent,part0,part1,c0) | |
| 1431 | local weld=it("Weld")
| |
| 1432 | weld.Parent=parent | |
| 1433 | weld.Part0=part0 | |
| 1434 | weld.Part1=part1 | |
| 1435 | weld.C0=c0 | |
| 1436 | return weld | |
| 1437 | end | |
| 1438 | ||
| 1439 | local Color1=Torso.BrickColor | |
| 1440 | ||
| 1441 | local bodvel=Instance.new("BodyVelocity")
| |
| 1442 | local bg=Instance.new("BodyGyro")
| |
| 1443 | ||
| 1444 | function swait(num) | |
| 1445 | if num==0 or num==nil then | |
| 1446 | game:service'RunService'.Stepped:wait(0) | |
| 1447 | else | |
| 1448 | for i=0,num do | |
| 1449 | game:service'RunService'.Stepped:wait(0) | |
| 1450 | end | |
| 1451 | end | |
| 1452 | end | |
| 1453 | ||
| 1454 | -------- RAINBOW LEAVE IT TO ME | |
| 1455 | local r = 255 | |
| 1456 | local g = 0 | |
| 1457 | local b = 0 | |
| 1458 | coroutine.resume(coroutine.create(function() | |
| 1459 | while wait() do | |
| 1460 | for i = 0, 254/5 do | |
| 1461 | swait() | |
| 1462 | g = g + 5 | |
| 1463 | end | |
| 1464 | for i = 0, 254/5 do | |
| 1465 | swait() | |
| 1466 | r = r - 5 | |
| 1467 | end | |
| 1468 | for i = 0, 254/5 do | |
| 1469 | swait() | |
| 1470 | b = b + 5 | |
| 1471 | end | |
| 1472 | for i = 0, 254/5 do | |
| 1473 | swait() | |
| 1474 | g = g - 5 | |
| 1475 | end | |
| 1476 | for i = 0, 254/5 do | |
| 1477 | swait() | |
| 1478 | r = r + 5 | |
| 1479 | end | |
| 1480 | for i = 0, 254/5 do | |
| 1481 | swait() | |
| 1482 | b = b - 5 | |
| 1483 | end | |
| 1484 | end | |
| 1485 | end)) | |
| 1486 | ||
| 1487 | ||
| 1488 | so = function(id,par,vol,pit) | |
| 1489 | coroutine.resume(coroutine.create(function() | |
| 1490 | local sou = Instance.new("Sound",par or workspace)
| |
| 1491 | sou.Volume=vol | |
| 1492 | sou.Pitch=pit or 1 | |
| 1493 | sou.SoundId=id | |
| 1494 | swait() | |
| 1495 | sou:play() | |
| 1496 | game:GetService("Debris"):AddItem(sou,6)
| |
| 1497 | end)) | |
| 1498 | end | |
| 1499 | ||
| 1500 | function clerp(a,b,t) | |
| 1501 | local qa = {QuaternionFromCFrame(a)}
| |
| 1502 | local qb = {QuaternionFromCFrame(b)}
| |
| 1503 | local ax, ay, az = a.x, a.y, a.z | |
| 1504 | local bx, by, bz = b.x, b.y, b.z | |
| 1505 | local _t = 1-t | |
| 1506 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
| 1507 | end | |
| 1508 | ||
| 1509 | function QuaternionFromCFrame(cf) | |
| 1510 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 1511 | local trace = m00 + m11 + m22 | |
| 1512 | if trace > 0 then | |
| 1513 | local s = math.sqrt(1 + trace) | |
| 1514 | local recip = 0.5/s | |
| 1515 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
| 1516 | else | |
| 1517 | local i = 0 | |
| 1518 | if m11 > m00 then | |
| 1519 | i = 1 | |
| 1520 | end | |
| 1521 | if m22 > (i == 0 and m00 or m11) then | |
| 1522 | i = 2 | |
| 1523 | end | |
| 1524 | if i == 0 then | |
| 1525 | local s = math.sqrt(m00-m11-m22+1) | |
| 1526 | local recip = 0.5/s | |
| 1527 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
| 1528 | elseif i == 1 then | |
| 1529 | local s = math.sqrt(m11-m22-m00+1) | |
| 1530 | local recip = 0.5/s | |
| 1531 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
| 1532 | elseif i == 2 then | |
| 1533 | local s = math.sqrt(m22-m00-m11+1) | |
| 1534 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
| 1535 | end | |
| 1536 | end | |
| 1537 | end | |
| 1538 | ||
| 1539 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 1540 | local xs, ys, zs = x + x, y + y, z + z | |
| 1541 | local wx, wy, wz = w*xs, w*ys, w*zs | |
| 1542 | local xx = x*xs | |
| 1543 | local xy = x*ys | |
| 1544 | local xz = x*zs | |
| 1545 | local yy = y*ys | |
| 1546 | local yz = y*zs | |
| 1547 | local zz = z*zs | |
| 1548 | 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)) | |
| 1549 | end | |
| 1550 | ||
| 1551 | function QuaternionSlerp(a, b, t) | |
| 1552 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
| 1553 | local startInterp, finishInterp; | |
| 1554 | if cosTheta >= 0.0001 then | |
| 1555 | if (1 - cosTheta) > 0.0001 then | |
| 1556 | local theta = math.acos(cosTheta) | |
| 1557 | local invSinTheta = 1/math.sin(theta) | |
| 1558 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
| 1559 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 1560 | else | |
| 1561 | startInterp = 1-t | |
| 1562 | finishInterp = t | |
| 1563 | end | |
| 1564 | else | |
| 1565 | if (1+cosTheta) > 0.0001 then | |
| 1566 | local theta = math.acos(-cosTheta) | |
| 1567 | local invSinTheta = 1/math.sin(theta) | |
| 1568 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
| 1569 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 1570 | else | |
| 1571 | startInterp = t-1 | |
| 1572 | finishInterp = t | |
| 1573 | end | |
| 1574 | end | |
| 1575 | 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 | |
| 1576 | end | |
| 1577 | ||
| 1578 | local function CFrameFromTopBack(at, top, back) | |
| 1579 | local right = top:Cross(back) | |
| 1580 | return CFrame.new(at.x, at.y, at.z, | |
| 1581 | right.x, top.x, back.x, | |
| 1582 | right.y, top.y, back.y, | |
| 1583 | right.z, top.z, back.z) | |
| 1584 | end | |
| 1585 | ||
| 1586 | function Triangle(a, b, c) | |
| 1587 | local edg1 = (c-a):Dot((b-a).unit) | |
| 1588 | local edg2 = (a-b):Dot((c-b).unit) | |
| 1589 | local edg3 = (b-c):Dot((a-c).unit) | |
| 1590 | if edg1 <= (b-a).magnitude and edg1 >= 0 then | |
| 1591 | a, b, c = a, b, c | |
| 1592 | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then | |
| 1593 | a, b, c = b, c, a | |
| 1594 | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then | |
| 1595 | a, b, c = c, a, b | |
| 1596 | else | |
| 1597 | assert(false, "unreachable") | |
| 1598 | end | |
| 1599 | ||
| 1600 | local len1 = (c-a):Dot((b-a).unit) | |
| 1601 | local len2 = (b-a).magnitude - len1 | |
| 1602 | local width = (a + (b-a).unit*len1 - c).magnitude | |
| 1603 | ||
| 1604 | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) | |
| 1605 | ||
| 1606 | local list = {}
| |
| 1607 | ||
| 1608 | if len1 > 0.01 then | |
| 1609 | local w1 = Instance.new('WedgePart', m)
| |
| 1610 | game:GetService("Debris"):AddItem(w1,5)
| |
| 1611 | w1.Material = "SmoothPlastic" | |
| 1612 | w1.FormFactor = 'Custom' | |
| 1613 | w1.BrickColor = BrickColor.new("Really red")
| |
| 1614 | w1.Transparency = 0 | |
| 1615 | w1.Reflectance = 0 | |
| 1616 | w1.Material = "SmoothPlastic" | |
| 1617 | w1.CanCollide = false | |
| 1618 | local l1 = Instance.new("PointLight",w1)
| |
| 1619 | l1.Color = Color3.new(170,0,0) | |
| 1620 | NoOutline(w1) | |
| 1621 | local sz = Vector3.new(0.2, width, len1) | |
| 1622 | w1.Size = sz | |
| 1623 | local sp = Instance.new("SpecialMesh",w1)
| |
| 1624 | sp.MeshType = "Wedge" | |
| 1625 | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size | |
| 1626 | w1:BreakJoints() | |
| 1627 | w1.Anchored = true | |
| 1628 | w1.Parent = workspace | |
| 1629 | w1.Transparency = 0.7 | |
| 1630 | table.insert(Effects,{w1,"Disappear",.01})
| |
| 1631 | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) | |
| 1632 | table.insert(list,w1) | |
| 1633 | end | |
| 1634 | ||
| 1635 | if len2 > 0.01 then | |
| 1636 | local w2 = Instance.new('WedgePart', m)
| |
| 1637 | game:GetService("Debris"):AddItem(w2,5)
| |
| 1638 | w2.Material = "SmoothPlastic" | |
| 1639 | w2.FormFactor = 'Custom' | |
| 1640 | w2.BrickColor = BrickColor.new("Really red")
| |
| 1641 | w2.Transparency = 0 | |
| 1642 | w2.Reflectance = 0 | |
| 1643 | w2.Material = "SmoothPlastic" | |
| 1644 | w2.CanCollide = false | |
| 1645 | local l2 = Instance.new("PointLight",w2)
| |
| 1646 | l2.Color = Color3.new(170,0,0) | |
| 1647 | NoOutline(w2) | |
| 1648 | local sz = Vector3.new(0.2, width, len2) | |
| 1649 | w2.Size = sz | |
| 1650 | local sp = Instance.new("SpecialMesh",w2)
| |
| 1651 | sp.MeshType = "Wedge" | |
| 1652 | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size | |
| 1653 | w2:BreakJoints() | |
| 1654 | w2.Anchored = true | |
| 1655 | w2.Parent = workspace | |
| 1656 | w2.Transparency = 0.7 | |
| 1657 | table.insert(Effects,{w2,"Disappear",.01})
| |
| 1658 | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) | |
| 1659 | table.insert(list,w2) | |
| 1660 | end | |
| 1661 | return unpack(list) | |
| 1662 | end | |
| 1663 | ||
| 1664 | ||
| 1665 | function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 1666 | if hit.Parent == nil then | |
| 1667 | return | |
| 1668 | end | |
| 1669 | local h = hit.Parent:FindFirstChildOfClass("Humanoid")
| |
| 1670 | for _, v in pairs(hit.Parent:children()) do | |
| 1671 | if v:IsA("Humanoid") then
| |
| 1672 | h = v | |
| 1673 | end | |
| 1674 | end | |
| 1675 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
| |
| 1676 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
| |
| 1677 | return | |
| 1678 | end | |
| 1679 | local c = Create("ObjectValue")({
| |
| 1680 | Name = "creator", | |
| 1681 | Value = game:service("Players").LocalPlayer,
| |
| 1682 | Parent = h | |
| 1683 | }) | |
| 1684 | game:GetService("Debris"):AddItem(c, 0.5)
| |
| 1685 | if HitSound ~= nil and HitPitch ~= nil then | |
| 1686 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
| 1687 | end | |
| 1688 | local Damage = math.random(minim, maxim) | |
| 1689 | local blocked = false | |
| 1690 | local block = hit.Parent:findFirstChild("Block")
| |
| 1691 | if block ~= nil and block.className == "IntValue" and block.Value > 0 then | |
| 1692 | blocked = true | |
| 1693 | block.Value = block.Value - 1 | |
| 1694 | print(block.Value) | |
| 1695 | end | |
| 1696 | if blocked == false then | |
| 1697 | HitHealth = h.Health | |
| 1698 | h.Health = h.Health - Damage | |
| 1699 | if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then | |
| 1700 | print("gained kill")
| |
| 1701 | end | |
| 1702 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
| 1703 | else | |
| 1704 | h.Health = h.Health - Damage / 2 | |
| 1705 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
| 1706 | end | |
| 1707 | if Type == "Knockdown" then | |
| 1708 | local hum = hit.Parent.Humanoid | |
| 1709 | hum.PlatformStand = true | |
| 1710 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 1711 | swait(1) | |
| 1712 | HHumanoid.PlatformStand = false | |
| 1713 | end), hum) | |
| 1714 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
| 1715 | local bodvol = Create("BodyVelocity")({
| |
| 1716 | velocity = angle * knockback, | |
| 1717 | P = 5000, | |
| 1718 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 1719 | Parent = hit | |
| 1720 | }) | |
| 1721 | local rl = Create("BodyAngularVelocity")({
| |
| 1722 | P = 3000, | |
| 1723 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
| 1724 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
| 1725 | Parent = hit | |
| 1726 | }) | |
| 1727 | game:GetService("Debris"):AddItem(bodvol, 0.5)
| |
| 1728 | game:GetService("Debris"):AddItem(rl, 0.5)
| |
| 1729 | elseif Type == "Normal" then | |
| 1730 | local vp = Create("BodyVelocity")({
| |
| 1731 | P = 500, | |
| 1732 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
| 1733 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
| 1734 | }) | |
| 1735 | if knockback > 0 then | |
| 1736 | vp.Parent = hit.Parent.Head | |
| 1737 | end | |
| 1738 | game:GetService("Debris"):AddItem(vp, 0.5)
| |
| 1739 | elseif Type == "Up" then | |
| 1740 | local bodyVelocity = Create("BodyVelocity")({
| |
| 1741 | velocity = Vector3.new(0, 20, 0), | |
| 1742 | P = 5000, | |
| 1743 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 1744 | Parent = hit | |
| 1745 | }) | |
| 1746 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
| |
| 1747 | local bodyVelocity = Create("BodyVelocity")({
| |
| 1748 | velocity = Vector3.new(0, 20, 0), | |
| 1749 | P = 5000, | |
| 1750 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 1751 | Parent = hit | |
| 1752 | }) | |
| 1753 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 1754 | elseif Type == "Leech" then | |
| 1755 | local hum = hit.Parent.Humanoid | |
| 1756 | if hum ~= nil then | |
| 1757 | for i = 0, 2 do | |
| 1758 | 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)
| |
| 1759 | end | |
| 1760 | Humanoid.Health = Humanoid.Health + 10 | |
| 1761 | end | |
| 1762 | elseif Type == "UpKnock" then | |
| 1763 | local hum = hit.Parent.Humanoid | |
| 1764 | hum.PlatformStand = true | |
| 1765 | if hum ~= nil then | |
| 1766 | hitr = true | |
| 1767 | end | |
| 1768 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 1769 | swait(5) | |
| 1770 | HHumanoid.PlatformStand = false | |
| 1771 | hitr = false | |
| 1772 | end), hum) | |
| 1773 | local bodyVelocity = Create("BodyVelocity")({
| |
| 1774 | velocity = Vector3.new(0, 20, 0), | |
| 1775 | P = 5000, | |
| 1776 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 1777 | Parent = hit | |
| 1778 | }) | |
| 1779 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
| |
| 1780 | local bodyVelocity = Create("BodyVelocity")({
| |
| 1781 | velocity = Vector3.new(0, 20, 0), | |
| 1782 | P = 5000, | |
| 1783 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 1784 | Parent = hit | |
| 1785 | }) | |
| 1786 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 1787 | elseif Type == "Snare" then | |
| 1788 | local bp = Create("BodyPosition")({
| |
| 1789 | P = 2000, | |
| 1790 | D = 100, | |
| 1791 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 1792 | position = hit.Parent.Torso.Position, | |
| 1793 | Parent = hit.Parent.Torso | |
| 1794 | }) | |
| 1795 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 1796 | elseif Type == "Slashnare" then | |
| 1797 | 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)
| |
| 1798 | for i = 1, math.random(4, 5) do | |
| 1799 | 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)
| |
| 1800 | end | |
| 1801 | local bp = Create("BodyPosition")({
| |
| 1802 | P = 2000, | |
| 1803 | D = 100, | |
| 1804 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 1805 | position = hit.Parent.Torso.Position, | |
| 1806 | Parent = hit.Parent.Torso | |
| 1807 | }) | |
| 1808 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 1809 | elseif Type == "Spike" then | |
| 1810 | CreateBigIceSword(hit.Parent.Torso.CFrame) | |
| 1811 | local bp = Create("BodyPosition")({
| |
| 1812 | P = 2000, | |
| 1813 | D = 100, | |
| 1814 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 1815 | position = hit.Parent.Torso.Position, | |
| 1816 | Parent = hit.Parent.Torso | |
| 1817 | }) | |
| 1818 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 1819 | elseif Type == "Freeze" then | |
| 1820 | local BodPos = Create("BodyPosition")({
| |
| 1821 | P = 50000, | |
| 1822 | D = 1000, | |
| 1823 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 1824 | position = hit.Parent.Torso.Position, | |
| 1825 | Parent = hit.Parent.Torso | |
| 1826 | }) | |
| 1827 | local BodGy = Create("BodyGyro")({
| |
| 1828 | maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, | |
| 1829 | P = 20000, | |
| 1830 | Parent = hit.Parent.Torso, | |
| 1831 | cframe = hit.Parent.Torso.CFrame | |
| 1832 | }) | |
| 1833 | hit.Parent.Torso.Anchored = true | |
| 1834 | coroutine.resume(coroutine.create(function(Part) | |
| 1835 | swait(1.5) | |
| 1836 | Part.Anchored = false | |
| 1837 | end), hit.Parent.Torso) | |
| 1838 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 1839 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 1840 | end | |
| 1841 | local debounce = Create("BoolValue")({
| |
| 1842 | Name = "DebounceHit", | |
| 1843 | Parent = hit.Parent, | |
| 1844 | Value = true | |
| 1845 | }) | |
| 1846 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 1847 | c = Instance.new("ObjectValue")
| |
| 1848 | c.Name = "creator" | |
| 1849 | c.Value = Player | |
| 1850 | c.Parent = h | |
| 1851 | game:GetService("Debris"):AddItem(c, 0.5)
| |
| 1852 | end | |
| 1853 | end | |
| 1854 | function ShowDamage(Pos, Text, Time, Color) | |
| 1855 | local Rate = 0.03333333333333333 | |
| 1856 | local Pos = Pos or Vector3.new(0, 0, 0) | |
| 1857 | local Text = Text or "" | |
| 1858 | local Time = Time or 2 | |
| 1859 | local Color = Color or Color3.new(1, 0, 1) | |
| 1860 | local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
| 1861 | EffectPart.Anchored = true | |
| 1862 | local BillboardGui = Create("BillboardGui")({
| |
| 1863 | Size = UDim2.new(3, 0, 3, 0), | |
| 1864 | Adornee = EffectPart, | |
| 1865 | Parent = EffectPart | |
| 1866 | }) | |
| 1867 | local TextLabel = Create("TextLabel")({
| |
| 1868 | BackgroundTransparency = 1, | |
| 1869 | Size = UDim2.new(1, 0, 1, 0), | |
| 1870 | Text = Text, | |
| 1871 | TextColor3 = Color, | |
| 1872 | TextScaled = true, | |
| 1873 | Font = Enum.Font.ArialBold, | |
| 1874 | Parent = BillboardGui | |
| 1875 | }) | |
| 1876 | game.Debris:AddItem(EffectPart, Time + 0.1) | |
| 1877 | EffectPart.Parent = game:GetService("Workspace")
| |
| 1878 | delay(0, function() | |
| 1879 | local Frames = Time / Rate | |
| 1880 | for Frame = 1, Frames do | |
| 1881 | wait(Rate) | |
| 1882 | local Percent = Frame / Frames | |
| 1883 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 1884 | TextLabel.TextTransparency = Percent | |
| 1885 | end | |
| 1886 | if EffectPart and EffectPart.Parent then | |
| 1887 | EffectPart:Destroy() | |
| 1888 | end | |
| 1889 | end) | |
| 1890 | end | |
| 1891 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
| 1892 | for _, c in pairs(workspace:children()) do | |
| 1893 | local hum = c:findFirstChildOfClass("Humanoid")
| |
| 1894 | if hum ~= nil then | |
| 1895 | local head = c:findFirstChild("Head")
| |
| 1896 | if head ~= nil then | |
| 1897 | local targ = head.Position - Part.Position | |
| 1898 | local mag = targ.magnitude | |
| 1899 | if magni >= mag and c.Name ~= Player.Name then | |
| 1900 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) | |
| 1901 | end | |
| 1902 | end | |
| 1903 | end | |
| 1904 | end | |
| 1905 | end | |
| 1906 | ||
| 1907 | function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type) | |
| 1908 | for _, c in pairs(workspace:children()) do | |
| 1909 | local hum = c:findFirstChild("Humanoid")
| |
| 1910 | if hum ~= nil then | |
| 1911 | local head = c:findFirstChild("Torso")
| |
| 1912 | if head ~= nil then | |
| 1913 | local targ = head.Position - Part.Position | |
| 1914 | local mag = targ.magnitude | |
| 1915 | if magni >= mag and c.Name ~= Player.Name then | |
| 1916 | MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
| |
| 1917 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) | |
| 1918 | end | |
| 1919 | end | |
| 1920 | end | |
| 1921 | end | |
| 1922 | end | |
| 1923 | ||
| 1924 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
| 1925 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
| |
| 1926 | end | |
| 1927 | ||
| 1928 | local origcolor = BrickColor.new("Pastel light blue")
| |
| 1929 | ---- This section of explosions. | |
| 1930 | ||
| 1931 | ---- | |
| 1932 | ||
| 1933 | ||
| 1934 | function ring(type,pos,scale,value) | |
| 1935 | local type = type | |
| 1936 | local rng = Instance.new("Part", char)
| |
| 1937 | rng.Anchored = true | |
| 1938 | rng.BrickColor = origcolor | |
| 1939 | rng.CanCollide = false | |
| 1940 | rng.FormFactor = 3 | |
| 1941 | rng.Name = "Ring" | |
| 1942 | rng.Size = Vector3.new(1, 1, 1) | |
| 1943 | rng.Transparency = 0 | |
| 1944 | rng.TopSurface = 0 | |
| 1945 | rng.BottomSurface = 0 | |
| 1946 | rng.CFrame = pos | |
| 1947 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 1948 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 1949 | rngm.Scale = scale | |
| 1950 | local scaler2 = 1 | |
| 1951 | if type == "Add" then | |
| 1952 | scaler2 = 1*value | |
| 1953 | elseif type == "Divide" then | |
| 1954 | scaler2 = 1/value | |
| 1955 | end | |
| 1956 | coroutine.resume(coroutine.create(function() | |
| 1957 | for i = 0,10,0.1 do | |
| 1958 | swait() | |
| 1959 | if type == "Add" then | |
| 1960 | scaler2 = scaler2 - 0.01*value | |
| 1961 | elseif type == "Divide" then | |
| 1962 | scaler2 = scaler2 - 0.01/value | |
| 1963 | end | |
| 1964 | rng.Transparency = rng.Transparency + 0.01 | |
| 1965 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
| 1966 | end | |
| 1967 | rng:Destroy() | |
| 1968 | end)) | |
| 1969 | end | |
| 1970 | ||
| 1971 | ||
| 1972 | function wave(type,pos,scale,value) | |
| 1973 | local type = type | |
| 1974 | local rng = Instance.new("Part", char)
| |
| 1975 | rng.Anchored = true | |
| 1976 | rng.BrickColor = origcolor | |
| 1977 | rng.CanCollide = false | |
| 1978 | rng.FormFactor = 3 | |
| 1979 | rng.Name = "Ring" | |
| 1980 | rng.Size = Vector3.new(1, 1, 1) | |
| 1981 | rng.Transparency = 0 | |
| 1982 | rng.TopSurface = 0 | |
| 1983 | rng.BottomSurface = 0 | |
| 1984 | rng.CFrame = pos | |
| 1985 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 1986 | rngm.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
| 1987 | rngm.Scale = scale | |
| 1988 | local scaler2 = 1 | |
| 1989 | if type == "Add" then | |
| 1990 | scaler2 = 1*value | |
| 1991 | elseif type == "Divide" then | |
| 1992 | scaler2 = 1/value | |
| 1993 | end | |
| 1994 | coroutine.resume(coroutine.create(function() | |
| 1995 | for i = 0,10,0.1 do | |
| 1996 | swait() | |
| 1997 | if type == "Add" then | |
| 1998 | scaler2 = scaler2 - 0.01*value | |
| 1999 | elseif type == "Divide" then | |
| 2000 | scaler2 = scaler2 - 0.01/value | |
| 2001 | end | |
| 2002 | rng.Transparency = rng.Transparency + 0.01 | |
| 2003 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) | |
| 2004 | end | |
| 2005 | rng:Destroy() | |
| 2006 | end)) | |
| 2007 | end | |
| 2008 | ||
| 2009 | function sphere(bonuspeed,type,pos,scale,value,color) | |
| 2010 | local type = type | |
| 2011 | local rng = Instance.new("Part", char)
| |
| 2012 | rng.Anchored = true | |
| 2013 | if ModeOfGlitch ~= 9 then | |
| 2014 | rng.BrickColor = color | |
| 2015 | elseif ModeOfGlitch == 9 then | |
| 2016 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
| 2017 | end | |
| 2018 | rng.CanCollide = false | |
| 2019 | rng.FormFactor = 3 | |
| 2020 | rng.Name = "Ring" | |
| 2021 | rng.Material = "Neon" | |
| 2022 | rng.Size = Vector3.new(1, 1, 1) | |
| 2023 | rng.Transparency = 0 | |
| 2024 | rng.TopSurface = 0 | |
| 2025 | rng.BottomSurface = 0 | |
| 2026 | rng.CFrame = pos | |
| 2027 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2028 | rngm.MeshType = "Sphere" | |
| 2029 | rngm.Scale = scale | |
| 2030 | if rainbowmode == true then | |
| 2031 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2032 | end | |
| 2033 | if ModeOfGlitch == 9 then | |
| 2034 | coroutine.resume(coroutine.create(function() | |
| 2035 | while true do | |
| 2036 | swait() | |
| 2037 | if rng.Parent ~= nil then | |
| 2038 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
| 2039 | else | |
| 2040 | break | |
| 2041 | end | |
| 2042 | end | |
| 2043 | end)) | |
| 2044 | end | |
| 2045 | local scaler2 = 1 | |
| 2046 | if type == "Add" then | |
| 2047 | scaler2 = 1*value | |
| 2048 | elseif type == "Divide" then | |
| 2049 | scaler2 = 1/value | |
| 2050 | end | |
| 2051 | coroutine.resume(coroutine.create(function() | |
| 2052 | for i = 0,10/bonuspeed,0.1 do | |
| 2053 | swait() | |
| 2054 | if rainbowmode == true then | |
| 2055 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2056 | end | |
| 2057 | if type == "Add" then | |
| 2058 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 2059 | elseif type == "Divide" then | |
| 2060 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 2061 | end | |
| 2062 | if chaosmode == true then | |
| 2063 | rng.BrickColor = BrickColor.random() | |
| 2064 | end | |
| 2065 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 2066 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
| 2067 | end | |
| 2068 | rng:Destroy() | |
| 2069 | end)) | |
| 2070 | end | |
| 2071 | ||
| 2072 | function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color) | |
| 2073 | local type = type | |
| 2074 | local rng = Instance.new("Part", char)
| |
| 2075 | rng.Anchored = true | |
| 2076 | if ModeOfGlitch ~= 9 then | |
| 2077 | rng.BrickColor = color | |
| 2078 | elseif ModeOfGlitch == 9 then | |
| 2079 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
| 2080 | end | |
| 2081 | rng.CanCollide = false | |
| 2082 | rng.FormFactor = 3 | |
| 2083 | rng.Name = "Ring" | |
| 2084 | rng.Material = "Neon" | |
| 2085 | rng.Size = Vector3.new(1, 1, 1) | |
| 2086 | rng.Transparency = 0 | |
| 2087 | rng.TopSurface = 0 | |
| 2088 | rng.BottomSurface = 0 | |
| 2089 | rng.CFrame = pos | |
| 2090 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2091 | rngm.MeshType = "Sphere" | |
| 2092 | rngm.Scale = scale | |
| 2093 | local scaler2 = 1 | |
| 2094 | local scaler2b = 1 | |
| 2095 | local scaler2c = 1 | |
| 2096 | if type == "Add" then | |
| 2097 | scaler2 = 1*value | |
| 2098 | scaler2b = 1*value2 | |
| 2099 | scaler2c = 1*value3 | |
| 2100 | elseif type == "Divide" then | |
| 2101 | scaler2 = 1/value | |
| 2102 | scaler2b = 1/value2 | |
| 2103 | scaler2c = 1/value3 | |
| 2104 | end | |
| 2105 | if ModeOfGlitch == 9 then | |
| 2106 | coroutine.resume(coroutine.create(function() | |
| 2107 | while true do | |
| 2108 | swait() | |
| 2109 | if rng.Parent ~= nil then | |
| 2110 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
| 2111 | else | |
| 2112 | break | |
| 2113 | end | |
| 2114 | end | |
| 2115 | end)) | |
| 2116 | end | |
| 2117 | coroutine.resume(coroutine.create(function() | |
| 2118 | for i = 0,10/bonuspeed,0.1 do | |
| 2119 | swait() | |
| 2120 | if type == "Add" then | |
| 2121 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 2122 | scaler2b = scaler2b - 0.01*value/bonuspeed | |
| 2123 | scaler2c = scaler2c - 0.01*value/bonuspeed | |
| 2124 | elseif type == "Divide" then | |
| 2125 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 2126 | scaler2b = scaler2b - 0.01/value*bonuspeed | |
| 2127 | scaler2c = scaler2c - 0.01/value*bonuspeed | |
| 2128 | end | |
| 2129 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 2130 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed) | |
| 2131 | end | |
| 2132 | rng:Destroy() | |
| 2133 | end)) | |
| 2134 | end | |
| 2135 | ||
| 2136 | function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
| 2137 | local type = type | |
| 2138 | local rng = Instance.new("Part", char)
| |
| 2139 | rng.Anchored = true | |
| 2140 | rng.BrickColor = color | |
| 2141 | rng.CanCollide = false | |
| 2142 | rng.FormFactor = 3 | |
| 2143 | rng.Name = "Ring" | |
| 2144 | rng.Material = "Neon" | |
| 2145 | rng.Size = Vector3.new(1, 1, 1) | |
| 2146 | rng.Transparency = 0 | |
| 2147 | rng.TopSurface = 0 | |
| 2148 | rng.BottomSurface = 0 | |
| 2149 | rng.CFrame = pos | |
| 2150 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
| 2151 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2152 | rngm.MeshType = "Brick" | |
| 2153 | rngm.Scale = vt(x1,y1,z1) | |
| 2154 | if rainbowmode == true then | |
| 2155 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2156 | end | |
| 2157 | local scaler2 = 1 | |
| 2158 | local speeder = FastSpeed/10 | |
| 2159 | if type == "Add" then | |
| 2160 | scaler2 = 1*value | |
| 2161 | elseif type == "Divide" then | |
| 2162 | scaler2 = 1/value | |
| 2163 | end | |
| 2164 | coroutine.resume(coroutine.create(function() | |
| 2165 | for i = 0,10/bonuspeed,0.1 do | |
| 2166 | swait() | |
| 2167 | if rainbowmode == true then | |
| 2168 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2169 | end | |
| 2170 | if type == "Add" then | |
| 2171 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 2172 | elseif type == "Divide" then | |
| 2173 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 2174 | end | |
| 2175 | if chaosmode == true then | |
| 2176 | rng.BrickColor = BrickColor.random() | |
| 2177 | end | |
| 2178 | speeder = speeder - 0.01*FastSpeed*bonuspeed/10 | |
| 2179 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
| 2180 | --rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 2181 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
| 2182 | end | |
| 2183 | rng:Destroy() | |
| 2184 | end)) | |
| 2185 | end | |
| 2186 | ||
| 2187 | function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
| 2188 | local type = type | |
| 2189 | local rng = Instance.new("Part", char)
| |
| 2190 | rng.Anchored = true | |
| 2191 | rng.BrickColor = color | |
| 2192 | rng.CanCollide = false | |
| 2193 | rng.FormFactor = 3 | |
| 2194 | rng.Name = "Ring" | |
| 2195 | rng.Material = "Neon" | |
| 2196 | rng.Size = Vector3.new(1, 1, 1) | |
| 2197 | rng.Transparency = 0 | |
| 2198 | rng.TopSurface = 0 | |
| 2199 | rng.BottomSurface = 0 | |
| 2200 | rng.CFrame = pos | |
| 2201 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
| 2202 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2203 | rngm.MeshType = "Brick" | |
| 2204 | rngm.Scale = vt(x1,y1,z1) | |
| 2205 | if rainbowmode == true then | |
| 2206 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2207 | end | |
| 2208 | local scaler2 = 1 | |
| 2209 | local speeder = FastSpeed/10 | |
| 2210 | if type == "Add" then | |
| 2211 | scaler2 = 1*value | |
| 2212 | elseif type == "Divide" then | |
| 2213 | scaler2 = 1/value | |
| 2214 | end | |
| 2215 | coroutine.resume(coroutine.create(function() | |
| 2216 | for i = 0,10/bonuspeed,0.1 do | |
| 2217 | swait() | |
| 2218 | if rainbowmode == true then | |
| 2219 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2220 | end | |
| 2221 | if type == "Add" then | |
| 2222 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 2223 | elseif type == "Divide" then | |
| 2224 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 2225 | end | |
| 2226 | if chaosmode == true then | |
| 2227 | rng.BrickColor = BrickColor.random() | |
| 2228 | end | |
| 2229 | speeder = speeder - 0.01*FastSpeed*bonuspeed/10 | |
| 2230 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
| 2231 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 2232 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
| 2233 | end | |
| 2234 | rng:Destroy() | |
| 2235 | end)) | |
| 2236 | end | |
| 2237 | ||
| 2238 | function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
| 2239 | local type = type | |
| 2240 | local rng = Instance.new("Part", char)
| |
| 2241 | rng.Anchored = true | |
| 2242 | rng.BrickColor = color | |
| 2243 | rng.CanCollide = false | |
| 2244 | rng.FormFactor = 3 | |
| 2245 | rng.Name = "Ring" | |
| 2246 | rng.Material = "Neon" | |
| 2247 | rng.Size = Vector3.new(1, 1, 1) | |
| 2248 | rng.Transparency = 0 | |
| 2249 | rng.TopSurface = 0 | |
| 2250 | rng.BottomSurface = 0 | |
| 2251 | rng.CFrame = pos | |
| 2252 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
| 2253 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2254 | rngm.MeshType = "Brick" | |
| 2255 | rngm.Scale = vt(x1,y1,z1) | |
| 2256 | if rainbowmode == true then | |
| 2257 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2258 | end | |
| 2259 | local scaler2 = 0 | |
| 2260 | local speeder = FastSpeed/10 | |
| 2261 | if type == "Add" then | |
| 2262 | scaler2 = 1*value | |
| 2263 | elseif type == "Divide" then | |
| 2264 | scaler2 = 1/value | |
| 2265 | end | |
| 2266 | coroutine.resume(coroutine.create(function() | |
| 2267 | for i = 0,10/bonuspeed,0.1 do | |
| 2268 | swait() | |
| 2269 | if rainbowmode == true then | |
| 2270 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2271 | end | |
| 2272 | if type == "Add" then | |
| 2273 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 2274 | elseif type == "Divide" then | |
| 2275 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 2276 | end | |
| 2277 | if chaosmode == true then | |
| 2278 | rng.BrickColor = BrickColor.random() | |
| 2279 | end | |
| 2280 | speeder = speeder + 0.01*FastSpeed*bonuspeed/10 | |
| 2281 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
| 2282 | --rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 2283 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
| 2284 | end | |
| 2285 | rng:Destroy() | |
| 2286 | end)) | |
| 2287 | end | |
| 2288 | ||
| 2289 | function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
| 2290 | local type = type | |
| 2291 | local rng = Instance.new("Part", char)
| |
| 2292 | rng.Anchored = true | |
| 2293 | if ModeOfGlitch ~= 9 then | |
| 2294 | rng.BrickColor = color | |
| 2295 | elseif ModeOfGlitch == 9 then | |
| 2296 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
| 2297 | end | |
| 2298 | rng.CanCollide = false | |
| 2299 | rng.FormFactor = 3 | |
| 2300 | rng.Name = "Ring" | |
| 2301 | rng.Material = "Neon" | |
| 2302 | rng.Size = Vector3.new(1, 1, 1) | |
| 2303 | rng.Transparency = 0 | |
| 2304 | rng.TopSurface = 0 | |
| 2305 | rng.BottomSurface = 0 | |
| 2306 | rng.CFrame = pos | |
| 2307 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
| 2308 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2309 | rngm.MeshType = "Sphere" | |
| 2310 | rngm.Scale = vt(x1,y1,z1) | |
| 2311 | if rainbowmode == true then | |
| 2312 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2313 | end | |
| 2314 | if ModeOfGlitch == 9 then | |
| 2315 | coroutine.resume(coroutine.create(function() | |
| 2316 | while true do | |
| 2317 | swait() | |
| 2318 | if rng.Parent ~= nil then | |
| 2319 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
| 2320 | else | |
| 2321 | break | |
| 2322 | end | |
| 2323 | end | |
| 2324 | end)) | |
| 2325 | end | |
| 2326 | local scaler2 = 1 | |
| 2327 | local speeder = FastSpeed | |
| 2328 | if type == "Add" then | |
| 2329 | scaler2 = 1*value | |
| 2330 | elseif type == "Divide" then | |
| 2331 | scaler2 = 1/value | |
| 2332 | end | |
| 2333 | coroutine.resume(coroutine.create(function() | |
| 2334 | for i = 0,10/bonuspeed,0.1 do | |
| 2335 | swait() | |
| 2336 | if rainbowmode == true then | |
| 2337 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2338 | end | |
| 2339 | if type == "Add" then | |
| 2340 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 2341 | elseif type == "Divide" then | |
| 2342 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 2343 | end | |
| 2344 | if chaosmode == true then | |
| 2345 | rng.BrickColor = BrickColor.random() | |
| 2346 | end | |
| 2347 | speeder = speeder - 0.01*FastSpeed*bonuspeed | |
| 2348 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
| 2349 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 2350 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) | |
| 2351 | end | |
| 2352 | rng:Destroy() | |
| 2353 | end)) | |
| 2354 | end | |
| 2355 | ||
| 2356 | ||
| 2357 | function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
| 2358 | local type = type | |
| 2359 | local rng = Instance.new("Part", char)
| |
| 2360 | rng.Anchored = true | |
| 2361 | if ModeOfGlitch ~= 9 then | |
| 2362 | rng.BrickColor = color | |
| 2363 | elseif ModeOfGlitch == 9 then | |
| 2364 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
| 2365 | end | |
| 2366 | rng.CanCollide = false | |
| 2367 | rng.FormFactor = 3 | |
| 2368 | rng.Name = "Ring" | |
| 2369 | rng.Material = "Neon" | |
| 2370 | rng.Size = Vector3.new(1, 1, 1) | |
| 2371 | rng.Transparency = 1 | |
| 2372 | rng.TopSurface = 0 | |
| 2373 | rng.BottomSurface = 0 | |
| 2374 | rng.CFrame = pos | |
| 2375 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
| 2376 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2377 | rngm.MeshType = "Sphere" | |
| 2378 | rngm.Scale = vt(x1,y1,z1) | |
| 2379 | if rainbowmode == true then | |
| 2380 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2381 | end | |
| 2382 | if ModeOfGlitch == 9 then | |
| 2383 | coroutine.resume(coroutine.create(function() | |
| 2384 | while true do | |
| 2385 | swait() | |
| 2386 | if rng.Parent ~= nil then | |
| 2387 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
| 2388 | else | |
| 2389 | break | |
| 2390 | end | |
| 2391 | end | |
| 2392 | end)) | |
| 2393 | end | |
| 2394 | local scaler2 = 1 | |
| 2395 | local speeder = FastSpeed | |
| 2396 | if type == "Add" then | |
| 2397 | scaler2 = 1*value | |
| 2398 | elseif type == "Divide" then | |
| 2399 | scaler2 = 1/value | |
| 2400 | end | |
| 2401 | coroutine.resume(coroutine.create(function() | |
| 2402 | for i = 0,10/bonuspeed,0.1 do | |
| 2403 | swait() | |
| 2404 | if rainbowmode == true then | |
| 2405 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2406 | end | |
| 2407 | if type == "Add" then | |
| 2408 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 2409 | elseif type == "Divide" then | |
| 2410 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 2411 | end | |
| 2412 | if chaosmode == true then | |
| 2413 | rng.BrickColor = BrickColor.random() | |
| 2414 | end | |
| 2415 | speeder = speeder - 0.01*FastSpeed*bonuspeed | |
| 2416 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
| 2417 | rng.Transparency = rng.Transparency - 0.01*bonuspeed | |
| 2418 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) | |
| 2419 | end | |
| 2420 | rng:Destroy() | |
| 2421 | end)) | |
| 2422 | end | |
| 2423 | ||
| 2424 | function dmg(dude) | |
| 2425 | if dude.Name ~= Character then | |
| 2426 | local keptcolor = MAINRUINCOLOR | |
| 2427 | local bgf = Instance.new("BodyGyro",dude.Head)
| |
| 2428 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) | |
| 2429 | --[[local val = Instance.new("BoolValue",dude)
| |
| 2430 | val.Name = "IsHit"]]-- | |
| 2431 | local ds = coroutine.wrap(function() | |
| 2432 | dude:WaitForChild("Head"):BreakJoints()
| |
| 2433 | for i, v in pairs(dude:GetChildren()) do | |
| 2434 | if v:IsA("Part") or v:IsA("MeshPart") then
| |
| 2435 | v.Name = "DEMINISHED" | |
| 2436 | end | |
| 2437 | end | |
| 2438 | wait(0.5) | |
| 2439 | targetted = nil | |
| 2440 | CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
| |
| 2441 | coroutine.resume(coroutine.create(function() | |
| 2442 | for i, v in pairs(dude:GetChildren()) do | |
| 2443 | if v:IsA("Accessory") then
| |
| 2444 | v:Destroy() | |
| 2445 | end | |
| 2446 | if v:IsA("Humanoid") then
| |
| 2447 | v:Destroy() | |
| 2448 | end | |
| 2449 | if v:IsA("CharacterMesh") then
| |
| 2450 | v:Destroy() | |
| 2451 | end | |
| 2452 | if v:IsA("Model") then
| |
| 2453 | v:Destroy() | |
| 2454 | end | |
| 2455 | if v:IsA("Part") or v:IsA("MeshPart") then
| |
| 2456 | for x, o in pairs(v:GetChildren()) do | |
| 2457 | if o:IsA("Decal") then
| |
| 2458 | o:Destroy() | |
| 2459 | end | |
| 2460 | end | |
| 2461 | coroutine.resume(coroutine.create(function() | |
| 2462 | v.Material = "Neon" | |
| 2463 | v.CanCollide = false | |
| 2464 | v.Anchored = false | |
| 2465 | local bld = Instance.new("ParticleEmitter",v)
| |
| 2466 | bld.LightEmission = 0.75 | |
| 2467 | bld.Texture = "rbxassetid://363275192" ---284205403 | |
| 2468 | bld.Color = ColorSequence.new(keptcolor.Color) | |
| 2469 | bld.Rate = 500 | |
| 2470 | bld.Lifetime = NumberRange.new(1) | |
| 2471 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 2472 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 2473 | bld.Speed = NumberRange.new(2,5) | |
| 2474 | bld.VelocitySpread = 50000 | |
| 2475 | bld.Rotation = NumberRange.new(-500,500) | |
| 2476 | bld.RotSpeed = NumberRange.new(-500,500) | |
| 2477 | local sbs = Instance.new("BodyPosition", v)
| |
| 2478 | sbs.P = 3000 | |
| 2479 | sbs.D = 1000 | |
| 2480 | sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
| 2481 | sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2)) | |
| 2482 | v.Color = keptcolor.Color | |
| 2483 | coroutine.resume(coroutine.create(function() | |
| 2484 | for i = 0, 49 do | |
| 2485 | swait(1) | |
| 2486 | v:BreakJoints() | |
| 2487 | v.Transparency = v.Transparency + 0.02 | |
| 2488 | end | |
| 2489 | v:BreakJoints() | |
| 2490 | sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor) | |
| 2491 | CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
| |
| 2492 | bld.Speed = NumberRange.new(10,25) | |
| 2493 | bld.Drag = 5 | |
| 2494 | bld.Acceleration = vt(0,2,0) | |
| 2495 | wait(0.5) | |
| 2496 | bld.Enabled = false | |
| 2497 | wait(8) | |
| 2498 | v:Destroy() | |
| 2499 | dude:Destroy() | |
| 2500 | end)) | |
| 2501 | end)) | |
| 2502 | end | |
| 2503 | end | |
| 2504 | end)) | |
| 2505 | end) | |
| 2506 | ds() | |
| 2507 | end | |
| 2508 | end | |
| 2509 | ||
| 2510 | ||
| 2511 | function FindNearestHead(Position, Distance, SinglePlayer) | |
| 2512 | if SinglePlayer then | |
| 2513 | return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance | |
| 2514 | end | |
| 2515 | local List = {}
| |
| 2516 | for i, v in pairs(workspace:GetChildren()) do | |
| 2517 | if v:IsA("Model") then
| |
| 2518 | if v:findFirstChild("Head") then
| |
| 2519 | if v ~= Character then | |
| 2520 | if (v.Head.Position - Position).magnitude <= Distance then | |
| 2521 | table.insert(List, v) | |
| 2522 | end | |
| 2523 | end | |
| 2524 | end | |
| 2525 | end | |
| 2526 | end | |
| 2527 | return List | |
| 2528 | end | |
| 2529 | ||
| 2530 | function FaceMouse() | |
| 2531 | Cam = workspace.CurrentCamera | |
| 2532 | return {
| |
| 2533 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), | |
| 2534 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
| 2535 | } | |
| 2536 | end | |
| 2537 | ||
| 2538 | function FaceMouse2() | |
| 2539 | Cam = workspace.CurrentCamera | |
| 2540 | return {
| |
| 2541 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)), | |
| 2542 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
| 2543 | } | |
| 2544 | end | |
| 2545 | ||
| 2546 | -- Functions are ready. | |
| 2547 | local storehumanoidWS = 16 | |
| 2548 | ||
| 2549 | function resetmode() | |
| 2550 | ModeOfGlitch = 1 | |
| 2551 | storehumanoidWS = 16 | |
| 2552 | hum.WalkSpeed = 16 | |
| 2553 | rainbowmode = false | |
| 2554 | chaosmode = false | |
| 2555 | RecolorTextAndRename("Enlightened",Color3.new(1,1,1),Color3.new(0,0,0),"Code")
| |
| 2556 | newTheme("rbxassetid://435773595",0,1.01,1.25)
| |
| 2557 | MAINRUINCOLOR = BrickColor.new("White")
| |
| 2558 | for i, v in pairs(mw2:GetChildren()) do | |
| 2559 | if v:IsA("Part") then
| |
| 2560 | v.BrickColor = MAINRUINCOLOR | |
| 2561 | v.Material = "Neon" | |
| 2562 | end | |
| 2563 | end | |
| 2564 | refec.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 2565 | refec2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 2566 | refec3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 2567 | tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 2568 | tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 2569 | tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 2570 | tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 2571 | tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 2572 | tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 2573 | for i, v in pairs(mw1:GetChildren()) do | |
| 2574 | if v:IsA("Part") then
| |
| 2575 | v.Transparency = 0 | |
| 2576 | v.BrickColor = MAINRUINCOLOR | |
| 2577 | v.Material = "Neon" | |
| 2578 | end | |
| 2579 | end | |
| 2580 | for i, v in pairs(m:GetChildren()) do | |
| 2581 | if v:IsA("Part") then
| |
| 2582 | v.BrickColor = BrickColor.new("White")
| |
| 2583 | v.Material = "Ice" | |
| 2584 | end | |
| 2585 | end | |
| 2586 | for i, v in pairs(m2:GetChildren()) do | |
| 2587 | if v:IsA("Part") then
| |
| 2588 | v.BrickColor = BrickColor.new("White")
| |
| 2589 | v.Material = "Ice" | |
| 2590 | end | |
| 2591 | end | |
| 2592 | for i, v in pairs(m3:GetChildren()) do | |
| 2593 | if v:IsA("Part") then
| |
| 2594 | v.BrickColor = BrickColor.new("White")
| |
| 2595 | v.Material = "Neon" | |
| 2596 | end | |
| 2597 | end | |
| 2598 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 2599 | if v:IsA("Part") then
| |
| 2600 | v.Transparency = 1 | |
| 2601 | v.BrickColor = BrickColor.new("White")
| |
| 2602 | v.Material = "Neon" | |
| 2603 | end | |
| 2604 | end | |
| 2605 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 2606 | if v:IsA("Part") then
| |
| 2607 | v.Transparency = 1 | |
| 2608 | v.BrickColor = BrickColor.new("White")
| |
| 2609 | v.Material = "Neon" | |
| 2610 | end | |
| 2611 | end | |
| 2612 | end | |
| 2613 | ||
| 2614 | function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo) | |
| 2615 | for i, v in pairs(mw2:GetChildren()) do | |
| 2616 | if v:IsA("Part") then
| |
| 2617 | v.BrickColor = one | |
| 2618 | v.Material = "Neon" | |
| 2619 | end | |
| 2620 | end | |
| 2621 | refec.Color = ColorSequence.new(one.Color) | |
| 2622 | refec2.Color = ColorSequence.new(one.Color) | |
| 2623 | refec3.Color = ColorSequence.new(one.Color) | |
| 2624 | tr1.Color = ColorSequence.new(one.Color) | |
| 2625 | tr2.Color = ColorSequence.new(one.Color) | |
| 2626 | tr3.Color = ColorSequence.new(one.Color) | |
| 2627 | for i, v in pairs(mw1:GetChildren()) do | |
| 2628 | if v:IsA("Part") then
| |
| 2629 | v.Transparency = 0 | |
| 2630 | v.BrickColor = two | |
| 2631 | v.Material = "Neon" | |
| 2632 | end | |
| 2633 | end | |
| 2634 | tl1.Color = ColorSequence.new(two.Color) | |
| 2635 | tl2.Color = ColorSequence.new(two.Color) | |
| 2636 | tl3.Color = ColorSequence.new(two.Color) | |
| 2637 | for i, v in pairs(m:GetChildren()) do | |
| 2638 | if v:IsA("Part") then
| |
| 2639 | v.BrickColor = three | |
| 2640 | v.Material = "Ice" | |
| 2641 | end | |
| 2642 | end | |
| 2643 | for i, v in pairs(m2:GetChildren()) do | |
| 2644 | if v:IsA("Part") then
| |
| 2645 | v.BrickColor = four | |
| 2646 | v.Material = "Ice" | |
| 2647 | end | |
| 2648 | end | |
| 2649 | for i, v in pairs(m3:GetChildren()) do | |
| 2650 | if v:IsA("Part") then
| |
| 2651 | v.BrickColor = five | |
| 2652 | v.Material = "Neon" | |
| 2653 | end | |
| 2654 | end | |
| 2655 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 2656 | if v:IsA("Part") then
| |
| 2657 | v.Transparency = exonetran | |
| 2658 | v.BrickColor = exone | |
| 2659 | v.Material = "Neon" | |
| 2660 | end | |
| 2661 | end | |
| 2662 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 2663 | if v:IsA("Part") then
| |
| 2664 | v.Transparency = extwotran | |
| 2665 | v.BrickColor = extwo | |
| 2666 | v.Material = "Neon" | |
| 2667 | end | |
| 2668 | end | |
| 2669 | end | |
| 2670 | ||
| 2671 | function attackone() | |
| 2672 | attack = true | |
| 2673 | local keptcolor = MAINRUINCOLOR | |
| 2674 | for i = 0,1,0.1 do | |
| 2675 | swait() | |
| 2676 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3) | |
| 2677 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3) | |
| 2678 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3) | |
| 2679 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
| 2680 | 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) | |
| 2681 | 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) | |
| 2682 | end | |
| 2683 | local distlook = 5 | |
| 2684 | coroutine.resume(coroutine.create(function() | |
| 2685 | for i = 0, 4 do | |
| 2686 | swait(2) | |
| 2687 | CameraEnshaking(2,3) | |
| 2688 | local hite = Instance.new("Part", char)
| |
| 2689 | hite.Anchored = true | |
| 2690 | hite.CanCollide = false | |
| 2691 | hite.FormFactor = 3 | |
| 2692 | hite.Name = "Ring" | |
| 2693 | hite.Material = "Neon" | |
| 2694 | hite.Size = Vector3.new(1, 1, 1) | |
| 2695 | hite.Transparency = 1 | |
| 2696 | hite.TopSurface = 0 | |
| 2697 | hite.BottomSurface = 0 | |
| 2698 | hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook) | |
| 2699 | 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) | |
| 2700 | 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) | |
| 2701 | 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) | |
| 2702 | 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) | |
| 2703 | MagniDamage(hite, 9, 10,25, 0, "Normal") | |
| 2704 | for i = 0, 14 do | |
| 2705 | local rsiz = math.random(5,20) | |
| 2706 | 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) | |
| 2707 | end | |
| 2708 | CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1)
| |
| 2709 | CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1)
| |
| 2710 | game:GetService("Debris"):AddItem(hite, 5)
| |
| 2711 | distlook = distlook + 10 | |
| 2712 | end | |
| 2713 | end)) | |
| 2714 | for i = 0,1,0.1 do | |
| 2715 | swait() | |
| 2716 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5) | |
| 2717 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5) | |
| 2718 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5) | |
| 2719 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5) | |
| 2720 | 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) | |
| 2721 | 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) | |
| 2722 | end | |
| 2723 | attack = false | |
| 2724 | end | |
| 2725 | ||
| 2726 | function attacktwo() | |
| 2727 | attack = true | |
| 2728 | for i = 0,1,0.1 do | |
| 2729 | swait() | |
| 2730 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,0)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3) | |
| 2731 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
| 2732 | RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(-90)), 0.3) | |
| 2733 | LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(70)), 0.3) | |
| 2734 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(10)),.3) | |
| 2735 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.3) | |
| 2736 | end | |
| 2737 | CameraEnshaking(3,4) | |
| 2738 | MagniDamage(root, 12, 15,30, 0, "Normal") | |
| 2739 | sphere2(5,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR) | |
| 2740 | sphere2(7.5,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR) | |
| 2741 | sphere2(10,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR) | |
| 2742 | coroutine.resume(coroutine.create(function() | |
| 2743 | local eff = Instance.new("ParticleEmitter",root)
| |
| 2744 | eff.Texture = "rbxassetid://363275192" | |
| 2745 | eff.LightEmission = 0.95 | |
| 2746 | eff.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 2747 | eff.Rate = 10000 | |
| 2748 | eff.Lifetime = NumberRange.new(1) | |
| 2749 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 2750 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.25,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 2751 | eff.Speed = NumberRange.new(10,125) | |
| 2752 | eff.Drag = 5 | |
| 2753 | eff.Rotation = NumberRange.new(-500,500) | |
| 2754 | eff.VelocitySpread = 9000 | |
| 2755 | eff.RotSpeed = NumberRange.new(-50,50) | |
| 2756 | local eff2 = eff:Clone() | |
| 2757 | eff2.Parent = root | |
| 2758 | eff2.Texture = "rbxassetid://284205403" | |
| 2759 | eff2.Rate = 10000 | |
| 2760 | eff2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 2761 | eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 2762 | eff2.Drag = 5 | |
| 2763 | eff2.Speed = NumberRange.new(10,50) | |
| 2764 | eff2.Rotation = NumberRange.new(-500,500) | |
| 2765 | eff2.VelocitySpread = 9000 | |
| 2766 | wait(0.25) | |
| 2767 | eff2.Enabled = false | |
| 2768 | eff.Enabled = false | |
| 2769 | wait(3) | |
| 2770 | eff2:Destroy() | |
| 2771 | eff:Destroy() | |
| 2772 | end)) | |
| 2773 | for i = 0, 9 do | |
| 2774 | sphere2(7.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.0025,1,-0.0025,MAINRUINCOLOR) | |
| 2775 | end | |
| 2776 | for i = 0, 24 do | |
| 2777 | local rsiz = math.random(5,20) | |
| 2778 | sphereMK(math.random(1,5),0.75,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/8,rsiz/8,rsiz/8,0,MAINRUINCOLOR,0) | |
| 2779 | end | |
| 2780 | CFuncs["Sound"].Create("rbxassetid://1042705869", root, 2.5, 1)
| |
| 2781 | CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2.25, 1)
| |
| 2782 | CFuncs["Sound"].Create("rbxassetid://1117054464", root, 1, 1)
| |
| 2783 | for i = 0,2,0.1 do | |
| 2784 | swait() | |
| 2785 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3) | |
| 2786 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3) | |
| 2787 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3) | |
| 2788 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3) | |
| 2789 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-10)),.3) | |
| 2790 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.3) | |
| 2791 | end | |
| 2792 | attack = false | |
| 2793 | end | |
| 2794 | ||
| 2795 | function attackthree() | |
| 2796 | attack = true | |
| 2797 | local keptcolor = MAINRUINCOLOR | |
| 2798 | CFuncs["Sound"].Create("rbxassetid://1042700914", root, 2, 1.75)
| |
| 2799 | for i = 0,1,0.1 do | |
| 2800 | swait() | |
| 2801 | sphere2(6,"Add",root.CFrame + root.CFrame.lookVector*2.5,vt(3,3,3),0.01,0.01,0.01,MAINRUINCOLOR) | |
| 2802 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),0.5) | |
| 2803 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.5) | |
| 2804 | RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(80), math.rad(0), math.rad(-40)), 0.5) | |
| 2805 | LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(80), math.rad(0), math.rad(40)), 0.5) | |
| 2806 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.5) | |
| 2807 | 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)),.5) | |
| 2808 | end | |
| 2809 | CFuncs["Sound"].Create("rbxassetid://1042705869", root, 1.5, 0.9)
| |
| 2810 | CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 0.9)
| |
| 2811 | local angle = -25 | |
| 2812 | coroutine.resume(coroutine.create(function() | |
| 2813 | for i = 0, 2 do | |
| 2814 | local orb = Instance.new("Part", char)
| |
| 2815 | orb.BrickColor = MAINRUINCOLOR | |
| 2816 | orb.CanCollide = false | |
| 2817 | orb.FormFactor = 3 | |
| 2818 | orb.Name = "Ring" | |
| 2819 | orb.Material = "Neon" | |
| 2820 | orb.Size = Vector3.new(1, 1, 1) | |
| 2821 | orb.Transparency = 0.5 | |
| 2822 | orb.TopSurface = 0 | |
| 2823 | orb.BottomSurface = 0 | |
| 2824 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 2825 | orbm.MeshType = "Sphere" | |
| 2826 | orbm.Name = "SizeMesh" | |
| 2827 | orbm.Scale = vt(3,3,3) | |
| 2828 | orb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(angle),0) + root.CFrame.lookVector*2.5 | |
| 2829 | local bv = Instance.new("BodyVelocity")
| |
| 2830 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 2831 | bv.velocity = orb.CFrame.lookVector*100 | |
| 2832 | bv.Parent = orb | |
| 2833 | game:GetService("Debris"):AddItem(orb, 10)
| |
| 2834 | sphere2(6,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.15,0.15,0.15,keptcolor) | |
| 2835 | sphere2(9,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.15,0.15,0.15,keptcolor) | |
| 2836 | coroutine.resume(coroutine.create(function() | |
| 2837 | MagniDamage(orb, 6, 8,15, 0, "Normal") | |
| 2838 | for i = 0, 7 do | |
| 2839 | swait(2.5) | |
| 2840 | CameraEnshaking(1,2) | |
| 2841 | MagniDamage(orb, 6, 8,15, 0, "Normal") | |
| 2842 | CFuncs["Sound"].Create("rbxassetid://1042693018", orb, 1.5, 1.5)
| |
| 2843 | for i = 0, 4 do | |
| 2844 | local rsiz = math.random(5,10) | |
| 2845 | sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,1,0.5),-0.0025,0.25,-0.0025,keptcolor) | |
| 2846 | sphereMK(math.random(2,6),0.15,"Add",orb.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) | |
| 2847 | end | |
| 2848 | sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.1,0.1,0.1,keptcolor) | |
| 2849 | sphere2(8,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.1,0.1,0.1,keptcolor) | |
| 2850 | end | |
| 2851 | orb.Transparency = 1 | |
| 2852 | orb.Anchored = false | |
| 2853 | wait(10) | |
| 2854 | orb:Destroy() | |
| 2855 | end)) | |
| 2856 | angle = angle + 25 | |
| 2857 | end | |
| 2858 | end)) | |
| 2859 | for i = 0,1,0.1 do | |
| 2860 | swait() | |
| 2861 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3) | |
| 2862 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
| 2863 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.3) | |
| 2864 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3) | |
| 2865 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-10)),.3) | |
| 2866 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.3) | |
| 2867 | end | |
| 2868 | attack = false | |
| 2869 | end | |
| 2870 | ||
| 2871 | ------------------------------------- Abilities --------------------------------------------------------- | |
| 2872 | function Fireball() | |
| 2873 | attack = true | |
| 2874 | hum.WalkSpeed = 0 | |
| 2875 | local keptcolor = MAINRUINCOLOR | |
| 2876 | for i = 0,2,0.1 do | |
| 2877 | swait() | |
| 2878 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),0.3) | |
| 2879 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-40)),.3) | |
| 2880 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.3) | |
| 2881 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(40), math.rad(-40)), 0.3) | |
| 2882 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.3) | |
| 2883 | 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(-1),math.rad(0),math.rad(0)),.3) | |
| 2884 | end | |
| 2885 | local orb = Instance.new("Part", char)
| |
| 2886 | orb.BrickColor = keptcolor | |
| 2887 | orb.CanCollide = false | |
| 2888 | orb.FormFactor = 3 | |
| 2889 | orb.Name = "Ring" | |
| 2890 | orb.Material = "Neon" | |
| 2891 | orb.Size = Vector3.new(1, 1, 1) | |
| 2892 | orb.Transparency = 0 | |
| 2893 | orb.TopSurface = 0 | |
| 2894 | orb.BottomSurface = 0 | |
| 2895 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 2896 | orbm.MeshType = "Sphere" | |
| 2897 | orbm.Name = "SizeMesh" | |
| 2898 | orbm.Scale = vt(4,4,4) | |
| 2899 | orb.CFrame = root.CFrame + root.CFrame.lookVector*3 | |
| 2900 | local eff = Instance.new("ParticleEmitter",orb)
| |
| 2901 | eff.Texture = "rbxassetid://296874871" | |
| 2902 | eff.LightEmission = 0.95 | |
| 2903 | eff.Color = ColorSequence.new(orb.BrickColor.Color) | |
| 2904 | eff.Rate = 10000 | |
| 2905 | eff.Lifetime = NumberRange.new(1.5) | |
| 2906 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,7,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 2907 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 2908 | eff.Speed = NumberRange.new(25) | |
| 2909 | eff.Drag = 5 | |
| 2910 | eff.Rotation = NumberRange.new(-500,500) | |
| 2911 | eff.VelocitySpread = 9000 | |
| 2912 | eff.RotSpeed = NumberRange.new(-500,500) | |
| 2913 | local a = Instance.new("Part",workspace)
| |
| 2914 | a.Name = "Direction" | |
| 2915 | a.Anchored = true | |
| 2916 | a.BrickColor = bc("Bright red")
| |
| 2917 | a.Material = "Neon" | |
| 2918 | a.Transparency = 1 | |
| 2919 | a.CanCollide = false | |
| 2920 | local ray = Ray.new( | |
| 2921 | orb.CFrame.p, -- origin | |
| 2922 | (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction | |
| 2923 | ) | |
| 2924 | local ignore = orb | |
| 2925 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 2926 | a.BottomSurface = 10 | |
| 2927 | a.TopSurface = 10 | |
| 2928 | local distance = (orb.CFrame.p - position).magnitude | |
| 2929 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
| 2930 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
| 2931 | orb.CFrame = a.CFrame | |
| 2932 | a:Destroy() | |
| 2933 | CFuncs["Sound"].Create("rbxassetid://304448425", orb, 1.5, 0.9)
| |
| 2934 | local bv = Instance.new("BodyVelocity")
| |
| 2935 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 2936 | bv.velocity = orb.CFrame.lookVector*75 | |
| 2937 | bv.Parent = orb | |
| 2938 | game:GetService("Debris"):AddItem(orb, 10)
| |
| 2939 | local hitted = false | |
| 2940 | coroutine.resume(coroutine.create(function() | |
| 2941 | while true do | |
| 2942 | swait() | |
| 2943 | if orb.Parent ~= nil and hitted == false then | |
| 2944 | sphere2(4,"Add",orb.CFrame*CFrame.new(math.random(-1,1),math.random(-1,1),0) - orb.CFrame.lookVector*1.5,vt(3,3,3),-0.03,-0.03,-0.03,keptcolor) | |
| 2945 | elseif orb.Parent == nil and hitted == true then | |
| 2946 | break | |
| 2947 | end | |
| 2948 | end | |
| 2949 | end)) | |
| 2950 | local hit =orb.Touched:connect(function(hit) | |
| 2951 | if hitted == false and hit.Parent ~= char then | |
| 2952 | hitted = true | |
| 2953 | eff.Enabled = false | |
| 2954 | CameraEnshaking(4,4) | |
| 2955 | CFuncs["Sound"].Create("rbxassetid://1226980789", orb, 4.5, 0.7)
| |
| 2956 | CFuncs["Sound"].Create("rbxassetid://178452221", orb, 2.5, 0.4)
| |
| 2957 | MagniDamage(orb, 25, 20,30, 0, "Normal") | |
| 2958 | sphere2(4,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor) | |
| 2959 | sphere2(3,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor) | |
| 2960 | sphere2(2,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor) | |
| 2961 | for i = 0, 9 do | |
| 2962 | sphere2(4,"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.5,1,1.5),-0.005,4,-0.005,keptcolor) | |
| 2963 | end | |
| 2964 | for i = 0, 49 do | |
| 2965 | local rsiz = math.random(10,30) | |
| 2966 | sphereMK(math.random(1,3),1,"Add",orb.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) | |
| 2967 | end | |
| 2968 | local eff = Instance.new("ParticleEmitter",orb)
| |
| 2969 | eff.Texture = "rbxassetid://296874871" | |
| 2970 | eff.LightEmission = 0.95 | |
| 2971 | eff.Color = ColorSequence.new(orb.BrickColor.Color) | |
| 2972 | eff.Rate = 10000 | |
| 2973 | eff.Lifetime = NumberRange.new(1.5) | |
| 2974 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 2975 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 2976 | eff.Speed = NumberRange.new(150) | |
| 2977 | eff.Drag = 5 | |
| 2978 | eff.Rotation = NumberRange.new(-500,500) | |
| 2979 | eff.VelocitySpread = 9000 | |
| 2980 | eff.RotSpeed = NumberRange.new(-500,500) | |
| 2981 | coroutine.resume(coroutine.create(function() | |
| 2982 | wait(0.25) | |
| 2983 | eff.Enabled = false | |
| 2984 | end)) | |
| 2985 | local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char) | |
| 2986 | orb.Anchored = true | |
| 2987 | orb.Transparency = 1 | |
| 2988 | coroutine.resume(coroutine.create(function() | |
| 2989 | if hfr ~= nil then | |
| 2990 | orb.Size = vt(50,1,50) | |
| 2991 | orb.Orientation = vt(0,0,0) | |
| 2992 | orb.CFrame = orb.CFrame*CFrame.new(0,-5,0) | |
| 2993 | orbm:Destroy() | |
| 2994 | local firef = eff:Clone() | |
| 2995 | firef.Parent = orb | |
| 2996 | firef.VelocitySpread = 50 | |
| 2997 | firef.Rate = 500 | |
| 2998 | firef.Drag = 3 | |
| 2999 | firef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 3000 | firef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,3,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 3001 | firef.Speed = NumberRange.new(10,30) | |
| 3002 | for i = 0, 24 do | |
| 3003 | wait(0.25) | |
| 3004 | MagniDamage(orb, 25, 3,6, 0, "Normal") | |
| 3005 | end | |
| 3006 | firef.Enabled = false | |
| 3007 | end | |
| 3008 | end)) | |
| 3009 | wait(10) | |
| 3010 | orb:Destroy() | |
| 3011 | end | |
| 3012 | end) | |
| 3013 | for i = 0,1,0.1 do | |
| 3014 | swait() | |
| 3015 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.5) | |
| 3016 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5) | |
| 3017 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.5) | |
| 3018 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.5) | |
| 3019 | 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(0),math.rad(0)),.5) | |
| 3020 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5) | |
| 3021 | end | |
| 3022 | hum.WalkSpeed = storehumanoidWS | |
| 3023 | attack = false | |
| 3024 | end | |
| 3025 | ||
| 3026 | function BeamOfDeath() | |
| 3027 | attack = true | |
| 3028 | hum.WalkSpeed = 0 | |
| 3029 | local keptcolor = MAINRUINCOLOR | |
| 3030 | local orb = Instance.new("Part", char)
| |
| 3031 | orb.BrickColor = keptcolor | |
| 3032 | orb.CanCollide = false | |
| 3033 | orb.FormFactor = 3 | |
| 3034 | orb.Name = "Ring" | |
| 3035 | orb.Material = "Neon" | |
| 3036 | orb.Size = Vector3.new(1, 1, 1) | |
| 3037 | orb.Transparency = 1 | |
| 3038 | orb.TopSurface = 0 | |
| 3039 | orb.BottomSurface = 0 | |
| 3040 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 3041 | orbm.MeshType = "Sphere" | |
| 3042 | orbm.Name = "SizeMesh" | |
| 3043 | orbm.Scale = vt(22.5,10000,22.5) | |
| 3044 | orb.CFrame = mouse.Hit | |
| 3045 | orb.Anchored = true | |
| 3046 | orb.Orientation = vt(0,0,0) | |
| 3047 | orb.CFrame = orb.CFrame*CFrame.new(0,1,0) | |
| 3048 | CFuncs["LongSound"].Create("rbxassetid://1545630949", char, 1.5, 1)
| |
| 3049 | coroutine.resume(coroutine.create(function() | |
| 3050 | coroutine.resume(coroutine.create(function() | |
| 3051 | for i = 0, 399 do | |
| 3052 | swait() | |
| 3053 | orbm.Scale = orbm.Scale - vt(0.05,0,0.05) | |
| 3054 | orb.Transparency = orb.Transparency - 0.0025 | |
| 3055 | end | |
| 3056 | end)) | |
| 3057 | wait(9) | |
| 3058 | coroutine.resume(coroutine.create(function() | |
| 3059 | local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char) | |
| 3060 | if hfr ~= nil then | |
| 3061 | for i = 0, 49 do | |
| 3062 | local deb = Instance.new("Part", char)
| |
| 3063 | deb.Anchored = true | |
| 3064 | deb.CanCollide = false | |
| 3065 | deb.FormFactor = 3 | |
| 3066 | deb.Name = "Ring" | |
| 3067 | deb.Material = hitfloor.Material | |
| 3068 | deb.Color = hitfloor.Color | |
| 3069 | deb.Size = vt(math.random(50,55),math.random(50,55),math.random(50,55)) | |
| 3070 | deb.Transparency = 0 | |
| 3071 | deb.TopSurface = 0 | |
| 3072 | deb.BottomSurface = 0 | |
| 3073 | 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))) | |
| 3074 | local deb2 = Instance.new("Part", char)
| |
| 3075 | deb2.CanCollide = false | |
| 3076 | deb2.FormFactor = 3 | |
| 3077 | deb2.Name = "Ring" | |
| 3078 | deb2.Material = hitfloor.Material | |
| 3079 | deb2.Color = hitfloor.Color | |
| 3080 | deb2.Size = vt(math.random(34,38),math.random(34,38),math.random(34,38)) | |
| 3081 | deb2.Transparency = 0 | |
| 3082 | deb2.TopSurface = 0 | |
| 3083 | deb2.BottomSurface = 0 | |
| 3084 | deb2.Velocity = vt(math.random(-150,150),math.random(250,650),math.random(-150,150)) | |
| 3085 | 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))) | |
| 3086 | local eff = Instance.new("ParticleEmitter",deb)
| |
| 3087 | eff.Texture = "rbxassetid://363275192" | |
| 3088 | eff.LightEmission = 0.95 | |
| 3089 | eff.Color = ColorSequence.new(keptcolor.Color) | |
| 3090 | eff.Rate = 100 | |
| 3091 | eff.Lifetime = NumberRange.new(1) | |
| 3092 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,40,0),NumberSequenceKeypoint.new(1,45,0)})
| |
| 3093 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 3094 | eff.Speed = NumberRange.new(0,5) | |
| 3095 | eff.Rotation = NumberRange.new(-500,500) | |
| 3096 | eff.VelocitySpread = 9000 | |
| 3097 | eff.RotSpeed = NumberRange.new(-10,10) | |
| 3098 | local at1 = Instance.new('Attachment',deb2)
| |
| 3099 | at1.Position = vt(0,15,0) | |
| 3100 | local at2 = Instance.new('Attachment',deb2)
| |
| 3101 | at2.Position = vt(0,-15,0) | |
| 3102 | local tl = Instance.new('Trail',deb2)
| |
| 3103 | tl.Attachment0 = at1 | |
| 3104 | tl.Attachment1 = at2 | |
| 3105 | tl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 3106 | tl.Color = ColorSequence.new(BrickColor.new('White').Color)
| |
| 3107 | tl.Lifetime = 1 | |
| 3108 | game:GetService("Debris"):AddItem(deb,30)
| |
| 3109 | game:GetService("Debris"):AddItem(deb2,30)
| |
| 3110 | coroutine.resume(coroutine.create(function() | |
| 3111 | wait(15) | |
| 3112 | eff.Enabled = false | |
| 3113 | for i = 0, 49 do | |
| 3114 | swait() | |
| 3115 | deb.Transparency = deb.Transparency + 0.02 | |
| 3116 | end | |
| 3117 | wait(1) | |
| 3118 | deb:Destroy() | |
| 3119 | end)) | |
| 3120 | end | |
| 3121 | end | |
| 3122 | end)) | |
| 3123 | for i = 0, 199 do | |
| 3124 | swait(1.5) | |
| 3125 | for i, v in pairs(FindNearestHead(orb.CFrame.p, 175)) do | |
| 3126 | if v:FindFirstChild('Head') then
| |
| 3127 | dmg(v) | |
| 3128 | end | |
| 3129 | end | |
| 3130 | 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) | |
| 3131 | 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) | |
| 3132 | 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) | |
| 3133 | sphere2(5,"Add",orb.CFrame,vt(10,100000,10),2,2,2,keptcolor) | |
| 3134 | end | |
| 3135 | orb:Destroy() | |
| 3136 | end)) | |
| 3137 | hum.WalkSpeed = storehumanoidWS | |
| 3138 | attack = false | |
| 3139 | end | |
| 3140 | ||
| 3141 | ||
| 3142 | function Beams() | |
| 3143 | attack = true | |
| 3144 | hum.WalkSpeed = 0 | |
| 3145 | local keptcolor = MAINRUINCOLOR | |
| 3146 | coroutine.resume(coroutine.create(function() | |
| 3147 | for i = 0, 24 do | |
| 3148 | swait(5) | |
| 3149 | local orb = Instance.new("Part", char)
| |
| 3150 | CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
| |
| 3151 | orb.BrickColor = keptcolor | |
| 3152 | orb.CanCollide = false | |
| 3153 | orb.FormFactor = 3 | |
| 3154 | orb.Name = "Ring" | |
| 3155 | orb.Material = "Neon" | |
| 3156 | orb.Size = Vector3.new(1, 1, 1) | |
| 3157 | orb.Transparency = 0 | |
| 3158 | orb.TopSurface = 0 | |
| 3159 | orb.BottomSurface = 0 | |
| 3160 | orb.Anchored = true | |
| 3161 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 3162 | orbm.MeshType = "Sphere" | |
| 3163 | orbm.Name = "SizeMesh" | |
| 3164 | orbm.Scale = vt(1.25,1.25,1.25) | |
| 3165 | orb.CFrame = root.CFrame*CFrame.new(math.random(-6,6),math.random(3,9),math.random(-6,6)) | |
| 3166 | sphere2(6,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor) | |
| 3167 | coroutine.resume(coroutine.create(function() | |
| 3168 | wait(0.5) | |
| 3169 | CFuncs["Sound"].Create("rbxassetid://161006182", orb, 2.5, 1.1)
| |
| 3170 | sphere2(3,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor) | |
| 3171 | sphere2(4,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor) | |
| 3172 | orb.Transparency = 1 | |
| 3173 | local a = Instance.new("Part",char)
| |
| 3174 | a.Name = "Direction" | |
| 3175 | a.Anchored = true | |
| 3176 | a.BrickColor = keptcolor | |
| 3177 | a.Material = "Neon" | |
| 3178 | a.Transparency = 0.25 | |
| 3179 | a.Shape = "Cylinder" | |
| 3180 | local ht = Instance.new("Part",char)
| |
| 3181 | ht.Name = "DirectionHit" | |
| 3182 | ht.Anchored = true | |
| 3183 | ht.BrickColor = keptcolor | |
| 3184 | ht.CanCollide = false | |
| 3185 | ht.Transparency = 1 | |
| 3186 | ht.Size = vt(0.1,0.1,0.1) | |
| 3187 | CFuncs["Sound"].Create("rbxassetid://183763487", ht, 2, 1.2)
| |
| 3188 | a.CanCollide = false | |
| 3189 | local ray = Ray.new( | |
| 3190 | orb.CFrame.p, -- origin | |
| 3191 | (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction | |
| 3192 | ) | |
| 3193 | local ignore = char | |
| 3194 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 3195 | a.BottomSurface = 10 | |
| 3196 | a.TopSurface = 10 | |
| 3197 | local distance = (orb.CFrame.p - position).magnitude | |
| 3198 | a.Size = Vector3.new(distance,1,1) | |
| 3199 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 3200 | ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 3201 | sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor) | |
| 3202 | sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor) | |
| 3203 | MagniDamage(ht, 9, 10,15, 0, "Normal") | |
| 3204 | coroutine.resume(coroutine.create(function() | |
| 3205 | local eff = Instance.new("ParticleEmitter",ht)
| |
| 3206 | eff.Texture = "rbxassetid://284205403" | |
| 3207 | eff.LightEmission = 0.95 | |
| 3208 | eff.Color = ColorSequence.new(keptcolor.Color) | |
| 3209 | eff.Rate = 500 | |
| 3210 | eff.Lifetime = NumberRange.new(0.5) | |
| 3211 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.2,2.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
| |
| 3212 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 3213 | eff.Speed = NumberRange.new(10,50) | |
| 3214 | eff.Drag = 5 | |
| 3215 | eff.Rotation = NumberRange.new(-500,500) | |
| 3216 | eff.VelocitySpread = 9000 | |
| 3217 | eff.RotSpeed = NumberRange.new(-500,500) | |
| 3218 | wait(0.25) | |
| 3219 | eff.Enabled = false | |
| 3220 | end)) | |
| 3221 | for i = 0, 4 do | |
| 3222 | 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) | |
| 3223 | 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) | |
| 3224 | local rsiz = math.random(10,30) | |
| 3225 | 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) | |
| 3226 | end | |
| 3227 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 3228 | local msh = Instance.new("SpecialMesh",a)
| |
| 3229 | msh.MeshType = "Cylinder" | |
| 3230 | msh.Scale = vt(1,1,1) | |
| 3231 | for i = 0, 49 do | |
| 3232 | swait() | |
| 3233 | msh.Scale = msh.Scale + vt(0,0.01,0.01) | |
| 3234 | a.Transparency = a.Transparency + 0.02 | |
| 3235 | end | |
| 3236 | orb:Destroy() | |
| 3237 | a:Destroy() | |
| 3238 | ht:Destroy() | |
| 3239 | end)) | |
| 3240 | game:GetService("Debris"):AddItem(orb, 10)
| |
| 3241 | end | |
| 3242 | end)) | |
| 3243 | for i = 0,12,0.1 do | |
| 3244 | swait() | |
| 3245 | 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) | |
| 3246 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),0.3) | |
| 3247 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(-40)),.3) | |
| 3248 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(10)), 0.3) | |
| 3249 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(6), math.rad(20), math.rad(-10)), 0.3) | |
| 3250 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.3) | |
| 3251 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.3) | |
| 3252 | end | |
| 3253 | hum.WalkSpeed = storehumanoidWS | |
| 3254 | attack = false | |
| 3255 | end | |
| 3256 | ||
| 3257 | function smiter() | |
| 3258 | local targetted = nil | |
| 3259 | if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
| |
| 3260 | targetted = mouse.Target.Parent | |
| 3261 | end | |
| 3262 | if targetted ~= nil then | |
| 3263 | RootPart.CFrame = FaceMouse()[1] | |
| 3264 | attack = true | |
| 3265 | hum.WalkSpeed = 0 | |
| 3266 | coroutine.resume(coroutine.create(function() | |
| 3267 | CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
| |
| 3268 | sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR) | |
| 3269 | local vel = Instance.new("BodyPosition", targetted.Head)
| |
| 3270 | vel.P = 12500 | |
| 3271 | vel.D = 1000 | |
| 3272 | vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000) | |
| 3273 | vel.position = targetted.Head.CFrame.p | |
| 3274 | end)) | |
| 3275 | CFuncs["Sound"].Create("rbxassetid://671759140", sorb2, 1, 1.2)
| |
| 3276 | for i = 0,4,0.1 do | |
| 3277 | swait() | |
| 3278 | sphere2(4,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.125,-0.01,MAINRUINCOLOR) | |
| 3279 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2) | |
| 3280 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2) | |
| 3281 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2) | |
| 3282 | LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2) | |
| 3283 | 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(0),math.rad(0)),.2) | |
| 3284 | 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(20),math.rad(5)),.2) | |
| 3285 | end | |
| 3286 | coroutine.resume(coroutine.create(function() | |
| 3287 | CameraEnshaking(6,5) | |
| 3288 | MagniDamage(targetted.Head, 18, 18,30, 0, "Normal") | |
| 3289 | CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.8)
| |
| 3290 | CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.8)
| |
| 3291 | CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.8)
| |
| 3292 | sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR) | |
| 3293 | sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR) | |
| 3294 | sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR) | |
| 3295 | sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR) | |
| 3296 | coroutine.resume(coroutine.create(function() | |
| 3297 | local eff = Instance.new("ParticleEmitter",targetted.Head)
| |
| 3298 | eff.Texture = "rbxassetid://363275192" | |
| 3299 | eff.LightEmission = 0.95 | |
| 3300 | eff.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 3301 | eff.Rate = 10000 | |
| 3302 | eff.Lifetime = NumberRange.new(1.5) | |
| 3303 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 3304 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 3305 | eff.Speed = NumberRange.new(25,150) | |
| 3306 | eff.Drag = 5 | |
| 3307 | eff.Rotation = NumberRange.new(-500,500) | |
| 3308 | eff.VelocitySpread = 9000 | |
| 3309 | eff.RotSpeed = NumberRange.new(-50,50) | |
| 3310 | local eff2 = eff:Clone() | |
| 3311 | eff2.Parent = targetted.Head | |
| 3312 | eff2.Texture = "rbxassetid://284205403" | |
| 3313 | eff2.Rate = 10000 | |
| 3314 | eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 3315 | eff2.Drag = 5 | |
| 3316 | eff2.Rotation = NumberRange.new(-500,500) | |
| 3317 | eff2.VelocitySpread = 9000 | |
| 3318 | wait(0.5) | |
| 3319 | eff2.Enabled = false | |
| 3320 | eff.Enabled = false | |
| 3321 | end)) | |
| 3322 | for i = 0, 9 do | |
| 3323 | sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,3,-0.02,MAINRUINCOLOR) | |
| 3324 | end | |
| 3325 | for i = 0, 49 do | |
| 3326 | local rsiz = math.random(10,50) | |
| 3327 | sphereMK(math.random(1,4),1,"Add",targetted.Head.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0) | |
| 3328 | end | |
| 3329 | game:GetService("Debris"):AddItem(vel,1)
| |
| 3330 | dmg(targetted) | |
| 3331 | end)) | |
| 3332 | for i = 0,1,0.1 do | |
| 3333 | swait() | |
| 3334 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5) | |
| 3335 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5) | |
| 3336 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.5) | |
| 3337 | LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(-50)), 0.5) | |
| 3338 | 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(0),math.rad(0)),.5) | |
| 3339 | 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(20),math.rad(5)),.5) | |
| 3340 | end | |
| 3341 | attack = false | |
| 3342 | hum.WalkSpeed = storehumanoidWS | |
| 3343 | end | |
| 3344 | end | |
| 3345 | ||
| 3346 | function supsmiter() | |
| 3347 | local targetted = nil | |
| 3348 | if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
| |
| 3349 | targetted = mouse.Target.Parent | |
| 3350 | end | |
| 3351 | if targetted ~= nil then | |
| 3352 | RootPart.CFrame = FaceMouse()[1] | |
| 3353 | attack = true | |
| 3354 | hum.WalkSpeed = 0 | |
| 3355 | coroutine.resume(coroutine.create(function() | |
| 3356 | CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
| |
| 3357 | sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR) | |
| 3358 | sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.2,0.2,0.2,MAINRUINCOLOR) | |
| 3359 | local vel = Instance.new("BodyPosition", targetted.Head)
| |
| 3360 | vel.P = 12500 | |
| 3361 | vel.D = 1000 | |
| 3362 | vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000) | |
| 3363 | vel.position = targetted.Head.CFrame.p | |
| 3364 | end)) | |
| 3365 | CFuncs["Sound"].Create("rbxassetid://1042700914", sorb2, 2.5, 0.25)
| |
| 3366 | for i = 0,14,0.1 do | |
| 3367 | swait() | |
| 3368 | rsiz = math.random(5,15) | |
| 3369 | sphereMK(math.random(3,9),0.25,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,-15) | |
| 3370 | sphere2(4,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1.5,1.5,1.5),-0.01,0.15,-0.01,MAINRUINCOLOR) | |
| 3371 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2) | |
| 3372 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2) | |
| 3373 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2) | |
| 3374 | LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2) | |
| 3375 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2) | |
| 3376 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2) | |
| 3377 | end | |
| 3378 | coroutine.resume(coroutine.create(function() | |
| 3379 | CameraEnshaking(6,5) | |
| 3380 | MagniDamage(targetted.Head, 18, 18,30, 0, "Normal") | |
| 3381 | MagniDamage(targetted.Head, 9, 18000,30000, 0, "Normal") | |
| 3382 | CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 5.5, 0.8)
| |
| 3383 | CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 5.25, 0.8)
| |
| 3384 | CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 4, 0.8)
| |
| 3385 | sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR) | |
| 3386 | sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR) | |
| 3387 | sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR) | |
| 3388 | sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR) | |
| 3389 | coroutine.resume(coroutine.create(function() | |
| 3390 | local eff = Instance.new("ParticleEmitter",targetted.Head)
| |
| 3391 | eff.Texture = "rbxassetid://363275192" | |
| 3392 | eff.LightEmission = 0.95 | |
| 3393 | eff.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 3394 | eff.Rate = 10000 | |
| 3395 | eff.Lifetime = NumberRange.new(1.5) | |
| 3396 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 3397 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 3398 | eff.Speed = NumberRange.new(25,150) | |
| 3399 | eff.Drag = 5 | |
| 3400 | eff.Rotation = NumberRange.new(-500,500) | |
| 3401 | eff.VelocitySpread = 9000 | |
| 3402 | eff.RotSpeed = NumberRange.new(-50,50) | |
| 3403 | local eff2 = eff:Clone() | |
| 3404 | eff2.Parent = targetted.Head | |
| 3405 | eff2.Texture = "rbxassetid://284205403" | |
| 3406 | eff2.Rate = 10000 | |
| 3407 | eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 3408 | eff2.Drag = 5 | |
| 3409 | eff2.Rotation = NumberRange.new(-500,500) | |
| 3410 | eff2.VelocitySpread = 9000 | |
| 3411 | wait(0.5) | |
| 3412 | eff2.Enabled = false | |
| 3413 | eff.Enabled = false | |
| 3414 | end)) | |
| 3415 | for i = 0, 9 do | |
| 3416 | sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,3,-0.02,MAINRUINCOLOR) | |
| 3417 | end | |
| 3418 | for i = 0, 49 do | |
| 3419 | local rsiz = math.random(10,50) | |
| 3420 | sphereMK(math.random(1,4),1,"Add",targetted.Head.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0) | |
| 3421 | end | |
| 3422 | wait(0.75) | |
| 3423 | CameraEnshaking(6,6) | |
| 3424 | MagniDamage(targetted.Head, 20, 25,40, 0, "Normal") | |
| 3425 | MagniDamage(targetted.Head, 12, 18000,30000, 0, "Normal") | |
| 3426 | CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.7)
| |
| 3427 | CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.7)
| |
| 3428 | CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.7)
| |
| 3429 | sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.5,0,0.5,MAINRUINCOLOR) | |
| 3430 | sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.5,0,0.5,MAINRUINCOLOR) | |
| 3431 | sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.75,0.75,0.75,MAINRUINCOLOR) | |
| 3432 | sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.75,0.75,0.75,MAINRUINCOLOR) | |
| 3433 | coroutine.resume(coroutine.create(function() | |
| 3434 | local eff = Instance.new("ParticleEmitter",targetted.Head)
| |
| 3435 | eff.Texture = "rbxassetid://363275192" | |
| 3436 | eff.LightEmission = 0.95 | |
| 3437 | eff.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 3438 | eff.Rate = 10000 | |
| 3439 | eff.Lifetime = NumberRange.new(1.5) | |
| 3440 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,35,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 3441 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 3442 | eff.Speed = NumberRange.new(25,250) | |
| 3443 | eff.Drag = 5 | |
| 3444 | eff.Rotation = NumberRange.new(-500,500) | |
| 3445 | eff.VelocitySpread = 9000 | |
| 3446 | eff.RotSpeed = NumberRange.new(-50,50) | |
| 3447 | local eff2 = eff:Clone() | |
| 3448 | eff2.Parent = targetted.Head | |
| 3449 | eff2.Texture = "rbxassetid://284205403" | |
| 3450 | eff2.Rate = 10000 | |
| 3451 | eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 3452 | eff2.Drag = 5 | |
| 3453 | eff2.Rotation = NumberRange.new(-500,500) | |
| 3454 | eff2.VelocitySpread = 9000 | |
| 3455 | wait(0.5) | |
| 3456 | eff2.Enabled = false | |
| 3457 | eff.Enabled = false | |
| 3458 | end)) | |
| 3459 | for i = 0, 9 do | |
| 3460 | sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,4.5,-0.02,MAINRUINCOLOR) | |
| 3461 | end | |
| 3462 | for i = 0, 49 do | |
| 3463 | local rsiz = math.random(15,55) | |
| 3464 | sphereMK(math.random(1,4),1.5,"Add",targetted.Head.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0) | |
| 3465 | end | |
| 3466 | wait(0.75) | |
| 3467 | CameraEnshaking(6,7) | |
| 3468 | MagniDamage(targetted.Head, 23, 40,80, 0, "Normal") | |
| 3469 | MagniDamage(targetted.Head, 15, 18000,30000, 0, "Normal") | |
| 3470 | CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 7.5, 0.6)
| |
| 3471 | CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 7.25, 0.6)
| |
| 3472 | CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 6, 0.6)
| |
| 3473 | sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.75,0,0.75,MAINRUINCOLOR) | |
| 3474 | sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.75,0,0.75,MAINRUINCOLOR) | |
| 3475 | sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),1,1,1,MAINRUINCOLOR) | |
| 3476 | sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),1,1,1,MAINRUINCOLOR) | |
| 3477 | coroutine.resume(coroutine.create(function() | |
| 3478 | local eff = Instance.new("ParticleEmitter",targetted.Head)
| |
| 3479 | eff.Texture = "rbxassetid://363275192" | |
| 3480 | eff.LightEmission = 0.95 | |
| 3481 | eff.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 3482 | eff.Rate = 10000 | |
| 3483 | eff.Lifetime = NumberRange.new(1.5) | |
| 3484 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 3485 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 3486 | eff.Speed = NumberRange.new(50,450) | |
| 3487 | eff.Drag = 5 | |
| 3488 | eff.Rotation = NumberRange.new(-500,500) | |
| 3489 | eff.VelocitySpread = 9000 | |
| 3490 | eff.RotSpeed = NumberRange.new(-50,50) | |
| 3491 | local eff2 = eff:Clone() | |
| 3492 | eff2.Parent = targetted.Head | |
| 3493 | eff2.Texture = "rbxassetid://284205403" | |
| 3494 | eff2.Rate = 10000 | |
| 3495 | eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 3496 | eff2.Drag = 5 | |
| 3497 | eff2.Rotation = NumberRange.new(-500,500) | |
| 3498 | eff2.VelocitySpread = 9000 | |
| 3499 | wait(0.5) | |
| 3500 | eff2.Enabled = false | |
| 3501 | eff.Enabled = false | |
| 3502 | end)) | |
| 3503 | for i = 0, 9 do | |
| 3504 | sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,6,-0.02,MAINRUINCOLOR) | |
| 3505 | end | |
| 3506 | for i = 0, 49 do | |
| 3507 | local rsiz = math.random(20,60) | |
| 3508 | sphereMK(math.random(1,4),2,"Add",targetted.Head.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0) | |
| 3509 | end | |
| 3510 | dmg(targetted) | |
| 3511 | game:GetService("Debris"):AddItem(vel,1)
| |
| 3512 | end)) | |
| 3513 | for i = 0,7,0.1 do | |
| 3514 | swait() | |
| 3515 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5) | |
| 3516 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.5) | |
| 3517 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.5) | |
| 3518 | LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(-60)), 0.5) | |
| 3519 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.5) | |
| 3520 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.5) | |
| 3521 | end | |
| 3522 | attack = false | |
| 3523 | hum.WalkSpeed = storehumanoidWS | |
| 3524 | end | |
| 3525 | end | |
| 3526 | ||
| 3527 | function BinaryBLINK() | |
| 3528 | for i = 0, 9 do | |
| 3529 | sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) | |
| 3530 | end | |
| 3531 | sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR) | |
| 3532 | coroutine.resume(coroutine.create(function() | |
| 3533 | local eff = Instance.new("ParticleEmitter",root)
| |
| 3534 | eff.Texture = "rbxassetid://1175838406" | |
| 3535 | eff.LightEmission = 0.95 | |
| 3536 | eff.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 3537 | eff.Rate = 10000 | |
| 3538 | eff.Lifetime = NumberRange.new(1) | |
| 3539 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 3540 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 3541 | eff.Speed = NumberRange.new(30,160) | |
| 3542 | eff.Drag = 5 | |
| 3543 | eff.Rotation = NumberRange.new(-500,500) | |
| 3544 | eff.VelocitySpread = 100000 | |
| 3545 | wait(0.25) | |
| 3546 | eff.Enabled = false | |
| 3547 | wait(4) | |
| 3548 | eff:Destroy() | |
| 3549 | end)) | |
| 3550 | CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
| |
| 3551 | RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0) | |
| 3552 | CameraEnshaking(2,10) | |
| 3553 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 10)) do | |
| 3554 | if v:FindFirstChild('Head') then
| |
| 3555 | dmg(v) | |
| 3556 | end | |
| 3557 | end | |
| 3558 | for i = 0, 9 do | |
| 3559 | sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) | |
| 3560 | end | |
| 3561 | sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR) | |
| 3562 | end | |
| 3563 | ||
| 3564 | function BinaryE() | |
| 3565 | local posit = -2 | |
| 3566 | attack = true | |
| 3567 | hum.WalkSpeed = 5 | |
| 3568 | CFuncs["Sound"].Create("rbxassetid://169380495", sorb2, 1, 1)
| |
| 3569 | for i = 0,2,0.1 do | |
| 3570 | swait() | |
| 3571 | sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR) | |
| 3572 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(30)),0.5) | |
| 3573 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.5) | |
| 3574 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5) | |
| 3575 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(6), math.rad(-30)), 0.5) | |
| 3576 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.5) | |
| 3577 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5) | |
| 3578 | end | |
| 3579 | for i = 0, 2 do | |
| 3580 | CameraEnshaking(1,2) | |
| 3581 | local hite = Instance.new("Part", char)
| |
| 3582 | hite.Anchored = true | |
| 3583 | hite.CanCollide = false | |
| 3584 | hite.FormFactor = 3 | |
| 3585 | hite.Name = "Ring" | |
| 3586 | hite.Material = "Neon" | |
| 3587 | hite.Size = Vector3.new(1, 1, 1) | |
| 3588 | hite.Transparency = 1 | |
| 3589 | hite.TopSurface = 0 | |
| 3590 | hite.BottomSurface = 0 | |
| 3591 | hite.CFrame = root.CFrame*CFrame.new(0,posit,-5) | |
| 3592 | CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 0.9)
| |
| 3593 | CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 0.8)
| |
| 3594 | coroutine.resume(coroutine.create(function() | |
| 3595 | local eff = Instance.new("ParticleEmitter",hite)
| |
| 3596 | eff.Texture = "rbxassetid://1175838406" | |
| 3597 | eff.LightEmission = 0.95 | |
| 3598 | eff.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 3599 | eff.Rate = 1000 | |
| 3600 | eff.Lifetime = NumberRange.new(1) | |
| 3601 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 3602 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 3603 | eff.Speed = NumberRange.new(10,50) | |
| 3604 | eff.Drag = 5 | |
| 3605 | eff.Rotation = NumberRange.new(-500,500) | |
| 3606 | eff.VelocitySpread = 100000 | |
| 3607 | wait(0.25) | |
| 3608 | eff.Enabled = false | |
| 3609 | end)) | |
| 3610 | coroutine.resume(coroutine.create(function() | |
| 3611 | for i = 0, 1 do | |
| 3612 | swait() | |
| 3613 | sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR) | |
| 3614 | sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR) | |
| 3615 | sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR) | |
| 3616 | end | |
| 3617 | end)) | |
| 3618 | sphere2(6,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(2,2,2),0.5,-0.01,-0.01,MAINRUINCOLOR) | |
| 3619 | MagniDamage(hite, 3, 30,40, 0, "Normal") | |
| 3620 | game:GetService("Debris"):AddItem(hite, 5)
| |
| 3621 | posit = posit + 2 | |
| 3622 | end | |
| 3623 | for i = 0,1,0.1 do | |
| 3624 | swait() | |
| 3625 | sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR) | |
| 3626 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5) | |
| 3627 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),.5) | |
| 3628 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5) | |
| 3629 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(110), math.rad(6), math.rad(40)), 0.5) | |
| 3630 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.5) | |
| 3631 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5) | |
| 3632 | end | |
| 3633 | for i = 0,1,0.1 do | |
| 3634 | swait() | |
| 3635 | sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR) | |
| 3636 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.2,0)* angles(math.rad(20),math.rad(0),math.rad(60)),0.5) | |
| 3637 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.5) | |
| 3638 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.5) | |
| 3639 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(6), math.rad(-50)), 0.5) | |
| 3640 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(30)),.5) | |
| 3641 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(40)),.5) | |
| 3642 | end | |
| 3643 | posit = -6 | |
| 3644 | for i = 0, 6 do | |
| 3645 | CameraEnshaking(1,3) | |
| 3646 | local hite = Instance.new("Part", char)
| |
| 3647 | hite.Anchored = true | |
| 3648 | hite.CanCollide = false | |
| 3649 | hite.FormFactor = 3 | |
| 3650 | hite.Name = "Ring" | |
| 3651 | hite.Material = "Neon" | |
| 3652 | hite.Size = Vector3.new(1, 1, 1) | |
| 3653 | hite.Transparency = 1 | |
| 3654 | hite.TopSurface = 0 | |
| 3655 | hite.BottomSurface = 0 | |
| 3656 | hite.CFrame = root.CFrame*CFrame.new(posit,0,-5) | |
| 3657 | CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 1.2)
| |
| 3658 | CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 1)
| |
| 3659 | sphere2(6,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),-0.01,1,-0.01,MAINRUINCOLOR) | |
| 3660 | coroutine.resume(coroutine.create(function() | |
| 3661 | local eff = Instance.new("ParticleEmitter",hite)
| |
| 3662 | eff.Texture = "rbxassetid://1175838406" | |
| 3663 | eff.LightEmission = 0.95 | |
| 3664 | eff.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 3665 | eff.Rate = 1000 | |
| 3666 | eff.Lifetime = NumberRange.new(1) | |
| 3667 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 3668 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 3669 | eff.Speed = NumberRange.new(20,70) | |
| 3670 | eff.Drag = 5 | |
| 3671 | eff.Rotation = NumberRange.new(-500,500) | |
| 3672 | eff.VelocitySpread = 100000 | |
| 3673 | wait(0.25) | |
| 3674 | eff.Enabled = false | |
| 3675 | end)) | |
| 3676 | coroutine.resume(coroutine.create(function() | |
| 3677 | for i = 0, 2 do | |
| 3678 | swait() | |
| 3679 | sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR) | |
| 3680 | sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR) | |
| 3681 | sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR) | |
| 3682 | end | |
| 3683 | end)) | |
| 3684 | MagniDamage(hite, 5, 40,70, 0, "Normal") | |
| 3685 | game:GetService("Debris"):AddItem(hite, 5)
| |
| 3686 | posit = posit + 2 | |
| 3687 | end | |
| 3688 | for i = 0,1,0.1 do | |
| 3689 | swait() | |
| 3690 | sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR) | |
| 3691 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,1.5)* angles(math.rad(-10),math.rad(0),math.rad(-60)),0.5) | |
| 3692 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5) | |
| 3693 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.5) | |
| 3694 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(6), math.rad(-50)), 0.5) | |
| 3695 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(10),math.rad(-10)),.5) | |
| 3696 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(60)),.5) | |
| 3697 | end | |
| 3698 | hum.WalkSpeed = storehumanoidWS | |
| 3699 | attack = false | |
| 3700 | end | |
| 3701 | ||
| 3702 | function AZUREFINALE() | |
| 3703 | attack = true | |
| 3704 | duringend = true | |
| 3705 | hum.WalkSpeed = 0 | |
| 3706 | CFuncs["Sound"].Create("rbxassetid://1117054464", char, 7.5, 0.75)
| |
| 3707 | CFuncs["LongSound"].Create("rbxassetid://1042700914", char, 3.5, 0.05)
| |
| 3708 | local hite = Instance.new("Part", char)
| |
| 3709 | hite.Anchored = true | |
| 3710 | hite.CanCollide = false | |
| 3711 | hite.FormFactor = 3 | |
| 3712 | hite.Name = "Ring" | |
| 3713 | hite.Material = "Neon" | |
| 3714 | hite.Size = Vector3.new(1, 1, 1) | |
| 3715 | hite.Transparency = 0 | |
| 3716 | hite.TopSurface = 0 | |
| 3717 | hite.BottomSurface = 0 | |
| 3718 | hite.BrickColor = MAINRUINCOLOR | |
| 3719 | local orbm = Instance.new("SpecialMesh", hite)
| |
| 3720 | orbm.MeshType = "Sphere" | |
| 3721 | orbm.Name = "SizeMesh" | |
| 3722 | orbm.Scale = vt(0,0,0) | |
| 3723 | hite.CFrame = root.CFrame*CFrame.new(0,200,0) | |
| 3724 | for i = 0,70,0.1 do | |
| 3725 | swait() | |
| 3726 | orbm.Scale = orbm.Scale + vt(0.5,0.5,0.5) | |
| 3727 | rsiz = math.random(10,45) | |
| 3728 | kan.Volume = kan.Volume + 0.01 | |
| 3729 | kan.Pitch = kan.Pitch - 0.00135 | |
| 3730 | sphereMK(math.random(1,4),2.5,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/2,rsiz/2,rsiz/2,0,MAINRUINCOLOR,-300) | |
| 3731 | sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,1.5,10),-0.01,10,-0.01,MAINRUINCOLOR) | |
| 3732 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2) | |
| 3733 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2) | |
| 3734 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2) | |
| 3735 | LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2) | |
| 3736 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2) | |
| 3737 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2) | |
| 3738 | end | |
| 3739 | kan.Pitch = 0.1 | |
| 3740 | hite.Transparency = 1 | |
| 3741 | for i = 0,2 do | |
| 3742 | CFuncs["LongSound"].Create("rbxassetid://324849898", char, 10,0.9)
| |
| 3743 | end | |
| 3744 | CFuncs["LongSound"].Create("rbxassetid://1117054464", char, 5, 0.75)
| |
| 3745 | sphere2(1,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(orbm.Scale.X,orbm.Scale.Y,orbm.Scale.Z),-5,-5,-5,MAINRUINCOLOR) | |
| 3746 | sphere2(1,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(orbm.Scale.X,orbm.Scale.Y,orbm.Scale.Z),2,2,2,MAINRUINCOLOR) | |
| 3747 | sphere2(2,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(orbm.Scale.X,orbm.Scale.Y,orbm.Scale.Z),3,3,3,MAINRUINCOLOR) | |
| 3748 | coroutine.resume(coroutine.create(function() | |
| 3749 | local eff = Instance.new("ParticleEmitter",hite)
| |
| 3750 | eff.Texture = "rbxassetid://284205403" | |
| 3751 | eff.LightEmission = 0.95 | |
| 3752 | eff.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 3753 | eff.Rate = 10000 | |
| 3754 | eff.Lifetime = NumberRange.new(5) | |
| 3755 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,100,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 3756 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 3757 | eff.Speed = NumberRange.new(600,1250) | |
| 3758 | eff.Drag = 5 | |
| 3759 | eff.Rotation = NumberRange.new(-500,500) | |
| 3760 | eff.VelocitySpread = 9000 | |
| 3761 | eff.RotSpeed = NumberRange.new(-500,500) | |
| 3762 | wait(1) | |
| 3763 | eff.Enabled = false | |
| 3764 | end)) | |
| 3765 | for i = 0,5,0.1 do | |
| 3766 | swait() | |
| 3767 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2) | |
| 3768 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2) | |
| 3769 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2) | |
| 3770 | LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2) | |
| 3771 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2) | |
| 3772 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2) | |
| 3773 | end | |
| 3774 | local adsc = 0 | |
| 3775 | local radiatezone = 0 | |
| 3776 | for i = 0,20,0.1 do | |
| 3777 | swait() | |
| 3778 | adsc = adsc + 0.025 | |
| 3779 | radiatezone = radiatezone + 1.25 | |
| 3780 | sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR) | |
| 3781 | for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do | |
| 3782 | if v:FindFirstChild('Head') then
| |
| 3783 | dmg(v) | |
| 3784 | end | |
| 3785 | end | |
| 3786 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2) | |
| 3787 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2) | |
| 3788 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2) | |
| 3789 | LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2) | |
| 3790 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2) | |
| 3791 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2) | |
| 3792 | end | |
| 3793 | for i = 0,2 do | |
| 3794 | CFuncs["LongSound"].Create("rbxassetid://665426491", char, 10,0.9)
| |
| 3795 | end | |
| 3796 | for i = 0,40,0.1 do | |
| 3797 | swait() | |
| 3798 | adsc = adsc + 0.05 | |
| 3799 | radiatezone = radiatezone + 2.5 | |
| 3800 | sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR) | |
| 3801 | for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do | |
| 3802 | if v:FindFirstChild('Head') then
| |
| 3803 | dmg(v) | |
| 3804 | end | |
| 3805 | end | |
| 3806 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2) | |
| 3807 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2) | |
| 3808 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2) | |
| 3809 | LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2) | |
| 3810 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2) | |
| 3811 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2) | |
| 3812 | end | |
| 3813 | for i = 0,4 do | |
| 3814 | CFuncs["LongSound"].Create("rbxassetid://665426491", char, 10,0.75)
| |
| 3815 | CFuncs["LongSound"].Create("rbxassetid://923073285", char, 1.25,0.75)
| |
| 3816 | end | |
| 3817 | for i = 0,80,0.1 do | |
| 3818 | swait() | |
| 3819 | adsc = adsc + 0.075 | |
| 3820 | radiatezone = radiatezone + 3.75 | |
| 3821 | sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR) | |
| 3822 | for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do | |
| 3823 | if v:FindFirstChild('Head') then
| |
| 3824 | dmg(v) | |
| 3825 | end | |
| 3826 | end | |
| 3827 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2) | |
| 3828 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2) | |
| 3829 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2) | |
| 3830 | LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2) | |
| 3831 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2) | |
| 3832 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2) | |
| 3833 | end | |
| 3834 | hite:Destroy() | |
| 3835 | duringend = false | |
| 3836 | hum.WalkSpeed = storehumanoidWS | |
| 3837 | attack = false | |
| 3838 | end | |
| 3839 | ||
| 3840 | function GalacticalBeams() | |
| 3841 | attack = true | |
| 3842 | local keptcolor = MAINRUINCOLOR | |
| 3843 | coroutine.resume(coroutine.create(function() | |
| 3844 | for i = 0, 0 do | |
| 3845 | swait(10) | |
| 3846 | local orb = Instance.new("Part", char)
| |
| 3847 | CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
| |
| 3848 | orb.BrickColor = keptcolor | |
| 3849 | orb.CanCollide = false | |
| 3850 | orb.FormFactor = 3 | |
| 3851 | orb.Name = "Ring" | |
| 3852 | orb.Material = "Neon" | |
| 3853 | orb.Size = Vector3.new(1, 1, 1) | |
| 3854 | orb.Transparency = 1 | |
| 3855 | orb.TopSurface = 0 | |
| 3856 | orb.BottomSurface = 0 | |
| 3857 | orb.Anchored = true | |
| 3858 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 3859 | orbm.MeshType = "Sphere" | |
| 3860 | orbm.Name = "SizeMesh" | |
| 3861 | orbm.Scale = vt(1.25,1.25,1.25) | |
| 3862 | orb.CFrame = root.CFrame*CFrame.new(math.random(-25,25),math.random(75,150),math.random(-25,25)) | |
| 3863 | coroutine.resume(coroutine.create(function() | |
| 3864 | orb.Transparency = 1 | |
| 3865 | local a = Instance.new("Part",char)
| |
| 3866 | a.Name = "Direction" | |
| 3867 | a.Anchored = true | |
| 3868 | a.BrickColor = keptcolor | |
| 3869 | a.Material = "Neon" | |
| 3870 | a.Transparency = 1 | |
| 3871 | a.Shape = "Cylinder" | |
| 3872 | local x = Instance.new("Part",char)
| |
| 3873 | x.Name = "Direction" | |
| 3874 | x.Anchored = true | |
| 3875 | x.BrickColor = keptcolor | |
| 3876 | x.Material = "Neon" | |
| 3877 | x.Transparency = 1 | |
| 3878 | x.Shape = "Cylinder" | |
| 3879 | local ht = Instance.new("Part",char)
| |
| 3880 | ht.Name = "DirectionHit" | |
| 3881 | ht.Anchored = true | |
| 3882 | ht.BrickColor = keptcolor | |
| 3883 | ht.CanCollide = false | |
| 3884 | ht.Transparency = 1 | |
| 3885 | ht.Size = vt(0.1,0.1,0.1) | |
| 3886 | a.CanCollide = false | |
| 3887 | local ray = Ray.new( | |
| 3888 | orb.CFrame.p, -- origin | |
| 3889 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
| 3890 | ) | |
| 3891 | local ignore = char | |
| 3892 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 3893 | a.BottomSurface = 10 | |
| 3894 | a.TopSurface = 10 | |
| 3895 | local distance = (orb.CFrame.p - position).magnitude | |
| 3896 | a.Size = Vector3.new(distance,1,1) | |
| 3897 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 3898 | ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 3899 | x.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
| 3900 | local poste = 0 | |
| 3901 | local rotation = 0 | |
| 3902 | CFuncs["Sound"].Create("rbxassetid://153092315", char, 1.5, 1)
| |
| 3903 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(5,5,5),2.5,2.5,0,keptcolor) | |
| 3904 | CameraEnshaking(2,2) | |
| 3905 | for i = 0, 49 do | |
| 3906 | swait() | |
| 3907 | rotation = rotation + 5 | |
| 3908 | poste = poste + 1 | |
| 3909 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
| 3910 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
| 3911 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
| 3912 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
| 3913 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
| 3914 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
| 3915 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
| 3916 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
| 3917 | end | |
| 3918 | local A1 = Instance.new("Attachment",x)
| |
| 3919 | local A2 = Instance.new("Attachment",ht)
| |
| 3920 | local Beem = Instance.new("Beam",ht)
| |
| 3921 | Beem.Attachment0 = A1 | |
| 3922 | Beem.Attachment1 = A2 | |
| 3923 | Beem.LightEmission = 1 | |
| 3924 | Beem.FaceCamera = true | |
| 3925 | Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, 0),NumberSequenceKeypoint.new(0.975, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 3926 | Beem.Width0 = 125 | |
| 3927 | Beem.Width1 = 125 | |
| 3928 | Beem.Texture = "rbxassetid://1134824633" | |
| 3929 | Beem.TextureMode = "Wrap" | |
| 3930 | Beem.TextureLength = 200 | |
| 3931 | Beem.TextureSpeed = 1.5 | |
| 3932 | Beem.Color = ColorSequence.new(keptcolor.Color) | |
| 3933 | CameraEnshaking(3,6) | |
| 3934 | CFuncs["Sound"].Create("rbxassetid://294188875", char, 2, 1.5)
| |
| 3935 | a.Transparency = 0.25 | |
| 3936 | sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor) | |
| 3937 | sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor) | |
| 3938 | sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor) | |
| 3939 | sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor) | |
| 3940 | sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),1.5,1.5,1.5,keptcolor) | |
| 3941 | sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1.5,1.5,1.5,keptcolor) | |
| 3942 | MagniDamage(ht, 70, 1000,1500, 0, "Normal") | |
| 3943 | local eff = Instance.new("ParticleEmitter",ht)
| |
| 3944 | eff.Texture = "rbxassetid://284205403" | |
| 3945 | eff.LightEmission = 0.95 | |
| 3946 | eff.Color = ColorSequence.new(keptcolor.Color) | |
| 3947 | eff.Rate = 500 | |
| 3948 | eff.Lifetime = NumberRange.new(1) | |
| 3949 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.2,35,0),NumberSequenceKeypoint.new(1,0.1,0)})
| |
| 3950 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 3951 | eff.Speed = NumberRange.new(80,500) | |
| 3952 | eff.Drag = 5 | |
| 3953 | eff.Rotation = NumberRange.new(-500,500) | |
| 3954 | eff.VelocitySpread = 9000 | |
| 3955 | eff.RotSpeed = NumberRange.new(-500,500) | |
| 3956 | for i = 0, 24 do | |
| 3957 | sphere2(6,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(1,5),-0.05,keptcolor) | |
| 3958 | local rsiz = math.random(10,50) | |
| 3959 | sphereMK(math.random(3,6),1.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) | |
| 3960 | end | |
| 3961 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 3962 | local msh = Instance.new("SpecialMesh",a)
| |
| 3963 | msh.MeshType = "Cylinder" | |
| 3964 | msh.Scale = vt(1,15,15) | |
| 3965 | for i = 0, 49 do | |
| 3966 | swait() | |
| 3967 | CameraEnshaking(1,4) | |
| 3968 | MagniDamage(ht, 70, 1000,1500, 0, "Normal") | |
| 3969 | rotation = rotation + 5 | |
| 3970 | sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor) | |
| 3971 | sphere2(6,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(1,5),-0.05,keptcolor) | |
| 3972 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(25,25,5),1,1,0,keptcolor) | |
| 3973 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor) | |
| 3974 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor) | |
| 3975 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor) | |
| 3976 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor) | |
| 3977 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor) | |
| 3978 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 - rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor) | |
| 3979 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor) | |
| 3980 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 - rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor) | |
| 3981 | for i = 0, 2 do | |
| 3982 | local rsiz = math.random(50,250) | |
| 3983 | sphereMK(math.random(3,6),math.random(2,4),"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) | |
| 3984 | end | |
| 3985 | msh.Scale = msh.Scale + vt(0,0.25,0.25) | |
| 3986 | end | |
| 3987 | eff.Enabled = false | |
| 3988 | local visibility = 0 | |
| 3989 | for i = 0, 49 do | |
| 3990 | swait() | |
| 3991 | visibility = visibility + 0.02 | |
| 3992 | Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, visibility),NumberSequenceKeypoint.new(0.975, visibility),NumberSequenceKeypoint.new(1, 1)})
| |
| 3993 | rotation = rotation + 5 | |
| 3994 | poste = poste - 1 | |
| 3995 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
| 3996 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
| 3997 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
| 3998 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
| 3999 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
| 4000 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
| 4001 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
| 4002 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
| 4003 | msh.Scale = msh.Scale + vt(0,-0.5,-0.5) | |
| 4004 | a.Transparency = a.Transparency + 0.02 | |
| 4005 | end | |
| 4006 | wait(1) | |
| 4007 | orb:Destroy() | |
| 4008 | a:Destroy() | |
| 4009 | ht:Destroy() | |
| 4010 | end)) | |
| 4011 | game:GetService("Debris"):AddItem(orb, 10)
| |
| 4012 | end | |
| 4013 | end)) | |
| 4014 | hum.WalkSpeed = storehumanoidWS | |
| 4015 | attack = false | |
| 4016 | end | |
| 4017 | ||
| 4018 | ||
| 4019 | function WarpedDash() | |
| 4020 | attack = true | |
| 4021 | hum.WalkSpeed = 0 | |
| 4022 | hum.JumpPower = 0 | |
| 4023 | CFuncs["Sound"].Create("rbxassetid://1208650519", tors, 5, 1)
| |
| 4024 | local poste = 3 | |
| 4025 | local rotation = 0 | |
| 4026 | local rate = 0 | |
| 4027 | for i = 0, 124 do | |
| 4028 | swait() | |
| 4029 | rotation = rotation + rate | |
| 4030 | poste = poste + 0.1 | |
| 4031 | rate = rate + 0.1 | |
| 4032 | sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(poste,1,poste),0.05*poste/3,0,0.05*poste/3,MAINRUINCOLOR) | |
| 4033 | sphere2(8,"Add",root.CFrame*CFrame.new(math.random(-20,20),-3,math.random(-20,20)),vt(1,1,1),-0.01,0.5,-0.01,MAINRUINCOLOR) | |
| 4034 | sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR) | |
| 4035 | sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(90 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR) | |
| 4036 | sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(180 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR) | |
| 4037 | sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(270 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR) | |
| 4038 | RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(30)),.5) | |
| 4039 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.5) | |
| 4040 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.75)*angles(math.rad(30),math.rad(0),math.rad(20)),.5) | |
| 4041 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.5) | |
| 4042 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(-8),math.rad(-10)),.5) | |
| 4043 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.5) | |
| 4044 | end | |
| 4045 | CameraEnshaking(3,7) | |
| 4046 | local loc = Instance.new("Part", char)
| |
| 4047 | loc.BrickColor = MAINRUINCOLOR | |
| 4048 | loc.CanCollide = false | |
| 4049 | loc.FormFactor = 3 | |
| 4050 | loc.Name = "Ring" | |
| 4051 | loc.Material = "Neon" | |
| 4052 | loc.Size = Vector3.new(1, 1, 1) | |
| 4053 | loc.Transparency = 1 | |
| 4054 | loc.TopSurface = 0 | |
| 4055 | loc.BottomSurface = 0 | |
| 4056 | loc.Anchored = true | |
| 4057 | loc.CFrame = root.CFrame + root.CFrame.lookVector*100 | |
| 4058 | CFuncs["Sound"].Create("rbxassetid://782353443", loc, 5, 1)
| |
| 4059 | CFuncs["Sound"].Create("rbxassetid://1177785010", loc, 6, 1)
| |
| 4060 | MagniDamage(loc, 95, 500,6000, 0, "Normal") | |
| 4061 | sphere2(10,"Add",loc.CFrame,vt(5,5,5),-0.05,-0.05,5,MAINRUINCOLOR) | |
| 4062 | sphere2(8,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR) | |
| 4063 | sphere2(4,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR) | |
| 4064 | sphere2(2,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR) | |
| 4065 | coroutine.resume(coroutine.create(function() | |
| 4066 | local eff = Instance.new("ParticleEmitter",loc)
| |
| 4067 | eff.Texture = "rbxassetid://363275192" | |
| 4068 | eff.LightEmission = 0.95 | |
| 4069 | eff.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 4070 | eff.Rate = 10000 | |
| 4071 | eff.Lifetime = NumberRange.new(1) | |
| 4072 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 4073 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 4074 | eff.Speed = NumberRange.new(100,500) | |
| 4075 | eff.Drag = 5 | |
| 4076 | eff.Rotation = NumberRange.new(-500,500) | |
| 4077 | eff.VelocitySpread = 9000 | |
| 4078 | eff.RotSpeed = NumberRange.new(-50,50) | |
| 4079 | wait(0.5) | |
| 4080 | eff.Enabled = false | |
| 4081 | end)) | |
| 4082 | for i = 0, 49 do | |
| 4083 | sphere2(math.random(100,300)/100,"Add",loc.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,5),-0.01,-0.01,5,MAINRUINCOLOR) | |
| 4084 | end | |
| 4085 | for i = 0, 9 do | |
| 4086 | sphere2(3,"Add",loc.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),0),vt(1,1,5),-0.01,-0.01,5,MAINRUINCOLOR) | |
| 4087 | end | |
| 4088 | game:GetService("Debris"):AddItem(loc, 5)
| |
| 4089 | root.CFrame = root.CFrame + root.CFrame.lookVector*200 | |
| 4090 | hum.WalkSpeed = storehumanoidWS | |
| 4091 | hum.JumpPower = 50 | |
| 4092 | attack = false | |
| 4093 | end | |
| 4094 | ||
| 4095 | ------------------------------------ | |
| 4096 | function harmonytaunty() | |
| 4097 | attack = true | |
| 4098 | hum.WalkSpeed = 0 | |
| 4099 | CFuncs["Sound"].Create("rbxassetid://430312221", tors, 1.25, 1.15)
| |
| 4100 | for i = 0,7,0.1 do | |
| 4101 | swait() | |
| 4102 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(-20 + 6 * math.cos(sine / 34))),.2) | |
| 4103 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(10 - 4 * math.cos(sine / 47))),.2) | |
| 4104 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(-2 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(-2 + 4 * math.cos(sine / 62))),.2) | |
| 4105 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(12 - 3 * math.cos(sine / 28)),math.rad(12 - 3 * math.cos(sine / 79)),math.rad(2 - 4 * math.cos(sine / 62))),.2) | |
| 4106 | RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.01 * math.cos(sine / 28),-0.1)*angles(math.rad(34 + 2 * math.cos(sine / 33)),math.rad(0),math.rad(-13 - 3 * math.cos(sine / 28))),.2) | |
| 4107 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(80 - 3 * math.cos(sine / 37)),math.rad(0),math.rad(10 + 5 * math.cos(sine / 30))),.2) | |
| 4108 | end | |
| 4109 | hum.WalkSpeed = storehumanoidWS | |
| 4110 | attack = false | |
| 4111 | end | |
| 4112 | ||
| 4113 | function vistaunty() | |
| 4114 | attack = true | |
| 4115 | hum.WalkSpeed = 0 | |
| 4116 | local rd = math.random(1,5) | |
| 4117 | if rd == 1 then | |
| 4118 | chatfunc("You're familiar with this, arent you?",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
| |
| 4119 | elseif rd == 2 then | |
| 4120 | chatfunc("Dance to the beat. If you want to.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
| |
| 4121 | elseif rd == 3 then | |
| 4122 | chatfunc("I'm just bored. Don't mess with me.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
| |
| 4123 | elseif rd == 4 then | |
| 4124 | chatfunc("Ready to dance? If not, come back if you want to.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
| |
| 4125 | elseif rd == 5 then | |
| 4126 | chatfunc("Ehh, not really into something right now.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
| |
| 4127 | end | |
| 4128 | for i = 0, 8, 0.1 do | |
| 4129 | swait() | |
| 4130 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/5000,-0.1)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(0 - 2 * math.cos(sine / 56) + kan.PlaybackLoudness/450)),.4) | |
| 4131 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - kan.PlaybackLoudness/6500,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(5),math.rad(0 + 2 * math.cos(sine / 56) + kan.PlaybackLoudness/500)),.4) | |
| 4132 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 56) ,0 + 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/7000)*angles(math.rad(0 - 2 * math.cos(sine / 56)),math.rad(0),math.rad(60)),.4) | |
| 4133 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2 * math.cos(sine / 28) - kan.PlaybackLoudness/60),math.rad(0 + 2 * math.cos(sine / 73)),math.rad(-60)),.4) | |
| 4134 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(90 + 5 * math.cos(sine / 34) + kan.PlaybackLoudness/7.5),math.rad(0),math.rad(60 - 2 * math.cos(sine / 38))),.4) | |
| 4135 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(10),math.rad(5),math.rad(7.5)),.4) | |
| 4136 | end | |
| 4137 | hum.WalkSpeed = storehumanoidWS | |
| 4138 | attack = false | |
| 4139 | end | |
| 4140 | ||
| 4141 | function shytaunty() | |
| 4142 | attack = true | |
| 4143 | hum.WalkSpeed = 0 | |
| 4144 | CFuncs["Sound"].Create("rbxassetid://543623779", tors, 0.35, 1)
| |
| 4145 | local blush = Instance.new("Decal",hed)
| |
| 4146 | blush.Texture = "rbxassetid://898404027" | |
| 4147 | blush.Face = "Front" | |
| 4148 | for i = 0, 13, 0.1 do | |
| 4149 | swait() | |
| 4150 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7 - 5 * math.cos(sine / 44)),math.rad(0),math.rad(-6 - 3 * math.cos(sine / 34))),.1) | |
| 4151 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 + 5 * math.cos(sine / 44)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 34))),.1) | |
| 4152 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.05 * math.cos(sine / 44),0 + 0.03 * math.cos(sine / 34),-0.05 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 - 5 * math.cos(sine / 44)),math.rad(-5)),.1) | |
| 4153 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2 - 2.5 * math.cos(sine / 28)),math.rad(20 + 5 * math.cos(sine / 62)),math.rad(35 + 5 * math.cos(sine / 59))),.1) | |
| 4154 | RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(22 - 1 * math.cos(sine / 53)),math.rad(0),math.rad(-60 + 2 * math.cos(sine / 37))),.1) | |
| 4155 | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(26 - 2 * math.cos(sine / 58)),math.rad(0),math.rad(59 - 3 * math.cos(sine / 57) )),.1) | |
| 4156 | end | |
| 4157 | coroutine.resume(coroutine.create(function() | |
| 4158 | for i = 0, 49 do | |
| 4159 | swait() | |
| 4160 | blush.Transparency = blush.Transparency + 0.02 | |
| 4161 | end | |
| 4162 | blush:Destroy() | |
| 4163 | end)) | |
| 4164 | hum.WalkSpeed = storehumanoidWS | |
| 4165 | attack = false | |
| 4166 | end | |
| 4167 | ------------------------------------ Mode Ascendances | |
| 4168 | function UnknownA() | |
| 4169 | hum.WalkSpeed = 0 | |
| 4170 | attack = true | |
| 4171 | local keptcolor = MAINRUINCOLOR | |
| 4172 | local locat = Instance.new("Part", char)
| |
| 4173 | locat.CanCollide = false | |
| 4174 | locat.FormFactor = 3 | |
| 4175 | locat.Name = "Ring" | |
| 4176 | locat.Material = "Neon" | |
| 4177 | locat.Size = Vector3.new(1, 1, 1) | |
| 4178 | locat.Transparency = 1 | |
| 4179 | locat.TopSurface = 0 | |
| 4180 | locat.BottomSurface = 0 | |
| 4181 | locat.Anchored = true | |
| 4182 | locat.CFrame = root.CFrame*CFrame.new(0,-3,0) | |
| 4183 | local poste = 0 | |
| 4184 | local rotation = 0 | |
| 4185 | local upperpos = 0 | |
| 4186 | local rate = 0 | |
| 4187 | local x = locat | |
| 4188 | CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5, 1)
| |
| 4189 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5, 1)
| |
| 4190 | sphere2(8,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor) | |
| 4191 | sphere2(6,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor) | |
| 4192 | sphere2(4,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor) | |
| 4193 | sphere2(2,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor) | |
| 4194 | CameraEnshaking(2,5) | |
| 4195 | for i = 0, 49 do | |
| 4196 | swait() | |
| 4197 | rotation = rotation + 5 | |
| 4198 | poste = poste + 1 | |
| 4199 | sphere2(math.random(4,6),"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,1,5),-0.05,math.random(25,100)/25,-0.05,keptcolor) | |
| 4200 | sphere2(8,"Add",tors.CFrame,vt(poste/1.5,poste/1.5,poste/1.5),0.01,0.01,0.01,keptcolor) | |
| 4201 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
| 4202 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
| 4203 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
| 4204 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
| 4205 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
| 4206 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
| 4207 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
| 4208 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
| 4209 | 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)),.5) | |
| 4210 | 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)),.5) | |
| 4211 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.5) | |
| 4212 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.5) | |
| 4213 | 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))),.5) | |
| 4214 | 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))),.5) | |
| 4215 | end | |
| 4216 | for i = 0, 49 do | |
| 4217 | swait() | |
| 4218 | rotation = rotation + 5 | |
| 4219 | sphere2(math.random(4,6),"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,1,5),-0.05,math.random(25,100)/25,-0.05,keptcolor) | |
| 4220 | sphere2(8,"Add",tors.CFrame,vt(poste/1.5,poste/1.5,poste/1.5),0.01,0.01,0.01,keptcolor) | |
| 4221 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
| 4222 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
| 4223 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
| 4224 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
| 4225 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
| 4226 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
| 4227 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
| 4228 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
| 4229 | 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)),.5) | |
| 4230 | 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)),.5) | |
| 4231 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.5) | |
| 4232 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.5) | |
| 4233 | 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))),.5) | |
| 4234 | 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))),.5) | |
| 4235 | end | |
| 4236 | ModeOfGlitch = 6000000000 | |
| 4237 | storehumanoidWS = 300 | |
| 4238 | hum.WalkSpeed = 300 | |
| 4239 | rainbowmode = false | |
| 4240 | chaosmode = false | |
| 4241 | RecolorTextAndRename("HARMONY",BrickColor.new("Toothpaste").Color,BrickColor.new("Cool yellow").Color,"Highway")
| |
| 4242 | newThemeCust("rbxassetid://170020261",0,1.005,1.5)
| |
| 4243 | MAINRUINCOLOR = BrickColor.new("Toothpaste")
| |
| 4244 | keptcolor = MAINRUINCOLOR | |
| 4245 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Cool yellow"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
| |
| 4246 | CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1)
| |
| 4247 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.75)
| |
| 4248 | sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(15,0,15),5,0,5,BrickColor.new("Cool yellow"))
| |
| 4249 | sphere2(2,"Add",x.CFrame*CFrame.new(0,0,0),vt(15,0,15),5,0,5,keptcolor) | |
| 4250 | sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("White"))
| |
| 4251 | sphere2(2,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("Cool yellow"))
| |
| 4252 | sphere2(4,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,keptcolor) | |
| 4253 | attack = false | |
| 4254 | hum.WalkSpeed = storehumanoidWS | |
| 4255 | for i = 0, 49 do | |
| 4256 | local rsiz = math.random(150,450) | |
| 4257 | sphere2(math.random(1,4),"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(25,500)/25,-0.05,BrickColor.new("Cool yellow"))
| |
| 4258 | sphere2(math.random(1,2),"Add",x.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))*CFrame.new(math.random(-350,350),math.random(-350,350),math.random(-350,350)),vt(1,1,1),-0.01,math.random(50,250)/10,-0.01,BrickColor.new("Cool yellow"))
| |
| 4259 | sphereMK(math.random(1,2),math.random(2,4),"Add",x.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,BrickColor.new("White"),0)
| |
| 4260 | end | |
| 4261 | coroutine.resume(coroutine.create(function() | |
| 4262 | local eff = Instance.new("ParticleEmitter",x)
| |
| 4263 | eff.Texture = "rbxassetid://284205403" | |
| 4264 | eff.LightEmission = 0.95 | |
| 4265 | eff.Color = ColorSequence.new(BrickColor.new("Cool yellow").Color)
| |
| 4266 | eff.Rate = 50000 | |
| 4267 | eff.Lifetime = NumberRange.new(2.5) | |
| 4268 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,75,0),NumberSequenceKeypoint.new(1,0.1,0)})
| |
| 4269 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 4270 | eff.Speed = NumberRange.new(250,1000) | |
| 4271 | eff.Drag = 5 | |
| 4272 | eff.Rotation = NumberRange.new(-500,500) | |
| 4273 | eff.VelocitySpread = 9000 | |
| 4274 | eff.RotSpeed = NumberRange.new(-500,500) | |
| 4275 | wait(0.5) | |
| 4276 | eff.Enabled = false | |
| 4277 | end)) | |
| 4278 | --[[for i, v in pairs(FindNearestHead(Torso.CFrame.p, 2000000000)) do | |
| 4279 | if v:FindFirstChild('Head') then
| |
| 4280 | dmg(v) | |
| 4281 | end | |
| 4282 | end]]-- | |
| 4283 | sphere2(3,"Add",tors.CFrame,vt(1,1,1),10,10,10,keptcolor) | |
| 4284 | sphere2(2,"Add",tors.CFrame,vt(1,1,1),10,10,10,BrickColor.new("Cool yellow"))
| |
| 4285 | sphere2(1,"Add",tors.CFrame,vt(1,1,1),10,10,10,BrickColor.new("White"))
| |
| 4286 | CameraEnshaking(8,10) | |
| 4287 | for i = 0, 99 do | |
| 4288 | swait() | |
| 4289 | rotation = rotation + 5 | |
| 4290 | poste = poste + 1 | |
| 4291 | upperpos = upperpos + rate | |
| 4292 | rate = rate + 0.1 | |
| 4293 | sphere2(math.random(1,2),"Add",x.CFrame*CFrame.new(math.random(-350,350),0,math.random(-350,350)),vt(5,1,5),-0.05,math.random(50,250)/50,-0.05,keptcolor) | |
| 4294 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,upperpos,poste),vt(5+upperpos/5,5+upperpos/5,5+upperpos/5),-0.05,-0.05,-0.05,BrickColor.new("Cool yellow"))
| |
| 4295 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90+rotation),0)*CFrame.new(0,upperpos,poste),vt(5+upperpos/5,5+upperpos/5,5+upperpos/5),-0.05,-0.05,-0.05,BrickColor.new("Cool yellow"))
| |
| 4296 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180+rotation),0)*CFrame.new(0,upperpos,poste),vt(5+upperpos/5,5+upperpos/5,5+upperpos/5),-0.05,-0.05,-0.05,BrickColor.new("Cool yellow"))
| |
| 4297 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270+rotation),0)*CFrame.new(0,upperpos,poste),vt(5+upperpos/5,5+upperpos/5,5+upperpos/5),-0.05,-0.05,-0.05,BrickColor.new("Cool yellow"))
| |
| 4298 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(-rotation),0)*CFrame.new(0,upperpos/2,poste*2),vt(5+upperpos/10,5+upperpos/10,5+upperpos/10),-0.05,-0.05,-0.05,keptcolor) | |
| 4299 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90-rotation),0)*CFrame.new(0,upperpos/2,poste*2),vt(5+upperpos/10,5+upperpos/10,5+upperpos/10),-0.05,-0.05,-0.05,keptcolor) | |
| 4300 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180-rotation),0)*CFrame.new(0,upperpos/2,poste*2),vt(5+upperpos/10,5+upperpos/10,5+upperpos/10),-0.05,-0.05,-0.05,keptcolor) | |
| 4301 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270-rotation),0)*CFrame.new(0,upperpos/2,poste*2),vt(5+upperpos/10,5+upperpos/10,5+upperpos/10),-0.05,-0.05,-0.05,keptcolor) | |
| 4302 | end | |
| 4303 | x:Destroy() | |
| 4304 | end | |
| 4305 | ||
| 4306 | function loveydovey() | |
| 4307 | attack = true | |
| 4308 | local keptcolor = MAINRUINCOLOR | |
| 4309 | hum.WalkSpeed = 0 | |
| 4310 | for i = 0, 5, 0.1 do | |
| 4311 | swait() | |
| 4312 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-6)),.1) | |
| 4313 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(0)),.1) | |
| 4314 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 4315 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(10),math.rad(0)),.1) | |
| 4316 | RW.C0=clerp(RW.C0,cf(1,0.5,-0.45)*angles(math.rad(22),math.rad(0),math.rad(-37)),.1) | |
| 4317 | LW.C0=clerp(LW.C0,cf(-1,0.5,-0.45)*angles(math.rad(23),math.rad(0),math.rad(38)),.1) | |
| 4318 | end | |
| 4319 | CameraEnshaking(4,9) | |
| 4320 | sphere2(2,"Add",root.CFrame,vt(5,5,5),0.5,0.5,0.5,keptcolor) | |
| 4321 | sphere2(2,"Add",root.CFrame,vt(5,5,5),0.75,0.75,0.75,keptcolor) | |
| 4322 | sphere2(3,"Add",root.CFrame,vt(5,5,5),1,1,1,keptcolor) | |
| 4323 | sphere2(3,"Add",root.CFrame,vt(5,5,5),1.25,1.25,1.25,keptcolor) | |
| 4324 | sphere2(1,"Add",root.CFrame,vt(5,10000,5),0.5,0.5,0.5,keptcolor) | |
| 4325 | sphere2(2,"Add",root.CFrame,vt(5,10000,5),0.6,0.6,0.6,keptcolor) | |
| 4326 | CFuncs["Sound"].Create("rbxassetid://763717897", char, 0.75, 1.25)
| |
| 4327 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 0.75, 1)
| |
| 4328 | coroutine.resume(coroutine.create(function() | |
| 4329 | local eff = Instance.new("ParticleEmitter",root)
| |
| 4330 | eff.Texture = "rbxassetid://363275192" | |
| 4331 | eff.LightEmission = 0.95 | |
| 4332 | eff.Color = ColorSequence.new(keptcolor.Color) | |
| 4333 | eff.Rate = 10000 | |
| 4334 | eff.Lifetime = NumberRange.new(1) | |
| 4335 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 4336 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 4337 | eff.Speed = NumberRange.new(50,200) | |
| 4338 | eff.Drag = 5 | |
| 4339 | eff.Rotation = NumberRange.new(-500,500) | |
| 4340 | eff.VelocitySpread = 9000 | |
| 4341 | eff.RotSpeed = NumberRange.new(-50,50) | |
| 4342 | wait(0.5) | |
| 4343 | eff.Enabled = false | |
| 4344 | wait(5) | |
| 4345 | eff:Destroy() | |
| 4346 | end)) | |
| 4347 | for i = 0, 49 do | |
| 4348 | local rsiz = math.random(70,90) | |
| 4349 | sphere2(math.random(1,4),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,1,5),-0.005,math.random(25,100)/25,-0.005,MAINRUINCOLOR) | |
| 4350 | end | |
| 4351 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
| |
| 4352 | CFuncs["Sound"].Create("rbxassetid://543623779", root, 1.5,1)
| |
| 4353 | newTheme("rbxassetid://736003449",0,1,2)
| |
| 4354 | ModeOfGlitch = 9600000000 | |
| 4355 | MAINRUINCOLOR = BrickColor.new("Hot pink")
| |
| 4356 | for i = 0, 1, 0.2 do | |
| 4357 | swait() | |
| 4358 | RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8) | |
| 4359 | LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8) | |
| 4360 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.1,0.05)*angles(math.rad(-10),math.rad(0),math.rad(0)),.8) | |
| 4361 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(20),math.rad(0)),.8) | |
| 4362 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(12),math.rad(0),math.rad(57)),.8) | |
| 4363 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(13),math.rad(0),math.rad(-58)),.8) | |
| 4364 | end | |
| 4365 | for i = 0, 9, 0.1 do | |
| 4366 | swait() | |
| 4367 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-6)),.1) | |
| 4368 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(0)),.1) | |
| 4369 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 4370 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(10),math.rad(0)),.1) | |
| 4371 | RW.C0=clerp(RW.C0,cf(1,0.5,-0.45)*angles(math.rad(22),math.rad(0),math.rad(-37)),.1) | |
| 4372 | LW.C0=clerp(LW.C0,cf(-1,0.5,-0.45)*angles(math.rad(23),math.rad(0),math.rad(38)),.1) | |
| 4373 | end | |
| 4374 | CameraEnshaking(2,11) | |
| 4375 | sphere2(2,"Add",root.CFrame,vt(5,5,5),0.75,0.75,0.75,BrickColor.new("Pink"))
| |
| 4376 | sphere2(2,"Add",root.CFrame,vt(5,5,5),1,1,1,BrickColor.new("Pink"))
| |
| 4377 | sphere2(3,"Add",root.CFrame,vt(5,5,5),1.25,1.25,1.25,MAINRUINCOLOR) | |
| 4378 | sphere2(3,"Add",root.CFrame,vt(5,5,5),1.5,1.5,1.5,MAINRUINCOLOR) | |
| 4379 | sphere2(1,"Add",root.CFrame,vt(5,10000,5),0.5,0.5,0.5,BrickColor.new("Pink"))
| |
| 4380 | sphere2(2,"Add",root.CFrame,vt(5,10000,5),1,1,1,MAINRUINCOLOR) | |
| 4381 | CFuncs["Sound"].Create("rbxassetid://763717897", char, 1, 1.125)
| |
| 4382 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 0.75)
| |
| 4383 | for i = 0, 49 do | |
| 4384 | local rsiz = math.random(70,90) | |
| 4385 | sphere2(math.random(1,4),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,1,5),-0.005,math.random(50,200)/25,-0.005,MAINRUINCOLOR) | |
| 4386 | sphereMK(math.random(1,2),math.random(1,3),"Add",root.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,BrickColor.new("Pink"),0)
| |
| 4387 | end | |
| 4388 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
| |
| 4389 | for i = 0, 1, 0.2 do | |
| 4390 | swait() | |
| 4391 | RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8) | |
| 4392 | LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8) | |
| 4393 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.1,0.05)*angles(math.rad(-10),math.rad(0),math.rad(0)),.8) | |
| 4394 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(20),math.rad(0)),.8) | |
| 4395 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(12),math.rad(0),math.rad(57)),.8) | |
| 4396 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(13),math.rad(0),math.rad(-58)),.8) | |
| 4397 | end | |
| 4398 | for i = 0, 1, 0.1 do | |
| 4399 | swait() | |
| 4400 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-6)),.1) | |
| 4401 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(0)),.1) | |
| 4402 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 4403 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(10),math.rad(0)),.1) | |
| 4404 | RW.C0=clerp(RW.C0,cf(1,0.5,-0.45)*angles(math.rad(22),math.rad(0),math.rad(-37)),.1) | |
| 4405 | LW.C0=clerp(LW.C0,cf(-1,0.5,-0.45)*angles(math.rad(23),math.rad(0),math.rad(38)),.1) | |
| 4406 | end | |
| 4407 | CameraEnshaking(9,14) | |
| 4408 | sphere2(4,"Add",root.CFrame,vt(5,5,5),1,1,1,BrickColor.new("Pink"))
| |
| 4409 | sphere2(4,"Add",root.CFrame,vt(5,5,5),2,2,2,BrickColor.new("Pink"))
| |
| 4410 | sphere2(9,"Add",root.CFrame,vt(5,5,5),3,3,3,MAINRUINCOLOR) | |
| 4411 | sphere2(9,"Add",root.CFrame,vt(5,5,5),4,4,4,MAINRUINCOLOR) | |
| 4412 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
| |
| 4413 | CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1)
| |
| 4414 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
| |
| 4415 | sphere2(1,"Add",root.CFrame,vt(5,5,5),2,2,2,BrickColor.new("Pink"))
| |
| 4416 | sphere2(1,"Add",root.CFrame,vt(5,5,5),3,3,3,BrickColor.new("Pink"))
| |
| 4417 | sphere2(1,"Add",root.CFrame,vt(5,5,5),4,4,4,BrickColor.new("Pink"))
| |
| 4418 | sphere2(1,"Add",root.CFrame,vt(5,10000,5),2.5,2.5,2.5,BrickColor.new("Pink"))
| |
| 4419 | sphere2(2,"Add",root.CFrame,vt(5,10000,5),3.5,3.5,3.5,MAINRUINCOLOR) | |
| 4420 | sphere2(1,"Add",root.CFrame,vt(5,5,5),8,8,8,BrickColor.new("Pink"))
| |
| 4421 | sphere2(2,"Add",root.CFrame,vt(5,5,5),14,14,14,MAINRUINCOLOR) | |
| 4422 | sphere2(3,"Add",root.CFrame,vt(5,5,5),20,20,20,MAINRUINCOLOR) | |
| 4423 | for i = 0, 99 do | |
| 4424 | local rsiz = math.random(150,450) | |
| 4425 | sphere2(math.random(1,4),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(25,500)/25,-0.05,BrickColor.new("Pink"))
| |
| 4426 | sphere2(math.random(1,2),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))*CFrame.new(math.random(-350,350),math.random(-350,350),math.random(-350,350)),vt(1,1,1),-0.01,math.random(50,250)/10,-0.01,MAINRUINCOLOR) | |
| 4427 | sphereMK(math.random(1,2),math.random(4,6),"Add",root.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,BrickColor.new("Pink"),0)
| |
| 4428 | end | |
| 4429 | coroutine.resume(coroutine.create(function() | |
| 4430 | local eff = Instance.new("ParticleEmitter",root)
| |
| 4431 | eff.Texture = "rbxassetid://749327003" | |
| 4432 | eff.LightEmission = 1 | |
| 4433 | eff.Color = ColorSequence.new(BrickColor.new("Pink").Color)
| |
| 4434 | eff.Rate = 50000 | |
| 4435 | eff.Lifetime = NumberRange.new(5) | |
| 4436 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,60,0),NumberSequenceKeypoint.new(1,0.1,0)})
| |
| 4437 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 4438 | eff.Speed = NumberRange.new(250,1000) | |
| 4439 | eff.Drag = 5 | |
| 4440 | eff.Rotation = NumberRange.new(-50,50) | |
| 4441 | eff.VelocitySpread = 9000 | |
| 4442 | eff.RotSpeed = NumberRange.new(-50,50) | |
| 4443 | wait(0.5) | |
| 4444 | eff.Enabled = false | |
| 4445 | wait(5) | |
| 4446 | eff:Destroy() | |
| 4447 | end)) | |
| 4448 | storehumanoidWS = 20 | |
| 4449 | rainbowmode = false | |
| 4450 | chaosmode = false | |
| 4451 | RecolorTextAndRename("LOVE",BrickColor.new("Pink").Color,BrickColor.new("Hot pink").Color,"Cartoon")
| |
| 4452 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
| |
| 4453 | for i = 0, 10, 0.1 do | |
| 4454 | swait() | |
| 4455 | sphere2(math.random(1,2),"Add",root.CFrame*CFrame.new(math.random(-350,350),0,math.random(-350,350)),vt(5,1,5),-0.05,math.random(50,250)/50,-0.05,MAINRUINCOLOR) | |
| 4456 | RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8) | |
| 4457 | LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8) | |
| 4458 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.1,0.05)*angles(math.rad(-10),math.rad(0),math.rad(0)),.8) | |
| 4459 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-15),math.rad(0),math.rad(0)),.8) | |
| 4460 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(97)),.8) | |
| 4461 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-27),math.rad(0),math.rad(-98)),.8) | |
| 4462 | end | |
| 4463 | hum.WalkSpeed = 20 | |
| 4464 | attack = false | |
| 4465 | end | |
| 4466 | ------------------------------------- | |
| 4467 | ||
| 4468 | Humanoid.Animator.Parent = nil | |
| 4469 | ||
| 4470 | ------------------------------------- | |
| 4471 | ||
| 4472 | local attacktype = 1 | |
| 4473 | mouse.Button1Down:connect(function() | |
| 4474 | if attack == false and attacktype == 1 then | |
| 4475 | attacktype = 2 | |
| 4476 | attackone() | |
| 4477 | elseif attack == false and attacktype == 2 then | |
| 4478 | attacktype = 3 | |
| 4479 | attacktwo() | |
| 4480 | elseif attack == false and attacktype == 3 then | |
| 4481 | attacktype = 1 | |
| 4482 | attackthree() | |
| 4483 | elseif attack == false and attacktype == 4 then | |
| 4484 | attacktype = 1 | |
| 4485 | --attackfour() | |
| 4486 | end | |
| 4487 | end) | |
| 4488 | ||
| 4489 | local OVMID = 1702473314 | |
| 4490 | local OVMPIT = 1 | |
| 4491 | local OVMVOL = 1 | |
| 4492 | mouse.KeyDown:connect(function(k) | |
| 4493 | if k == "1" and attack == false and ModeOfGlitch ~= 1 then | |
| 4494 | resetmode() | |
| 4495 | end | |
| 4496 | if k == "2" and attack == false and ModeOfGlitch ~= 2 then | |
| 4497 | ModeOfGlitch = 2 | |
| 4498 | storehumanoidWS = 16 | |
| 4499 | hum.WalkSpeed = 16 | |
| 4500 | rainbowmode = false | |
| 4501 | chaosmode = false | |
| 4502 | RecolorTextAndRename("Azure",Color3.new(0,0,0),BrickColor.new("Bright violet").Color,"Code")
| |
| 4503 | newTheme("rbxassetid://1003121377",0,1.02,1.25)
| |
| 4504 | MAINRUINCOLOR = BrickColor.new("Bright violet")
| |
| 4505 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR) | |
| 4506 | end | |
| 4507 | if k == "3" and attack == false and ModeOfGlitch ~= 3 then | |
| 4508 | ModeOfGlitch = 3 | |
| 4509 | storehumanoidWS = 16 | |
| 4510 | hum.WalkSpeed = 16 | |
| 4511 | rainbowmode = false | |
| 4512 | chaosmode = false | |
| 4513 | RecolorTextAndRename("BINARY",Color3.new(0,0,0),Color3.new(0,1,0),"SciFi")
| |
| 4514 | newTheme("rbxassetid://949709585",0,1.01,1.25)
| |
| 4515 | MAINRUINCOLOR = BrickColor.new("Lime green")
| |
| 4516 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR) | |
| 4517 | end | |
| 4518 | if k == "4" and attack == false and ModeOfGlitch ~= 4 then | |
| 4519 | ModeOfGlitch = 4 | |
| 4520 | storehumanoidWS = 16 | |
| 4521 | hum.WalkSpeed = 16 | |
| 4522 | rainbowmode = false | |
| 4523 | chaosmode = false | |
| 4524 | RecolorTextAndRename("Luna",Color3.new(0,0,0.25),BrickColor.new("Bright yellow").Color,"SourceSansBold")
| |
| 4525 | newTheme("rbxassetid://1449911189",0,1.02,1.25)
| |
| 4526 | MAINRUINCOLOR = BrickColor.new("Navy blue")
| |
| 4527 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR) | |
| 4528 | end | |
| 4529 | if k == "5" and attack == false and ModeOfGlitch ~= 5 then | |
| 4530 | ModeOfGlitch = 5 | |
| 4531 | storehumanoidWS = 16 | |
| 4532 | hum.WalkSpeed = 16 | |
| 4533 | rainbowmode = false | |
| 4534 | chaosmode = false | |
| 4535 | RecolorTextAndRename("Blaze",Color3.new(1,0.5,0),Color3.new(1,1,0),"Fantasy")
| |
| 4536 | newTheme("rbxassetid://933674871",0,1.01,1.25)
| |
| 4537 | MAINRUINCOLOR = BrickColor.new("Deep orange")
| |
| 4538 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR) | |
| 4539 | end | |
| 4540 | if k == "6" and attack == false and ModeOfGlitch ~= 6 then | |
| 4541 | ModeOfGlitch = 6 | |
| 4542 | storehumanoidWS = 100 | |
| 4543 | hum.WalkSpeed = 100 | |
| 4544 | rainbowmode = false | |
| 4545 | chaosmode = false | |
| 4546 | RecolorTextAndRename("GALACTIC",Color3.new(0,0,0.5),Color3.new(0.75,1,1),"Fantasy")
| |
| 4547 | newTheme("rbxassetid://258688195",0,1,1.25)
| |
| 4548 | MAINRUINCOLOR = BrickColor.new("Pastel light blue")
| |
| 4549 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR) | |
| 4550 | end | |
| 4551 | if k == "7" and attack == false and ModeOfGlitch ~= 7 then | |
| 4552 | ModeOfGlitch = 7 | |
| 4553 | storehumanoidWS = 175 | |
| 4554 | hum.WalkSpeed = 175 | |
| 4555 | rainbowmode = false | |
| 4556 | chaosmode = false | |
| 4557 | RecolorTextAndRename("HYPERSPEED",BrickColor.new("Cyan").Color,BrickColor.new("Toothpaste").Color,"Arcade")
| |
| 4558 | newTheme("rbxassetid://265293315",0,1.01,1.25)
| |
| 4559 | MAINRUINCOLOR = BrickColor.new("Cyan")
| |
| 4560 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR) | |
| 4561 | end | |
| 4562 | if k == "8" and attack == false and ModeOfGlitch ~= 8 then | |
| 4563 | ModeOfGlitch = 8 | |
| 4564 | storehumanoidWS = 100 | |
| 4565 | hum.WalkSpeed = 100 | |
| 4566 | rainbowmode = false | |
| 4567 | chaosmode = false | |
| 4568 | RecolorTextAndRename("CHAOTIC",BrickColor.new("Really red").Color,BrickColor.new("Bright red").Color,"Antique")
| |
| 4569 | newTheme("rbxassetid://1230880483",0,1.01,1.65)
| |
| 4570 | MAINRUINCOLOR = BrickColor.new("Really red")
| |
| 4571 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR) | |
| 4572 | end | |
| 4573 | if k == "9" and attack == false and ModeOfGlitch ~= 9 then | |
| 4574 | ModeOfGlitch = 9 | |
| 4575 | storehumanoidWS = 135 | |
| 4576 | hum.WalkSpeed = 135 | |
| 4577 | rainbowmode = false | |
| 4578 | chaosmode = false | |
| 4579 | RecolorTextAndRename("Visualiser",BrickColor.new("Medium stone grey").Color,BrickColor.new("Black").Color,"Arcade")
| |
| 4580 | newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
| |
| 4581 | MAINRUINCOLOR = BrickColor.new("Medium stone grey")
| |
| 4582 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR) | |
| 4583 | end | |
| 4584 | if k == "0" and attack == false and ModeOfGlitch ~= 10 then | |
| 4585 | ModeOfGlitch = 10 | |
| 4586 | storehumanoidWS = 12 | |
| 4587 | hum.WalkSpeed = 12 | |
| 4588 | rainbowmode = false | |
| 4589 | chaosmode = false | |
| 4590 | RecolorTextAndRename("Lucid Dream",BrickColor.new("Navy blue").Color,BrickColor.new("Black").Color,"Garamond")
| |
| 4591 | newTheme("rbxassetid://892260150",0,1.01,1.65)
| |
| 4592 | MAINRUINCOLOR = BrickColor.new("Black")
| |
| 4593 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR) | |
| 4594 | end | |
| 4595 | if k == "m" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 2000000000 then | |
| 4596 | ModeOfGlitch = 2000000000 | |
| 4597 | storehumanoidWS = 200 | |
| 4598 | hum.WalkSpeed = 200 | |
| 4599 | rainbowmode = false | |
| 4600 | chaosmode = false | |
| 4601 | RecolorTextAndRename("AZURE X",BrickColor.new("Dark indigo").Color,BrickColor.new("Magenta").Color,"Antique")
| |
| 4602 | newThemeCust("rbxassetid://949706199",2.9,1.02,1.5)
| |
| 4603 | MAINRUINCOLOR = BrickColor.new("Magenta")
| |
| 4604 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark indigo"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
| |
| 4605 | end | |
| 4606 | if k == "u" and attack == false and ModeOfGlitch ~= 9600000000 then | |
| 4607 | loveydovey() | |
| 4608 | end | |
| 4609 | if k == "m" and attack == false and ModeOfGlitch == 6 and ModeOfGlitch ~= 6000000000 then | |
| 4610 | UnknownA() | |
| 4611 | end | |
| 4612 | if k == "t" and ModeOfGlitch == 6000000000 and attack == false then | |
| 4613 | harmonytaunty() | |
| 4614 | elseif k == "t" and ModeOfGlitch == 9 and attack == false then | |
| 4615 | vistaunty() | |
| 4616 | elseif k == "t" and ModeOfGlitch == 9600000000 and attack == false then | |
| 4617 | shytaunty() | |
| 4618 | end | |
| 4619 | if k == "z" and ModeOfGlitch == 1 and attack == false then | |
| 4620 | Beams() | |
| 4621 | elseif k == "z" and ModeOfGlitch == 2 and attack == false then | |
| 4622 | smiter() | |
| 4623 | elseif k == "z" and ModeOfGlitch == 2000000000 and attack == false then | |
| 4624 | supsmiter() | |
| 4625 | elseif k == "z" and ModeOfGlitch == 3 and attack == false then | |
| 4626 | BinaryE() | |
| 4627 | elseif k == "z" and ModeOfGlitch == 4 and attack == false then | |
| 4628 | elseif k == "z" and ModeOfGlitch == 5 and attack == false then | |
| 4629 | Fireball() | |
| 4630 | elseif k == "z" and ModeOfGlitch == 6 and attack == false then | |
| 4631 | GalacticalBeams() | |
| 4632 | elseif k == "z" and ModeOfGlitch == 7 and attack == false then | |
| 4633 | WarpedDash() | |
| 4634 | elseif k == "z" and ModeOfGlitch == 8 and attack == false then | |
| 4635 | BeamOfDeath() | |
| 4636 | elseif k == "z" and ModeOfGlitch == 9 and attack == false then | |
| 4637 | end | |
| 4638 | if k == "x" and ModeOfGlitch == 3 and attack == false then | |
| 4639 | BinaryBLINK() | |
| 4640 | end | |
| 4641 | if k == "v" and ModeOfGlitch == 2000000000 and attack == false then | |
| 4642 | AZUREFINALE() | |
| 4643 | end | |
| 4644 | if k == "l" and mutedtog == false then | |
| 4645 | mutedtog = true | |
| 4646 | kan.Volume = 0 | |
| 4647 | elseif k == "l" and mutedtog == true then | |
| 4648 | mutedtog = false | |
| 4649 | kan.Volume = 1.25 | |
| 4650 | end | |
| 4651 | if k == "p" and toggleTag == false then | |
| 4652 | toggleTag = true | |
| 4653 | modet.TextTransparency = 0 | |
| 4654 | modet.TextStrokeTransparency = 0 | |
| 4655 | elseif k == "p" and toggleTag == true then | |
| 4656 | toggleTag = false | |
| 4657 | modet.TextTransparency = 1 | |
| 4658 | modet.TextStrokeTransparency = 1 | |
| 4659 | end | |
| 4660 | if k == "z" and attack == false and ModeOfGlitch == 1 then | |
| 4661 | end | |
| 4662 | end) | |
| 4663 | ||
| 4664 | plr.Chatted:connect(function(message) | |
| 4665 | if ModeOfGlitch == 9 then | |
| 4666 | if message:sub(1,5) == "play/" then | |
| 4667 | OVMID = message:sub(6) | |
| 4668 | newThemeCust("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
| |
| 4669 | elseif message:sub(1,6) == "pitch/" then | |
| 4670 | OVMPIT = message:sub(7) | |
| 4671 | newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
| |
| 4672 | elseif message:sub(1,4) == "vol/" then | |
| 4673 | OVMVOL = message:sub(5) | |
| 4674 | newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
| |
| 4675 | elseif message:sub(1,7) == "skipto/" then | |
| 4676 | chatfunc("Skipped to "..message:sub(8).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
| |
| 4677 | newThemeCust("rbxassetid://"..OVMID,message:sub(8),OVMPIT,OVMVOL)
| |
| 4678 | elseif message:sub(1,9) == "telltime/" then | |
| 4679 | chatfunc("Current time pos: "..math.floor(kan.TimePosition).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
| |
| 4680 | end | |
| 4681 | end | |
| 4682 | end) | |
| 4683 | local rotperm = 0 | |
| 4684 | coroutine.resume(coroutine.create(function() | |
| 4685 | while true do | |
| 4686 | swait() | |
| 4687 | if ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 2000000000 then | |
| 4688 | swait(0.5) | |
| 4689 | sphereMK(5,math.random(8,14)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-10,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.75,0.75,20,-0.0075,MAINRUINCOLOR,0) | |
| 4690 | elseif ModeOfGlitch == 5 then | |
| 4691 | swait(0.5) | |
| 4692 | local rsiz = math.random(1,3) | |
| 4693 | sphereMK(math.random(3,6),math.random(-25,25)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0) | |
| 4694 | sphereMK(math.random(6,9),math.random(-10,10)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-5,5)/50,math.random(-5,5)/50,math.random(-5,5)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/3,rsiz/3,rsiz/3,0,MAINRUINCOLOR,0) | |
| 4695 | elseif ModeOfGlitch == 9600000000 then | |
| 4696 | swait(0.25) | |
| 4697 | sphereMK(5,math.random(-14,-8)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.25,0.25,7.5,-0.0025,MAINRUINCOLOR,0) | |
| 4698 | elseif ModeOfGlitch == 6000000000 then | |
| 4699 | coroutine.resume(coroutine.create(function() | |
| 4700 | swait(5) | |
| 4701 | sphereMK(10,math.random(15,45)/45,"Add",root.CFrame*CFrame.new(math.random(-50,50),-40,math.random(-50,50))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,60,-0.01,MAINRUINCOLOR,0) | |
| 4702 | end)) | |
| 4703 | swait(1) | |
| 4704 | rotperm = rotperm + 12 | |
| 4705 | sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(rotperm),0)*CFrame.new(0,0,10),vt(3,3,3),-0.03,-0.03,-0.03,MAINRUINCOLOR) | |
| 4706 | sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(180 + rotperm),0)*CFrame.new(0,0,10),vt(3,3,3),-0.03,-0.03,-0.03,BrickColor.new("Cool yellow"))
| |
| 4707 | elseif ModeOfGlitch == 9 and kan.PlaybackLoudness >= 50 then | |
| 4708 | swait(25 - kan.PlaybackLoudness/80) | |
| 4709 | sphere2(4,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),0.25,0,0.25,MAINRUINCOLOR) | |
| 4710 | if kan.PlaybackLoudness >= 300 then | |
| 4711 | CameraEnshaking(1,3) | |
| 4712 | for i = 0, 4 do | |
| 4713 | sphereMK(5,math.random(15,35)/150,"Add",root.CFrame*CFrame.new(math.random(-15,15),-10,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,20,-0.01,MAINRUINCOLOR,0) | |
| 4714 | end | |
| 4715 | sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),0.5,0,0.5,MAINRUINCOLOR) | |
| 4716 | end | |
| 4717 | local notsp = Instance.new("Part", char)
| |
| 4718 | notsp.CanCollide = false | |
| 4719 | notsp.FormFactor = 3 | |
| 4720 | notsp.Name = "Ring" | |
| 4721 | notsp.Material = "Neon" | |
| 4722 | notsp.Size = Vector3.new(10, 1, 10) | |
| 4723 | if kan.PlaybackLoudness >= 300 then | |
| 4724 | notsp.Size = Vector3.new(25, 1, 25) | |
| 4725 | end | |
| 4726 | notsp.Transparency = 1 | |
| 4727 | notsp.TopSurface = 0 | |
| 4728 | notsp.BottomSurface = 0 | |
| 4729 | notsp.Anchored = true | |
| 4730 | notsp.CFrame = root.CFrame*CFrame.new(0,-3,0) | |
| 4731 | coroutine.resume(coroutine.create(function() | |
| 4732 | local eff = Instance.new("ParticleEmitter",notsp)
| |
| 4733 | eff.Texture = "rbxassetid://288898235" | |
| 4734 | eff.LightEmission = 0.5 | |
| 4735 | eff.Color = ColorSequence.new(Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)) | |
| 4736 | eff.Rate = 300 | |
| 4737 | eff.Lifetime = NumberRange.new(1) | |
| 4738 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 4739 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 4740 | eff.Speed = NumberRange.new(20,40) | |
| 4741 | eff.Acceleration = vt(0,-75,0) | |
| 4742 | eff.Drag = 1 | |
| 4743 | eff.Rotation = NumberRange.new(-10,10) | |
| 4744 | eff.VelocitySpread = 20 | |
| 4745 | eff.RotSpeed = NumberRange.new(-1,1) | |
| 4746 | coroutine.resume(coroutine.create(function() | |
| 4747 | while true do | |
| 4748 | swait() | |
| 4749 | if eff.Parent ~= nil then | |
| 4750 | if ModeOfGlitch == 9 then | |
| 4751 | eff.Color = ColorSequence.new(Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)) | |
| 4752 | elseif ModeOfGlitch ~= 9 then | |
| 4753 | eff.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 4754 | end | |
| 4755 | else | |
| 4756 | break | |
| 4757 | end | |
| 4758 | end | |
| 4759 | end)) | |
| 4760 | wait(0.1) | |
| 4761 | eff.Enabled = false | |
| 4762 | end)) | |
| 4763 | game:GetService("Debris"):AddItem(notsp, 5)
| |
| 4764 | end | |
| 4765 | end | |
| 4766 | end)) | |
| 4767 | ||
| 4768 | ||
| 4769 | Humanoid.Name = "GGLITCHER" | |
| 4770 | Humanoid.MaxHealth = math.huge | |
| 4771 | Humanoid.Health = math.huge | |
| 4772 | Instance.new("ForceField",char).Visible = false
| |
| 4773 | ||
| 4774 | idleanim=.4 | |
| 4775 | while true do | |
| 4776 | Humanoid.MaxHealth = math.huge | |
| 4777 | Humanoid.Health = math.huge | |
| 4778 | if mutedtog == false and duringend == false then | |
| 4779 | kan.Volume = currentVol | |
| 4780 | elseif mutedtog == true and duringend == false then | |
| 4781 | kan.Volume = 0 | |
| 4782 | end | |
| 4783 | if duringend == false then | |
| 4784 | kan.PlaybackSpeed = currentPitch | |
| 4785 | kan.Pitch = currentPitch | |
| 4786 | end | |
| 4787 | kan.SoundId = currentThemePlaying | |
| 4788 | kan.Looped = true | |
| 4789 | kan.Parent = char | |
| 4790 | kan:Resume() | |
| 4791 | ||
| 4792 | modeteller.Text = string.upper(modet.Text) | |
| 4793 | modeteller.TextColor3 = MAINRUINCOLOR.Color | |
| 4794 | ||
| 4795 | swait() | |
| 4796 | handlexweld.C0=clerp(handlexweld.C0,cf(0 + 0.25 * math.cos(sine / 63),0 + 0.25 * math.cos(sine / 70),0 + 0.05 * math.cos(sine / 57))*angles(math.rad(0 + 2 * math.cos(sine / 55)),math.rad(0 + 2 * math.cos(sine / 46)),math.rad(0 + 2 * math.cos(sine / 32))),.3) | |
| 4797 | ||
| 4798 | lwing1weld.C1=clerp(lwing1weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 36),0)*angles(math.rad(0 + 3 * math.cos(sine / 42)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 5 * math.cos(sine / 56))),.3) | |
| 4799 | lwing2weld.C1=clerp(lwing2weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 38),0)*angles(math.rad(0 + 3 * math.cos(sine / 45)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(130 + 5 * math.cos(sine / 56))),.3) | |
| 4800 | lwing3weld.C1=clerp(lwing3weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 41),0)*angles(math.rad(0 + 3 * math.cos(sine / 48)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(50 + 5 * math.cos(sine / 56))),.3) | |
| 4801 | rwing1weld.C1=clerp(rwing1weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 36),0)*angles(math.rad(0 + 3 * math.cos(sine / 46)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 5 * math.cos(sine / 56))),.3) | |
| 4802 | rwing2weld.C1=clerp(rwing2weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 38),0)*angles(math.rad(0 + 3 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-130 - 5 * math.cos(sine / 56))),.3) | |
| 4803 | rwing3weld.C1=clerp(rwing3weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 41),0)*angles(math.rad(0 + 3 * math.cos(sine / 40)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-50 - 5 * math.cos(sine / 56))),.3) | |
| 4804 | --------------- Visualiser Zone | |
| 4805 | if ModeOfGlitch == 9 then | |
| 4806 | modet.TextColor3 = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
| 4807 | for i, v in pairs(mw2:GetChildren()) do | |
| 4808 | if v:IsA("Part") then
| |
| 4809 | v.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
| 4810 | v.Material = "Neon" | |
| 4811 | end | |
| 4812 | end | |
| 4813 | for i, v in pairs(mw1:GetChildren()) do | |
| 4814 | if v:IsA("Part") then
| |
| 4815 | v.Transparency = 0 | |
| 4816 | v.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
| 4817 | v.Material = "Neon" | |
| 4818 | end | |
| 4819 | end | |
| 4820 | end | |
| 4821 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
| 4822 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
| 4823 | --------------- | |
| 4824 | sine = sine + change | |
| 4825 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
| 4826 | local velderp=RootPart.Velocity.y | |
| 4827 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
| 4828 | if equipped==true or equipped==false then | |
| 4829 | if attack==false then | |
| 4830 | idle=idle+1 | |
| 4831 | else | |
| 4832 | idle=0 | |
| 4833 | end | |
| 4834 | if idle>=500 then | |
| 4835 | if attack==false then | |
| 4836 | --Sheath() | |
| 4837 | end | |
| 4838 | end | |
| 4839 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
| 4840 | Anim="Jump" | |
| 4841 | if attack==false then | |
| 4842 | 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) | |
| 4843 | 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) | |
| 4844 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-tors.Velocity.Y/6),math.rad(0),math.rad(0)),.1) | |
| 4845 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1) | |
| 4846 | 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) | |
| 4847 | 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) | |
| 4848 | end | |
| 4849 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
| 4850 | Anim="Fall" | |
| 4851 | if attack==false then | |
| 4852 | 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) | |
| 4853 | 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) | |
| 4854 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-tors.Velocity.Y/6),math.rad(0),math.rad(0)),.1) | |
| 4855 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1) | |
| 4856 | 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) | |
| 4857 | 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) | |
| 4858 | end | |
| 4859 | elseif torvel<1 and hitfloor~=nil then | |
| 4860 | Anim="Idle" | |
| 4861 | if attack==false then | |
| 4862 | if ModeOfGlitch == 1 then | |
| 4863 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-10 + 2 * math.cos(sine / 43)),math.rad(0 - 2 * math.cos(sine / 34))),.1) | |
| 4864 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0 + 2 * math.cos(sine / 34))),.1) | |
| 4865 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(10 - 2 * math.cos(sine / 43))),.1) | |
| 4866 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0 - 2 * math.cos(sine / 47)),math.rad(-10 + 2 * math.cos(sine / 43))),.1) | |
| 4867 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 + 3 * math.cos(sine / 48)),math.rad(-20 - 4 * math.cos(sine / 53)),math.rad(15 - 3 * math.cos(sine / 38))),.1) | |
| 4868 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-10 + 2 * math.cos(sine / 45)),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 39))),.1) | |
| 4869 | elseif ModeOfGlitch == 2 then | |
| 4870 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) - 0.03 * math.cos(sine / 45),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-7.5 + 3 * math.cos(sine / 45)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 34))),.1) | |
| 4871 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) + 0.03 * math.cos(sine / 45),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5 - 3 * math.cos(sine / 45)),math.rad(5),math.rad(0 + 2 * math.cos(sine / 34))),.1) | |
| 4872 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.03 * math.cos(sine / 45),0 + 0.02 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0 + 3 * math.cos(sine / 45)),math.rad(0)),.1) | |
| 4873 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 - 2.5 * math.cos(sine / 28)),math.rad(0 + 5 * math.cos(sine / 99)),math.rad(0 + 10 * math.cos(sine / 78))),.1) | |
| 4874 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15 + 5 * math.cos(sine / 33)),math.rad(15 + 6 * math.cos(sine / 38)),math.rad(-10 - 3 * math.cos(sine / 42))),.1) | |
| 4875 | LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 5 * math.cos(sine / 28))),.1) | |
| 4876 | elseif ModeOfGlitch == 10 then | |
| 4877 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -0.1 + 0.1 * math.cos(sine / 20)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) | |
| 4878 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-2.5 * math.sin(sine / 20)), math.rad(0), math.rad(0)), 0.3) | |
| 4879 | RH.C0 = clerp(RH.C0, CFrame.new(1, -0.9 - 0.1 * math.cos(sine / 20), 0.025 * math.cos(sine / 20)) * RHCF * angles(math.rad(-4.5), math.rad(0), math.rad(0)), 0.15) | |
| 4880 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.9 - 0.1 * math.cos(sine / 20), 0.025 * math.cos(sine / 20)) * LHCF * angles(math.rad(-6.5), math.rad(0), math.rad(0)), 0.15) | |
| 4881 | RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.4 + 0.05 * math.sin(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(-0), math.rad(-30)), 0.1) | |
| 4882 | LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.4 + 0.05 * math.cos(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.1) | |
| 4883 | elseif ModeOfGlitch == 3 then | |
| 4884 | 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(-5 - 2 * math.cos(sine / 34))),.1) | |
| 4885 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(20 - 2 * math.cos(sine / 72)),math.rad(0 + 2 * math.cos(sine / 34))),.1) | |
| 4886 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 72))),.1) | |
| 4887 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0 + 4 * math.cos(sine / 55)),math.rad(20 - 2 * math.cos(sine / 72))),.1) | |
| 4888 | RW.C0=clerp(RW.C0,cf(1.15,0.5 + 0.1 * math.cos(sine / 28),0.25)*angles(math.rad(-22 + 2 * math.cos(sine / 38)),math.rad(0),math.rad(-15 - 2 * math.cos(sine / 41))),.1) | |
| 4889 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 - 6 * math.cos(sine / 28)),math.rad(0 + 5 * math.cos(sine / 46)),math.rad(-20 + 5 * math.cos(sine / 34))),.1) | |
| 4890 | elseif ModeOfGlitch == 4 then | |
| 4891 | 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(-5),math.rad(0 - 3 * math.cos(sine / 34))),.1) | |
| 4892 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(10 + 3 * math.cos(sine / 34))),.1) | |
| 4893 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.03 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(25)),.1) | |
| 4894 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0 + 2 * math.cos(sine / 57)),math.rad(-25)),.1) | |
| 4895 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 + 5 * math.cos(sine / 34)),math.rad(0),math.rad(21 + 6 * math.cos(sine / 28))),.1) | |
| 4896 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-5 + 5 * math.cos(sine / 43)),math.rad(10 - 5 * math.cos(sine / 27)),math.rad(-5 - 3 * math.cos(sine / 36))),.1) | |
| 4897 | elseif ModeOfGlitch == 5 then | |
| 4898 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) - 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1 + 4 * math.cos(sine / 50)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 34))),.1) | |
| 4899 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) + 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5 - 4 * math.cos(sine / 50)),math.rad(18),math.rad(0 + 2 * math.cos(sine / 34))),.1) | |
| 4900 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.04 * math.cos(sine / 50),0 + 0.03 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 + 4 * math.cos(sine / 50)),math.rad(-18)),.1) | |
| 4901 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(-5 - 2.5 * math.cos(sine / 57)),math.rad(18)),.1) | |
| 4902 | RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(36 - 3 * math.cos(sine / 34)),math.rad(0 - 2 * math.cos(sine / 45)),math.rad(-80 + 5 * math.cos(sine / 28))),.1) | |
| 4903 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(7 + 3 * math.cos(sine / 49)),math.rad(12 + 2 * math.cos(sine / 52)),math.rad(-16 - 6 * math.cos(sine / 39))),.1) | |
| 4904 | elseif ModeOfGlitch == 6 then | |
| 4905 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(-10 + 4 * math.cos(sine / 34))),.1) | |
| 4906 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(5 + 2 * math.cos(sine / 34))),.1) | |
| 4907 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-5 - 2 * math.cos(sine / 53))),.1) | |
| 4908 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(2 + 3 * math.cos(sine / 41)),math.rad(5 + 2 * math.cos(sine / 53))),.1) | |
| 4909 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-2 - 4 * math.cos(sine / 28)),math.rad(0),math.rad(14 + 8 * math.cos(sine / 28))),.1) | |
| 4910 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(5 + 3 * math.cos(sine / 46)),math.rad(10 + 5 * math.cos(sine / 52)),math.rad(-15 - 6 * math.cos(sine / 28))),.1) | |
| 4911 | elseif ModeOfGlitch == 7 then | |
| 4912 | 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(1),math.rad(0 - 1 * math.cos(sine / 34))),.1) | |
| 4913 | 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(5),math.rad(0 + 1 * math.cos(sine / 34))),.1) | |
| 4914 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.01 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
| 4915 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0 + 1 * math.cos(sine / 71)),math.rad(0)),.1) | |
| 4916 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(4 - 4 * math.cos(sine / 28)),math.rad(-8),math.rad(10 - 5 * math.cos(sine / 34))),.1) | |
| 4917 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(5),math.rad(5),math.rad(5)),.1) | |
| 4918 | elseif ModeOfGlitch == 8 then | |
| 4919 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(-10 + 5 * math.cos(sine / 34))),.1) | |
| 4920 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.25),math.rad(0),math.rad(6 + 2 * math.cos(sine / 34))),.1) | |
| 4921 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-26 + 2 * math.cos(sine / 44))),.1) | |
| 4922 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 - 1 * math.cos(sine / 28)),math.rad(-5 + 3 * math.cos(sine / 47)),math.rad(26 - 2 * math.cos(sine / 44))),.1) | |
| 4923 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-2 - 3 * math.cos(sine / 30)),math.rad(25 - 3 * math.cos(sine / 38)),math.rad(28 - 6 * math.cos(sine / 34))),.1) | |
| 4924 | LW.C0=clerp(LW.C0,cf(-0.95,0.65 + 0.075 * math.cos(sine / 28),-0.65)*angles(math.rad(90 + 2 * math.cos(sine / 73)),math.rad(25 + 5 * math.cos(sine / 24)),math.rad(73 - 3 * math.cos(sine / 65))),.1) | |
| 4925 | elseif ModeOfGlitch == 9 then | |
| 4926 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/5000,-0.1)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(0 - 2 * math.cos(sine / 56) + kan.PlaybackLoudness/450)),.4) | |
| 4927 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - kan.PlaybackLoudness/6500,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(5),math.rad(0 + 2 * math.cos(sine / 56) + kan.PlaybackLoudness/500)),.4) | |
| 4928 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 56) ,0 + 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/7000)*angles(math.rad(0 - 2 * math.cos(sine / 56)),math.rad(0),math.rad(30)),.4) | |
| 4929 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2 * math.cos(sine / 28) - kan.PlaybackLoudness/60),math.rad(0 + 2 * math.cos(sine / 73)),math.rad(-30)),.4) | |
| 4930 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(40 + 5 * math.cos(sine / 34) + kan.PlaybackLoudness/7.5),math.rad(0),math.rad(28 - 2 * math.cos(sine / 38))),.4) | |
| 4931 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(10),math.rad(5),math.rad(7.5)),.4) | |
| 4932 | elseif ModeOfGlitch == 2000000000 then | |
| 4933 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 5 * math.cos(sine / 34))),.1) | |
| 4934 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 3 * math.cos(sine / 34))),.1) | |
| 4935 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(2 + 3 * math.cos(sine / 34)),math.rad(0),math.rad(34 - 3 * math.cos(sine / 54))),.1) | |
| 4936 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 4 * math.cos(sine / 28)),math.rad(0 - 1 * math.cos(sine / 44)),math.rad(-34 + 3 * math.cos(sine / 54))),.1) | |
| 4937 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(12 + 5 * math.cos(sine / 62)),math.rad(30 + 5 * math.cos(sine / 48)),math.rad(19 + 6 * math.cos(sine / 36))),.1) | |
| 4938 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 + 3 * math.cos(sine / 65)),math.rad(6 + 3 * math.cos(sine / 57)),math.rad(-20 - 7 * math.cos(sine / 36))),.1) | |
| 4939 | elseif ModeOfGlitch == 6000000000 then | |
| 4940 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(-15 + 6 * math.cos(sine / 34))),.1) | |
| 4941 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(7.5 - 4 * math.cos(sine / 47))),.1) | |
| 4942 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(-1 + 4 * math.cos(sine / 62))),.1) | |
| 4943 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 28)),math.rad(5 - 6 * math.cos(sine / 79)),math.rad(1 - 4 * math.cos(sine / 62))),.1) | |
| 4944 | RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.01 * math.cos(sine / 28),-0.65)*angles(math.rad(38 + 2 * math.cos(sine / 33)),math.rad(0),math.rad(-95 - 3 * math.cos(sine / 28))),.1) | |
| 4945 | LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.01 * math.cos(sine / 28),-0.65)*angles(math.rad(45 - 3 * math.cos(sine / 37)),math.rad(0),math.rad(80 + 5 * math.cos(sine / 30))),.1) | |
| 4946 | elseif ModeOfGlitch == 9600000000 then | |
| 4947 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7 - 5 * math.cos(sine / 44)),math.rad(0),math.rad(-6 - 3 * math.cos(sine / 34))),.1) | |
| 4948 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 + 5 * math.cos(sine / 44)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 34))),.1) | |
| 4949 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.05 * math.cos(sine / 44),0 + 0.03 * math.cos(sine / 34),-0.05 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 - 5 * math.cos(sine / 44)),math.rad(-5)),.1) | |
| 4950 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5 - 2.5 * math.cos(sine / 28)),math.rad(10 + 5 * math.cos(sine / 62)),math.rad(17 + 5 * math.cos(sine / 59))),.1) | |
| 4951 | RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(22 - 3 * math.cos(sine / 53)),math.rad(0),math.rad(-37 + 2 * math.cos(sine / 37))),.1) | |
| 4952 | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(23 - 2 * math.cos(sine / 58)),math.rad(0),math.rad(38 - 3 * math.cos(sine / 57) )),.1) | |
| 4953 | end | |
| 4954 | end | |
| 4955 | elseif torvel>2 and torvel<22 and hitfloor~=nil then | |
| 4956 | Anim="Walk" | |
| 4957 | if attack==false then | |
| 4958 | if ModeOfGlitch == 10 then | |
| 4959 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.175 + 0.025 * math.cos(sine / 3.5) + -math.sin(sine / 3.5) / 7) * angles(math.rad(4-2.5 * math.cos(sine / 3.5)), math.rad(0) - root.RotVelocity.Y / 75, math.rad(5 * math.cos(sine / 7))), 0.15) | |
| 4960 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-2.5 * math.sin(sine / 20)), math.rad(0), math.rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
| 4961 | RH.C0 = clerp(RH.C0, cf(1, -0.925 - 0.5 * math.cos(sine / 7) / 2, 0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 - 5 * math.cos(sine / 7)) - rl.RotVelocity.Y / 75 + -math.sin(sine / 7) / 2.5, math.rad(90 - 0.1 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 + 0.1 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3) | |
| 4962 | LH.C0 = clerp(LH.C0, cf(-1, -0.925 + 0.5 * math.cos(sine / 7) / 2, -0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 + 5 * math.cos(sine / 7)) + ll.RotVelocity.Y / 75 + math.sin(sine / 7) / 2.5, math.rad(-90 - 0.1 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 - 0.1 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3) | |
| 4963 | RW.C0 = clerp(RW.C0, cf(1.1, 0.4 + 0.05 * math.sin(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(-0), math.rad(-30)), 0.1) | |
| 4964 | LW.C0 = clerp(LW.C0, cf(-1.1, 0.4 + 0.05 * math.sin(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.1) | |
| 4965 | elseif ModeOfGlitch ~= 9600000000 then | |
| 4966 | 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) | |
| 4967 | 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) | |
| 4968 | 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) | |
| 4969 | 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) | |
| 4970 | 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) | |
| 4971 | 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) | |
| 4972 | elseif ModeOfGlitch == 9600000000 then | |
| 4973 | 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 + 10 * math.cos(sine / 8)),math.rad(0 + 65 * math.cos(sine / 8))),.1) | |
| 4974 | 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 + 10 * math.cos(sine / 8)),math.rad(0 + 65 * math.cos(sine / 8))),.1) | |
| 4975 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.1,-0.05 + 0.05 * math.cos(sine / 4))*angles(math.rad(15 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 10 * math.cos(sine / 8))),.1) | |
| 4976 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-15 + 3 * math.cos(sine / 4)),math.rad(0 - 10 * math.cos(sine / 8)),math.rad(0 - hed.RotVelocity.Y*2.5 + 10 * math.cos(sine / 8))),.1) | |
| 4977 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 80 * math.cos(sine / 8)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 4))),.1) | |
| 4978 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 80 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1) | |
| 4979 | end | |
| 4980 | end | |
| 4981 | elseif torvel>=22 and hitfloor~=nil then | |
| 4982 | Anim="Run" | |
| 4983 | if attack==false then | |
| 4984 | if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 2000000000 and ModeOfGlitch ~= 6000000000 then | |
| 4985 | 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 + 85 * math.cos(sine / 6))),.1) | |
| 4986 | 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 + 85 * math.cos(sine / 6))),.1) | |
| 4987 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sine / 3))*angles(math.rad(15 - 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - root.RotVelocity.Y - 10 * math.cos(sine / 6))),.1) | |
| 4988 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5 + 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 10 * math.cos(sine / 6))),.1) | |
| 4989 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.5 * math.cos(sine / 6))*angles(math.rad(0 - 140 * math.cos(sine / 6)),math.rad(0),math.rad(5 - 20 * math.cos(sine / 3))),.1) | |
| 4990 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.5 * math.cos(sine / 6))*angles(math.rad(0 + 140 * math.cos(sine / 6)),math.rad(0),math.rad(-5 + 20 * math.cos(sine / 3))),.1) | |
| 4991 | if ModeOfGlitch == 7 then | |
| 4992 | sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),8)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,20,-0.0075,MAINRUINCOLOR,0) | |
| 4993 | sphereMK(3,0,"Add",root.CFrame*CFrame.new(0,0,8)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,5,20,-0.0075,MAINRUINCOLOR,0) | |
| 4994 | end | |
| 4995 | elseif ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 2000000000 or ModeOfGlitch == 6000000000 then | |
| 4996 | 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) | |
| 4997 | 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) | |
| 4998 | 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) | |
| 4999 | 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) | |
| 5000 | 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) | |
| 5001 | 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) | |
| 5002 | end | |
| 5003 | end | |
| 5004 | end | |
| 5005 | end | |
| 5006 | end |