Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Lightning Cannon (FE Version)
- Edit by NGC4637
- you should use this hat (not required): https://www.roblox.com/catalog/4623059912/Starslayer-Railgun
- ]]--
- --usage
- local FEService = loadstring(game:HttpGetAsync("https://raw.githubusercontent.com/WhyGitHubb/FEService/main/main.lua"))()
- FEService:FullNetwork()
- print(game.Players.LocalPlayer.SimulationRadius)
- local PS = game:GetService("Players")
- local RnS = game:GetService("RunService")
- local DB = game:GetService("Debris")
- local TS = game:GetService("TweenService")
- local plr = PS.LocalPlayer
- local frame = 1/60
- local frame1260 = 12/60
- local frame30 = 1/30
- local stopeverything = false
- if _G.ResetBind then
- _G.ResetBind:Fire()
- plr.CharacterAdded:Wait()
- task.wait(1)
- end
- if plr.Character and plr.Character:FindFirstChildOfClass("ForceField") then
- plr.Character:FindFirstChildOfClass("ForceField"):Destroy()
- end
- Bypass = "death"
- loadstring(game:GetObjects("rbxassetid://5325226148")[1].Source)()
- local dti = TweenInfo.new(frame, Enum.EasingStyle.Linear)
- local dti2 = TweenInfo.new(frame1260, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut)
- local function tweenc(w, cf)
- pcall(function() TS:Create(w, dti, {C0 = cf}):Play() end)
- end
- local function tweenc2(w, cf)
- pcall(function() TS:Create(w, dti2, {C0 = cf}):Play() end)
- end
- local function tweenc1(w, cf)
- pcall(function() TS:Create(w, dti, {C1 = cf}):Play() end)
- end
- local function tween(p, props)
- pcall(function() TS:Create(p, dti, props):Play() end)
- end
- local function tfind(t, val)
- for i, v in ipairs(t) do
- if val == v then
- return i
- end
- end
- end
- local chr = plr.Character
- local m = plr:GetMouse()
- local larm = chr:WaitForChild("Left Arm")
- local rarm = chr:WaitForChild("Right Arm")
- local lleg = chr:WaitForChild("Left Leg")
- local rleg = chr:WaitForChild("Right Leg")
- local h = chr:WaitForChild("Head")
- local tor = chr:WaitForChild("Torso")
- local hum = chr:WaitForChild("Humanoid")
- local root = chr:WaitForChild("HumanoidRootPart")
- local cam = workspace.CurrentCamera
- local nophys = PhysicalProperties.new(0, 0, 0, 0, 0)
- for _, v in ipairs(chr:GetChildren()) do
- if v:IsA("Accessory") then
- local h = v.Handle
- h.Massless = true
- h.CustomPhysicalProperties = nophys
- end
- end
- local function netl(p)
- pcall(function() p.Massless = true end)
- pcall(function() p.CustomPhysicalProperties = nophys end)
- end
- netl(h)
- netl(tor)
- netl(rarm)
- netl(larm)
- netl(rleg)
- netl(lleg)
- netl(root)
- warn("Netless Activated!")
- local bullet = workspace[plr.Name].HumanoidRootPart
- bullet.Transparency = 0.8
- bhandle = bullet
- bullet.Massless = true
- local lt = true
- local ltt = false
- local function firstperson()
- return (h.CFrame.Position - cam.CFrame.Position).Magnitude < 1
- end
- local function create(cls, par, props)
- local ins = Instance.new(cls)
- local p = par
- for i, v in pairs(props) do
- if tostring(i) == "Parent" and not p then
- p = v
- else
- pcall(function() ins[i] = v end)
- end
- end
- if p then ins.Parent = p end
- return ins
- end
- local function swait(num)
- task.wait((num and math.clamp(num, 0, math.huge) or 1)/60)
- end
- local function Clerp(ae, be, te)
- return ae:Lerp(be, math.clamp(te, 0, 1))
- end
- local bbv = create("BodyPosition", bhandle, {Position = tor.CFrame.Position})
- local attackingwithhrp = false
- create("BodyAngularVelocity", bhandle, {Name = "lmaoaoaoaoaoa", MaxTorque = Vector3.new(math.huge, math.huge, math.huge), P = 1000000000000000000000000000, AngularVelocity = Vector3.new(10^26, 10^26, 10^26)})
- m.Button1Down:Connect(function()
- attackingwithhrp = true
- local qeuiqwioeoqweuoiqw
- qeuiqwioeoqweuoiqw = RnS.Heartbeat:Connect(function()
- if not qeuiqwioeoqweuoiqw.Connected then return end
- if not attackingwithhrp or stopeverything then qeuiqwioeoqweuoiqw:Disconnect() return end
- if m.Target then
- bullet.Position = m.Hit.Position
- end
- end)
- lt = false
- ltt = false
- if not m.Target then return end
- local targ = m.Target
- if PS:GetPlayerFromCharacter(targ.Parent) then
- if targ.Parent.Name == chr.Name or m.Target.Parent.Name == "non" then return end
- if not targ.Parent:FindFirstChild("HumanoidRootPart") then return end
- local pos = CFrame.new(targ.Parent.HumanoidRootPart.CFrame.Position, tor.CFrame.Position).Position
- RnS.RenderStepped:Wait()
- bhandle.Position = pos
- task.wait(1)
- elseif targ.Parent.Parent and PS:GetPlayerFromCharacter(targ.Parent.Parent) then
- if targ.Parent.Name == chr.Name or m.Target.Parent.Name == "non" then return end
- if not targ.Parent.Parent:FindFirstChild("HumanoidRootPart") then return end
- local pos = CFrame.new(targ.Parent.Parent.HumanoidRootPart.CFrame.Position, tor.CFrame.Position).Position
- RnS.RenderStepped:Wait()
- bhandle.Position = pos
- task.wait(1)
- else
- RnS.RenderStepped:Wait()
- task.wait(1)
- end
- task.wait(frame30)
- lt = true
- end)
- m.Button1Up:Connect(function()
- attackingwithhrp = false
- end)
- local qweoqweqeoqioqw
- qweoqweqeoqioqw = RnS.Heartbeat:Connect(function()
- if not qweoqweqeoqioqw.Connected then return end
- if not bullet.Parent or stopeverything then qweoqweqeoqioqw:Disconnect() return end
- bullet.Velocity = Vector3.new(0, 26, 0)
- end)
- local LoadLibrary = game:GetObjects("rbxassetid://8299466510")[1]
- warn("NOTICE | THIS SCRIPT WASNT CONVERTED ALL BY ME, ALL CREDITS GOTO ALSOO3 FOR CONVERTING IT AND GIVING ME ACCESS. I FIXED FUNCTIONS AND REMOVED BROKEN THINGS")
- local function Align(Part0, Part1, Position, Angle)
- if Part0:FindFirstChild("Attachment") then
- Part0:FindFirstChild("Attachment"):Destroy()
- end
- local atc1 = create("Attachment", Part0, {})
- local atc2 = create("Attachment", Part1, {Position = Position or Vector3.zero, Orientation = Angle or Vector3.zero})
- local alp = create("AlignPosition", Part0, {Attachment0 = atc1, Attachment1 = atc2, MaxForce = math.huge, MaxVelocity = math.huge, ReactionForceEnabled = false, Responsiveness = 200, ApplyAtCenterOfMass = true, RigidityEnabled = true})
- local alo = create("AlignOrientation", Part0, {Attachment0 = atc1, Attachment1 = atc2, MaxTorque = math.huge, MaxAngularVelocity = math.huge, PrimaryAxisOnly = false, Responsiveness = 200, RigidityEnabled = false, ReactionTorqueEnabled = false})
- local qowieuioqweuiq
- qowieuioqweuiq = RnS.Heartbeat:Connect(function()
- if not qowieuioqweuiq.Connected then return end
- if not Part0.Parent or stopeverything then qowieuioqweuiq:Disconnect() return end
- Part0.Velocity = Vector3.new(-29.99, 0, 0)
- end)
- if Part0.Parent:IsA("Accessory") then
- Part0:BreakJoints()
- end
- end
- stupidaudios = {6136889498,6292270197,5127063380,5747795632,6231908115,1845756489,5971920694,35930009,2681542649,290182215,3223632353,6332608471,4568024466,6174456295,844654533,2740998756,6372483829,1431922590,853707984,227499602,1245089023,272106829,169803200,3208758673,4538419460,3337479905,2952541965,516046413,328792905,4218637880,3237542680}
- local function randomstring()
- local txt = ""
- for i = 1, math.random(10, 20) do
- txt ..= string.char(math.random(14, 126))
- end
- return txt
- end
- local function otherrandomstring(length)
- local txt = ""
- for i = 1, length do
- txt ..= string.char(math.random(14, 255))
- end
- return txt
- end
- local function otherrandomstring2(length,randmin,randmax)
- local txt = ""
- for i = 1, length do
- txt ..= string.char(math.random(randmin, randmax))
- end
- return txt
- end
- local function minutes(num)
- return num*60
- end
- local plr = game:GetService("Players").LocalPlayer
- local sine = 0
- local NeckSnap = false
- local USERNAME = plr.Name
- local peoplez = {1191576743,1823895019,87867914,1308783007,112192467,732341111,115130006,1710676584,1442214824,1615916525,1442218084,1673231425,1310685079,1087181414,984151503,1442167487,1587587028,1441994738,1129585258,1129586211,275036820,1087264812,1087241085,1318469264,1622394251,663322373,1664828681,930999813,1442217078,1442208195,1340979865,1444403544,1664860157,1442285617,1442213697,1442218738,1442229346,1442213021,1124518548,1129587486,1186716325}
- local owner = {0,1823895019,0,1308783007,0,0,0,1710676584,1442214824,1615916525,1442218084,1673231425,1310685079,1087181414,984151503,1442167487,1587587028,1441994738,1129585258,1129586211,275036820,1087264812,1087241085,1318469264,1622394251,663322373,1664828681,930999813,1442217078,1442208195,1340979865,1444403544,1664860157,1442285617,1442213697,1442218738,1442229346,1442213021,1124518548,1129587486,1186716325}
- local isowner = false
- local rickrolling = false
- local USERID = plr.UserId
- local taunt = {Value = "None"}
- local songid = {Value = "rbxassetid://3247404955"}
- local attack = false
- local walkspeed = 50
- local TauntRemote = {}
- local SongSync = {Value = 0}
- local ISFLYING = false
- local antivoid = nil
- local char = workspace.non
- local character = plr.Character
- local Mouse, mouse, MOUSE, M = m, m, m, m
- local S = 1
- local eeeblock = Instance.new("Part")
- local Humanoid = char.Humanoid
- Humanoid.Animator:Destroy()
- --Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead,false)
- local LeftArm = char["Left Arm"]
- local RightArm = char["Right Arm"]
- local LeftLeg = char["Left Leg"]
- local RightLeg = char["Right Leg"]
- local Head = char.Head
- local Torso = char.Torso
- local RootPart = char.HumanoidRootPart
- local RootJoint = RootPart.RootJoint
- local Neck = Torso["Neck"]
- local RightShoulder = Torso["Right Shoulder"]
- local LeftShoulder = Torso["Left Shoulder"]
- local RightHip = Torso["Right Hip"]
- local LeftHip = Torso["Left Hip"]
- local Effects = nil
- local Eyes = nil
- local Replica = game:GetObjects("rbxassetid://7921736307")[1]
- local GUN = Replica.MegaGunnModel
- GUN.Parent = char
- local GJ = GUN.Joint
- local GunJoint = GJ.Weld
- GunJoint.Part0 = RightArm
- task.spawn(pcall, function() Align(character["Starslayer Railgun"].Handle, GUN.Base, Vector3.new(1.2, 0.5, 0), Vector3.new(-0, -180, 3)) end)
- for _, v in ipairs(GUN:GetChildren()) do
- v.CustomPhysicalProperties = nophys
- end
- local Hole = GUN.Hole
- local Holetwo = GUN.Hole2
- local shade = Color3.new(1, 1, 1)
- local alreadyfixing = false
- local Effects = Instance.new("Folder")
- Effects.Parent = char
- local eeeblock = Instance.new("Part")
- eeeblock.Name = randomstring()
- eeeblock.CanCollide = false
- eeeblock.Transparency = 1
- eeeblock.CFrame = Torso.CFrame
- eeeblock.Parent = char
- local eee = Instance.new("Sound",eeeblock)
- eee.Volume = 1
- eee.Pitch = 1
- eee.SoundId = songid.Value
- eee:Play()
- eee.Name = randomstring()
- eee.Looped = true
- eee.TimePosition = SongSync.Value
- eee.DescendantAdded:Connect(function(v)
- if stopeverything then return end
- if v:IsA("SoundEffect") then
- v.Enabled = false
- v:GetPropertyChangedSignal("Enabled"):Connect(function()
- if stopeverything then return end
- if v.Enabled ~= false then
- v.Enabled = false
- end
- end)
- end
- DB:AddItem(v,.01)
- end)
- function TauntRemote:FireServer(Name, ID)
- taunt.Value = Name
- if songid.Value ~= "rbxassetid://"..ID then
- songid.Value = "rbxassetid://"..ID
- SongSync.Value = 0
- eee.Volume = ID ~= 9057254499 and 1 or 3
- eee.Pitch = 1
- eee.SoundId = songid.Value
- eee.TimePosition = SongSync.Value
- end
- end
- local function chatfunc(textt,glitchy)
- local text = string.gsub(textt, "", "")
- task.spawn(function()
- local oldthing = eeeblock:FindFirstChild("TalkingBillBoard")
- if oldthing then
- oldthing:Destroy()
- end
- local sayingstuff = create("BillboardGui", eeeblock, {Size = UDim2.new(0, 9999, 2, 0), StudsOffset = Vector3.new(0, 5, 0), Name = "TalkingBillBoard"})
- local sayingstuff2 = create("TextLabel", sayingstuff, {BackgroundTransparency = 1, BorderSizePixel = 0, Font = "Code", TextScaled = true, TextStrokeTransparency = 0, TextStrokeColor3 = shade, Size = UDim2.fromScale(1, 1)})
- task.spawn(function()
- while not stopeverything do
- local hBRUH, sBRUH, vBRUH = GUN.NeonParts.Color:ToHSV()
- sayingstuff2.TextColor3 = Color3.fromHSV(hBRUH, sBRUH, vBRUH/2)
- task.wait(frame)
- end
- end)
- local sayingstuff3 = create("TextLabel", sayingstuff, {BackgroundTransparency = 1, BorderSizePixel = 0, Text = "", Font = Enum.Font.Code, TextScaled = true, TextStrokeTransparency = 0, TextStrokeColor3 = shade, Size = UDim2.fromScale(1, 1)})
- local sayingstuff3 = Instance.new("TextLabel",sayingstuff)
- task.spawn(function()
- while not stopeverything do
- sayingstuff3.TextColor3 = GUN.NeonParts.Color
- task.wait(frame)
- end
- end)
- task.spawn(function()
- while not stopeverything and sayingstuff ~= nil do
- task.wait(frame)
- if glitchy then
- local fonts = {"Antique","Arcade","Arial","ArialBold","Bodoni","Cartoon","Code","Fantasy","Garamond","Gotham","GothamBlack","GothamBold","GothamSemibold","Highway","SciFi","SourceSans","SourceSansBold","SourceSansItalic","SourceSansLight","SourceSansSemibold"}
- local randomfont = fonts[math.random(1,#fonts)]
- sayingstuff2.Font = randomfont
- sayingstuff3.Font = randomfont
- end
- sayingstuff2.Position = UDim2.new(0,math.random(-3,3),0,math.random(-3,3))
- sayingstuff3.Position = UDim2.new(0,math.random(-3,3),0,math.random(-3,3))
- end
- end)
- for i = 1,string.len(text) do
- task.wait(frame30)
- sayingstuff2.Text = string.sub(text,1,i)
- sayingstuff3.Text = string.sub(text,1,i)
- end
- task.wait(2)
- for i = 1, 50 do
- task.wait(frame)
- sayingstuff2.Position = sayingstuff2.Position - UDim2.new(0,math.random(-3,3),0,math.random(-3,3))
- sayingstuff3.Position = sayingstuff2.Position - UDim2.new(0,math.random(-3,3),0,math.random(-3,3))
- sayingstuff2.Rotation = sayingstuff2.Rotation + math.random(-2,2)
- sayingstuff3.Rotation = sayingstuff3.Rotation + math.random(-2,2)
- sayingstuff2.TextStrokeTransparency = i/50
- sayingstuff2.TextTransparency = sayingstuff2.TextStrokeTransparency
- sayingstuff3.TextStrokeTransparency = sayingstuff2.TextStrokeTransparency
- sayingstuff3.TextTransparency = sayingstuff2.TextStrokeTransparency
- end
- sayingstuff:Destroy()
- end)
- end
- plr.Chatted:Connect(chatfunc)
- local ROOTC0 = CFrame.new(0,0,0) * CFrame.Angles(-1.5707963267949,0,math.pi)
- local NECKC0 = CFrame.new(0,1,0) * CFrame.Angles(-1.5707963267949,0,math.pi)
- local RIGHTSHOULDERC0 = CFrame.new(-0.5,0,0) * CFrame.Angles(0,1.5707963267949,0)
- local LEFTSHOULDERC0 = CFrame.new(0.5,0,0) * CFrame.Angles(0,-1.5707963267949,0)
- local BG = nil
- local BV = nil
- local soundfixing = false
- local fixinggui = false
- local gui = nil
- local exitbutton = nil
- local restartingscript = false
- local Anim = "Idle"
- local attacktype = 1
- local delays = false
- local play = true
- local Torsovelocity = (RootPart.Velocity * Vector3.new(1,0,1)).Magnitude
- local doe = 0
- Humanoid.WalkSpeed = walkspeed
- local rc0 = CFrame.new() * CFrame.Angles(-1.5707963267949,0,math.pi)
- local nc0 = CFrame.new(0,1,0) * CFrame.Angles(-1.5707963267949,0,math.pi)
- local rscp = CFrame.new(-.5,0,0) * CFrame.Angles(0,1.5707963267949,0)
- local lscp = CFrame.new(.5,0,0) * CFrame.Angles(0,-1.5707963267949,0)
- local olp = OverlapParams.new()
- olp.FilterType = Enum.RaycastFilterType.Blacklist
- olp.FilterDescendantsInstances = {character, char}
- local function mdmg(pos, size)
- bullet.Position = pos
- end
- local function CreateMesh(MESH,PARENT,MESHTYPE,MESHID,TEXTUREID,SCALE,OFFSET)
- local NEWMESH = Instance.new(MESH)
- if MESH == "SpecialMesh" then
- NEWMESH.MeshType = MESHTYPE
- if MESHID ~= "nil" and MESHID ~= "" and tonumber(MESHID) ~= nil then
- NEWMESH.MeshId = "rbxassetid://"..MESHID
- elseif MESHID ~= "nil" and MESHID ~= "" then
- NEWMESH.MeshId = MESHID
- end
- if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
- NEWMESH.TextureId = "rbxassetid://"..TEXTUREID
- end
- end
- NEWMESH.Offset = OFFSET or Vector3.new()
- NEWMESH.Scale = SCALE
- NEWMESH.Parent = PARENT
- return NEWMESH
- end
- local function CreatePart(FORMFACTOR,PARENT,MATERIAL,REFLECTANCE,TRANSPARENCY,BRICKCOLOR,NAME,SIZE,ANCHOR)
- local NEWPART = Instance.new("Part")
- NEWPART.Massless = true
- NEWPART.formFactor = FORMFACTOR
- NEWPART.Reflectance = REFLECTANCE
- NEWPART.Transparency = TRANSPARENCY
- NEWPART.CanCollide = false
- NEWPART.Locked = true
- NEWPART.Anchored = true
- if ANCHOR == false then
- NEWPART.Anchored = false
- end
- NEWPART.Color = BRICKCOLOR
- NEWPART.Name = randomstring()
- NEWPART.Size = SIZE
- NEWPART.Position = Torso.Position
- NEWPART.Material = MATERIAL
- NEWPART:BreakJoints()
- NEWPART.Parent = PARENT
- return NEWPART
- end
- local S = Instance.new("Sound")
- local function CreateSound(ID,PARENT,VOLUME,PITCH,DOESLOOP)
- local NEWSOUND = nil
- task.spawn(function()
- NEWSOUND = S:Clone()
- NEWSOUND.Parent = PARENT
- NEWSOUND.Volume = VOLUME
- NEWSOUND.Pitch = PITCH
- NEWSOUND.SoundId = "rbxassetid://"..ID
- NEWSOUND:play()
- if DOESLOOP == true then
- NEWSOUND.Looped = true
- else
- task.spawn(function()
- pcall(function()
- repeat if stopeverything then return end swait() until NEWSOUND.Playing == false
- NEWSOUND:Destroy()
- end)
- end)
- end
- end)
- return NEWSOUND
- end
- local function weldBetween(a,b)
- local weldd = Instance.new("Weld")
- weldd.Part0 = a
- weldd.Part1 = b
- weldd.C1 = b.CFrame:inverse() * a.CFrame
- weldd.Parent = b
- return weldd
- end
- local function rayCast(Position,Direction,Range,Ignore)
- local ray = Ray.new(Position, Direction.Unit * (Range or 999.999))
- if type(Ignore) == "table" then
- return workspace:FindPartOnRayWithIgnoreList(ray, Ignore)
- else
- return workspace:FindPartOnRay(ray, Ignore)
- end
- end
- local function Effect(Table)
- local TYPE = (Table.EffectType or "Sphere")
- local SIZE = (Table.Size or Vector3.one)
- local ENDSIZE = (Table.Size2 or Vector3.new())
- local TRANSPARENCY = (Table.Transparency or 0)
- local ENDTRANSPARENCY = (Table.Transparency2 or 1)
- local CFRAME = (Table.CFrame or Torso.CFrame)
- local MOVEDIRECTION = (Table.MoveToPos or nil)
- local ROTATION1 = (Table.RotationX or 0)
- local ROTATION2 = (Table.RotationY or 0)
- local ROTATION3 = (Table.RotationZ or 0)
- local MATERIAL = (Table.Material or "Neon")
- local COLOR = (Table.Color or shade)
- local hOK,sOK,vOK = COLOR:ToHSV()
- local RAINBOWPART = false
- if sOK > .1 then
- RAINBOWPART = true
- end
- local TIME = (Table.Time or 45)
- local SOUNDID = (Table.SoundID or nil)
- local SOUNDPITCH = (Table.SoundPitch or nil)
- local SOUNDVOLUME = (Table.SoundVolume or nil)
- local USEBOOMERANGMATH = (Table.UseBoomerangMath or false)
- local BOOMERANG = (Table.Boomerang or 0)
- local SIZEBOOMERANG = (Table.SizeBoomerang or 0)
- task.spawn(pcall, function()
- local PLAYSSOUND = false
- local SOUND = nil
- local EFFECT = CreatePart(3,Effects,MATERIAL,0,TRANSPARENCY,shade,"Effect",Vector3.one,true)
- if RAINBOWPART then
- task.spawn(function()
- while not stopeverything do
- pcall(function() EFFECT.Color = GUN.NeonParts.Color end)
- task.wait(frame)
- end
- end)
- end
- if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
- PLAYSSOUND = true
- SOUND = CreateSound(SOUNDID,EFFECT,SOUNDVOLUME,SOUNDPITCH,false)
- end
- EFFECT.Color = COLOR
- local MSH = nil
- if TYPE == "Sphere" then
- MSH = CreateMesh("SpecialMesh",EFFECT,"Sphere","","",SIZE,Vector3.new())
- elseif TYPE == "Block" or TYPE == "Box" then
- MSH = Instance.new("BlockMesh",EFFECT)
- MSH.Scale = SIZE
- elseif TYPE == "Wave" then
- MSH = CreateMesh("SpecialMesh",EFFECT,"FileMesh","20329976","",SIZE,Vector3.new(0,0,-SIZE.X/8))
- elseif TYPE == "Ring" then
- MSH = CreateMesh("SpecialMesh",EFFECT,"FileMesh","559831844","",Vector3.new(SIZE.X,SIZE.X,0.1),Vector3.new())
- elseif TYPE == "Slash" then
- MSH = CreateMesh("SpecialMesh",EFFECT,"FileMesh","662586858","",Vector3.new(SIZE.X/10,0,SIZE.X/10),Vector3.new())
- elseif TYPE == "Round Slash" then
- MSH = CreateMesh("SpecialMesh",EFFECT,"FileMesh","662585058","",Vector3.new(SIZE.X/10,0,SIZE.X/10),Vector3.new())
- elseif TYPE == "Swirl" then
- MSH = CreateMesh("SpecialMesh",EFFECT,"FileMesh","168892432","",SIZE,Vector3.new())
- elseif TYPE == "Skull" then
- MSH = CreateMesh("SpecialMesh",EFFECT,"FileMesh","4770583","",SIZE,Vector3.new())
- elseif TYPE == "Crystal" then
- MSH = CreateMesh("SpecialMesh",EFFECT,"FileMesh","9756362","",SIZE,Vector3.new())
- end
- if MSH ~= nil then
- local BOOMR1 = 1+BOOMERANG/50
- local BOOMR2 = 1+SIZEBOOMERANG/50
- local MOVESPEED = nil
- if MOVEDIRECTION ~= nil then
- if USEBOOMERANGMATH == true then
- MOVESPEED = ((CFRAME.Position - MOVEDIRECTION).Magnitude/TIME)*BOOMR1
- else
- MOVESPEED = ((CFRAME.Position - MOVEDIRECTION).Magnitude/TIME)
- end
- end
- local GROWTH = nil
- if USEBOOMERANGMATH == true then
- GROWTH = (SIZE - ENDSIZE)*(BOOMR2+1)
- else
- GROWTH = (SIZE - ENDSIZE)
- end
- local TRANS = TRANSPARENCY - ENDTRANSPARENCY
- if TYPE == "Block" then
- EFFECT.CFrame = CFRAME*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
- else
- EFFECT.CFrame = CFRAME
- end
- if USEBOOMERANGMATH == true then
- for LOOP = 1,TIME+1 do
- task.wait(frame)
- MSH.Scale = MSH.Scale - (Vector3.new((GROWTH.X)*((1 - (LOOP/TIME)*BOOMR2)),(GROWTH.Y)*((1 - (LOOP/TIME)*BOOMR2)),(GROWTH.Z)*((1 - (LOOP/TIME)*BOOMR2)))*BOOMR2)/TIME
- if TYPE == "Wave" then
- MSH.Offset = Vector3.new(0,0,-MSH.Scale.Z/8)
- end
- EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
- if TYPE == "Block" then
- EFFECT.CFrame = CFRAME*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
- else
- EFFECT.CFrame = EFFECT.CFrame*CFrame.Angles(math.rad(ROTATION1),math.rad(ROTATION2),math.rad(ROTATION3))
- end
- if MOVEDIRECTION ~= nil then
- local ORI = EFFECT.Orientation
- EFFECT.CFrame = CFrame.new(EFFECT.Position,MOVEDIRECTION)*CFrame.new(0,0,-(MOVESPEED)*((1 - (LOOP/TIME)*BOOMR1)))
- EFFECT.Orientation = ORI
- end
- end
- else
- for LOOP = 1,TIME+1 do
- task.wait(frame)
- MSH.Scale -= GROWTH/TIME
- if TYPE == "Wave" then
- MSH.Offset = Vector3.new(0,0,-MSH.Scale.Z/8)
- end
- EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
- if TYPE == "Block" then
- EFFECT.CFrame = CFRAME*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
- else
- EFFECT.CFrame = EFFECT.CFrame*CFrame.Angles(math.rad(ROTATION1),math.rad(ROTATION2),math.rad(ROTATION3))
- end
- if MOVEDIRECTION ~= nil then
- local ORI = EFFECT.Orientation
- EFFECT.CFrame = CFrame.new(EFFECT.Position,MOVEDIRECTION)*CFrame.new(0,0,-MOVESPEED)
- EFFECT.Orientation = ORI
- end
- end
- end
- EFFECT.Transparency = 1
- if PLAYSSOUND == false then
- EFFECT:Destroy()
- else
- repeat if stopeverything then return end task.wait(frame) until EFFECT:FindFirstChildOfClass("Sound") == nil
- EFFECT:Destroy()
- end
- else
- if PLAYSSOUND == false then
- EFFECT:Destroy()
- else
- repeat if stopeverything then return end task.wait(frame) until EFFECT:FindFirstChildOfClass("Sound") == nil
- EFFECT:Destroy()
- end
- end
- end)
- end
- local function Lightning(Part0,Part1,Timess,Offset,Color,Timer,sSize,eSize,Trans,Boomer,sBoomer,Trans2)
- local magz = (Part0 - Part1).Magnitude
- local Times = math.floor(math.clamp(magz/10, 1, 20))
- local curpos = Part0
- local trz = {
- -Offset,
- Offset
- }
- for i = 1, Times do
- local li = create("Part", Effects, {Name = randomstring(), TopSurface = 0, Material = Enum.Material.Neon, BottomSurface = 0, Anchored = true, Transparency = 0, Color = Color, FormFactor = Enum.FormFactor.Custom, CanCollide = false, Size = Vector3.new(0.1, 0.1, magz / Times)})
- local Offzet = Vector3.new(trz[math.random(1,2)], trz[math.random(1,2)], trz[math.random(1,2)])
- local trolpos = CFrame.new(curpos, Part1) * CFrame.new(0, 0, magz/Times).Position + Offzet
- if Times == i then
- local magz2 = (curpos - Part1).Magnitude
- li.Size = Vector3.new(0.1, 0.1, magz2)
- li.CFrame = CFrame.new(curpos, Part1) * CFrame.new(0, 0, -magz2/2)
- else
- li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz/Times/2)
- end
- curpos = li.CFrame * CFrame.new(0, 0, magz/Times/2).Position
- li:Destroy()
- Effect({Time = Timer, EffectType = "Box", Size = Vector3.new(sSize,sSize,li.Size.Z), Size2 = Vector3.new(eSize, eSize, li.Size.Z), Transparency = Trans, Transparency2 = Trans2 or 1, CFrame = li.CFrame, MoveToPos = nil, RotationX = nil, RotationY = nil, RotationZ = nil, Material = Enum.Material.Neon, Color = li.Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = Boomer, Boomerang = 0, SizeBoomerang = sBoomer})
- end
- end
- local function FireArc(Part,ToLocation,AmountOfTime,Height,DoesCourontine)
- if not DoesCourontine then
- local Direction = CFrame.new(Part.Position,ToLocation)
- local Distance = (Part.Position - ToLocation).Magnitude
- for i = 1,AmountOfTime do
- task.wait(frame)
- Part.CFrame = Direction*CFrame.new(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
- Direction = Part.CFrame
- end
- else
- task.spawn(function()
- local Direction = CFrame.new(Part.Position, ToLocation)
- local Distance = (Part.Position - ToLocation).Magnitude
- for i = 1,AmountOfTime do
- task.wait(frame)
- Part.CFrame = Direction*CFrame.new(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
- Direction = Part.CFrame
- end
- end)
- end
- end
- local function MakeForm(PART,TYPE)
- if TYPE == "Cyl" then
- local MSH = Instance.new("CylinderMesh",PART)
- elseif TYPE == "Ball" then
- local MSH = Instance.new("SpecialMesh",PART)
- MSH.MeshType = "Sphere"
- elseif TYPE == "Wedge" then
- local MSH = Instance.new("SpecialMesh",PART)
- MSH.MeshType = "Wedge"
- end
- end
- local function AttackGyro()
- local GYRO = Instance.new("BodyGyro",RootPart)
- GYRO.D = 25
- GYRO.P = 20000
- GYRO.MaxTorque = Vector3.new(0,4000000,0)
- GYRO.CFrame = CFrame.new(RootPart.Position,Mouse.Hit.Position)
- task.spawn(function()
- repeat if stopeverything then return end
- task.wait(frame)
- GYRO.CFrame = CFrame.new(RootPart.Position,Mouse.Hit.Position)
- until attack == false
- GYRO:Destroy()
- end)
- end
- task.spawn(function()
- while not stopeverything do
- for i = 0,1,(1/60) do
- task.wait(frame)
- if not alreadyfixing and GUN:FindFirstChild("NeonParts") then
- GUN.NeonParts.Color = Color3.fromHSV(i,1,1)
- if taunt.Value == "iNSaNiTY" then
- GUN.NeonParts.Color = BrickColor.Random().Color
- elseif taunt.Value == "Err0r" then
- GUN.NeonParts.Color = Color3.fromRGB(0,255,0)
- elseif taunt.Value == "FAST BOIII" then
- GUN.NeonParts.Color = Color3.fromRGB(0,0,math.clamp(eee.PlaybackLoudness-191,0,255))
- elseif taunt.Value == "Glitch" then
- GUN.NeonParts.Color = Color3.fromHSV(i,1,math.clamp((eee.PlaybackLoudness/255)-.5,0,1))
- elseif taunt.Value == "Alastor" then
- GUN.NeonParts.Color = Color3.fromRGB(255,0,0)
- elseif taunt.Value == "kArmA" then
- GUN.NeonParts.Color = Color3.new(1,1,1)
- elseif taunt.Value == "petfroge" then
- GUN.NeonParts.Color = BrickColor.Random().Color
- elseif taunt.Value == "TheEnd" then
- local a = Color3.fromRGB(72, 0, 56)
- local b = Color3.fromRGB(255, 0, 89)
- GUN.NeonParts.Color = a:Lerp(b, math.clamp(math.sin(sine/3), 0, 1))
- end
- end
- end
- end
- end)
- function WACKYEFFECT(Table)
- local TYPE = (Table.EffectType or "Sphere")
- local SIZE = (Table.Size or Vector3.one)
- local ENDSIZE = (Table.Size2 or Vector3.zero)
- local TRANSPARENCY = (Table.Transparency or 0)
- local ENDTRANSPARENCY = (Table.Transparency2 or 1)
- local CFRAME = (Table.CFrame or Torso.CFrame)
- local MOVEDIRECTION = (Table.MoveToPos or nil)
- local ROTATION1 = (Table.RotationX or 0)
- local ROTATION2 = (Table.RotationY or 0)
- local ROTATION3 = (Table.RotationZ or 0)
- local MATERIAL = (Table.Material or "Neon")
- local COLOR = (Table.Color or shade)
- local hOK,sOK,vOK = COLOR:ToHSV()
- local RAINBOWPART = false
- if sOK > .1 then
- RAINBOWPART = true
- end
- local TIME = (Table.Time or 45)
- local SOUNDID = (Table.SoundID or nil)
- local SOUNDPITCH = (Table.SoundPitch or nil)
- local SOUNDVOLUME = (Table.SoundVolume or nil)
- task.spawn(function()
- local PLAYSSOUND = false
- local SOUND = nil
- local EFFECT = CreatePart(3,Effects,MATERIAL,0,TRANSPARENCY,shade,"Effect",Vector3.one,true)
- if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
- PLAYSSOUND = true
- SOUND = CreateSound(SOUNDID,EFFECT,SOUNDVOLUME,SOUNDPITCH,false)
- end
- EFFECT.Color = COLOR
- if RAINBOWPART then
- task.spawn(function()
- while not stopeverything do
- EFFECT.Color = GUN.NeonParts.Color
- task.wait(frame)
- end
- end)
- end
- local MSH = nil
- if TYPE == "Sphere" then
- MSH = CreateMesh("SpecialMesh",EFFECT,"Sphere","","",SIZE,Vector3.zero)
- elseif TYPE == "Block" then
- MSH = Instance.new("BlockMesh",EFFECT)
- MSH.Scale = Vector3.new(SIZE.X,SIZE.Y,SIZE.Z)
- elseif TYPE == "Wave" then
- MSH = CreateMesh("SpecialMesh",EFFECT,"FileMesh","20329976","",SIZE,Vector3.new(0,0,-SIZE.X/8))
- elseif TYPE == "Ring" then
- MSH = CreateMesh("SpecialMesh",EFFECT,"FileMesh","559831844","",Vector3.new(SIZE.X,SIZE.X,0.1),Vector3.zero)
- elseif TYPE == "Slash" then
- MSH = CreateMesh("SpecialMesh",EFFECT,"FileMesh","662586858","",Vector3.new(SIZE.X/10,0,SIZE.X/10),Vector3.zero)
- elseif TYPE == "Round Slash" then
- MSH = CreateMesh("SpecialMesh",EFFECT,"FileMesh","662585058","",Vector3.new(SIZE.X/10,0,SIZE.X/10),Vector3.zero)
- elseif TYPE == "Swirl" then
- MSH = CreateMesh("SpecialMesh",EFFECT,"FileMesh","1051557","",SIZE,Vector3.zero)
- elseif TYPE == "Skull" then
- MSH = CreateMesh("SpecialMesh",EFFECT,"FileMesh","4770583","",SIZE,Vector3.zero)
- elseif TYPE == "Crystal" then
- MSH = CreateMesh("SpecialMesh",EFFECT,"FileMesh","9756362","",SIZE,Vector3.zero)
- end
- if MSH ~= nil then
- local MOVESPEED = nil
- if MOVEDIRECTION ~= nil then
- MOVESPEED = (CFRAME.Position - MOVEDIRECTION).Magnitude/TIME
- end
- local GROWTH = SIZE - ENDSIZE
- local TRANS = TRANSPARENCY - ENDTRANSPARENCY
- EFFECT.CFrame = CFRAME
- for LOOP = 1,TIME+1 do
- task.wait(frame)
- MSH.Scale = MSH.Scale - GROWTH/TIME
- if TYPE == "Wave" then
- MSH.Offset = Vector3.new(0,0,-MSH.Scale.X/8)
- end
- EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
- EFFECT.CFrame = EFFECT.CFrame*CFrame.Angles(math.rad(ROTATION1),math.rad(ROTATION2),math.rad(ROTATION3))
- if MOVEDIRECTION ~= nil then
- local ORI = EFFECT.Orientation
- EFFECT.CFrame = CFrame.new(EFFECT.Position,MOVEDIRECTION)*CFrame.new(0,0,-MOVESPEED)
- EFFECT.Orientation = ORI
- end
- end
- if PLAYSSOUND == false then
- EFFECT:Destroy()
- else
- repeat if stopeverything then return end task.wait(frame) until SOUND.Playing == false
- EFFECT:Destroy()
- end
- else
- if PLAYSSOUND == false then
- EFFECT:Destroy()
- else
- repeat if stopeverything then return end task.wait(frame) until SOUND.Playing == false
- EFFECT:Destroy()
- end
- end
- end)
- end
- local function Ka_Boom()
- attack = true
- walkspeed = 0
- local die = CreateSound(1566051529,RootPart,3,1)
- die.EmitterSize = 100
- swait(5)
- for i = 1,3 do
- for i = 0,1.5,0.1 do
- task.wait(frame)
- tweenc(RootJoint, Clerp(RootJoint.C0,ROOTC0 * CFrame.new(0 + .5 * math.cos(sine/50),0,3 - .5 * math.sin(sine/50)) * CFrame.Angles(0,0,math.rad(-5)),0.7/3))
- tweenc(Neck, Clerp(Neck.C0,nc0 * CFrame.new(0,0,0 + ((1) - 1)) * CFrame.Angles(math.rad(15),0,math.rad(-5)),1/3))
- tweenc(RightShoulder, Clerp(RightShoulder.C0,CFrame.new(1.5,0.5,0) * CFrame.Angles(math.rad(175),math.rad(-10),math.rad(10)) * rscp,1/3))
- tweenc(LeftShoulder, Clerp(LeftShoulder.C0,CFrame.new(-1.5,0.5,0) * CFrame.Angles(math.rad(-10),math.rad(-10),math.rad(-5)) * lscp,1/3))
- tweenc(RightHip, Clerp(RightHip.C0,CFrame.new(1,-0.5,-0.5) * CFrame.Angles(math.rad(-15 + 9 * math.cos(sine/74)),math.rad(80),0) * CFrame.Angles(math.rad(0 + 5 * math.cos(sine/37)),0,0),0.7/3))
- tweenc(LeftHip, Clerp(LeftHip.C0,CFrame.new(-1,-1,0) * CFrame.Angles(math.rad(-15 - 9 * math.cos(sine/54)),math.rad(-80),0) * CFrame.Angles(math.rad(0 - 5 * math.cos(sine/41)),0,0),0.7/3))
- tweenc(GunJoint, Clerp(GunJoint.C0,CFrame.new(0.05,-1,-0.15) * CFrame.Angles(-1.5707963267949,0,0),1/2))
- end
- Effect({Time = 25,EffectType = "Box",Size = Vector3.new(),Size2 = Vector3.new(3,3,3),Transparency = 0,Transparency2 = 1,CFrame = Holetwo.CFrame,MoveToPos = nil,RotationX = math.random(-1,1),RotationY = math.random(-1,1),RotationZ = math.random(-1,1),Material = "Neon",Color = Color3.new(1,0,0),SoundID = 642890855,SoundPitch = 0.45,SoundVolume = 6,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 50})
- Effect({Time = 25,EffectType = "Box",Size = Vector3.new(),Size2 = Vector3.new(3,3,3),Transparency = 0,Transparency2 = 1,CFrame = Holetwo.CFrame,MoveToPos = nil,RotationX = math.random(-1,1),RotationY = math.random(-1,1),RotationZ = math.random(-1,1),Material = "Neon",Color = shade,SoundID = nil,SoundPitch = nil,SoundVolume = nil,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 50})
- local skypos = Holetwo.CFrame * CFrame.new(-400,0,0)
- local DISTANCE = (Holetwo.Position - skypos.Position).Magnitude
- local killbeam = CreatePart(3,Effects,"Neon",0,0,shade,"Kill Beam",Vector3.new(1,DISTANCE,1))
- killbeam.CFrame = CFrame.new(Holetwo.Position,skypos.Position) * CFrame.new(0,0,-DISTANCE/2) * CFrame.Angles(1.5707963267949,0,0)
- MakeForm(killbeam,"Cyl")
- TS:Create(killbeam, TweenInfo.new(0.42, Enum.EasingStyle.Linear), {Transparency = 1}):Play()
- DB:AddItem(killbeam, 0.42)
- for _ = 1, 5 do
- Lightning(Holetwo.Position,m.Hit.Position,15,3.5,Color3.new(0,0,1),25,0,1,0,true,55)
- end
- for i = 0,2 do
- Effect({Time = math.random(25,50),EffectType = "Round Slash",Size = Vector3.new(),Size2 = Vector3.new(.1,0,.1),Transparency = 0,Transparency2 = 1,CFrame = Holetwo.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))),MoveToPos = nil,RotationX = math.random(-1,1),RotationY = math.random(-1,1),RotationZ = math.random(-1,1),Material = "Neon",Color = Color3.new(1,0,0),SoundID = nil,SoundPitch = nil,SoundVolume = nil,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 15})
- Effect({Time = math.random(25,50),EffectType = "Round Slash",Size = Vector3.new(),Size2 = Vector3.new(.1,0,.1),Transparency = 0,Transparency2 = 1,CFrame = Holetwo.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))),MoveToPos = nil,RotationX = math.random(-1,1),RotationY = math.random(-1,1),RotationZ = math.random(-1,1),Material = "Neon",Color = shade,SoundID = nil,SoundPitch = nil,SoundVolume = nil,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 15})
- end
- Effect({Time = 25,EffectType = "Box",Size = Vector3.new(),Size2 = Vector3.new(3,3,3),Transparency = 0,Transparency2 = 1,CFrame = skypos,MoveToPos = nil,RotationX = math.random(-1,1),RotationY = math.random(-1,1),RotationZ = math.random(-1,1),Material = "Neon",Color = Color3.new(1,0,0),SoundID = 192410089,SoundPitch = .55,SoundVolume = 8,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 50})
- Effect({Time = 25,EffectType = "Box",Size = Vector3.new(),Size2 = Vector3.new(3,3,3),Transparency = 0,Transparency2 = 1,CFrame = skypos,MoveToPos = nil,RotationX = math.random(-1,1),RotationY = math.random(-1,1),RotationZ = math.random(-1,1),Material = "Neon",Color = shade,SoundID = nil,SoundPitch = nil,SoundVolume = nil,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 50})
- for i = 0,2 do
- Effect({Time = math.random(25,50),EffectType = "Round Slash",Size = Vector3.new(),Size2 = Vector3.new(.1,0,.1),Transparency = 0,Transparency2 = 1,CFrame = skypos*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))),MoveToPos = nil,RotationX = math.random(-1,1),RotationY = math.random(-1,1),RotationZ = math.random(-1,1),Material = "Neon",Color = Color3.new(1,0,0),SoundID = nil,SoundPitch = nil,SoundVolume = nil,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 15})
- Effect({Time = math.random(25,50),EffectType = "Round Slash",Size = Vector3.new(),Size2 = Vector3.new(.1,0,.1),Transparency = 0,Transparency2 = 1,CFrame = skypos*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))),MoveToPos = nil,RotationX = math.random(-1,1),RotationY = math.random(-1,1),RotationZ = math.random(-1,1),Material = "Neon",Color = shade,SoundID = nil,SoundPitch = nil,SoundVolume = nil,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 15})
- end
- local ti = TweenInfo.new(0.7)
- TS:Create(RootJoint, ti, {C0 = ROOTC0 * CFrame.new(0 + .5 * math.cos(sine/50),0,3 - 0.5 * math.sin(sine/50))}):Play()
- TS:Create(Neck, ti, {C0 = NECKC0 * CFrame.new(0,0,0 + ((1) - 1)) * CFrame.Angles(math.rad(20),0,0)}):Play()
- TS:Create(RightShoulder, ti, {C0 = CFrame.new(1.5,0.5,0) * CFrame.Angles(math.rad(135 + 8.5 * math.cos(sine/50)),0,math.rad(25)) * RIGHTSHOULDERC0}):Play()
- TS:Create(LeftShoulder, ti, {C0 = CFrame.new(-1.5,0.5,0) * CFrame.Angles(math.rad(25 + 8.5 * math.cos(sine/50)),0,math.rad(-25 - 5 * math.cos(sine/25))) * LEFTSHOULDERC0}):Play()
- TS:Create(RightHip, ti, {C0 = CFrame.new(1,-0.5,-0.5) * CFrame.Angles(math.rad(-15 + 9 * math.cos(sine/74)),math.rad(80),0) * CFrame.Angles(math.rad(0 + 5 * math.cos(sine/37)),0,0)}):Play()
- TS:Create(LeftHip, ti, {C0 = CFrame.new(-1,-1,0) * CFrame.Angles(math.rad(-15 - 9 * math.cos(sine/54)),math.rad(-80),0) * CFrame.Angles(math.rad(0 - 5 * math.cos(sine/41)),0,0)}):Play()
- TS:Create(GunJoint, ti, {C0 = CFrame.new(.05,-1,-.15) * CFrame.Angles(-1.5707963267949,0,0)})
- task.wait(0.7)
- end
- local ti = TweenInfo.new(0.25)
- TS:Create(RootJoint, ti, {C0 = Clerp(RootJoint.C0, ROOTC0 * CFrame.new(0 + .5 * math.cos(sine/50),0,3 - .5 * math.sin(sine/50)), 0.98)}):Play()
- TS:Create(Neck, ti, {C0 = Clerp(Neck.C0, NECKC0 * CFrame.new(0,0,0 + ((1) - 1)) * CFrame.Angles(math.rad(20),0,0), 0.98)}):Play()
- TS:Create(RightShoulder, ti, {C0 = Clerp(RightShoulder.C0, CFrame.new(1.5,0.5,0) * CFrame.Angles(math.rad(135 + 8.5 * math.cos(sine/50)),0,math.rad(25)) * RIGHTSHOULDERC0, 0.98)}):Play()
- TS:Create(LeftShoulder, ti, {C0 = Clerp(LeftShoulder.C0, CFrame.new(-1.5,0.5,0) * CFrame.Angles(math.rad(25 + 8.5 * math.cos(sine/50)),0,math.rad(-25 - 5 * math.cos(sine/25))) * LEFTSHOULDERC0, 0.98)}):Play()
- TS:Create(RightHip, ti, {C0 = Clerp(RightHip.C0, CFrame.new(1,-0.5,-0.5) * CFrame.Angles(math.rad(-15 + 9 * math.cos(sine/74)),math.rad(80),0) * CFrame.Angles(math.rad(0 + 5 * math.cos(sine/37)),0,0), 0.98)}):Play()
- TS:Create(LeftHip, ti, {C0 = Clerp(LeftHip.C0, CFrame.new(-1,-1,0) * CFrame.Angles(math.rad(-15 - 9 * math.cos(sine/54)),math.rad(-80),0) * CFrame.Angles(math.rad(0 - 5 * math.cos(sine/41)),0,0), 0.98)}):Play()
- TS:Create(GunJoint, ti, {C0 = CFrame.new(.05,-1,-.15) * CFrame.Angles(-1.5707963267949,0,0)}):Play()
- task.wait(0.25)
- local BEAM = CreatePart(3,Effects,"Neon",0,0,Color3.new(0,0,1),"Beam",Vector3.new())
- local BEAM2 = CreatePart(3,Effects,"Neon",0,0,Color3.new(0,0,1),"Beam",Vector3.new())
- MakeForm(BEAM,"Ball")
- MakeForm(BEAM2,"Ball")
- BEAM.CFrame = CFrame.new(RootPart.Position)
- BEAM2.CFrame = CFrame.new(RootPart.Position)
- local boooom = CreateSound(415700134,RootPart,10,1,false)
- boooom.EmitterSize = 100
- local weqweqeuio = TweenInfo.new(frame * 140, Enum.EasingStyle.Linear)
- TS:Create(BEAM, weqweqeuio, {Size = BEAM.Size + Vector3.new(98, 1120, 98)}):Play()
- TS:Create(BEAM2, weqweqeuio, {Size = BEAM2.Size + Vector3.new(280, 280, 280)}):Play()
- for i=1,140 do
- task.wait(frame)
- tweenc(RootJoint, Clerp(RootJoint.C0,ROOTC0 * CFrame.new(0 + .5 * math.cos(sine/50),0,3 - .5 * math.sin(sine/50)),0.7/3))
- tweenc(Neck, Clerp(Neck.C0,NECKC0 * CFrame.new(0,0,0 + ((1) - 1)) * CFrame.Angles(math.rad(20),0,0),0.7/3))
- tweenc(RightShoulder, Clerp(RightShoulder.C0,CFrame.new(1.5,0.5,0) * CFrame.Angles(math.rad(135 + 8.5 * math.cos(sine/50)),0,math.rad(25)) * RIGHTSHOULDERC0,0.7/3))
- tweenc(LeftShoulder, Clerp(LeftShoulder.C0,CFrame.new(-1.5,0.5,0) * CFrame.Angles(math.rad(25 + 8.5 * math.cos(sine/50)),0,math.rad(-25 - 5 * math.cos(sine/25))) * LEFTSHOULDERC0,0.7/3))
- tweenc(RightHip, Clerp(RightHip.C0,CFrame.new(1,-0.5,-0.5) * CFrame.Angles(math.rad(-15 + 9 * math.cos(sine/74)),math.rad(80),0) * CFrame.Angles(math.rad(0 + 5 * math.cos(sine/37)),0,0),0.7/3))
- tweenc(LeftHip, Clerp(LeftHip.C0,CFrame.new(-1,-1,0) * CFrame.Angles(math.rad(-15 - 9 * math.cos(sine/54)),math.rad(-80),0) * CFrame.Angles(math.rad(0 - 5 * math.cos(sine/41)),0,0),0.7/3))
- tweenc(GunJoint, Clerp(GunJoint.C0,CFrame.new(.05,-1,-.15) * CFrame.Angles(-1.5707963267949,0,0),1/2))
- BEAM.Color = GUN.NeonParts.Color
- BEAM2.Color = GUN.NeonParts.Color
- BEAM.CFrame = CFrame.new(RootPart.Position)
- BEAM2.CFrame = CFrame.new(RootPart.Position)
- WACKYEFFECT({TIME = 5+i,EffectType = "Swirl",Size = BEAM2.Size*1.15,Size2 = Vector3.new(0,BEAM.Size.Y,0),Transparency = 0.8,Transparency2 = 1,CFrame = BEAM.CFrame * CFrame.Angles(0,math.rad(i*5),0),MoveToPos = nil,RotationX = 0,RotationY = i/8,RotationZ = 0,Material = "Neon",Color = GUN.NeonParts.Color,SoundID = nil,SoundPitch = nil,SoundVolume = nil})
- end
- mdmg(RootPart.Position,BEAM2.Size.Y/2)
- Effect({TIME = 75,EffectType = "Sphere",Size = BEAM.Size,Size2 = Vector3.new(0,BEAM.Size.Y,0),Transparency = 0,Transparency2 = 0,CFrame = BEAM.CFrame,MoveToPos = nil,RotationX = 0,RotationY = 0,RotationZ = 0,Material = "Neon",Color = shade,SoundID = nil,SoundPitch = nil,SoundVolume = nil})
- Effect({TIME = 75,EffectType = "Sphere",Size = BEAM2.Size,Size2 = Vector3.zero,Transparency = 0,Transparency2 = 0.6,CFrame = BEAM2.CFrame,MoveToPos = nil,RotationX = 0,RotationY = 0,RotationZ = 0,Material = "Neon",Color = shade,SoundID = nil,SoundPitch = nil,SoundVolume = nil})
- for _, v in ipairs(Effects:GetChildren()) do
- v.Color = shade
- v:GetPropertyChangedSignal("Color"):Connect(function()
- if stopeverything then return end
- v.Color = shade
- end)
- end
- BEAM2:Destroy()
- BEAM:Destroy()
- attack = false
- walkspeed = 50
- end
- local function attackone()
- attack = true
- walkspeed = 16
- AttackGyro()
- for i = 0,0.5,0.05 do
- task.wait(frame)
- tweenc(RootJoint, Clerp(RootJoint.C0,ROOTC0 * CFrame.new(0 + .5 * math.cos(sine/50),0,3 - .5 * math.sin(sine/50)) * CFrame.Angles(0,0,math.rad(30)),0.7/3))
- tweenc(Neck, Clerp(Neck.C0,nc0 * CFrame.new() * CFrame.Angles(math.rad(15),0,math.rad(-30)),1/3))
- tweenc(RightShoulder, Clerp(RightShoulder.C0,CFrame.new(1.5,0.5,0) * CFrame.Angles(1.5707963267949,0,math.rad(30)) * rscp,1/3))
- tweenc(LeftShoulder, Clerp(LeftShoulder.C0,CFrame.new(-1.5,0.5,0) * CFrame.Angles(math.rad(30),0,0) * lscp,1/3))
- tweenc(RightHip, Clerp(RightHip.C0,CFrame.new(1,-0.5,-0.5) * CFrame.Angles(math.rad(-15 + 9 * math.cos(sine/74)),math.rad(80),0) * CFrame.Angles(math.rad(0 + 5 * math.cos(sine/37)),0,0),0.7/3))
- tweenc(LeftHip, Clerp(LeftHip.C0,CFrame.new(-1,-1,0) * CFrame.Angles(math.rad(-15 - 9 * math.cos(sine/54)),math.rad(-80),0) * CFrame.Angles(math.rad(0 - 5 * math.cos(sine/41)),0,0),0.7/3))
- tweenc(GunJoint, Clerp(GunJoint.C0,CFrame.new(0.05,-1,-0.15) * CFrame.Angles(-1.5707963267949,0,0),1/2))
- end
- Effect({Time = 25,EffectType = "Box",Size = Vector3.new(),Size2 = Vector3.new(3,3,3),Transparency = 0,Transparency2 = 1,CFrame = Holetwo.CFrame,MoveToPos = nil,RotationX = math.random(-1,1),RotationY = math.random(-1,1),RotationZ = math.random(-1,1),Material = "Neon",Color = Color3.new(1,0,0),SoundID = 642890855,SoundPitch = 0.45,SoundVolume = 6,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 50})
- Effect({Time = 25,EffectType = "Box",Size = Vector3.new(),Size2 = Vector3.new(3,3,3),Transparency = 0,Transparency2 = 1,CFrame = Holetwo.CFrame,MoveToPos = nil,RotationX = math.random(-1,1),RotationY = math.random(-1,1),RotationZ = math.random(-1,1),Material = "Neon",Color = shade,SoundID = nil,SoundPitch = nil,SoundVolume = nil,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 50})
- local _, hpos = rayCast(Mouse.UnitRay.Origin, Mouse.UnitRay.Direction, 999.999, {char, character})
- local DISTANCE = (Holetwo.Position - hpos).Magnitude
- local killbeam = CreatePart(3,Effects,"Neon",0,0,shade,"Kill Beam",Vector3.new(1,DISTANCE,1))
- killbeam.CFrame = CFrame.new(Holetwo.Position,hpos) * CFrame.new(0,0,-DISTANCE/2) * CFrame.Angles(1.5707963267949,0,0)
- MakeForm(killbeam,"Cyl")
- TS:Create(killbeam, TweenInfo.new(0.42, Enum.EasingStyle.Linear), {Transparency = 1}):Play()
- DB:AddItem(killbeam, 0.42)
- for _ = 1, 5 do
- Lightning(Holetwo.Position,hpos,15,3.5,Color3.new(0,0,1),25,0,1,0,true,55)
- end
- for i = 0,2 do
- Effect({Time = math.random(25,50),EffectType = "Round Slash",Size = Vector3.new(),Size2 = Vector3.new(.1,0,.1),Transparency = 0,Transparency2 = 1,CFrame = Holetwo.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))),MoveToPos = nil,RotationX = math.random(-1,1),RotationY = math.random(-1,1),RotationZ = math.random(-1,1),Material = "Neon",Color = Color3.new(1,0,0),SoundID = nil,SoundPitch = nil,SoundVolume = nil,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 15})
- Effect({Time = math.random(25,50),EffectType = "Round Slash",Size = Vector3.new(),Size2 = Vector3.new(.1,0,.1),Transparency = 0,Transparency2 = 1,CFrame = Holetwo.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))),MoveToPos = nil,RotationX = math.random(-1,1),RotationY = math.random(-1,1),RotationZ = math.random(-1,1),Material = "Neon",Color = shade,SoundID = nil,SoundPitch = nil,SoundVolume = nil,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 15})
- end
- Effect({Time = 25,EffectType = "Box",Size = Vector3.new(),Size2 = Vector3.new(3,3,3),Transparency = 0,Transparency2 = 1,CFrame = CFrame.new(hpos),MoveToPos = nil,RotationX = math.random(-1,1),RotationY = math.random(-1,1),RotationZ = math.random(-1,1),Material = "Neon",Color = Color3.new(1,0,0),SoundID = 192410089,SoundPitch = .55,SoundVolume = 8,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 50})
- Effect({Time = 25,EffectType = "Box",Size = Vector3.new(),Size2 = Vector3.new(3,3,3),Transparency = 0,Transparency2 = 1,CFrame = CFrame.new(hpos),MoveToPos = nil,RotationX = math.random(-1,1),RotationY = math.random(-1,1),RotationZ = math.random(-1,1),Material = "Neon",Color = shade,SoundID = nil,SoundPitch = nil,SoundVolume = nil,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 50})
- for i = 0,2 do
- Effect({Time = math.random(25,50),EffectType = "Round Slash",Size = Vector3.new(),Size2 = Vector3.new(.1,0,.1),Transparency = 0,Transparency2 = 1,CFrame = CFrame.new(hpos)*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))),MoveToPos = nil,RotationX = math.random(-1,1),RotationY = math.random(-1,1),RotationZ = math.random(-1,1),Material = "Neon",Color = Color3.new(1,0,0),SoundID = nil,SoundPitch = nil,SoundVolume = nil,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 15})
- Effect({Time = math.random(25,50),EffectType = "Round Slash",Size = Vector3.new(),Size2 = Vector3.new(.1,0,.1),Transparency = 0,Transparency2 = 1,CFrame = CFrame.new(hpos)*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))),MoveToPos = nil,RotationX = math.random(-1,1),RotationY = math.random(-1,1),RotationZ = math.random(-1,1),Material = "Neon",Color = shade,SoundID = nil,SoundPitch = nil,SoundVolume = nil,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 15})
- end
- mdmg(hpos,10)
- for i = 0,0.5,0.075 do
- task.wait(frame)
- tweenc(RootJoint, Clerp(RootJoint.C0,ROOTC0 * CFrame.new(0 + .5 * math.cos(sine/50),0,3 - .5 * math.sin(sine/50)) * CFrame.Angles(0,0,math.rad(30)),0.7/3))
- tweenc(Neck, Clerp(Neck.C0,nc0 * CFrame.new() * CFrame.Angles(math.rad(10),0,math.rad(-60)),1/3))
- tweenc(RightShoulder, Clerp(RightShoulder.C0,CFrame.new(1.5,0.5,0) * CFrame.Angles(math.rad(160),math.rad(-20),math.rad(60)) * rscp,1/3))
- tweenc(LeftShoulder, Clerp(LeftShoulder.C0,CFrame.new(-1.5,0.5,0) * CFrame.Angles(math.rad(40),math.rad(5),math.rad(5)) * lscp,1/3))
- tweenc(RightHip, Clerp(RightHip.C0,CFrame.new(1,-0.5,-0.5) * CFrame.Angles(math.rad(-15 + 9 * math.cos(sine/74)),math.rad(80),0) * CFrame.Angles(math.rad(0 + 5 * math.cos(sine/37)),0,0),0.7/3))
- tweenc(LeftHip, Clerp(LeftHip.C0,CFrame.new(-1,-1,0) * CFrame.Angles(math.rad(-15 - 9 * math.cos(sine/54)),math.rad(-80),0) * CFrame.Angles(math.rad(0 - 5 * math.cos(sine/41)),0,0),0.7/3))
- tweenc(GunJoint, Clerp(GunJoint.C0,CFrame.new(0.05,-1,-0.15) * CFrame.Angles(-1.5707963267949,0,0),1/2))
- end
- walkspeed = 50
- attack = false
- end
- local function attacktwo()
- attack = true
- walkspeed = 0
- AttackGyro()
- local gBullet = CreatePart(3,Effects,"Neon",0,0,Color3.new(0,0,1),"BullyFuck",Vector3.new())
- MakeForm(gBullet,"Ball")
- gBullet.CFrame = LeftArm.CFrame*CFrame.new(0,-1.5,0)
- CreateSound(2785493,gBullet,2,0.8)
- for i = 0, 1.25, 0.025 do
- task.wait(frame)
- Effect({Time = math.random(35,55),EffectType = "Sphere",Size = Vector3.new(0.5,0.5,0.5),Size2 = Vector3.one,Transparency = 0,Transparency2 = 1,CFrame = LeftArm.CFrame*CFrame.new(0,-1.5,0),MoveToPos = LeftArm.CFrame*CFrame.new(0,-1.5,0)*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)).Position,RotationX = nil,RotationY = nil,RotationZ = nil,Material = "Neon",Color = Color3.new(1,0,0),SoundID = nil,SoundPitch = nil,SoundVolume = nil,UseBoomerangMath = true,Boomerang = 50,SizeBoomerang = 50})
- gBullet.Size *= 1.085
- gBullet.CFrame = LeftArm.CFrame * CFrame.new(0,-1.5,0)
- tweenc(RootJoint, Clerp(RootJoint.C0,ROOTC0 * CFrame.new(0 + .5 * math.cos(sine/50),0,3 - .5 * math.sin(sine/50)) * CFrame.Angles(0,0,math.rad(-30)),0.7/3))
- tweenc(Neck, Clerp(Neck.C0,nc0 * CFrame.new(0,0,0 + ((1) - 1)) * CFrame.Angles(math.rad(-5 - 3 * math.cos(sine/12)),0,math.rad(30)),1/3))
- tweenc(RightShoulder, Clerp(RightShoulder.C0,CFrame.new(1.5,0.5,0) * CFrame.Angles(math.rad(135 + 8.5 * math.cos(sine/49)),0,math.rad(25)) * RIGHTSHOULDERC0,0.7/3))
- tweenc(LeftShoulder, Clerp(LeftShoulder.C0,CFrame.new(-1.5,0.5 + 0.1 * math.cos(sine/12),-0) * CFrame.Angles(math.rad(85 - 1.5 * math.cos(sine/12)),math.rad(0 - 6 * math.cos(sine/12)),math.rad(-30 - 6 * math.cos(sine/12))) * lscp,1/3))
- tweenc(RightHip, Clerp(RightHip.C0,CFrame.new(1,-0.5,-0.5) * CFrame.Angles(math.rad(-15 + 9 * math.cos(sine/74)),math.rad(80),0) * CFrame.Angles(math.rad(0 + 5 * math.cos(sine/37)),0,0),0.7/3))
- tweenc(LeftHip, Clerp(LeftHip.C0,CFrame.new(-1,-1,0) * CFrame.Angles(math.rad(-15 - 9 * math.cos(sine/54)),math.rad(-80),0) * CFrame.Angles(math.rad(0 - 5 * math.cos(sine/41)),0,0),0.7/3))
- tweenc(GunJoint, Clerp(GunJoint.C0,CFrame.new(0.05,-1,-0.15) * CFrame.Angles(-1.5707963267949,0,0),1/2))
- end
- local bullets = {}
- for i = 1,math.random(27,41) do
- task.wait(frame)
- local Bullet = CreatePart(3,Effects,"Neon",0,0,Color3.new(0,0,1),"BulletFuck",Vector3.new(0.6,0.6,0.6))
- MakeForm(Bullet,"Ball")
- Bullet.CFrame = gBullet.CFrame
- Effect({Time = math.random(5,20),EffectType = "Sphere",Size = Vector3.new(3,3,3)*math.random(-3,2),Size2 = Vector3.new(6,6,6)*math.random(-3,2),Transparency = 0.4,Transparency2 = 1,CFrame = Bullet.CFrame,MoveToPos = nil,RotationX = nil,RotationY = nil,RotationZ = nil,Material = "Neon",Color = Color3.new(1,0,0),SoundID = nil,SoundPitch = nil,SoundVolume = nil,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 25})
- table.insert(bullets,Bullet)
- end
- local oofing = false
- for b = 1,#bullets do
- task.wait(frame)
- local part, pos = rayCast(LeftArm.CFrame*CFrame.new(0,-1.5,0).Position,((Mouse.Hit.Position+Vector3.new(math.random(-15,15),math.random(-7,7),math.random(-15,15))) - LeftArm.CFrame*CFrame.new(0,-1.5,0).Position),500,char)
- task.spawn(function()
- FireArc(bullets[b],pos,math.random(17,31),math.random(9,15),false)
- Effect({Time = math.random(25,35),EffectType = "Sphere",Size = Vector3.new(0.6,0.6,0.6),Size2 = Vector3.new(1.6,1.6,1.6),Transparency = 0,Transparency2 = 1,CFrame = bullets[b].CFrame,MoveToPos = nil,RotationX = nil,RotationY = nil,RotationZ = nil,Material = "Neon",Color = Color3.new(1,0,0),SoundID = nil,SoundPitch = nil,SoundVolume = nil,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 25})
- swait(math.random(55,65))
- for i = 1,3 do
- Effect({Time = math.random(45,65),EffectType = "Sphere",Size = Vector3.new(0.6,6,0.6)*math.random(-1.05,1.25),Size2 = Vector3.new(1.6,10,1.6)*math.random(-1.05,1.25),Transparency = 0,Transparency2 = 1,CFrame = bullets[b].CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))),MoveToPos = nil,RotationX = nil,RotationY = nil,RotationZ = nil,Material = "Neon",Color = Color3.new(1,0,0),SoundID = nil,SoundPitch = nil,SoundVolume = nil,UseBoomerangMath = true,Boomerang = 20,SizeBoomerang = 35})
- end
- for i = 0,10 do
- task.wait(frame)
- bullets[b].Transparency = bullets[b].Transparency + 0.1
- end
- oofing = not oofing
- if oofing then
- mdmg(bullets[b].Position,10)
- end
- local EEEBRUHEEE = CreateSound(168513088,bullets[b],3.5,1.1,false)
- bullets[b].Transparency = 1
- EEEBRUHEEE.Ended:Connect(function()
- if stopeverything then return end
- bullets[b]:Destroy()
- end)
- end)
- end
- TS:Create(gBullet, TweenInfo.new(1/6, Enum.EasingStyle.Linear), {Transparency = 1}):Play()
- DB:AddItem(gBullet, 1/6)
- walkspeed = 50
- attack = false
- end
- local function hedshoot()
- attack = true
- walkspeed = 16
- CreateSound(235097614,RootPart,6,1.5,false)
- for i = 0,0.5,0.05 do
- task.wait(frame)
- tweenc(RootJoint, Clerp(RootJoint.C0,ROOTC0 * CFrame.new(0 + .5 * math.cos(sine/50),0,3 - .5 * math.sin(sine/50)) * CFrame.Angles(0,0,math.rad(-60)),0.7/3))
- tweenc(Neck, Clerp(Neck.C0,nc0 * CFrame.new() * CFrame.Angles(0,0,math.rad(60)),1/3))
- tweenc(RightShoulder, Clerp(RightShoulder.C0,CFrame.new(1.25,0.5,-.25) * CFrame.Angles(1.5707963267949,0,math.rad(-60)) * rscp,1/3))
- tweenc(LeftShoulder, Clerp(LeftShoulder.C0,CFrame.new(-1.25,0.5,-.25) * CFrame.Angles(math.rad(95),0,math.rad(10)) * lscp,1/3))
- tweenc(RightHip, Clerp(RightHip.C0,CFrame.new(1,-0.5,-0.5) * CFrame.Angles(math.rad(-15 + 9 * math.cos(sine/74)),math.rad(80),0) * CFrame.Angles(math.rad(0 + 5 * math.cos(sine/37)),0,0),0.7/3))
- tweenc(LeftHip, Clerp(LeftHip.C0,CFrame.new(-1,-1,0) * CFrame.Angles(math.rad(-15 - 9 * math.cos(sine/54)),math.rad(-80),0) * CFrame.Angles(math.rad(0 - 5 * math.cos(sine/41)),0,0),0.7/3))
- tweenc(GunJoint, Clerp(GunJoint.C0,CFrame.new(0,-.5,0) * CFrame.Angles(-1.5707963267949,0,0),1/2))
- end
- Effect({Time = 25,EffectType = "Box",Size = Vector3.new(2,2,2),Size2 = Vector3.new(5,5,5),Transparency = 0,Transparency2 = 1,CFrame = RootPart.CFrame,MoveToPos = nil,RotationX = math.random(-1,1),RotationY = math.random(-1,1),RotationZ = math.random(-1,1),Material = "Neon",Color = Color3.new(1,0,0),SoundID = 642890855,SoundPitch = 0.45,SoundVolume = 6,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 50})
- Effect({Time = 25,EffectType = "Box",Size = Vector3.new(2,2,2),Size2 = Vector3.new(5,5,5),Transparency = 0,Transparency2 = 1,CFrame = RootPart.CFrame,MoveToPos = nil,RotationX = math.random(-1,1),RotationY = math.random(-1,1),RotationZ = math.random(-1,1),Material = "Neon",Color = shade,SoundID = nil,SoundPitch = nil,SoundVolume = nil,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 50})
- Effect({Time = math.random(25,45),EffectType = "Sphere",Size = Vector3.new(2,100,2),Size2 = Vector3.new(6,100,6),Transparency = 0,Transparency2 = 1,CFrame = RootPart.CFrame*CFrame.new(math.random(-1,1),math.random(-1,1),-50)*CFrame.Angles(math.rad(math.random(89,91)),math.rad(math.random(-1,1)),math.rad(math.random(-1,1))),MoveToPos = nil,RotationX = nil,RotationY = nil,RotationZ = nil,Material = "Neon",Color = Color3.new(1,0,0),SoundID = nil,SoundPitch = nil,SoundVolume = nil,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 45})
- Effect({Time = math.random(25,45),EffectType = "Sphere",Size = Vector3.new(3,100,3),Size2 = Vector3.new(9,100,9),Transparency = 0,Transparency2 = 1,CFrame = RootPart.CFrame*CFrame.new(math.random(-1,1),math.random(-1,1),-50)*CFrame.Angles(math.rad(math.random(89,91)),math.rad(math.random(-1,1)),math.rad(math.random(-1,1))),MoveToPos = nil,RotationX = nil,RotationY = nil,RotationZ = nil,Material = "Neon",Color = shade,SoundID = nil,SoundPitch = nil,SoundVolume = nil,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 45})
- mdmg(RootPart.Position,14)
- for i = 1,4 do
- RootPart.CFrame = RootPart.CFrame * CFrame.new(0,0,-25)
- mdmg(RootPart.Position,14)
- Lightning(RootPart.CFrame*CFrame.new(math.random(-2.5,2.5),math.random(-5,5),math.random(-15,15)).Position,RootPart.CFrame*CFrame.new(math.random(-2.5,2.5),math.random(-5,5),math.random(-15,15)).Position,6,25,shade,math.random(30,45),0.5,1.5,0,true,60) Lightning(RootPart.CFrame*CFrame.new(math.random(-2.5,2.5),math.random(-5,5),math.random(-15,15)).Position,RootPart.CFrame*CFrame.new(math.random(-2.5,2.5),math.random(-5,5),math.random(-15,15)).Position,6,25,Color3.new(0,0,1),math.random(30,45),0.5,1.5,0,true,60)
- end
- Effect({Time = 25,EffectType = "Box",Size = Vector3.new(2,2,2),Size2 = Vector3.new(5,5,5),Transparency = 0,Transparency2 = 1,CFrame = RootPart.CFrame,MoveToPos = nil,RotationX = math.random(-1,1),RotationY = math.random(-1,1),RotationZ = math.random(-1,1),Material = "Neon",Color = Color3.new(1,0,0),SoundID = nil,SoundPitch = nil,SoundVolume = nil,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 50})
- Effect({Time = 25,EffectType = "Box",Size = Vector3.new(2,2,2),Size2 = Vector3.new(5,5,5),Transparency = 0,Transparency2 = 1,CFrame = RootPart.CFrame,MoveToPos = nil,RotationX = math.random(-1,1),RotationY = math.random(-1,1),RotationZ = math.random(-1,1),Material = "Neon",Color = shade,SoundID = nil,SoundPitch = nil,SoundVolume = nil,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 50})
- for i = 0,0.5,0.1 do
- task.wait(frame)
- tweenc(RootJoint, Clerp(RootJoint.C0,ROOTC0 * CFrame.new(0 + .5 * math.cos(sine/50),0,3 - .5 * math.sin(sine/50)) * CFrame.Angles(0,0,1.5707963267949),0.7/3))
- tweenc(Neck, Clerp(Neck.C0,nc0 * CFrame.new() * CFrame.Angles(0,0,-1.5707963267949),1/3))
- tweenc(RightShoulder, Clerp(RightShoulder.C0,CFrame.new(1.5,0.5,0) * CFrame.Angles(1.5707963267949,0,1.5707963267949) * rscp,1/3))
- tweenc(LeftShoulder, Clerp(LeftShoulder.C0,CFrame.new(-1.5,0.5,0) * CFrame.Angles(math.rad(40),math.rad(5),math.rad(5)) * lscp,1/3))
- tweenc(RightHip, Clerp(RightHip.C0,CFrame.new(1,-0.5,-0.5) * CFrame.Angles(math.rad(-15 + 9 * math.cos(sine/74)),math.rad(80),0) * CFrame.Angles(math.rad(0 + 5 * math.cos(sine/37)),0,0),0.7/3))
- tweenc(LeftHip, Clerp(LeftHip.C0,CFrame.new(-1,-1,0) * CFrame.Angles(math.rad(-15 - 9 * math.cos(sine/54)),math.rad(-80),0) * CFrame.Angles(math.rad(0 - 5 * math.cos(sine/41)),0,0),0.7/3))
- tweenc(GunJoint, Clerp(GunJoint.C0,CFrame.new(0.05,-1,-0.15) * CFrame.Angles(-1.5707963267949,0,0),1/2))
- end
- attack = false
- walkspeed = 50
- end
- function painlessrain()
- attack = true
- walkspeed = 16
- task.spawn(function()
- for i = 0, 2 do
- swait(12)
- CreateSound(199145095,GJ,10,1)
- end
- end)
- for i = 0,2,0.1 do
- task.wait(frame)
- tweenc(RootJoint, Clerp(RootJoint.C0,ROOTC0 * CFrame.new(0 + .5 * math.cos(sine/50),0,3 - .5 * math.sin(sine/50)) * CFrame.Angles(0,0,math.rad(-10)),0.7/3))
- tweenc(Neck, Clerp(Neck.C0,nc0 * CFrame.new(0,0,0 + ((1) - 1)) * CFrame.Angles(math.rad(25),0,math.rad(-20)),1/3))
- tweenc(RightShoulder, Clerp(RightShoulder.C0,CFrame.new(1.5,0.5,0) * CFrame.Angles(math.rad(35),math.rad(-35),math.rad(20)) * rscp,1/3))
- tweenc(LeftShoulder, Clerp(LeftShoulder.C0,CFrame.new(-1.5,0.5,0) * CFrame.Angles(math.rad(-20),math.rad(-5),math.rad(-10)) * lscp,1/3))
- tweenc(RightHip, Clerp(RightHip.C0,CFrame.new(1,-0.5,-0.5) * CFrame.Angles(math.rad(-15 + 9 * math.cos(sine/74)),math.rad(80),0) * CFrame.Angles(math.rad(0 + 5 * math.cos(sine/37)),0,0),0.7/3))
- tweenc(LeftHip, Clerp(LeftHip.C0,CFrame.new(-1,-1,0) * CFrame.Angles(math.rad(-15 - 9 * math.cos(sine/54)),math.rad(-80),0) * CFrame.Angles(math.rad(0 - 5 * math.cos(sine/41)),0,0),0.7/3))
- tweenc(GunJoint, Clerp(GunJoint.C0,CFrame.new(0.05,-1,-0.15) * CFrame.Angles(math.rad(doe * 22),0,0),1/2))
- end
- for i = 0,1.5,0.1 do
- task.wait(frame)
- tweenc(RootJoint, Clerp(RootJoint.C0,ROOTC0 * CFrame.new(0 + .5 * math.cos(sine/50),0,3 - .5 * math.sin(sine/50)) * CFrame.Angles(0,0,math.rad(-5)),0.7/3))
- tweenc(Neck, Clerp(Neck.C0,nc0 * CFrame.new(0,0,0 + ((1) - 1)) * CFrame.Angles(math.rad(15),0,math.rad(-5)),1/3))
- tweenc(RightShoulder, Clerp(RightShoulder.C0,CFrame.new(1.5,0.5,0) * CFrame.Angles(math.rad(175),math.rad(-10),math.rad(10)) * rscp,1/3))
- tweenc(LeftShoulder, Clerp(LeftShoulder.C0,CFrame.new(-1.5,0.5,0) * CFrame.Angles(math.rad(-10),math.rad(-10),math.rad(-5)) * lscp,1/3))
- tweenc(RightHip, Clerp(RightHip.C0,CFrame.new(1,-0.5,-0.5) * CFrame.Angles(math.rad(-15 + 9 * math.cos(sine/74)),math.rad(80),0) * CFrame.Angles(math.rad(0 + 5 * math.cos(sine/37)),0,0),0.7/3))
- tweenc(LeftHip, Clerp(LeftHip.C0,CFrame.new(-1,-1,0) * CFrame.Angles(math.rad(-15 - 9 * math.cos(sine/54)),math.rad(-80),0) * CFrame.Angles(math.rad(0 - 5 * math.cos(sine/41)),0,0),0.7/3))
- tweenc(GunJoint, Clerp(GunJoint.C0,CFrame.new(0.05,-1,-0.15) * CFrame.Angles(-1.5707963267949,0,0),1/2))
- end
- Effect({Time = 25,EffectType = "Box",Size = Vector3.new(),Size2 = Vector3.new(3,3,3),Transparency = 0,Transparency2 = 1,CFrame = Holetwo.CFrame,MoveToPos = nil,RotationX = math.random(-1,1),RotationY = math.random(-1,1),RotationZ = math.random(-1,1),Material = "Neon",Color = Color3.new(1,0,0),SoundID = 642890855,SoundPitch = 0.45,SoundVolume = 6,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 50})
- Effect({Time = 25,EffectType = "Box",Size = Vector3.new(),Size2 = Vector3.new(3,3,3),Transparency = 0,Transparency2 = 1,CFrame = Holetwo.CFrame,MoveToPos = nil,RotationX = math.random(-1,1),RotationY = math.random(-1,1),RotationZ = math.random(-1,1),Material = "Neon",Color = shade,SoundID = nil,SoundPitch = nil,SoundVolume = nil,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 50})
- local skypos = Holetwo.CFrame * CFrame.new(-400,0,0)
- local DISTANCE = (Holetwo.Position - skypos.Position).Magnitude
- local killbeam = CreatePart(3,Effects,"Neon",0,0,shade,"Kill Beam",Vector3.new(1,DISTANCE,1))
- killbeam.CFrame = CFrame.new(Holetwo.Position,skypos.Position) * CFrame.new(0,0,-DISTANCE/2) * CFrame.Angles(1.5707963267949,0,0)
- MakeForm(killbeam,"Cyl")
- TS:Create(killbeam, TweenInfo.new(0.42, Enum.EasingStyle.Linear), {Transparency = 1}):Play()
- DB:AddItem(killbeam, 0.42)
- for _ = 1, 5 do
- Lightning(Holetwo.Position,m.Hit.Position,15,3.5,Color3.new(0,0,1),25,0,1,0,true,55)
- end
- for i = 0,2 do
- Effect({Time = math.random(25,50),EffectType = "Round Slash",Size = Vector3.new(),Size2 = Vector3.new(.1,0,.1),Transparency = 0,Transparency2 = 1,CFrame = Holetwo.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))),MoveToPos = nil,RotationX = math.random(-1,1),RotationY = math.random(-1,1),RotationZ = math.random(-1,1),Material = "Neon",Color = Color3.new(1,0,0),SoundID = nil,SoundPitch = nil,SoundVolume = nil,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 15})
- Effect({Time = math.random(25,50),EffectType = "Round Slash",Size = Vector3.new(),Size2 = Vector3.new(.1,0,.1),Transparency = 0,Transparency2 = 1,CFrame = Holetwo.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))),MoveToPos = nil,RotationX = math.random(-1,1),RotationY = math.random(-1,1),RotationZ = math.random(-1,1),Material = "Neon",Color = shade,SoundID = nil,SoundPitch = nil,SoundVolume = nil,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 15})
- end
- Effect({Time = 25,EffectType = "Box",Size = Vector3.new(),Size2 = Vector3.new(3,3,3),Transparency = 0,Transparency2 = 1,CFrame = skypos,MoveToPos = nil,RotationX = math.random(-1,1),RotationY = math.random(-1,1),RotationZ = math.random(-1,1),Material = "Neon",Color = Color3.new(1,0,0),SoundID = 192410089,SoundPitch = .55,SoundVolume = 8,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 50})
- Effect({Time = 25,EffectType = "Box",Size = Vector3.new(),Size2 = Vector3.new(3,3,3),Transparency = 0,Transparency2 = 1,CFrame = skypos,MoveToPos = nil,RotationX = math.random(-1,1),RotationY = math.random(-1,1),RotationZ = math.random(-1,1),Material = "Neon",Color = shade,SoundID = nil,SoundPitch = nil,SoundVolume = nil,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 50})
- for i = 0,2 do
- Effect({Time = math.random(25,50),EffectType = "Round Slash",Size = Vector3.new(),Size2 = Vector3.new(.1,0,.1),Transparency = 0,Transparency2 = 1,CFrame = skypos*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))),MoveToPos = nil,RotationX = math.random(-1,1),RotationY = math.random(-1,1),RotationZ = math.random(-1,1),Material = "Neon",Color = Color3.new(1,0,0),SoundID = nil,SoundPitch = nil,SoundVolume = nil,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 15})
- Effect({Time = math.random(25,50),EffectType = "Round Slash",Size = Vector3.new(),Size2 = Vector3.new(.1,0,.1),Transparency = 0,Transparency2 = 1,CFrame = skypos*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))),MoveToPos = nil,RotationX = math.random(-1,1),RotationY = math.random(-1,1),RotationZ = math.random(-1,1),Material = "Neon",Color = shade,SoundID = nil,SoundPitch = nil,SoundVolume = nil,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 15})
- end
- for i = 0,.5,0.1 do
- task.wait(frame)
- tweenc(RootJoint, Clerp(RootJoint.C0,ROOTC0 * CFrame.new(0 + .5 * math.cos(sine/50),0,3 - .5 * math.sin(sine/50)) * CFrame.Angles(0,0,math.rad(-5)),0.7/3))
- tweenc(Neck, Clerp(Neck.C0,nc0 * CFrame.new(0,0,0 + ((1) - 1)) * CFrame.Angles(math.rad(15),0,math.rad(-5)),1/3))
- tweenc(RightShoulder, Clerp(RightShoulder.C0,CFrame.new(1.5,0.5,0) * CFrame.Angles(math.rad(225),math.rad(-20),math.rad(20)) * rscp,1/3))
- tweenc(LeftShoulder, Clerp(LeftShoulder.C0,CFrame.new(-1.5,0.5,0) * CFrame.Angles(math.rad(-5),math.rad(-5),0) * lscp,1/3))
- tweenc(RightHip, Clerp(RightHip.C0,CFrame.new(1,-0.5,-0.5) * CFrame.Angles(math.rad(-15 + 9 * math.cos(sine/74)),math.rad(80),0) * CFrame.Angles(math.rad(0 + 5 * math.cos(sine/37)),0,0),0.7/3))
- tweenc(LeftHip, Clerp(LeftHip.C0,CFrame.new(-1,-1,0) * CFrame.Angles(math.rad(-15 - 9 * math.cos(sine/54)),math.rad(-80),0) * CFrame.Angles(math.rad(0 - 5 * math.cos(sine/41)),0,0),0.7/3))
- tweenc(GunJoint, Clerp(GunJoint.C0,CFrame.new(0.05,-1,-0.15) * CFrame.Angles(-1.5707963267949,0,0),1/2))
- end
- for i = 0,.5,0.1 do
- task.wait(frame)
- tweenc(RootJoint, Clerp(RootJoint.C0,ROOTC0 * CFrame.new(0 + .5 * math.cos(sine/50),0,3 - .5 * math.sin(sine/50)) * CFrame.Angles(0,0,math.rad(-5)),0.7/3))
- tweenc(Neck, Clerp(Neck.C0,nc0 * CFrame.new(0,0,0 + ((1) - 1)) * CFrame.Angles(math.rad(15),0,math.rad(-5)),1/3))
- tweenc(RightShoulder, Clerp(RightShoulder.C0,CFrame.new(1.5,0.5,0) * CFrame.Angles(math.rad(175),math.rad(-10),math.rad(10)) * rscp,1/3))
- tweenc(LeftShoulder, Clerp(LeftShoulder.C0,CFrame.new(-1.5,0.5,0) * CFrame.Angles(math.rad(-5),math.rad(-5),0) * lscp,1/3))
- tweenc(RightHip, Clerp(RightHip.C0,CFrame.new(1,-0.5,-0.5) * CFrame.Angles(math.rad(-15 + 9 * math.cos(sine/74)),math.rad(80),0) * CFrame.Angles(math.rad(0 + 5 * math.cos(sine/37)),0,0),0.7/3))
- tweenc(LeftHip, Clerp(LeftHip.C0,CFrame.new(-1,-1,0) * CFrame.Angles(math.rad(-15 - 9 * math.cos(sine/54)),math.rad(-80),0) * CFrame.Angles(math.rad(0 - 5 * math.cos(sine/41)),0,0),0.7/3))
- tweenc(GunJoint, Clerp(GunJoint.C0,CFrame.new(0.05,-1,-0.15) * CFrame.Angles(-1.5707963267949,0,0),1/2))
- end
- attack = false
- walkspeed = 50
- swait(36)
- local onethirdattack = 0
- for i = 1,5 do
- onethirdattack = onethirdattack + 1
- if onethirdattack >= 4 then
- onethirdattack = 1
- end
- local Sky = RootPart.CFrame*CFrame.new(0,500,0)
- local MoPos = (Mouse.Hit*CFrame.new(math.random(-18,18),0,math.random(-18,18))).Position
- local DISTANCE = (Sky.Position - MoPos).Magnitude
- for _ = 1, 5 do
- Lightning(Sky.Position,MoPos,15,3.5,Color3.new(0,0,1),25,0,1,0,true,55)
- end
- local killbeam = CreatePart(3,Effects,"Neon",0,0,shade,"Kill Beam",Vector3.new(1,DISTANCE,1))
- killbeam.CFrame = CFrame.new(Sky.Position,MoPos) * CFrame.new(0,0,-DISTANCE/2) * CFrame.Angles(1.5707963267949,0,0)
- MakeForm(killbeam,"Cyl")
- TS:Create(killbeam, TweenInfo.new(0.42, Enum.EasingStyle.Linear), {Transparency = 1}):Play()
- DB:AddItem(killbeam, 0.42)
- Effect({Time = 25,EffectType = "Box",Size = Vector3.new(),Size2 = Vector3.new(3,3,3),Transparency = 0,Transparency2 = 1,CFrame = CFrame.new(MoPos),MoveToPos = nil,RotationX = math.random(-1,1),RotationY = math.random(-1,1),RotationZ = math.random(-1,1),Material = "Neon",Color = Color3.new(1,0,0),SoundID = 192410089,SoundPitch = .55,SoundVolume = 8,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 50})
- Effect({Time = 25,EffectType = "Box",Size = Vector3.new(),Size2 = Vector3.new(3,3,3),Transparency = 0,Transparency2 = 1,CFrame = CFrame.new(MoPos),MoveToPos = nil,RotationX = math.random(-1,1),RotationY = math.random(-1,1),RotationZ = math.random(-1,1),Material = "Neon",Color = shade,SoundID = nil,SoundPitch = nil,SoundVolume = nil,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 50})
- for i = 0,2 do
- Effect({Time = math.random(25,50),EffectType = "Round Slash",Size = Vector3.new(),Size2 = Vector3.new(.1,0,.1),Transparency = 0,Transparency2 = 1,CFrame = CFrame.new(MoPos)*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))),MoveToPos = nil,RotationX = math.random(-1,1),RotationY = math.random(-1,1),RotationZ = math.random(-1,1),Material = "Neon",Color = Color3.new(1,0,0),SoundID = nil,SoundPitch = nil,SoundVolume = nil,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 15})
- Effect({Time = math.random(25,50),EffectType = "Round Slash",Size = Vector3.new(),Size2 = Vector3.new(.1,0,.1),Transparency = 0,Transparency2 = 1,CFrame = CFrame.new(MoPos)*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))),MoveToPos = nil,RotationX = math.random(-1,1),RotationY = math.random(-1,1),RotationZ = math.random(-1,1),Material = "Neon",Color = shade,SoundID = nil,SoundPitch = nil,SoundVolume = nil,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 15})
- end
- if onethirdattack == 3 then
- mdmg(MoPos,12)
- end
- swait(15)
- end
- end
- function SingularityBeam()
- attack = true
- walkspeed = 0
- AttackGyro()
- for i = 0,0.5,0.05 do
- task.wait(frame)
- tweenc(RootJoint, Clerp(RootJoint.C0,ROOTC0 * CFrame.new(0 + .5 * math.cos(sine/50),0,3 - .5 * math.sin(sine/50)) * CFrame.Angles(0,0,math.rad(-60)),0.7/3))
- tweenc(Neck, Clerp(Neck.C0,nc0 * CFrame.new() * CFrame.Angles(0,0,math.rad(60)),1/3))
- tweenc(RightShoulder, Clerp(RightShoulder.C0,CFrame.new(1.25,0.5,-.25) * CFrame.Angles(1.5707963267949,0,math.rad(-60)) * rscp,1/3))
- tweenc(LeftShoulder, Clerp(LeftShoulder.C0,CFrame.new(-1.25,0.5,-.25) * CFrame.Angles(math.rad(95),0,math.rad(10)) * lscp,1/3))
- tweenc(RightHip, Clerp(RightHip.C0,CFrame.new(1,-0.5,-0.5) * CFrame.Angles(math.rad(-15 + 9 * math.cos(sine/74)),math.rad(80),0) * CFrame.Angles(math.rad(0 + 5 * math.cos(sine/37)),0,0),0.7/3))
- tweenc(LeftHip, Clerp(LeftHip.C0,CFrame.new(-1,-1,0) * CFrame.Angles(math.rad(-15 - 9 * math.cos(sine/54)),math.rad(-80),0) * CFrame.Angles(math.rad(0 - 5 * math.cos(sine/41)),0,0),0.7/3))
- tweenc(GunJoint, Clerp(GunJoint.C0,CFrame.new(0,-.5,0) * CFrame.Angles(-1.5707963267949,0,0),1/2))
- end
- local HoleDist = (Hole.Position - Holetwo.Position).Magnitude
- local chargebeam = CreatePart(3,Effects,"Neon",0,0,shade,"Charge Beam",Vector3.new(.25,HoleDist,.25),false)
- MakeForm(chargebeam,"Cyl")
- chargebeam.CFrame = CFrame.new(Hole.Position,Holetwo.Position) * CFrame.new(0,0,-HoleDist/2) * CFrame.Angles(1.5707963267949,0,0)
- local chargeweld = weldBetween(GJ,chargebeam)
- local chargeball = CreatePart(3,Effects,"Neon",0,0,shade,"Charge Ball",Vector3.new(.5,.5,.5),false)
- chargeball.Shape = "Ball"
- chargeball.CFrame = Holetwo.CFrame
- weldBetween(Holetwo,chargeball)
- CreateSound(342793847,Hole,10,1,false)
- local bigball = TS:Create(chargeball, TweenInfo.new(3.86, Enum.EasingStyle.Linear),{Size = Vector3.new(2.5,2.5,2.5)})
- bigball:Play()
- bigball.Completed:Wait()
- chargebeam:Destroy()
- local KillDist = (Holetwo.Position - Mouse.Hit.Position).Magnitude
- task.spawn(function()
- repeat if stopeverything then return end KillDist = (Holetwo.Position - Mouse.Hit.Position).Magnitude task.wait(frame) until attack == false
- end)
- local killbeam = CreatePart(3,Effects,"Neon",0,0,shade,"Kill Beam",Vector3.new(2.5,KillDist,2.5))
- MakeForm(killbeam,"Cyl")
- task.spawn(function()
- while not stopeverything and attack do
- mdmg(Mouse.Hit.Position,5)
- swait(6)
- end
- end)
- task.spawn(function()
- local isdoingathing = false
- while not stopeverything and attack do
- isdoingathing = not isdoingathing
- if plr.Name == USERNAME then
- RootPart.CFrame = RootPart.CFrame * CFrame.new(0,0,.1)
- end
- killbeam.Size = Vector3.new(2.5,KillDist,2.5)
- killbeam.CFrame = CFrame.new(Holetwo.Position,Mouse.Hit.Position) * CFrame.new(0,0,-KillDist/2) * CFrame.Angles(1.5707963267949,0,0)
- if isdoingathing then
- Lightning(Holetwo.Position,Mouse.Hit.Position,15,3,Color3.new(0,0,1),10,0,1,0,true,55)
- Effect({Time = 10,EffectType = "Round Slash",Size = Vector3.new(),Size2 = Vector3.new(.1,0,.1),Transparency = 0,Transparency2 = 1,CFrame = Holetwo.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))),MoveToPos = nil,RotationX = math.random(-1,1),RotationY = math.random(-1,1),RotationZ = math.random(-1,1),Material = "Neon",Color = Color3.new(1,0,0),SoundID = nil,SoundPitch = nil,SoundVolume = nil,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 15})
- Effect({Time = 10,EffectType = "Round Slash",Size = Vector3.new(),Size2 = Vector3.new(.1,0,.1),Transparency = 0,Transparency2 = 1,CFrame = Holetwo.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))),MoveToPos = nil,RotationX = math.random(-1,1),RotationY = math.random(-1,1),RotationZ = math.random(-1,1),Material = "Neon",Color = shade,SoundID = nil,SoundPitch = nil,SoundVolume = nil,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 15})
- Effect({Time = 10,EffectType = "Box",Size = Vector3.new(),Size2 = Vector3.new(3,3,3),Transparency = 0,Transparency2 = 1,CFrame = Mouse.Hit,MoveToPos = nil,RotationX = math.random(-1,1),RotationY = math.random(-1,1),RotationZ = math.random(-1,1),Material = "Neon",Color = Color3.new(1,0,0),SoundID = nil,SoundPitch = nil,SoundVolume = nil,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 50})
- Effect({Time = 10,EffectType = "Box",Size = Vector3.new(),Size2 = Vector3.new(3,3,3),Transparency = 0,Transparency2 = 1,CFrame = Mouse.Hit,MoveToPos = nil,RotationX = math.random(-1,1),RotationY = math.random(-1,1),RotationZ = math.random(-1,1),Material = "Neon",Color = shade,SoundID = nil,SoundPitch = nil,SoundVolume = nil,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 50})
- Effect({Time = 10,EffectType = "Round Slash",Size = Vector3.new(),Size2 = Vector3.new(.1,0,.1),Transparency = 0,Transparency2 = 1,CFrame = Mouse.Hit*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))),MoveToPos = nil,RotationX = math.random(-1,1),RotationY = math.random(-1,1),RotationZ = math.random(-1,1),Material = "Neon",Color = Color3.new(1,0,0),SoundID = nil,SoundPitch = nil,SoundVolume = nil,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 15})
- Effect({Time = 10,EffectType = "Round Slash",Size = Vector3.new(),Size2 = Vector3.new(.1,0,.1),Transparency = 0,Transparency2 = 1,CFrame = Mouse.Hit*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))),MoveToPos = nil,RotationX = math.random(-1,1),RotationY = math.random(-1,1),RotationZ = math.random(-1,1),Material = "Neon",Color = shade,SoundID = nil,SoundPitch = nil,SoundVolume = nil,UseBoomerangMath = true,Boomerang = 0,SizeBoomerang = 15})
- end
- task.wait(frame)
- end
- end)
- CreateSound(138677306,Holetwo,10,1,false)
- CreateSound(415700134,Holetwo,10,1,false)
- swait(150)
- CreateSound(3264923,Holetwo,10,1,false)
- swait(30)
- chargeball:Destroy()
- killbeam:Destroy()
- walkspeed = 50
- attack = false
- end
- local FLYING = false
- iyflyspeed = 1
- function sFLY()
- if not ISFLYING then
- FLYING = false
- if BG then BG:Destroy() end
- if BV then BV:Destroy() end
- else
- local CONTROL = {F = 0,B = 0,L = 0,R = 0,Q = 0,E = 0}
- local lCONTROL = {F = 0,B = 0,L = 0,R = 0,Q = 0,E = 0}
- local SPEED = 0
- local function FLY()
- FLYING = true
- BG = Instance.new('BodyGyro',RootPart)
- BV = Instance.new('BodyVelocity',RootPart)
- BG.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
- BG.P = 1e4
- BG.CFrame = RootPart.CFrame
- BV.Velocity = Vector3.zero
- BV.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- local qwoieqwioeukjs
- local cam = workspace.CurrentCamera
- qwoieqwioeukjs = RnS.RenderStepped:Connect(function()
- if not qwoieqwioeukjs.Connected then return end
- if not FLYING or stopeverything then qwoieqwioeukjs:Disconnect() return end
- if not alreadyfixing then
- if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 or CONTROL.Q + CONTROL.E ~= 0 then
- SPEED = 50
- elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 or CONTROL.Q + CONTROL.E ~= 0) and SPEED ~= 0 then
- SPEED = 0
- end
- if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 or (CONTROL.Q + CONTROL.E) ~= 0 then
- BV.Velocity = ((cam.CoordinateFrame.LookVector * (CONTROL.F + CONTROL.B)) + ((cam.CoordinateFrame * CFrame.new(CONTROL.L + CONTROL.R,(CONTROL.F + CONTROL.B + CONTROL.Q + CONTROL.E) * 0.2,0).Position) - cam.CoordinateFrame.Position)) * SPEED
- lCONTROL = {F = CONTROL.F,B = CONTROL.B,L = CONTROL.L,R = CONTROL.R}
- elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and (CONTROL.Q + CONTROL.E) == 0 and SPEED ~= 0 then
- BV.Velocity = ((cam.CoordinateFrame.LookVector * (lCONTROL.F + lCONTROL.B)) + ((cam.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R,(lCONTROL.F + lCONTROL.B + CONTROL.Q + CONTROL.E) * 0.2,0).Position) - cam.CoordinateFrame.Position)) * SPEED
- else
- BV.Velocity = Vector3.zero
- end
- BG.CFrame = cam.CoordinateFrame
- end
- end)
- end
- m.KeyDown:Connect(function(KEY)
- if stopeverything then return end
- KEY = string.lower(KEY)
- if KEY == 'w' then
- CONTROL.F = iyflyspeed
- elseif KEY == 's' then
- CONTROL.B = - iyflyspeed
- elseif KEY == 'a' then
- CONTROL.L = - iyflyspeed
- elseif KEY == 'd' then
- CONTROL.R = iyflyspeed
- elseif KEY == 'e' then
- CONTROL.Q = iyflyspeed*2
- elseif KEY == 'q' then
- CONTROL.E = -iyflyspeed*2
- end
- end)
- m.KeyUp:Connect(function(KEY)
- if stopeverything then return end
- KEY = string.lower(KEY)
- if KEY == 'w' then
- CONTROL.F = 0
- elseif KEY == 's' then
- CONTROL.B = 0
- elseif KEY == 'a' then
- CONTROL.L = 0
- elseif KEY == 'd' then
- CONTROL.R = 0
- elseif KEY == 'e' then
- CONTROL.Q = 0
- elseif KEY == 'q' then
- CONTROL.E = 0
- end
- end)
- FLY()
- end
- end
- local function sphere(bonuspeed,typee,pos,scale,value,color)
- local type = typee
- local rng = Instance.new("Part")
- rng.Anchored = true
- rng.BrickColor = color
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Material = "Neon"
- rng.Size = Vector3.one
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- local rngm = Instance.new("SpecialMesh",rng)
- rngm.MeshType = "Sphere"
- rngm.Scale = scale
- rng.Parent = Effects
- local scaler2 = 1
- if type == "Add" then
- scaler2 = 1*value
- elseif type == "Divide" then
- scaler2 = 1/value
- end
- task.spawn(function()
- local ti = TweenInfo.new(10/bonuspeed*10 + frame, Enum.EasingStyle.Linear)
- TS:Create(rng, ti, {Transparency = 1}):Play()
- for i = 0,10/bonuspeed,0.1 do
- task.wait(frame)
- if type == "Add" then
- scaler2 -= 0.01*value/bonuspeed
- elseif type == "Divide" then
- scaler2 -= 0.01/value*bonuspeed
- end
- rng.BrickColor = BrickColor.random()
- rngm.Scale += Vector3.new(scaler2*bonuspeed,scaler2*bonuspeed,scaler2*bonuspeed)
- end
- rng:Destroy()
- end)
- end
- local function sphere2(bonuspeed,typee,pos,scale,value,value2,value3,color)
- local type = typee
- local rng = Instance.new("Part")
- rng.Anchored = true
- rng.BrickColor = color
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Material = "Neon"
- rng.Size = Vector3.one
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- local rngm = Instance.new("SpecialMesh",rng)
- rngm.MeshType = "Sphere"
- rngm.Scale = scale
- rng.Parent = Effects
- local scaler2 = 1
- local scaler2b = 1
- local scaler2c = 1
- if type == "Add" then
- scaler2 = 1*value
- scaler2b = 1*value2
- scaler2c = 1*value3
- elseif type == "Divide" then
- scaler2 = 1/value
- scaler2b = 1/value2
- scaler2c = 1/value3
- end
- task.spawn(function()
- local ti = TweenInfo.new(10/bonuspeed*10 + frame, Enum.EasingStyle.Linear)
- TS:Create(rng, ti, {Transparency = 1}):Play()
- for i = 0,10/bonuspeed,0.1 do
- task.wait(frame)
- if type == "Add" then
- scaler2 -= 0.01*value/bonuspeed
- scaler2b -= 0.01*value/bonuspeed
- scaler2c -= 0.01*value/bonuspeed
- elseif type == "Divide" then
- scaler2 -= 0.01/value*bonuspeed
- scaler2b -= 0.01/value*bonuspeed
- scaler2c -= 0.01/value*bonuspeed
- end
- rngm.Scale += Vector3.new(scaler2*bonuspeed,scaler2b*bonuspeed,scaler2c*bonuspeed)
- end
- rng:Destroy()
- end)
- end
- local function PixelBlockX(bonuspeed,FastSpeed,typee,pos,x1,y1,z1,value,color,outerpos)
- local type = typee
- local rng = Instance.new("Part")
- rng.Anchored = true
- rng.BrickColor = color
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Material = "Neon"
- rng.Size = Vector3.one
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos + rng.CFrame.LookVector*outerpos
- local rngm = Instance.new("SpecialMesh",rng)
- rngm.MeshType = "Brick"
- rngm.Scale = Vector3.new(x1,y1,z1)
- rng.Parent = Effects
- local scaler2 = 1
- local speeder = FastSpeed/10
- if type == "Add" then
- scaler2 = 1*value
- elseif type == "Divide" then
- scaler2 = 1/value
- end
- task.spawn(function()
- local ti = TweenInfo.new(10/bonuspeed*10 + frame, Enum.EasingStyle.Linear)
- TS:Create(rng, ti, {Transparency = 1}):Play()
- for i = 0,10/bonuspeed,0.1 do
- task.wait(frame)
- if type == "Add" then
- scaler2 -= 0.01*value/bonuspeed
- elseif type == "Divide" then
- scaler2 -= 0.01/value*bonuspeed
- end
- rng.BrickColor = BrickColor.random()
- speeder -= 0.01*FastSpeed*bonuspeed/10
- rng.CFrame += rng.CFrame.LookVector*speeder*bonuspeed
- rngm.Scale -= Vector3.new(scaler2*bonuspeed,scaler2*bonuspeed,scaler2*bonuspeed)
- end
- rng:Destroy()
- end)
- end
- local function sphereMK(bonuspeed,FastSpeed,typee,pos,x1,y1,z1,value,color,outerpos)
- local type = typee
- local rng = Instance.new("Part")
- rng.Anchored = true
- rng.BrickColor = color
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Material = "Neon"
- rng.Size = Vector3.one
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos + rng.CFrame.LookVector*outerpos
- local rngm = Instance.new("SpecialMesh",rng)
- rngm.MeshType = "Sphere"
- rngm.Scale = Vector3.new(x1,y1,z1)
- rng.Parent = Effects
- local scaler2 = 1
- local speeder = FastSpeed
- if type == "Add" then
- scaler2 = 1*value
- elseif type == "Divide" then
- scaler2 = 1/value
- end
- task.spawn(function()
- local ti = TweenInfo.new(10/bonuspeed*10 + frame, Enum.EasingStyle.Linear)
- TS:Create(rng, ti, {Transparency = 1}):Play()
- for i = 0,10/bonuspeed,0.1 do
- task.wait(frame)
- if type == "Add" then
- scaler2 -= 0.01*value/bonuspeed
- elseif type == "Divide" then
- scaler2 -= 0.01/value*bonuspeed
- end
- rng.BrickColor = BrickColor.random()
- speeder -= 0.01*FastSpeed*bonuspeed
- rng.CFrame += rng.CFrame.LookVector*speeder*bonuspeed
- rngm.Scale += Vector3.new(scaler2*bonuspeed,scaler2*bonuspeed,0)
- end
- rng:Destroy()
- end)
- end
- local function slash(bonuspeed,rotspeed,rotatingop,typeofshape,typee,typeoftrans,pos,scale,value,color)
- local type = typee
- local rotenable = rotatingop
- local rng = Instance.new("Part")
- rng.Anchored = true
- rng.BrickColor = color
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Material = "Neon"
- rng.Size = Vector3.one
- rng.Transparency = 0
- if typeoftrans == "In" then
- rng.Transparency = 1
- end
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- local rngm = Instance.new("SpecialMesh",rng)
- rngm.MeshType = "FileMesh"
- if typeofshape == "Normal" then
- rngm.MeshId = "rbxassetid://662586858"
- elseif typeofshape == "Round" then
- rngm.MeshId = "rbxassetid://662585058"
- end
- rngm.Scale = scale
- rng.Parent = Effects
- local scaler2 = 1/10
- if type == "Add" then
- scaler2 = 1*value/10
- elseif type == "Divide" then
- scaler2 = 1/value/10
- end
- local randomrot = math.random(1,2)
- task.spawn(function()
- for i = 0,10/bonuspeed,0.1 do
- task.wait(frame)
- if type == "Add" then
- scaler2 -= 0.01*value/bonuspeed/10
- elseif type == "Divide" then
- scaler2 -= 0.01/value*bonuspeed/10
- end
- if rotenable then
- if randomrot == 1 then
- rng.CFrame *= CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
- else
- rng.CFrame *= CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
- end
- end
- if typeoftrans == "Out" then
- rng.Transparency += 0.01*bonuspeed
- else
- rng.Transparency -= 0.01*bonuspeed
- end
- rngm.Scale += Vector3.new(scaler2*bonuspeed/10,0,scaler2*bonuspeed/10)
- end
- rng:Destroy()
- end)
- end
- local taunts = {"None", "None", "sAnIty", "Err0r", "iNSaNiTY", "FAST BOIII", "Glitch", "Alastor", "TheEnd"}
- local sounds = {3247404955, 5315171837, 262950484, 481104377, 262950484, 2297862957, 2297862957, 5460732000, 9057254499}
- local ae = 1
- Mouse.KeyDown:Connect(function(k)
- if stopeverything then return end
- k = k:lower()
- if k == "m" then
- ae = (ae + 1) % (#taunts + 1)
- if ae == 0 then ae = 1 end
- local taunt = taunts[ae]
- local sound = sounds[ae]
- TauntRemote:FireServer(taunt, sound)
- if taunt == "sAnIty" then
- repeat if stopeverything then return end
- RnS.RenderStepped:Wait()
- until SongSync.Value >= 24 or songid.Value ~= "rbxassetid://262950484"
- if songid.Value == "rbxassetid://262950484" then
- --chatfunc(" ")
- sphere(1,"Add",Torso.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),Vector3.new(1,100000,1),0.6,BrickColor.new("Really black"))
- sphere2(math.random(1,4),"Add",Torso.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),Vector3.new(5,1,5),-0.005,math.random(25,100)/25,-0.005,BrickColor.new("Institutional white"))
- sphere(1,"Add",Torso.CFrame,Vector3.one,0.8,BrickColor.new("Really black"))
- sphere2(2,"Add",Torso.CFrame,Vector3.new(5,5,5),0.5,0.5,0.5,BrickColor.new("Institutional white"))
- sphere2(2,"Add",Torso.CFrame,Vector3.new(5,5,5),0.75,0.75,0.75,BrickColor.new("Institutional white"))
- sphere2(3,"Add",Torso.CFrame,Vector3.new(5,5,5),1,1,1,BrickColor.new("Institutional white"))
- sphere2(3,"Add",Torso.CFrame,Vector3.new(5,5,5),1.25,1.25,1.25,BrickColor.new("Institutional white"))
- sphere2(1,"Add",Torso.CFrame,Vector3.new(5,10000,5),0.5,0.5,0.5,BrickColor.new("Institutional white"))
- sphere2(2,"Add",Torso.CFrame,Vector3.new(5,10000,5),0.6,0.6,0.6,BrickColor.new("Institutional white"))
- for i = 0,49 do
- PixelBlockX(1,math.random(1,20),"Add",Torso.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),8,8,8,0.16,BrickColor.new("Really black"),0)
- sphereMK(2.5,-1,"Add",Torso.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,BrickColor.new("Really black"),0)
- slash(math.random(10,20)/10,5,true,"Round","Add","Out",Torso.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-30,30)),math.rad(math.random(-30,30)),math.rad(math.random(-40,40))),Vector3.new(0.05,0.01,0.05),math.random(50,60)/250,BrickColor.new("Really black"))
- end
- CreateSound(239000203,Torso,10,false)
- CreateSound(1042716828,Torso,10,false)
- TauntRemote:FireServer("iNSaNiTY",262950484)
- end
- end
- --[[
- if songid.Value ~= "rbxassetid://3247404955" and songid.Value ~= "rbxassetid://6190635423" and songid.Value ~= "rbxassetid://2371543268" and songid.Value ~= "rbxassetid://5315171837" and songid ~= "rbxassetid://5089636816" and songid.Value ~= "rbxassetid://6768783121" and songid.Value ~= "rbxassetid://4835535512" and songid.Value ~= "rbxassetid://5089636816" and songid.Value ~= "rbxassetid://1280010741" and songid.Value ~= "rbxassetid://5355210927" and songid.Value ~="rbxassetid://2581112923" and songid.Value ~= "rbxassetid://262950484" and songid.Value ~= "rbxassetid://481104377" and songid.Value ~= "rbxassetid://2920078671" and songid.Value ~= "rbxassetid://2297862957" and songid.Value ~= "rbxassetid://1338971957" and songid.Value ~= "rbxassetid://5460732000" and songid.Value ~= "rbxassetid://4557673096" and songid.Value ~= "rbxassetid://348832364" and songid.Value ~= "rbxassetid://1143392568" then
- TauntRemote:FireServer("None",3247404955)
- elseif songid.Value == "rbxassetid://3247404955" then
- TauntRemote:FireServer("None",5315171837)
- elseif songid.Value == "rbxassetid://5315171837" then
- TauntRemote:FireServer("sAnIty",262950484)
- songid.Value = "rbxassetid://262950484"
- repeat if stopeverything then return end
- RnS.RenderStepped:Wait()
- until SongSync.Value >= 24 or songid.Value ~= "rbxassetid://262950484"
- if songid.Value == "rbxassetid://262950484" then
- --chatfunc(" ")
- sphere(1,"Add",Torso.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),Vector3.new(1,100000,1),0.6,BrickColor.new("Really black"))
- sphere2(math.random(1,4),"Add",Torso.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),Vector3.new(5,1,5),-0.005,math.random(25,100)/25,-0.005,BrickColor.new("Institutional white"))
- sphere(1,"Add",Torso.CFrame,Vector3.one,0.8,BrickColor.new("Really black"))
- sphere2(2,"Add",Torso.CFrame,Vector3.new(5,5,5),0.5,0.5,0.5,BrickColor.new("Institutional white"))
- sphere2(2,"Add",Torso.CFrame,Vector3.new(5,5,5),0.75,0.75,0.75,BrickColor.new("Institutional white"))
- sphere2(3,"Add",Torso.CFrame,Vector3.new(5,5,5),1,1,1,BrickColor.new("Institutional white"))
- sphere2(3,"Add",Torso.CFrame,Vector3.new(5,5,5),1.25,1.25,1.25,BrickColor.new("Institutional white"))
- sphere2(1,"Add",Torso.CFrame,Vector3.new(5,10000,5),0.5,0.5,0.5,BrickColor.new("Institutional white"))
- sphere2(2,"Add",Torso.CFrame,Vector3.new(5,10000,5),0.6,0.6,0.6,BrickColor.new("Institutional white"))
- for i = 0,49 do
- PixelBlockX(1,math.random(1,20),"Add",Torso.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),8,8,8,0.16,BrickColor.new("Really black"),0)
- sphereMK(2.5,-1,"Add",Torso.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,BrickColor.new("Really black"),0)
- slash(math.random(10,20)/10,5,true,"Round","Add","Out",Torso.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-30,30)),math.rad(math.random(-30,30)),math.rad(math.random(-40,40))),Vector3.new(0.05,0.01,0.05),math.random(50,60)/250,BrickColor.new("Really black"))
- end
- CreateSound(239000203,Torso,10,false)
- CreateSound(1042716828,Torso,10,false)
- TauntRemote:FireServer("iNSaNiTY",262950484)
- end
- elseif songid.Value == "rbxassetid://262950484" then
- TauntRemote:FireServer("Err0r",481104377)
- elseif songid.Value == "rbxassetid://262950484" then
- TauntRemote:FireServer("iNSaNiTY",262950484)
- elseif songid.Value == "rbxassetid://481104377" then
- TauntRemote:FireServer("FAST BOIII",2920078671)
- elseif songid.Value == "rbxassetid://2920078671" then
- TauntRemote:FireServer("Glitch",2297862957)
- elseif songid.Value == "rbxassetid://2297862957" then
- TauntRemote:FireServer("None",3247404955)
- elseif songid.Value == "rbxassetid://2297862957" then
- TauntRemote:FireServer("Chill",1338971957)
- elseif songid.Value == "rbxassetid://1338971957" then
- TauntRemote:FireServer("Alastor",5460732000)
- elseif songid.Value == "rbxassetid://5460732000" then
- TauntRemote:FireServer("kArmA",4557673096)
- elseif songid.Value == "rbxassetid://4557673096" then
- TauntRemote:FireServer("V1",2581112923)
- elseif songid.Value == "rbxassetid://2581112923" then
- TauntRemote:FireServer("caverns",5355210927)
- elseif songid.Value == "rbxassetid://5355210927" then
- TauntRemote:FireServer("funk",1280010741)
- elseif songid.Value == "rbxassetid://1280010741" then
- TauntRemote:FireServer("sussyhoney",5089636816)
- elseif songid.Value == "rbxassetid://5089636816" then
- TauntRemote:FireServer("hi",4835535512)
- elseif songid.Value == "rbxassetid://4835535512" then
- TauntRemote:FireServer("Lord",2371543268)
- elseif songid.Value == "rbxassetid://2371543268" then
- TauntRemote:FireServer("MaddoxLC",6768783121)
- elseif songid.Value == "rbxassetid://6768783121" then
- TauntRemote:FireServer("friday",6190635423)
- elseif songid.Value == "rbxassetid://6190635423" then
- TauntRemote:FireServer("SolidLC",348832364)
- elseif songid.Value == "rbxassetid://348832364" then
- TauntRemote:FireServer("HoneyLC",1143392568)
- elseif songid.Value == "rbxassetid://1143392568" then
- TauntRemote:FireServer("None",3247404955)
- elseif songid.Value == "rbxassetid://3247404955" then
- TauntRemote:FireServer("None",5315171837)
- end
- ]]--
- elseif k == "y" then
- if taunt.Value ~= "Fave" then
- TauntRemote:FireServer("Fave",290182215)
- else
- TauntRemote:FireServer("None",3247404955)
- end
- elseif k == "t" then
- if taunt.Value ~= "Krump" then
- TauntRemote:FireServer("Krump",1511734302)
- else
- TauntRemote:FireServer("None",3247404955)
- end
- elseif k == "u" then
- if taunt.Value ~= "OOOOO" then
- TauntRemote:FireServer("OOOOO",2681542649)
- else
- TauntRemote:FireServer("None",3247404955)
- end
- elseif k == "f" then
- ISFLYING = not ISFLYING
- if plr.Name == USERNAME then
- sFLY()
- end
- elseif k == "z" and attack == false and tfind(taunts, taunt.Value) then
- hedshoot()
- elseif k == "x" and attack == false and tfind(taunts, taunt.Value) then
- SingularityBeam()
- elseif k == "c" and attack == false and tfind(taunts, taunt.Value) then
- painlessrain()
- elseif k == "v" and attack == false and tfind(taunts, taunt.Value) then
- attacktwo()
- elseif k == "b" and attack == false and tfind(taunts, taunt.Value) then
- Ka_Boom()
- end
- end)
- Mouse.Button1Down:Connect(function()
- if stopeverything then return end
- if attack == false and tfind(taunts, taunt.Value) then
- attackone()
- end
- end)
- task.spawn(function()
- while not stopeverything do
- task.wait(frame)
- if doe < 360 then
- doe += 2
- else
- doe = 0
- end
- end
- end)
- antivoid = create("Part", nil, {Name = randomstring(), Size = Vector3.new(400, 10, 400), Anchored = true, Transparency = 1, Position = Vector3.new(RootPart.Position.X,workspace.FallenPartsDestroyHeight+5,RootPart.Position.Z)})
- task.spawn(function()
- while not stopeverything do
- task.wait(frame)
- if not alreadyfixing then
- if antivoid:IsDescendantOf(workspace) then
- antivoid.Position = Vector3.new(RootPart.Position.X,workspace.FallenPartsDestroyHeight+5,RootPart.Position.Z)
- else
- pcall(function()
- antivoid:Destroy()
- end)
- create("Part", nil, {Name = randomstring(), Size = Vector3.new(400, 10, 400), Anchored = true, Transparency = 1, Position = Vector3.new(RootPart.Position.X,workspace.FallenPartsDestroyHeight+5,RootPart.Position.Z)})
- end
- end
- end
- end)
- function fly()
- local function weld(p0,p1,c0,c1,par)
- return create("Weld", p0 or par, {Part0 = p0, Part1 = p1, C0 = c0 or CFrame.new(), C1 = c1 or CFrame.new()})
- end
- local motors = {}
- local function motor(p0,p1,c0,c1,des,vel,par)
- return create("Motor6D", p0 or par, {Part0 = p0, Part1 = p1, C0 = c0 or CFrame.new(), C1 = c1 or CFrame.new(), MaxVelocity = tonumber(vel) or 0.05, DesiredAngle = tonumber(des) or 0})
- end
- local function lerp(a,b,c)
- return a+((b-a)*c)
- end
- local function clerp(c1,c2,alBRUH)
- local al = .05
- local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
- local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
- for i,v in pairs(com1) do
- com1[i] = lerp(v,com2[i],al)
- end
- return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
- end
- local function ccomplerp(c1,c2,alBRUH)
- local al = 0.05
- local com1 = {c1:GetComponents()}
- local com2 = {c2:GetComponents()}
- for i,v in pairs(com1) do
- com1[i] = lerp(v,com2[i],al)
- end
- return CFrame.new(unpack(com1))
- end
- local function tickwave(time,length,offset)
- return 0.2*math.sin(sine/20)
- end
- local function invcol(c)
- c = c.Color
- return BrickColor.new(shade)
- end
- local function oc(...) return ... end
- local mod = create("Folder", char, {Name = "Wings"})
- local qwioeuqwieqwioeqwoe
- qwioeuqwieqwioeqwoe = mod.ChildAdded:Connect(function(v)
- if not qwioeuqwieqwioeqwoe.Connected then return end
- if stopeverything then qwioeuqwieqwioeqwoe:Disconnect() return end
- if v.Name == "Part" and not v:FindFirstChild("WingTrail") then
- v.CanCollide = false
- v.Massless = false
- v.CustomPhysicalProperties = nophys
- task.wait(frame)
- local meesh = v:FindFirstChildOfClass("SpecialMesh")
- if meesh then
- meesh.Scale = v.Size
- end
- local top = create("Attachment", v, {Name = "Top", Position = Vector3.new(0, v.Size.Y/2, 0)})
- local bottom = create("Attachment", v, {Name = "Top", Position = Vector3.new(0, -(v.Size.Y/2), 0)})
- local vtrail = create("Trail", v, {Name = "WingTrail", Attachment0 = top, Attachment1 = bottom, Lifetime = 0.3, MinLength = 0, LightEmission = 0, LightInfluence = 0, Color = ColorSequence.new(shade), Transparency = NumberSequence.new{NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)}})
- end
- end)
- local tor = Torso
- local hum = Humanoid
- local special = {
- }
- local topcolor = invcol(char.Torso.BrickColor)
- local feacolor = topcolor
- local ptrans = 0
- local pref = 0
- local fire = false
- local fmcol = Color3.new()
- local fscol = Color3.new()
- local part = create("Part", nil, {FormFactor = Enum.FormFactor.Custom, Size = Vector3.new(0.2, 0.2, 0.2), TopSurface = 0, BottomSurface = 0, CanCollide = false, BrickColor = topcolor, Transparency = 1, Reflectance = pref})
- local ef = create("Fire", fire and part or nil, {Heat = 0, Size = 0.15, Color = fmcol or Color3.new(), SecondaryColor = fscol or Color3.new()})
- pcall(part.BreakJoints, part)
- local function newpart()
- local clone = part:Clone()
- clone.Parent = mod
- clone:BreakJoints()
- return clone
- end
- local feath = newpart()
- feath.BrickColor = feacolor
- feath.Transparency = 0
- create("SpecialMesh", feath, {MeshType = Enum.MeshType.Sphere})
- local function newfeather()
- local clone = feath:Clone()
- clone.Parent = mod
- clone:BreakJoints()
- return clone
- end
- local r1 = newpart()
- r1.Size = Vector3.new(.3,1.5,.3)*1.2
- local rm1 = motor(tor,r1,CFrame.new(.35,.6,.4) * CFrame.Angles(0,0,math.rad(-60)) * CFrame.Angles(math.rad(30),math.rad(-25),0),CFrame.new(0,-.8,0),.1)
- local r2 = newpart()
- r2.Size = Vector3.new(.4,1.5,.4)*1.2
- local rm2 = motor(r1,r2,CFrame.new(0,.75,0) * CFrame.Angles(0,0,math.rad(50)) * CFrame.Angles(math.rad(-30),math.rad(15),0),CFrame.new(0,-.9,0),.1)
- local r3 = newpart()
- r3.Size = Vector3.new(.3,2,.3)*1.2
- local rm3 = motor(r2,r3,CFrame.new(.1,.9,0) * CFrame.Angles(0,0,math.rad(-140)) * CFrame.Angles(math.rad(-3),0,0),CFrame.new(0,-1.1,0),.1)
- local r4 = newpart()
- r4.Size = Vector3.new(.25,1.2,.25)*1.2
- local rm4 = motor(r3,r4,CFrame.new(0,1.1,0) * CFrame.Angles(0,0,math.rad(-10)) * CFrame.Angles(math.rad(-3),0,0),CFrame.new(0,-.6,0),.1)
- local feather = newfeather()
- feather.Mesh.Scale = Vector3.one
- feather.Size = Vector3.new(.4,3,.3)
- weld(r4,feather,CFrame.new(-.1,-.3,0),CFrame.new(0,-1.5,0))
- feather = newfeather()
- feather.Mesh.Scale = Vector3.one
- feather.Size = Vector3.new(.4,2.3,.3)
- weld(r4,feather,CFrame.new(.1,-.1,0) * CFrame.Angles(0,math.random()*.1,0),CFrame.new(0,-1.1,0))
- feather = newfeather()
- feather.Mesh.Scale = Vector3.one
- feather.Size = Vector3.new(.35,2.2,.25)
- weld(r4,feather,CFrame.new(.1,-.3,0) * CFrame.Angles(0,math.random()*.1,math.rad(-10)),CFrame.new(0,-1.1,0))
- local rf3 = {}
- for i = 0,7 do
- feather = newfeather()
- feather.Mesh.Scale = Vector3.one
- feather.Size = Vector3.new(.45,2.2,.35)
- table.insert(rf3,motor(r3,feather,CFrame.new(.05,1-i*.285,0) * CFrame.Angles(0,math.random()*.1,math.rad(-25-i*2)),CFrame.new(0,-feather.Size.Y/2,0)))
- end
- local rf2 = {}
- for i = 0,6 do
- feather = newfeather()
- feather.Mesh.Scale = Vector3.one
- feather.Size = Vector3.new(.45,2.2-i*.08,.3)
- table.insert(rf2,motor(r2,feather,CFrame.new(.05,.75-i*.26,0) * CFrame.Angles(0,math.random()*.1,math.rad(-75-i*4)),CFrame.new(0,-feather.Size.Y/2,0)))
- end
- local rf1 = {}
- for i = 0,6 do
- feather = newfeather()
- feather.Mesh.Scale = Vector3.one
- feather.Size = Vector3.new(.37,1.65-i*.06,.25)
- table.insert(rf1,motor(r1,feather,CFrame.new(.05,.63-i*.21,0) * CFrame.Angles(0,math.random()*.05,math.rad(-75)),CFrame.new(0,-feather.Size.Y/2,0)))
- end
- local l1 = newpart()
- l1.Size = Vector3.new(.3,1.5,.3)*1.2
- local lm1 = motor(tor,l1,CFrame.new(-.35,.6,.4) * CFrame.Angles(0,0,math.rad(60)) * CFrame.Angles(math.rad(30),math.rad(25),0) * CFrame.Angles(0,-math.pi,0),CFrame.new(0,-.8,0) ,.1)
- local l2 = newpart()
- l2.Size = Vector3.new(.4,1.5,.4)*1.2
- local lm2 = motor(l1,l2,CFrame.new(0,.75,0) * CFrame.Angles(0,0,math.rad(50)) * CFrame.Angles(math.rad(30),math.rad(-15),0),CFrame.new(0,-.9,0),.1)
- local l3 = newpart()
- l3.Size = Vector3.new(.3,2,.3)*1.2
- local lm3 = motor(l2,l3,CFrame.new(.1,.9,0) * CFrame.Angles(0,0,math.rad(-140)) * CFrame.Angles(math.rad(3),0,0),CFrame.new(0,-1.1,0),.1)
- local l4 = newpart()
- l4.Size = Vector3.new(.25,1.2,.25)*1.2
- local lm4 = motor(l3,l4,CFrame.new(0,1.1,0) * CFrame.Angles(0,0,math.rad(-10)) * CFrame.Angles(math.rad(3),0,0),CFrame.new(0,-.6,0),.1)
- local feather = newfeather()
- feather.Mesh.Scale = Vector3.one
- feather.Size = Vector3.new(.4,3,.3)
- weld(l4,feather,CFrame.new(-.1,-.3,0),CFrame.new(0,-1.5,0))
- feather = newfeather()
- feather.Mesh.Scale = Vector3.one
- feather.Size = Vector3.new(.4,2.3,.3)
- weld(l4,feather,CFrame.new(.1,-.1,0) * CFrame.Angles(0,math.random()*.1,0),CFrame.new(0,-1.1,0))
- feather = newfeather()
- feather.Mesh.Scale = Vector3.one
- feather.Size = Vector3.new(.35,2.2,.25)
- weld(l4,feather,CFrame.new(.1,-.3,0) * CFrame.Angles(0,math.random()*.1,math.rad(-10)),CFrame.new(0,-1.1,0))
- local lf3 = {}
- for i = 0,7 do
- feather = newfeather()
- feather.Mesh.Scale = Vector3.one
- feather.Size = Vector3.new(.45,2.2,.35)
- table.insert(lf3,motor(l3,feather,CFrame.new(.05,1-i*.285,0) * CFrame.Angles(0,math.random()*.1,math.rad(-25-i*2)),CFrame.new(0,-feather.Size.Y/2,0)))
- end
- local lf2 = {}
- for i = 0,6 do
- feather = newfeather()
- feather.Mesh.Scale = Vector3.one
- feather.Size = Vector3.new(.45,2.2-i*.08,.3)
- table.insert(lf2,motor(l2,feather,CFrame.new(.05,.75-i*.26,0) * CFrame.Angles(0,math.random()*.1,math.rad(-75-i*4)),CFrame.new(0,-feather.Size.Y/2,0)))
- end
- local lf1 = {}
- for i = 0,6 do
- feather = newfeather()
- feather.Mesh.Scale = Vector3.one
- feather.Size = Vector3.new(.37,1.65-i*.06,.25)
- table.insert(lf1,motor(l1,feather,CFrame.new(.05,.63-i*.21,0) * CFrame.Angles(0,math.random()*.05,math.rad(-75)),CFrame.new(0,-feather.Size.Y/2,0)))
- end
- local rwing = {rm1,rm2,rm3,rm4}
- local lwing = {lm1,lm2,lm3,lm4}
- local oc0 = {}
- for _, v in ipairs(rwing) do
- oc0[v] = v.C0
- end
- for _, v in ipairs(lwing) do
- oc0[v] = v.C0
- end
- local lastsize
- local function gotResized()
- if lastsize then
- if tor.Size == lastsize then return end
- local scaleVec = tor.Size/lastsize
- for i,v in pairs(oc0) do
- oc0[i] = v-v.Position+scaleVec*v.Position
- end
- lastsize = tor.Size
- end
- lastsize = tor.Size
- end
- tor:GetPropertyChangedSignal("Size"):Connect(function()
- if stopeverything then return end
- gotResized()
- end)
- gotResized()
- local idle = {-.3,.3,1.1,-.2; .3,.05,.1,.05; .2,-.6,0,0}
- local outlow = {-.3,.3,1.1,-.2; .3,.05,.1,.05; .2,-.6,0,0}
- local outhigh = {-.3,.3,1.1,-.2; .3,.05,.1,.05; .2,-.6,0,0}
- local veryhigh = {-.3,.3,1.1,-.2; .3,.05,.1,.05; .2,-.6,0,0}
- local flap1 = {-.3,.3,1.1,-.2; .3,.05,.1,.05; .2,-.6,0,0}
- local divebomb = {-.3,.3,1.1,-.2; .3,.05,.1,.05; .2,-.6,0,0}
- local function setwings(tab,time)
- time = time or 10
- for i = 1,4 do
- rwing[i].DesiredAngle = tab[i]
- lwing[i].DesiredAngle = tab[i]
- rwing[i].MaxVelocity = math.abs(tab[i]-rwing[i].CurrentAngle)/time
- lwing[i].MaxVelocity = math.abs(tab[i]-lwing[i].CurrentAngle)/time
- local rcf = oc0[rwing[i]] * (tab[12+i] or CFrame.new())
- local lcf = oc0[lwing[i]] * (tab[12+i] or CFrame.new())
- end
- for i,v in pairs(rf1) do
- v.DesiredAngle = tab[9]
- v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
- end
- for i,v in pairs(lf1) do
- v.DesiredAngle = tab[9]
- v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
- end
- for i,v in pairs(rf2) do
- v.DesiredAngle = tab[10]
- v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
- end
- for i,v in pairs(lf2) do
- v.DesiredAngle = tab[10]
- v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
- end
- for i,v in pairs(rf3) do
- v.DesiredAngle = tab[11]
- v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
- end
- for i,v in pairs(lf3) do
- v.DesiredAngle = tab[11]
- v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
- end
- end
- setwings(outhigh,1)
- local flying = false
- local moving = false
- for _, v in ipairs(tor:GetChildren()) do
- if v:IsA("BodyMover") then
- v:Destroy()
- end
- end
- local ctor = tor:Clone()
- ctor:ClearAllChildren()
- ctor.Name = "cTorso"
- ctor.Transparency = 1
- ctor.CanCollide = false
- ctor.FormFactor = "Custom"
- ctor.Size = Vector3.new(.2,.2,.2)
- ctor.Parent = mod
- weld(tor,ctor)
- local bg = create("BodyGyro", ctor, {MaxTorque = Vector3.new(), P = 15000, D = 1000})
- local bv = create("BodyVelocity", ctor, {MaxForce = Vector3.new(), P = 15000})
- local vel = Vector3.new()
- local cf = CFrame.new()
- local flspd = 0
- local keysdown = {}
- local keypressed = {}
- local ktime = {}
- local descendtimer = 0
- local jumptime = tick()
- local qoweiuqwoeuqoeioo
- qoweiuqwoeuqoeioo = hum.Jumping:Connect(function()
- if not qoweiuqwoeuqoeioo.Connected then return end
- if stopeverything then qoweiuqwoeuqoeioo:Disconnect() return end
- jumptime = tick()
- end)
- cam = workspace.CurrentCamera
- local function mid(a,b,c)
- return math.max(a,math.min(b,c or -a))
- end
- local function bn(a)
- return a and 1 or 0
- end
- local function gm(tar)
- local m = 0
- for _, v in ipairs(tar:GetChildren()) do
- if v:IsA("BasePart") then
- m += v:GetMass()
- end
- m += gm(v)
- end
- return m
- end
- local reqrotx = 0
- local grav = 196.2
- local con
- while not stopeverything and not alreadyfixing do
- local obvel = tor.CFrame:vectorToObjectSpace(tor.Velocity)
- local sspd,uspd,fspd = obvel.X,obvel.Y,obvel.Z
- local idledir
- flying = true
- if flying then
- local fldir = cam.CoordinateFrame:VectorToWorldSpace(Vector3.new(bn(keysdown.d)-bn(keysdown.a),0,bn(keysdown.s)-bn(keysdown.w))).Unit
- local lfldir = fldir
- local lmoving = moving
- moving = fldir.Magnitude > .1
- if lmoving and not moving then
- idledir = lfldir*Vector3.new(1,0,1)
- descendtimer = tick()
- end
- local dbomb = fldir.Y < -.6 or (moving and keysdown["1"])
- if moving and keysdown["0"] and lmoving then
- fldir = (Vector3.new(lfldir.X,math.min(fldir.Y,lfldir.Y+.01)-.1,lfldir.Z)+(fldir*Vector3.new(1,0,1))*.05).Unit
- end
- local down = tor.CFrame:vectorToWorldSpace(Vector3.new(0,-1,0))
- local descending = (not moving and keysdown["q"] and not keysdown[" "])
- cf = ccomplerp(cf,CFrame.new(tor.Position,tor.Position+(not moving and idledir or fldir)),keysdown["0"] and .02 or .07)
- local gdown = not dbomb and cf.LookVector.Y < -.2 and tor.Velocity.Unit.Y < .05
- local rotvel = CFrame.new(Vector3.new(),tor.Velocity):ToObjectSpace(CFrame.new(Vector3.new(),fldir)).LookVector
- bg.cframe = cf * CFrame.Angles(not moving and -.1 or -math.pi/2+.2,moving and mid(-2.5,rotvel.X/1.5) + reqrotx or 0,0)
- reqrotx = reqrotx - reqrotx/10
- local ani = tickwave(1.5,1)
- vel = moving and cf.LookVector*flspd or Vector3.new()
- flspd = math.min(120,lerp(flspd,moving and (fldir.Y<0 and flspd+(-fldir.Y)*grav/60 or math.max(50,flspd-fldir.Y*grav/300)) or 60,.4))
- setwings(moving and (gdown and outlow or dbomb and divebomb) or (descending and veryhigh or flap1),15)
- for i=1,4 do
- rwing[i].C0 = clerp(rwing[i].C0,oc0[rwing[i]] * (gdown and CFrame.new() or dbomb and CFrame.Angles(-.5+bn(i==3)*.4+bn(i==4)*.5,.1+bn(i==2)*.5-bn(i==3)*1.1,bn(i==3)*.1) or descending and CFrame.Angles(.3,0,0) or CFrame.Angles((i*.1+1.5)*ani,ani*-.5,1*ani)),descending and .8 or .2)
- lwing[i].C0 = clerp(lwing[i].C0,oc0[lwing[i]] * (gdown and CFrame.new() or dbomb and CFrame.Angles(-(-.5+bn(i==3)*.4+bn(i==4)*.5),-(.1+bn(i==2)*.5-bn(i==3)*1.1),bn(i==3)*.1) or descending and CFrame.Angles(-.3,0,0) or CFrame.Angles(-(i*.1+1.5)*ani,ani*.5,1*ani)),descending and .8 or .2)
- end
- local hit,ray = workspace:FindPartOnRay(Ray.new(tor.Position,Vector3.new(0,-3.5+math.min(0,bv.velocity.Y)/30,0)),char)
- else
- bg.maxTorque = Vector3.new()
- bv.maxForce = Vector3.new()
- local ani = tickwave(4.5, 1)
- setwings(idle,10)
- local x,y,z = fspd/160,uspd/700,sspd/900
- for i=1,4 do
- rwing[i].C0 = clerp(rwing[i].C0,oc0[rwing[i]] * CFrame.Angles(ani*.1 + -mid(-.1,x),0 + -mid(-.1,y) + bn(i==2)*.6,ani*.02 + -mid(-.1,z)),.2)
- lwing[i].C0 = clerp(lwing[i].C0,oc0[lwing[i]] * CFrame.Angles(ani*-.05 + mid(-.1,x),0 + mid(-.1,y) + -bn(i==2)*.6,ani*.02 + mid(-.1,z)),.2)
- end
- if keypressed[" "] and not flying and (tick()-jumptime > .05 and (tick()-jumptime < 3 or hum.Jump)) then
- vel = Vector3.new(0,50,0)
- bv.velocity = vel
- idledir = cam.CoordinateFrame.LookVector*Vector3.new(1,0,1)
- cf = tor.CFrame * CFrame.Angles(-.01,0,0)
- bg.cframe = cf
- local flystart = tick()
- flying = true
- end
- end
- keypressed = {}
- task.wait(frame)
- end
- end
- task.spawn(fly)
- local qiweouuuuuuuuuu
- qiweouuuuuuuuuu = workspace.ChildAdded:Connect(function(v)
- if not qiweouuuuuuuuuu.Connected then return end
- if stopeverything then qiweouuuuuuuuuu:Disconnect() return end
- if v:IsA("Message") and v.Text ~= "You typed something in the require wrong." and v.Text ~= "I kinda need you to have a HumanoidRootPart to be able to do anthing, try again once you have one lol" then
- v.Text = ""
- v:GetPropertyChangedSignal("Text"):Connect(function()
- if stopeverything then return end
- if v.Text ~= "" then
- v.Text = ""
- end
- end)
- DB:AddItem(v,.01)
- elseif v:IsA("BasePart") and v.Name == "StrawBerry" then
- v.Transparency = 1
- DB:AddItem(v,.01)
- end
- end)
- function checkws(v)
- if v:IsA("Sound") and not v.Parent:IsA("BasePart") then
- local function mutethisbadboy(v)
- local mute = Instance.new("TremoloSoundEffect")
- mute.Name = randomstring()
- mute.Duty = 0
- mute.Priority = 2147483647
- mute.Parent = v
- mute.Changed:Connect(function(change)
- if stopeverything then return end
- if change == "Depth" and mute.Depth ~= 1 then
- mute.Depth = 1
- elseif change == "Duty" and mute.Duty ~= 0 then
- mute.Duty = 0
- elseif change == "Enabled" and mute.Enabled ~= true then
- mute.Enabled = true
- elseif change == "Priority" and mute.Priority ~= 2147483647 then
- mute.Priority = 2147483647
- end
- end)
- local checkforreparent = false
- v:GetPropertyChangedSignal("Parent"):Connect(function()
- if stopeverything then return end
- if v.Parent and v.Parent:IsA("BasePart") then
- mute:Destroy()
- checkforreparent = true
- elseif checkforreparent then
- mutethisbadboy(v)
- end
- end)
- v.DescendantRemoving:Connect(function(b)
- if stopeverything then return end
- if b == mute and not v.Parent:IsA("BasePart") then
- mutethisbadboy(v)
- end
- end)
- end
- mutethisbadboy(v)
- end
- end
- for _, v in ipairs(workspace:GetDescendants()) do
- checkws(v)
- end
- workspace.DescendantAdded:Connect(function(v)
- if stopeverything then return end
- checkws(v)
- end)
- W1=Instance.new("Weld",eeeblock)
- W1.Part0 = eeeblock
- W1.Part1 = Torso
- task.spawn(function()
- while not stopeverything do
- if not alreadyfixing then
- task.wait(frame)
- if not soundfixing then
- SongSync.Value = eee.TimePosition
- end
- Humanoid.UseJumpPower = true
- Humanoid.JumpPower = 50
- Humanoid.WalkSpeed = walkspeed
- for _, v in ipairs(char:GetChildren()) do
- if v:IsA("BasePart") and v.Anchored == false and v.Position.Y < (workspace.FallenPartsDestroyHeight + 50) then
- local flot = Instance.new("BodyPosition")
- local spen = Instance.new("BodyGyro")
- local hu = math.huge
- flot.MaxForce = Vector3.new(hu,hu,hu)
- spen.MaxTorque = Vector3.new(hu,hu,hu)
- local spown = nil
- for _, b in ipairs(workspace:GetDescendants()) do
- if not b:IsDescendantOf(char) and b:IsA("SpawnLocation") then
- spown = b
- end
- end
- if spown then
- --RootPart.CFrame = CFrame.new(spown.Position.X,spown.Position.Y+(spown.Size.Y/2)+6,spown.Position.Z)
- else
- local base = workspace:FindFirstChild("Base")
- if not base then
- base = workspace:FindFirstChild("Baseplate")
- end
- end
- end
- end
- Torsovelocity = (RootPart.Velocity).Magnitude
- sine += 1
- local sensitivity = 25
- if taunt.Value == "None" or taunt.Value == "sAnIty" then
- if taunt.Value == "sAnIty" then
- local qw = SongSync.Value
- if qw >= 2.7 and qw < 2.9 then
- chatfunc("sAnIty",true)
- elseif qw >= 5.3 and qw < 5.5 then
- chatfunc("Light is peeking through the darkness")
- elseif qw >= 8 and qw < 8.2 then
- chatfunc("pUrIty",true)
- elseif qw >= 10.8 and qw < 11 then
- chatfunc("Can't feel anymore of the stress")
- elseif qw >= 13.1 and qw < 13.3 then
- chatfunc("sAnIty",true)
- elseif qw >= 16 and qw < 16.2 then
- chatfunc("It's already fading away")
- elseif qw >= 18.7 and qw < 18.9 then
- chatfunc("crUElty",true)
- elseif qw >= 21.4 and qw < 21.6 then
- chatfunc("Instincts controlling me")
- end
- end
- tweenc1(RootJoint, Clerp(RootJoint.C1,ROOTC0 * CFrame.new(0,0,0),0.2/3))
- tweenc1(Neck, Clerp(Neck.C1,CFrame.new(0,-0.5,0) * CFrame.Angles(-1.5707963267949,0,math.pi),0.2/3))
- tweenc1(RightHip, Clerp(RightHip.C1,CFrame.new(0.5,1,0,-4.37113918e-08,0,1,0,1,0,-1,0,-4.37113918e-08),1))
- tweenc1(LeftHip, Clerp(LeftHip.C1,CFrame.new(-0.5,1,0,-4.37113918e-08,-0,-1,0,1,-0,1,0,-4.37113918e-08),1))
- if attack == false then
- if Torsovelocity < sensitivity then
- Anim = "Idle"
- tweenc(RootJoint, Clerp(RootJoint.C0,ROOTC0 * CFrame.new(0 + .5 * math.cos(sine/50),0,3 - .5 * math.sin(sine/50)),0.7/3))
- tweenc(Neck, Clerp(Neck.C0,NECKC0 * CFrame.new(0,0 ,0 + ((1) - 1)) * CFrame.Angles(math.rad(20),0,0),0.7/3))
- tweenc(RightShoulder, Clerp(RightShoulder.C0,CFrame.new(1.5,0.5,0) * CFrame.Angles(math.rad(135 + 8.5 * math.cos(sine/50)),0,math.rad(25)) * RIGHTSHOULDERC0,0.7/3))
- tweenc(LeftShoulder, Clerp(LeftShoulder.C0,CFrame.new(-1.5,0.5,0) * CFrame.Angles(math.rad(25 + 8.5 * math.cos(sine/50)),0,math.rad(-25 - 5 * math.cos(sine/25))) * LEFTSHOULDERC0,0.7/3))
- tweenc(RightHip, Clerp(RightHip.C0,CFrame.new(1,-0.5,-0.5) * CFrame.Angles(math.rad(-15 + 9 * math.cos(sine/74)),math.rad(80),0) * CFrame.Angles(math.rad(0 + 5 * math.cos(sine/37)),0,0),0.7/3))
- tweenc(LeftHip, Clerp(LeftHip.C0,CFrame.new(-1,-1,0) * CFrame.Angles(math.rad(-15 - 9 * math.cos(sine/54)),math.rad(-80),0) * CFrame.Angles(math.rad(0 - 5 * math.cos(sine/41)),0,0),0.7/3))
- tweenc(GunJoint, Clerp(GunJoint.C0,CFrame.new(.05,-1,-.15) * CFrame.Angles(-1.5707963267949,0,0),1/2))
- else
- Anim = "Walk"
- tweenc(RootJoint, Clerp(RootJoint.C0,ROOTC0 * CFrame.new(0 + .5 * math.cos(sine/50),0,3 - .5 * math.sin(sine/50)) * CFrame.Angles(math.rad(40),0,0),0.7/3))
- tweenc(Neck, Clerp(Neck.C0,NECKC0 * CFrame.new(0,-.25,0) * CFrame.Angles(math.rad(-40),0,0),0.7/3))
- tweenc(RightShoulder, Clerp(RightShoulder.C0,CFrame.new(1.5,0.5,0) * CFrame.Angles(-0.78539816339745,0,math.rad(5 + 2 * math.cos(sine/19))) * RIGHTSHOULDERC0,0.7/3))
- tweenc(LeftShoulder, Clerp(LeftShoulder.C0,CFrame.new(-1.5,0.5,0) * CFrame.Angles(-0.78539816339745,0,math.rad(-5 - 2 * math.cos(sine/19))) * LEFTSHOULDERC0,0.7/3))
- tweenc(RightHip, Clerp(RightHip.C0,CFrame.new(1,-0.5,-0.5) * CFrame.Angles(math.rad(-20 + 9 * math.cos(sine/74)),math.rad(80),0) * CFrame.Angles(math.rad(0 + 5 * math.cos(sine/37)),0,0),0.7/3))
- tweenc(LeftHip, Clerp(LeftHip.C0,CFrame.new(-1,-1,0) * CFrame.Angles(math.rad(-20 - 9 * math.cos(sine/54)),math.rad(-80),0) * CFrame.Angles(math.rad(0 - 5 * math.cos(sine/41)),0,0),0.7/3))
- tweenc(GunJoint, Clerp(GunJoint.C0,CFrame.new(0.05,-1,-0.15) * CFrame.Angles(-1.5707963267949,0,0),1/2))
- end
- pcall(function()
- GUN.Base.Transparency = 0
- GUN.GunAdditions.Transparency = 0
- GUN.NeonParts.Transparency = 0
- end)
- end
- elseif taunt.Value == "iNSaNiTY" then
- tweenc1(RootJoint, Clerp(RootJoint.C1,ROOTC0 * CFrame.new(0,0,0),0.2/3))
- tweenc1(Neck, Clerp(Neck.C1,CFrame.new(0,-0.5,0) * CFrame.Angles(-1.5707963267949,0,math.pi),0.2/3))
- tweenc1(RightHip, Clerp(RightHip.C1,CFrame.new(0.5,1,0,-4.37113918e-08,0,1,0,1,0,-1,0,-4.37113918e-08),1))
- tweenc1(LeftHip, Clerp(LeftHip.C1,CFrame.new(-0.5,1,0,-4.37113918e-08,-0,-1,0,1,-0,1,0,-4.37113918e-08),1))
- if attack == false then
- if Torsovelocity < sensitivity/3.125 then
- Anim = "Idle"
- tweenc(RootJoint, Clerp(RootJoint.C0,ROOTC0 * CFrame.new(0,0,3 - .5 * math.sin(sine/50)) * CFrame.Angles(math.rad(20),0,0),0.7/3))
- tweenc(Neck, Clerp(Neck.C0,NECKC0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(20),math.rad(10*math.cos(sine/100)),0),1))
- if math.random(1,60) == 1 then
- tweenc(Neck, Clerp(Neck.C0,NECKC0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(20+math.random(-20,20)),math.rad((10*math.cos(sine/100))+math.random(-20,20)),math.rad(math.random(-20,20))),1))
- end
- tweenc(RightShoulder, Clerp(RightShoulder.C0,CFrame.new(1.5,0.5,0) * CFrame.Angles(math.rad(-41.6-4*math.sin(sine/50)),0,0) * RIGHTSHOULDERC0,0.7/3))
- tweenc(LeftShoulder, Clerp(LeftShoulder.C0,CFrame.new(-1.5,0.5,0) * CFrame.Angles(math.rad(20),0,math.rad(-10-10*math.sin(sine/50))) * LEFTSHOULDERC0,0.7/3))
- tweenc(RightHip, Clerp(RightHip.C0,CFrame.new(1,-1,-0.01) * CFrame.Angles(math.rad(10),math.rad(80),math.rad(10+10*math.sin(sine/50))),1/3))
- tweenc(LeftHip, Clerp(LeftHip.C0,CFrame.new(-1,-1,-0.01) * CFrame.Angles(math.rad(20),math.rad(-80),math.rad(-10-10*math.sin(sine/50))),1/3))
- tweenc(GunJoint, Clerp(GunJoint.C0,CFrame.new(.05,-1,-.15) * CFrame.Angles(-1.5707963267949,0,0),1/2))
- elseif Torsovelocity >= sensitivity/3.125 then
- Anim = "Walk"
- tweenc(RootJoint, Clerp(RootJoint.C0,ROOTC0 * CFrame.new(0,0,3 - .5 * math.sin(sine/50)) * CFrame.Angles(math.rad(20),0,0),0.7/3))
- tweenc(Neck, Clerp(Neck.C0,NECKC0 * CFrame.new(0,0,0) * CFrame.Angles(0,0,0),0.7/3))
- tweenc(RightShoulder, Clerp(RightShoulder.C0,CFrame.new(1.5,0.5,0) * CFrame.Angles(math.rad(-41.6-4*math.sin(sine/50)),0,0) * RIGHTSHOULDERC0,0.7/3))
- tweenc(LeftShoulder, Clerp(LeftShoulder.C0,CFrame.new(-1.5,0.5,0) * CFrame.Angles(math.rad(20),0,math.rad(-10-10*math.sin(sine/50))) * LEFTSHOULDERC0,0.7/3))
- tweenc(RightHip, Clerp(RightHip.C0,CFrame.new(1,-1,-0.01) * CFrame.Angles(math.rad(-20),math.rad(80),math.rad(10+10*math.sin(sine/50))),1/3))
- tweenc(LeftHip, Clerp(LeftHip.C0,CFrame.new(-1,-1,-0.01) * CFrame.Angles(math.rad(-10),math.rad(-80),math.rad(-10-10*math.sin(sine/50))),1/3))
- tweenc(GunJoint, Clerp(GunJoint.C0,CFrame.new(0.05,-1,-0.15) * CFrame.Angles(-1.5707963267949,0,0),1/2))
- end
- pcall(function()
- GUN.Base.Transparency = 0
- GUN.GunAdditions.Transparency = 0
- GUN.NeonParts.Transparency = 0
- end)
- end
- Humanoid.WalkSpeed = walkspeed/3.125
- elseif taunt.Value == "Chill" then
- tweenc1(RootJoint, Clerp(RootJoint.C1,ROOTC0,.2/3))
- tweenc1(Neck, Clerp(Neck.C1,CFrame.new(0,-.5,0) * CFrame.Angles(-1.5707963267949,0,math.pi),.2/3))
- tweenc1(RightHip, Clerp(RightHip.C1,CFrame.new(.5,1,0,-4.37113918e-08,0,1,0,1,0,-1,0,-4.37113918e-08),1))
- tweenc1(LeftHip, Clerp(LeftHip.C1,CFrame.new(-.5,1,0,-4.37113918e-08,-0,-1,0,1,-0,1,0,-4.37113918e-08),1))
- if not attack then
- pcall(function()
- GUN.Base.Transparency = 0
- GUN.GunAdditions.Transparency = 0
- GUN.NeonParts.Transparency = 0
- end)
- if Torsovelocity < sensitivity then
- Anim = "Idle"
- tweenc(RootJoint, Clerp(RootJoint.C0,ROOTC0 * CFrame.new(0,0,3 - .5 * math.sin(sine/9)) * CFrame.Angles(math.rad(-20),0,0),.7/3))
- tweenc(Neck, Clerp(Neck.C0,NECKC0 * CFrame.new(0,-.05,0) * CFrame.Angles(math.rad(20),0,0),.7/3))
- tweenc(RightShoulder, Clerp(RightShoulder.C0,CFrame.new(1.25,.5,-.1) * CFrame.Angles(0.78539816339745,-0.78539816339745,0) * RIGHTSHOULDERC0,.7/3))
- tweenc(LeftShoulder, Clerp(LeftShoulder.C0,CFrame.new(-1,.75,.1) * CFrame.Angles(math.rad(-165),0,math.rad(40)) * LEFTSHOULDERC0,.7/3))
- tweenc(RightHip, Clerp(RightHip.C0,CFrame.new(1,-1,0) * CFrame.Angles(math.rad(-12.5),1.5707963267949,0) * CFrame.Angles(math.rad(10),0,0),.7/3))
- tweenc(LeftHip, Clerp(LeftHip.C0,CFrame.new(-1,-1,0) * CFrame.Angles(math.rad(12.5),-1.5707963267949,0) * CFrame.Angles(math.rad(10),0,0),.7/3))
- tweenc(GunJoint, Clerp(GunJoint.C0,CFrame.new(.05,-1,-.15) * CFrame.Angles(-1.5707963267949,0,0),1))
- else
- tweenc(RootJoint, Clerp(RootJoint.C0,ROOTC0 * CFrame.new(0,0,3 - .5 * math.sin(sine/9)) * CFrame.Angles(0.78539816339745,0,0),.7/3))
- tweenc(Neck, Clerp(Neck.C0,NECKC0 * CFrame.new(0,-.05,0) * CFrame.Angles(-0.78539816339745,0,0),.7/3))
- tweenc(RightShoulder, Clerp(RightShoulder.C0,CFrame.new(1.5,.5,-.1) * CFrame.Angles(-0.78539816339745,0,0) * RIGHTSHOULDERC0,.7/3))
- tweenc(LeftShoulder, Clerp(LeftShoulder.C0,CFrame.new(-1.5,.5,0) * CFrame.Angles(math.rad(135),0,0) * LEFTSHOULDERC0,.7/3))
- tweenc(RightHip, Clerp(RightHip.C0,CFrame.new(1,-1,-.01) * CFrame.Angles(math.rad(-10),math.rad(80),math.rad(5+5*math.sin(sine/9))),1/2))
- tweenc(LeftHip, Clerp(LeftHip.C0,CFrame.new(-1,-1,-.01) * CFrame.Angles(0,math.rad(-80),math.rad(-5-5*math.sin(sine/9))),1/2))
- tweenc(GunJoint, Clerp(GunJoint.C0,CFrame.new(.05,-1,-.15) * CFrame.Angles(-1.5707963267949,0,0),1))
- end
- local partnum = math.random(1,48)
- task.spawn(function()
- local wingpart = char.Wings:GetChildren()[partnum]
- wingpart.Color = GUN.NeonParts.Color
- wingpart.WingTrail.Color = ColorSequence.new(wingpart.Color)
- task.wait(frame)
- if not alreadyfixing then
- wingpart.Color = shade
- wingpart.WingTrail.Color = ColorSequence.new(shade)
- end
- end)
- end
- elseif taunt.Value == "Err0r" then
- tweenc1(RootJoint, Clerp(RootJoint.C1,ROOTC0 * CFrame.new(0,0,0),0.2/3))
- tweenc1(Neck, Clerp(Neck.C1,CFrame.new(0,-0.5,0) * CFrame.Angles(-1.5707963267949,0,math.pi),0.2/3))
- tweenc1(RightHip, Clerp(RightHip.C1,CFrame.new(0.5,1,0,-4.37113918e-08,0,1,0,1,0,-1,0,-4.37113918e-08),1))
- tweenc1(LeftHip, Clerp(LeftHip.C1,CFrame.new(-0.5,1,0,-4.37113918e-08,-0,-1,0,1,-0,1,0,-4.37113918e-08),1))
- if attack == false then
- if Torsovelocity < sensitivity then
- Anim = "Idle"
- tweenc(RootJoint, Clerp(RootJoint.C0,ROOTC0 * CFrame.new(0,0,3 + .5 * math.cos(sine/15)) * CFrame.Angles(0,math.rad(-10*math.cos(sine/30)),0),0.7/3))
- tweenc(Neck, Clerp(Neck.C0,NECKC0 * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(-15*math.cos(sine/30)),0),1/3))
- tweenc(RightShoulder, Clerp(RightShoulder.C0,CFrame.new(1.5,0.5,0) * CFrame.Angles(math.rad(135+-15*math.cos(sine/30)),0,math.rad(25+15*math.cos(sine/30))) * RIGHTSHOULDERC0,0.7/3))
- tweenc(LeftShoulder, Clerp(LeftShoulder.C0,CFrame.new(-1.5,0.5,0) * CFrame.Angles(math.rad(5),math.rad(5),math.rad(-10+15*math.cos(sine/30))) * LEFTSHOULDERC0,0.7/3))
- tweenc(RightHip, Clerp(RightHip.C0,CFrame.new(1,-1,-0.01) * CFrame.Angles(math.rad(-10),math.rad(80),math.rad(10+10*math.sin(sine/15))),1/3))
- tweenc(LeftHip, Clerp(LeftHip.C0,CFrame.new(-1,-1,-0.01) * CFrame.Angles(0,math.rad(-80),math.rad(-10-10*math.sin(sine/15))),1/3))
- tweenc(GunJoint, Clerp(GunJoint.C0,CFrame.new(.05,-1,-.15) * CFrame.Angles(-1.5707963267949,0,0),1/2))
- else
- Anim = "Walk"
- tweenc(RootJoint, Clerp(RootJoint.C0,ROOTC0 * CFrame.new(0,0,3 + .5 * math.cos(sine/15)) * CFrame.Angles(math.rad(40),math.rad(-5*math.cos(sine/30)),0),0.7/3))
- tweenc(Neck, Clerp(Neck.C0,NECKC0 * CFrame.new(0,-.25,0) * CFrame.Angles(math.rad(-40),0,0),0.7/3))
- tweenc(RightShoulder, Clerp(RightShoulder.C0,CFrame.new(1.5,0.5,0) * CFrame.Angles(-0.78539816339745,0,math.rad(5 + 2 * math.cos(sine/19))) * RIGHTSHOULDERC0,0.7/3))
- tweenc(LeftShoulder, Clerp(LeftShoulder.C0,CFrame.new(-1.5,0.5,0) * CFrame.Angles(-0.78539816339745,0,math.rad(-5 - 2 * math.cos(sine/19))) * LEFTSHOULDERC0,0.7/3))
- tweenc(RightHip, Clerp(RightHip.C0,CFrame.new(1,-0.5,-0.5) * CFrame.Angles(math.rad(-20 + 9 * math.cos(sine/74)),math.rad(80),0) * CFrame.Angles(math.rad(0 + 5 * math.cos(sine/37)),0,0),0.7/3))
- tweenc(LeftHip, Clerp(LeftHip.C0,CFrame.new(-1,-1,0) * CFrame.Angles(math.rad(-20 - 9 * math.cos(sine/54)),math.rad(-80),0) * CFrame.Angles(math.rad(0 - 5 * math.cos(sine/41)),0,0),0.7/3))
- tweenc(GunJoint, Clerp(GunJoint.C0,CFrame.new(0.05,-1,-0.15) * CFrame.Angles(-1.5707963267949,0,0),1/2))
- end
- local partnum = math.random(1,48)
- task.spawn(function()
- local wingpart = char.Wings:GetChildren()[partnum]
- wingpart.Color = Color3.new(0,1,0)
- wingpart.WingTrail.Color = ColorSequence.new(Color3.new(0,1,0))
- task.wait(frame)
- if not alreadyfixing then
- wingpart.Color = shade
- wingpart.WingTrail.Color = ColorSequence.new(shade)
- end
- end)
- pcall(function()
- GUN.Base.Transparency = 0
- GUN.GunAdditions.Transparency = 0
- GUN.NeonParts.Transparency = 0
- end)
- end
- elseif taunt.Value == "Alastor" then
- tweenc1(RootJoint, Clerp(RootJoint.C1,ROOTC0,.2/3))
- tweenc1(Neck, Clerp(Neck.C1,CFrame.new(0,-.5,0) * CFrame.Angles(-1.5707963267949,0,math.pi),.2/3))
- tweenc1(RightHip, Clerp(RightHip.C1,CFrame.new(.5,1,0,-4.37113918e-08,0,1,0,1,0,-1,0,-4.37113918e-08),1))
- tweenc1(LeftHip, Clerp(LeftHip.C1,CFrame.new(-.5,1,0,-4.37113918e-08,-0,-1,0,1,-0,1,0,-4.37113918e-08),1))
- tweenc1(RightShoulder, Clerp(RightShoulder.C1,CFrame.new(-.5,.5,0,0,0,1,0,1,-0,-1,0,0),1))
- tweenc1(LeftShoulder, Clerp(LeftShoulder.C1,CFrame.new(.5,.499975681,0,0,0,-1,0,1,0,1,0,0),1))
- if not attack then
- if Torsovelocity < sensitivity then
- Anim = "Idle"
- tweenc(RootJoint, Clerp(RootJoint.C0,ROOTC0 * CFrame.new(0 , 0 , 3 - .5 * math.sin(sine/25)) * CFrame.Angles(math.rad(20), 0, 0), 0.8 / 3))
- tweenc(Neck, Clerp(Neck.C0, NECKC0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(math.random(0.25,3)), math.rad(math.random(0.25,3)), math.rad(math.random(0.25,3))), .7 / 3))
- tweenc(RightShoulder, Clerp(RightShoulder.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(-41.6-4*math.sin(sine/25)), math.rad(math.random(-0.25,3)), math.rad(math.random(0.25,3)))* RIGHTSHOULDERC0, .7 / 3))
- tweenc(LeftShoulder, Clerp(LeftShoulder.C0,CFrame.new(-1.5,.5,0) * CFrame.Angles(math.rad(-45 + 8.5 * math.cos(sine/50)),0,math.rad(45 - 5 * math.cos(sine/25))) * LEFTSHOULDERC0,.7/3))
- tweenc(RightHip, Clerp(RightHip.C0,CFrame.new(1, -1,-.01) * CFrame.Angles(math.rad(-15 + 9 * math.cos(sine/74)),math.rad(80),0) * CFrame.Angles(math.rad(0 + 5 * math.cos(sine/37)),0,0),.7/3))
- tweenc(LeftHip, Clerp(LeftHip.C0,CFrame.new(-1,-1,0) * CFrame.Angles(math.rad(-15 - 9 * math.cos(sine/54)),math.rad(-80),0) * CFrame.Angles(math.rad(0 - 5 * math.cos(sine/41)),0,0),.7/3))
- tweenc(GunJoint, Clerp(GunJoint.C0,CFrame.new(.05,-1,-.15) * CFrame.Angles(-1.5707963267949,0,0),1/2))
- else
- Anim = "Walk"
- tweenc(RootJoint, Clerp(RootJoint.C0,ROOTC0 * CFrame.new(0 + .5 * math.cos(sine/50),0,3 - .5 * math.sin(sine/50)) * CFrame.Angles(0.78539816339745,0,0),.7/3))
- tweenc(Neck, Clerp(Neck.C0,NECKC0 * CFrame.new(0,-.25,0) * CFrame.Angles(math.rad(-40),0,0),.7/3))
- tweenc(RightShoulder, Clerp(RightShoulder.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(-41.6-4*math.sin(sine/25)), math.rad(math.random(-0.25,3)), math.rad(math.random(0.25,3)))* RIGHTSHOULDERC0, .7 / 3))
- tweenc(LeftShoulder, Clerp(LeftShoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(90-4*math.sin(sine/25)), math.rad(5+2* math.sin(sine/25+math.random(-0.25,3))), math.rad(-2+5*math.sin(sine / 25))) * LEFTSHOULDERC0, .7 / 3))
- tweenc(RightHip, Clerp(RightHip.C0,CFrame.new(1,-.5,-.5) * CFrame.Angles(math.rad(-20 + 9 * math.cos(sine/74)),math.rad(80),0) * CFrame.Angles(math.rad(0 + 5 * math.cos(sine/37)),0,0),.7/3))
- tweenc(LeftHip, Clerp(LeftHip.C0,CFrame.new(-1,-1,0) * CFrame.Angles(math.rad(-20 - 9 * math.cos(sine/54)),math.rad(-80),0) * CFrame.Angles(math.rad(0 - 5 * math.cos(sine/41)),0,0),.7/3))
- tweenc(GunJoint, Clerp(GunJoint.C0,CFrame.new(.05,-1,-.15) * CFrame.Angles(-1.5707963267949,0,0),1/2))
- end
- pcall(function()
- GUN.Base.Transparency = 0
- GUN.GunAdditions.Transparency = 0
- GUN.NeonParts.Transparency = 0
- end)
- end
- elseif taunt.Value == "Glitch" then
- tweenc1(RootJoint, Clerp(RootJoint.C1,ROOTC0 * CFrame.new(0,0,0),0.2/3))
- tweenc1(Neck, Clerp(Neck.C1,CFrame.new(0,-0.5,0) * CFrame.Angles(-1.5707963267949,0,math.pi),0.2/3))
- tweenc1(RightHip, Clerp(RightHip.C1,CFrame.new(0.5,1,0,-4.37113918e-08,0,1,0,1,0,-1,0,-4.37113918e-08),1))
- tweenc1(LeftHip, Clerp(LeftHip.C1,CFrame.new(-0.5,1,0,-4.37113918e-08,-0,-1,0,1,-0,1,0,-4.37113918e-08),1))
- if attack == false then
- if Torsovelocity < sensitivity then
- Anim = "Idle"
- tweenc(RootJoint, Clerp(RootJoint.C0,ROOTC0 * CFrame.new(0,0,3 + .5 * math.cos(sine/9)) * CFrame.Angles(math.rad(-2.5*math.sin(sine/9)),0,0),1/2))
- tweenc(Neck, Clerp(Neck.C0,NECKC0 * CFrame.new() * CFrame.Angles(math.rad(10-10*math.sin(sine/9)),0,0),1/2))
- tweenc(RightShoulder, Clerp(RightShoulder.C0,CFrame.new(1.5,0.5+.25*math.sin(sine/9),0) * CFrame.Angles(math.rad(135+5*math.sin(sine/9)),0,math.rad(25)) * RIGHTSHOULDERC0,0.7/3))
- tweenc(LeftShoulder, Clerp(LeftShoulder.C0,CFrame.new(-1.5,0.5+.25*math.sin(sine/9),0) * CFrame.Angles(0,0,math.rad(-10+10*math.cos(sine/9))) * LEFTSHOULDERC0,0.7/3))
- tweenc(RightHip, Clerp(RightHip.C0,CFrame.new(1,-1,-0.01) * CFrame.Angles(math.rad(-10),math.rad(80),math.rad(5+5*math.sin(sine/9))),1/2))
- tweenc(LeftHip, Clerp(LeftHip.C0,CFrame.new(-1,-1,-0.01) * CFrame.Angles(0,math.rad(-80),math.rad(-5-5*math.sin(sine/9))),1/2))
- tweenc(GunJoint, Clerp(GunJoint.C0,CFrame.new(.05,-1,-.15) * CFrame.Angles(-1.5707963267949,0,0),1/2))
- else
- tweenc(RootJoint, Clerp(RootJoint.C0,ROOTC0 * CFrame.new(0,0,3 + .5 * math.cos(sine/9)) * CFrame.Angles(math.rad(20-2.5*math.sin(sine/9)),0,0),1/2))
- tweenc(Neck, Clerp(Neck.C0,NECKC0 * CFrame.new() * CFrame.Angles(math.rad(-10-10*math.sin(sine/9)),0,0),1/2))
- tweenc(RightShoulder, Clerp(RightShoulder.C0,CFrame.new(1.5,0.5+.25*math.sin(sine/9),0) * CFrame.Angles(math.rad(-50+5*math.sin(sine/9)),0,0) * RIGHTSHOULDERC0,0.7/3))
- tweenc(LeftShoulder, Clerp(LeftShoulder.C0,CFrame.new(-1.5,0.5+.25*math.sin(sine/9),0) * CFrame.Angles(math.rad(110),0,0) * LEFTSHOULDERC0,0.7/3))
- tweenc(RightHip, Clerp(RightHip.C0,CFrame.new(1,-1,-0.01) * CFrame.Angles(math.rad(-10),math.rad(80),math.rad(5+5*math.sin(sine/9))),1/2))
- tweenc(LeftHip, Clerp(LeftHip.C0,CFrame.new(-1,-1,-0.01) * CFrame.Angles(0,math.rad(-80),math.rad(-5-5*math.sin(sine/9))),1/2))
- tweenc(GunJoint, Clerp(GunJoint.C0,CFrame.new(.05,-1,-.15) * CFrame.Angles(-1.5707963267949,0,0),1/2))
- end
- local partnum = math.random(1,48)
- task.spawn(function()
- local wingpart = char.Wings:GetChildren()[partnum]
- wingpart.Color = GUN.NeonParts.Color
- wingpart.WingTrail.Color = ColorSequence.new(wingpart.Color)
- task.wait(frame)
- if not alreadyfixing then
- wingpart.Color = shade
- wingpart.WingTrail.Color = ColorSequence.new(shade)
- end
- end)
- pcall(function()
- GUN.Base.Transparency = 0
- GUN.GunAdditions.Transparency = 0
- GUN.NeonParts.Transparency = 0
- end)
- end
- elseif taunt.Value == "FAST BOIII" then
- if not char:FindFirstChild("WalkingWheel") and Anim == "Idle" and attack == false then
- local ww = Instance.new("Model")
- ww.Name = "WalkingWheel"
- for i = 1,36 do
- local wwpart = Instance.new("Part")
- wwpart.Size = Vector3.new(2,.2,.56)
- wwpart.CFrame = RootPart.CFrame * CFrame.new(0,.01,0) * CFrame.Angles(math.rad(85+(10*i)),0,0) * CFrame.new(0,3.1,0)
- weldBetween(RootPart,wwpart)
- wwpart.Material = "Neon"
- if i <= 18 then
- wwpart.CanCollide = false
- end
- wwpart.Color = Color3.new()
- wwpart.Name = randomstring()
- wwpart.Parent = ww
- end
- ww.Parent = char
- task.spawn(function()
- repeat if stopeverything then return end
- for _, v in ipairs(ww:GetChildren()) do
- pcall(function() v.Color = GUN.NeonParts.Color end)
- end
- task.wait(frame)
- until attack or Anim ~= "Idle" or taunt.Value ~= "FAST BOIII"
- alreadyfixing = true
- ww:Destroy()
- alreadyfixing = false
- end)
- end
- tweenc1(RootJoint, Clerp(RootJoint.C1,ROOTC0 * CFrame.new(0,0,0),0.2/3))
- tweenc1(Neck, Clerp(Neck.C1,CFrame.new(0,-0.5,0) * CFrame.Angles(-1.5707963267949,0,math.pi),0.2/3))
- tweenc1(RightHip, Clerp(RightHip.C1,CFrame.new(0.5,1,0,-4.37113918e-08,0,1,0,1,0,-1,0,-4.37113918e-08),1))
- tweenc1(LeftHip, Clerp(LeftHip.C1,CFrame.new(-0.5,1,0,-4.37113918e-08,-0,-1,0,1,-0,1,0,-4.37113918e-08),1))
- if attack == false then
- pcall(function()
- GUN.Base.Transparency = 1
- GUN.GunAdditions.Transparency = 1
- GUN.NeonParts.Transparency = 1
- end)
- if Torsovelocity < sensitivity then
- Anim = "Idle"
- tweenc(RootJoint, Clerp(RootJoint.C0,ROOTC0 * CFrame.new(0,0,-.2) * CFrame.Angles(math.rad(-sine*6),0,0),.25))
- tweenc(Neck, Clerp(Neck.C0,NECKC0,.25))
- tweenc(RightShoulder, Clerp(RightShoulder.C0,CFrame.new(1.5,0.5,0) * CFrame.Angles(math.rad(-75*math.sin(sine/5)),0,0) * RIGHTSHOULDERC0,.25))
- tweenc(LeftShoulder, Clerp(LeftShoulder.C0,CFrame.new(-1.5,0.5,0) * CFrame.Angles(math.rad(75*math.sin(sine/5)),0,0) * LEFTSHOULDERC0,.25))
- tweenc(RightHip, Clerp(RightHip.C0,CFrame.new(1,-1,-0.01) * CFrame.Angles(math.rad(75*math.sin(sine/5)),1.5707963267949,0),.25))
- tweenc(LeftHip, Clerp(LeftHip.C0,CFrame.new(-1,-1,-0.01) * CFrame.Angles(math.rad(-75*math.sin(sine/5)),-1.5707963267949,0),.25))
- tweenc(GunJoint, Clerp(GunJoint.C0,CFrame.new(0.05,-1,-0.15) * CFrame.Angles(-1.5707963267949,0,0),.25))
- else
- Anim = "Walk"
- tweenc(RootJoint, Clerp(RootJoint.C0,ROOTC0 * CFrame.new(0,0,-0.2) * CFrame.Angles(-0.78539816339745,0,0),0.25/3))
- tweenc(Neck, Clerp(Neck.C0,NECKC0 * CFrame.new() * CFrame.Angles(-0.78539816339745,0,0),0.25/3))
- tweenc(RightShoulder, Clerp(RightShoulder.C0,CFrame.new(1.5,0.5,0) * CFrame.Angles(math.rad(-135),0,0) * RIGHTSHOULDERC0,0.75/3))
- tweenc(LeftShoulder, Clerp(LeftShoulder.C0,CFrame.new(-1.5,0.5,0) * CFrame.Angles(math.rad(-135),0,0) * LEFTSHOULDERC0,0.75/3))
- tweenc(RightHip, Clerp(RightHip.C0,CFrame.new(1,-1,-0.01) * CFrame.Angles(math.rad(75*math.sin(sine/2)),1.5707963267949,0),1))
- tweenc(LeftHip, Clerp(LeftHip.C0,CFrame.new(-1,-1,-0.01) * CFrame.Angles(math.rad(-75*math.sin(sine/2)),-1.5707963267949,0),1))
- tweenc(GunJoint, Clerp(GunJoint.C0,CFrame.new(0.05,-1,-0.15) * CFrame.Angles(-1.5707963267949,0,0),1/2))
- pcall(function()
- GUN.Base.Transparency = 1
- GUN.GunAdditions.Transparency = 1
- GUN.NeonParts.Transparency = 1
- end)
- end
- Humanoid.WalkSpeed = walkspeed*6
- else
- pcall(function()
- GUN.Base.Transparency = 0
- GUN.GunAdditions.Transparency = 0
- GUN.NeonParts.Transparency = 0
- end)
- end
- elseif taunt.Value == "TheEnd" then
- if attack == false then
- if Torsovelocity < sensitivity then
- Anim = "Idle"
- local Sine = math.sin(sine/32)
- tweenc2(RootJoint, CFrame.new(0+0*Sine,5+0.5*Sine,-0.1+0*Sine)*CFrame.Angles(math.rad(-14.6+-2*Sine),math.rad(34.4+0.3*Sine),math.rad(6.9+-1.4*Sine))*ROOTC0)
- tweenc2(RightHip, CFrame.new(1+0*Sine,-1.1+0*Sine,0.2+0*Sine)*CFrame.Angles(math.rad(-17.9+0*Sine),math.rad(-27.3+0.1*Sine),math.rad(-17.2+2.5*Sine))*CFrame.Angles(0,math.rad(90),0))
- tweenc2(LeftHip, CFrame.new(-1.1+0*Sine,-0.2+0*Sine,-0.6+0*Sine)*CFrame.Angles(math.rad(-11.6+2.5*Sine),math.rad(31+0*Sine),math.rad(-5.3+0*Sine))*CFrame.Angles(0,math.rad(-90),0))
- Sine = math.cos(Sine/32)
- tweenc2(RightShoulder, CFrame.new(1.5+0*Sine,0.8+0*Sine,-0.3+0*Sine)*CFrame.Angles(math.rad(31.9+0*Sine),math.rad(57.1+0*Sine),math.rad(34.6+-2.5*Sine)))
- tweenc2(LeftShoulder, CFrame.new(-1.3+0*Sine,0.4+0*Sine,0.4+-0.1*Sine)*CFrame.Angles(math.rad(81.8+5*Sine),math.rad(5.7+0*Sine),math.rad(-34.5+0.1*Sine)))
- tweenc2(Neck, CFrame.new(-0.4+0*Sine,0.1+0*Sine,0.1+-0.1*Sine)*CFrame.Angles(math.rad(-15.4+2.5*Sine),math.rad(-34.7+0*Sine),math.rad(-23.7+0*Sine))*NECKC0)
- else
- Anim = "Walk"
- tweenc(RootJoint, Clerp(RootJoint.C0,ROOTC0 * CFrame.new(0 + .5 * math.cos(sine/50),0,3 - .5 * math.sin(sine/50)) * CFrame.Angles(math.rad(40),0,0),0.7/3))
- tweenc(Neck, Clerp(Neck.C0,NECKC0 * CFrame.new(0,-.25,0) * CFrame.Angles(math.rad(-40),0,0),0.7/3))
- tweenc(RightShoulder, Clerp(RightShoulder.C0,CFrame.new(1.5,0.5,0) * CFrame.Angles(-0.78539816339745,0,math.rad(5 + 2 * math.cos(sine/19))) * RIGHTSHOULDERC0,0.7/3))
- tweenc(LeftShoulder, Clerp(LeftShoulder.C0,CFrame.new(-1.5,0.5,0) * CFrame.Angles(-0.78539816339745,0,math.rad(-5 - 2 * math.cos(sine/19))) * LEFTSHOULDERC0,0.7/3))
- tweenc(RightHip, Clerp(RightHip.C0,CFrame.new(1,-0.5,-0.5) * CFrame.Angles(math.rad(-20 + 9 * math.cos(sine/74)),math.rad(80),0) * CFrame.Angles(math.rad(0 + 5 * math.cos(sine/37)),0,0),0.7/3))
- tweenc(LeftHip, Clerp(LeftHip.C0,CFrame.new(-1,-1,0) * CFrame.Angles(math.rad(-20 - 9 * math.cos(sine/54)),math.rad(-80),0) * CFrame.Angles(math.rad(0 - 5 * math.cos(sine/41)),0,0),0.7/3))
- tweenc(GunJoint, Clerp(GunJoint.C0,CFrame.new(0.05,-1,-0.15) * CFrame.Angles(-1.5707963267949,0,0),1/2))
- end
- pcall(function()
- GUN.Base.Transparency = 0
- GUN.GunAdditions.Transparency = 0
- GUN.NeonParts.Transparency = 0
- end)
- end
- else
- if attack == false then
- pcall(function()
- GUN.Base.Transparency = 1
- GUN.GunAdditions.Transparency = 1
- GUN.NeonParts.Transparency = 1
- end)
- end
- if taunt.Value == "Fave" then
- tweenc(RootJoint, Clerp(RootJoint.C0,rc0 * CFrame.new(0,0,0),1))
- tweenc(Neck, Clerp(Neck.C0,nc0 * CFrame.new(),1))
- tweenc(RightShoulder, Clerp(RightShoulder.C0,CFrame.new(1.5,0.5,0) * rscp,1))
- tweenc(LeftShoulder, Clerp(LeftShoulder.C0,CFrame.new(-1.3,0.7,0) * CFrame.Angles(0,0,math.rad(-135)) * lscp,1))
- tweenc(RightHip, Clerp(RightHip.C0,CFrame.new(.5,-2,0),1))
- tweenc(LeftHip, Clerp(LeftHip.C0,CFrame.new(-.9,-1.9,0) * CFrame.Angles(0,0,math.rad(-25)),1))
- tweenc1(RightHip, Clerp(RightHip.C1,CFrame.new(),1))
- tweenc1(LeftHip, Clerp(LeftHip.C1,CFrame.new(),1))
- tweenc(GunJoint, Clerp(GunJoint.C0,CFrame.new(0,-1,0) * CFrame.Angles(-1.5707963267949,0,0),1))
- end
- if taunt.Value == "Krump" then
- tweenc(RootJoint, Clerp(RootJoint.C0,rc0 * CFrame.new(0+1*math.sin(sine/3),0+1*math.cos(sine/3),-.75) * CFrame.Angles(0,math.rad(-10),0),1))
- tweenc(Neck, Clerp(Neck.C0,nc0 * CFrame.new(),1))
- tweenc(RightShoulder, Clerp(RightShoulder.C0,CFrame.new(1.5,1,0) * CFrame.Angles(0,0,1.5707963267949) * rscp,1))
- tweenc(LeftShoulder, Clerp(LeftShoulder.C0,CFrame.new(-1.5,1,0) * CFrame.Angles(0,0,-1.5707963267949) * lscp,1))
- tweenc(RightHip, Clerp(RightHip.C0,CFrame.new(1.5,-1,0) * CFrame.Angles(0,0,math.rad(70)),1))
- tweenc(LeftHip, Clerp(LeftHip.C0,CFrame.new(-.5,-1.25,-.25) * CFrame.Angles(0,0,math.rad(10)),1))
- tweenc1(RightHip, Clerp(RightHip.C1,CFrame.new(),1))
- tweenc1(LeftHip, Clerp(LeftHip.C1,CFrame.new(),1))
- tweenc(GunJoint, Clerp(GunJoint.C0,CFrame.new(0,-1,0) * CFrame.Angles(-1.5707963267949,0,0),1))
- elseif taunt.Value == "OOOOO" then
- tweenc(RootJoint, Clerp(RootJoint.C0,rc0*CFrame.new(math.random(-1,1)/2,math.random(-1,1)/2,math.random(-1,1)/2)*CFrame.Angles(math.rad(math.random(-45,45)),math.rad(math.random(-45,45)),0),1))
- tweenc(Neck, Clerp(Neck.C0,nc0,1))
- tweenc(RightShoulder, Clerp(RightShoulder.C0,CFrame.new(2,0,0) * rscp * CFrame.Angles(-1.5707963267949,0,0),1))
- tweenc(LeftShoulder, Clerp(LeftShoulder.C0,CFrame.new(-2,0,0) * lscp * CFrame.Angles(-1.5707963267949,0,0),1))
- tweenc(RightHip, Clerp(RightHip.C0,CFrame.new(.5,-2,0),1))
- tweenc(LeftHip, Clerp(LeftHip.C0,CFrame.new(-.5,-2,0),1))
- tweenc1(RightHip, Clerp(RightHip.C1,CFrame.new(),1))
- tweenc1(LeftHip, Clerp(LeftHip.C1,CFrame.new(),1))
- tweenc1(RightShoulder, Clerp(RightShoulder.C1,CFrame.new(-.5,.5,0,0,0,1,0,1,-0,-1,0,0),1))
- tweenc1(LeftShoulder, Clerp(LeftShoulder.C1,CFrame.new(.5,.499975681,0,0,0,-1,0,1,0,1,0,0),1))
- tweenc(GunJoint, Clerp(GunJoint.C0,CFrame.new(0,-1,0) * CFrame.Angles(-1.5707963267949,0,0),1))
- end
- end
- end
- task.wait(frame)
- end
- end)
- -- prevent lag/memory leak if you reset character
- local resetcharacterbind = Instance.new("BindableEvent")
- _G.ResetBind = resetcharacterbind
- local qoueoqwieqe
- qoueoqwieqe = resetcharacterbind.Event:Connect(function()
- if not qoueoqwieqe.Connected then return end
- qoueoqwieqe:Disconnect()
- if plr.Character then
- local char = plr.Character
- pcall(function() char:FindFirstChildOfClass("Humanoid"):Destroy() end)
- pcall(function() char:Destroy() end)
- end
- if workspace:FindFirstChild("non") then workspace.non:Destroy() end
- stopeverything = true
- resetcharacterbind:Destroy()
- resetcharacterbind = nil
- _G.ResetBind = nil
- qoueoqwieqe = nil
- end)
- game:GetService("StarterGui"):SetCore("ResetButtonCallback", resetcharacterbind)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement