Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Objects
- local GUI = Instance.new("ScreenGui")
- local TheMain = Instance.new("Frame")
- local topkek = Instance.new("TextButton")
- local rocky2u = Instance.new("TextButton")
- local CBRO = Instance.new("TextButton")
- local GrabKnife = Instance.new("TextButton")
- local Explained = Instance.new("TextButton")
- -- Properties
- GUI.Name = "GUI"
- GUI.Parent = game.CoreGui
- GUI.ResetOnSpawn = false
- TheMain.Name = "TheMain"
- TheMain.Parent = GUI
- TheMain.BackgroundColor3 = Color3.new(0, 0, 0)
- TheMain.BackgroundTransparency = 0.10000000149012
- TheMain.Draggable = true
- TheMain.Position = UDim2.new(0, 110, 0, 207)
- TheMain.Size = UDim2.new(0, 429, 0, 267)
- topkek.Name = "topkek"
- topkek.Parent = TheMain
- topkek.BackgroundColor3 = Color3.new(0, 0, 0)
- topkek.BackgroundTransparency = 0.5
- topkek.BorderColor3 = Color3.new(0.333333, 1, 1)
- topkek.BorderSizePixel = 2
- topkek.Position = UDim2.new(0, 15, 0, 190)
- topkek.Size = UDim2.new(0, 153, 0, 60)
- topkek.Font = Enum.Font.SourceSansBold
- topkek.FontSize = Enum.FontSize.Size28
- topkek.Text = "TOPKEK 4.0"
- topkek.TextColor3 = Color3.new(0.333333, 1, 1)
- topkek.TextSize = 28
- rocky2u.Name = "rocky2u"
- rocky2u.Parent = TheMain
- rocky2u.BackgroundColor3 = Color3.new(0, 0, 0)
- rocky2u.BackgroundTransparency = 0.5
- rocky2u.BorderColor3 = Color3.new(0.333333, 1, 1)
- rocky2u.BorderSizePixel = 2
- rocky2u.Position = UDim2.new(0, 15, 0, 104)
- rocky2u.Size = UDim2.new(0, 153, 0, 60)
- rocky2u.Font = Enum.Font.SourceSansBold
- rocky2u.FontSize = Enum.FontSize.Size28
- rocky2u.Text = "Rocky2u"
- rocky2u.TextColor3 = Color3.new(0.333333, 1, 1)
- rocky2u.TextSize = 28
- CBRO.Name = "CBRO"
- CBRO.Parent = TheMain
- CBRO.BackgroundColor3 = Color3.new(0, 0, 0)
- CBRO.BackgroundTransparency = 0.5
- CBRO.BorderColor3 = Color3.new(0.333333, 1, 1)
- CBRO.BorderSizePixel = 2
- CBRO.Position = UDim2.new(0, 260, 0, 16)
- CBRO.Size = UDim2.new(0, 153, 0, 60)
- CBRO.Font = Enum.Font.SourceSansBold
- CBRO.FontSize = Enum.FontSize.Size28
- CBRO.Text = "CB:RO Aimbot"
- CBRO.TextColor3 = Color3.new(0.333333, 1, 1)
- CBRO.TextSize = 28
- GrabKnife.Name = "GrabKnife"
- GrabKnife.Parent = TheMain
- GrabKnife.BackgroundColor3 = Color3.new(0, 0, 0)
- GrabKnife.BackgroundTransparency = 0.5
- GrabKnife.BorderColor3 = Color3.new(0.333333, 1, 1)
- GrabKnife.BorderSizePixel = 2
- GrabKnife.Position = UDim2.new(0, 15, 0, 16)
- GrabKnife.Size = UDim2.new(0, 153, 0, 60)
- GrabKnife.Font = Enum.Font.SourceSansBold
- GrabKnife.FontSize = Enum.FontSize.Size28
- GrabKnife.Text = "Grab Knife V3"
- GrabKnife.TextColor3 = Color3.new(0.333333, 1, 1)
- GrabKnife.TextSize = 28
- Explained.Name = "Explained"
- Explained.Parent = TheMain
- Explained.BackgroundColor3 = Color3.new(1, 1, 1)
- Explained.Position = UDim2.new(0, 261, 0, 96)
- Explained.Size = UDim2.new(0, 149, 0, 75)
- Explained.Font = Enum.Font.SourceSans
- Explained.FontSize = Enum.FontSize.Size14
- Explained.Text = "Caps Lock to toggle aimbot. [ for insane accuracy. ] for legit accuracy. \\ for ESP"
- Explained.TextScaled = true
- Explained.TextSize = 14
- Explained.TextWrapped = true
- print("Simplicity has loaded. Enjoy!")
- GrabKnife.MouseButton1Down:connect(function()
- math.randomseed(tick())
- local player = game.Players.LocalPlayer
- local rekt = {}
- local paralyzed = false
- local curpoint = nil
- local curpart = nil
- local finishnum = 1
- local zombiemode = false
- local zombies = {}
- local lastgui = nil
- local mouse = player:GetMouse()
- function getplr(char)
- local plr = nil
- for i,v in pairs(game.Players:GetChildren()) do
- if v.Character == char then
- plr = v
- end
- end
- return plr
- end
- function bleed(frick)
- while frick.Parent ~= nil do
- local reeee = coroutine.wrap(function()
- local thing = Instance.new('Part',game.Workspace)
- thing.Size = Vector3.new(0.2,0.2,0.2)
- thing.CFrame = frick.CFrame
- thing.Shape = Enum.PartType.Ball
- thing.CFrame = frick.CFrame
- thing.Transparency = 1
- thing.BrickColor = BrickColor.new('Maroon')
- thing.Material = Enum.Material.SmoothPlastic
- thing.Name = "Blood"
- thing.CanCollide =false
- local rawrxd = Instance.new('BodyForce',thing)
- rawrxd.Force = frick.CFrame.upVector*(math.random()*2)+Vector3.new(math.random(-5, 5)/10,1.5,0)
- local coru = coroutine.wrap(function()
- wait(0.01)
- rawrxd:Destroy()
- end)
- coru()
- local ree = Instance.new('ParticleEmitter',thing)
- ree.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.fromRGB(100,0,0)),ColorSequenceKeypoint.new(1,Color3.fromRGB(100,0,0))})
- ree.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.1),NumberSequenceKeypoint.new(1,0.1)})
- ree.Texture = 'rbxassetid://867743272'
- ree.Lifetime = NumberRange.new(0.4)
- ree.Rate = 50
- ree.LockedToPart = true
- ree.Speed = NumberRange.new(0, 2)
- thing.Touched:connect(function(tou)
- if tou.Parent and tou.Parent:IsA('Tool') == false and tou.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil and tou.Parent:FindFirstChildOfClass('Humanoid') == nil and tou.Name ~= "Blood" and tou.Parent.Name ~= "Projectile" and tou.Parent.Name ~= "big ass knife" and tou.Parent ~= player.Character and tou.Parent.ClassName ~= "Accessory" and tou.Parent.Name ~= "bitch ass knife" then
- local pos = Vector3.new(thing.Position.X,(tou.Position.Y+(tou.Size.Y/2))+0.02,thing.Position.Z)
- thing:Destroy()
- if tou.Name == "BloodPuddle" then
- local reee = tou.CFrame
- if tou.Transparency > -0.2 then
- tou.Transparency = tou.Transparency -0.1
- end
- if tou.Size.X < 10 then
- tou.Size = tou.Size+Vector3.new(0.1,0,0.1)
- tou.CFrame = reee
- end
- else
- local bloodlol = Instance.new('Part',workspace)
- bloodlol.Size=Vector3.new(1,0.2,1)
- bloodlol.Name = "BloodPuddle"
- bloodlol.Anchored = true
- bloodlol.CanCollide = false
- bloodlol.Material = Enum.Material.SmoothPlastic
- bloodlol.BrickColor = BrickColor.new('Maroon')
- local cyl = Instance.new('CylinderMesh',bloodlol)
- cyl.Scale = Vector3.new(1,0.1,1)
- bloodlol.CFrame = CFrame.new(pos)
- local coru=coroutine.wrap(function()
- while bloodlol.Parent ~= nil do
- if bloodlol.Transparency < 1 then
- bloodlol.Transparency = bloodlol.Transparency+0.05
- else
- bloodlol:Destroy()
- end
- wait(0.1)
- end
- end)
- coru()
- end
- end
- end)
- local coru = coroutine.wrap(function()
- wait(1)
- thing:Destroy()
- end)
- coru()
- end)
- reeee()
- wait()
- end
- end
- function killz(playa,hitz,kneef,explode,pool,head,charred,override)
- local soundy = false
- local heyy = hitz
- if hitz == "Right Arm" then
- local Limb = playa:FindFirstChild("Right Arm")
- local ters = playa:FindFirstChild('Torso')
- if Limb and ters then
- if ters:FindFirstChild('Right Shoulder') then ters["Right Shoulder"]:Destroy() end
- for i,v in pairs(Limb:GetChildren()) do
- if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Rotate') then
- v:Destroy()
- end
- end
- Limb.CFrame = ters.CFrame * CFrame.new(1.5, 0, 0)
- local Joint = Instance.new("Rotate")
- Joint.Name = "RightShoulder"
- Joint.Part0 = ters
- Joint.Part1 = Limb
- Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.Parent = ters
- if charred and zombiemode == false then
- Limb.BrickColor = BrickColor.new('Black')
- local fire = Instance.new('Fire',Limb)
- fire.Heat = 5
- fire.Size = 5
- game:GetService('Debris'):AddItem(fire,2)
- local coru=coroutine.wrap(function()
- wait(2)
- for i,v in pairs(Limb:GetChildren()) do
- if v:IsA('ParticleEmitter') then
- v:Destroy()
- end
- end
- end)
- coru()
- end
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = playa
- local W = Instance.new("Weld")
- W.Part0 = Limb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = Limb
- if kneef then
- local coru = coroutine.wrap(function()
- local uno = Instance.new('Part',workspace)
- local dos = Instance.new('Part',workspace)
- uno.CFrame = playa:FindFirstChild(hitz).CFrame
- dos.CFrame = kneef["big ass knife"].CFrame
- local weld = Instance.new('Weld',kneef["big ass knife"])
- weld.Part0 = playa:FindFirstChild(hitz)
- weld.Part1 = kneef["big ass knife"]
- weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
- uno:Destroy()
- dos:Destroy()
- playa:FindFirstChild(hitz).Anchored = false
- for i, v in pairs(kneef:GetChildren()) do
- if v:IsA('BasePart') then
- v.Anchored = false
- end
- end
- if zombiemode == false or override then
- wait()
- end
- if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then
- kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy()
- end
- local bleedpart = Instance.new("Part", kneef)
- bleedpart.CanCollide = false
- bleedpart.Size = Vector3.new(0.2, 0.2, 0.2)
- bleedpart.CFrame = kneef["big ass knife"].CFrame
- bleedpart.Color = Color3.new(115/225, 115/225, 115/225)
- bleedpart.Transparency = 1
- local bleedpartweld = Instance.new("Weld", kneef["big ass knife"])
- bleedpartweld.Part0 = kneef["big ass knife"]
- bleedpartweld.Part1 = bleedpart
- bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0)
- local coru = coroutine.wrap(function()
- bleed(bleedpart)
- end)
- coru()
- game:GetService('Debris'):AddItem(bleedpart,2)
- end)
- coru()
- end
- end
- elseif hitz == "Left Arm" then
- local Limb = playa:FindFirstChild("Left Arm")
- local ters = playa:FindFirstChild('Torso')
- if Limb and ters then
- if ters:FindFirstChild('Left Shoulder') then ters["Left Shoulder"]:Destroy() end
- for i,v in pairs(Limb:GetChildren()) do
- if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Rotate') then
- v:Destroy()
- end
- end
- Limb.CFrame = ters.CFrame * CFrame.new(-1.5, 0, 0)
- local Joint = Instance.new("Rotate")
- Joint.Name = "LeftShoulder"
- Joint.Part0 = ters
- Joint.Part1 = Limb
- Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.Parent = ters
- if charred and zombiemode == false then
- Limb.BrickColor = BrickColor.new('Black')
- local fire = Instance.new('Fire',Limb)
- fire.Heat = 5
- fire.Size = 5
- game:GetService('Debris'):AddItem(fire,2)
- local coru=coroutine.wrap(function()
- wait(2)
- for i,v in pairs(Limb:GetChildren()) do
- if v:IsA('ParticleEmitter') then
- v:Destroy()
- end
- end
- end)
- coru()
- end
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.CanCollide = true
- B.Transparency = 1
- B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = playa
- local W = Instance.new("Weld")
- W.Part0 = ters
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = Limb
- if kneef then
- local coru = coroutine.wrap(function()
- local uno = Instance.new('Part',workspace)
- local dos = Instance.new('Part',workspace)
- uno.CFrame = playa:FindFirstChild(hitz).CFrame
- dos.CFrame = kneef["big ass knife"].CFrame
- local weld = Instance.new('Weld',kneef["big ass knife"])
- weld.Part0 = playa:FindFirstChild(hitz)
- weld.Part1 = kneef["big ass knife"]
- weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
- uno:Destroy()
- dos:Destroy()
- playa:FindFirstChild(hitz).Anchored = false
- for i, v in pairs(kneef:GetChildren()) do
- if v:IsA('BasePart') then
- v.Anchored = false
- end
- end
- if zombiemode == false or override then
- wait()
- end
- if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then
- kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy()
- end
- local bleedpart = Instance.new("Part", kneef)
- bleedpart.CanCollide = false
- bleedpart.Size = Vector3.new(0.2, 0.2, 0.2)
- bleedpart.CFrame = kneef["big ass knife"].CFrame
- bleedpart.Color = Color3.new(115/225, 115/225, 115/225)
- bleedpart.Transparency = 1
- local bleedpartweld = Instance.new("Weld", kneef["big ass knife"])
- bleedpartweld.Part0 = kneef["big ass knife"]
- bleedpartweld.Part1 = bleedpart
- bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0)
- local coru = coroutine.wrap(function()
- bleed(bleedpart)
- end)
- coru()
- game:GetService('Debris'):AddItem(bleedpart,2)
- end)
- coru()
- end
- end
- elseif hitz == "Right Leg" then
- local Limb = playa:FindFirstChild("Right Leg")
- local ters = playa:FindFirstChild('Torso')
- if Limb and ters then
- if ters:FindFirstChild('Right Hip') then ters["Right Hip"]:Destroy() end
- for i,v in pairs(Limb:GetChildren()) do
- if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Rotate') then
- v:Destroy()
- end
- end
- Limb.CFrame = ters.CFrame * CFrame.new(0.5, -2, 0)
- local Joint = Instance.new("Rotate")
- Joint.Name = "Right Hip"
- Joint.Part0 = ters
- Joint.Part1 = Limb
- Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.Parent = ters
- if charred and zombiemode == false then
- Limb.BrickColor = BrickColor.new('Black')
- local fire = Instance.new('Fire',Limb)
- fire.Heat = 5
- fire.Size = 5
- game:GetService('Debris'):AddItem(fire,2)
- local coru=coroutine.wrap(function()
- wait(2)
- for i,v in pairs(Limb:GetChildren()) do
- if v:IsA('ParticleEmitter') then
- v:Destroy()
- end
- end
- end)
- coru()
- end
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = playa
- local W = Instance.new("Weld")
- W.Part0 = Limb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = Limb
- if kneef then
- local coru = coroutine.wrap(function()
- local uno = Instance.new('Part',workspace)
- local dos = Instance.new('Part',workspace)
- uno.CFrame = playa:FindFirstChild(hitz).CFrame
- dos.CFrame = kneef["big ass knife"].CFrame
- local weld = Instance.new('Weld',kneef["big ass knife"])
- weld.Part0 = playa:FindFirstChild(hitz)
- weld.Part1 = kneef["big ass knife"]
- weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
- uno:Destroy()
- dos:Destroy()
- playa:FindFirstChild(hitz).Anchored = false
- for i, v in pairs(kneef:GetChildren()) do
- if v:IsA('BasePart') then
- v.Anchored = false
- end
- end
- if zombiemode == false or override then
- wait()
- end
- if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then
- kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy()
- end
- local bleedpart = Instance.new("Part", kneef)
- bleedpart.CanCollide = false
- bleedpart.Size = Vector3.new(0.2, 0.2, 0.2)
- bleedpart.CFrame = kneef["big ass knife"].CFrame
- bleedpart.Color = Color3.new(115/225, 115/225, 115/225)
- bleedpart.Transparency = 1
- local bleedpartweld = Instance.new("Weld", kneef["big ass knife"])
- bleedpartweld.Part0 = kneef["big ass knife"]
- bleedpartweld.Part1 = bleedpart
- bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0)
- local coru = coroutine.wrap(function()
- bleed(bleedpart)
- end)
- coru()
- game:GetService('Debris'):AddItem(bleedpart,2)
- end)
- coru()
- end
- if playa then
- table.insert(rekt,playa)
- end
- end
- elseif hitz == "Left Leg" then
- local Limb = playa:FindFirstChild("Left Leg")
- local ters = playa:FindFirstChild('Torso')
- if Limb and ters then
- if ters:FindFirstChild('Left Hip') then ters["Left Hip"]:Destroy() end
- for i,v in pairs(Limb:GetChildren()) do
- if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Rotate') then
- v:Destroy()
- end
- end
- Limb.CFrame = ters.CFrame * CFrame.new(0.5, -2, 0)
- Limb.CFrame = ters.CFrame * CFrame.new(-0.5, -2, 0)
- local Joint = Instance.new("Rotate")
- Joint.Name = "LeftHip"
- Joint.Part0 = ters
- Joint.Part1 = Limb
- Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.Parent = ters
- if charred and zombiemode == false then
- Limb.BrickColor = BrickColor.new('Black')
- local fire = Instance.new('Fire',Limb)
- fire.Heat = 5
- fire.Size = 5
- game:GetService('Debris'):AddItem(fire,2)
- local coru=coroutine.wrap(function()
- wait(2)
- for i,v in pairs(Limb:GetChildren()) do
- if v:IsA('ParticleEmitter') then
- v:Destroy()
- end
- end
- end)
- coru()
- end
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = playa
- local W = Instance.new("Weld")
- W.Part0 = Limb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = Limb
- Limb.CanCollide = false
- if kneef then
- local coru = coroutine.wrap(function()
- local uno = Instance.new('Part',workspace)
- local dos = Instance.new('Part',workspace)
- uno.CFrame = playa:FindFirstChild(hitz).CFrame
- dos.CFrame = kneef["big ass knife"].CFrame
- local weld = Instance.new('Weld',kneef["big ass knife"])
- weld.Part0 = playa:FindFirstChild(hitz)
- weld.Part1 = kneef["big ass knife"]
- weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
- uno:Destroy()
- dos:Destroy()
- playa:FindFirstChild(hitz).Anchored = false
- for i, v in pairs(kneef:GetChildren()) do
- if v:IsA('BasePart') then
- v.Anchored = false
- end
- end
- if zombiemode == false or override then
- wait()
- end
- if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then
- kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy()
- end
- local bleedpart = Instance.new("Part", kneef)
- bleedpart.CanCollide = false
- bleedpart.Size = Vector3.new(0.2, 0.2, 0.2)
- bleedpart.CFrame = kneef["big ass knife"].CFrame
- bleedpart.Color = Color3.new(115/225, 115/225, 115/225)
- bleedpart.Transparency = 1
- local bleedpartweld = Instance.new("Weld", kneef["big ass knife"])
- bleedpartweld.Part0 = kneef["big ass knife"]
- bleedpartweld.Part1 = bleedpart
- bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0)
- local coru = coroutine.wrap(function()
- bleed(bleedpart)
- end)
- coru()
- game:GetService('Debris'):AddItem(bleedpart,2)
- end)
- coru()
- end
- if playa then
- table.insert(rekt,playa)
- end
- end
- elseif playa then
- if finishnum ~= 1 then
- local coru=coroutine.wrap(function()
- player.Character.Head.Psycho.Playing = true
- wait(3)
- player.Character.Head.Psycho.Playing = false
- end)
- coru()
- end
- local playa2 = playa
- playa.Archivable = true
- local playa = playa:Clone()
- playa.Archivable = false
- playa2:Destroy()
- playa.Parent = workspace
- local Gibs = game.Workspace
- local Torso = playa.Torso
- local Head = playa:FindFirstChild("Head")
- local function Scan(ch)
- local e
- for e = 1,#ch do
- Scan(ch[e]:GetChildren())
- if (ch[e].ClassName == "Weld" and ch[e]:FindFirstChild('Part1') and ch[e].Part1.Name ~= 'Projectile') or ch[e].ClassName == "Motor6D" or ch[e].ClassName == "Rotate" or (ch[e]:IsA('BasePart') and ch[e].Size == Vector3.new(1, 1, 1)) then
- ch[e]:remove()
- end
- end
- end
- Scan(playa:GetChildren())
- if playa:FindFirstChild('HumanoidRootPart') and (zombiemode == false or override) then
- playa:FindFirstChild('HumanoidRootPart'):Destroy()
- end
- local hum2 = playa:FindFirstChildOfClass("Humanoid")
- if zombiemode == true and override == false then
- soundy = true
- end
- if string.sub(hum2.Parent.Name,string.len(hum2.Parent.Name)-8,string.len(hum2.Parent.Name)) ~= "'s Zombie" then
- override = true
- end
- if hum2 ~= nil then
- hum2.Name = "Humanoid2"
- hum2.Health = 0
- if zombiemode == false or override == true then
- table.insert(rekt,hum2.Parent)
- else
- local gyro = Instance.new('BodyGyro',Torso)
- hum2.PlatformStand = false
- for i,v in pairs(hum2.Parent.Torso:GetChildren()) do
- if v:IsA('BodyGyro') then v:Destroy() end
- end
- if playa:FindFirstChild('HumanoidRootPart') then
- hum2.Parent.HumanoidRootPart.CFrame = hum2.Parent.Torso.CFrame
- local weldcrucial = Instance.new('Weld',hum2.Parent.HumanoidRootPart)
- weldcrucial.Part0 = hum2.Parent.HumanoidRootPart
- weldcrucial.Part1 = hum2.Parent.Torso
- end
- end
- end
- local ch = playa:GetChildren()
- local i
- for i = 1,#ch do
- if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
- ch[i]:remove()
- end
- end
- if Head then
- local Neck = Instance.new("Weld")
- Neck.Name = "Neck"
- Neck.Part0 = Torso
- Neck.Part1 = Head
- if pool then
- local part = Instance.new('Part',Torso)
- part.Position = Vector3.new(0,10,0)
- part.Size = Vector3.new(0.2,0.2,0.2)
- part.Transparency = 1
- part.CanCollide = false
- local we = Instance.new('Weld',Torso)
- we.Part0 = Torso
- we.Part1 = part
- we.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0)
- local coru=coroutine.wrap(function()
- bleed(part)
- end)
- coru()
- end
- if head == false or head == nil then
- Neck.C0 = CFrame.new(0, 1.5, 0)
- else
- Neck.C0 = CFrame.new(0, 1.5, 0.2)*CFrame.Angles(0.5, 0.25, 0.25)
- local bleedpart = Instance.new("Part", Torso)
- bleedpart.Size = Vector3.new(0.2, 0.2, 0.2)
- bleedpart.Color = Color3.new(115/225, 115/225, 115/225)
- bleedpart.CanCollide = false
- bleedpart.Position = Head.Position + Vector3.new(0, 1, 0)
- bleedpart.Transparency = 1
- local bleedpartweld = Instance.new("Weld", Torso)
- bleedpartweld.Part0 = Torso
- bleedpartweld.Part1 = bleedpart
- bleedpartweld.C0 = CFrame.Angles(-1, 0, -0.35) * CFrame.new(0, 1, 0.8)
- local coru = coroutine.wrap(function()
- bleed(bleedpart)
- end)
- coru()
- end
- Neck.C1 = CFrame.new()
- Neck.Parent = Torso
- end
- local Limb = playa:FindFirstChild("Right Arm")
- if Limb then
- Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
- local Joint = Instance.new("Rotate")
- Joint.Name = "RightShoulder"
- Joint.Part0 = Torso
- Joint.Part1 = Limb
- Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.Parent = Torso
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = playa
- local W = Instance.new("Weld")
- W.Part0 = Limb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = Limb
- end
- local Limb = playa:FindFirstChild("Left Arm")
- if Limb then
- Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
- local Joint = Instance.new("Rotate")
- Joint.Name = "LeftShoulder"
- Joint.Part0 = Torso
- Joint.Part1 = Limb
- Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.Parent = Torso
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = playa
- local W = Instance.new("Weld")
- W.Part0 = Limb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = Limb
- end
- local Limb = playa:FindFirstChild("Right Leg")
- if Limb then
- Limb.CanCollide = false
- Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
- local Joint = Instance.new("Rotate")
- Joint.Name = "RightHip"
- Joint.Part0 = Torso
- Joint.Part1 = Limb
- Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.Parent = Torso
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CanCollide = true
- B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = playa
- local W = Instance.new("Weld")
- W.Part0 = Limb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = Limb
- end
- local Limb = playa:FindFirstChild("Left Leg")
- if Limb then
- Limb.CanCollide = false
- Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0)
- local Joint = Instance.new("Rotate")
- Joint.Name = "LeftHip"
- Joint.Part0 = Torso
- Joint.Part1 = Limb
- Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.Parent = Torso
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- if zombiemode == false or override then
- B.CanCollide = true
- end
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = playa
- local W = Instance.new("Weld")
- W.Part0 = Limb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = Limb
- end
- --[[
- local Bar = Instance.new("Part")
- Bar.TopSurface = 0
- Bar.BottomSurface = 0
- Bar.formFactor = "Symmetric"
- Bar.Size = Vector3.new(1, 1, 1)
- Bar.Transparency = 1
- Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0)
- Bar.Parent = playa
- local Weld = Instance.new("Weld")
- Weld.Part0 = Torso
- Weld.Part1 = Bar
- Weld.C0 = CFrame.new(0, 0.5, 0)
- Weld.Parent = Torso
- --]]
- playa.Parent = Gibs
- if kneef and explode == nil then
- local coru = coroutine.wrap(function()
- if playa:FindFirstChild(hitz) then
- local uno = Instance.new('Part',workspace)
- local dos = Instance.new('Part',workspace)
- uno.CFrame = playa:FindFirstChild(hitz).CFrame
- dos.CFrame = kneef["big ass knife"].CFrame
- local weld = Instance.new('Weld',kneef["big ass knife"])
- weld.Part0 = playa:FindFirstChild(hitz)
- weld.Part1 = kneef["big ass knife"]
- weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
- uno:Destroy()
- dos:Destroy()
- playa:FindFirstChild(hitz).Anchored = false
- for i, v in pairs(kneef:GetChildren()) do
- if v:IsA('BasePart') then
- v.Anchored = false
- end
- end
- if explode == nil or explode == false then
- local bleedpart = Instance.new("Part", kneef)
- bleedpart.Size = Vector3.new(0.2, 0.2, 0.2)
- bleedpart.Color = Color3.new(115/225, 115/225, 115/225)
- bleedpart.CanCollide = false
- bleedpart.Position = Head.Position + Vector3.new(0, 1, 0)
- bleedpart.Transparency = 1
- local bleedpartweld = Instance.new("Weld", kneef["big ass knife"])
- bleedpartweld.Part0 = kneef["big ass knife"]
- bleedpartweld.Part1 = bleedpart
- bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0)
- local coru = coroutine.wrap(function()
- bleed(bleedpart)
- end)
- coru()
- end
- end
- if zombiemode == false or override then
- wait()
- end
- if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then
- kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy()
- end
- end)
- coru()
- end
- if explode then
- local movevector = CFrame.new(explode.Position,Torso.Position).lookVector
- local repulse = Instance.new('BodyForce',Torso)
- repulse.Force = movevector*10000 + Vector3.new(0,5000,0)
- game.Debris:AddItem(repulse,0.05)
- end
- if charred and zombiemode == false then
- for i,v in pairs(playa:GetChildren()) do
- if v:IsA('BasePart') then
- v.BrickColor = BrickColor.Black()
- local fire = Instance.new('Fire',v)
- fire.Size = 5
- fire.Heat = 5
- elseif v:IsA('Accessory') then
- for a,c in pairs(v:GetChildren()) do
- if c:IsA('BasePart') then
- c.BrickColor = BrickColor.Black()
- local fire = Instance.new('Fire',v)
- fire.Size = 5
- fire.Heat = 5
- for o,p in pairs(c:GetChildren()) do
- if p:IsA("SpecialMesh") then
- p.TextureId = ""
- end
- end
- end
- end
- end
- end
- end
- if soundy then
- local sound = Instance.new('Sound',Head)
- sound.SoundId = 'rbxassetid://903640857'
- sound.Volume = 1
- sound:Play()
- sound.Ended:connect(function()
- sound:Destroy()
- local ambient = Instance.new('Sound',Head)
- ambient.Volume = 0.25
- ambient.Looped = true
- ambient.SoundId = 'rbxassetid://903641031'
- ambient:Play()
- end)
- end
- if override then
- if (string.len(hum2.Parent.Name) < 9 or string.sub(hum2.Parent.Name,string.len(hum2.Parent.Name)-8,string.len(hum2.Parent.Name)) ~= "'s Zombie") and zombiemode == true and #zombies < 10 then
- local coru = coroutine.wrap(function()
- wait(4.5)
- hum2.Parent.Name = hum2.Parent.Name.."'s Zombie"
- hum2.HipHeight = 0.2
- wait(0.5)
- killz(hum2.Parent,"Head",nil,nil,false,false,false,false)
- end)
- coru()
- else
- game:GetService('Debris'):AddItem(playa, 12)
- end
- else
- hum2.Health = 0
- table.insert(zombies,playa)
- local attack = Instance.new('Sound',Head)
- attack.SoundId = 'rbxassetid://903641424'
- attack.Volume = 2
- for i,v in pairs(playa:GetChildren()) do
- if v:IsA('BasePart') and v:FindFirstChildOfClass('TouchTransmitter') == nil then
- v.Touched:connect(function(hit)
- if hit.Parent and hit.Parent:FindFirstChildOfClass('Humanoid') then
- local found = false
- if hit.Parent == player.Character then
- found = true
- end
- for a,c in pairs(zombies) do
- if c == hit.Parent then
- found = true
- end
- end
- if found == false and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 then
- attack:Play()
- if hit.Parent:FindFirstChildOfClass('Humanoid').Health - 2 <= 0 then
- hit.Parent:FindFirstChildOfClass('Humanoid').Health = 0
- wait()
- killz(hit.Parent,"Head")
- else
- hit.Parent:FindFirstChildOfClass('Humanoid'):TakeDamage(2)
- end
- end
- end
- end)
- end
- end
- local coru = coroutine.wrap(function()
- wait(2)
- for i,v in pairs(playa:GetChildren()) do
- if v:IsA('BasePart') then
- for a,c in pairs(v:GetChildren()) do
- if c:IsA('Fire') or c:IsA('ParticleEmitter') then
- c:Destroy()
- end
- end
- elseif v:IsA('Accessory') then
- for a,c in pairs(v:GetChildren()) do
- if c:IsA('BasePart') then
- for b,d in pairs(c:GetChildren()) do
- if d:IsA('Fire') or d:IsA('ParticleEmitter') then
- d:Destroy()
- end
- end
- end
- end
- end
- end
- end)
- coru()
- end
- end
- end
- mouse.KeyDown:connect(function(key)
- if key == "t" and mouse.Target then
- local hum = mouse.Target.Parent:FindFirstChildOfClass('Humanoid')
- if hum == nil then hum = mouse.Target.Parent.Parent:FindFirstChildOfClass('Humanoid') end
- if curpoint == nil then
- if hum and hum.Parent:FindFirstChild('Head') then
- curpart = hum.Parent.Head
- else
- curpart = nil
- curpoint = mouse.Hit.p
- end
- if player.PlayerGui:FindFirstChild('Notification') then player.PlayerGui.Notification:Destroy() end
- notify("ZOMBIE TARGET SET",false)
- else
- curpart = nil
- curpoint = nil
- if player.PlayerGui:FindFirstChild('Notification') then player.PlayerGui.Notification:Destroy() end
- notify("ZOMBIE TARGET REMOVED",false)
- end
- elseif key == "y" then
- for o,p in pairs(zombies) do
- local coru = coroutine.wrap(function()
- if p:FindFirstChild('Torso') then
- killz(p,"Head",nil,nil,false,false,false,true)
- else
- table.remove(zombies,o)
- end
- end)
- coru()
- wait()
- end
- for i,v in pairs(zombies) do
- table.remove(zombies,i)
- end
- if player.PlayerGui:FindFirstChild('Notification') then player.PlayerGui.Notification:Destroy() end
- notify("ZOMBIES TERMINATED",false)
- end
- end)
- function nub()
- repeat wait() until player.Character and player.Character:FindFirstChild('Torso')
- local me = player.Character
- local point = me.HumanoidRootPart
- local playergui = player.PlayerGui
- local rightshoulderz = me.Torso["Right Shoulder"]:Clone()
- local leftshoulderz = me.Torso["Left Shoulder"]:Clone()
- local torsojoint = me.HumanoidRootPart["RootJoint"]:Clone()
- local lefthipz = me.Torso["Left Hip"]:Clone()
- local righthipz = me.Torso["Right Hip"]:Clone()
- local mode = "kill"
- local lerpz = false
- local active = false
- local acting = false
- local hit = false
- local canClick = true
- local stabbing = false
- local grabbing = false
- local finishing = false
- local kyssing = false
- local canbackgroundmusic = true
- local cancolorfilter = true
- local spinboolean = false
- local grabbed = nil
- local doing = false
- local rightshoulder = nil
- local leftshoulder = nil
- local headweld = nil
- local knifeparts = {}
- local usable = true
- finishnum = 1
- function notify(msg,forever)
- local doit = coroutine.wrap(function()
- local gui = Instance.new('ScreenGui',playergui)
- gui.Name = "Notification"
- local frame = Instance.new('Frame',gui)
- frame.Position = UDim2.new(0,0,0,0)
- frame.Size = UDim2.new(1,0,0.2,0)
- frame.BackgroundTransparency = 1
- local txt = Instance.new('TextLabel',frame)
- txt.TextColor3 = Color3.new(255,255,255)
- txt.TextStrokeColor3 = Color3.new(0, 0, 0)
- txt.TextStrokeTransparency = 0
- txt.BackgroundTransparency = 1
- txt.Text = ""
- txt.Size = UDim2.new(1,0,0.3,0)
- txt.Position = UDim2.new(0,0,0.4,0)
- txt.TextScaled = true
- txt.Font = "Code"
- txt.TextXAlignment = "Center"
- local tap = Instance.new("Sound")
- tap.Parent = gui
- tap.SoundId = "rbxassetid://147982968"
- tap.TimePosition = 0.1
- local str = msg
- local len = string.len(str)
- for i=1,len do
- txt.Text = string.sub(str,1,i)
- pitche = math.random(20, 40)/10
- tap.PlaybackSpeed = pitche
- tap:Play()
- wait(0.01)
- end
- if forever == false then
- wait(1)
- while txt.TextTransparency < 1 do
- txt.TextTransparency = txt.TextTransparency + 0.1
- txt.TextStrokeTransparency = txt.TextStrokeTransparency + 0.1
- wait(0.001)
- end
- gui:Destroy()
- end
- end)
- doit()
- end
- wait(0.5)
- notify("PRESS [Z] TO EQUIP KNIFE || Created by mustardfoot and Tollonis",true)
- local laugh = Instance.new('Sound',me.Head)
- laugh.SoundId = 'rbxassetid://378827985'
- laugh.Name = "Psycho"
- laugh.Volume = 5
- -- 1 - bitch ass knife
- local obj1 = Instance.new("Model")
- obj1.Name = "bitch ass knife"
- obj1.Parent = game.Workspace
- -- 2 - Grab
- local obj2 = Instance.new("Part")
- obj2.CFrame = CFrame.new(Vector3.new(20.4525032, 6.14501333, -134.399979)) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126)
- obj2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj2.Material = Enum.Material.Concrete
- obj2.Size = Vector3.new(1, 0.25, 0.25)
- obj2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj2.Anchored = true
- obj2.BrickColor = BrickColor.new("Black")
- obj2.Friction = 0.30000001192093
- obj2.Shape = Enum.PartType.Cylinder
- obj2.Name = "Grab"
- obj2.Parent = obj1
- -- 3 - handletopcap
- local obj3 = Instance.new("Part")
- obj3.CFrame = CFrame.new(Vector3.new(19.9725456, 6.14502859, -134.399933)) * CFrame.Angles(0, 1.5707963705063, 0)
- obj3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj3.Material = Enum.Material.Concrete
- obj3.Size = Vector3.new(0.349999994, 0.349999994, 0.349999994)
- obj3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj3.Anchored = true
- obj3.BrickColor = BrickColor.new("Black")
- obj3.Friction = 0.30000001192093
- obj3.Shape = Enum.PartType.Ball
- obj3.Name = "handletopcap"
- obj3.Parent = obj1
- -- 4 - handlebottomcap
- local obj4 = Instance.new("Part")
- obj4.CFrame = CFrame.new(Vector3.new(20.9725285, 6.14502859, -134.399918)) * CFrame.Angles(0, 1.5707963705063, 0)
- obj4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj4.Material = Enum.Material.Concrete
- obj4.Size = Vector3.new(0.25, 0.25, 0.25)
- obj4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj4.Anchored = true
- obj4.BrickColor = BrickColor.new("Black")
- obj4.Friction = 0.30000001192093
- obj4.Shape = Enum.PartType.Ball
- obj4.Name = "handlebottomcap"
- obj4.Parent = obj1
- -- 5 - handleguardmid
- local obj5 = Instance.new("Part")
- obj5.CFrame = CFrame.new(Vector3.new(19.9474983, 6.14502859, -134.399918)) * CFrame.Angles(0, 1.5707963705063, 0)
- obj5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj5.Material = Enum.Material.Concrete
- obj5.Size = Vector3.new(0.349999994, 0.349999994, 0.100000001)
- obj5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj5.Anchored = true
- obj5.BrickColor = BrickColor.new("Black")
- obj5.Friction = 0.30000001192093
- obj5.Shape = Enum.PartType.Block
- obj5.Name = "handleguardmid"
- obj5.Parent = obj1
- -- 6 - handleguardcap1
- local obj6 = Instance.new("Part")
- obj6.CFrame = CFrame.new(Vector3.new(19.9474983, 6.32502794, -134.399918)) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126)
- obj6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj6.Material = Enum.Material.Concrete
- obj6.Size = Vector3.new(0.100000001, 0.349999994, 0.349999994)
- obj6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj6.Anchored = true
- obj6.BrickColor = BrickColor.new("Black")
- obj6.Friction = 0.30000001192093
- obj6.Shape = Enum.PartType.Cylinder
- obj6.Name = "handleguardcap1"
- obj6.Parent = obj1
- -- 7 - handleguardcap2
- local obj7 = Instance.new("Part")
- obj7.CFrame = CFrame.new(Vector3.new(19.9474983, 5.97502899, -134.399918)) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126)
- obj7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj7.Material = Enum.Material.Concrete
- obj7.Size = Vector3.new(0.100000009, 0.349999994, 0.349999994)
- obj7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj7.Anchored = true
- obj7.BrickColor = BrickColor.new("Black")
- obj7.Friction = 0.30000001192093
- obj7.Shape = Enum.PartType.Cylinder
- obj7.Name = "handleguardcap2"
- obj7.Parent = obj1
- -- 8 - big ass knife
- local obj8 = Instance.new("Part")
- obj8.CFrame = CFrame.new(Vector3.new(18.4375095, 6.14502859, -134.401321)) * CFrame.Angles(0, 1.5707963705063, 0)
- obj8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj8.Material = Enum.Material.Metal
- obj8.Size = Vector3.new(0.0500000007, 0.280000001, 0.839999795)
- obj8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj8.Anchored = true
- obj8.BrickColor = BrickColor.new("Lily white")
- obj8.Friction = 0.30000001192093
- obj8.Shape = Enum.PartType.Block
- obj8.Name = "big ass knife"
- obj8.Parent = obj1
- -- 9 - Mesh
- local obj9 = Instance.new("BlockMesh")
- obj9.Scale = Vector3.new(0.5, 1, 1)
- obj9.Parent = obj8
- -- 10 - big ass knife
- local obj10 = Instance.new("Part")
- obj10.CFrame = CFrame.new(Vector3.new(19.7425137, 6.14502859, -134.401321)) * CFrame.Angles(0, 1.5707963705063, 0)
- obj10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj10.Material = Enum.Material.Metal
- obj10.Size = Vector3.new(0.0500000007, 0.280000001, 0.289999962)
- obj10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj10.Anchored = true
- obj10.BrickColor = BrickColor.new("Lily white")
- obj10.Friction = 0.30000001192093
- obj10.Shape = Enum.PartType.Block
- obj10.Name = "big ass knife"
- obj10.Parent = obj1
- local knife = obj10
- -- 11 - Mesh
- local obj11 = Instance.new("BlockMesh")
- obj11.Scale = Vector3.new(0.5, 1, 1)
- obj11.Parent = obj10
- -- 12 - big ass knife
- local obj12 = Instance.new("Part")
- obj12.CFrame = CFrame.new(Vector3.new(19.1075306, 6.08502865, -134.401321)) * CFrame.Angles(0, 1.5707963705063, 0)
- obj12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj12.Material = Enum.Material.Metal
- obj12.Size = Vector3.new(0.0500000007, 0.159999996, 0.979999959)
- obj12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj12.Anchored = true
- obj12.BrickColor = BrickColor.new("Lily white")
- obj12.Friction = 0.30000001192093
- obj12.Shape = Enum.PartType.Block
- obj12.Name = "big ass knife"
- obj12.Parent = obj1
- -- 13 - Mesh
- local obj13 = Instance.new("BlockMesh")
- obj13.Scale = Vector3.new(0.5, 1, 1)
- obj13.Parent = obj12
- -- 14 - serration
- local obj14 = Instance.new("WedgePart")
- obj14.CFrame = CFrame.new(Vector3.new(19.4963322, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063)
- obj14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj14.Material = Enum.Material.Metal
- obj14.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003)
- obj14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj14.Anchored = true
- obj14.BrickColor = BrickColor.new("Lily white")
- obj14.Friction = 0.30000001192093
- obj14.Name = "serration"
- obj14.Parent = obj1
- -- 15 - Mesh
- local obj15 = Instance.new("BlockMesh")
- obj15.Scale = Vector3.new(0.5, 1, 1)
- obj15.Parent = obj14
- -- 16 - serration
- local obj16 = Instance.new("WedgePart")
- obj16.CFrame = CFrame.new(Vector3.new(19.2763138, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063)
- obj16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj16.Material = Enum.Material.Metal
- obj16.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003)
- obj16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj16.Anchored = true
- obj16.BrickColor = BrickColor.new("Lily white")
- obj16.Friction = 0.30000001192093
- obj16.Name = "serration"
- obj16.Parent = obj1
- -- 17 - Mesh
- local obj17 = Instance.new("BlockMesh")
- obj17.Scale = Vector3.new(0.5, 1, 1)
- obj17.Parent = obj16
- -- 18 - serration
- local obj18 = Instance.new("WedgePart")
- obj18.CFrame = CFrame.new(Vector3.new(19.3863068, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063)
- obj18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj18.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj18.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj18.Material = Enum.Material.Metal
- obj18.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003)
- obj18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj18.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj18.Anchored = true
- obj18.BrickColor = BrickColor.new("Lily white")
- obj18.Friction = 0.30000001192093
- obj18.Name = "serration"
- obj18.Parent = obj1
- -- 19 - Mesh
- local obj19 = Instance.new("BlockMesh")
- obj19.Scale = Vector3.new(0.5, 1, 1)
- obj19.Parent = obj18
- -- 20 - serration
- local obj20 = Instance.new("WedgePart")
- obj20.CFrame = CFrame.new(Vector3.new(19.5963173, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063)
- obj20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj20.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj20.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj20.Material = Enum.Material.Metal
- obj20.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003)
- obj20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj20.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj20.Anchored = true
- obj20.BrickColor = BrickColor.new("Lily white")
- obj20.Friction = 0.30000001192093
- obj20.Name = "serration"
- obj20.Parent = obj1
- -- 21 - Mesh
- local obj21 = Instance.new("BlockMesh")
- obj21.Scale = Vector3.new(0.5, 1, 1)
- obj21.Parent = obj20
- -- 22 - serration
- local obj22 = Instance.new("WedgePart")
- obj22.CFrame = CFrame.new(Vector3.new(19.1663074, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063)
- obj22.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj22.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj22.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj22.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj22.Material = Enum.Material.Metal
- obj22.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003)
- obj22.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj22.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj22.Anchored = true
- obj22.BrickColor = BrickColor.new("Lily white")
- obj22.Friction = 0.30000001192093
- obj22.Name = "serration"
- obj22.Parent = obj1
- -- 23 - Mesh
- local obj23 = Instance.new("BlockMesh")
- obj23.Scale = Vector3.new(0.5, 1, 1)
- obj23.Parent = obj22
- -- 24 - serration
- local obj24 = Instance.new("WedgePart")
- obj24.CFrame = CFrame.new(Vector3.new(18.9663048, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063)
- obj24.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj24.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj24.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj24.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj24.Material = Enum.Material.Metal
- obj24.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003)
- obj24.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj24.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj24.Anchored = true
- obj24.BrickColor = BrickColor.new("Lily white")
- obj24.Friction = 0.30000001192093
- obj24.Name = "serration"
- obj24.Parent = obj1
- -- 25 - Mesh
- local obj25 = Instance.new("BlockMesh")
- obj25.Scale = Vector3.new(0.5, 1, 1)
- obj25.Parent = obj24
- -- 26 - serration
- local obj26 = Instance.new("WedgePart")
- obj26.CFrame = CFrame.new(Vector3.new(18.8562984, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063)
- obj26.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj26.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj26.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj26.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj26.Material = Enum.Material.Metal
- obj26.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003)
- obj26.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj26.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj26.Anchored = true
- obj26.BrickColor = BrickColor.new("Lily white")
- obj26.Friction = 0.30000001192093
- obj26.Name = "serration"
- obj26.Parent = obj1
- -- 27 - Mesh
- local obj27 = Instance.new("BlockMesh")
- obj27.Scale = Vector3.new(0.5, 1, 1)
- obj27.Parent = obj26
- -- 28 - serration
- local obj28 = Instance.new("WedgePart")
- obj28.CFrame = CFrame.new(Vector3.new(19.0663071, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063)
- obj28.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj28.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj28.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj28.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj28.Material = Enum.Material.Metal
- obj28.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003)
- obj28.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj28.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj28.Anchored = true
- obj28.BrickColor = BrickColor.new("Lily white")
- obj28.Friction = 0.30000001192093
- obj28.Name = "serration"
- obj28.Parent = obj1
- -- 29 - Mesh
- local obj29 = Instance.new("BlockMesh")
- obj29.Scale = Vector3.new(0.5, 1, 1)
- obj29.Parent = obj28
- -- 30 - knifetip1
- local obj30 = Instance.new("WedgePart")
- obj30.CFrame = CFrame.new(Vector3.new(18.0163059, 6.14381599, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063)
- obj30.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj30.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj30.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj30.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj30.Material = Enum.Material.Metal
- obj30.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003)
- obj30.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj30.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj30.Anchored = true
- obj30.BrickColor = BrickColor.new("Lily white")
- obj30.Friction = 0.30000001192093
- obj30.Name = "knifetip1"
- obj30.Parent = obj1
- -- 31 - Mesh
- local obj31 = Instance.new("BlockMesh")
- obj31.Scale = Vector3.new(0.5, 1, 1)
- obj31.Parent = obj30
- -- 32 - redstuff
- local obj32 = Instance.new("Part")
- obj32.CFrame = CFrame.new(Vector3.new(19.9470005, 5.9749999, -134.399994)) * CFrame.Angles(-0, 0, -0)
- obj32.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj32.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj32.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj32.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj32.Material = Enum.Material.SmoothPlastic
- obj32.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj32.Size = Vector3.new(0.0500000007, 0.360000014, 0.360000014)
- obj32.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj32.BrickColor = BrickColor.new("Institutional white")
- obj32.Friction = 0.30000001192093
- obj32.Shape = Enum.PartType.Cylinder
- obj32.Name = "redstuff"
- obj32.Anchored = true
- obj32.Parent = obj1
- -- 33 - redstuff
- local obj33 = Instance.new("Part")
- obj33.CFrame = CFrame.new(Vector3.new(18.9800053, 6.1400156, -134.404984)) * CFrame.Angles(-0, 0, -0)
- obj33.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj33.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj33.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj33.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj33.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj33.Material = Enum.Material.SmoothPlastic
- obj33.Size = Vector3.new(1.81999993, 0.100000001, 0.0500000007)
- obj33.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj33.BrickColor = BrickColor.new("Institutional white")
- obj33.Friction = 0.30000001192093
- obj33.Shape = Enum.PartType.Block
- obj33.Name = "redstuff"
- obj33.Anchored = true
- obj33.Parent = obj1
- -- 34 - redstuff
- local obj34 = Instance.new("Part")
- obj34.CFrame = CFrame.new(Vector3.new(19.9470005, 6.32499981, -134.399994)) * CFrame.Angles(-0, 0, -0)
- obj34.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj34.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj34.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj34.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj34.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj34.Size = Vector3.new(0.0500000007, 0.360000014, 0.360000014)
- obj34.Material = Enum.Material.SmoothPlastic
- obj34.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj34.BrickColor = BrickColor.new("Institutional white")
- obj34.Friction = 0.30000001192093
- obj34.Shape = Enum.PartType.Cylinder
- obj34.Name = "redstuff"
- obj34.Anchored = true
- obj34.Parent = obj1
- -- 35 - redstuff
- local obj35 = Instance.new("Part")
- obj35.CFrame = CFrame.new(Vector3.new(19.8830166, 6.14501476, -134.399963)) * CFrame.Angles(-0, 0, -0)
- obj35.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj35.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj35.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj35.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj35.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj35.Size = Vector3.new(0.0500000007, 0.319999993, 0.319999993)
- obj35.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj35.BrickColor = BrickColor.new("Institutional white")
- obj35.Friction = 0.30000001192093
- obj35.Shape = Enum.PartType.Cylinder
- obj35.Material = Enum.Material.SmoothPlastic
- obj35.Name = "redstuff"
- obj35.Anchored = true
- obj35.Parent = obj1
- -- 36 - redstuff
- local obj36 = Instance.new("Part")
- obj36.CFrame = CFrame.new(Vector3.new(20.9430103, 6.14501476, -134.399963)) * CFrame.Angles(-0, 0, -0)
- obj36.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj36.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj36.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj36.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj36.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj36.Material = Enum.Material.SmoothPlastic
- obj36.Size = Vector3.new(0.0500000007, 0.25999999, 0.25999999)
- obj36.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj36.BrickColor = BrickColor.new("Institutional white")
- obj36.Friction = 0.30000001192093
- obj36.Shape = Enum.PartType.Cylinder
- obj36.Name = "redstuff"
- obj36.Anchored = true
- obj36.Parent = obj1
- -- 37 - redstuff
- local obj37 = Instance.new("WedgePart")
- obj37.CFrame = CFrame.new(Vector3.new(18.066288, 6.14381599, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063)
- obj37.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj37.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj37.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj37.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj37.Material = Enum.Material.SmoothPlastic
- obj37.Size = Vector3.new(0.0500000007, 0.0700000003, 0.0700000003)
- obj37.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj37.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj37.Anchored = true
- obj37.BrickColor = BrickColor.new("Institutional white")
- obj37.Friction = 0.30000001192093
- obj37.Name = "redstuff"
- obj37.Anchored = true
- obj37.Parent = obj1
- -- 38 - redstuff
- local obj38 = Instance.new("Part")
- obj38.CFrame = CFrame.new(Vector3.new(20.1230125, 6.14501476, -134.399979)) * CFrame.Angles(-0, 0, -0)
- obj38.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj38.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj38.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj38.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj38.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj38.Material = Enum.Material.SmoothPlastic
- obj38.Size = Vector3.new(0.0500000007, 0.25999999, 0.25999999)
- obj38.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj38.BrickColor = BrickColor.new("Institutional white")
- obj38.Friction = 0.30000001192093
- obj38.Shape = Enum.PartType.Cylinder
- obj38.Name = "redstuff"
- obj38.Anchored = true
- obj38.Parent = obj1
- local function recurse(objnum)
- table.insert(knifeparts,{objnum,objnum.Parent})
- for i,v in pairs(objnum:GetChildren()) do
- recurse(v)
- end
- end
- recurse(obj1)
- local audio = Instance.new('Sound',knife)
- audio.Volume = 2
- local audio2 = Instance.new('Sound',knife)
- audio2.Volume = 2
- local holdpart = Instance.new("Part")
- holdpart.Parent = me
- holdpart.Size = Vector3.new(0.4, 0.4, 0.2)
- holdpart.Position = me.Head.Position + Vector3.new(0, 1, 0)
- holdpart.BrickColor = BrickColor.new("Burnt Sienna")
- local previous = nil
- for i,v in pairs(obj1:GetChildren()) do
- if v:IsA('BasePart') then
- if previous then
- local weld = Instance.new('Weld',v)
- weld.Part0 = v
- weld.Part1 = previous
- weld.C0 = v.CFrame:inverse() * previous.CFrame
- previous.Anchored = false
- previous.CanCollide = false
- local vee = v
- weld.AncestryChanged:connect(function(mez,par)
- wait()
- weld.Parent = vee
- end)
- end
- previous = v
- end
- end
- previous.Anchored = false
- previous.CanCollide = false
- local holdpartweld = Instance.new("Weld", me.Torso)
- holdpartweld.Part0 = me.Torso
- holdpartweld.Part1 = holdpart
- holdpartweld.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-1, -0.8, 0.15)
- holdpartweld.AncestryChanged:connect(function(mez,par)
- if par ~= me.Torso then
- wait()
- holdpartweld.Parent = me.Torso
- end
- end)
- local knifeweld = Instance.new('Weld',me.Torso)
- knifeweld.Part0 = me.Torso
- knifeweld.Part1 = obj2
- knifeweld.C1 = CFrame.Angles(0,math.rad(90),0) * CFrame.new(1, 0.8, 0.55)
- knifeweld.AncestryChanged:connect(function(mez,par)
- if par ~= me.Torso then
- wait()
- knifeweld.Parent = me.Torso
- end
- end)
- local ScreenGui = Instance.new("ScreenGui")
- local CustomizeGui = Instance.new("Frame")
- local Customize = Instance.new("TextLabel")
- local ClosestColor = Instance.new("TextLabel")
- local Line = Instance.new("TextLabel")
- local Color = Instance.new("ImageLabel")
- local Close = Instance.new("TextButton")
- local RedHue = Instance.new("TextLabel")
- local GreenHue = Instance.new("TextLabel")
- local RedInput = Instance.new("TextBox")
- local BlueHue = Instance.new("TextLabel")
- local GreenInput = Instance.new("TextBox")
- local TransInput = Instance.new("TextBox")
- local BlueInput = Instance.new("TextBox")
- local Message = Instance.new("TextLabel")
- local Message2 = Instance.new("TextLabel")
- local TrailTransparency = Instance.new("TextLabel")
- local TrailInput = Instance.new("TextBox")
- local MusicOption = Instance.new("TextButton")
- local ScreenOption = Instance.new("TextButton")
- local ScreenOptionTxt = Instance.new("TextLabel")
- local MusicOptionTxt = Instance.new("TextLabel")
- -- Properties
- ScreenGui.Parent = playergui
- CustomizeGui.Name = "CustomizeGui"
- CustomizeGui.Parent = ScreenGui
- CustomizeGui.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
- CustomizeGui.BackgroundTransparency = 0.5
- CustomizeGui.BorderColor3 = Color3.new(0, 0, 0)
- CustomizeGui.BorderSizePixel = 2
- CustomizeGui.Position = UDim2.new(0, 0, 0.5, 0)
- CustomizeGui.Size = UDim2.new(0.449999988, 0, 0.449999988, 0)
- Customize.Name = "Customize"
- Customize.Parent = CustomizeGui
- Customize.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
- Customize.BackgroundTransparency = 0.75
- Customize.BorderSizePixel = 0
- Customize.Size = UDim2.new(1, 0, 0.200000003, 0)
- Customize.FontSize = Enum.FontSize.Size28
- Customize.Text = "ACCENT COLOR CUSTOMIZATION"
- Customize.TextColor3 = Color3.new(1, 1, 1)
- Customize.TextScaled = true
- Customize.TextSize = 25
- Customize.TextStrokeTransparency = 0.5
- Customize.TextWrapped = true
- ClosestColor.Name = "ClosestColor"
- ClosestColor.Parent = CustomizeGui
- ClosestColor.BackgroundColor3 = Color3.new(1, 1, 1)
- ClosestColor.BackgroundTransparency = 1
- ClosestColor.Position = UDim2.new(0, 0, 0.850000024, 0)
- ClosestColor.Size = UDim2.new(1, 0, 0.150000006, 0)
- ClosestColor.Font = Enum.Font.SourceSansLight
- ClosestColor.FontSize = Enum.FontSize.Size32
- ClosestColor.Text = "Your color is closest to Institutional White"
- ClosestColor.TextColor3 = Color3.new(1, 1, 1)
- ClosestColor.TextSize = 30
- ClosestColor.TextStrokeTransparency = 0.5
- Line.Name = "Line"
- Line.Parent = CustomizeGui
- Line.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
- Line.BackgroundTransparency = 0.5
- Line.BorderColor3 = Color3.new(0, 0, 0)
- Line.BorderSizePixel = 0
- Line.Position = UDim2.new(0, 0, 0.200000003, 0)
- Line.Size = UDim2.new(1, 0, 0.0299999993, 0)
- Line.Font = Enum.Font.SourceSans
- Line.FontSize = Enum.FontSize.Size14
- Line.Text = " "
- Line.TextSize = 14
- Color.Name = "Color"
- Color.Parent = CustomizeGui
- Color.BackgroundColor3 = Color3.new(1, 1, 1)
- Color.BorderSizePixel = 0
- Color.Position = UDim2.new(0.699999988, 0, 0.419999987, 0)
- Color.Size = UDim2.new(0.300000012, 0, 0.300000012, 0)
- Color.SizeConstraint = Enum.SizeConstraint.RelativeYY
- MusicOption.Parent = CustomizeGui
- MusicOption.Name = "MusicOption"
- MusicOption.BackgroundColor3 = Color3.new(0, 1, 0)
- MusicOption.BorderSizePixel = 1
- MusicOption.Position = UDim2.new(0.01, 0, -0.12, 0)
- MusicOption.Size = UDim2.new(0.05, 0, 0.1, 0)
- MusicOption.Text = ""
- MusicOption.BackgroundTransparency = 0.5
- ScreenOption.Parent = CustomizeGui
- ScreenOption.Name = "ScreenOption"
- ScreenOption.BackgroundColor3 = Color3.new(0, 1, 0)
- ScreenOption.BorderSizePixel = 1
- ScreenOption.Position = UDim2.new(0.01, 0, -0.23, 0)
- ScreenOption.Size = UDim2.new(0.05, 0, 0.1, 0)
- ScreenOption.Text = ""
- ScreenOption.BackgroundTransparency = 0.5
- ScreenOptionTxt.Name = "ScreenOptionTxt"
- ScreenOptionTxt.Parent = CustomizeGui
- ScreenOptionTxt.BackgroundColor3 = Color3.new(1, 1, 1)
- ScreenOptionTxt.BackgroundTransparency = 1
- ScreenOptionTxt.Position = UDim2.new(0.07, 0, -0.23, 0)
- ScreenOptionTxt.Size = UDim2.new(1, 0, 0.07, 0)
- ScreenOptionTxt.Font = Enum.Font.SourceSans
- ScreenOptionTxt.FontSize = Enum.FontSize.Size24
- ScreenOptionTxt.Text = "Psychopath Red Filter"
- ScreenOptionTxt.TextColor3 = Color3.new(1, 1, 1)
- ScreenOptionTxt.TextScaled = true
- ScreenOptionTxt.TextSize = 20
- ScreenOptionTxt.TextStrokeColor3 = Color3.new(0, 0, 0)
- ScreenOptionTxt.TextStrokeTransparency = 0.5
- ScreenOptionTxt.TextWrapped = true
- ScreenOptionTxt.TextXAlignment = "Left"
- MusicOptionTxt.Name = "MusicOptionTxt"
- MusicOptionTxt.Parent = CustomizeGui
- MusicOptionTxt.BackgroundColor3 = Color3.new(1, 1, 1)
- MusicOptionTxt.BackgroundTransparency = 1
- MusicOptionTxt.Position = UDim2.new(0.07, 0, -0.12, 0)
- MusicOptionTxt.Size = UDim2.new(1, 0, 0.07, 0)
- MusicOptionTxt.Font = Enum.Font.SourceSans
- MusicOptionTxt.FontSize = Enum.FontSize.Size24
- MusicOptionTxt.Text = "Psychopath Background Music"
- MusicOptionTxt.TextColor3 = Color3.new(1, 1, 1)
- MusicOptionTxt.TextScaled = true
- MusicOptionTxt.TextSize = 20
- MusicOptionTxt.TextStrokeColor3 = Color3.new(0, 0, 0)
- MusicOptionTxt.TextStrokeTransparency = 0.5
- MusicOptionTxt.TextWrapped = true
- MusicOptionTxt.TextXAlignment = "Left"
- Close.Name = "Close"
- Close.Parent = CustomizeGui
- Close.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
- Close.BackgroundTransparency = 0.5
- Close.BorderColor3 = Color3.new(0, 0, 0)
- Close.BorderSizePixel = 2
- Close.Position = UDim2.new(1.005, 0, 0, 0)
- Close.Size = UDim2.new(0.100000001, 0, 0.2, 0)
- Close.Font = Enum.Font.SourceSans
- Close.FontSize = Enum.FontSize.Size14
- Close.Text = "X"
- Close.TextColor3 = Color3.new(1, 1, 1)
- Close.TextScaled = true
- Close.TextSize = 14
- Close.TextStrokeTransparency = 0
- Close.TextWrapped = true
- RedHue.Name = "RedHue"
- RedHue.Parent = CustomizeGui
- RedHue.BackgroundColor3 = Color3.new(1, 1, 1)
- RedHue.BackgroundTransparency = 1
- RedHue.Position = UDim2.new(0.100000001, 0, 0.400000006, 0)
- RedHue.Size = UDim2.new(0.300000012, 0, 0.100000001, 0)
- RedHue.Font = Enum.Font.SourceSans
- RedHue.FontSize = Enum.FontSize.Size24
- RedHue.Text = "RED Hue Value: "
- RedHue.TextColor3 = Color3.new(1, 1, 1)
- RedHue.TextScaled = true
- RedHue.TextSize = 20
- RedHue.TextStrokeColor3 = Color3.new(1, 0, 0)
- RedHue.TextStrokeTransparency = 0.75
- RedHue.TextWrapped = true
- GreenHue.Name = "GreenHue"
- GreenHue.Parent = CustomizeGui
- GreenHue.BackgroundColor3 = Color3.new(1, 1, 1)
- GreenHue.BackgroundTransparency = 1
- GreenHue.Position = UDim2.new(0.100000001, 0, 0.5, 0)
- GreenHue.Size = UDim2.new(0.300000012, 0, 0.100000001, 0)
- GreenHue.Font = Enum.Font.SourceSans
- GreenHue.FontSize = Enum.FontSize.Size24
- GreenHue.Text = "GREEN Hue Value:"
- GreenHue.TextColor3 = Color3.new(1, 1, 1)
- GreenHue.TextScaled = true
- GreenHue.TextSize = 20
- GreenHue.TextStrokeColor3 = Color3.new(0, 1, 0)
- GreenHue.TextStrokeTransparency = 0.75
- GreenHue.TextWrapped = true
- RedInput.Name = "RedInput"
- RedInput.Parent = CustomizeGui
- RedInput.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
- RedInput.BackgroundTransparency = 0.5
- RedInput.BorderSizePixel = 0
- RedInput.Position = UDim2.new(0.419999987, 0, 0.425000007, 0)
- RedInput.Size = UDim2.new(0.200000003, 0, 0.075000003, 0)
- RedInput.Font = Enum.Font.SourceSans
- RedInput.FontSize = Enum.FontSize.Size14
- RedInput.Text = "255"
- RedInput.TextColor3 = Color3.new(1, 1, 1)
- RedInput.TextSize = 14
- RedInput.TextStrokeTransparency = 0
- BlueHue.Name = "BlueHue"
- BlueHue.Parent = CustomizeGui
- BlueHue.BackgroundColor3 = Color3.new(1, 1, 1)
- BlueHue.BackgroundTransparency = 1
- BlueHue.Position = UDim2.new(0.100000001, 0, 0.600000024, 0)
- BlueHue.Size = UDim2.new(0.300000012, 0, 0.100000001, 0)
- BlueHue.Font = Enum.Font.SourceSans
- BlueHue.FontSize = Enum.FontSize.Size24
- BlueHue.Text = "BLUE Hue Value:"
- BlueHue.TextColor3 = Color3.new(1, 1, 1)
- BlueHue.TextScaled = true
- BlueHue.TextSize = 20
- BlueHue.TextStrokeColor3 = Color3.new(0, 0, 1)
- BlueHue.TextStrokeTransparency = 0.75
- BlueHue.TextWrapped = true
- TrailTransparency.Name = "TrailTransparency"
- TrailTransparency.Parent = CustomizeGui
- TrailTransparency.BackgroundColor3 = Color3.new(1, 1, 1)
- TrailTransparency.BackgroundTransparency = 1
- TrailTransparency.Position = UDim2.new(0.090000001, 0, 0.700000024, 0)
- TrailTransparency.Size = UDim2.new(0.310000012, 0, 0.100000001, 0)
- TrailTransparency.Font = Enum.Font.SourceSans
- TrailTransparency.FontSize = Enum.FontSize.Size24
- TrailTransparency.Text = "Trail Transparency:"
- TrailTransparency.TextColor3 = Color3.new(1, 1, 1)
- TrailTransparency.TextScaled = true
- TrailTransparency.TextSize = 20
- TrailTransparency.TextStrokeColor3 = Color3.new(0, 0, 0)
- TrailTransparency.TextWrapped = true
- GreenInput.Name = "GreenInput"
- GreenInput.Parent = CustomizeGui
- GreenInput.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
- GreenInput.BackgroundTransparency = 0.5
- GreenInput.BorderSizePixel = 0
- GreenInput.Position = UDim2.new(0.419999987, 0, 0.524999976, 0)
- GreenInput.Size = UDim2.new(0.200000003, 0, 0.075000003, 0)
- GreenInput.Font = Enum.Font.SourceSans
- GreenInput.FontSize = Enum.FontSize.Size14
- GreenInput.Text = "255"
- GreenInput.TextColor3 = Color3.new(1, 1, 1)
- GreenInput.TextSize = 14
- GreenInput.TextStrokeTransparency = 0
- TransInput.Name = "TransInput"
- TransInput.Parent = CustomizeGui
- TransInput.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
- TransInput.BackgroundTransparency = 0.5
- TransInput.BorderSizePixel = 0
- TransInput.Position = UDim2.new(0.419999987, 0, 0.725000024, 0)
- TransInput.Size = UDim2.new(0.200000003, 0, 0.075000003, 0)
- TransInput.Font = Enum.Font.SourceSans
- TransInput.FontSize = Enum.FontSize.Size14
- TransInput.Text = "50"
- TransInput.TextColor3 = Color3.new(1, 1, 1)
- TransInput.TextSize = 14
- TransInput.TextStrokeTransparency = 0
- BlueInput.Name = "BlueInput"
- BlueInput.Parent = CustomizeGui
- BlueInput.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
- BlueInput.BackgroundTransparency = 0.5
- BlueInput.BorderSizePixel = 0
- BlueInput.Position = UDim2.new(0.419999987, 0, 0.625, 0)
- BlueInput.Size = UDim2.new(0.200000003, 0, 0.075000003, 0)
- BlueInput.Font = Enum.Font.SourceSans
- BlueInput.FontSize = Enum.FontSize.Size14
- BlueInput.Text = "255"
- BlueInput.TextColor3 = Color3.new(1, 1, 1)
- BlueInput.TextSize = 14
- BlueInput.TextStrokeTransparency = 0
- Message.Name = "Message"
- Message.Parent = CustomizeGui
- Message.BackgroundColor3 = Color3.new(1, 1, 1)
- Message.BackgroundTransparency = 1
- Message.Position = UDim2.new(0, 0, 0.2500004, 0)
- Message.Size = UDim2.new(1, 0, 0.100000006, 0)
- Message.Font = Enum.Font.SourceSans
- Message.FontSize = Enum.FontSize.Size18
- Message.Text = "|| Inputs must be values ||"
- Message.TextColor3 = Color3.new(1, 1, 1)
- Message.TextScaled = true
- Message.TextSize = 15
- Message.TextStrokeTransparency = 0.75
- Message.TextWrapped = true
- local attun = Instance.new("Attachment", knife)
- attun.Position = Vector3.new(0, 0.1, -1.75)
- local atdos = Instance.new("Attachment", knife)
- atdos.Position = Vector3.new(0, -0.1, 0.5)
- local trail = Instance.new("Trail", knife)
- trail.LightEmission = 0.5
- trail.Attachment0 = attun
- trail.Attachment1 = atdos
- trail.Lifetime = 0.175
- trail.MinLength = 0
- trail.Enabled = false
- function updatez()
- local rc = tonumber(RedInput.Text)
- local gc = tonumber(GreenInput.Text)
- local bc = tonumber(BlueInput.Text)
- local tcupd = tonumber(TransInput.Text)
- if rc == nil then
- rc = 0
- end
- if gc == nil then
- gc = 0
- end
- if bc == nil then
- bc = 0
- end
- if tcupd == nil then
- tcupd = 0
- end
- local tc = tcupd/100
- Color.BackgroundColor3 = Color3.fromRGB(rc,gc,bc)
- ClosestColor.Text = "Your color is closest to "..tostring(BrickColor.new(Color3.fromRGB(rc,gc,bc)))
- obj32.Color = Color3.fromRGB(rc,gc,bc)
- obj33.Color = Color3.fromRGB(rc,gc,bc)
- obj34.Color = Color3.fromRGB(rc,gc,bc)
- obj35.Color = Color3.fromRGB(rc,gc,bc)
- obj36.Color = Color3.fromRGB(rc,gc,bc)
- obj37.Color = Color3.fromRGB(rc,gc,bc)
- obj38.Color = Color3.fromRGB(rc,gc,bc)
- trail.Color = ColorSequence.new(Color3.fromRGB(rc, gc, bc))
- trail.Transparency = NumberSequence.new(tc)
- TrailTransparency.TextStrokeTransparency = tc
- end
- RedInput.Changed:connect(function(val)
- if val == "Text" and tonumber(RedInput.Text) then
- RedInput.Text = tostring(tonumber(RedInput.Text))
- if tonumber(RedInput.Text) > 255 then
- RedInput.Text = '255'
- end
- elseif val == "Text" then
- RedInput.Text = ""
- end
- updatez()
- end)
- GreenInput.Changed:connect(function(val)
- if val == "Text" and tonumber(GreenInput.Text) then
- GreenInput.Text = tostring(tonumber(GreenInput.Text))
- if tonumber(GreenInput.Text) > 255 then
- GreenInput.Text = '255'
- end
- elseif val == "Text" then
- GreenInput.Text = ""
- end
- updatez()
- end)
- BlueInput.Changed:connect(function(val)
- if val == "Text" and tonumber(BlueInput.Text) then
- BlueInput.Text = tostring(tonumber(BlueInput.Text))
- if tonumber(BlueInput.Text) > 255 then
- BlueInput.Text = '255'
- end
- elseif val == "Text" then
- BlueInput.Text = ""
- end
- updatez()
- end)
- TransInput.Changed:connect(function(val)
- if val == "Text" and tonumber(TransInput.Text) then
- TransInput.Text = tostring(tonumber(TransInput.Text))
- if tonumber(TransInput.Text) > 100 then
- TransInput.Text = '100'
- end
- elseif val == "Text" then
- TransInput.Text = ""
- end
- updatez()
- end)
- Close.MouseButton1Click:connect(function()
- if lerpz == false then
- lerpz = true
- if Close.Text ~= "+" then
- CustomizeGui:TweenPosition(UDim2.new(-0.45,0,0.5,0,Enum.EasingDirection.Out,Enum.EasingStyle.Quint,2))
- for i=1,10 do
- Close.TextTransparency = i/10
- Close.TextStrokeTransparency = i/10
- wait(0.01)
- end
- Close.Text = "+"
- for i=1,10 do
- Close.TextTransparency = (10-i+1)/10
- Close.TextStrokeTransparency = (10-i+1)/10
- wait(0.01)
- end
- lerpz = false
- else
- CustomizeGui:TweenPosition(UDim2.new(0,0,0.5,0,Enum.EasingDirection.Out,Enum.EasingStyle.Quint,2))
- for i=1,10 do
- Close.TextTransparency = i/10
- Close.TextStrokeTransparency = i/10
- wait(0.01)
- end
- Close.Text = "X"
- for i=1,10 do
- Close.TextTransparency = (10-i+1)/10
- Close.TextStrokeTransparency = (10-i+1)/10
- wait(0.01)
- end
- lerpz = false
- end
- end
- end)
- MusicOption.MouseButton1Click:connect(function()
- if canbackgroundmusic == true then
- canbackgroundmusic = false
- MusicOption.BackgroundColor3 = Color3.new(1, 0, 0)
- else
- canbackgroundmusic = true
- MusicOption.BackgroundColor3 = Color3.new(0, 1, 0)
- end
- end)
- ScreenOption.MouseButton1Click:connect(function()
- if cancolorfilter == true then
- cancolorfilter = false
- ScreenOption.BackgroundColor3 = Color3.new(1, 0, 0)
- else
- cancolorfilter = true
- ScreenOption.BackgroundColor3 = Color3.new(0, 1, 0)
- end
- end)
- function equip()
- local doit = coroutine.wrap(function()
- if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') then
- acting = true
- local arm = me["Right Arm"]
- local arm2 = me["Left Arm"]
- local tors = me.Torso
- local weld = Instance.new('Weld',arm)
- weld.Part0 = arm
- weld.Part1 = tors
- weld.C0 = CFrame.new(-1.5,0,0)
- local weld2 = Instance.new("Weld", arm2)
- weld2.Part0 = arm2
- weld2.Part1 = tors
- weld2.C0 = CFrame.new(1.5, 0, 0)
- wait(0.001)
- for i = 0,1,0.1 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end
- weld.C0 = weld.C0:lerp(CFrame.new(-0.2,0.2,-0.5)*CFrame.Angles(0,-3.1,0.9),i)
- weld2.C0 = weld2.C0:lerp(CFrame.new(1.5, 0.6, 0) * CFrame.Angles(0,0,0.5),i)
- wait(0.001)
- end
- wait(0.15)
- trail.Enabled = true
- for i = 0,1,0.1 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end
- weld.C0 = weld.C0:lerp(CFrame.new(-0.5,2,0)*CFrame.Angles(0,0,-1.55),i)
- weld2.C0 = weld2.C0:lerp(CFrame.new(1.5, 0, 0), i)
- wait(0.001)
- end
- trail.Enabled = false
- wait(0.2)
- for i = 0,1,0.1 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end
- weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0,0),i)
- wait(0.001)
- end
- weld:Destroy()
- weld2:Remove()
- if tors ~= nil then
- rightshoulderz:Clone().Parent = me.Torso
- leftshoulderz:Clone().Parent = me.Torso
- end
- end
- acting = false
- end)
- doit()
- end
- function kysnigga()
- if kyssing == true then return end
- kyssing = true
- acting = true
- decearingTHING = math.random(1, 100)
- if decearingTHING == 4 then
- decearingEGG = Instance.new("Sound", me.Torso)
- decearingEGG.SoundId = "rbxassetid://138084557"
- decearingEGG.PlaybackSpeed = math.random(10, 12) / 10
- decearingEGG.TimePosition = 0.2
- decearingEGG:Play()
- end
- me.Humanoid.WalkSpeed = 0
- me.Humanoid.JumpPower = 0
- local rightarm = Instance.new("Weld", me.Torso)
- rightarm.Part0 = me.Torso
- rightarm.Part1 = me["Right Arm"]
- rightarm.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(1.5, 0, 0)
- local leftarm = Instance.new("Weld", me.Torso)
- leftarm.Part0 = me.Torso
- leftarm.Part1 = me["Left Arm"]
- leftarm.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-1.5, 0, 0)
- local tors = Instance.new("Weld", me.HumanoidRootPart)
- tors.Part0 = me.HumanoidRootPart
- tors.Part1 = me.Torso
- tors.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0)
- local rightleg = Instance.new("Weld", me.Torso)
- rightleg.Part0 = me.Torso
- rightleg.Part1 = me["Right Leg"]
- rightleg.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0.5, -2, 0)
- local leftleg = Instance.new("Weld", me.Torso)
- leftleg.Part0 = me.Torso
- leftleg.Part1 = me["Left Leg"]
- leftleg.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-0.5, -2, 0)
- for i = 0, 1, 0.03 do
- tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-10), 0, 0), i)
- leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-80), 0, 0), i)
- rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-80), 0, 0), i)
- rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), i)
- wait()
- end
- for i = 0, 1, 0.03 do
- tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(5), 0, 0), i)
- leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1, 0.15) * CFrame.Angles(math.rad(-95), 0, 0), i)
- rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1, 0.15) * CFrame.Angles(math.rad(-95), 0, 0), i)
- rightarm.C0 = rightarm.C0:lerp(CFrame.new(1, 0.3, -1.5) * CFrame.Angles(math.rad(90), 0, math.rad(-35)), i)
- leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1, 0.3, -1.5) * CFrame.Angles(math.rad(90), 0, math.rad(35)), i)
- knifeweld.C1 = knifeweld.C1:lerp(CFrame.new(1.35, 0, 1) * CFrame.Angles(1.55, math.rad(-180), 1), i)
- wait()
- end
- local bleedzer = Instance.new('Part',me.Torso)
- bleedzer.CFrame = me.Torso.CFrame
- bleedzer.Size = Vector3.new(0.1,0.1,0.1)
- bleedzer.Transparency = 1
- bleedzer.CanCollide = false
- local weld = Instance.new('Weld',bleedzer)
- weld.Part0 = bleedzer
- weld.Part1 = me.Torso
- weld.C0= CFrame.new(0,0,0)*CFrame.Angles(math.rad(-90),0,0)
- local woodpekker = coroutine.wrap(function()
- bleed(bleedzer)
- end)
- woodpekker()
- audio.SoundId = "rbxassetid://199977936"
- audio.PlaybackSpeed = 1.5
- audio:Play()
- audio2.SoundId = "rbxassetid://220834019"
- audio2.PlaybackSpeed = 1
- audio2.TimePosition = 0.1
- audio2:Play()
- for i = 0, 1, 0.1 do
- tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-20), 0, 0), i)
- leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1, -0.35) * CFrame.Angles(math.rad(-70), 0, 0), i)
- rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1, -0.35) * CFrame.Angles(math.rad(-70), 0, 0), i)
- rightarm.C0 = rightarm.C0:lerp(CFrame.new(1, 0, 0) * CFrame.Angles(math.rad(70), 0, math.rad(-35)), i)
- leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1, 0, 0) * CFrame.Angles(math.rad(70), 0, math.rad(35)), i)
- knifeweld.C1 = knifeweld.C1:lerp(CFrame.new(1.35, 0, 1) * CFrame.Angles(1.55, math.rad(-180), 1), i)
- wait()
- end
- wait(1)
- audio.SoundId = "rbxassetid://210943487"
- audio.TimePosition = 0.2
- audio.PlaybackSpeed = 0.75
- audio:Play()
- for i = 0, 1, 0.03 do
- tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-20), 0, 0), i)
- leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1, -0.35) * CFrame.Angles(math.rad(-70), 0, 0), i)
- rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1, -0.35) * CFrame.Angles(math.rad(-70), 0, 0), i)
- rightarm.C0 = rightarm.C0:lerp(CFrame.new(1, 0.3, -1.5) * CFrame.Angles(math.rad(70), 0, math.rad(-35)), i)
- leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1, 0.3, -1.5) * CFrame.Angles(math.rad(70), 0, math.rad(35)), i)
- knifeweld.C1 = knifeweld.C1:lerp(CFrame.new(1.35, 0, 1) * CFrame.Angles(1.55, math.rad(-180), 1), i)
- wait()
- end
- for i = 0, 1, 0.03 do
- rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0, -0.4) * CFrame.Angles(math.rad(30), 0, math.rad(0)), i)
- leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5, 0, -0.4) * CFrame.Angles(math.rad(30), 0, math.rad(0)), i)
- knifeweld.C1 = knifeweld.C1:lerp(CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0), i)
- wait()
- end
- wait(0.24)
- if me:FindFirstChildOfClass('Humanoid') then
- me:FindFirstChildOfClass('Humanoid').Health = 0
- end
- wait(0.01)
- killz(me,me.Torso.Name,nil,nil,true)
- tors:Remove()
- rightarm:Remove()
- rightleg:Remove()
- leftleg:Remove()
- leftarm:Remove()
- rightshoulderz:Clone().Parent = me.Torso
- leftshoulderz:Clone().Parent = me.Torso
- torsojoint:Clone().Parent = me.HumanoidRootPart
- lefthipz:Clone().Parent = me.Torso
- righthipz:Clone().Parent = me.Torso
- me.Humanoid.JumpPower = 50
- me.Humanoid.WalkSpeed = 16
- acting = false
- canClick = true
- doing = false
- hit = false
- kyssing = false
- if decearingTHING == 4 then
- decearingEGG:Remove()
- end
- end
- function bleedout()
- local doit = coroutine.wrap(function()
- local targe = grabbed
- local num = 0
- while targe and targe:FindFirstChildOfClass('Humanoid') and targe:FindFirstChildOfClass('Humanoid').Health > 0 and num < 11 do
- if targe.Head:FindFirstChild('Died') then
- tone = math.random(6, 12) / 10
- targe.Head.Died.PlaybackSpeed = tone
- targe.Head.Died:Play()
- else
- local deathsound = Instance.new('Sound',targe.Head)
- deathsound.Name = "Died"
- deathsound.SoundId = 'rbxasset://sounds/uuhhh.mp3'
- deathsound.Volume = 0.65
- deathsound.EmitterSize = 5
- deathsound.MaxDistance = 150
- tone = math.random(5, 15) / 10
- targe.Head.Died.PlaybackSpeed = tone
- targe.Head.Died:Play()
- end
- targe:FindFirstChildOfClass('Humanoid').Health = targe:FindFirstChildOfClass('Humanoid').Health - 7
- num = num+1
- wait(0.325)
- end
- targe:FindFirstChildOfClass('Humanoid').Health = 0
- wait()
- killz(targe,'Head',nil,nil,false,true)
- wait(2)
- targe:Remove()
- end)
- doit()
- end
- function liedown()
- local doit = coroutine.wrap(function()
- local targe = grabbed
- wait(2)
- if targe and targe:FindFirstChildOfClass('Humanoid') then
- targe:FindFirstChildOfClass('Humanoid').PlatformStand = false
- end
- end)
- doit()
- end
- function grab()
- local doit = coroutine.wrap(function()
- acting = true
- me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed + 3
- local arm = me["Right Arm"]
- local tors = me.Torso
- local arm2 = me["Left Arm"]
- local humanroot = me.HumanoidRootPart
- local weld2 = Instance.new('Weld',arm)
- weld2.Part0 = arm
- weld2.Part1 = tors
- weld2.C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(0, 0, 0)
- local weld3 = Instance.new('Weld',arm2)
- weld3.Part0 = arm2
- weld3.Part1 = tors
- weld3.C0 = CFrame.new(1.5,0,-0.3) * CFrame.Angles(0.3,0.1,0)
- for i = 0,1,0.05 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or humanroot == nil then return end
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.2,1.3,0.4)*CFrame.Angles(0.5,0,-1.2),i)
- weld3.C0 = weld3.C0:lerp(CFrame.new(1.2,1.3,0)*CFrame.Angles(0,0,1.2),i)
- knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), -1.55) * CFrame.new(0, 0.95, 0)
- wait(0.01)
- end
- grabbing = true
- trail.Enabled = true
- for i = 0,1,0.10 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or humanroot == nil then return end
- weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-1.5, 0, -1.3), i)
- weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1, -0.5)* CFrame.Angles(-1.5, 0, 1.1), i)
- wait(0.01)
- end
- trail.Enabled = false
- wait(0.5)
- grabbing = false
- me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed - 3
- if grabbed == nil then
- for i = 0,1,0.1 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil then return end
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i)
- weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0),i)
- knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0)
- wait(0.001)
- end
- weld2:Destroy()
- weld3:Destroy()
- rightshoulderz:Clone().Parent = me.Torso
- leftshoulderz:Clone().Parent = me.Torso
- acting = false
- canClick = true
- end
- end)
- doit()
- end
- function kill()
- paralyzed = false
- if grabbed.Torso:FindFirstChild("TargetWeld") == nil or grabbed:FindFirstChildOfClass('Humanoid').Health <= 0 then hardrelease() return end
- targetweld = grabbed.Torso.TargetWeld
- targetweld2 = nil
- local reee = grabbed:FindFirstChild("Left Arm")
- if reee and reee:FindFirstChild("Weld") then
- targetweld2 = reee.Weld
- end
- for i, v in pairs(grabbed:GetChildren()) do
- if v.Name == "Part" then
- v.CanCollide = true
- end
- end
- targetweld3pt = grabbed:FindFirstChild("Right Arm")
- local targetrightshoulder = rightshoulder
- local targetleftshoulder = leftshoulder
- local targetweld3 = Instance.new("Weld", targetweld3pt)
- targetweld3.Part0 = grabbed.Torso
- targetweld3.Part1 = targetweld3pt
- targetweld3.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(1.5, 0, 0)
- local doit = coroutine.wrap(function()
- local arm = me["Right Arm"]
- local tors = grabbed.Torso
- local arm2 = me["Left Arm"]
- if arm:FindFirstChildOfClass('Weld') == nil or arm2:FindFirstChildOfClass('Weld') == nil then return end
- doing = true
- local weld2 = arm:FindFirstChildOfClass('Weld')
- local weld3 = arm2:FindFirstChildOfClass('Weld')
- local humanroot = me.HumanoidRootPart
- for i = 0,1,0.1 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end
- weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-1.9, 0, -1.4), i)
- weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 0.5, -0.5)* CFrame.Angles(-1.5, 0.4, 1.1), i)
- wait(0.01)
- end
- audio:Stop()
- audio.SoundId = "rbxassetid://517040733"
- tone = math.random(1, 3)
- if tone == 1 then audio.PlaybackSpeed = 0.8 audio.TimePosition = 0.3 end
- if tone == 2 then audio.PlaybackSpeed = 1 audio.TimePosition = 0.1 end
- if tone == 3 then audio.PlaybackSpeed = 1.2 audio.TimePosition = 0.2 end
- audio:Play()
- local bleedpart = Instance.new("Part", grabbed)
- bleedpart.Size = Vector3.new(0.2, 0.2, 0.2)
- bleedpart.Color = Color3.new(115/225, 115/225, 115/225)
- bleedpart.CanCollide = false
- bleedpart.Position = grabbed.Head.Position + Vector3.new(0, 1, 0)
- bleedpart.Transparency = 1
- local bleedpartweld = Instance.new("Weld", grabbed.Torso)
- bleedpartweld.Part0 = grabbed.Torso
- bleedpartweld.Part1 = bleedpart
- bleedpartweld.C0 = CFrame.Angles(-1, 0, -0.35) * CFrame.new(0, 1, 0.8)
- local coru=coroutine.wrap(function()
- bleed(bleedpart)
- end)
- coru()
- local slightthrow = Instance.new("BodyThrust", grabbed.Torso)
- slightthrow.Force = Vector3.new(0, 0, -2500)
- local slightthrow2 = Instance.new("BodyAngularVelocity", grabbed.Torso)
- slightthrow2.AngularVelocity = Vector3.new(0, -1000, 0)
- slightthrow2.MaxTorque = Vector3.new(1000, 1000, 1000)
- if grabbed:FindFirstChildOfClass('Humanoid') then
- grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = true
- end
- killz(grabbed,'Left Leg')
- killz(grabbed,'Left Arm')
- killz(grabbed,'Right Leg')
- killz(grabbed,'Right Arm')
- trail.Enabled = true
- for i = 0,1,0.2 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end
- weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 1.7, -0.5)* CFrame.Angles(-0.25, 0, -1.4), i)
- weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1.6, -0.5)* CFrame.Angles(-1.5, -1, 1.1), i)
- wait(0.01)
- end
- trail.Enabled = false
- bleedout()
- rightshoulderz:Clone().Parent = me.Torso
- leftshoulderz:Clone().Parent = me.Torso
- grabbed = nil
- if humanroot:FindFirstChild('Holder') then
- humanroot.Holder:Destroy()
- end
- wait(0.2)
- slightthrow:Remove()
- slightthrow2:Remove()
- for i = 0,1,0.05 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5, 0, 0)* CFrame.Angles(0, 0, 0), i)
- weld3.C0 = weld3.C0:lerp(CFrame.new(1.5, 0, 0)* CFrame.Angles(0, 0, 0), i)
- knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0)
- wait(0.01)
- end
- weld2:Destroy()
- weld3:Destroy()
- targetweld = nil
- targetweld2 = nil
- targetweld3 = nil
- rightshoulderz:Clone().Parent = me.Torso
- leftshoulderz:Clone().Parent = me.Torso
- acting = false
- canClick = true
- doing = false
- end)
- doit()
- end
- function finish()
- if finishing == true then return end
- finishing = true
- acting = true
- decearingTHING = math.random(1, 100)
- if decearingTHING == 4 then
- decearingEGG = Instance.new("Sound", me.Torso)
- decearingEGG.SoundId = "rbxassetid://138084557"
- decearingEGG.PlaybackSpeed = math.random(10, 12) / 10
- decearingEGG.TimePosition = 0.2
- decearingEGG:Play()
- end
- me.Humanoid.WalkSpeed = 0
- me.Humanoid.JumpPower = 0
- local rightarm = Instance.new("Weld", me.Torso)
- rightarm.Part0 = me.Torso
- rightarm.Part1 = me["Right Arm"]
- rightarm.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(1.5, 0, 0)
- local tors = Instance.new("Weld", me.HumanoidRootPart)
- tors.Part0 = me.HumanoidRootPart
- tors.Part1 = me.Torso
- tors.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0)
- local rightleg = Instance.new("Weld", me.Torso)
- rightleg.Part0 = me.Torso
- rightleg.Part1 = me["Right Leg"]
- rightleg.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0.5, -2, 0)
- local leftleg = Instance.new("Weld", me.Torso)
- leftleg.Part0 = me.Torso
- leftleg.Part1 = me["Left Leg"]
- leftleg.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-0.5, -2, 0)
- for i = 0, 1, 0.05 do
- tors.C0 = tors.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), 0, 0), i)
- leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -2, 0.2) * CFrame.Angles(math.rad(-15), 0, 0), i)
- rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -2, 0.2) * CFrame.Angles(math.rad(-15), 0, 0), i)
- rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 1.9, 0) * CFrame.Angles(math.rad(179), math.rad(179), 0), i)
- wait()
- end
- for i=1,finishnum do
- local num1 = 0.5
- local num2 = 0.5
- local num3 = 0.25
- if finishnum ~= 1 then
- num3 = 0
- end
- trail.Enabled = true
- for i = 0, 1, num1 do
- tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-60), 0, 0), i)
- leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.5, 0) * CFrame.Angles(math.rad(0), 0, 0), i)
- rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -0.7, -1) * CFrame.Angles(math.rad(10), 0, 0), i)
- rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 1.9, -1) * CFrame.Angles(math.rad(160), math.rad(150), 0), i)
- wait()
- end
- wait()
- for i = 0, 1, num2 do
- tors.C0 = tors.C0:lerp(CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-20), 0, 0), i)
- leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.5, 0) * CFrame.Angles(math.rad(-30), 0, 0), i)
- rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -0.7, -1) * CFrame.Angles(math.rad(-20), 0, 0), i)
- rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 1.9, 0.2) * CFrame.Angles(math.rad(250), math.rad(180), 0), i)
- wait()
- end
- trail.Enabled = false
- wait(num3)
- end
- wait()
- for i = 0, 1, 0.05 do
- tors.C0 = tors.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), i)
- leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -2, 0) * CFrame.Angles(0, 0, 0), i)
- rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -2, 0) * CFrame.Angles(0, 0, 0), i)
- rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0, 0) * CFrame.Angles(0, 0, 0), i)
- wait()
- end
- tors:Remove()
- rightarm:Remove()
- rightleg:Remove()
- leftleg:Remove()
- rightshoulderz:Clone().Parent = me.Torso
- leftshoulderz:Clone().Parent = me.Torso
- torsojoint:Clone().Parent = me.HumanoidRootPart
- lefthipz:Clone().Parent = me.Torso
- righthipz:Clone().Parent = me.Torso
- me.Humanoid.JumpPower = 50
- me.Humanoid.WalkSpeed = 16
- acting = false
- canClick = true
- doing = false
- hit = false
- finishing = false
- if decearingTHING == 4 then
- decearingEGG:Remove()
- end
- end
- function throw()
- if grabbed.Torso:FindFirstChild("TargetWeld") == nil or grabbed:FindFirstChildOfClass('Humanoid').Health <= 0 then return end
- paralyzed = false
- targetweld = grabbed.Torso.TargetWeld
- local ree = grabbed:FindFirstChild("Left Arm")
- targetweld2 =nil
- if ree and ree:FindFirstChild("Weld") then
- targetweld2 = ree.Weld
- end
- for i, v in pairs(grabbed:GetChildren()) do
- if v.Name == "Part" then
- v.CanCollide = true
- end
- end
- local doit = coroutine.wrap(function()
- local arm = me["Right Arm"]
- local tors = grabbed.Torso
- local arm2 = me["Left Arm"]
- local targrightshoulder = rightshoulder
- local targleftshoulder = leftshoulder
- if arm:FindFirstChildOfClass('Weld') == nil or arm2:FindFirstChildOfClass('Weld') == nil then return end
- doing = true
- local weld2 = arm:FindFirstChildOfClass('Weld')
- local weld3 = arm2:FindFirstChildOfClass('Weld')
- local humanroot = me.HumanoidRootPart
- for i = 0,1,0.2 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end
- weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 1.7, -0.5)* CFrame.Angles(-0.25, 1, -1.4), i)
- weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1.6, -0.5)* CFrame.Angles(-1.5, -1, 1.1), i)
- targetweld.C0 = targetweld.C0:lerp(CFrame.new(0, 1.5, 0)*CFrame.Angles(0, 0, 0), i)
- if targetweld2 then
- targetweld2.C0 = targetweld2.C0:lerp(CFrame.new(-1.5, 0, 0)*CFrame.Angles(0, 0, 0), i)
- end
- wait(0.01)
- end
- audio:Stop()
- audio.SoundId = "rbxassetid://536642316"
- tone = math.random(1, 3)
- if tone == 1 then audio.PlaybackSpeed = 0.8 audio.TimePosition = 0.08 end
- if tone == 2 then audio.PlaybackSpeed = 1 audio.TimePosition = 0.1 end
- if tone == 3 then audio.PlaybackSpeed = 1.2 audio.TimePosition = 0.12 end
- audio:Play()
- local slightthrow = Instance.new("BodyVelocity", grabbed.Torso)
- slightthrow.Velocity = Vector3.new(0,20,0)+(me.Torso.CFrame.lookVector*20)
- slightthrow.P = 5000
- slightthrow.MaxForce = Vector3.new(9000001,9000001,9000001)
- local point = grabbed.Torso.Position
- local aaaaaa = grabbed
- liedown()
- rightshoulderz:Clone().Parent = me.Torso
- leftshoulderz:Clone().Parent = me.Torso
- grabbed = nil
- if humanroot:FindFirstChild('Holder') then
- humanroot.Holder:Destroy()
- end
- local coru = coroutine.wrap(function()
- while aaaaaa and aaaaaa:FindFirstChild('Torso') and (aaaaaa.Torso.Position-point).magnitude < 5 do wait(0.001) end
- if aaaaaa:FindFirstChildOfClass('Humanoid') then
- aaaaaa:FindFirstChildOfClass('Humanoid').Name = "Humanoid"
- aaaaaa:FindFirstChildOfClass('Humanoid').JumpPower = 50
- aaaaaa:FindFirstChildOfClass('Humanoid').WalkSpeed = 16
- end
- slightthrow:Remove()
- end)
- coru()
- for i = 0,1,0.05 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i)
- weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0),i)
- wait(0.01)
- end
- weld2:Destroy()
- weld3:Destroy()
- targetweld:Remove()
- if targetweld2 then
- targetweld2:Remove()
- end
- if rightshoulder then
- rightshoulder:Clone().Parent = tors
- end
- if leftshoulder then
- leftshoulder:Clone().Parent = tors
- end
- headweld:Clone().Parent = tors
- rightshoulderz:Clone().Parent = me.Torso
- leftshoulderz:Clone().Parent = me.Torso
- acting = false
- canClick = true
- doing = false
- end)
- doit()
- end
- cfn,ang,mr,int=CFrame.new,CFrame.Angles,math.rad,Instance.new
- bc=BrickColor.new
- local minimumsize = Vector3.new(0.7,0.7,0.7)
- local surface_between_splitted_parts = 'SmoothNoOutlines'
- local fragmentable = workspace
- local list = {}
- local brickcount = 0
- local storage = {}
- local fillup = 1000
- local maximumstorage = 2000
- local storage_position = Vector3.new(0,0,5000)
- local stored_partsize = Vector3.new(1,1,1)
- local parts_created_per_frame = 5
- local minimumsize = Vector3.new(0.7,0.7,0.7)
- local surface_between_splitted_parts = 'SmoothNoOutlines'
- local fragmentable = workspace
- local list = {}
- local brickcount = 0
- local storage = {}
- local fillup = 1000
- local maximumstorage = 2000
- local storage_position = Vector3.new(0,0,5000)
- local stored_partsize = Vector3.new(1,1,1)
- local parts_created_per_frame = 5
- function fragmentate(cframe,size,color,explosion_position,explosion_blastradius,backsurface,bottomsurface,frontsurface,leftsurface,rightsurface,topsurface,transparency,reflectance,material)
- local xi = size.X >= minimumsize.X*(1+explosion_blastradius/16) and 2 or 1
- local yi = size.Y >= minimumsize.Y*(1+explosion_blastradius/16) and 2 or 1
- local zi = size.Z >= minimumsize.Z*(1+explosion_blastradius/16) and 2 or 1
- if xi == 1 and yi == 1 and zi == 1 or (cframe.p-explosion_position).magnitude > size.magnitude/2 + explosion_blastradius then
- if xi == 1 and yi == 1 and zi == 1 then return end
- if #storage > 0 then
- local p = storage[1]
- p.BrickColor = color
- p.Size = size
- p.Anchored = false
- p.BackSurface = backsurface
- p.BottomSurface = bottomsurface
- p.FrontSurface = frontsurface
- p.LeftSurface = leftsurface
- p.RightSurface = rightsurface
- p.TopSurface = topsurface
- p.Transparency = transparency
- p.CFrame = cframe
- p.Reflectance = reflectance
- p.Material = material
- game:GetService('Debris'):AddItem(p,30)
- p:BreakJoints()
- table.remove(storage,1)
- else
- local p = Instance.new("Part",fragmentable)
- p.BrickColor = color
- p.FormFactor = "Custom"
- p.Size = size
- p.BackSurface = backsurface
- p.BottomSurface = bottomsurface
- p.FrontSurface = frontsurface
- p.LeftSurface = leftsurface
- p.RightSurface = rightsurface
- p.TopSurface = topsurface
- p.Transparency = transparency
- p.Material = material
- if p.Transparency>0.285 then
- p.Anchored = false
- else
- p.Anchored=false
- p.Material='Wood'
- game:GetService('Debris'):AddItem(p,10)
- end
- p.CFrame = cframe
- p.Reflectance = reflectance
- p:BreakJoints()
- end
- return
- end
- local mody = math.random(-125,125)/1000
- for y = 1,yi do
- if math.random()> 0.5 then
- local modx = math.random(-125,125)/1000
- for x = 1,xi do
- local modz = math.random(-125,125)/1000
- for z = 1,zi do --offset = x/xi-0.75+modx)
- fragmentate(cframe*CFrame.new(size.X*(xi==1 and 0 or x/xi-0.75+modx),size.Y*(yi==1 and 0 or y/yi-0.75+mody),size.Z*(zi==1 and 0 or z/zi-0.75+modz)),
- Vector3.new(xi == 2 and size.X*(1-2*math.abs(x/xi-0.75+modx)) or size.X,yi == 2 and size.Y*(1-2*math.abs(y/yi-0.75+mody)) or size.Y,
- zi == 2 and size.Z*(1-2*math.abs(z/zi-0.75+modz)) or size.Z or mustardfoot_was_here),color,explosion_position,explosion_blastradius,
- z~=zi and surface_between_splitted_parts or backsurface,y==2 and surface_between_splitted_parts or bottomsurface,
- z==2 and surface_between_splitted_parts or frontsurface,x==2 and surface_between_splitted_parts or leftsurface,x~=xi and surface_between_splitted_parts or rightsurface,
- y~=yi and surface_between_splitted_parts or topsurface,transparency,reflectance,material)
- end
- end
- else
- local modz = math.random(-125,125)/1000
- for z = 1,zi do
- local modx = math.random(-125,125)/1000
- for x = 1,xi do
- fragmentate(cframe*CFrame.new(size.X*(xi==1 and 0 or x/xi-0.75+modx),size.Y*(yi==1 and 0 or y/yi-0.75+mody),size.Z*(zi==1 and 0 or z/zi-0.75+modz)),
- Vector3.new(xi == 2 and size.X*(1-2*math.abs(x/xi-0.75+modx)) or size.X,yi == 2 and size.Y*(1-2*math.abs(y/yi-0.75+mody)) or size.Y,
- zi == 2 and size.Z*(1-2*math.abs(z/zi-0.75+modz)) or size.Z),color,explosion_position,explosion_blastradius,
- z~=zi and surface_between_splitted_parts or backsurface,y==2 and surface_between_splitted_parts or bottomsurface,
- z==2 and surface_between_splitted_parts or frontsurface,x==2 and surface_between_splitted_parts or leftsurface,x~=xi and surface_between_splitted_parts or rightsurface,
- y~=yi and surface_between_splitted_parts or topsurface,transparency,reflectance,material)
- end
- end
- end
- end
- end
- function start_fragmentation(position,radius,nuh)
- local search = Region3.new(position-Vector3.new(radius,radius,radius)*1.1,position+Vector3.new(radius,radius,radius)*1.1)
- repeat
- local finish = false
- local parts = workspace:FindPartsInRegion3WithIgnoreList(search,list,100)
- for i = 1,#parts do
- table.insert(list,1,parts[i])
- end
- finish = true
- until #parts < 100 and finish
- local t = tick()
- for i = 1,#list do
- local p = list[i]
- if p:IsA('UnionOperation') == false and p:IsA('CornerWedgePart') == false and p:IsA('TrussPart') == false and p:IsA('WedgePart') == false and p.Parent and p.Parent ~= obj1 and p.Parent.Name ~= "Projectile" and p:IsDescendantOf(fragmentable) and p:GetMass()<50000 and p.Transparency>0.285 and p.Name~='Base' and p.Parent:FindFirstChildOfClass('Humanoid') == nil and p.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil and p:IsDescendantOf(me)==false then
- fragmentate(p.CFrame,p.Size,p.BrickColor,position,radius,p.BackSurface,p.BottomSurface,p.FrontSurface,p.LeftSurface,p.RightSurface,p.TopSurface,p.Transparency,p.Reflectance,p.Material)
- if #storage < maximumstorage and p.Shape == "Block" then
- p.Anchored = false
- p.FormFactor = "Custom"
- p.Size = stored_partsize
- p.Position = storage_position
- table.insert(storage,1,p)
- else
- p:Destroy()
- end
- end
- if nuh == false and p.Parent and p.Parent ~= obj1 and p.Parent.Name ~= "Projectile" and p:IsDescendantOf(fragmentable) and p:GetMass()<53000 and p.Transparency<0.05 and p.Name~='Base' and tostring(p.Material)=='Enum.Material.Wood' and p:IsDescendantOf(me)==false then
- fragmentate(p.CFrame,p.Size,p.BrickColor,position,radius,p.BackSurface,p.BottomSurface,p.FrontSurface,p.LeftSurface,p.RightSurface,p.TopSurface,p.Transparency,p.Reflectance,p.Material)
- if #storage < maximumstorage and p.Shape == "Block" then
- p.Anchored = false
- p.Material='Wood'
- p.FormFactor = "Custom"
- p.Size = stored_partsize
- p.Position = storage_position
- table.insert(storage,1,p)
- else
- p:Destroy()
- end
- end
- end
- list = {}
- end
- function fling()
- local doit = coroutine.wrap(function()
- if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') and me:FindFirstChild('HumanoidRootPart') then
- acting = true
- for i=1,finishnum do
- local weld2 = Instance.new('Weld',me["Right Arm"])
- weld2.Part0 = me["Right Arm"]
- weld2.Part1 = me["Torso"]
- weld2.C0 = CFrame.new(-1.5,0,0)
- if finishnum == 1 then
- for i = 0,1,0.05 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0),i)
- wait(0.01)
- end
- end
- audio.SoundId = "rbxassetid://166083610"
- audio.PlaybackSpeed = 1
- audio.TimePosition = 0.1
- audio:Play()
- if finishnum == 1 then
- for i = 0,1,0.5 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0),i)
- wait(0.001)
- end
- end
- weld2.C0 = CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0)
- local knofe = obj1:Clone()
- for i, v in pairs(obj1:GetChildren()) do
- if v:IsA('BasePart') then
- v.Transparency = 1
- end
- end
- knofe.Parent = workspace
- knofe.Name = "Projectile"
- knofe.Grab.CFrame = CFrame.new(knofe.Grab.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0)
- knofe:FindFirstChild("Trail", true).Enabled = true
- local heck = Instance.new('BodyVelocity',knofe.Grab)
- heck.Velocity = (knofe.Grab.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*120
- local coru = coroutine.wrap(function()
- wait(0.45)
- if heck then
- heck:Destroy()
- end
- end)
- coru()
- local able = true
- knofe["big ass knife"].Touched:connect(function(hit)
- if hit.Parent and hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Transparency < 1 and knofe.Grab.CanCollide == false and hit.Parent ~= me and hit.Parent.Parent ~= me then
- local thing = hit.Parent:FindFirstChildOfClass('Humanoid')
- local ree = hit.Parent
- if thing == nil then
- ree = hit.Parent.Parent
- end
- if ree:FindFirstChildOfClass('Humanoid').Health > 0 then
- knofe:FindFirstChild("Trail", true).Enabled = false
- game:GetService('Debris'):AddItem(knofe,5)
- tone = math.random(1, 3)
- local sound = Instance.new('Sound',knofe.Grab)
- if tone == 1 then sound.SoundId = "rbxassetid://220833967" end
- if tone == 2 then sound.SoundId = "rbxassetid://220833976" end
- if tone == 3 then sound.SoundId = "rbxassetid://220834000" end
- sound.PlaybackSpeed = 1
- sound:Play()
- for i, v in pairs(knofe:GetChildren()) do
- if v:IsA('BasePart') then
- v.CanCollide = true
- v.Anchored = true
- end
- end
- hit.Anchored = true
- if ree:FindFirstChildOfClass('Humanoid') and hit.Name == "Torso" or hit.Name == "Head" then
- ree:FindFirstChildOfClass('Humanoid').Health = 0
- end
- wait()
- killz(ree,hit.Name,knofe)
- else
- knofe:FindFirstChild("Trail", true).Enabled = false
- heck.Velocity = Vector3.new(0,0,0)
- heck:Destroy()
- game:GetService('Debris'):AddItem(knofe,5)
- tone = math.random(1, 3)
- local sound = Instance.new('Sound',knofe.Grab)
- if tone == 1 then sound.SoundId = "rbxassetid://220833967" end
- if tone == 2 then sound.SoundId = "rbxassetid://220833976" end
- if tone == 3 then sound.SoundId = "rbxassetid://220834000" end
- sound.PlaybackSpeed = 1
- sound:Play()
- for i, v in pairs(knofe:GetChildren()) do
- if v:IsA('BasePart') then
- v.Anchored = false
- end
- end
- hit.Anchored = true
- wait(0.001)
- hit.Anchored = false
- for i, v in pairs(knofe:GetChildren()) do
- if v:IsA('BasePart') then
- v.Anchored = false
- end
- end
- if knofe then
- local coru = coroutine.wrap(function()
- if hit then
- local uno = Instance.new('Part',workspace)
- local dos = Instance.new('Part',workspace)
- uno.CFrame = hit.CFrame
- dos.CFrame = knofe["big ass knife"].CFrame
- local weld = Instance.new('Weld',knofe["big ass knife"])
- weld.Part0 = hit
- weld.Part1 = knofe["big ass knife"]
- weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
- uno:Destroy()
- dos:Destroy()
- end
- end)
- coru()
- end
- end
- elseif hit.Parent and hit.Parent ~= me and hit.Parent.Parent ~= me and hit.CanCollide and knofe.Grab.CanCollide == false then
- if hit.Transparency and (hit.Transparency<=0.285 or hit:GetMass()<=3000) then
- knofe:FindFirstChild("Trail", true).Enabled = false
- local sound = Instance.new('Sound',knofe.Grab)
- sound.SoundId = 'rbxassetid://267585646'
- sound:Play()
- for i,v in pairs(knofe:GetChildren()) do
- if v:IsA('BasePart') then
- v.Anchored = true
- end
- end
- wait()
- heck.Velocity = Vector3.new(0,0,0)
- heck:Destroy()
- local uno = Instance.new('Part',workspace)
- local dos = Instance.new('Part',workspace)
- uno.CFrame = hit.CFrame
- dos.CFrame = knofe["big ass knife"].CFrame
- local weld = Instance.new('Weld',knofe["big ass knife"])
- weld.Part0 = hit
- weld.Part1 = knofe["big ass knife"]
- weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
- uno:Destroy()
- dos:Destroy()
- for i,v in pairs(knofe:GetChildren()) do
- if v:IsA('BasePart') then
- v.Anchored = false
- end
- end
- game:GetService('Debris'):AddItem(knofe,5)
- for i,v in pairs(knofe:GetChildren()) do
- if v:IsA('BasePart') then
- v.CanCollide = true
- end
- end
- end
- if hit.Parent and hit.Transparency>0.285 and able == true and hit:GetMass()<3000 and hit.Parent:FindFirstChildOfClass('Humanoid') == nil and (hit.Parent.Parent == nil or hit.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil) then
- knofe:FindFirstChild("Trail", true).Enabled = false
- able = false
- local sound = Instance.new('Sound',knofe.Grab)
- sound.SoundId = 'rbxassetid://144884907'
- sound:Play()
- local coru = coroutine.wrap(function()
- start_fragmentation(knofe["big ass knife"].Position,1.25,knofe)
- end)
- coru()
- end
- end
- end)
- if finishnum == 1 then
- for i= 0,1,0.1 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i)
- wait(0.001)
- end
- else
- for i= 0,1,0.5 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i)
- wait(0.001)
- end
- end
- for i,v in pairs(obj1:GetChildren()) do
- if v:IsA('BasePart') then
- v.Transparency = 0
- end
- end
- weld2:Destroy()
- rightshoulderz:Clone().Parent = me.Torso
- end
- acting = false
- canClick = true
- end
- end)
- doit()
- end
- function instasplode()
- local coru = coroutine.wrap(function()
- acting = true
- for i=1,1 do
- local weld2 = Instance.new('Weld',me["Right Arm"])
- weld2.Part0 = me["Right Arm"]
- weld2.Part1 = me["Torso"]
- weld2.C0 = CFrame.new(-1.5,0,0)
- if finishnum == 1 then
- for i = 0,1,0.05 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0),i)
- wait(0.01)
- end
- end
- weld2.C0 = CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0)
- audio.SoundId = "rbxassetid://166083610"
- audio.PlaybackSpeed = 1
- audio.TimePosition = 0.1
- audio:Play()
- if finishnum == 1 then
- for i = 0,1,0.5 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0),i)
- wait(0.001)
- end
- end
- weld2.C0 = CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0)
- local knofe = obj1:Clone()
- for i,v in pairs(obj1:GetChildren()) do
- if v:IsA('BasePart') then
- v.Transparency = 1
- end
- end
- knofe.Parent = workspace
- knofe.Name = "Projectile"
- knofe.Grab.CFrame = CFrame.new(knofe.Grab.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0)
- knofe:FindFirstChild("Trail", true).Enabled = false
- fireofjesUS = Instance.new("Fire", knofe.Grab)
- local heck = Instance.new('BodyVelocity',knofe.Grab)
- heck.Velocity = (knofe.Grab.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*120
- local coru = coroutine.wrap(function()
- wait(0.45)
- if heck then
- heck:Destroy()
- end
- end)
- coru()
- knofe["big ass knife"].Touched:connect(function(hit)
- if hit.Parent ~= me and hit.Parent.Parent ~= me and hit.Transparency < 1 and knofe.Grab.CanCollide == false then
- heck.Velocity = Vector3.new(0,0,0)
- heck:Destroy()
- for i,v in pairs(knofe:GetChildren()) do
- if v:IsA('BasePart') then
- v.CanCollide = true
- end
- end
- local hum = hit.Parent:FindFirstChildOfClass('Humanoid')
- if hum == nil then
- hum = hit.Parent.Parent:FindFirstChildOfClass('Humanoid')
- end
- if knofe then
- local coru = coroutine.wrap(function()
- if hit then
- local uno = Instance.new('Part',workspace)
- local dos = Instance.new('Part',workspace)
- uno.CFrame = hit.CFrame
- dos.CFrame = knofe["big ass knife"].CFrame
- local weld = Instance.new('Weld',knofe["big ass knife"])
- weld.Part0 = hit
- weld.Part1 = knofe["big ass knife"]
- weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
- uno:Destroy()
- dos:Destroy()
- end
- end)
- coru()
- end
- local sound = Instance.new('Sound',knofe.Grab)
- sound.Name = "BOOM"
- sound.EmitterSize = 25
- sound.SoundId = 'rbxassetid://476477344'
- sound.Volume = 0.5
- sound:Play()
- local exppart = Instance.new("Part", game.Workspace)
- exppart.Size = Vector3.new(0.2, 0.2, 0.2)
- exppart.Anchored = true
- exppart.CanCollide = false
- exppart.CFrame = CFrame.new(knofe.Grab.CFrame.p)
- exppart.Transparency = 1
- local expaccent = Instance.new("ParticleEmitter", exppart)
- expaccent.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 0, 0))})
- expaccent.LightEmission = 0.2
- expaccent.LightInfluence = 0.3
- expaccent.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 0)})
- expaccent.Acceleration = Vector3.new(0, 30, 0)
- expaccent.Drag = 15
- expaccent.LockedToPart = false
- expaccent.Lifetime = NumberRange.new(0.5, 1.5)
- expaccent.Rate = 2000
- expaccent.Speed = NumberRange.new(0,0)
- expaccent.SpreadAngle = Vector2.new(360, 360)
- expaccent:Clone().Parent = exppart
- expaccent:Clone().Parent = exppart
- local exp = Instance.new('Explosion',game.Workspace)
- exp.Position = knofe["big ass knife"].Position
- exp.ExplosionType = Enum.ExplosionType.NoCraters
- exp.BlastRadius = 5
- exp.Visible = false
- exp.BlastPressure = 0
- exp.DestroyJointRadiusPercent = 0
- exp.Hit:connect(function(hit)
- if hit.Parent and hit.Parent ~= me and hit.Parent.Name ~= "bitch ass knife" then
- wait(0.001)
- tgt = hit
- local coru=coroutine.wrap(function(tgtt)
- local fireofgods = Instance.new("Fire", tgtt)
- fireofgods.Size = 0
- fireofgods.Heat = 0
- local fireofgodsaccent = expaccent:Clone()
- fireofgodsaccent.Parent = hit
- fireofgodsaccent.Rate = 0
- fireofgodsaccent.Speed = NumberRange.new(5, 50)
- fireofgodsaccent.SpreadAngle = Vector2.new(45, 45)
- fireofgodsaccent.Acceleration = Vector3.new(0, 20, 0)
- while fireofgods.Size < 10 do
- fireofgods.Size = fireofgods.Size + 0.1
- fireofgods.Heat = fireofgods.Heat + 0.1
- fireofgodsaccent.Rate = fireofgodsaccent.Rate + 1
- wait()
- end
- if hit.Parent and hit.Parent:FindFirstChildOfClass('Humanoid') == nil and hit.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil then
- hit:BreakJoints()
- elseif hit.Parent and hit.Parent:IsA('Accessory') then
- for i,v in pairs(hit:GetChildren()) do
- if v:IsA('SpecialMesh') then
- v.TextureId = ""
- end
- end
- end
- hit.BrickColor = BrickColor.new("Black")
- for i,v in pairs(hit.Parent:GetChildren()) do
- if v:IsA('Shirt') or v:IsA('Pants') then
- v:Destroy()
- end
- end
- while fireofgods.Size > 5 do
- fireofgods.Size = fireofgods.Size - 0.1
- fireofgods.Heat = fireofgods.Heat - 0.1
- wait()
- end
- fireofgods:Destroy()
- if hit.Parent then
- if hit.Parent:FindFirstChildOfClass('Humanoid') == nil and hit.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil then
- local p = hit
- fragmentate(p.CFrame,p.Size,p.BrickColor,p.Position,0.01,p.BackSurface,p.BottomSurface,p.FrontSurface,p.LeftSurface,p.RightSurface,p.TopSurface,p.Transparency,p.Reflectance,p.Material)
- hit:Remove()
- elseif hit.Parent:FindFirstChildOfClass('Humanoid') ~= nil then
- print(hit.Name)
- if hit.Name == "Torso" or hit.Name == "Head" then
- print('ohhh YAAAA')
- hit.Parent:FindFirstChildOfClass('Humanoid').Health = 0
- end
- wait()
- killz(hit.Parent,hit.Name,nil,nil,false,false,true)
- end
- end
- end)
- coru(tgt)
- end
- end)
- local explosionaccenttimeout = coroutine.wrap(function()
- wait(0.2)
- for i, exploodn in pairs(exppart:GetChildren()) do
- exploodn.Enabled = false
- end
- wait(2)
- for i, exploodn in pairs(exppart:GetChildren()) do
- exploodn:Remove()
- end
- end)
- explosionaccenttimeout()
- for i,v in pairs(knofe:GetChildren()) do
- if v:IsA('BasePart') then
- v.Transparency = 1
- end
- end
- exp.AncestryChanged:connect(function() knofe:Destroy() end)
- coru()
- end
- end)
- if finishnum == 1 then
- for i= 0,1,0.1 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i)
- wait(0.001)
- end
- else
- wait(0.1)
- end
- weld2.C0 = CFrame.new(-1.5,0,0)
- for i,v in pairs(obj1:GetChildren()) do
- if v:IsA('BasePart') then
- v.Transparency = 0
- end
- end
- weld2:Destroy()
- rightshoulderz:Clone().Parent = me.Torso
- end
- acting = false
- canClick = true
- end)
- coru()
- end
- function fireworkit()
- local coru = coroutine.wrap(function()
- acting = true
- local ree = 1
- if finishnum > 1 then
- ree = 3
- end
- for i=1,ree do
- local weld2 = Instance.new('Weld',me["Right Arm"])
- weld2.Part0 = me["Right Arm"]
- weld2.Part1 = me["Torso"]
- weld2.C0 = CFrame.new(-1.5,0,0)
- weld2.C0 = CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0)
- audio.SoundId = "rbxassetid://166083610"
- audio.PlaybackSpeed = 1
- audio.TimePosition = 0.1
- audio:Play()
- weld2.C0 = CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0)
- local knofe = obj1:Clone()
- for i,v in pairs(obj1:GetChildren()) do
- if v:IsA('BasePart') then
- v.Transparency = 1
- end
- end
- local sound = Instance.new('Sound',knofe.Grab)
- sound.Volume = 0.25
- sound.EmitterSize = 200
- sound.MaxDistance = 300
- sound.SoundId = 'rbxassetid://551051176'
- sound:Play()
- knofe.Parent = workspace
- knofe.Name = "Projectile"
- knofe.Grab.CFrame = CFrame.new(knofe.Grab.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0)
- local partic = Instance.new('ParticleEmitter',knofe.Grab)
- partic.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(0.4,Color3.fromRGB(255,125,0)),ColorSequenceKeypoint.new(0.8,Color3.new(1,1,0)),ColorSequenceKeypoint.new(1,Color3.new(1,1,1))})
- partic.LightEmission = 0.5
- partic.LightInfluence = 0
- partic.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5),NumberSequenceKeypoint.new(1,0.15)})
- partic.Rotation = NumberRange.new(0,90)
- partic.SpreadAngle = Vector2.new(5,5)
- partic.Speed = NumberRange.new(20)
- partic.Texture = 'rbxassetid://603193846'
- partic.EmissionDirection = Enum.NormalId.Left
- partic.Lifetime = NumberRange.new(0.5,1)
- partic.Rate = 100
- local heck = Instance.new('BodyVelocity',knofe.Grab)
- heck.Velocity = (knofe.Grab.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*240
- local coru=coroutine.wrap(function()
- wait(1.2)
- sound:Destroy()
- local sound2 = Instance.new('Sound',workspace)
- sound2.SoundId = 'rbxassetid://138080762'
- sound2:Play()
- if heck then
- heck:Destroy()
- end
- for i,v in pairs(knofe:GetChildren()) do
- v.Anchored = true
- end
- partic.Enabled = false
- local colorscheme = math.random(1,4)
- --1 - red & orange
- --2 - blue & pink
- --3 - green & purple
- --4 - blue, red, white
- local colar1 = Color3.fromRGB(255,0,0)
- local colar2 = Color3.fromRGB(255,125,0)
- local colar3 = Color3.fromRGB(255,255,255)
- if colorscheme == 2 then
- colar1 = Color3.fromRGB(0,132,255)
- colar2 = Color3.fromRGB(243,105,255)
- elseif colorscheme == 3 then
- colar1 = Color3.fromRGB(76,255,0)
- colar2 = Color3.fromRGB(128,0,255)
- elseif colorscheme == 4 then
- colar2 = Color3.fromRGB(0,132,255)
- end
- local partic2 = Instance.new('ParticleEmitter',knofe.Grab)
- partic2.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,colar1),ColorSequenceKeypoint.new(1,colar1)})
- partic2.LightEmission = 0.5
- partic2.LightInfluence = 0
- partic2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5),NumberSequenceKeypoint.new(1,0.1)})
- partic2.Rotation = NumberRange.new(0,90)
- partic2.SpreadAngle = Vector2.new(180,180)
- partic2.Speed = NumberRange.new(20)
- partic2.Texture = 'rbxassetid://603193846'
- partic2.EmissionDirection = Enum.NormalId.Right
- partic2.Lifetime = NumberRange.new(2,2.5)
- partic2.Rate = 1000
- partic2.Drag = 1
- local partic3 = partic2:Clone()
- partic3.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,colar2),ColorSequenceKeypoint.new(1,colar2)})
- partic3.Parent = knofe.Grab
- if colorscheme == 4 then
- local partic4 = partic2:Clone()
- partic4.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,colar3),ColorSequenceKeypoint.new(1,colar3)})
- partic4.Parent = knofe.Grab
- end
- wait(1)
- for i,v in pairs(knofe.Grab:GetChildren()) do
- if v:IsA('ParticleEmitter') then
- v.Enabled = false
- end
- end
- sound:Destroy()
- wait(2)
- knofe:Destroy()
- end)
- coru()
- wait(0.1)
- weld2.C0 = CFrame.new(-1.5,0,0)
- for i,v in pairs(obj1:GetChildren()) do
- if v:IsA('BasePart') then
- v.Transparency = 0
- end
- end
- weld2:Destroy()
- rightshoulderz:Clone().Parent = me.Torso
- end
- acting = false
- canClick = true
- end)
- coru()
- end
- function paralyze()
- local coru = coroutine.wrap(function()
- if paralyzed == true then return end
- paralyzed = true
- local arm = me["Right Arm"]
- local tors = grabbed.Torso
- local arm2 = me["Left Arm"]
- if arm:FindFirstChildOfClass('Weld') == nil or arm2:FindFirstChildOfClass('Weld') == nil then return end
- doing = true
- local weld2 = arm:FindFirstChildOfClass('Weld')
- local weld3 = arm2:FindFirstChildOfClass('Weld')
- local humanroot = me.HumanoidRootPart
- for i = 0,1,0.075 do
- weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-2, 0, -1.5), i)
- weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1, -0.5)* CFrame.Angles(-1.4, 0, 1.1), i)
- wait(0.01)
- end
- for i = 0,1,0.30 do
- weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-0.75, 0, -1.75), i)
- weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1, -0.5)* CFrame.Angles(-1.4, 0, 1.1), i)
- wait(0.01)
- end
- killz(grabbed,'Left Leg')
- killz(grabbed,'Left Arm')
- killz(grabbed,'Right Leg')
- killz(grabbed,'Right Arm')
- for i, v in pairs(grabbed:GetChildren()) do
- if v.Name == "Part" then
- v.CanCollide = false
- end
- end
- audio:Stop()
- audio.SoundId = "rbxassetid://2801263"
- tone = math.random(1, 3)
- if tone == 1 then audio.PlaybackSpeed = 0.8 audio.TimePosition = 0 end
- if tone == 2 then audio.PlaybackSpeed = 1 audio.TimePosition = 0 end
- if tone == 3 then audio.PlaybackSpeed = 1.2 audio.TimePosition = 0 end
- audio:Play()
- local bleedpart = Instance.new("Part", grabbed)
- bleedpart.Size = Vector3.new(0.2, 0.2, 0.2)
- bleedpart.Color = Color3.new(115/225, 115/225, 115/225)
- bleedpart.CanCollide = false
- bleedpart.Position = grabbed.Head.Position + Vector3.new(0, 1, 0)
- bleedpart.Transparency = 1
- local bleedpartweld = Instance.new("Weld", grabbed.Torso)
- bleedpartweld.Part0 = grabbed.Torso
- bleedpartweld.Part1 = bleedpart
- bleedpartweld.C0 = CFrame.Angles(-1, 0, -0.35) * CFrame.new(0, 1, 0.8)
- local cuntruu=coroutine.wrap(function()
- bleed(bleedpart)
- end)
- local thicc = coroutine.wrap(function()
- wait(3)
- bleedpart:Remove()
- end)
- cuntruu()
- thicc()
- for i = 0,1,0.075 do
- weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-1.5, 0, -1.3), i)
- weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1, -0.5)* CFrame.Angles(-1.5, 0, 1.1), i)
- wait(0.01)
- end
- acting = true
- canClick = true
- doing = false
- end)
- coru()
- end
- function explode()
- local coru = coroutine.wrap(function()
- acting = true
- for i=1,finishnum do
- local weld2 = Instance.new('Weld',me["Right Arm"])
- weld2.Part0 = me["Right Arm"]
- weld2.Part1 = me["Torso"]
- weld2.C0 = CFrame.new(-1.5,0,0)
- if finishnum == 1 then
- for i = 0,1,0.05 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0),i)
- wait(0.01)
- end
- end
- weld2.C0 = CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0)
- audio.SoundId = "rbxassetid://166083610"
- audio.PlaybackSpeed = 1
- audio.TimePosition = 0.1
- audio:Play()
- if finishnum == 1 then
- for i = 0,1,0.5 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0),i)
- wait(0.001)
- end
- end
- weld2.C0 = CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0)
- local knofe = obj1:Clone()
- for i,v in pairs(obj1:GetChildren()) do
- if v:IsA('BasePart') then
- v.Transparency = 1
- end
- end
- knofe.Parent = workspace
- knofe.Name = "Projectile"
- knofe.Grab.CFrame = CFrame.new(knofe.Grab.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0)
- knofe:FindFirstChild("Trail", true).Enabled = false
- local heck = Instance.new('BodyVelocity',knofe.Grab)
- heck.Velocity = (knofe.Grab.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*120
- local coru = coroutine.wrap(function()
- wait(0.45)
- if heck then
- heck:Destroy()
- end
- end)
- coru()
- knofe["big ass knife"].Touched:connect(function(hit)
- if hit.Parent ~= me and hit.Parent.Parent ~= me and hit.Transparency < 1 and knofe.Grab.CanCollide == false then
- heck.Velocity = Vector3.new(0,0,0)
- heck:Destroy()
- for i,v in pairs(knofe:GetChildren()) do
- if v:IsA('BasePart') then
- v.CanCollide = true
- end
- end
- local hum = hit.Parent:FindFirstChildOfClass('Humanoid')
- if hum == nil then
- hum = hit.Parent.Parent:FindFirstChildOfClass('Humanoid')
- end
- if hum then
- tone = math.random(1, 3)
- local sound = Instance.new('Sound',knofe.Grab)
- if tone == 1 then sound.SoundId = "rbxassetid://220833967" end
- if tone == 2 then sound.SoundId = "rbxassetid://220833976" end
- if tone == 3 then sound.SoundId = "rbxassetid://220834000" end
- sound.PlaybackSpeed = 1
- sound:Play()
- else
- local sound = Instance.new('Sound',knofe.Grab)
- sound.SoundId = 'rbxassetid://267585646'
- sound:Play()
- end
- if knofe then
- local coru = coroutine.wrap(function()
- if hit then
- local uno = Instance.new('Part',workspace)
- local dos = Instance.new('Part',workspace)
- uno.CFrame = hit.CFrame
- dos.CFrame = knofe["big ass knife"].CFrame
- local weld = Instance.new('Weld',knofe["big ass knife"])
- weld.Part0 = hit
- weld.Part1 = knofe["big ass knife"]
- weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
- uno:Destroy()
- dos:Destroy()
- end
- end)
- coru()
- end
- local coru = coroutine.wrap(function()
- for i=1,15,0.7 do
- local sound = Instance.new('Sound',knofe.Grab)
- if knofe then
- if knofe.serration.BrickColor == BrickColor.new('Really red') then
- for i, v in pairs(knofe:GetChildren()) do
- if v.Name == "big ass knife" or v.Name == "serration" or v.Name == "knifetip1" or v.Name == "fricc" then
- v.BrickColor = BrickColor.new('Lily white')
- v.Material = Enum.Material.SmoothPlastic
- end
- end
- else
- for i,v in pairs(knofe:GetChildren()) do
- if v.Name == "big ass knife" or v.Name == "serration" or v.Name == "knifetip1" or v.Name == "fricc" then
- v.BrickColor = BrickColor.new('Really red')
- v.Material = Enum.Material.Neon
- sound.SoundId = 'rbxassetid://300473653'
- sound.Volume = 0.75
- sound.TimePosition = 0.05
- sound.EmitterSize = 25
- sound.PlaybackSpeed = 1
- sound:Play()
- end
- end
- end
- wait(1/i)
- sound:Destroy()
- end
- end
- local sound = Instance.new('Sound',knofe.Grab)
- sound.Name = "BOOM"
- sound.EmitterSize = 25
- sound.SoundId = 'rbxassetid://12222084'
- sound.TimePosition = 0.1
- sound.Volume = 0.5
- sound:Play()
- local exppart = Instance.new("Part", game.Workspace)
- exppart.Size = Vector3.new(0.2, 0.2, 0.2)
- exppart.Anchored = true
- exppart.CanCollide = false
- exppart.CFrame = CFrame.new(knofe.Grab.CFrame.p)
- exppart.Transparency = 1
- local expaccent = Instance.new("ParticleEmitter", exppart)
- expaccent.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 0, 0))})
- expaccent.LightEmission = 0.2
- expaccent.LightInfluence = 0.3
- expaccent.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 0)})
- expaccent.Acceleration = Vector3.new(0, -8, 0)
- expaccent.Drag = 15
- expaccent.LockedToPart = true
- expaccent.Lifetime = NumberRange.new(0.5, 1.5)
- expaccent.Rate = 2000
- expaccent.Speed = NumberRange.new(10, 150)
- expaccent.SpreadAngle = Vector2.new(360, 360)
- local exp = Instance.new('Explosion',game.Workspace)
- exp.Position = knofe["big ass knife"].Position
- exp.ExplosionType = Enum.ExplosionType.NoCraters
- exp.BlastRadius = 10
- exp.BlastPressure = 100000
- exp.DestroyJointRadiusPercent = 1
- exp.Hit:connect(function(hit)
- if hit.Parent and hit.Parent ~= me and hit.Parent:FindFirstChildOfClass('Humanoid') then
- if hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Name == "Torso" or hit.Name == "Head" then
- hit.Parent:FindFirstChildOfClass('Humanoid').Health = 0
- end
- wait(0.001)
- local coru=coroutine.wrap(function()
- killz(hit.Parent,'Head',knofe,exp)
- end)
- coru()
- elseif hit.Parent and hit.Parent ~= workspace and hit.Parent ~= me then
- if hit.Parent.Name ~= "Projectile" then
- hit.Parent:BreakJoints()
- end
- elseif hit.Parent and hit.Parent ~= me then
- hit:BreakJoints()
- end
- end)
- local explosionaccenttimeout = coroutine.wrap(function()
- wait(0.2)
- expaccent.Enabled = false
- wait(2)
- exppart:Remove()
- end)
- explosionaccenttimeout()
- for i,v in pairs(knofe:GetChildren()) do
- if v:IsA('BasePart') then
- v.Transparency = 1
- end
- end
- exp.AncestryChanged:connect(function() knofe:Destroy() end)
- end)
- coru()
- end
- end)
- if finishnum == 1 then
- for i= 0,1,0.1 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i)
- wait(0.001)
- end
- else
- wait(0.1)
- end
- weld2.C0 = CFrame.new(-1.5,0,0)
- for i,v in pairs(obj1:GetChildren()) do
- if v:IsA('BasePart') then
- v.Transparency = 0
- end
- end
- weld2:Destroy()
- rightshoulderz:Clone().Parent = me.Torso
- end
- acting = false
- canClick = true
- end)
- coru()
- end
- function release()
- if grabbed.Torso:FindFirstChild("TargetWeld") == nil or grabbed:FindFirstChildOfClass('Humanoid').Health <= 0 then return end
- targetweld = grabbed.Torso.TargetWeld
- local ree= grabbed:FindFirstChild("Left Arm")
- targetweld2 = nil
- if ree and ree:FindFirstChild("Weld") then
- targetweld2 = ree.Weld
- end
- for i, v in pairs(grabbed:GetChildren()) do
- if v.Name == "Part" then
- v.CanCollide = true
- end
- end
- paralyzed = false
- local doit = coroutine.wrap(function()
- local arm = me["Right Arm"]
- local tors = grabbed.Torso
- local arm2 = me["Left Arm"]
- if arm:FindFirstChildOfClass('Weld') == nil or arm2:FindFirstChildOfClass('Weld') == nil then return end
- doing = true
- local weld2 = arm:FindFirstChildOfClass('Weld')
- local weld3 = arm2:FindFirstChildOfClass('Weld')
- local humanroot = me.HumanoidRootPart
- if grabbed:FindFirstChildOfClass('Humanoid') then
- grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = false
- end
- rightshoulderz:Clone().Parent = me.Torso
- leftshoulderz:Clone().Parent = me.Torso
- if grabbed:FindFirstChildOfClass('Humanoid') then
- grabbed:FindFirstChildOfClass('Humanoid').Name = "Humanoid"
- grabbed:FindFirstChildOfClass('Humanoid').JumpPower = 50
- grabbed:FindFirstChildOfClass('Humanoid').WalkSpeed = 16
- grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = false
- end
- grabbed = nil
- if humanroot:FindFirstChild('Holder') then
- humanroot.Holder:Destroy()
- end
- for i = 0,1,0.1 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i)
- weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0),i)
- targetweld.C0 = targetweld.C0:lerp(CFrame.new(0, 1.5, 0)*CFrame.Angles(0, 0, 0), i)
- if targetweld2 then
- targetweld2.C0 = targetweld2.C0:lerp(CFrame.new(-1.5, 0, 0)*CFrame.Angles(0, 0, 0), i)
- end
- wait(0.01)
- end
- knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0.2)
- weld2:Destroy()
- weld3:Destroy()
- targetweld:Remove()
- if targetweld2 then
- targetweld2:Remove()
- end
- if rightshoulder then
- rightshoulder:Clone().Parent = tors
- end
- if leftshoulder then
- leftshoulder:Clone().Parent = tors
- end
- headweld:Clone().Parent = tors
- rightshoulderz:Clone().Parent = me.Torso
- leftshoulderz:Clone().Parent = me.Torso
- acting = false
- canClick = true
- doing = false
- end)
- doit()
- end
- function stabwithpassion()
- local doit = coroutine.wrap(function()
- if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') and me:FindFirstChild('HumanoidRootPart') and me:FindFirstChild('Left Arm') then
- acting = true
- me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed + 10
- local arm = me["Right Arm"]
- local tors = me.Torso
- local arm2 = me["Left Arm"]
- local humanroot = me.HumanoidRootPart
- local weld = Instance.new('Weld',tors)
- weld.Part0 = tors
- weld.Part1 = humanroot
- weld.C0 = CFrame.new(0,0,0) * CFrame.Angles(0, 0, 0)
- local weld2 = Instance.new('Weld',arm)
- weld2.Part0 = arm
- weld2.Part1 = tors
- weld2.C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(0, 0, 0)
- local weld3 = Instance.new('Weld',arm2)
- weld3.Part0 = arm2
- weld3.Part1 = tors
- weld3.C0 = CFrame.new(1.5,0,-0.3) * CFrame.Angles(0.3,0.1,0)
- for i = 0,1,0.15 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end
- weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(20),0),i)
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.2,1.3,0.4)*CFrame.Angles(0.5,0,-1.2),i)
- knifeweld.C1 = knifeweld.C1:lerp(CFrame.fromEulerAnglesXYZ(1.55, math.rad(90), -1.55) * CFrame.new(0, 0.95, 0), i)
- wait(0.01)
- end
- wait(0.001)
- trail.Enabled = true
- stabbing = true
- audio2.SoundId = 'rbxassetid://608537390'
- audio2:Play()
- for i = 0,1,0.2 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end
- weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(-45),0),i)
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.6,0.8,-1)*CFrame.Angles(math.rad(-90),0,-1),i)
- wait(0.01)
- end
- trail.Enabled = false
- wait(0.1)
- me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed - 10
- stabbing = false
- wait(0.001)
- for i = 0,1,0.075 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end
- weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),i)
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0)*CFrame.Angles(0,0,0),i)
- weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0)*CFrame.Angles(0,0,0),i)
- knifeweld.C1 = knifeweld.C1:lerp(CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0), i)
- wait(0.01)
- end
- weld:Destroy()
- weld2:Destroy()
- weld3:Destroy()
- torsojoint:Clone().Parent = humanroot
- rightshoulderz:Clone().Parent = me.Torso
- leftshoulderz:Clone().Parent = me.Torso
- canClick = true
- hit = false
- acting = false
- end
- end)
- doit()
- end
- function stab()
- local doit = coroutine.wrap(function()
- if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') and me:FindFirstChild('HumanoidRootPart') and me:FindFirstChild('Left Arm') then
- acting = true
- me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed + 3
- local arm = me["Right Arm"]
- local tors = me.Torso
- local arm2 = me["Left Arm"]
- local humanroot = me.HumanoidRootPart
- local weld = Instance.new('Weld',tors)
- weld.Part0 = tors
- weld.Part1 = humanroot
- weld.C0 = CFrame.new(0,0,0) * CFrame.Angles(0, 0, 0)
- local weld2 = Instance.new('Weld',arm)
- weld2.Part0 = arm
- weld2.Part1 = tors
- weld2.C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(0, 0, 0)
- local weld3 = Instance.new('Weld',arm2)
- weld3.Part0 = arm2
- weld3.Part1 = tors
- weld3.C0 = CFrame.new(1.5,0,-0.3) * CFrame.Angles(0.3,0.1,0)
- for i = 0,1,0.1 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end
- weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0.3,0),i)
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.2,1.3,0.4)*CFrame.Angles(0.5,0,-1.2),i)
- wait(0.01)
- end
- wait(0.001)
- trail.Enabled = true
- stabbing = true
- audio2.SoundId = 'rbxassetid://608537390'
- audio2:Play()
- for i = 0,1,0.25 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end
- weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,-0.3,0),i)
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.6,0.8,0.5)*CFrame.Angles(-0.5,0,-0.5),i)
- wait(0.01)
- end
- trail.Enabled = false
- wait(0.1)
- me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed - 3
- for i = 0,1,0.25 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end
- weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0.3,0),i)
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0.6,-0.3)*CFrame.Angles(0.5,0,-0.5),i)
- wait(0.01)
- end
- stabbing = false
- wait(0.001)
- for i = 0,1,0.05 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end
- weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),i)
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0)*CFrame.Angles(0,0,0),i)
- weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0)*CFrame.Angles(0,0,0),i)
- wait(0.01)
- end
- weld:Destroy()
- weld2:Destroy()
- weld3:Destroy()
- torsojoint:Clone().Parent = humanroot
- rightshoulderz:Clone().Parent = me.Torso
- leftshoulderz:Clone().Parent = me.Torso
- canClick = true
- hit = false
- acting = false
- end
- end)
- doit()
- end
- function hardrelease()
- rightshoulderz:Clone().Parent = me.Torso
- leftshoulderz:Clone().Parent = me.Torso
- if me:FindFirstChild('Right Arm') then
- for i,v in pairs(me["Right Arm"]:GetChildren()) do
- if v:IsA('Weld') then
- v:Destroy()
- end
- end
- end
- if me:FindFirstChild('Left Arm') then
- for i,v in pairs(me["Left Arm"]:GetChildren()) do
- if v:IsA('Weld') then
- v:Destroy()
- end
- end
- end
- acting = false
- canClick = true
- doing = false
- grabbed = nil
- end
- function unequip()
- local doit = coroutine.wrap(function()
- if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') then
- acting = true
- local arm = me["Right Arm"]
- local arm2 = me["Left Arm"]
- local tors = me.Torso
- local weld = Instance.new('Weld',arm)
- weld.Part0 = arm
- weld.Part1 = tors
- weld.C0 = CFrame.new(-1.5,0,0)
- local weld2 = Instance.new("Weld", arm2)
- weld2.Part0 = arm2
- weld2.Part1 = tors
- weld2.C0 = CFrame.new(1.5, 0, 0)
- wait(0.001)
- trail.Enabled = true
- for i = 0,1,0.1 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end
- weld.C0 = weld.C0:lerp(CFrame.new(-0.2,0.2,-0.5)*CFrame.Angles(0,-3.1,0.9),i)
- weld2.C0 = weld2.C0:lerp(CFrame.new(1.5, 0.6, 0) * CFrame.Angles(0,0,0.5),i)
- wait(0.001)
- end
- trail.Enabled = false
- wait(0.25)
- for i = 0,1,0.1 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end
- weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0,0),i)
- weld2.C0 = weld2.C0:lerp(CFrame.new(1.5, 0, 0), i)
- wait(0.01)
- end
- weld:Destroy()
- weld2:Remove()
- if tors ~= nil then
- rightshoulderz:Clone().Parent = me.Torso
- leftshoulderz:Clone().Parent = me.Torso
- end
- acting = false
- end
- end)
- doit()
- end
- mouse.KeyDown:connect(function(key)
- if usable == true then
- if key == "z" then
- if active == false and acting == false then
- active = true
- if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
- notify("KNIFE EQUIPPED",false)
- audio:Stop()
- audio.SoundId = 'rbxassetid://608618332'
- equip()
- wait(0.6)
- audio:Play()
- knifeweld.Part0 = me["Right Arm"]
- knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0)
- elseif acting == false then
- active = false
- if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
- audio:Stop()
- audio.SoundId = 'rbxassetid://608538233'
- unequip()
- notify("KNIFE UNEQUIPPED",false)
- wait(0.3)
- audio:Play()
- knifeweld.Part0 = me.Torso
- knifeweld.C1 = CFrame.Angles(0,math.rad(90),0) * CFrame.new(1, 0.8, 0.55)
- canClick = true
- end
- elseif key == "f" then
- if mode == 'kill' or active == false then return end
- mode = "kill"
- if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
- notify("MODE || KILL || [F]",false)
- elseif key == "e" then
- if mode == 'throw' or active == false then return end
- mode = "throw"
- if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
- notify("MODE || PUSH || [E]",false)
- elseif key == "q" then
- if mode == 'release' or active == false then return end
- mode = "release"
- if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
- notify("MODE || RELEASE || [Q]",false)
- elseif key == "x" then
- if mode == 'stab' or active == false or acting == true then return end
- mode = "stab"
- if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
- notify("MODE || STAB || [X]",false)
- elseif key == "c" then
- if mode == 'fling' or active == false or acting == true then return end
- mode = "fling"
- if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
- notify("MODE || THROW || [C]",false)
- elseif key == "b" then
- if mode == 'instasplode' or active == false or acting == true then return end
- mode = "instasplode"
- if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
- notify("MODE || MOLOTOV || [B]",false)
- elseif key == "r" then
- if mode == 'paralyze' or active == false then return end
- mode = "paralyze"
- if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
- notify("MODE || PARALYZE || [R]",false)
- elseif key == "v" then
- if mode == 'explode' or active == false or acting == true then return end
- mode = "explode"
- if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
- notify("MODE || EXPLODE || [V]",false)
- elseif key == "k" then
- if mode == 'suicide' or active == false or acting == true then return end
- mode = "suicide"
- if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
- notify("MODE || SUICIDE || [K]",false)
- elseif key == "h" then
- if mode == 'firework' or active == false or acting == true then return end
- mode = "firework"
- if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
- notify("MODE || FIREWORK || [H]",false)
- elseif key == "g" then
- if mode == 'finish' or active == false then return end
- mode = "finish"
- if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
- local welp = "ON"
- if finishnum == 1 then
- welp = "OFF"
- end
- notify("MODE || FINISH || [G] || "..welp,false)
- elseif key == "n" then
- if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
- if zombiemode == false then
- notify("ZOMBIE MODE ON || [N]",false)
- zombiemode = true
- else
- notify("ZOMBIE MODE OFF || [N]",false)
- zombiemode = false
- end
- elseif key == "m" then
- if finishnum == 1 then
- finishnum = 15
- if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
- notify("PSYCHOPATH MODE ON || [M]",false)
- if cancolorfilter then
- local Sp00kyGui = Instance.new("ScreenGui")
- local ImageLabel = Instance.new("ImageLabel")
- -- Properties
- Sp00kyGui.Parent = playergui
- Sp00kyGui.Name = "REEEEEEEE"
- ImageLabel.Parent = Sp00kyGui
- ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel.BackgroundTransparency = 1
- ImageLabel.Size = UDim2.new(1, 0, 1, 0)
- ImageLabel.Image = "rbxassetid://74443700"
- ImageLabel.ImageColor3 = Color3.new(1, 0, 0)
- end
- if canbackgroundmusic == true then
- local sound = Instance.new('Sound',playergui)
- sound.Name = 'PSYCHOPAAAATH'
- sound.SoundId = 'rbxassetid://220875210'
- sound.Looped = true
- sound.Volume = 0.5
- sound:Play()
- end
- else
- finishnum = 1
- if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
- notify("PSYCHOPATH MODE OFF || [M]",false)
- for i,v in pairs(playergui:GetChildren()) do
- if v.Name == "REEEEEEEE" then
- v:Destroy()
- end
- end
- local thisniggarighthere = playergui:FindFirstChild('PSYCHOPAAAATH')
- if thisniggarighthere then thisniggarighthere:Destroy() end
- end
- end
- end
- end)
- mouse.Button1Down:connect(function()
- if active == false or usable == false then return end
- if canClick == true and acting == false then
- if mode == "stab" and finishnum == 1 then
- canClick = false
- stab()
- elseif mode == "stab" and finishnum == 15 then
- canClick = false
- stabwithpassion()
- elseif mode == "fling" then
- canClick = false
- fling()
- elseif mode == "explode" then
- canClick = false
- explode()
- elseif mode == "instasplode" then
- canClick = false
- instasplode()
- elseif mode == "finish" then
- canClick = false
- finish()
- elseif mode == "suicide" then
- canClick = false
- kysnigga()
- elseif mode == "firework" then
- canClick = false
- fireworkit()
- else
- canClick = false
- grab()
- end
- else
- if grabbed ~= nil and doing == false then
- if mode == "release" then
- if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then
- release()
- else
- hardrelease()
- end
- elseif mode == "kill" then
- if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then
- kill()
- else
- hardrelease()
- end
- elseif mode == "paralyze" then
- if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then
- paralyze()
- else
- hardrelease()
- end
- elseif mode == "throw" then
- if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then
- throw()
- else
- hardrelease()
- end
- elseif mode == "explode" then
- if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then
- throw()
- else
- hardrelease()
- end
- end
- end
- end
- end)
- knife.Touched:connect(function(hitz)
- if hitz.Parent and hitz.Parent:FindFirstChildOfClass("Humanoid") and hitz.Parent:FindFirstChild('Torso') and acting == true then
- if mode == "stab" and stabbing == true and hit == false then
- hit = true
- tone = math.random(1, 3)
- audio:Stop()
- if tone == 1 then audio.SoundId = "rbxassetid://220833967" end
- if tone == 2 then audio.SoundId = "rbxassetid://220833976" end
- if tone == 3 then audio.SoundId = "rbxassetid://220834000" end
- audio.PlaybackSpeed = 1
- audio:Play()
- killz(hitz.Parent,'Left Leg')
- killz(hitz.Parent,'Left Arm')
- killz(hitz.Parent,'Right Leg')
- killz(hitz.Parent,'Right Arm')
- elseif mode == "finish" and finishing == true then
- print('PSYCHOPATH MODE REEEEEEEEEEEEEEEE')
- tone = math.random(1, 3)
- audio:Stop()
- if tone == 1 then audio.SoundId = "rbxassetid://220833967" end
- if tone == 2 then audio.SoundId = "rbxassetid://220833976" end
- if tone == 3 then audio.SoundId = "rbxassetid://220834000" end
- audio.PlaybackSpeed = 1
- audio:Play()
- if hit == false then
- hitz.Parent:FindFirstChildOfClass('Humanoid').Health = 0
- wait()
- killz(hitz.Parent,'Head',nil,false,true)
- end
- hit = true
- elseif grabbed == nil and grabbing == true and hit == false then
- if hitz.Parent:FindFirstChildOfClass("Humanoid").Health > 0 and hitz.Parent:FindFirstChild('Torso') and hitz.Parent.Torso:FindFirstChild('Neck') then
- grabbed = hitz.Parent
- local weldz = Instance.new('Weld',point)
- weldz.Name = "Holder"
- weldz.Part0 = point
- weldz.Part1 = hitz.Parent.Torso
- weldz.C0 = CFrame.new(0,0,-1.2)
- end
- end
- end
- end)
- player.CharacterAdded:connect(function()
- usable = false
- for i,v in pairs(playergui:GetChildren()) do
- if v.Name == "REEEEEEEE" or v.Name == 'PSYCHOPAAAATH' then
- v:Destroy()
- end
- end
- end)
- while usable do
- local coru = coroutine.wrap(function()
- for i,v in pairs(knifeparts) do
- local function try()
- if v[1].Parent ~= v[2] then
- v[1].Parent = v[2]
- end
- end
- pcall(try)
- end
- if grabbed ~= nil then
- if grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then
- for i,v in pairs(grabbed:GetChildren()) do
- if v:IsA('Tool') then
- local model = Instance.new('Model',workspace)
- v.Parent = model
- model:TranslateBy(Vector3.new(3,0,0))
- end
- end
- grabbed:FindFirstChildOfClass('Humanoid').Name = "Hoomanoid"
- grabbed:FindFirstChildOfClass('Humanoid').JumpPower = 0
- grabbed:FindFirstChildOfClass('Humanoid').WalkSpeed = 0
- grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = true
- grabweld = grabbed.Torso:FindFirstChild("TargetWeld")
- if grabweld ~= nil then return end
- grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = true
- if grabbed.Torso:FindFirstChild('Left Shoulder') then
- leftshoulder = grabbed.Torso["Left Shoulder"]:Clone()
- end
- if grabbed.Torso:FindFirstChild('Right Shoulder') then
- rightshoulder = grabbed.Torso["Right Shoulder"]:Clone()
- end
- headweld = grabbed.Torso["Neck"]:Clone()
- local targetweld = Instance.new('Weld',grabbed.Torso)
- targetweld.Part0 = grabbed.Torso
- targetweld.Part1 = grabbed.Head
- targetweld.Name = "TargetWeld"
- targetweld.C0 = CFrame.new(0,1.5,0) * CFrame.Angles(0, 0, 0)
- if grabbed:FindFirstChild('Left Arm') then
- local targetweld2 = Instance.new('Weld',grabbed["Left Arm"])
- targetweld2.Part0 = grabbed.Torso
- targetweld2.Part1 = grabbed["Left Arm"]
- targetweld2.C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(0, 0, 0)
- end
- for i = 0,1,0.1 do
- if me:FindFirstChild("Left Arm") == nil or me:FindFirstChild("Torso") == nil or targetweld == nil then return end
- targetweld.C0 = targetweld.C0:lerp(CFrame.new(0, 1.5, 0)*CFrame.Angles(0.25, 0, 0), i)
- if targetweld2 then
- targetweld2.C0 = targetweld2.C0:lerp(CFrame.new(-1.5, 0.5, 0)*CFrame.Angles(0, 0, -0.55), i)
- end
- wait(0.001)
- end
- end
- end
- end)
- coru()
- wait()
- end
- end
- local coru=coroutine.wrap(function()
- nub()
- end)
- coru()
- player.CharacterAppearanceLoaded:connect(function()
- local coru =coroutine.wrap(function()
- nub()
- end)
- coru()
- end)
- while true do
- local coru=coroutine.wrap(function()
- if grabbed then
- v:FindFirstChildOfClass('Humanoid').Jump = false
- v:FindFirstChildOfClass('Humanoid').Sit = false
- v:FindFirstChildOfClass('Humanoid').JumpPower = 0
- v:FindFirstChildOfClass('Humanoid').PlatformStand = true
- v:FindFirstChildOfClass('Humanoid').Name = "No escape."
- end
- for i,v in pairs(rekt) do
- if v and v:FindFirstChildOfClass('Humanoid') then
- for a,c in pairs(v:GetChildren()) do
- if c:IsA('Tool') then
- local model = Instance.new('Model',workspace)
- c.Parent = model
- model:TranslateBy(Vector3.new(3,0,0))
- end
- end
- v:FindFirstChildOfClass('Humanoid').Jump = false
- v:FindFirstChildOfClass('Humanoid').Sit = false
- v:FindFirstChildOfClass('Humanoid').JumpPower = 0
- v:FindFirstChildOfClass('Humanoid').PlatformStand = true
- v:FindFirstChildOfClass('Humanoid').Name = "No escape."
- local thing = getplr(v)
- if thing then
- thing.CameraMinZoomDistance = 3
- end
- else
- local thing = getplr(v)
- if thing then
- thing.CameraMinZoomDistance = 0.5
- end
- table.remove(rekt,i)
- end
- end
- end)
- coru()
- local coru2 = coroutine.wrap(function()
- if curpart then
- curpoint = curpart.CFrame.p
- end
- if lastgui then
- lastgui:Destroy()
- lastgui = nil
- end
- if curpoint then
- lastgui = Instance.new('BillboardGui',player.PlayerGui)
- lastgui.AlwaysOnTop = true
- lastgui.MaxDistance = 0
- lastgui.Size = UDim2.new(5,0,5,0)
- if curpart == nil then
- lastgui.Adornee = workspace
- lastgui.StudsOffsetWorldSpace = curpoint
- else
- lastgui.Adornee = curpart
- end
- local cross = Instance.new('ImageLabel',lastgui)
- cross.BackgroundTransparency = 1
- cross.Size = UDim2.new(1,0,1,0)
- cross.Image = 'rbxassetid://316279304'
- for i,v in pairs(zombies) do
- if v:FindFirstChildOfClass('Humanoid') then
- v:FindFirstChildOfClass('Humanoid').WalkToPoint = curpoint
- end
- end
- else
- for i,v in pairs(zombies) do
- if v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Head') then
- v:FindFirstChildOfClass('Humanoid').WalkToPoint = v.Head.Position
- end
- end
- end
- end)
- coru2()
- wait()
- end
- end)
- CBRO.MouseButton1Down:connect(function()
- --[[
- Release by Rain on V3rmillion
- Please leave this header intact to encourage future script releases!
- Name: cbrohacks.lua
- Author: Autumn
- Desc: Hacky hacks for bad FPS players like me
- Enjoy!
- Usage:
- - Press Backslash to toggle the ability to see players through walls ("chams")
- - Press Caps Lock to toggle auto-aiming ("aimbot")
- - Press Right Alt once then start firing blindly in any direction to kill and make the server angry ("opk")
- Aimbot Options:
- - Press Left Bracket to switch to instant aiming mode (extremely accurate, very obvious)
- - Press Right Bracket to switch to smooth aiming mode (eased camera movement, very natural)
- ]]
- do --SIGHT
- local plr = game.Players.LocalPlayer
- local allsguis = {}
- local enabled = false
- local dohax = function(lbplr)
- wait() --make sure the character exists
- if not lbplr.Character then return end
- for _,obj in next,lbplr.Character:children() do
- if obj:IsA("BasePart") then
- local sguis = {}
- local snew = function(...)
- for _,face in next,{...} do
- local sgui = Instance.new("SurfaceGui",obj)
- sgui.Enabled = enabled
- sgui.AlwaysOnTop = true
- sgui.Face = face
- table.insert(sguis,sgui)
- sgui.AncestryChanged:connect(function()
- for i,v in next,sguis do
- if v == sgui then
- table.remove(sguis,i)
- sgui:destroy()
- end
- end
- end)
- end
- end
- snew("Front", "Back", "Left", "Right", "Top", "Bottom")
- for _,sgui in next,sguis do
- local sframe = Instance.new("Frame",sgui)
- sframe.Size = UDim2.new(1,0,1,0)
- sframe.BorderSizePixel = 0
- sframe.BackgroundTransparency = .5
- sframe.BackgroundColor3 = lbplr.TEEM.Value == plr.TEEM.Value and BrickColor.new("Really blue").Color or BrickColor.new("Really red").Color
- end
- table.insert(allsguis,sguis)
- end
- end
- end
- local connectPlayer = function(lbplr)
- if lbplr ~= plr then
- dohax(lbplr)
- lbplr.CharacterAdded:connect(function(char)
- dohax(lbplr)
- end)
- end
- end
- for _,v in next,game.Players:GetPlayers() do
- connectPlayer(v)
- end
- game.Players.PlayerAdded:connect(function(p)
- connectPlayer(p)
- end)
- game:GetService("UserInputService").InputBegan:connect(function(input)
- if input.KeyCode == Enum.KeyCode.BackSlash then
- enabled = not enabled
- for _,v in next,allsguis do
- for __,vv in next,v do
- vv.Enabled = enabled
- end
- end
- end
- end)
- end
- do --AIM
- local cam = game:GetService("Workspace").CurrentCamera
- local plrs = game:GetService("Players"):GetPlayers()
- local lplr = game:GetService("Players").LocalPlayer
- local aiming = false
- local dolerp = true
- game:GetService("RunService"):BindToRenderStep("UpdateCamera", Enum.RenderPriority.Camera.Value, function()
- if not aiming or not lplr.Character or not lplr.Character:FindFirstChild("Head") then return end
- local cchar,cdist
- for _,plr in next,plrs do
- if plr ~= lplr and plr.TEEM.Value ~= lplr.TEEM.Value then
- local char = plr.Character
- if char and char:FindFirstChild("Head") then
- local hit = workspace:FindPartOnRay(Ray.new((cam.CFrame*CFrame.new(0,0,-5)).p, char.Head.Position - (cam.CFrame*CFrame.new(0,0,-5)).p))
- if hit and hit.Parent and hit.Parent == char or hit.Parent.Parent == char then
- local dist = (char.Head.Position - lplr.Character.Head.Position).magnitude
- if cdist == nil or dist < cdist then
- cdist = dist
- cchar = char
- end
- end
- end
- end
- end
- if not cchar then return end
- cam.CFrame = dolerp and cam.CFrame:lerp(CFrame.new(cam.CFrame.p, cchar.Head.CFrame.p), .15) or CFrame.new(cam.CFrame.p, cchar.Head.CFrame.p)
- end)
- game.Players.PlayerAdded:connect(function(plr)
- table.insert(plrs,plr)
- end)
- game.Players.PlayerRemoving:connect(function(plr)
- for i,v in next,plrs do
- if v == plr then
- table.remove(plrs,i)
- end
- end
- end)
- game:GetService("UserInputService").InputBegan:connect(function(input)
- if input.KeyCode == Enum.KeyCode.CapsLock then
- aiming = not aiming
- elseif input.KeyCode == Enum.KeyCode.RightBracket then
- dolerp = true
- elseif input.KeyCode == Enum.KeyCode.LeftBracket then
- dolerp = false
- end
- end)
- end
- do --OMGWHAT
- local plr = game.Players.LocalPlayer
- game:GetService("UserInputService").InputBegan:connect(function(input)
- if input.KeyCode == Enum.KeyCode.RightAlt then
- if not plr.Character or not plr.Character:FindFirstChild("Head") then return end
- for _,v in next,game.Players:children() do
- if v ~= plr and v.TEEM.Value ~= plr.TEEM.Value and v.Character and v.Character:FindFirstChild("Head") and v.Character:FindFirstChild("Torso") and v.Character.Torso:FindFirstChild("Neck") then
- local char = v.Character
- local head = char.Head
- char.Torso["Neck"]:destroy()
- head.Anchored = true
- head.CanCollide = false
- head.Transparency = 1
- head.face:destroy()
- for _,vv in next,head:children() do
- if vv:IsA("SurfaceGui") then
- vv:destroy()
- end
- end
- local rs = game:GetService("RunService").RenderStepped:connect(function()
- head.CFrame = plr.Character.Head.CFrame*CFrame.new(0,0,-5)
- end)
- head.AncestryChanged:connect(function()
- rs:disconnect()
- end)
- plr.Character.Head.AncestryChanged:connect(function()
- rs:disconnect()
- end)
- end
- end
- end
- end)
- end
- end)
- rocky2u.MouseButton1Down:connect(function()
- --[[
- ____ _ ____ _ ____ __ __ ____
- | _ \ ___ ___| | ___ _|___ \ _ _( )___ / ___| \/ | _ \ ___
- | |_) / _ \ / __| |/ / | | | __) | | | |// __| | | | |\/| | | | / __|
- | _ < (_) | (__| <| |_| |/ __/| |_| | \__ \ | |___| | | | |_| \__ \
- |_| \_\___/ \___|_|\_\\__, |_____|\__,_| |___/ \____|_| |_|____/|___/
- |___/
- --]]
- local ADMINS = {}
- local BANS = {}
- function _G.ADD_ADMIN(ID) table.insert(ADMINS, ID) end
- function _G.ADD_BAN(ID) table.insert(BANS, ID) end
- local VERSION = 'unOfficial 1.8.1'
- local UPDATED = '2017/10/05'
- local CHANGELOG = {
- ' - Removed Patched Properties',
- ' - Removed Guest Support',
- ' - Removed Broken Shutdown Command'
- }
- local CREDITS = [[
- Rocky2u - lol
- veinyrox - ;crash
- Harkinian - half of the message function
- Moon - cmd bar addon idea
- N3xul - Fixing stuff because of Roblox Update
- ]]
- local _CORE = game:GetService('CoreGui')
- local _LIGHTING = game:GetService('Lighting')
- local _NETWORK = game:GetService('NetworkClient')
- local _PLAYERS = game:GetService('Players')
- local LP = _PLAYERS.LocalPlayer
- local MOUSE = LP:GetMouse()
- local SERVER_LOCKED = false
- local SHOWING_MESSAGE = false
- local SERVICES = {}
- SERVICES.EVENTS = {}
- local COMMANDS = {}
- local STD = {}
- local JAILED = {}
- local KICKS = {}
- local LOOPED_H = {}
- local LOOPED_K = {}
- local C_PREFIX = ';'
- local SPLIT = ' '
- local NEW = LoadLibrary('RbxUtility').Create
- function UPDATE_CHAT(PLAYER) local C = PLAYER.Chatted:connect(function(M) if CHECK_ADMIN(PLAYER) then DEXECUTE(M, PLAYER) end end) table.insert(SERVICES.EVENTS, C) end
- function STD.TABLE(T, V) if not T then return false end for i,v in pairs(T) do if v == V then return true end end return false end
- function STD.ENDAT(S, V) local SF = S:find(V) if SF then return S:sub(0, SF - string.len(V)), true else return S, false end end
- function CHECK_ADMIN(PLAYER) if FIND_IN_TABLE(ADMINS, PLAYER.userId) then return true elseif PLAYER.userId == LP.userId then return true end end
- function FCOMMAND(COMMAND) for i,v in pairs(COMMANDS) do if v.N:lower() == COMMAND:lower() or STD.TABLE(v.A, COMMAND:lower()) then return v end end end
- function GCOMMAND(M) local CMD, HS = STD.ENDAT(M:lower(), SPLIT) if HS then return {CMD, true} else return {CMD, false} end end
- function GPREFIX(STRING) if STRING:sub(1, string.len(C_PREFIX)) == C_PREFIX then return {'COMMAND', string.len(C_PREFIX) + 1} end return end
- function GARGS(STRING) local A = {} local NA = nil local HS = nil local S = STRING repeat NA, HS = STD.ENDAT(S:lower(), SPLIT) if NA ~= '' then table.insert(A, NA) S = S:sub(string.len(NA) + string.len(SPLIT) + 1) end until not HS return A end
- function GCAPARGS(STRING) local A = {} local NA = nil local HS = nil local S = STRING repeat NA, HS = STD.ENDAT(S, SPLIT) if NA ~= '' then table.insert(A, NA) S = S:sub(string.len(NA) + string.len(SPLIT) + 1) end until not HS return A end
- function ECOMMAND(STRING, SPEAKER) repeat if STRING:find(' ') then STRING = STRING:gsub(' ', ' ') end until not STRING:find(' ') local SCMD, A, CMD SCMD = GCOMMAND(STRING) CMD = FCOMMAND(SCMD[1]) if not CMD then return end A = STRING:sub(string.len(SCMD[1]) + string.len(SPLIT) + 1) local ARGS = GARGS(A) CA = GCAPARGS(A) pcall(function() CMD.F(ARGS, SPEAKER) end) end
- function DEXECUTE(STRING, SPEAKER) if not CHECK_ADMIN(SPEAKER) then return end STRING = STRING:gsub('/e ', '') local GP = GPREFIX(STRING) if not GP then return end STRING = STRING:sub(GP[2]) if GP[1] == 'COMMAND' then ECOMMAND(STRING, SPEAKER) end end
- function GLS(LOWER, START) local AA = '' for i,v in pairs(CA) do if i > START then if AA ~= '' then AA = AA .. ' ' .. v else AA = AA .. v end end end if not LOWER then return AA else return string.lower(AA) end end
- function C3(R, G, B) return Color3.new(R/255, G/255, B/255) end
- function GET_MASS(A, B) B = 0 for i,v in pairs(A:GetChildren()) do if v:IsA('BasePart') then B = B + v:GetMass() end GET_MASS(v) end return B end
- local STUFF = '[ Rocky2u\'s CMDs ] : '
- local NOCLIP, JESUSFLY, SWIM = false, false, false
- _PLAYERS.PlayerAdded:connect(function(PLAYER)
- if SERVER_LOCKED then PLAYER.CharacterAdded:connect(function() table.insert(KICKS, PLAYER) return end) end
- if FIND_IN_TABLE(BANS, PLAYER.userId) then PLAYER.CharacterAdded:connect(function() table.insert(KICKS, PLAYER) return end) end
- UPDATE_CHAT(PLAYER)
- if CHECK_ADMIN(PLAYER) then PLAYER.CharacterAdded:connect(function() game.Chat:Chat(PLAYER.Character.Head, STUFF .. 'Welcome, you\'re an admin!') end) end
- end)
- game:GetService('RunService').Stepped:connect(function()
- for i,v in pairs(_PLAYERS:GetPlayers()) do
- if FIND_IN_TABLE(KICKS, v) then KICK(v) end
- if FIND_IN_TABLE(LOOPED_H, v.Name) then
- v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
- end
- if FIND_IN_TABLE(LOOPED_K, v.Name) then
- v.Character:BreakJoints()
- end
- end
- if NOCLIP then
- if LP.Character:FindFirstChild('Humanoid') then LP.Character.Humanoid:ChangeState(11) end
- elseif JESUSFLY then
- if LP.Character:FindFirstChild('Humanoid') then LP.Character.Humanoid:ChangeState(12) end
- elseif SWIM then
- if LP.Character:FindFirstChild('Humanoid') then LP.Character.Humanoid:ChangeState(4) end
- end
- end)
- function ADD_COMMAND(N, D, A, F) table.insert(COMMANDS, {N = N, D = D, A = A, F = F}) end
- function GET_PLAYER(NAME, SPEAKER)
- local NAME_TABLE = {}
- NAME = NAME:lower()
- if NAME == 'me' then
- table.insert(NAME_TABLE, SPEAKER.Name)
- elseif NAME == 'others' then
- for i,v in pairs(_PLAYERS:GetPlayers()) do if v.Name ~= SPEAKER.Name then table.insert(NAME_TABLE, v.Name) end end
- elseif NAME == 'all' then
- for i,v in pairs(_PLAYERS:GetPlayers()) do table.insert(NAME_TABLE, v.Name) end
- elseif NAME == 'random' then
- table.insert(NAME_TABLE, _PLAYERS:GetPlayers()[math.random(1, #_PLAYERS:GetPlayers())].Name)
- elseif NAME == 'team' then
- for i,v in pairs(_PLAYERS:GetPlayers()) do if v.TeamColor == SPEAKER.TeamColor then table.insert(NAME_TABLE, v.Name) end end
- elseif NAME == 'nonadmins' then
- for i,v in pairs(_PLAYERS:GetPlayers()) do if not CHECK_ADMIN(v) then table.insert(NAME_TABLE, v.Name) end end
- elseif NAME == 'admins' then
- for i,v in pairs(_PLAYERS:GetPlayers()) do if CHECK_ADMIN(v) then table.insert(NAME_TABLE, v.Name) end end
- elseif NAME == 'nonfriends' then
- for i,v in pairs(_PLAYERS:GetPlayers()) do if not v:IsFriendsWith(SPEAKER.userId) then table.insert(NAME_TABLE, v.Name) end end
- elseif NAME == 'friends' then
- for i,v in pairs(_PLAYERS:GetPlayers()) do if v ~= SPEAKER and v:IsFriendsWith(SPEAKER.userId) then table.insert(NAME_TABLE, v.Name) end end
- elseif NAME == 'nbcs' then
- for i,v in pairs(_PLAYERS:GetPlayers()) do if v.MembershipType == Enum.MembershipType.None then table.insert(NAME_TABLE, v.Name) end end
- elseif NAME == 'bcs' then
- for i,v in pairs(_PLAYERS:GetPlayers()) do if v.MembershipType == Enum.MembershipType.BuildersClub then table.insert(NAME_TABLE, v.Name) end end
- elseif NAME == 'tbcs' then
- for i,v in pairs(_PLAYERS:GetPlayers()) do if v.MembershipType == Enum.MembershipType.TurboBuildersClub then table.insert(NAME_TABLE, v.Name) end end
- elseif NAME == 'obcs' then
- for i,v in pairs(_PLAYERS:GetPlayers()) do if v.MembershipType == Enum.MembershipType.OutrageousBuildersClub then table.insert(NAME_TABLE, v.Name) end end
- else
- for i,v in pairs(_PLAYERS:GetPlayers()) do local L_NAME = v.Name:lower() local F = L_NAME:find(NAME) if F == 1 then table.insert(NAME_TABLE, v.Name) end end
- end
- return NAME_TABLE
- end
- local SI = 'rbxasset://textures/blackBkg_square.png'
- function LOAD_DATA()
- local DATA = Instance.new('Folder')
- GUIS = Instance.new('Folder', DATA)
- HUMANOIDS = Instance.new('Folder', DATA)
- OTHER = Instance.new('Folder', DATA)
- MAIN_GUI = Instance.new('ScreenGui', GUIS)
- MAIN_GUI.Name = 'seth_main'
- NEW'TextLabel'{Name = 'main', Active = true, BackgroundColor3 = C3(0, 0, 0), BackgroundTransparency = 0.25, BorderSizePixel = 0, Position = UDim2.new(0.5, -200, 0.4, 0), Size = UDim2.new(0, 400, 0, 25), Draggable = true, Font = 'SourceSansBold', Text = ' Control Center', TextColor3 = C3(255, 255, 255), TextSize = 20, TextXAlignment = 'Left', Parent = MAIN_GUI}
- NEW'Frame'{Name = 'holder', BackgroundColor3 = C3(255, 255, 255), BackgroundTransparency = 0.25, BorderSizePixel = 0, Position = UDim2.new(0, 0, 1, 0), Size = UDim2.new(1, 25, 12, 0), Parent = MAIN_GUI.main}
- local BUTTONS = Instance.new('Folder', MAIN_GUI.main.holder) BUTTONS.Name = 'buttons'
- NEW'TextButton'{Name = 'server', BackgroundColor3 = C3(0, 0, 0), BackgroundTransparency = 0.25, BorderSizePixel = 0, Position = UDim2.new(0, 5, 0, 5), Size = UDim2.new(0, 100, 0, 30), ClipsDescendants = true, Font = 'SourceSansBold', Text = 'server info', TextColor3 = C3(255, 255, 255), TextSize = 20, Parent = BUTTONS}
- NEW'TextButton'{Name = 'admins', BackgroundColor3 = C3(0, 0, 0), BackgroundTransparency = 0.25, BorderSizePixel = 0, Position = UDim2.new(0, 110, 0, 5), Size = UDim2.new(0, 100, 0, 30), ClipsDescendants = true, Font = 'SourceSansBold', Text = 'admins', TextColor3 = C3(255, 255, 255), TextSize = 20, Parent = BUTTONS}
- NEW'TextButton'{Name = 'bans', BackgroundColor3 = C3(0, 0, 0), BackgroundTransparency = 0.25, BorderSizePixel = 0, Position = UDim2.new(0, 215, 0, 5), Size = UDim2.new(0, 100, 0, 30), ClipsDescendants = true, Font = 'SourceSansBold', Text = 'bans', TextColor3 = C3(255, 255, 255), TextSize = 20, Parent = BUTTONS}
- NEW'TextButton'{Name = 'cmds', BackgroundColor3 = C3(0, 0, 0), BackgroundTransparency = 0.25, BorderSizePixel = 0, Position = UDim2.new(0, 320, 0, 5), Size = UDim2.new(0, 100, 0, 30), ClipsDescendants = true, Font = 'SourceSansBold', Text = 'commands', TextColor3 = C3(255, 255, 255), TextSize = 20, Parent = BUTTONS}
- NEW'TextButton'{Name = 'fun', BackgroundColor3 = C3(0, 0, 0), BackgroundTransparency = 0.25, BorderSizePixel = 0, Position = UDim2.new(0, 50, 0, 40), Size = UDim2.new(0, 105, 0, 30), ClipsDescendants = true, Font = 'SourceSansBold', Text = 'fun', TextColor3 = C3(255, 255, 255), TextSize = 20, Parent = BUTTONS}
- NEW'TextButton'{Name = 'changelog', BackgroundColor3 = C3(0, 0, 0), BackgroundTransparency = 0.25, BorderSizePixel = 0, Position = UDim2.new(0, 160, 0, 40), Size = UDim2.new(0, 105, 0, 30), ClipsDescendants = true, Font = 'SourceSansBold', Text = 'changelog', TextColor3 = C3(255, 255, 255), TextSize = 20, Parent = BUTTONS}
- NEW'TextButton'{Name = 'credits', BackgroundColor3 = C3(0, 0, 0), BackgroundTransparency = 0.25, BorderSizePixel = 0, Position = UDim2.new(0, 270, 0, 40), Size = UDim2.new(0, 105, 0, 30), ClipsDescendants = true, Font = 'SourceSansBold', Text = 'credits', TextColor3 = C3(255, 255, 255), TextSize = 20, Parent = BUTTONS}
- local HOLDERS = Instance.new('Folder', MAIN_GUI.main.holder) HOLDERS.Name = 'holders'
- NEW'Frame'{Name = 'server', BackgroundColor3 = C3(0, 0, 0), BackgroundTransparency = 0.8, BorderSizePixel = 0, Position = UDim2.new(0, 5, 0, 85), Size = UDim2.new(1, -10, 0, 210), Parent = HOLDERS}
- NEW'TextLabel'{Name = 'fe', BackgroundColor3 = C3(255, 255, 255), BackgroundTransparency = 1, Size = UDim2.new(1, 0, 0, 30), Font = 'SourceSansBold', Text = ' FilteringEnabled | ', TextColor3 = C3(0, 0, 0), TextSize = 24, TextTransparency = 0.25, TextXAlignment = 'Left', Parent = HOLDERS.server}
- NEW'TextLabel'{Name = 'place_id', BackgroundColor3 = C3(255, 255, 255), BackgroundTransparency = 1, Position = UDim2.new(0, 0, 0, 90), Size = UDim2.new(1, 0, 0, 30), Font = 'SourceSansBold', Text = ' Place ID | ', TextColor3 = C3(0, 0, 0), TextSize = 24, TextTransparency = 0.25, TextXAlignment = 'Left', Parent = HOLDERS.server}
- NEW'TextLabel'{Name = 'players', BackgroundColor3 = C3(255, 255, 255), BackgroundTransparency = 1, Position = UDim2.new(0, 0, 0, 120), Size = UDim2.new(1, 0, 0, 30), Font = 'SourceSansBold', Text = ' Players | ', TextColor3 = C3(0, 0, 0), TextSize = 24, TextTransparency = 0.25, TextXAlignment = 'Left', Parent = HOLDERS.server}
- NEW'TextLabel'{Name = 'time', BackgroundColor3 = C3(255, 255, 255), BackgroundTransparency = 1, Position = UDim2.new(0, 0, 0, 60), Size = UDim2.new(1, 0, 0, 30), Font = 'SourceSansBold', Text = ' Time | ', TextColor3 = C3(0, 0, 0), TextSize = 24, TextTransparency = 0.25, TextXAlignment = 'Left', Parent = HOLDERS.server}
- NEW'TextLabel'{Name = 'gravity', BackgroundColor3 = C3(255, 255, 255), BackgroundTransparency = 1, Position = UDim2.new(0, 0, 0, 30), Size = UDim2.new(1, 0, 0, 30), Font = 'SourceSansBold', Text = ' Gravity | ', TextColor3 = C3(0, 0, 0), TextSize = 24, TextTransparency = 0.25, TextXAlignment = 'Left', Parent = HOLDERS.server}
- NEW'ScrollingFrame'{Name = 'admins', BackgroundColor3 = C3(0, 0, 0), BackgroundTransparency = 0.8, BorderSizePixel = 0, Position = UDim2.new(0, 5, 0, 85), Size = UDim2.new(1, -10, 0, 210), Visible = false, CanvasSize = UDim2.new(0, 0, 0, 0), ScrollBarThickness = 5, TopImage = SI, MidImage = SI, BottomImage = SI, Parent = HOLDERS}
- NEW'ScrollingFrame'{Name = 'bans', BackgroundColor3 = C3(0, 0, 0), BackgroundTransparency = 0.8, BorderSizePixel = 0, Position = UDim2.new(0, 5, 0, 85), Size = UDim2.new(1, -10, 0, 210), Visible = false, CanvasSize = UDim2.new(0, 0, 0, 0), ScrollBarThickness = 5, TopImage = SI, MidImage = SI, BottomImage = SI, Parent = HOLDERS}
- NEW'ScrollingFrame'{Name = 'cmds', BackgroundColor3 = C3(0, 0, 0), BackgroundTransparency = 0.8, BorderSizePixel = 0, Position = UDim2.new(0, 5, 0, 115), Size = UDim2.new(1, -10, 0, 210), Visible = false, CanvasSize = UDim2.new(0, 0, 0, 0), ScrollBarThickness = 5, TopImage = SI, MidImage = SI, BottomImage = SI, Parent = HOLDERS}
- NEW'ScrollingFrame'{Name = 'fun', BackgroundColor3 = C3(0, 0, 0), BackgroundTransparency = 0.8, BorderSizePixel = 0, Position = UDim2.new(0, 5, 0, 85), Size = UDim2.new(1, -10, 0, 210), Visible = false, CanvasSize = UDim2.new(0, 0, 0, 0), ScrollBarThickness = 5, TopImage = SI, MidImage = SI, BottomImage = SI, Parent = HOLDERS}
- NEW'ScrollingFrame'{Name = 'changelog', BackgroundColor3 = C3(0, 0, 0), BackgroundTransparency = 0.8, BorderSizePixel = 0, Position = UDim2.new(0, 5, 0, 85), Size = UDim2.new(1, -10, 0, 210), Visible = false, CanvasSize = UDim2.new(0, 0, 0, 0), ScrollBarThickness = 5, TopImage = SI, MidImage = SI, BottomImage = SI, Parent = HOLDERS}
- local Y_CHANGES = 0
- for i,v in pairs(CHANGELOG) do
- NEW'TextLabel'{Name = '', BackgroundColor3 = C3(255, 255, 255), BackgroundTransparency = 1, Position = UDim2.new(0, 0, 0, Y_CHANGES), Size = UDim2.new(1, 0, 0, 30), Font = 'SourceSansBold', Text = v, TextColor3 = C3(0, 0, 0), TextSize = 24, TextTransparency = 0.25, TextXAlignment = 'Left', Parent = HOLDERS.changelog}
- HOLDERS.changelog.CanvasSize = HOLDERS.changelog.CanvasSize + UDim2.new(0, 0, 0, 30)
- Y_CHANGES = Y_CHANGES + 30
- end
- NEW'Frame'{Name = 'credits', BackgroundColor3 = C3(0, 0, 0), BackgroundTransparency = 0.8, BorderSizePixel = 0, Position = UDim2.new(0, 5, 0, 85), Size = UDim2.new(1, -10, 0, 210), Visible = false, Parent = HOLDERS}
- NEW'TextLabel'{Name = 'text', BackgroundColor3 = C3(0, 0, 0), BackgroundTransparency = 1, BorderSizePixel = 0, Size = UDim2.new(1, 0, 1, 0), Font = 'SourceSansBold', Text = CREDITS, TextColor3 = C3(0, 0, 0), TextSize = 24, TextTransparency = 0.25, TextXAlignment = 'Left', TextYAlignment = 'Top', Parent = HOLDERS.credits}
- NEW'TextBox'{Name = 'search', BackgroundColor3 = C3(0, 0, 0), BackgroundTransparency = 0.25, BorderSizePixel = 0, Position = UDim2.new(0.25, 0, 0, 85), Size = UDim2.new(0.5, 0, 0, 25), Visible = false, Font = 'SourceSansBold', Text = 'search commands', TextColor3 = C3(255, 255, 255), TextSize = 20, Parent = HOLDERS}
- NEW'Frame'{Name = 'line', BackgroundColor3 = C3(0, 0, 0), BackgroundTransparency = 0.25, BorderSizePixel = 0, Position = UDim2.new(0, 5, 0, 75), Size = UDim2.new(1, -10, 0, 5), Parent = MAIN_GUI.main.holder}
- NEW'TextButton'{Name = 'close', BackgroundColor3 = C3(255, 50, 50), BackgroundTransparency = 0.25, BorderSizePixel = 0, Position = UDim2.new(1, 0, 0, 0), Size = UDim2.new(0, 25, 0, 25), Text = '', Parent = MAIN_GUI.main}
- CMD_BAR_H = Instance.new('ScreenGui', GUIS)
- CMD_BAR_H.Name = 'cmdbar_seth'
- NEW'TextBox'{Name = 'bar', BackgroundColor3 = C3(0, 0, 0), BackgroundTransparency = 0.5, BorderSizePixel = 0, Position = UDim2.new(0, -200, 1, -50), Size = UDim2.new(0, 225, 0, 25), Font = 'SourceSansItalic', Text = 'press ; to execute a command', TextColor3 = C3(255, 255, 255), TextSize = 20, Parent = CMD_BAR_H}
- NEW'ScrollingFrame'{Name = 'commands', BackgroundColor3 = C3(50, 50, 50), BackgroundTransparency = 0.5, BorderSizePixel = 0, Position = UDim2.new(0, 0, 1, -25), Size = UDim2.new(1, 0, 0, 0), Visible = false, CanvasSize = UDim2.new(0, 0, 0, 0), ScrollBarThickness = 6, ScrollingEnabled = true, BottomImage = SI, MidImage = SI, TopImage = SI, Parent = CMD_BAR_H.bar}
- NEW'TextLabel'{Name = 'commands_ex', BackgroundTransparency = 1, BorderSizePixel = 0, Size = UDim2.new(0, 200, 0, 20), Visible = false, Font = 'SourceSansBold', TextColor3 = C3(255, 255, 255), TextSize = 18, TextXAlignment = 'Left', Parent = CMD_BAR_H.bar}
- local NOTIFY_H = Instance.new('ScreenGui', GUIS)
- NOTIFY_H.Name = 'notify_seth'
- local N = Instance.new('Frame', NOTIFY_H)
- N.Name = 'notify'
- N.BackgroundColor3 = C3(0, 0, 0)
- N.BackgroundTransparency = 0.5
- N.BorderSizePixel = 0
- N.Position = UDim2.new(0, -225, 0.6, 0)
- N.Size = UDim2.new(0, 225, 0, 30)
- local BAR = Instance.new('Frame', N)
- BAR.Name = ''
- BAR.BackgroundColor3 = C3(255, 255, 255)
- BAR.BackgroundTransparency = 0.5
- BAR.BorderSizePixel = 0
- BAR.Position = UDim2.new(0, 0, 1, 0)
- BAR.Size = UDim2.new(1, 0, 0, 5)
- local TEXT = Instance.new('TextLabel', N)
- TEXT.Name = 'text'
- TEXT.BackgroundTransparency = 1
- TEXT.BorderSizePixel = 0
- TEXT.Size = UDim2.new(1, 0, 1, 0)
- TEXT.Font = 'SourceSansBold'
- TEXT.TextColor3 = C3(255, 255, 255)
- TEXT.TextSize = 18
- TEXT.TextXAlignment = 'Left'
- PAPER_MESH = Instance.new('BlockMesh', OTHER)
- PAPER_MESH.Scale = Vector3.new(1, 1, 0.1)
- JAIL = Instance.new('Model', OTHER)
- JAIL.Name = 'JAIL'
- local B = Instance.new('Part', JAIL)
- B.Name = 'BUTTOM'
- B.BrickColor = BrickColor.new('Black')
- B.Transparency = 0.5
- B.Anchored = true
- B.Locked = true
- B.Size = Vector3.new(6, 1, 6)
- B.TopSurface = 'Smooth'
- B.BottomSurface = 'Smooth'
- local M = Instance.new('Part', JAIL)
- M.Name = 'MAIN'
- M.BrickColor = BrickColor.new('Black')
- M.Transparency = 1
- M.Anchored = true
- M.CanCollide = false
- M.Locked = true
- M.Position = B.Position + Vector3.new(0, 3, 0)
- M.Size = Vector3.new(1, 1, 1)
- local P1 = Instance.new('Part', JAIL)
- P1.BrickColor = BrickColor.new('Black')
- P1.Transparency = 1
- P1.Position = B.Position + Vector3.new(0, 3.5, -2.5)
- P1.Rotation = Vector3.new(0, 90, 0)
- P1.Anchored = true
- P1.Locked = true
- P1.Size = Vector3.new(1, 6, 6)
- local P2 = Instance.new('Part', JAIL)
- P2.BrickColor = BrickColor.new('Black')
- P2.Transparency = 1
- P2.Position = B.Position + Vector3.new(-2.5, 3.5, 0)
- P2.Rotation = Vector3.new(-180, 0, -180)
- P2.Anchored = true
- P2.Locked = true
- P2.Size = Vector3.new(1, 6, 4)
- local P3 = Instance.new('Part', JAIL)
- P3.BrickColor = BrickColor.new('Black')
- P3.Transparency = 1
- P3.Position = B.Position + Vector3.new(2.5, 3.5, 0)
- P3.Rotation = Vector3.new(0, 0, 0)
- P3.Anchored = true
- P3.Locked = true
- P3.Size = Vector3.new(1, 6, 4)
- local P4 = Instance.new('Part', JAIL)
- P4.BrickColor = BrickColor.new('Black')
- P4.Transparency = 1
- P4.Position = B.Position + Vector3.new(0, 3.5, 2.5)
- P4.Rotation = Vector3.new(0, 90, 0)
- P4.Anchored = true
- P4.Locked = true
- P4.Size = Vector3.new(1, 6, 4)
- local TOP = Instance.new('Part', JAIL)
- TOP.BrickColor = BrickColor.new('Black')
- TOP.Transparency = 0.5
- TOP.Position = B.Position + Vector3.new(0, 7, 0)
- TOP.Rotation = Vector3.new(0, 0, 0)
- TOP.Anchored = true
- TOP.Locked = true
- TOP.Size = Vector3.new(6, 1, 6)
- TOP.TopSurface = 'Smooth'
- TOP.BottomSurface = 'Smooth'
- ROCKET = Instance.new('Part', OTHER)
- ROCKET.Name = 'rocket_seth'
- ROCKET.CanCollide = false
- ROCKET.Size = Vector3.new(2, 5, 2)
- Instance.new('CylinderMesh', ROCKET)
- local F = Instance.new('Part', ROCKET)
- F.BrickColor = BrickColor.new('Black')
- F.CanCollide = false
- F.Size = Vector3.new(2, 0.2, 2)
- Instance.new('CylinderMesh', F)
- local PE = Instance.new('ParticleEmitter', F)
- PE.Color = ColorSequence.new(C3(236, 139, 70), C3(236, 139, 70))
- PE.Size = NumberSequence.new(0.2)
- PE.Texture = 'rbxassetid://17238048'
- PE.LockedToPart = true
- PE.Lifetime = NumberRange.new(0.2)
- PE.Rate = 50
- PE.Speed = NumberRange.new(-20)
- local TOP = Instance.new('Part', ROCKET)
- TOP.CanCollide = false
- TOP.Shape = 'Ball'
- TOP.Size = Vector3.new(2, 2, 2)
- TOP.TopSurface = 'Smooth'
- TOP.BottomSurface = 'Smooth'
- local BF = Instance.new('BodyForce', ROCKET)
- BF.Name = 'force'
- BF.Force = Vector3.new(0, 0, 0)
- local W1 = Instance.new('Weld', ROCKET)
- W1.Part0 = ROCKET
- W1.Part1 = F
- W1.C1 = CFrame.new(0, 2.6, 0)
- local W2 = Instance.new('Weld', ROCKET)
- W2.Part0 = ROCKET
- W2.Part1 = TOP
- W2.C1 = CFrame.new(0, -2.6, 0)
- ALIEN_H = Instance.new('Accessory', OTHER)
- local H = Instance.new('Part', ALIEN_H)
- H.Name = 'Handle'
- H.Size = Vector3.new(2, 2.4, 2)
- local HA = Instance.new('Attachment', H)
- HA.Name = 'HatAttachment'
- HA.Position = Vector3.new(0, 0.15, 0)
- local SM = Instance.new('SpecialMesh', H)
- SM.MeshId = 'rbxassetid://13827689'
- SM.MeshType = 'FileMesh'
- SM.Scale = Vector3.new(1, 1.02, 1)
- SM.TextureId = 'rbxassetid://13827796'
- local S = Instance.new('Model', OTHER) S.Name = 'swastika'
- NEW'Part'{BrickColor = BrickColor.new('Really red'), Material = 'Plastic', Anchored = true, CanCollide = false, Size = Vector3.new(2, 2, 2), BottomSurface = 'Smooth', TopSurface = 'Smooth', Parent = S}
- NEW'Part'{BrickColor = BrickColor.new('Really red'), Material = 'Plastic', Position = Vector3.new(0, 3, 0), Anchored = true, CanCollide = false, Size = Vector3.new(2, 4, 2), BottomSurface = 'Smooth', TopSurface = 'Smooth', Parent = S}
- NEW'Part'{BrickColor = BrickColor.new('Really red'), Material = 'Plastic', Position = Vector3.new(3, 0, 0), Anchored = true, CanCollide = false, Size = Vector3.new(4, 2, 2), BottomSurface = 'Smooth', TopSurface = 'Smooth', Parent = S}
- NEW'Part'{BrickColor = BrickColor.new('Really red'), Material = 'Plastic', Position = Vector3.new(0, -3, 0), Anchored = true, CanCollide = false, Size = Vector3.new(2, 4, 2), BottomSurface = 'Smooth', TopSurface = 'Smooth', Parent = S}
- NEW'Part'{BrickColor = BrickColor.new('Really red'), Material = 'Plastic', Position = Vector3.new(-3, 0, 0), Anchored = true, CanCollide = false, Size = Vector3.new(4, 2, 2), BottomSurface = 'Smooth', TopSurface = 'Smooth', Parent = S}
- NEW'Part'{BrickColor = BrickColor.new('Really red'), Material = 'Plastic', Position = Vector3.new(3, 4, 0), Anchored = true, CanCollide = false, Size = Vector3.new(4, 2, 2), BottomSurface = 'Smooth', TopSurface = 'Smooth', Parent = S}
- NEW'Part'{BrickColor = BrickColor.new('Really red'), Material = 'Plastic', Position = Vector3.new(4, -3, 0), Anchored = true, CanCollide = false, Size = Vector3.new(2, 4, 2), BottomSurface = 'Smooth', TopSurface = 'Smooth', Parent = S}
- NEW'Part'{BrickColor = BrickColor.new('Really red'), Material = 'Plastic', Position = Vector3.new(-3, -4, 0), Anchored = true, CanCollide = false, Size = Vector3.new(4, 2, 2), BottomSurface = 'Smooth', TopSurface = 'Smooth', Parent = S}
- NEW'Part'{BrickColor = BrickColor.new('Really red'), Material = 'Plastic', Position = Vector3.new(-4, 3, 0), Anchored = true, CanCollide = false, Size = Vector3.new(2, 4, 2), BottomSurface = 'Smooth', TopSurface = 'Smooth', Parent = S}
- CMD_BAR_H.Parent = _CORE
- end
- local RS = game:GetService('RunService').RenderStepped
- function OPEN_MAIN()
- SETH_MAIN = MAIN_GUI:Clone()
- local BUTTONS = SETH_MAIN.main.holder.buttons
- local HOLDERS = SETH_MAIN.main.holder.holders
- for i,v in pairs(SETH_MAIN.main.holder.buttons:GetChildren()) do
- v.MouseButton1Down:connect(function(X, Y)
- OPEN_TAB(v.Name)
- if not v:FindFirstChild('circle') then
- local C = Instance.new('ImageLabel', v)
- C.BackgroundTransparency = 1
- C.Position = UDim2.new(0, X - 0, 0, Y - 35) - UDim2.new(0, v.AbsolutePosition.X, 0, v.AbsolutePosition.Y)
- C.Size = UDim2.new(0, 0, 0, 0)
- C.ZIndex = v.ZIndex
- C.Image = 'rbxassetid://200182847'
- C.ImageColor3 = C3(0, 100, 255)
- C.Name = 'circle'
- C:TweenSizeAndPosition(UDim2.new(0, 500, 0, 500), C.Position - UDim2.new(0, 250, 0, 250), 'Out', 'Quart', 2.5)
- for i = 0, 1, 0.03 do
- C.ImageTransparency = i
- RS:wait()
- end
- C:destroy()
- end
- end)
- end
- HOLDERS.server.place_id.Text = ' Place ID | ' .. game.PlaceId
- game:GetService('RunService').Stepped:connect(function()
- if SETH_MAIN:FindFirstChild('main') and HOLDERS:FindFirstChild('server') then
- if not workspace.FilteringEnabled then
- HOLDERS.server.fe.Text = ' FilteringEnabled | false'
- else
- HOLDERS.server.fe.Text = ' FilteringEnabled | true'
- end
- HOLDERS.server.players.Text = ' Players | ' .. _PLAYERS.NumPlayers .. '/' .. _PLAYERS.MaxPlayers
- HOLDERS.server.time.Text = ' Time | ' .. _LIGHTING.TimeOfDay
- HOLDERS.server.gravity.Text = ' Gravity | ' .. workspace.Gravity
- end
- end)
- function UPDATE_ADMINS()
- HOLDERS.admins:ClearAllChildren()
- HOLDERS.admins.CanvasSize = UDim2.new(0, 0, 0, 0)
- local Y_ADMINS = 5
- for i,v in pairs(ADMINS) do
- NEW'TextLabel'{Name = v, BackgroundColor3 = C3(255, 255, 255), BackgroundTransparency = 1, Position = UDim2.new(0, 0, 0, Y_ADMINS), Size = UDim2.new(1, -30, 0, 25), Font = 'SourceSansBold', TextColor3 = C3(0, 0, 0), TextSize = 24, TextTransparency = 0.25, TextXAlignment = 'Left', Parent = HOLDERS.admins}
- NEW'TextButton'{Name = 'update', BackgroundColor3 = C3(255, 50, 50), BackgroundTransparency = 0.25, BorderSizePixel = 0, Position = UDim2.new(1, 0, 0, 0), Size = UDim2.new(0, 25, 0, 25), Text = '', Parent = HOLDERS.admins[v]}
- HOLDERS.admins[v].update.MouseButton1Down:connect(function()
- table.remove(ADMINS, i)
- UPDATE_ADMINS()
- end)
- HOLDERS.admins.CanvasSize = HOLDERS.admins.CanvasSize + UDim2.new(0, 0, 0, 30)
- Y_ADMINS = Y_ADMINS + 30
- end
- HOLDERS.admins.CanvasSize = HOLDERS.admins.CanvasSize + UDim2.new(0, 0, 0, 5)
- spawn(function()
- for i,v in pairs(HOLDERS.admins:GetChildren()) do
- v.Text = ' ' .. _PLAYERS:GetNameFromUserIdAsync(v.Name)
- end
- end)
- end
- UPDATE_ADMINS()
- function UPDATE_BANS()
- HOLDERS.bans:ClearAllChildren()
- HOLDERS.bans.CanvasSize = UDim2.new(0, 0, 0, 0)
- local Y_BANS = 5
- for i,v in pairs(BANS) do
- NEW'TextLabel'{Name = v, BackgroundColor3 = C3(255, 255, 255), BackgroundTransparency = 1, Position = UDim2.new(0, 0, 0, Y_BANS), Size = UDim2.new(1, -30, 0, 25), Font = 'SourceSansBold', Text = '', TextColor3 = C3(0, 0, 0), TextSize = 24, TextTransparency = 0.25, TextXAlignment = 'Left', Parent = HOLDERS.bans}
- NEW'TextButton'{Name = 'update', BackgroundColor3 = C3(255, 50, 50), BackgroundTransparency = 0.25, BorderSizePixel = 0, Position = UDim2.new(1, 0, 0, 0), Size = UDim2.new(0, 25, 0, 25), Text = '', Parent = HOLDERS.bans[v]}
- HOLDERS.bans[v].update.MouseButton1Down:connect(function()
- table.remove(BANS, i)
- UPDATE_BANS()
- end)
- HOLDERS.bans.CanvasSize = HOLDERS.bans.CanvasSize + UDim2.new(0, 0, 0, 30)
- Y_BANS = Y_BANS + 30
- end
- HOLDERS.bans.CanvasSize = HOLDERS.bans.CanvasSize + UDim2.new(0, 0, 0, 5)
- spawn(function()
- for i,v in pairs(HOLDERS.bans:GetChildren()) do
- v.Text = ' ' .. _PLAYERS:GetNameFromUserIdAsync(v.Name)
- end
- end)
- end
- UPDATE_BANS()
- local function DISPLAY_CMDS()
- local Y_COMMANDS = 0
- for i,v in pairs(COMMANDS) do
- NEW'TextLabel'{Name = '', BackgroundColor3 = C3(255, 255, 255), BackgroundTransparency = 1, Position = UDim2.new(0, 0, 0, Y_COMMANDS), Size = UDim2.new(1, 0, 0, 25), Font = 'SourceSansBold', Text = ' ' .. v.D, TextColor3 = C3(0, 0, 0), TextSize = 24, TextTransparency = 0.25, TextXAlignment = 'Left', Parent = HOLDERS.cmds}
- HOLDERS.cmds.CanvasSize = HOLDERS.cmds.CanvasSize + UDim2.new(0, 0, 0, 25)
- Y_COMMANDS = Y_COMMANDS + 25
- end
- end
- DISPLAY_CMDS()
- HOLDERS.search.Changed:connect(function()
- if SETH_MAIN:FindFirstChild('main') and SETH_MAIN.main.holder.holders:FindFirstChild('search') then
- if HOLDERS.search.Text ~= 'search commands' and HOLDERS.search.Focused then
- if HOLDERS.search.Text ~= '' then
- if not HOLDERS.search.Text:find(' ') then
- HOLDERS.cmds:ClearAllChildren()
- HOLDERS.cmds.CanvasSize = UDim2.new(0, 0, 0, 0)
- local Y_COMMANDS = 0
- for i,v in pairs(COMMANDS) do
- if v.N:find(HOLDERS.search.Text) then
- HOLDERS.cmds.CanvasSize = HOLDERS.cmds.CanvasSize + UDim2.new(0, 0, 0, 25)
- NEW'TextLabel'{Name = '', BackgroundColor3 = C3(255, 255, 255), BackgroundTransparency = 1, Position = UDim2.new(0, 0, 0, Y_COMMANDS), Size = UDim2.new(1, 0, 0, 25), Font = 'SourceSansBold', Text = ' ' .. v.D, TextColor3 = C3(0, 0, 0), TextSize = 24, TextTransparency = 0.25, TextXAlignment = 'Left', Parent = HOLDERS.cmds}
- HOLDERS.changelog.CanvasSize = HOLDERS.changelog.CanvasSize + UDim2.new(0, 0, 0, 25)
- Y_COMMANDS = Y_COMMANDS + 25
- end
- end
- end
- else
- HOLDERS.cmds:ClearAllChildren()
- HOLDERS.cmds.CanvasSize = UDim2.new(0, 0, 0, 0)
- DISPLAY_CMDS()
- end
- end
- end
- end)
- local FUN = {'balefire', 'swastika', 'trowel', 'path giver', 'orbital strike'}
- local Y_FUN = 5
- for i,v in pairs(FUN) do
- NEW'TextLabel'{Name = v, BackgroundColor3 = C3(255, 255, 255), BackgroundTransparency = 1, Position = UDim2.new(0, 0, 0, Y_FUN), Size = UDim2.new(1, -50, 0, 25), Font = 'SourceSansBold', Text = ' ' .. v, TextColor3 = C3(0, 0, 0), TextSize = 24, TextTransparency = 0.25, TextXAlignment = 'Left', Parent = HOLDERS.fun}
- HOLDERS.fun.CanvasSize = HOLDERS.fun.CanvasSize + UDim2.new(0, 0, 0, 30)
- Y_FUN = Y_FUN + 30
- end
- HOLDERS.fun.CanvasSize = HOLDERS.fun.CanvasSize + UDim2.new(0, 0, 0, 5)
- for i,v in pairs(HOLDERS.fun:GetChildren()) do
- NEW'TextButton'{Name = 'load', BackgroundColor3 = C3(50, 50, 255), BackgroundTransparency = 0.25, BorderSizePixel = 0, Position = UDim2.new(1, 0, 0, 0), Size = UDim2.new(0, 45, 0, 25), ClipsDescendants = true, Font = 'SourceSansBold', Text = 'load', TextColor3 = C3(255, 255, 255), TextSize = 20, Parent = v}
- v.load.MouseButton1Down:connect(function()
- if v.Name == 'balefire' then LOAD_BALEFIRE()
- elseif v.Name == 'swastika' then local S = OTHER.swastika:Clone() S.Parent = workspace S:MoveTo(LP.Character.Head.Position + Vector3.new(0, 10, 0))
- elseif v.Name == 'trowel' then LOAD_TROWEL()
- elseif v.Name == 'path giver' then LOAD_PATH()
- elseif v.Name == 'orbital strike' then LOAD_STRIKE()
- end
- end)
- end
- SETH_MAIN.main.close.MouseButton1Down:connect(function()
- SETH_MAIN:destroy()
- end)
- SETH_MAIN.Parent = _CORE
- end
- LOAD_DATA()
- --/ TOOLS
- function LOAD_BALEFIRE()
- local HB = Instance.new('HopperBin', LP.Backpack)
- HB.Name = 'balefire'
- local function BF(P)
- for i = 1, 50 do
- local E = Instance.new('Explosion', workspace)
- E.BlastRadius = 3
- E.BlastPressure = 999999
- E.Position = LP.Character.Torso.CFrame.p + ((P - LP.Character.Torso.CFrame.p).unit * 6 * i) + ((P - LP.Character.Torso.CFrame.p).unit * 7)
- end
- end
- FIRED = false
- local function FIRE(M)
- if not FIRED then
- FIRED = true
- BF(M.Hit.p)
- wait(0.25)
- FIRED = false
- end
- end
- HB.Selected:connect(function(M)
- M.Button1Down:connect(function()
- FIRE(M)
- end)
- end)
- end
- function LOAD_TROWEL()
- local T = Instance.new('Tool', LP.Backpack) T.Name = 'trowel'
- NEW'Part'{Name = 'Handle', Size = Vector3.new(1, 4.4, 1), Parent = T}
- NEW'SpecialMesh'{MeshId = 'rbxasset://fonts/trowel.mesh', MeshType = 'FileMesh', TextureId = 'rbxasset://textures/TrowelTexture.png', Parent = T.Handle}
- NEW'Sound'{Name = 'build', SoundId = 'rbxasset://sounds//bass.wav', Volume = 1, Parent = T.Handle}
- local HEIGHT = 5
- local SPEED = 0.05
- local WIDTH = 15
- function BRICK(CF, P, C)
- local B = Instance.new('Part')
- B.BrickColor = C
- B.CFrame = CF * CFrame.new(P + B.Size / 2)
- B.Parent = game.Workspace
- B:MakeJoints()
- B.Material = 'Neon'
- return B, P + B.Size
- end
- function BW(CF)
- local BC = BrickColor.Random()
- local B = {}
- assert(WIDTH > 0)
- local Y = 0
- while Y < HEIGHT do
- local P
- local X = -WIDTH / 2
- while X < WIDTH / 2 do
- local brick
- brick, P = BRICK(CF, Vector3.new(X, Y, 0), BC)
- X = P.x
- table.insert(B, brick)
- wait(SPEED)
- end
- Y = P.y
- end
- return B
- end
- function S(A)
- if math.abs(A.x) > math.abs(A.z) then
- if A.x > 0 then
- return Vector3.new(1, 0, 0)
- else
- return Vector3.new(-1, 0, 0)
- end
- else
- if A.z > 0 then
- return Vector3.new(0, 0, 1)
- else
- return Vector3.new(0, 0, -1)
- end
- end
- end
- T.Enabled = true
- T.Activated:connect(function()
- if T.Enabled and LP.Character:FindFirstChild('Humanoid') then
- T.Enabled = false
- T.Handle.build:Play()
- BW(CFrame.new(LP.Character.Humanoid.TargetPoint, LP.Character.Humanoid.TargetPoint + S((LP.Character.Humanoid.TargetPoint - LP.Character.Head.Position).unit)))
- T.Enabled = true
- end
- end)
- end
- function LOAD_PATH()
- local HB = Instance.new('HopperBin', LP.Backpack) HB.Name = 'path giver'
- local function PATH(M, C)
- if ENABLED and LP.Character then
- if not workspace:FindFirstChild('paths_seth') then Instance.new('Folder', workspace).Name = 'paths_seth' end
- local hit = M.Target
- local point = M.Hit.p
- local P = Instance.new('Part', workspace.paths_seth)
- P.BrickColor = C
- P.Material = 'Neon'
- P.Transparency = 0.75
- P.Anchored = true
- P.Size = Vector3.new(20, 1, 20)
- P.Velocity = M.Hit.lookVector * 75
- P.BottomSurface = 'Smooth'
- P.TopSurface = 'Smooth'
- P.CFrame = CFrame.new(LP.Character.Head.Position)
- P.CFrame = CFrame.new(LP.Character.Torso.Position.x, LP.Character.Torso.Position.y - 4, LP.Character.Torso.Position.z)
- P.CFrame = CFrame.new(P.Position, point)
- wait()
- PATH(M, C)
- end
- end
- local function SELECTED(M)
- M.Button1Down:connect(function() ENABLED = true PATH(M, BrickColor.Random()) end)
- M.Button1Up:connect(function() ENABLED = false end)
- M.KeyDown:connect(function(K) if K == 'r' then if workspace:FindFirstChild('paths_seth') then workspace.paths_seth:destroy() end end end)
- end
- HB.Selected:connect(SELECTED)
- end
- function LOAD_STRIKE()
- local HB = Instance.new('HopperBin', LP.Backpack) HB.Name = 'orbital strike'
- local function SHOOT(T)
- if ENABLED then
- local P0 = CFrame.new(0, 1500, 0)
- P0 = P0 + ((P0 * CFrame.fromEulerAnglesXYZ(math.pi / 2, 0, 0)).lookVector * 0.5) + (P0 * CFrame.fromEulerAnglesXYZ(0, math.pi / 2, 0)).lookVector
- local P1 = P0 + ((P0.p - T.Hit.p).unit * -2)
- SATELITE.CFrame = CFrame.new((P0.p + P1.p) / 2, P0.p) * CFrame.fromEulerAnglesXYZ(-math.pi / 2, 0, 0)
- local M = Instance.new('Model', workspace)
- NEW'Part'{BrickColor = BrickColor.new('Pink'), Material = 'Neon', CFrame = CFrame.new((SATELITE.CFrame.p + T.Hit.p) / 2, SATELITE.CFrame.p), Anchored = true, CanCollide = false, Size = Vector3.new(1, 1, 1), Parent = M}
- NEW'BlockMesh'{Scale = Vector3.new(1, 1, (SATELITE.CFrame.p - T.Hit.p).magnitude), Parent = M.Part}
- NEW'Explosion'{Position = T.Hit.p, BlastRadius = 20, Parent = workspace}
- for i = 1,10 do M.Part.Transparency = 0.5 + (i * 0.05) wait(0.05) end
- M:destroy()
- end
- end
- HB.Selected:connect(function(M)
- if not workspace:FindFirstChild('orbital_seth') then
- SATELITE = Instance.new('Part', workspace)
- SATELITE.Name = 'orbital_seth'
- SATELITE.Position = Vector3.new(0, 1500, 0)
- SATELITE.Anchored = true
- SATELITE.CanCollide = false
- SATELITE.Size = Vector3.new(5, 16.8, 5)
- NEW'SpecialMesh'{MeshId = 'rbxassetid://1064328', Scale = Vector3.new(0.2, 0.2, 0.2), Parent = SATELITE}
- end
- M.Button1Down:connect(function() ENABLED = true SHOOT(M) end)
- M.Button1Up:connect(function() ENABLED = false end)
- end)
- end
- function FIND_IN_TABLE(TABLE, NAME)
- for i,v in pairs(TABLE) do
- if v == NAME then
- return true
- end
- end
- return false
- end
- function GET_IN_TABLE(TABLE, NAME)
- for i = 1, #TABLE do
- if TABLE[i] == NAME then
- return i
- end
- end
- return false
- end
- local NOTIFY_1 = false
- local NOTIFY_2 = false
- function NOTIFY(M, R, G, B)
- spawn(function()
- repeat wait() until not NOTIFY_1
- local NOTIFY_SETH = GUIS.notify_seth:Clone() NOTIFY_SETH.Parent = _CORE
- if NOTIFY_SETH then
- NOTIFY_SETH.notify[''].BackgroundColor3 = C3(R, G, B)
- NOTIFY_SETH.notify.text.Text = ' ' .. M
- repeat wait() until not NOTIFY_1
- NOTIFY_1 = true
- wait(0.5)
- NOTIFY_SETH.notify:TweenPosition(UDim2.new(0, 0, 0.6, 0), 'InOut', 'Quad', 0.4, false) wait(0.5)
- wait(0.5)
- repeat wait() until not NOTIFY_2
- NOTIFY_1 = false
- NOTIFY_SETH.notify:TweenPosition(UDim2.new(0, 0, 0.6, -40), 'InOut', 'Quad', 0.4, false) wait(0.5)
- wait(0.5)
- NOTIFY_2 = true
- wait(2.5)
- NOTIFY_SETH.notify:TweenPosition(UDim2.new(0, -225, 0.6, -40), 'InOut', 'Quad', 0.4, false) wait(0.5)
- end
- wait(1)
- NOTIFY_SETH:destroy()
- NOTIFY_2 = false
- end)
- end
- function KICK(P)
- spawn(function()
- for i = 1,5 do
- if P.Character and P.Character:FindFirstChild('HumanoidRootPart') and P.Character:FindFirstChild('Torso') then
- P.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
- local SP = Instance.new('SkateboardPlatform', P.Character) SP.Position = P.Character.HumanoidRootPart.Position SP.Transparency = 1
- spawn(function()
- repeat wait()
- if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then SP.Position = P.Character.HumanoidRootPart.Position end
- until not _PLAYERS:FindFirstChild(P.Name)
- end)
- P.Character.Torso.Anchored = true
- end
- end
- end)
- end
- _PLAYERS.PlayerRemoving:connect(function(P)
- if FIND_IN_TABLE(KICKS, P) then
- for i,v in pairs(KICKS) do if v == P then table.remove(KICKS, i) end end
- NOTIFY('KICKED ' .. P.Name, 255, 255, 255)
- end
- if FIND_IN_TABLE(JAILED, P.Name) then
- for i,v in pairs(JAILED) do if v == P.Name then table.remove(KICKS, i) end end
- end
- end)
- function FIX_LIGHTING()
- _LIGHTING.Ambient = C3(0.5, 0.5, 0.5)
- _LIGHTING.Brightness = 1
- _LIGHTING.GlobalShadows = true
- _LIGHTING.Outlines = false
- _LIGHTING.TimeOfDay = 14
- _LIGHTING.FogEnd = 100000
- end
- function COLOR(PLAYER, BCOLOR)
- for i,v in pairs(PLAYER.Character:GetChildren()) do if v:IsA('Shirt') or v:IsA('Pants') then v:destroy() elseif v:IsA('ShirtGraphic') then v.Archivable = false v.Graphic = '' end end
- for i,v in pairs(PLAYER.Character.Head:GetChildren()) do if v:IsA('Decal') then v:destroy() end end
- for i,v in pairs(PLAYER.Character:GetChildren()) do
- if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
- v.BrickColor = BrickColor.new(BCOLOR)
- elseif v:IsA('Accessory') then
- v.Handle.BrickColor = BrickColor.new(BCOLOR)
- for a,b in pairs(v.Handle:GetChildren()) do
- if b:IsA('SpecialMesh') then
- b.TextureId = ''
- end
- end
- end
- end
- end
- function LAG(PLAYER)
- local POS = CFrame.new(math.random(-100000, 100000), math.random(-100000, 100000), math.random(-100000, 100000))
- spawn(function()
- repeat wait()
- if PLAYER and PLAYER.Character then
- PLAYER.CameraMode = 'LockFirstPerson'
- PLAYER.Character.HumanoidRootPart.CFrame = POS
- PLAYER.Character.Torso.Anchored = true
- Instance.new('ForceField', PLAYER.Character)
- Instance.new('Smoke', PLAYER.Character.Head)
- end
- until not _PLAYERS:FindFirstChild(PLAYER.Name)
- end)
- end
- local FLYING = false
- if LP.Character and LP.Character:FindFirstChild('Humanoid') then
- LP.Character.Humanoid.Died:connect(function() FLYING = false end)
- end
- function sFLY()
- repeat wait() until LP and LP.Character and LP.Character:FindFirstChild('Torso') and LP.Character:FindFirstChild('Humanoid')
- repeat wait() until MOUSE
- local T = LP.Character.Torso
- local CONTROL = {F = 0, B = 0, L = 0, R = 0}
- local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
- local SPEED = 0
- local function FLY()
- FLYING = true
- local BG = Instance.new('BodyGyro', T)
- local BV = Instance.new('BodyVelocity', T)
- BG.P = 9e4
- BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
- BG.cframe = T.CFrame
- BV.velocity = Vector3.new(0, 0.1, 0)
- BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
- spawn(function()
- repeat wait()
- LP.Character.Humanoid.PlatformStand = true
- if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then
- SPEED = 50
- elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then
- SPEED = 0
- end
- if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then
- BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (CONTROL.F + CONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(CONTROL.L + CONTROL.R, (CONTROL.F + CONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * 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 SPEED ~= 0 then
- BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R, (lCONTROL.F + lCONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
- else
- BV.velocity = Vector3.new(0, 0.1, 0)
- end
- BG.cframe = workspace.CurrentCamera.CoordinateFrame
- until not FLYING
- CONTROL = {F = 0, B = 0, L = 0, R = 0}
- lCONTROL = {F = 0, B = 0, L = 0, R = 0}
- SPEED = 0
- BG:destroy()
- BV:destroy()
- LP.Character.Humanoid.PlatformStand = false
- end)
- end
- MOUSE.KeyDown:connect(function(KEY)
- if KEY:lower() == 'w' then
- CONTROL.F = 1
- elseif KEY:lower() == 's' then
- CONTROL.B = -1
- elseif KEY:lower() == 'a' then
- CONTROL.L = -1
- elseif KEY:lower() == 'd' then
- CONTROL.R = 1
- end
- end)
- MOUSE.KeyUp:connect(function(KEY)
- if KEY:lower() == 'w' then
- CONTROL.F = 0
- elseif KEY:lower() == 's' then
- CONTROL.B = 0
- elseif KEY:lower() == 'a' then
- CONTROL.L = 0
- elseif KEY:lower() == 'd' then
- CONTROL.R = 0
- end
- end)
- FLY()
- end
- function NOFLY()
- FLYING = false
- LP.Character.Humanoid.PlatformStand = false
- end
- function RESET_MODEL(MODEL)
- for i,v in pairs(MODEL:GetChildren()) do
- if v:IsA('Seat') and v.Name == 'FakeTorso' then
- v:destroy()
- elseif v:IsA('CharacterMesh') or v:IsA('Shirt') or v:IsA('Pants') or v:IsA('Accessory') then
- v:destroy()
- elseif v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
- v.Transparency = 0
- elseif v:IsA('ShirtGraphic') then
- v.Archivable = false
- v.Graphic = ''
- end
- end
- for i,v in pairs(MODEL.Torso:GetChildren()) do
- if v:IsA('SpecialMesh') then
- v:destroy()
- end
- end
- if MODEL.Head:FindFirstChild('Mesh') then
- MODEL.Head.Mesh:destroy()
- end
- if MODEL.Torso:FindFirstChild('Neck') then MODEL.Torso.Neck.C0 = CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(90), math.rad(180), 0) end
- if MODEL.Torso:FindFirstChild('Left Shoulder') then MODEL.Torso['Left Shoulder'].C0 = CFrame.new(-1, 0.5, 0) * CFrame.Angles(0, math.rad(-90), 0) end
- if MODEL.Torso:FindFirstChild('Right Shoulder') then MODEL.Torso['Right Shoulder'].C0 = CFrame.new(1, 0.5, 0) * CFrame.Angles(0, math.rad(90), 0) end
- if MODEL.Torso:FindFirstChild('Left Hip') then MODEL.Torso['Left Hip'].C0 = CFrame.new(-1, -1, 0) * CFrame.Angles(0, math.rad(-90), 0) end
- if MODEL.Torso:FindFirstChild('Right Hip') then MODEL.Torso['Right Hip'].C0 = CFrame.new(1, -1, 0) * CFrame.Angles(0, math.rad(90), 0) end
- end
- function UPDATE_MODEL(MODEL, USERNAME)
- local AppModel = _PLAYERS:GetCharacterAppearanceAsync(_PLAYERS:GetUserIdFromNameAsync(USERNAME))
- MODEL.Name = USERNAME
- for i,v in pairs(AppModel:GetChildren()) do
- if v:IsA('SpecialMesh') or v:IsA('BlockMesh') or v:IsA('CylinderMesh') then
- v.Parent = MODEL.Head
- elseif v:IsA('Decal') then
- if MODEL.Head:FindFirstChild('face') then
- MODEL.Head.face.Texture = v.Texture
- else
- local FACE = Instance.new('Decal', MODEL.Head)
- FACE.Texture = v.Texture
- end
- elseif v:IsA('BodyColors') or v:IsA('CharacterMesh') or v:IsA('Shirt') or v:IsA('Pants') or v:IsA('ShirtGraphic') then
- if MODEL:FindFirstChild('Body Colors') then
- MODEL['Body Colors']:destroy()
- end
- v.Parent = MODEL
- elseif v:IsA('Accessory') then
- v.Parent = MODEL
- v.Handle.CFrame = MODEL.Head.CFrame * CFrame.new(0, MODEL.Head.Size.Y / 2, 0) * v.AttachmentPoint:inverse()
- end
- end
- if not MODEL.Head:FindFirstChild('Mesh') then
- local SM = Instance.new('SpecialMesh', MODEL.Head)
- SM.MeshType = Enum.MeshType.Head
- SM.Scale = Vector3.new(1.25, 1.25, 1.25)
- end
- end
- function CREEPER(PLAYER)
- for i,v in pairs(PLAYER.Character:GetChildren()) do
- if v:IsA('Shirt') or v:IsA('Pants') then
- v:destroy()
- elseif v:IsA('ShirtGraphic') then
- v.Archivable = false
- v.Graphic = ''
- end
- end
- for i,v in pairs(PLAYER.Character:GetChildren()) do
- if v:IsA('Accessory') then
- v:destroy()
- end
- end
- PLAYER.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
- PLAYER.Character.Torso['Right Shoulder'].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0)
- PLAYER.Character.Torso['Left Shoulder'].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0)
- PLAYER.Character.Torso['Right Hip'].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0)
- PLAYER.Character.Torso['Left Hip'].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0)
- for i,v in pairs(PLAYER.Character:GetChildren()) do
- if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
- v.BrickColor = BrickColor.new('Bright green')
- end
- end
- end
- function SHREK(PLAYER)
- COLOR(PLAYER, 'Bright green')
- for i,v in pairs(PLAYER.Character:GetChildren()) do
- if v:IsA('Shirt') or v:IsA('Pants') or v:IsA('Accessory') or v:IsA('CharacterMesh') then
- v:destroy()
- elseif v:IsA('ShirtGraphic') then
- v.Archivable = false
- v.Graphic = ''
- end
- end
- for i,v in pairs(PLAYER.Character.Head:GetChildren()) do
- if v:IsA('Decal') or v:IsA('SpecialMesh') then
- v:destroy()
- end
- end
- if PLAYER.Character:FindFirstChild('Shirt Graphic') then
- PLAYER.Character['Shirt Graphic'].Archivable = false
- PLAYER.Character['Shirt Graphic'].Graphic = ''
- end
- local M = Instance.new('SpecialMesh', PLAYER.Character.Head)
- local S = Instance.new('Shirt', PLAYER.Character)
- local P = Instance.new('Pants', PLAYER.Character)
- M.MeshType = 'FileMesh'
- M.MeshId = 'rbxassetid://19999257'
- M.Offset = Vector3.new(-0.1, 0.1, 0)
- M.TextureId = 'rbxassetid://156397869'
- S.ShirtTemplate = 'rbxassetid://133078194'
- P.PantsTemplate = 'rbxassetid://133078204'
- end
- function DUCK(PLAYER)
- for i,v in pairs(PLAYER.Character:GetChildren()) do
- if v:IsA('Part') and v.Name ~= 'Torso' and v.Name ~= 'HumanoidRootPart' then
- v.Transparency = 1
- elseif v:IsA('Shirt') or v:IsA('Pants') or v:IsA('Accessory') then
- v:destroy()
- elseif v:IsA('ShirtGraphic') then
- v.Archivable = false
- v.Graphic = ''
- end
- end
- local DUCK = Instance.new('SpecialMesh', PLAYER.Character.Torso)
- DUCK.MeshType = 'FileMesh'
- DUCK.MeshId = 'rbxassetid://9419831'
- DUCK.TextureId = 'rbxassetid://9419827'
- DUCK.Scale = Vector3.new(5, 5, 5)
- if PLAYER.Character.Head:FindFirstChild('face') then
- PLAYER.Character.Head.face.Transparency = 1
- end
- end
- function DOG(PLAYER)
- for i,v in pairs(PLAYER.Character:GetChildren()) do
- if v:IsA('Shirt') or v:IsA('Pants') then
- v:destroy()
- elseif v:IsA('ShirtGraphic') then
- v.Archivable = false
- v.Graphic = ''
- end
- end
- PLAYER.Character.Torso.Transparency = 1
- PLAYER.Character.Torso.Neck.C0 = CFrame.new(0, -0.5, -2) * CFrame.Angles(math.rad(90), math.rad(180), 0)
- PLAYER.Character.Torso['Right Shoulder'].C0 = CFrame.new(0.5, -1.5, -1.5) * CFrame.Angles(0, math.rad(90), 0)
- PLAYER.Character.Torso['Left Shoulder'].C0 = CFrame.new(-0.5, -1.5, -1.5) * CFrame.Angles(0, math.rad(-90), 0)
- PLAYER.Character.Torso['Right Hip'].C0 = CFrame.new(1.5, -1, 1.5) * CFrame.Angles(0, math.rad(90), 0)
- PLAYER.Character.Torso['Left Hip'].C0 = CFrame.new(-1.5, -1, 1.5) * CFrame.Angles(0, math.rad(-90), 0)
- local FakeTorso = Instance.new('Seat', PLAYER.Character)
- local BF = Instance.new('BodyForce', FakeTorso)
- local W = Instance.new('Weld', PLAYER.Character.Torso)
- FakeTorso.Name = 'FakeTorso'
- FakeTorso.TopSurface = 0
- FakeTorso.BottomSurface = 0
- FakeTorso.Size = Vector3.new(3,1,4)
- FakeTorso.BrickColor = BrickColor.new('Brown')
- FakeTorso.CFrame = PLAYER.Character.Torso.CFrame
- BF.Force = Vector3.new(0, FakeTorso:GetMass() * 196.25, 0)
- W.Part0 = PLAYER.Character.Torso
- W.Part1 = FakeTorso
- W.C0 = CFrame.new(0, -0.5, 0)
- for i,v in pairs(PLAYER.Character:GetChildren()) do
- if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
- v.BrickColor = BrickColor.new('Brown')
- end
- end
- end
- function ALIEN(PLAYER)
- for i,v in pairs(PLAYER.Character:GetChildren()) do
- if v:IsA('Shirt') or v:IsA('Pants') or v:IsA('Accessory') then
- v:destroy()
- elseif v:IsA('ShirtGraphic') then
- v.Archivable = false
- v.Graphic = ''
- elseif v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
- v.BrickColor = BrickColor.new('Fossil')
- end
- end
- ALIEN_H:Clone().Parent = PLAYER.Character
- end
- function DECALSPAM(INSTANCE, ID)
- for i,v in pairs(INSTANCE:GetChildren()) do
- if v:IsA('BasePart') then
- spawn(function()
- local FACES = {'Back', 'Bottom', 'Front', 'Left', 'Right', 'Top'}
- local CURRENT_FACE = 1
- for i = 1, 6 do
- local DECAL = Instance.new('Decal', v)
- DECAL.Name = 'decal_seth'
- DECAL.Texture = 'rbxassetid://' .. ID - 1
- DECAL.Face = FACES[CURRENT_FACE]
- CURRENT_FACE = CURRENT_FACE + 1
- end
- end)
- end
- DECALSPAM(v, ID)
- end
- end
- function UNDECALSPAM(INSTANCE)
- for i,v in pairs(INSTANCE:GetChildren()) do
- if v:IsA('BasePart') then
- for a,b in pairs(v:GetChildren()) do
- if b:IsA('Decal') and b.Name == 'decal_seth' then
- b:destroy()
- end
- end
- end
- UNDECALSPAM(v)
- end
- end
- function CREATE_DONG(PLAYER, DONG_COLOR)
- if PLAYER.Character:FindFirstChild('DONG') then
- PLAYER.Character.DONG:destroy()
- end
- local D = Instance.new('Model', PLAYER.Character)
- D.Name = 'DONG'
- local BG = Instance.new('BodyGyro', PLAYER.Character.Torso)
- local MAIN = Instance.new('Part', PLAYER.Character['DONG'])
- local M1 = Instance.new('CylinderMesh', MAIN)
- local W1 = Instance.new('Weld', PLAYER.Character.Head)
- local P1 = Instance.new('Part', PLAYER.Character['DONG'])
- local M2 = Instance.new('SpecialMesh', P1)
- local W2 = Instance.new('Weld', P1)
- local B1 = Instance.new('Part', PLAYER.Character['DONG'])
- local M3 = Instance.new('SpecialMesh', B1)
- local W3 = Instance.new('Weld', B1)
- local B2 = Instance.new('Part', PLAYER.Character['DONG'])
- local M4 = Instance.new('SpecialMesh', B2)
- local W4 = Instance.new('Weld', B2)
- MAIN.TopSurface = 0 MAIN.BottomSurface = 0 MAIN.Name = 'Main' MAIN.Size = Vector3.new(0.6, 2.5, 0.6) MAIN.BrickColor = BrickColor.new(DONG_COLOR) MAIN.Position = PLAYER.Character.Head.Position MAIN.CanCollide = false
- W1.Part0 = MAIN W1.Part1 = PLAYER.Character.Head W1.C0 = CFrame.new(0, 0.25, 2.1) * CFrame.Angles(math.rad(45), 0, 0)
- P1.Name = 'Mush' P1.BottomSurface = 0 P1.TopSurface = 0 P1.Size = Vector3.new(0.6, 0.6, 0.6) P1.CFrame = CFrame.new(MAIN.Position) P1.BrickColor = BrickColor.new('Pink') P1.CanCollide = false
- M2.MeshType = 'Sphere'
- W2.Part0 = MAIN W2.Part1 = P1 W2.C0 = CFrame.new(0, 1.3, 0)
- B1.Name = 'Left Ball' B1.BottomSurface = 0 B1.TopSurface = 0 B1.CanCollide = false B1.Size = Vector3.new(1, 1, 1) B1.CFrame = CFrame.new(PLAYER.Character['Left Leg'].Position) B1.BrickColor = BrickColor.new(DONG_COLOR)
- M3.Parent = B1 M3.MeshType = 'Sphere'
- W3.Part0 = PLAYER.Character['Left Leg'] W3.Part1 = B1 W3.C0 = CFrame.new(0, 0.5, -0.5)
- B2.Name = 'Right Ball' B2.BottomSurface = 0 B2.CanCollide = false B2.TopSurface = 0 B2.Size = Vector3.new(1, 1, 1) B2.CFrame = CFrame.new(PLAYER.Character['Right Leg'].Position) B2.BrickColor = BrickColor.new(DONG_COLOR)
- M4.MeshType = 'Sphere'
- W4.Part0 = PLAYER.Character['Right Leg'] W4.Part1 = B2 W4.C0 = CFrame.new(0, 0.5, -0.5)
- end
- function SCALE(C, S)
- if tonumber(S) < 0.5 then S = 0.5 elseif tonumber(S) > 25 then S = 25 end
- local HAT_CLONE = {}
- for i,v in pairs(C:GetChildren()) do if v:IsA('Accessory') then local HC = v:Clone() table.insert(HAT_CLONE, HC) v:destroy() end end
- local HEAD = C.Head
- local TORSO = C.Torso
- local LA = C['Left Arm']
- local RA = C['Right Arm']
- local LL = C['Left Leg']
- local RL = C['Right Leg']
- local HRP = C.HumanoidRootPart
- HEAD.Size = Vector3.new(S * 2, S, S)
- TORSO.Size = Vector3.new(S * 2, S * 2, S)
- LA.Size = Vector3.new(S, S * 2, S)
- RA.Size = Vector3.new(S, S * 2, S)
- LL.Size = Vector3.new(S, S * 2, S)
- RL.Size = Vector3.new(S, S * 2, S)
- HRP.Size = Vector3.new(S * 2, S * 2, S)
- local M1 = Instance.new('Motor6D', TORSO)
- local M2 = Instance.new('Motor6D', TORSO)
- local M3 = Instance.new('Motor6D', TORSO)
- local M4 = Instance.new('Motor6D', TORSO)
- local M5 = Instance.new('Motor6D', TORSO)
- local M6 = Instance.new('Motor6D', HRP)
- M1.Name = 'Neck' M1.Part0 = TORSO M1.Part1 = HEAD M1.C0 = CFrame.new(0, 1 * S, 0) * CFrame.Angles(-1.6, 0, 3.1) M1.C1 = CFrame.new(0, -0.5 * S, 0) * CFrame.Angles(-1.6, 0, 3.1)
- M2.Name = 'Left Shoulder' M2.Part0 = TORSO M2.Part1 = LA M2.C0 = CFrame.new(-1 * S, 0.5 * S, 0) * CFrame.Angles(0, -1.6, 0) M2.C1 = CFrame.new(0.5 * S, 0.5 * S, 0) * CFrame.Angles(0, -1.6, 0)
- M3.Name = 'Right Shoulder' M3.Part0 = TORSO M3.Part1 = RA M3.C0 = CFrame.new(1 * S, 0.5 * S, 0) * CFrame.Angles(0, 1.6, 0) M3.C1 = CFrame.new(-0.5 * S, 0.5 * S, 0) * CFrame.Angles(0, 1.6, 0)
- M4.Name = 'Left Hip' M4.Part0 = TORSO M4.Part1 = LL M4.C0 = CFrame.new(-1 * S, -1 * S, 0) * CFrame.Angles(0, -1.6, 0) M4.C1 = CFrame.new(-0.5 * S, 1 * S, 0) * CFrame.Angles(0, -1.6, 0)
- M5.Name = 'Right Hip' M5.Part0 = TORSO M5.Part1 = RL M5.C0 = CFrame.new(1 * S, -1 * S, 0) * CFrame.Angles(0, 1.6, 0) M5.C1 = CFrame.new(0.5 * S, 1 * S, 0) * CFrame.Angles(0, 1.6, 0)
- M6.Name = 'RootJoint' M6.Part0 = HRP M6.Part1 = TORSO M6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1) M6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
- for i,v in pairs(HAT_CLONE) do v.Parent = C end
- end
- function CAPE(COLOR)
- if LP.Character:FindFirstChild('Cape') then LP.Character.Cape:destroy() end
- repeat wait() until LP and LP.Character and LP.Character:FindFirstChild('Torso')
- local T = LP.Character.Torso
- local C = Instance.new('Part', T.Parent)
- C.Name = 'cape_seth'
- C.Anchored = false
- C.CanCollide = false
- C.TopSurface = 0
- C.BottomSurface = 0
- C.BrickColor = BrickColor.new(COLOR)
- C.Material = 'Neon'
- C.Size = Vector3.new(0.2, 0.2, 0.2)
- local M = Instance.new('BlockMesh', C)
- M.Scale = Vector3.new(9, 17.5, 0.5)
- local M1 = Instance.new('Motor', C)
- M1.Part0 = C
- M1.Part1 = T
- M1.MaxVelocity = 1
- M1.C0 = CFrame.new(0, 1.75, 0) * CFrame.Angles(0, math.rad(90), 0)
- M1.C1 = CFrame.new(0, 1, .45) * CFrame.Angles(0, math.rad(90), 0)
- local WAVE = false
- repeat wait(1 / 44)
- local ANG = 0.2
- local oldMag = T.Velocity.magnitude
- local MV = 0.1
- if WAVE then
- ANG = ANG + ((T.Velocity.magnitude / 10) * 0.05) + 1
- WAVE = false
- else
- WAVE = false
- end
- ANG = ANG + math.min(T.Velocity.magnitude / 30, 1)
- M1.MaxVelocity = math.min((T.Velocity.magnitude / 10), 0.04) + MV
- M1.DesiredAngle = -ANG
- if M1.CurrentAngle < -0.05 and M1.DesiredAngle > -.05 then
- M1.MaxVelocity = 0.04
- end
- repeat
- wait()
- until M1.CurrentAngle == M1.DesiredAngle or math.abs(T.Velocity.magnitude - oldMag) >= (T.Velocity.magnitude / 10) + 1
- if T.Velocity.magnitude < 0.1 then
- wait(0.1)
- end
- until not C or C.Parent ~= T.Parent
- end
- function INFECT(PLAYER)
- for i,v in pairs(PLAYER.Character:GetChildren()) do
- Instance.new('Folder', PLAYER.Character).Name = 'infected_seth'
- if v:IsA('Accessory') or v:IsA('Shirt') or v:IsA('Pants') then
- v:destroy()
- elseif v:IsA('ShirtGraphic') then
- v.Archivable = false
- v.Graphic = ''
- end
- end
- if PLAYER.Character.Head:FindFirstChild('face') then
- PLAYER.Character.Head.face.Texture = 'rbxassetid://7074882'
- end
- for i,v in pairs (PLAYER.Character:GetChildren()) do
- if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
- if v.Name == 'Head' or v.Name == 'Left Arm' or v.Name == 'Right Arm' then
- v.BrickColor = BrickColor.new('Medium green')
- elseif v.Name == 'Torso' or v.Name == 'Left Leg' or v.Name == 'Right Leg' then
- v.BrickColor = BrickColor.new('Brown')
- end
- end
- end
- local T = PLAYER.Character.Torso.Touched:connect(function(TC)
- if not TC.Parent:FindFirstChild('infected_seth') then
- local GPFC = _PLAYERS:GetPlayerFromCharacter(TC.Parent)
- if GPFC then
- INFECT(GPFC)
- end
- end
- end)
- end
- function fWeld(zName, zParent, zPart0, zPart1, zCoco, A, B, C, D, E, F)
- local funcw = Instance.new('Weld') funcw.Name = zName funcw.Parent = zParent funcw.Part0 = zPart0 funcw.Part1 = zPart1
- if (zCoco) then
- funcw.C0 = CFrame.new(A, B, C) * CFrame.fromEulerAnglesXYZ(D, E, F)
- else
- funcw.C1 = CFrame.new(A, B, C) * CFrame.fromEulerAnglesXYZ(D, E, F)
- end
- return funcw
- end
- function BANG(VICTIM)
- spawn(function()
- local P1 = _PLAYERS.LocalPlayer.Character.Torso
- local V1 = _PLAYERS[VICTIM].Character.Torso
- V1.Parent.Humanoid.PlatformStand = true
- P1['Left Shoulder']:destroy() local LA1 = Instance.new('Weld', P1) LA1.Part0 = P1 LA1.Part1 = P1.Parent['Left Arm'] LA1.C0 = CFrame.new(-1.5, 0, 0) LA1.Name = 'Left Shoulder'
- P1['Right Shoulder']:destroy() local RS1 = Instance.new('Weld', P1) RS1.Part0 = P1 RS1.Part1 = P1.Parent['Right Arm'] RS1.C0 = CFrame.new(1.5, 0, 0) RS1.Name = 'Right Shoulder'
- V1['Left Shoulder']:destroy() local LS2 = Instance.new('Weld', V1) LS2.Part0 = V1 LS2.Part1 = V1.Parent['Left Arm'] LS2.C0 = CFrame.new(-1.5, 0, 0) LS2.Name = 'Left Shoulder'
- V1['Right Shoulder']:destroy() local RS2 = Instance.new('Weld', V1) RS2.Part0 = V1 RS2.Part1 = V1.Parent['Right Arm'] RS2.C0 = CFrame.new(1.5, 0, 0) RS2.Name = 'Right Shoulder'
- V1['Left Hip']:destroy() local LH2 = Instance.new('Weld', V1) LH2.Part0 = V1 LH2.Part1 = V1.Parent['Left Leg'] LH2.C0 = CFrame.new(-0.5, -2, 0) LH2.Name = 'Left Hip'
- V1['Right Hip']:destroy() local RH2 = Instance.new('Weld', V1) RH2.Part0 = V1 RH2.Part1 = V1.Parent['Right Leg'] RH2.C0 = CFrame.new(0.5, -2, 0) RH2.Name = 'Right Hip'
- local D = Instance.new('Part', P1) D.TopSurface = 0 D.BottomSurface = 0 D.CanCollide = false D.BrickColor = BrickColor.new('Pastel brown') D.Shape = 'Ball' D.Size = Vector3.new(1, 1, 1)
- local DM1 = Instance.new('SpecialMesh', D) DM1.MeshType = 'Sphere' DM1.Scale = Vector3.new(0.4, 0.4, 0.4)
- fWeld('weld', P1, P1, D, true, -0.2, -1.3, -0.6, 0, 0, 0)
- local D2 = D:Clone() D2.Parent = P1
- fWeld('weld', P1, P1, D2, true, 0.2, -1.3, -0.6, 0, 0, 0)
- local C = Instance.new('Part', P1) C.TopSurface = 0 C.BottomSurface = 0 C.CanCollide = false C.BrickColor = BrickColor.new('Pastel brown') C.Size = Vector3.new(0.4, 1.3, 0.4)
- fWeld('weld', P1, P1, C, true, 0, -1, -0.52 + (-C.Size.y / 2), math.rad(-80), 0, 0)
- local C2 = D:Clone() C2.BrickColor = BrickColor.new('Pink') C2.Mesh.Scale = Vector3.new(0.4, 0.62, 0.4) C2.Parent = P1
- fWeld('weld', C, C, C2, true, 0, 0 + (C.Size.y / 2), 0, math.rad(-10), 0, 0)
- local CM = Instance.new('CylinderMesh', C)
- local BL = Instance.new('Part', V1) BL.TopSurface = 0 BL.BottomSurface = 0 BL.CanCollide = false BL.BrickColor = BrickColor.new('Pastel brown') BL.Shape = 'Ball' BL.Size = Vector3.new(1, 1, 1)
- local DM2 = Instance.new('SpecialMesh', BL) DM2.MeshType = 'Sphere' DM2.Scale = Vector3.new(1.2, 1.2, 1.2)
- fWeld('weld', V1, V1, BL, true, -0.5, 0.5, -0.6, 0, 0, 0)
- local BR = Instance.new('Part', V1) BR.TopSurface = 0 BR.BottomSurface = 0 BR.CanCollide = false BR.BrickColor = BrickColor.new('Pastel brown') BR.Shape = 'Ball' BR.Size = Vector3.new(1, 1, 1)
- local DM3 = Instance.new('SpecialMesh', BR) DM3.MeshType = 'Sphere' DM3.Scale = Vector3.new(1.2, 1.2, 1.2)
- fWeld('weld', V1, V1, BR, true, 0.5, 0.5, -0.6, 0, 0, 0)
- local BLN = Instance.new('Part', V1) BLN.TopSurface = 0 BLN.BottomSurface = 0 BLN.CanCollide = false BLN.BrickColor = BrickColor.new('Pink') BLN.Shape = 'Ball' BLN.Size = Vector3.new(1, 1, 1)
- local DM4 = Instance.new('SpecialMesh', BLN) DM4.MeshType = 'Sphere' DM4.Scale = Vector3.new(0.2, 0.2, 0.2)
- fWeld('weld', V1, V1, BLN, true, -0.5, 0.5, -1.2, 0, 0, 0)
- local BRN = Instance.new('Part', V1) BRN.TopSurface = 0 BRN.BottomSurface = 0 BRN.CanCollide = false BRN.BrickColor = BrickColor.new('Pink') BRN.Shape = 'Ball' BRN.Size = Vector3.new(1, 1, 1)
- local DM5 = Instance.new('SpecialMesh', BRN) DM5.MeshType = 'Sphere' DM5.Scale = Vector3.new(0.2, 0.2, 0.2)
- fWeld('weld', V1, V1, BRN, true, 0.5, 0.5, -1.2, 0, 0, 0)
- LH2.C1 = CFrame.new(0.2, 1.6, 0.4) * CFrame.Angles(3.9, -0.4, 0) RH2.C1 = CFrame.new(-0.2, 1.6, 0.4) * CFrame.Angles(3.9, 0.4, 0)
- LS2.C1 = CFrame.new(-0.2, 0.9, 0.6) * CFrame.Angles(3.9, -0.2, 0) RS2.C1 = CFrame.new(0.2, 0.9, 0.6) * CFrame.Angles(3.9, 0.2, 0)
- LA1.C1 = CFrame.new(-0.5, 0.7, 0) * CFrame.Angles(-0.9, -0.4, 0) RS1.C1 = CFrame.new(0.5, 0.7, 0) * CFrame.Angles(-0.9, 0.4, 0)
- if P1:FindFirstChild('weldx') then P1.weldx:destroy() end
- WE = fWeld('weldx', P1, P1, V1, true, 0, -0.9, -1.3, math.rad(-90), 0, 0)
- local N = V1.Neck N.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-210), math.rad(180), 0)
- end)
- spawn(function() while wait() do for i = 1, 6 do WE.C1 = WE.C1 * CFrame.new(0, -0.3, 0) end for i = 1, 6 do WE.C1 = WE.C1 * CFrame.new(0, 0.3, 0) end end end)
- end
- function RESPAWN(PLAYER)
- local M = Instance.new('Model', workspace) M.Name = 'respawn_seth'
- local T = Instance.new('Part', M) T.Name = 'Torso' T.CanCollide = false T.Transparency = 1
- Instance.new('Humanoid', M)
- PLAYER.Character = M
- end
- function LOAD_MESSAGE(STRING)
- _PLAYERS.LocalPlayer.CharacterAppearanceId = 20018
- RESPAWN(LP)
- R = false
- LP.CharacterAdded:connect(function()
- if not R then
- wait(0.5)
- if LP.Character:FindFirstChild('Humanoid') then
- MAIN_HAT = LP.Character:FindFirstChild('BunnyEarsOfCaprice'):Clone()
- end
- R = true
- end
- end)
- repeat wait() until R
- RESPAWN(LP)
- LP.CharacterAppearanceId = 0
- if MAIN_HAT then
- MAIN_HAT.Handle.CanCollide = true
- local M = MAIN_HAT.Handle.BunnyTools.EggScript3:Clone()
- local P = Instance.new('Part')
- M.Disabled = false
- M.Parent = P
- MAIN_HAT.Handle.BunnyTools.EggMesh3:Clone().Parent = P
- MAIN_HAT:destroy()
- P.Parent = LP.Character
- repeat wait() until LP:FindFirstChild('ChessMsg')
- MG = LP:FindFirstChild('ChessMsg')
- MG.Name = 'message_seth'
- MG.Text = ''
- MG.Parent = workspace
- MESSAGE(STRING)
- P:destroy()
- for i,v in pairs(workspace:GetChildren()) do
- if v:IsA('Part') and v.BrickColor == BrickColor.new('Bright red') and v.Reflectance == 0 and v.Transparency == 0 and not v.Anchored and v.CanCollide and v.Locked and v:FindFirstChild('Decal') and v.Size == Vector3.new(8, 0.4, 8) then
- if v.Decal.Texture == 'http://www.roblox.com/asset/?id=1531000' and v.Transparency == 0 and v.Decal.Face == Enum.NormalId.Top then
- v:destroy()
- end
- end
- end
- end
- end
- function MESSAGE(STRING)
- if not SHOWING_MESSAGE then
- spawn(function()
- SHOWING_MESSAGE = true
- MG.Text = STRING
- wait(5)
- MG.Text = ''
- SHOWING_MESSAGE = false
- end)
- end
- end
- _G.CLICK_TP = false
- local M_CTRL = false
- MOUSE.KeyDown:connect(function(K) if K:byte() == 50 then M_CTRL = true end end)
- MOUSE.KeyUp:connect(function(K) if K:byte() == 50 then M_CTRL = false end end)
- MOUSE.Button1Down:connect(function() if _G.CLICK_TP and M_CTRL and MOUSE.Target and LP.Character and LP.Character:FindFirstChild('HumanoidRootPart') then LP.Character.HumanoidRootPart.CFrame = CFrame.new(MOUSE.Hit.p) + Vector3.new(0, 3, 0) end end)
- _LIGHTING.Outlines = false -- / outlines are gross
- if FIND_IN_TABLE(BANS, LP.userId) then LP:Kick() end
- for i,v in pairs(_PLAYERS:GetPlayers()) do if FIND_IN_TABLE(BANS, v.userId) then table.insert(KICKS, v) else UPDATE_CHAT(v) end end
- -- / commands
- ADD_COMMAND('ff','ff [plr]', {},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- Instance.new('ForceField', _PLAYERS[v].Character)
- end
- end)
- ADD_COMMAND('unff','unff [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for i,v in pairs(_PLAYERS[v].Character:GetChildren()) do
- if v:IsA('ForceField') then
- v:destroy()
- end
- end
- end
- end)
- ADD_COMMAND('fire','fire [plr] [r] [g] [b]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for i,v in pairs(_PLAYERS[v].Character:GetChildren()) do
- if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
- local F = Instance.new('Fire', v)
- if ARGS[2] and ARGS[3] and ARGS[4] then
- F.Color = C3(ARGS[2], ARGS[3], ARGS[4])
- F.SecondaryColor = C3(ARGS[2], ARGS[3], ARGS[4])
- end
- end
- end
- end
- end)
- ADD_COMMAND('unfire','unfire [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- for i,v in pairs(PCHAR:GetChildren()) do
- for i,v in pairs(v:GetChildren()) do
- if v:IsA('Fire') then
- v:destroy()
- end
- end
- end
- end
- end)
- ADD_COMMAND('sp','sp [plr] [r] [g] [b]',{'sparkles'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for i,v in pairs(_PLAYERS[v].Character:GetChildren()) do
- if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
- if ARGS[2] and ARGS[3] and ARGS[4] then
- Instance.new('Sparkles', v).Color = C3(ARGS[2], ARGS[3], ARGS[4])
- else
- Instance.new('Sparkles', v)
- end
- end
- end
- end
- end)
- ADD_COMMAND('unsp','unsp [plr]',{'unsparkles'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for i,v in pairs(_PLAYERS[v].Character:GetChildren()) do
- for i,v in pairs(v:GetChildren()) do
- if v:IsA('Sparkles') then
- v:destroy()
- end
- end
- end
- end
- end)
- ADD_COMMAND('smoke','smoke [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- Instance.new('Smoke', _PLAYERS[v].Character.Torso)
- end
- end)
- ADD_COMMAND('unsmoke','unsmoke [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for i,v in pairs(_PLAYERS[v].Character.Torso:GetChildren()) do
- if v:IsA('Smoke') then
- v:destroy()
- end
- end
- end
- end)
- ADD_COMMAND('btools','btools [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- Instance.new('HopperBin', _PLAYERS[v].Backpack).BinType = 2
- Instance.new('HopperBin', _PLAYERS[v].Backpack).BinType = 3
- Instance.new('HopperBin', _PLAYERS[v].Backpack).BinType = 4
- end
- end)
- ADD_COMMAND('god','god [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- if PCHAR:FindFirstChild('Humanoid') then
- PCHAR.Humanoid.MaxHealth = math.huge PCHAR.Humanoid.Health = PCHAR.Humanoid.MaxHealth
- end
- end
- end)
- ADD_COMMAND('sgod','sgod [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- if PCHAR:FindFirstChild('Humanoid') then
- PCHAR.Humanoid.MaxHealth = 10000000 PCHAR.Humanoid.Health = PCHAR.Humanoid.MaxHealth
- end
- end
- end)
- ADD_COMMAND('ungod','ungod [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- if PCHAR:FindFirstChild('Humanoid') then
- PCHAR.Humanoid.MaxHealth = 100
- end
- end
- end)
- ADD_COMMAND('heal','heal [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- if PCHAR:FindFirstChild('Humanoid') then
- PCHAR.Humanoid.Health = PCHAR.Humanoid.MaxHealth
- end
- end
- end)
- ADD_COMMAND('freeze','freeze [plr]',{'frz'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- for i,v in pairs(PCHAR:GetChildren()) do
- if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
- v.Anchored = true
- end
- end
- end
- end
- end)
- ADD_COMMAND('thaw','thaw [plr]',{'unfreeze','unfrz'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for i,v in pairs(PLAYERS) do
- for i,v in pairs(_PLAYERS[v].Character:GetChildren()) do
- if v:IsA('Part') then
- v.Anchored = false
- end
- end
- end
- end
- end)
- ADD_COMMAND('kill','kill [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- _PLAYERS[v].Character:BreakJoints()
- end
- end)
- ADD_COMMAND('sound','sound [id]',{},
- function(ARGS, SPEAKER)
- for i,v in pairs(workspace:GetChildren()) do if v:IsA('Sound') then v:Stop() v:destroy() end end
- if ARGS[1]:lower() ~= 'off' then
- local S = Instance.new('Sound', workspace) S.Name = 'song_seth' S.Archivable = false S.Looped = true S.SoundId = 'rbxassetid://' .. ARGS[1] S.Volume = 1 S:Play()
- end
- end)
- ADD_COMMAND('volume','volume [int]',{},
- function(ARGS, SPEAKER)
- for i,v in pairs(workspace:GetChildren()) do if v:IsA('Sound') then v.Volume = ARGS[1] end end
- end)
- ADD_COMMAND('pitch','pitch [int]',{},
- function(ARGS, SPEAKER)
- for i,v in pairs(workspace:GetChildren()) do if v:IsA('Sound') then v.Pitch = ARGS[1] end end
- end)
- ADD_COMMAND('explode','explode [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- if PCHAR:FindFirstChild('Torso') then
- Instance.new('Explosion', PCHAR).Position = PCHAR.Torso.Position
- end
- end
- end)
- ADD_COMMAND('invis','invis [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- for i,v in pairs(PCHAR:GetChildren()) do
- if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
- v.Transparency = 1
- end
- if v:IsA('Accessory') and v:FindFirstChild('Handle') then
- v.Handle.Transparency = 1
- end
- end
- if PCHAR.Head:FindFirstChild('face') then PCHAR.Head.face.Transparency = 1 end
- end
- end)
- ADD_COMMAND('vis','vis [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- for i,v in pairs(PCHAR:GetChildren()) do
- if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
- v.Transparency = 0
- end
- if v:IsA('Accessory') and v:FindFirstChild('Handle') then
- v.Handle.Transparency = 0
- end
- end
- if PCHAR.Head:FindFirstChild('face') then PCHAR.Head.face.Transparency = 0 end
- end
- end)
- ADD_COMMAND('goto','goto [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- if PCHAR then
- SPEAKER.Character.HumanoidRootPart.CFrame = PCHAR.Torso.CFrame
- end
- end
- end)
- ADD_COMMAND('bring','bring [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- _PLAYERS[v].Character.HumanoidRootPart.CFrame = SPEAKER.Character.Torso.CFrame
- end
- end)
- ADD_COMMAND('tp','tp [plr] [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS1, PLAYERS2 = GET_PLAYER(ARGS[1], SPEAKER), GET_PLAYER(ARGS[2], SPEAKER)
- for i,v in pairs(PLAYERS1) do for a,b in pairs(PLAYERS2) do
- if _PLAYERS[v].Character and _PLAYERS[b].Character then
- _PLAYERS[v].Character.HumanoidRootPart.CFrame = _PLAYERS[b].Character.Torso.CFrame
- end
- end end
- end)
- ADD_COMMAND('char','char [plr] [id]',{'charapp'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- _PLAYERS[v].CharacterAppearanceId = ARGS[2]
- _PLAYERS[v].Character:BreakJoints()
- end
- end)
- ADD_COMMAND('ws','ws [plr] [int]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- if PCHAR:FindFirstChild('Humanoid') then
- PCHAR.Humanoid.WalkSpeed = tonumber(ARGS[2])
- end
- end
- end)
- ADD_COMMAND('time','time [int]',{},
- function(ARGS, SPEAKER)
- _LIGHTING:SetMinutesAfterMidnight(tonumber(ARGS[1]) * 60)
- end)
- ADD_COMMAND('kick','kick [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- table.insert(KICKS, _PLAYERS[v])
- end
- end)
- ADD_COMMAND('ban','ban [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- table.insert(BANS, _PLAYERS[v].userId)
- table.insert(KICKS, _PLAYERS[v])
- UPDATE_BANS()
- end
- end)
- ADD_COMMAND('unban','unban [username]',{},
- function(ARGS, SPEAKER)
- if FIND_IN_TABLE(BANS, game.Players:GetUserIdFromNameAsync(ARGS[1])) then
- table.remove(BANS, GET_IN_TABLE(BANS, game.Players:GetUserIdFromNameAsync(ARGS[1])))
- UPDATE_BANS()
- end
- end)
- ADD_COMMAND('unlockws','unlock',{'unlock'},
- function(ARGS, SPEAKER)
- local function UNLOCK(INSTANCE)
- for i,v in pairs(INSTANCE:GetChildren()) do
- if v:IsA('BasePart') then
- v.Locked = false
- end
- UNLOCK(v)
- end
- end
- UNLOCK(workspace)
- end)
- ADD_COMMAND('lockws','lock',{'lock'},
- function(ARGS, SPEAKER)
- local function LOCK(INSTANCE)
- for i,v in pairs(INSTANCE:GetChildren()) do
- if v:IsA('BasePart') then
- v.Locked = true
- end
- LOCK(v)
- end
- end
- LOCK(workspace)
- end)
- ADD_COMMAND('unanchorws','unanchor',{'unanchor'},
- function(ARGS, SPEAKER)
- local function UNANCHOR(INSTANCE)
- for i,v in pairs(INSTANCE:GetChildren()) do
- if v:IsA('BasePart') then
- v.Anchored = false
- end
- UNANCHOR(v)
- end
- end
- UNANCHOR(workspace)
- end)
- ADD_COMMAND('anchorws','anchor',{'anchor'},
- function(ARGS, SPEAKER)
- local function ANCHOR(INSTANCE)
- for i,v in pairs(INSTANCE:GetChildren()) do
- if v:IsA('BasePart') then
- v.Anchored = true
- end
- ANCHOR(v)
- end
- end
- ANCHOR(workspace)
- end)
- ADD_COMMAND('hsize','hsize [plr] [int]',{'hatsize'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for i,v in pairs(_PLAYERS[v].Character:GetChildren()) do
- if v:IsA('Accessory') then
- for a,b in pairs(v.Handle:GetChildren()) do
- if b:IsA('SpecialMesh') then
- b.Scale = ARGS[2] * Vector3.new(1, 1, 1)
- end
- end
- end
- end
- end
- end)
- ADD_COMMAND('shats','shats [plr]',{'stealhats'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for i,v in pairs(_PLAYERS[v].Character:GetChildren()) do
- if v:IsA('Accessory') then
- v.Parent = SPEAKER.Character
- end
- end
- end
- end)
- ADD_COMMAND('rhats','rhats [plr]',{'removehats'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- if PCHAR:FindFirstChild('Humanoid') then
- PCHAR.Humanoid:RemoveAccessories()
- end
- end
- end)
- ADD_COMMAND('firstp','firstp [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- _PLAYERS[v].CameraMode = 'LockFirstPerson'
- end
- end)
- ADD_COMMAND('thirdp','thirdp [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- _PLAYERS[v].CameraMode = 'Classic'
- end
- end)
- ADD_COMMAND('chat','chat [plr] [string]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- game.Chat:Chat(_PLAYERS[v].Character.Head, GLS(false, 1))
- end
- end)
- ADD_COMMAND('name','name [plr] [string]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- _PLAYERS[v].Character.Name = GLS(false, 1)
- end
- end)
- ADD_COMMAND('unname','unname [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- _PLAYERS[v].Character.Name = _PLAYERS[v].Name
- end
- end)
- ADD_COMMAND('noname','noname [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- _PLAYERS[v].Character.Name = ''
- end
- end)
- ADD_COMMAND('stun','stun [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- PCHAR.Humanoid.PlatformStand = true
- end
- end)
- ADD_COMMAND('unstun','unstun [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- PCHAR.Humanoid.PlatformStand = false
- end
- end)
- ADD_COMMAND('guest','guest [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- _PLAYERS[v].CharacterAppearanceId = 1
- PCHAR:BreakJoints()
- end
- end)
- ADD_COMMAND('noob','noob [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- _PLAYERS[v].CharacterAppearanceId = 155902847
- PCHAR:BreakJoints()
- end
- end)
- ADD_COMMAND('damage','damage [plr] [int]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- _PLAYERS[v].Character.Humanoid:TakeDamage(ARGS[2])
- end
- end)
- ADD_COMMAND('view','view [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- workspace.CurrentCamera.CameraSubject = PCHAR
- end
- end)
- ADD_COMMAND('unview','unview',{},
- function()
- workspace.CurrentCamera.CameraSubject = _PLAYERS.LocalPlayer.Character
- end)
- ADD_COMMAND('nolimbs','nolimbs [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- for i,v in pairs(PCHAR:GetChildren()) do
- local LIMB = PCHAR.Humanoid:GetLimb(v)
- if v:IsA('BasePart') and PCHAR:FindFirstChild('Humanoid') and LIMB ~= Enum.Limb.Unknown and LIMB ~= Enum.Limb.Head and LIMB ~= Enum.Limb.Torso then
- v:destroy()
- end
- end
- end
- end)
- ADD_COMMAND('box','box [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- local SB = Instance.new('SelectionBox', PCHAR)
- SB.Adornee = SB.Parent
- SB.Color = BrickColor.new('' .. (ARGS[2]))
- end
- end)
- ADD_COMMAND('unbox','nobox [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- for i,v in pairs(_PLAYERS[v].Character:GetChildren()) do
- if v:IsA('SelectionBox') then
- v:destroy()
- end
- end
- end
- end)
- ADD_COMMAND('ghost','ghost [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- for i,v in pairs(PCHAR:GetChildren()) do
- if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
- v.Transparency = 0.5
- elseif v:IsA('Accessory') and v:FindFirstChild('Handle') then
- v.Handle.Transparency = 0.5
- elseif PCHAR.Head:FindFirstChild('face') then
- PCHAR.Head.face.Transparency = 0.5
- end
- end
- end
- end)
- ADD_COMMAND('sphere','sphere [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR=_PLAYERS[v].Character
- local SS = Instance.new('SelectionSphere', PCHAR)
- SS.Adornee = SS.Parent
- end
- end)
- ADD_COMMAND('sky','sky [id]',{},
- function(ARGS, SPEAKER)
- if ARGS[1] then
- for i,v in pairs(_LIGHTING:GetChildren()) do if v:IsA('Sky') then v:destroy() end end
- local SKIES = {'Bk', 'Dn', 'Ft', 'Lf', 'Rt', 'Up'}
- local SKY = Instance.new('Sky', _LIGHTING)
- for i,v in pairs(SKIES) do
- SKY['Skybox' .. v] = 'rbxassetid://' .. ARGS[1] - 1
- end
- end
- end)
- ADD_COMMAND('ambient','ambient [r] [g] [b]',{},
- function(ARGS, SPEAKER)
- if ARGS[1] and ARGS[2] and ARGS[3] then
- _LIGHTING.Ambient = C3(ARGS[1], ARGS[2], ARGS[3])
- end
- end)
- ADD_COMMAND('jail','jail [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- if FIND_IN_TABLE(JAILED, _PLAYERS[v].Name) then return end
- table.insert(JAILED, _PLAYERS[v].Name)
- local PCHAR = _PLAYERS[v].Character
- local J = JAIL:Clone() J.Parent = workspace J:MoveTo(PCHAR.Torso.Position) J.Name = 'JAIL_' .. _PLAYERS[v].Name
- repeat wait()
- PCHAR = _PLAYERS[v].Character if PCHAR and PCHAR:FindFirstChild('HumanoidRootPart') and J:FindFirstChild('MAIN') then PCHAR.HumanoidRootPart.CFrame = J.MAIN.CFrame + Vector3.new(0, 1, 0) end
- until not FIND_IN_TABLE(JAILED, _PLAYERS[v].Name)
- end
- end)
- ADD_COMMAND('unjail','unjail [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for a,b in pairs(JAILED) do if b == _PLAYERS[v].Name then table.remove(JAILED, a) end end
- if workspace:FindFirstChild('JAIL_' .. _PLAYERS[v].Name) then workspace['JAIL_' .. _PLAYERS[v].Name]:destroy() end
- end
- end)
- ADD_COMMAND('animation','animation [plr] [id]',{'anim'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local ID = ARGS[2]
- if ARGS[2] == 'climb' then ID = '180436334' end
- if ARGS[2] == 'fall' then ID = '180436148' end
- if ARGS[2] == 'jump' then ID = '125750702' end
- if ARGS[2] == 'sit' then ID = '178130996' end
- for a,b in pairs(_PLAYERS[v].Character.Animate:GetChildren()) do
- if b:IsA('StringValue') then
- for c,d in pairs(b:GetChildren()) do
- if d:IsA('Animation') then
- d.AnimationId = 'rbxassetid://' .. ID
- end
- end
- end
- end
- end
- end)
- ADD_COMMAND('fix','fix [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- RESET_MODEL(PCHAR)
- UPDATE_MODEL(PCHAR, _PLAYERS[v].Name)
- end
- end)
- ADD_COMMAND('creeper','creeper [plr]',{'crpr'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- CREEPER(_PLAYERS[v])
- end
- end)
- ADD_COMMAND('uncreeper','uncreeper [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- RESET_MODEL(PCHAR)
- UPDATE_MODEL(PCHAR, _PLAYERS[v].Name)
- end
- end)
- ADD_COMMAND('shrek','shrek [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- SHREK(_PLAYERS[v])
- end
- end)
- ADD_COMMAND('unshrek','unshrek [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- RESET_MODEL(PCHAR)
- UPDATE_MODEL(PCHAR, _PLAYERS[v].Name)
- end
- end)
- ADD_COMMAND('nuke','nuke [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- spawn(function()
- if _PLAYERS[v] and PCHAR and PCHAR:FindFirstChild('Torso') then
- local N = Instance.new('Part', workspace)
- N.Name = 'nuke_seth'
- N.Anchored = true
- N.CanCollide = false
- N.Shape = 'Ball'
- N.Size = Vector3.new(1, 1, 1)
- N.BrickColor = BrickColor.new('New Yeller')
- N.Transparency = 0.5
- N.Reflectance = 0.2
- N.TopSurface = 0
- N.BottomSurface = 0
- N.Touched:connect(function(T)
- if T and T.Parent then
- local E = Instance.new('Explosion', workspace)
- E.Position = T.Position
- E.BlastRadius = 20
- E.BlastPressure = math.huge
- end
- end)
- local CF = PCHAR.Torso.CFrame
- N.CFrame = CF
- for i = 1,30 do
- N.Size = N.Size + Vector3.new(5, 5, 5)
- N.CFrame = CF
- wait(1 / 44)
- end
- N:destroy()
- end
- end)
- end
- end)
- ADD_COMMAND('unnuke','nonuke',{},
- function(ARGS, SPEAKER)
- for i,v in pairs(workspace:GetChildren()) do
- if v:IsA('Part') and v.Name == 'nuke_seth' then
- v:destroy()
- end
- end
- end)
- ADD_COMMAND('infect','infect [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- INFECT(_PLAYERS[v])
- end
- end)
- ADD_COMMAND('uninfect','uninfect [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- RESET_MODEL(PCHAR)
- UPDATE_MODEL(PCHAR, _PLAYERS[v].Name)
- end
- end)
- ADD_COMMAND('duck','duck [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- DUCK(_PLAYERS[v])
- end
- end)
- ADD_COMMAND('unduck','unduck [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- RESET_MODEL(PCHAR)
- UPDATE_MODEL(PCHAR, _PLAYERS[v].Name)
- end
- end)
- ADD_COMMAND('disable','disable [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- if PCHAR:FindFirstChild('Humanoid') then
- PCHAR.Humanoid.Name = 'HUMANOID_' .. _PLAYERS[v].Name
- local humanoid = PCHAR['HUMANOID_' .. _PLAYERS[v].Name]
- humanoid.Parent = HUMANOIDS
- end
- end
- end)
- ADD_COMMAND('enable','enable [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- if PCHAR:FindFirstChild('Humanoid') then
- return
- else
- if HUMANOIDS:FindFirstChild('HUMANOID_' .. _PLAYERS[v].Name) then
- local humanoid = HUMANOIDS['HUMANOID_' .. _PLAYERS[v].Name] humanoid.Parent = PCHAR humanoid.Name = 'Humanoid'
- end
- end
- end
- end)
- ADD_COMMAND('size','size [plr] [int]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- SCALE(_PLAYERS[v].Character, ARGS[2])
- end
- end)
- ADD_COMMAND('clone','clone [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character PCHAR.Archivable = true
- local C = PCHAR:Clone() C.Parent = workspace C:MoveTo(PCHAR:GetModelCFrame().p) C:MakeJoints()
- PCHAR.Archivable = false
- end
- end)
- ADD_COMMAND('spin','spin [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- for i,v in pairs(PCHAR.Torso:GetChildren()) do
- if v.Name == 'SPIN' then
- v:destroy()
- end
- end
- local T = PCHAR.Torso
- local BG = Instance.new('BodyGyro', T) BG.Name = 'SPIN' BG.maxTorque = Vector3.new(0, math.huge, 0) BG.P = 11111 BG.cframe = T.CFrame
- spawn(function()
- repeat wait(1/44)
- BG.CFrame = BG.CFrame * CFrame.Angles(0,math.rad(30),0)
- until not BG or BG.Parent ~= T
- end)
- end
- end)
- ADD_COMMAND('unspin','unspin [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- for i,v in pairs(PCHAR.Torso:GetChildren()) do
- if v.Name == 'SPIN' then
- v:destroy()
- end
- end
- end
- end)
- ADD_COMMAND('dog','dog [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- DOG(_PLAYERS[v])
- end
- end)
- ADD_COMMAND('undog','undog [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- RESET_MODEL(PCHAR)
- UPDATE_MODEL(PCHAR, _PLAYERS[v].Name)
- end
- end)
- ADD_COMMAND('loopheal','loopheal [plr]',{'lheal'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- if not FIND_IN_TABLE(LOOPED_H, _PLAYERS[v].Name) then
- table.insert(LOOPED_H, _PLAYERS[v].Name)
- end
- end
- end)
- ADD_COMMAND('unloopheal','unloopheal [plr]',{'unlheal'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- if FIND_IN_TABLE(LOOPED_H, _PLAYERS[v].Name) then
- table.remove(LOOPED_H, GET_IN_TABLE(LOOPED_H, _PLAYERS[v].Name))
- end
- end
- end)
- ADD_COMMAND('loopkill','loopheal [plr]',{'lheal'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- if not FIND_IN_TABLE(LOOPED_K, _PLAYERS[v].Name) then
- table.insert(LOOPED_K, _PLAYERS[v].Name)
- end
- end
- end)
- ADD_COMMAND('unloopkill','unloopkill [plr]',{'unlkill'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- if FIND_IN_TABLE(LOOPED_K, _PLAYERS[v].Name) then
- table.remove(LOOPED_K, GET_IN_TABLE(LOOPED_K, _PLAYERS[v].Name))
- end
- end
- end)
- ADD_COMMAND('fling','fling [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- if PCHAR:FindFirstChild('Humanoid') then
- local X
- local Z
- repeat
- X = math.random(-9999, 9999)
- until math.abs(X) >= 5555
- repeat
- Z = math.random(-9999, 9999)
- until math.abs(Z) >= 5555
- PCHAR.Torso.Velocity = Vector3.new(0, 0, 0)
- local BF = Instance.new('BodyForce', PCHAR.Torso) BF.force = Vector3.new(X * 4, 9999 * 5, Z * 4)
- end
- end
- end)
- ADD_COMMAND('alien','alien [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- ALIEN(_PLAYERS[v])
- end
- end)
- ADD_COMMAND('nograv','nograv [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- if not _PLAYERS[v].Character.Torso:FindFirstChild('nograv_seth') then
- NEW'BodyForce'{Name = 'nograv_seth', Force = Vector3.new(0, GET_MASS(_PLAYERS[v].Character) * 196.2, 0), Parent = _PLAYERS[v].Character.Torso}
- end
- end
- end)
- ADD_COMMAND('grav','grav [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- if _PLAYERS[v].Character.Torso:FindFirstChild('nograv_seth') then
- _PLAYERS[v].Character.Torso.nograv_seth:destroy()
- end
- end
- end)
- ADD_COMMAND('cape','cape [brick color]',{},
- function(ARGS, SPEAKER)
- spawn(function()
- if LP.Character:FindFirstChild('Cape') then
- LP.Character.Cape:destroy()
- end
- if not ARGS[1] then
- ARGS[1] = 'Deep blue'
- end
- CAPE(GLS(false, 1))
- end)
- end)
- ADD_COMMAND('uncape','uncape',{},
- function(ARGS, SPEAKER)
- if LP.Character:FindFirstChild('cape_seth') then
- LP.Character.cape_seth:destroy()
- end
- end)
- ADD_COMMAND('paper','paper [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- for i,v in pairs(PCHAR:GetChildren()) do
- if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
- PAPER_MESH:Clone().Parent = v
- end
- end
- end
- end)
- ADD_COMMAND('punish','punish [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- _PLAYERS[v].Character.Parent = nil
- end
- end)
- ADD_COMMAND('unpunish','unpunish [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- _PLAYERS[v].Character.Parent = workspace
- end
- end)
- local DISCO = false
- ADD_COMMAND('disco','disco',{},
- function(ARGS, SPEAKER)
- DISCO = true
- if not DISCO then
- spawn(function()
- repeat wait(1) _LIGHTING.Ambient = C3(math.random(), math.random(), math.random()) until not DISCO
- end)
- end
- end)
- ADD_COMMAND('undisco','undisco',{},
- function(ARGS, SPEAKER)
- DISCO = false
- end)
- ADD_COMMAND('team','team [plr] [team]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for a,b in pairs(game.Teams:GetChildren()) do
- if string.lower(b.Name) == GLS(true, 1) then
- _PLAYERS[v].Team = b
- end
- end
- end
- end)
- ADD_COMMAND('jp','jp [plr] [int]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- if PCHAR:FindFirstChild('Humanoid') then PCHAR.Humanoid.JumpPower = ARGS[2] end
- end
- end)
- ADD_COMMAND('smallhead','smallhead [plr]',{'shead'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- PCHAR.Head.Mesh.Scale = Vector3.new(0.5, 0.5, 0.5)
- PCHAR.Head.Mesh.Offset = Vector3.new(0, -0.25, 0)
- end
- end)
- ADD_COMMAND('bighead','bighead [plr]',{'bhead'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- PCHAR.Head.Mesh.Scale = Vector3.new(2.25, 2.25, 2.25)
- PCHAR.Head.Mesh.Offset = Vector3.new(0, 0.5, 0)
- end
- end)
- ADD_COMMAND('headsize','headsize [plr] [int]',{'hsize'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- if ARGS[2] == 1 then
- PCHAR.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
- PCHAR.Head.Mesh.Offset = Vector3.new(0, 0, 0)
- else
- PCHAR.Head.Mesh.Scale = ARGS[2] * Vector3.new(1.25, 1.25, 1.25)
- end
- end
- end)
- ADD_COMMAND('fixhead','fixhead [plr]',{'fhead'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- PCHAR.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
- PCHAR.Head.Mesh.Offset = Vector3.new(0, 0, 0)
- PCHAR.Head.Transparency = 0
- if PCHAR.Head:FindFirstChild('face') then PCHAR.Head.face.Transparency = 0 end
- end
- end)
- ADD_COMMAND('removehead','removehead [plr]',{'rhead'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- PCHAR.Head.Transparency = 1
- if PCHAR.Head:FindFirstChild('face') then PCHAR.Head.face.Transparency = 1 end
- end
- end)
- ADD_COMMAND('stealtools','stealtools [plr]',{'stools'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for i,v in pairs(_PLAYERS[v].Backpack:GetChildren()) do
- if v:IsA('Tool') or v:IsA('HopperBin') then
- v.Parent = LP.Backpack
- end
- end
- end
- end)
- ADD_COMMAND('removetools','removetools [plr]',{'rtools'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for i,v in pairs(_PLAYERS[v].Backpack:GetChildren()) do
- if v:IsA('Tool') or v:IsA('HopperBin') then
- v:destroy()
- end
- end
- end
- end)
- ADD_COMMAND('clonetools','clonetools [plr]',{'ctools'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for i,v in pairs(_PLAYERS[v].Backpack:GetChildren()) do
- if v:IsA('Tool') or v:IsA('HopperBin') then
- v:Clone().Parent = LP.Backpack
- end
- end
- end
- end)
- ADD_COMMAND('dong','dong [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- if ARGS[2] == 'black' then
- CREATE_DONG(_PLAYERS[v], 'Brown')
- end
- if ARGS[2] == 'asian' then
- CREATE_DONG(_PLAYERS[v], 'Cool yellow')
- end
- if ARGS[2] == 'alien' then
- CREATE_DONG(_PLAYERS[v], 'Lime green')
- end
- if ARGS[2] == 'frozen' then
- CREATE_DONG(_PLAYERS[v], 1019)
- end
- if not ARGS[2] then
- CREATE_DONG(_PLAYERS[v], 'Pastel brown')
- end
- end
- end)
- ADD_COMMAND('particles','particles [plr] [id]',{'pts'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- for i,v in pairs(PCHAR.Torso:GetChildren()) do
- if v:IsA('ParticleEmitter') then
- v:destroy()
- end
- end
- Instance.new('ParticleEmitter', PCHAR.Torso).Texture = 'rbxassetid://' .. ARGS[2] - 1
- end
- end)
- ADD_COMMAND('rocket','rocket [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- spawn(function()
- local R = ROCKET:Clone()
- R.Parent = workspace
- local W = Instance.new('Weld', R)
- W.Part0 = W.Parent
- W.Part1 = PCHAR.Torso
- W.C1 = CFrame.new(0, 0.5, 1)
- R.force.Force = Vector3.new(0, 15000, 0)
- wait()
- PCHAR.HumanoidRootPart.CFrame = PCHAR.HumanoidRootPart.CFrame * CFrame.new(0, 5, 0)
- wait(5)
- Instance.new('Explosion', R).Position = R.Position
- wait(1)
- R:destroy()
- end)
- end
- end)
- ADD_COMMAND('blackify','blackify [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- COLOR(_PLAYERS[v], 'Really black')
- end
- end)
- ADD_COMMAND('whitify','whitify [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- COLOR(_PLAYERS[v], 'White')
- end
- end)
- ADD_COMMAND('color','color [plr] [brick color]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- COLOR(_PLAYERS[v], GLS(false, 1))
- end
- end)
- ADD_COMMAND('change','change [plr] [stat] [int/string]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- if _PLAYERS[v]:FindFirstChild('leaderstats') then
- for i,v in pairs(_PLAYERS[v].leaderstats:GetChildren()) do
- if string.lower(v.Name) == string.lower(ARGS[2]) and v:IsA('IntValue') or v:IsA('NumberValue') then
- if ARGS[3] then v.Value = tonumber(ARGS[3]) end
- elseif string.lower(v.Name) == string.lower(ARGS[2]) and v:IsA('StringValue') then
- v.Value = GLS(false, 2)
- end
- end
- end
- end
- end)
- ADD_COMMAND('bait','bait',{},
- function(ARGS, SPEAKER)
- spawn(function()
- local M = Instance.new('Model', workspace) M.Name = 'Touch For Admin!'
- local P = Instance.new('Part', M) P.Name = 'Head' P.Position = SPEAKER.Character.Head.Position P.BrickColor = BrickColor.new('Pink') P.Material = 'Neon'
- local H = Instance.new('Humanoid', M)
- P.Touched:connect(function(RIP) if RIP.Parent.Name ~= SPEAKER.Name or RIP.Parent.Name ~= LP.Name then if RIP.Parent:FindFirstChild('Humanoid') then RIP.Parent.Humanoid:destroy() end end end)
- end)
- end)
- ADD_COMMAND('naked','naked [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- for i,v in pairs(PCHAR:GetChildren()) do
- if v:IsA('Accessory') or v:IsA('Shirt') or v:IsA('Pants') or v:IsA('ShirtGraphic') then
- v:destroy()
- end
- for i,v in pairs(PCHAR.Torso:GetChildren()) do
- if v:IsA('Decal') then
- v:destroy()
- end
- end
- end
- end
- end)
- ADD_COMMAND('decalspam','decalspam [decal]',{'dspam'},
- function(ARGS, SPEAKER)
- if ARGS[1] then
- DECALSPAM(workspace, ARGS[1])
- end
- end)
- ADD_COMMAND('undecalspam','undecalspam',{'undspam'},
- function(ARGS, SPEAKER)
- if ARGS[1] then
- UNDECALSPAM(workspace)
- end
- end)
- ADD_COMMAND('bang','bang [plr]',{'rape'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- BANG(_PLAYERS[v].Name)
- end
- end)
- ADD_COMMAND('lag','lag [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- LAG(_PLAYERS[v])
- end
- end)
- ADD_COMMAND('respawn','respawn [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- RESPAWN(_PLAYERS[v])
- end
- end)
- ADD_COMMAND('face','face [plr] [decal]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- for i,v in pairs(PCHAR.Head:GetChildren()) do if v:IsA('Decal') then v:destroy() end end
- local F = Instance.new('Decal', PCHAR.Head) F.Name = 'face' F.Texture = 'rbxassetid://' .. ARGS[2] - 1
- end
- end)
- ADD_COMMAND('shirt','shirt [plr] [decal]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- for i,v in pairs(PCHAR:GetChildren()) do if v:IsA('Shirt') then v:destroy() end end
- local S = Instance.new('Shirt', PCHAR) S.Name = 'Shirt' S.ShirtTemplate = 'rbxassetid://' .. ARGS[2] - 1
- end
- end)
- ADD_COMMAND('pants','pants [plr] [decal]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- for i,v in pairs(PCHAR:GetChildren()) do if v:IsA('Pants') then v:destroy() end end
- local P = Instance.new('Pants', PCHAR) P.Name = 'Shirt' P.PantsTemplate = 'rbxassetid://' .. ARGS[2] - 1
- end
- end)
- ADD_COMMAND('longneck','longneck [plr]',{'lneck', 'giraffe'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- RESET_MODEL(PCHAR)
- UPDATE_MODEL(PCHAR, _PLAYERS[v].Name)
- for i,v in pairs(PCHAR:GetChildren()) do if v:IsA('Accessory') then v.Handle.Mesh.Offset = Vector3.new(0, 5, 0) end end
- if PCHAR.Head:FindFirstChild('Mesh') then PCHAR.Head.Mesh.Offset = Vector3.new(0, 5, 0) end
- local G = Instance.new('Part', PCHAR) G.Name = 'giraffe_seth' G.BrickColor = PCHAR.Head.BrickColor G.Size = Vector3.new(2, 1, 1)
- local SM = Instance.new('SpecialMesh', G) SM.Scale = Vector3.new(1.25, 5, 1.25) SM.Offset = Vector3.new(0, 2, 0)
- local W = Instance.new('Weld', G) W.Part0 = PCHAR.Head W.Part1 = G
- end
- end)
- ADD_COMMAND('stealchar','stealchar [plr]',{'schar'},
- function(ARGS, SPEAKER)
- local PLAYERS1, PLAYERS2 = GET_PLAYER(ARGS[1])
- for i,v in pairs(PLAYERS1) do
- RESET_MODEL(SPEAKER.Character) UPDATE_MODEL(SPEAKER.Character, _PLAYERS[v].Name)
- end
- end)
- ADD_COMMAND('baseplate','baseplate',{'bp'},
- function(ARGS, SPEAKER)
- for i,v in pairs(workspace:GetChildren()) do if v:IsA('Model') and v.Name == 'baseplate_seth' then v:destroy() end end
- local BP = Instance.new('Part', workspace) BP.Name = 'baseplate_seth' BP.Anchored = true BP.BrickColor = BrickColor.new('Bright green') BP.Size = Vector3.new(2048, 5, 2048) BP.Position = Vector3.new(0, 0, 0)
- end)
- ADD_COMMAND('norotate','norotate [plr]',{'nrt'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- if PCHAR:FindFirstChild('Humanoid') then PCHAR.Humanoid.AutoRotate = false end
- end
- end)
- ADD_COMMAND('rotate','rotate [plr]',{'rt'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- if PCHAR:FindFirstChild('Humanoid') then PCHAR.Humanoid.AutoRotate = true end
- end
- end)
- ADD_COMMAND('admin','admin [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- if not CHECK_ADMIN(_PLAYERS[v]) then
- table.insert(ADMINS, _PLAYERS[v].userId)
- UPDATE_ADMINS()
- spawn(function()
- game.Chat:Chat(_PLAYERS[v].Character.Head, STUFF .. 'You\'re now an admin!')
- wait(3)
- game.Chat:Chat(_PLAYERS[v].Character.Head, STUFF .. 'Give me a try! | ' .. C_PREFIX .. 'ff me')
- end)
- end
- end
- end)
- ADD_COMMAND('unadmin','unadmin [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- if CHECK_ADMIN(_PLAYERS[v]) then
- if FIND_IN_TABLE(ADMINS, _PLAYERS[v].userId) then
- table.remove(ADMINS, GET_IN_TABLE(ADMINS, _PLAYERS[v].userId))
- UPDATE_ADMINS()
- game.Chat:Chat(_PLAYERS[v].Character.Head, STUFF .. 'You\'re no longer an admin.')
- end
- end
- end
- end)
- ADD_COMMAND('minzoom','minzoom [plr] [int]',{'minz'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- _PLAYERS[v].CameraMinZoomDistance = ARGS[2]
- end
- end)
- ADD_COMMAND('maxzoom','maxzoom [plr] [int]',{'maxz'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- _PLAYERS[v].CameraMaxZoomDistance = ARGS[2]
- end
- end)
- ADD_COMMAND('age','age [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- NOTIFY(_PLAYERS[v].Name .. ' | ' .. _PLAYERS[v].AccountAge, 255, 255, 255)
- end
- end)
- ADD_COMMAND('hl','hl [plr] [r] [g] [b]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- if PCHAR:FindFirstChild('Torso') then
- local HL = Instance.new('SpotLight', PCHAR.Torso) HL.Name = 'seth_hl' HL.Brightness = 5 HL.Range = 60
- if ARGS[2] and ARGS[3] and ARGS[4] then
- HL.Color = C3(ARGS[2], ARGS[3], ARGS[4])
- end
- end
- end
- end)
- ADD_COMMAND('unhl','unhl [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- if PCHAR:FindFirstChild('Torso') then
- for i,v in pairs(PCHAR.Torso:GetChildren()) do
- if v:IsA('SpotLight') and v.Name == 'seth_hl' then
- v:destroy()
- end
- end
- end
- end
- end)
- ADD_COMMAND('crash','crash [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- PCHAR.Torso.Anchored = true
- for i,v in pairs(PCHAR:GetChildren()) do
- if v:IsA('Humanoid') then
- for i = 1,10 do
- v.HipHeight = 1/0*0
- end
- end
- end
- end
- end)
- ADD_COMMAND('smite','smite [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- spawn(function()
- local function CastRay(A, B, C) local V = B - A return workspace:FindPartOnRayWithIgnoreList(Ray.new(A, V.unit * math.min(V.magnitude, 999)), C or {}, false, true) end
- local PP = PCHAR.PrimaryPart.Position - Vector3.new(0, 3, 0)
- local S = Instance.new('Sound', workspace) S.SoundId = 'rbxassetid://178090362' S.Volume = 1 S:Play() spawn(function() wait(7) S:destroy() end)
- local S,P2 = CastRay(PP, PP - Vector3.new(0, 9, 0), {PCHAR})
- local P1 = Instance.new('Part', game.Workspace)
- P1.BrickColor = BrickColor.new('Institutional white')
- P1.Material = 'Neon'
- P1.Transparency = 0.9
- P1.Anchored = true
- P1.CanCollide = false
- P1.Size = Vector3.new(0.2, 0.2, 0.2)
- P1.CFrame = CFrame.new((S and P2 or PP) + Vector3.new(0, 1e3, 0))
- Instance.new('BlockMesh', P1).Scale = Vector3.new(10, 10000, 10)
- local P2, P3, P4, P5 = P1:Clone(), P1:Clone(), P1:Clone(), P1:Clone()
- for i, v in next, {P2, P3, P4, P5} do i = i * 0.1 v.Parent, v.Size = P1, Vector3.new(0.2 + i, 0.2, 0.2 + i ) v.CFrame = P1.CFrame end wait(0.5) P1:destroy() PCHAR:BreakJoints()
- end)
- end
- end)
- ADD_COMMAND('skydive','skydive [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- spawn(function()
- for i = 0, 3 do
- if PCHAR then
- PCHAR.HumanoidRootPart.CFrame = PCHAR.HumanoidRootPart.CFrame + Vector3.new(0, 7500, 0)
- end
- end
- end)
- end
- end)
- ADD_COMMAND('message','message [string]',{'m'},
- function(ARGS, SPEAKER)
- spawn(function()
- if MG then
- MESSAGE(GLS(false, 0))
- else
- LOAD_MESSAGE(GLS(false, 0))
- end
- end)
- end)
- ADD_COMMAND('control','control [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = _PLAYERS[v].Character
- local HB = Instance.new('HopperBin', LP.Backpack) HB.Name = _PLAYERS[v].Name
- local CONTROL_ENABLED = false
- local function CONTROL(P, V3)
- if CONTROL_ENABLED then
- if P.Character and P.Character:FindFirstChild('Humanoid') then
- P.Character.Humanoid:MoveTo(V3)
- end
- end
- end
- HB.Selected:connect(function(M)
- M.Button1Down:connect(function() CONTROL_ENABLED = true CONTROL(_PLAYERS:FindFirstChild(HB.Name), M.Hit.p) end)
- M.Button1Up:connect(function() CONTROL_ENABLED = false end)
- end)
- end
- end)
- -- / extra
- ADD_COMMAND('gravity','gravity [int]',{},
- function(ARGS, SPEAKER)
- workspace.Gravity = ARGS[1]
- end)
- ADD_COMMAND('fixlighting','fixlighting',{'fixl'},
- function(ARGS, SPEAKER)
- FIX_LIGHTING()
- end)
- ADD_COMMAND('fixfog','fixfog',{'clrfog'},
- function(ARGS, SPEAKER)
- _LIGHTING.FogColor = C3(191, 191, 191)
- _LIGHTING.FogEnd = 100000000
- _LIGHTING.FogStart = 0
- end)
- ADD_COMMAND('day','day',{},
- function(ARGS, SPEAKER)
- _LIGHTING.TimeOfDay = 14
- end)
- ADD_COMMAND('night','night',{},
- function(ARGS, SPEAKER)
- _LIGHTING.TimeOfDay = 24
- end)
- ADD_COMMAND('serverlock','serverlock',{'slock'},
- function(ARGS, SPEAKER)
- SERVER_LOCKED = true
- end)
- ADD_COMMAND('unserverlock','unserverlock',{'unslock'},
- function(ARGS, SPEAKER)
- SERVER_LOCKED = false
- end)
- ADD_COMMAND('fogend','fogend [int]',{},
- function(ARGS, SPEAKER)
- _LIGHTING.FogEnd = ARGS[1]
- end)
- ADD_COMMAND('fogcolor','fogcolor [r] [g] [b]',{},
- function(ARGS, SPEAKER)
- if ARGS[1] and ARGS[2] and ARGS[3] then
- _LIGHTING.FogColor = C3(ARGS[1], ARGS[2], ARGS[3])
- end
- end)
- ADD_COMMAND('noclip','noclip',{},
- function(ARGS, SPEAKER)
- NOCLIP = true
- JESUSFLY = false
- SWIM = false
- end)
- ADD_COMMAND('clip','clip',{},
- function(ARGS, SPEAKER)
- NOCLIP = false
- end)
- ADD_COMMAND('jesusfly','jesusfly',{},
- function(ARGS, SPEAKER)
- NOCLIP = false
- JESUSFLY = true
- SWIM = false
- end)
- ADD_COMMAND('nojfly','nojfly',{},
- function(ARGS, SPEAKER)
- JESUSFLY = false
- end)
- ADD_COMMAND('swim','swim',{},
- function(ARGS, SPEAKER)
- NOCLIP = false
- JESUSFLY = false
- SWIM = true
- end)
- ADD_COMMAND('noswim','noswim',{},
- function(ARGS, SPEAKER)
- SWIM = false
- end)
- ADD_COMMAND('fly','fly',{},
- function(ARGS, SPEAKER)
- sFLY()
- end)
- ADD_COMMAND('unfly','unfly',{},
- function(ARGS, SPEAKER)
- NOFLY()
- end)
- ADD_COMMAND('prefix','prefix [string]',{},
- function(ARGS, SPEAKER)
- if ARGS[1] then
- C_PREFIX = ARGS[1]
- NOTIFY('Changed prefix to \'' .. ARGS[1] .. '\'', 255, 255, 255)
- end
- end)
- ADD_COMMAND('version','version',{},
- function(ARGS, SPEAKER)
- NOTIFY('VERSION | ' .. VERSION, 255, 255, 255)
- end)
- ADD_COMMAND('fe','fe',{},
- function(ARGS, SPEAKER)
- spawn(function()
- CHECK_FE()
- end)
- end)
- function OPEN_COMMANDS()
- SETH_MAIN.main.holder.Size = UDim2.new(1, 25, 12, 30)
- SETH_MAIN.main.holder.holders.search.Visible = true
- end
- function CLOSE_COMMANDS()
- SETH_MAIN.main.holder.holders.search.Visible = false
- SETH_MAIN.main.holder.Size = UDim2.new(1, 25, 12, 0)
- end
- function OPEN_TAB(TAB)
- if not _CORE:FindFirstChild('seth_main') then OPEN_MAIN() end
- for a,b in pairs(SETH_MAIN.main.holder.holders:GetChildren()) do
- if b.Name ~= TAB then
- b.Visible = false
- else
- b.Visible = true
- end
- if TAB ~= 'cmds' then
- CLOSE_COMMANDS()
- else
- OPEN_COMMANDS()
- end
- end
- end
- ADD_COMMAND('serverinfo','serverinfo',{'sinfo'},
- function(ARGS, SPEAKER)
- OPEN_TAB('server')
- end)
- ADD_COMMAND('admins','admins',{},
- function(ARGS, SPEAKER)
- OPEN_TAB('admins')
- end)
- ADD_COMMAND('cmds','cmds',{'commands'},
- function(ARGS, SPEAKER)
- OPEN_TAB('cmds')
- end)
- ADD_COMMAND('bans','bans',{},
- function(ARGS, SPEAKER)
- OPEN_TAB('bans')
- end)
- ADD_COMMAND('fun','fun',{},
- function(ARGS, SPEAKER)
- OPEN_TAB('fun')
- end)
- ADD_COMMAND('changelog','changelog',{},
- function(ARGS, SPEAKER)
- OPEN_TAB('changelog')
- end)
- ADD_COMMAND('credits','credits',{},
- function(ARGS, SPEAKER)
- OPEN_TAB('credits')
- end)
- MOUSE.KeyDown:connect(function(key)
- if key:byte() == 29 then
- if not NOCLIP then
- ECOMMAND('noclip')
- elseif NOCLIP then
- ECOMMAND('clip')
- end
- elseif key:byte() == 30 then
- if not JESUSFLY then
- ECOMMAND('jesusfly')
- elseif JESUSFLY then
- ECOMMAND('nojfly')
- end
- end
- end)
- -- / after loaded
- function CHECK_FE()
- if not workspace.FilteringEnabled then
- NOTIFY('Filtering is disabled', 50, 255, 50)
- elseif workspace.FilteringEnabled then
- NOTIFY('Filtering is ENABLED', 255, 50, 50)
- end
- end
- CMD_BAR_H.bar:TweenPosition(UDim2.new(0, 0, 1, -50), 'InOut', 'Quad', 0.5, true)
- local GOING_IN = true
- CMD_BAR_H.bar.Changed:connect(function()
- if CMD_BAR_H.bar.Text ~= 'press ; to execute a command' and CMD_BAR_H.bar.Focused and not GOING_IN then
- if CMD_BAR_H.bar.Text ~= '' then
- if not CMD_BAR_H.bar.Text:find(' ') then
- CMD_BAR_H.bar.commands.Visible = true
- CMD_BAR_H.bar.commands:ClearAllChildren()
- CMD_BAR_H.bar.commands.CanvasSize = UDim2.new(0, 0, 0, 0)
- local Y_COMMANDS = 0
- for i,v in pairs(COMMANDS) do
- if v.N:find(CMD_BAR_H.bar.Text) then
- CMD_BAR_H.bar.commands:TweenSize(UDim2.new(1, 0, 1, -200), 'InOut', 'Quad', 0.2, true)
- CMD_BAR_H.bar.commands.CanvasSize = CMD_BAR_H.bar.commands.CanvasSize + UDim2.new(0, 0, 0, 20)
- local COMMANDS_C = CMD_BAR_H.bar.commands_ex:Clone()
- COMMANDS_C.Position = UDim2.new(0, 0, 0, Y_COMMANDS)
- COMMANDS_C.Visible = true
- COMMANDS_C.Text = ' ' .. v.D
- COMMANDS_C.Parent = CMD_BAR_H.bar.commands
- Y_COMMANDS = Y_COMMANDS + 20
- end
- end
- end
- else
- CMD_BAR_H.bar.commands:TweenSize(UDim2.new(1, 0, 0, 0), 'InOut', 'Quad', 0.2, true)
- CMD_BAR_H.bar.commands:ClearAllChildren()
- CMD_BAR_H.bar.commands.CanvasSize = UDim2.new(0, 0, 0, 0)
- end
- end
- end)
- CMD_BAR_H.bar.FocusLost:connect(function()
- GOING_IN = true
- if CMD_BAR_H.bar.Text ~= '' then
- spawn(function()
- ECOMMAND(CMD_BAR_H.bar.Text, LP)
- end)
- end
- CMD_BAR_H.bar.commands:ClearAllChildren()
- CMD_BAR_H.bar.commands.CanvasSize = UDim2.new(0, 0, 0, 0)
- CMD_BAR_H.bar.commands:TweenSize(UDim2.new(1, 0, 0, 0), 'InOut', 'Quad', 0.2, true)
- CMD_BAR_H.bar:TweenPosition(UDim2.new(0, -225, 1, -50), 'InOut', 'Quad', 0.5, true)
- end)
- MOUSE.KeyDown:connect(function(K)
- if K:byte() == 59 then
- GOING_IN = false
- CMD_BAR_H.bar:TweenPosition(UDim2.new(0, 0, 1, -50), 'InOut', 'Quad', 0.5, true)
- CMD_BAR_H.bar:CaptureFocus()
- end
- end)
- NOTIFY('Hello, ' .. _PLAYERS.LocalPlayer.Name, 255, 255, 255)
- CHECK_FE()
- end)
- topkek.MouseButton1Down:connect(function()
- -- edited by bork so it works with proto XD
- local topkek = {}
- topkek.patch = '1.0.5a'
- topkek.data = {}
- topkek.commandbase = {}
- topkek.navigation = {}
- topkek.banmgr = {}
- topkek.lplr = game:GetService('Players').LocalPlayer
- topkek.tools = {}
- topkek.tools.gui = {}
- topkek.tools.util = {}
- topkek.tools.animator = {}
- topkek.windows = {}
- topkek.windows.lplr = {}
- topkek.windows.server = {}
- topkek.windows.players = {}
- topkek.windows.destruction = {}
- topkek.windows.scripts = {}
- topkek.windows.misc = {}
- topkek.misc = {}
- topkek.gui = game:GetObjects("rbxassetid://678309209")[1]
- topkek.gui.Parent = game:GetService("CoreGui")
- topkek.center = topkek.gui.Main
- topkek.holder = topkek.center.Holder
- topkek.topbar = topkek.center.Topbar
- topkek.template = topkek.holder.Template
- topkek.navigator = topkek.center.Navigation
- AllowHovers = false
- PlayerChatHook, UpdateBanlist = nil
- cmd = {}
- --// data //--
- topkek.data.windows = {
- 'Home',
- 'LocalPlayer',
- 'Server',
- 'Players',
- 'Destruction',
- 'Scripts',
- 'Catalog',
- 'Music',
- 'Hats',
- 'Faces',
- 'Settings',
- 'Commands',
- 'Banlist',
- }
- color3 = function(r,g,b)
- return Color3.new(r/255, g/255, b/255)
- end
- --// doggo dropdown //--
- -- thanks krystal
- GUI = {
- TextBox = {
- Settings = {
- Font = Enum.Font.SourceSans;
- FontSize = Enum.FontSize.Size14;
- };
- Color = {
- Main = Color3.fromRGB(5,8,11);
- Border = Color3.fromRGB(27,42,53);
- Text = Color3.fromRGB(199,199,199);
- };
- New = function(Position, Size, Parent, ...)
- local arguments = {...};
- local TextBox = Instance.new("TextBox", Parent);
- TextBox.BackgroundColor3 = GUI.DropDown.Color.Main;
- TextBox.BorderColor3 = GUI.DropDown.Color.Border;
- TextBox.Font = GUI.TextBox.Settings.Font;
- TextBox.FontSize = GUI.TextBox.Settings.FontSize;
- TextBox.TextColor3 = GUI.TextBox.Color.Text;
- TextBox.Position = Position;
- TextBox.Size = Size;
- if #arguments then
- if arguments[1] then
- TextBox.Text = tostring(arguments[1]);
- else
- TextBox.Text = "";
- end
- end
- return TextBox;
- end;
- };
- DropDown = {
- Settings = {
- ScrollerAmount = 5; --A scroller will appear at this amount.
- ScrollBarThickness = 6;
- };
- Gfx = {
- Scroller = "rbxassetid://606572419";
- };
- Color = {
- Main = color3(107, 36, 36);
- Secondary = color3(113, 39, 39);
- Border = color3(127, 44, 44);
- Text = Color3.fromRGB(199,199,199);
- };
- New = function(Position, Size, Parent, ...)
- local vValue = {};
- local arguments = {...};
- local vSelected = Instance.new("StringValue");
- vSelected.Value = "nil";
- if arguments then
- if type(arguments) == "table" then
- for i=1,#(arguments) do
- if type(arguments[i]) == "table" then
- for f=1,#(arguments[i]) do
- table.insert(vValue, tostring((arguments[i])[f]));
- end
- else
- table.insert(vValue, tostring(arguments[i]));
- end
- end
- vSelected.Value = (vValue[1]);
- end
- end
- local Main = Instance.new("TextButton", Parent);
- Main.BackgroundColor3 = GUI.DropDown.Color.Main;
- Main.BorderColor3 = GUI.DropDown.Color.Border;
- Main.Position = Position;
- Main.Size = Size;
- Main.TextColor3 = GUI.DropDown.Color.Text;
- Main.FontSize = Enum.FontSize.Size14;
- Main.TextStrokeTransparency = 0.5;
- Main.TextXAlignment = Enum.TextXAlignment.Left;
- Main.Font = Enum.Font.SourceSans;
- Main.Text = " "..tostring(vSelected.Value);
- Main.ZIndex = 3
- local Icon = Instance.new("TextLabel", Main);
- Icon.SizeConstraint = Enum.SizeConstraint.RelativeYY;
- Icon.BackgroundColor3 = GUI.DropDown.Color.Secondary;
- Icon.BorderColor3 = GUI.DropDown.Color.Border;
- Icon.Position = UDim2.new(1,-2,1,-2);
- Icon.Size = UDim2.new(-1,4,-1,4);
- Icon.TextColor3 = GUI.DropDown.Color.Text;
- Icon.FontSize = Enum.FontSize.Size14;
- Icon.TextStrokeTransparency = 0.5;
- Icon.Font = Enum.Font.SourceSans;
- Icon.Text = "V"
- Icon.ZIndex = 4
- local Holder, Search;
- local ClearHolder = function()
- if Holder then
- Holder:ClearAllChildren();
- Holder.Size = UDim2.new(1,0,0,0);
- Holder.Visible = false;
- if Search then
- Search.Visible = false;
- end
- end
- end;
- local CreateButton;
- local RefreshDropDown = function()
- if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
- if not Holder or not Holder:IsA("Frame") then
- Holder = nil; Search = nil;
- Holder = Instance.new("Frame",Main);
- Holder.Size = UDim2.new(1,0,0,0);
- Holder.BackgroundColor3 = GUI.DropDown.Color.Main;
- Holder.BorderColor3 = GUI.DropDown.Color.Border;
- Holder.Visible = false;
- Holder.ZIndex = 3
- end
- elseif #vValue > (GUI.DropDown.Settings.ScrollerAmount) then
- if not Holder or not Holder:IsA("ScrollingFrame") then
- Holder = nil; Search = nil;
- Search = GUI.TextBox.New(UDim2.new(0,0,0,0),UDim2.new(1,0,0,Main.AbsoluteSize.Y),Main);
- Search.Visible = false;
- Search.ZIndex = 4
- Search.Changed:connect(function(p)
- if p == "Text" then
- CreateButton(Search.Text);
- end
- end)
- Holder = Instance.new("ScrollingFrame",Main);
- Holder.BackgroundColor3 = GUI.DropDown.Color.Main;
- Holder.BorderColor3 = GUI.DropDown.Color.Border;
- Holder.TopImage = GUI.DropDown.Gfx.Scroller;
- Holder.MidImage = GUI.DropDown.Gfx.Scroller;
- Holder.BottomImage = GUI.DropDown.Gfx.Scroller;
- Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * (GUI.DropDown.Settings.ScrollerAmount-1));
- Holder.Position = UDim2.new(0,0,0,Main.AbsoluteSize.Y)
- Holder.ScrollBarThickness = GUI.DropDown.Settings.ScrollBarThickness;
- Holder.Visible = false;
- Holder.ZIndex = 3;
- end
- end
- if #vValue == 1 and vSelected.Value ~= vValue[1] then
- vSelected.Value = vValue[1];
- elseif #vValue == 0 then
- vSelected.Value = "nil";
- warn("Table amount is nil.");
- end
- Main.Text = " "..tostring(vSelected.Value);
- --ClearHolder();
- end;
- local Debounce = false;
- CreateButton = function(searches)
- if Debounce == false then
- Debounce = true;
- ClearHolder()
- Holder.Visible = true;
- local Searched = 0;
- if #vValue > 0 then
- for i=1,#vValue do
- if (searches ~= nil and string.find(string.lower(vValue[i]), string.lower(searches)) and searches ~= "") then
- Searched = Searched + 1;
- end
- end
- for i=1,#vValue do
- if (searches ~= nil and string.find(string.lower(vValue[i]), string.lower(searches)) and searches ~= "" and Searched > 0) or searches == nil or searches == "" or Searched <= 0 then
- local Select = Instance.new("TextButton", Holder);
- Select.BackgroundColor3 = GUI.DropDown.Color.Main;
- Select.BorderColor3 = GUI.DropDown.Color.Border;
- Select.BackgroundTransparency = 1;
- Select.BorderSizePixel = 0;
- Select.Position = Position;
- if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
- Select.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y);
- else
- Select.Size = UDim2.new(1,-(GUI.DropDown.Settings.ScrollBarThickness),0,Main.AbsoluteSize.Y);
- end
- Select.Position = UDim2.new(0,0,0,(Main.AbsoluteSize.Y) * (#Holder:GetChildren() - 1))
- Select.TextColor3 = GUI.DropDown.Color.Text;
- Select.FontSize = Enum.FontSize.Size14;
- Select.TextStrokeTransparency = 0.5;
- Select.Font = Enum.Font.SourceSans;
- Select.Text = tostring(vValue[i]);
- Select.ZIndex = 3
- Select.MouseButton1Click:connect(function()
- vSelected.Value = vValue[i];
- ClearHolder();
- RefreshDropDown();
- end)
- if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
- Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * i);
- elseif Holder:IsA("ScrollingFrame") then
- Search.Visible = true;
- if #Holder:GetChildren() >= 1 then
- Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());
- Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());--GUI.DropDown.Settings.ScrollerAmount);
- if #Holder:GetChildren() >= GUI.DropDown.Settings.ScrollerAmount then
- Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * GUI.DropDown.Settings.ScrollerAmount);
- Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());
- end
- elseif #Holder:GetChildren() < 1 then
- Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * 1);
- Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * 1);
- end
- end
- end
- end
- end
- Debounce = false;
- end
- end;
- RefreshDropDown();
- Main.MouseButton1Click:connect(function()
- CreateButton()
- if #vValue >= GUI.DropDown.Settings.ScrollerAmount and Search ~= nil then
- Search:CaptureFocus();
- Search.Text = "";
- end
- end)
- topkek.lplr:GetMouse().Button1Down:connect(function()
- ClearHolder()
- end)
- return {
- Update = function()
- RefreshDropDown();
- end;
- GetValue = function()
- RefreshDropDown();
- return vValue;
- end;
- GetSelected = function()
- RefreshDropDown();
- return vSelected.Value;
- end;
- SetTable = function(F)
- vValue = F;
- RefreshDropDown();
- end;
- Changed = function(F)
- vSelected.Changed:connect(function()
- ypcall(function()
- F(vSelected.Value);
- end)
- end)
- return "ChangedEvent Hooked";
- end;
- AddValue = function(obj)
- local Type = type(obj);
- if Type == "table" then
- for i=1,#obj do
- table.insert(vValue, obj[i])
- end
- elseif Type == "string" or Type == "number" or Type == "boolean" then
- table.insert(vValue, obj)
- end
- RefreshDropDown();
- end;
- RemoveValue = function(obj)
- local Type = type(obj);
- if Type == "table" then
- for i=1,#vValue do
- for f=1,#obj do
- if tostring(obj[f]) == tostring(vValue[i]) then
- table.remove(vValue,i)
- end
- end
- end
- else
- for i=1,#vValue do
- if tostring(obj) == tostring(vValue[i]) then
- table.remove(vValue,i)
- end
- end
- end
- RefreshDropDown();
- end;
- ClearValue = function()
- vValue = {};
- RefreshDropDown();
- end;
- }
- end;
- };
- };
- --// util //--
- function topkek.tools.util.Object(o, p)
- local a, b = pcall(function()
- Instance.new(o)
- end)
- if not a then
- return
- end
- local obj = Instance.new(o)
- for prop, val in pairs(p) do
- pcall(function()
- obj[prop] = val
- end)
- end
- return obj
- end
- function topkek.tools.util.getContainer(n)
- if topkek.holder:FindFirstChild(n) then
- return topkek.holder[n]
- else
- print("menu not found; returning template")
- return topkek.holder['Template']
- end
- end
- function topkek.tools.util.play(id)
- local mu = Instance.new("Sound", game:GetService('Workspace'))
- mu.Volume = 1
- mu.Looped = true
- mu.Pitch = 1
- mu.SoundId = "rbxassetid://"..tostring(id)
- mu:Play()
- end
- function topkek.tools.util.getTorso(plr) --r15 compatibility lole
- if plr.Character then
- if plr.Character:FindFirstChild('UpperTorso') then
- return plr.Character.UpperTorso
- elseif plr.Character:FindFirstChild('Torso') then
- return plr.Character.Torso
- else
- return nil
- end
- end
- end
- function topkek.tools.util.recurseRemove(x,type_)
- local function recurse(x)
- for i, v in pairs(x:GetChildren()) do
- pcall(function()
- if v:IsA(type_) then
- v:Destroy()
- end
- if #(v:GetChildren())>0 then
- recurse(v)
- end
- end)
- end
- end
- recurse(x)
- end
- function topkek.tools.util.recurseFunc(type_,func)
- local function recurse(x)
- for i, v in pairs(x:GetChildren()) do
- pcall(function()
- if v:IsA(type_) then
- func(v)
- end
- if #(v:GetChildren())>0 then
- recurse(v)
- end
- end)
- end
- end
- recurse(game)
- end
- function topkek.tools.util.trowel()
- local T = Instance.new('Tool', game.Players.LocalPlayer.Backpack)
- T.Name = 'Custom Trowel'
- local p = Instance.new('Part')
- p.Name = 'Handle'
- p.Size = Vector3.new(1,4.4,1)
- p.Parent = T
- local specialMesh = Instance.new('SpecialMesh')
- specialMesh.MeshId = 'rbxasset://fonts/trowel.mesh'
- specialMesh.MeshType = 'FileMesh'
- specialMesh.TextureId = 'rbxasset://textures/TrowelTexture.png'
- specialMesh.Parent = T.Handle
- local sound = Instance.new'Sound'
- sound.Name = 'build'
- sound.SoundId = 'rbxasset://sounds//bass.wav'
- sound.Volume = 1
- sound.Parent = T.Handle
- local brickHeight = 100
- local trowelSpeed = 0.05
- local brickWidth = 500
- local mouseConnection
- function newBrick(CF, P, color)
- local brick = Instance.new('Part')
- brick.BrickColor = color
- brick.CFrame = CF * CFrame.new(P + brick.Size / 2)
- brick.Parent = game.Workspace
- brick:MakeJoints()
- brick.Material = 'Neon'
- brick.Name = 'DeleteMe'
- return brick, P + brick.Size
- end
- function genBrick(cFrame)
- local randBrickColor = BrickColor.Random()
- assert(brickWidth > 0)
- local yPos = 0
- while yPos < brickHeight do
- local vPos
- local X = -brickWidth / 2
- while X < brickWidth / 2 do
- local brick
- brick, vPos = newBrick(cFrame, Vector3.new(X, yPos, 0), randBrickColor)
- X = vPos.x
- wait(trowelSpeed)
- end
- yPos = vPos.y
- end
- end
- function calcPos(vec)
- if (math.abs(vec.x) > math.abs(vec.z)) then
- if vec.x > 0 then
- return Vector3.new(1, 0, 0)
- else
- return Vector3.new(-1, 0, 0)
- end
- else
- if (vec.z > 0) then
- return Vector3.new(0, 0, 1)
- else
- return Vector3.new(0, 0, -1)
- end
- end
- end
- T.Enabled = true
- T.Activated:connect(function()
- if T.Enabled and game.Players.LocalPlayer.Character:FindFirstChild('Humanoid') then
- T.Enabled = false
- T.Handle.build:Play()
- genBrick(CFrame.new(game.Players.LocalPlayer.Character.Humanoid.TargetPoint, game.Players.LocalPlayer.Character.Humanoid.TargetPoint + calcPos((game.Players.LocalPlayer.Character.Humanoid.TargetPoint - game.Players.LocalPlayer.Character.Head.Position).unit)))
- T.Enabled = true
- end
- end)
- T.Equipped:connect(function()
- mouseConnection = game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
- if (key == 'r') then
- for i,v in next, workspace:children'' do
- if (v.Name == 'DeleteMe') then
- v:Destroy()
- end
- end
- end
- end)
- end)
- T.Unequipped:connect(function()
- mouseConnection:disconnect()
- end)
- end
- function topkek.tools.util.recurseSet(type_,prop,val)
- local function recurse(x)
- for i, v in pairs(x:GetChildren()) do
- pcall(function()
- if v:IsA(type_) then
- v[prop]=val
- end
- if #(v:GetChildren())>0 then
- recurse(v)
- end
- end)
- end
- end
- recurse(game)
- end
- function topkek.tools.util.recurseUltimate(d)
- topkek.tools.util.recurseDecal(d)
- topkek.tools.util.recurseParticles(d)
- end
- function topkek.tools.util.recurseDecal(img)
- img = 'rbxassetid://' .. img
- local function skybox(x)
- local sky = Instance.new("Sky",game.Lighting)
- local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
- for i,v in pairs(fcs) do
- sky["Skybox"..v]=x
- end
- end
- local function decal(p, b)
- local sides = {"Back", "Bottom", "Front", "Left", "Right", "Top"}
- for i, v in pairs(sides) do
- local a = Instance.new("Decal", p)
- a.Texture = b
- a.Face = v
- end
- end
- local function recurse(x)
- for i, v in pairs(x:GetChildren()) do
- pcall(function() -- 'error occured, no output from Lua' LOLE
- if v:IsA("BasePart") then
- decal(v, img)
- end
- if #(v:GetChildren())>0 then
- recurse(v)
- end
- end)
- end
- end
- recurse(game)
- skybox(img)
- end
- function topkek.tools.util.recurseParticles(img)--topkek2.0 code tbh
- img = 'rbxassetid://' .. img
- local function skybox(x)
- local sky = Instance.new("Sky",game.Lighting)
- local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
- for i,v in pairs(fcs) do
- sky["Skybox"..v]=x
- end
- end
- local function particle(p, b)
- local a = Instance.new("ParticleEmitter", p)
- a.Rate = 500
- a.Lifetime = NumberRange.new(20, 30)
- a.VelocitySpread = 200
- a.Texture = b
- end
- local function recurse(x)
- for i, v in pairs(x:GetChildren()) do
- pcall(function() -- 'error occured, no output from Lua' LOLE
- if v:IsA("BasePart") then
- particle(v, img)
- end
- if #(v:GetChildren())>0 then
- recurse(v)
- end
- end)
- end
- end
- recurse(game)
- skybox(img)
- end
- function topkek.tools.util.recurseSetObj(obj,type_,prop,val)
- local function recurse(x)
- for i, v in pairs(x:GetChildren()) do
- pcall(function()
- if v:IsA(type_) then
- v[prop]=val
- end
- if #(v:GetChildren())>0 then
- recurse(v)
- end
- end)
- end
- end
- recurse(obj)
- end
- function topkek.tools.util.doPlayers(cval, func)
- local plrs = {}
- if cval == 'All' then
- plrs = game:GetService('Players'):GetPlayers()
- else
- plrs = {game:GetService('Players'):FindFirstChild(cval)}
- end
- for i, v in pairs(plrs) do
- func(v)
- end
- end
- function topkek.tools.util.scalePlayer(sc,plr)
- local pchar = plr.Character
- if pchar:FindFirstChild("UpperTorso") then
- warn("Player [" ..plr.Name.. "] is R15.")
- return
- end
- local function scale(chr,scl)
- for _,v in pairs(pchar:GetChildren()) do
- if v:IsA("Hat") then
- v:Clone()
- v.Parent = game.Lighting
- end
- end
- local Head = chr['Head']
- local Torso = chr['Torso']
- local LA = chr['Left Arm']
- local RA = chr['Right Arm']
- local LL = chr['Left Leg']
- local RL = chr['Right Leg']
- local HRP = chr['HumanoidRootPart']
- wait(0.1)
- Head.formFactor = 3
- Torso.formFactor = 3
- LA.formFactor = 3
- RA.formFactor = 3
- LL.formFactor = 3
- RL.formFactor = 3
- HRP.formFactor = 3
- Head.Size = Vector3.new(scl * 2, scl, scl)
- Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
- LA.Size = Vector3.new(scl, scl * 2, scl)
- RA.Size = Vector3.new(scl, scl * 2, scl)
- LL.Size = Vector3.new(scl, scl * 2, scl)
- RL.Size = Vector3.new(scl, scl * 2, scl)
- HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
- local Motor1 = Instance.new('Motor6D', Torso)
- Motor1.Part0 = Torso
- Motor1.Part1 = Head
- Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
- Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
- Motor1.Name = "Neck"
- local Motor2 = Instance.new('Motor6D', Torso)
- Motor2.Part0 = Torso
- Motor2.Part1 = LA
- Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
- Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
- Motor2.Name = "Left Shoulder"
- local Motor3 = Instance.new('Motor6D', Torso)
- Motor3.Part0 = Torso
- Motor3.Part1 = RA
- Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
- Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
- Motor3.Name = "Right Shoulder"
- local Motor4 = Instance.new('Motor6D', Torso)
- Motor4.Part0 = Torso
- Motor4.Part1 = LL
- Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
- Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
- Motor4.Name = "Left Hip"
- local Motor5 = Instance.new('Motor6D', Torso)
- Motor5.Part0 = Torso
- Motor5.Part1 = RL
- Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
- Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
- Motor5.Name = "Right Hip"
- local Motor6 = Instance.new('Motor6D', HRP)
- Motor6.Part0 = HRP
- Motor6.Part1 = Torso
- Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
- Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
- end
- scale(pchar, sc)
- for _,v in pairs(game.Lighting:GetChildren()) do
- if v:IsA("Hat") then
- v.Parent = pchar
- end
- end
- end
- function topkek.tools.util.applyFace(id)
- local Char = topkek.lplr.Character
- if(Char)then
- local Type = id
- local Meme=id
- local BBG_SIZE=Char.Head.Size.X*1.25;
- local STUD_VECTOR_1=Char.Head.Size.Z/4;
- local STUD_VECTOR_2=Char.Head.Size.Z;
- local bbg=Char:FindFirstChild'BBGMEME'or Instance.new('BillboardGui',Char);
- bbg.StudsOffset=Vector3.new(0,STUD_VECTOR_1,STUD_VECTOR_2);
- bbg.Size=UDim2.new(BBG_SIZE,0,BBG_SIZE);
- bbg.Adornee=Char.Head;
- bbg.Name='BBGMEME';
- local img=bbg:FindFirstChild'Meme'or Instance.new('ImageLabel',bbg);
- img.BackgroundTransparency=1;
- img.Image="rbxassetid://"..Meme;
- img.Size=UDim2.new(1,0,1,0)
- img.Name='Meme';
- for i,v in next,Char:children()do
- if(v.className=='Hat')then
- v=v:FindFirstChild'Handle';
- if(v)then
- v.Transparency=0
- end;
- end;
- end;
- end;
- end;
- function topkek.tools.util.weenieHutJunior(plr)
- plr=plr.Character
- Shaft=Instance.new("Part", plr)
- Shaft.Name='Shaft'
- Shaft.Size=Vector3.new(1, 2.5, 1)
- Shaft.TopSurface=0
- Shaft.BottomSurface=0
- Shaft.CanCollide=true
- Cyln=Instance.new("CylinderMesh", Shaft)
- Cyln.Scale=Vector3.new(0.5,0.7,0.5)
- Instance.new("Weld", plr)
- plr.Weld.Part0=plr:FindFirstChild("Torso") or plr:FindFirstChild("LowerTorso")
- plr.Weld.Part1=plr.Shaft
- plr.Weld.C0=CFrame.new(0,-0.35,-0.9)*CFrame.fromEulerAnglesXYZ(2.2,0,0)
- Shaft.BrickColor=BrickColor.new("Pastel brown")
- Tip=Instance.new("Part", plr)
- Tip.Name='Tip'
- Tip.TopSurface=0
- Tip.BottomSurface=0
- Tip.Size=Vector3.new(1, 1, 1)
- Tip.CanCollide=true
- Tip.Touched:connect(function(prt) if prt.Parent~=player then spawn(function() for i=1, 5 do local pert=Instance.new("Part", player) pert.CFrame=CFrame.new(prt.Position) pert.CanCollide=true local mesh=Instance.new("BlockMesh", pert) mesh.Scale=Vector3.new(0.2,0.2,0.2) pert.BrickColor=BrickColor.new("White") end end) end end)
- Cyln2=Instance.new("SpecialMesh", Tip)
- Cyln2.MeshType='Sphere'
- Cyln2.Scale=Vector3.new(0.6,0.6,0.6)
- Instance.new("Weld", plr).Name='Weld2'
- plr.Weld2.Part0=plr.Shaft
- plr.Weld2.Part1=plr.Tip
- plr.Weld2.C0=CFrame.new(0,-.9,0)
- Tip.BrickColor=BrickColor.new("Pink")
- -----
- Ball1=Instance.new("Part", plr)
- Ball1.Name='Ball1'
- Ball1.Size=Vector3.new(1, 1, 1)
- Ball1.TopSurface=0
- Ball1.BottomSurface=0
- Cyln3=Instance.new("SpecialMesh", Ball1)
- Cyln3.MeshType='Sphere'
- Cyln3.Scale=Vector3.new(0.4,0.4,0.4)
- Instance.new("Weld", plr).Name='Weld3'
- plr.Weld3.Part0=plr.Shaft
- plr.Weld3.Part1=plr.Ball1
- plr.Weld3.C0=CFrame.new(0.225,.4,0.2)
- Ball1.BrickColor=BrickColor.new("Pastel brown")
- -----
- Ball2=Instance.new("Part", plr)
- Ball2.Name='Ball2'
- Ball2.Size=Vector3.new(1, 1, 1)
- Ball2.TopSurface=0
- Ball2.BottomSurface=0
- Cyln3=Instance.new("SpecialMesh", Ball2)
- Cyln3.MeshType='Sphere'
- Cyln3.Scale=Vector3.new(0.4,0.4,0.4)
- Instance.new("Weld", plr).Name='Weld4'
- plr.Weld4.Part0=plr.Shaft
- plr.Weld4.Part1=plr.Ball2
- plr.Weld4.C0=CFrame.new(-0.225,.4,0.2)
- Ball2.BrickColor=BrickColor.new("Pastel brown")
- end
- --// banmgr //--
- topkek.banmgr.isPrivate = false
- topkek.banmgr.whitelist = {}
- topkek.banmgr.bans = {}
- function topkek.banmgr.executeKick(z)
- local function doKick()
- if z.Character and z.Character:FindFirstChild('HumanoidRootPart') and z.Character:FindFirstChild('Torso') then
- z.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
- local SP = Instance.new('SkateboardPlatform', z.Character) SP.Position = z.Character.HumanoidRootPart.Position SP.Transparency = 1
- spawn(function()
- repeat wait()
- if z.Character and z.Character:FindFirstChild('HumanoidRootPart') then
- SP.Position = z.Character.HumanoidRootPart.Position
- end
- until not game:GetService('Players'):FindFirstChild(z.Name)
- end)
- z.Character.Torso.Anchored = true
- end
- end
- repeat
- doKick()
- wait()
- until not z
- end
- function topkek.banmgr.loadFromFile()
- -- todo: read file
- topkek.settings.get()
- topkek.banmgr.bans = topkek.settingsTable['Bans']
- end
- function topkek.banmgr.addHardBan(p)
- -- todo: write file
- table.insert(topkek.banmgr.bans, p.Name)
- topkek.settings.get()
- table.insert(topkek.settingsTable['Bans'], p.Name)
- topkek.settings.write()
- print("Hardbanned " .. p.Name)
- UpdateBanlist()
- topkek.banmgr.executeKick(p)
- topkek.banmgr.loadFromFile()
- end
- function topkek.banmgr.addSoftBan(p)
- table.insert(topkek.banmgr.bans, p.Name)
- topkek.banmgr.executeKick(p)
- end
- function topkek.banmgr.plrBanned(p)
- for x, m in pairs(topkek.banmgr.bans) do
- if m == p.Name then
- return true
- end
- end
- return false
- end
- function topkek.banmgr.doWhitelist(p)
- print(p .. " whitelisted")
- table.insert(topkek.banmgr.whitelist, p)
- end
- function topkek.banmgr.unwhitelist(p)
- for x, m in pairs(topkek.banmgr.whitelist) do
- if m == p then
- print(m .. " unwhitelisted")
- table.remove(topkek.banmgr.whitelist, x)
- if game:GetService('Players'):FindFirstChild(p) then
- topkek.banmgr.executeKick(game:GetService('Players')[p])
- end
- end
- end
- end
- function topkek.banmgr.plrWhitelisted(p)
- for x, m in pairs(topkek.banmgr.whitelist) do
- if m == p.Name then
- return true
- end
- end
- return false
- end
- function topkek.banmgr.makePrivate()
- topkek.banmgr.isPrivate = true
- for i, v in pairs(game:GetService('Players'):GetPlayers()) do
- if not topkek.banmgr.plrWhitelisted(v) and v ~= topkek.lplr then
- spawn(function()
- topkek.banmgr.executeKick(v)
- end)
- end
- end
- end
- function topkek.banmgr.unprivate()
- topkek.banmgr.isPrivate = false
- end
- function topkek.banmgr.init()
- topkek.banmgr.loadFromFile()
- game:GetService('Players').PlayerAdded:connect(function(p)
- if topkek.banmgr.plrBanned(p) or (topkek.banmgr.isPrivate and not topkek.banmgr.plrWhitelisted(p)) then
- print("Player " .. p.Name .. " is banned (or private on)! Kicking now.")
- topkek.banmgr.executeKick(p)
- end
- end)
- end
- --// settings //--
- topkek.settings = {}
- topkek.settingsTable = {}
- function topkek.settings.write()
- writefile("testplzignore.lua", "", game:GetService('HttpService'):JSONEncode(topkek.settingsTable))
- end
- function topkek.settings.get()
- if game.Players.LocalPlayer.Character then
- print("No settings! Making new ...")
- topkek.settingsTable = {
- ['Bans'] = {
- },
- ['Themes'] = {
- {Primary = {0,0,0}, Secondary = {0,0,0}, Tertiary = {0,0,0}}
- };
- }
- topkek.settings.write()
- return topkek.settingsTable
- else
- local lset = game:GetService('HttpService'):JSONDecode(set)
- topkek.settingsTable = lset
- return lset
- end
- end
- --// shortcuts //--
- tk = {}
- tk.ob = topkek.tools.util.Object
- tk.dp = topkek.tools.util.doPlayers
- tk.rcm = topkek.tools.util.recurseRemove
- tk.rcs = topkek.tools.util.recurseSet
- tk.rcf = topkek.tools.util.recurseFunc
- tk.rco = topkek.tools.util.recurseSetObj
- tk.play = topkek.tools.util.play
- tk.gt = topkek.tools.util.getTorso
- --// gui //--
- -- copying this from topkek3.0 because i'm
- -- too lazy to rewrite my lib
- topkek.tools.gui.seperation = 12
- function topkek.tools.gui:addLeftIcon(parent, img, sz)
- topkek.tools.util.Object('ImageLabel', {
- Parent = parent;
- BackgroundTransparency = 1;
- Position = UDim2.new(0, 2, 0, 2);
- Size = UDim2.new(0, sz, 0, sz);
- Image = img;
- })
- end
- function topkek.tools.gui:makeContainer(n)
- local temp = topkek.template:Clone()
- temp.Name = n
- temp.Parent = topkek.holder
- temp.Container.Visible = false
- end
- function topkek.tools.gui:hookContainer(o, ncan, sepr, stt)
- if not o:IsA("ScrollingFrame") and (not ncan) then
- return nil
- elseif o:IsA("ScrollingFrame") then
- o.CanvasSize = UDim2.new(0, 0, 0, 0)
- end
- local self = {}
- self.main = o
- self.drawX = 0
- self.drawY = stt or topkek.tools.gui.seperation/2
- self.drawHeight = 0
- self.sepr = sepr or topkek.tools.gui.seperation
- function self:drawButton(sz, txt, func, ysz, cbgd)
- local xposOffset = 0
- local xposScale = self.drawX
- local xszOffset = 0
- local xszScale = sz
- if not (self.drawX == 0) then
- xszOffset = -5
- if sz + self.drawX > 0.998 then
- xszOffset = -10
- end
- elseif sz == 1 then
- local bzz = 4
- if ncan then
- bzz = 0
- end
- xszOffset = -(self.sepr) - bzz
- xposOffset = self.sepr/2
- else
- xszOffset = -4 + -(self.sepr/2)
- xposOffset = self.sepr/2
- end
- if not ysz then ysz = 20 end
- local obj = topkek.tools.util.Object("TextButton", {
- Parent = self.main;
- BackgroundColor3 = cbgd or Color3.new(163/255, 57/255, 57/255);
- BorderSizePixel = 0;
- Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
- Size = UDim2.new(xszScale, xszOffset, 0, ysz);
- Font = 'SourceSans';
- FontSize = 'Size14';
- Text = txt;
- TextSize = 14;
- TextColor3 = Color3.new(199/255, 199/255, 199/255);
- })
- obj.MouseButton1Down:connect(function()
- spawn(func)
- end)
- if ysz > self.drawHeight then
- self.drawHeight = ysz
- end
- self.drawX = self.drawX + sz
- if self.drawX > 0.998 then
- self.drawY = self.drawY + 3 + self.drawHeight
- self.drawX = 0
- self.drawHeight = 0
- if (not ncan) then
- self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
- end
- end
- return obj
- end
- function self:GetChildren()
- return self.main:GetChildren()
- end
- function self:getDrawY()
- return self.drawY
- end
- function self:setDrawY(y)
- self.drawY = y
- end
- function self:drawTextBox(sz, txt, ysz, cbgd)
- local xposOffset = 0
- local xposScale = self.drawX
- local xszOffset = 0
- local xszScale = sz
- if not (self.drawX == 0) then
- xszOffset = -5
- if sz + self.drawX > 0.998 then
- xszOffset = -10
- end
- elseif sz == 1 then
- xszOffset = -(self.sepr) - 5
- xposOffset = self.sepr/2
- else
- xszOffset = -4 + -(self.sepr/2)
- xposOffset = self.sepr/2
- end
- if not ysz then ysz = 20 end
- local obj = topkek.tools.util.Object("TextBox", {
- Parent = self.main;
- BackgroundColor3 = cbgd or color3(153, 52, 52);
- BorderSizePixel = 0;
- Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
- Size = UDim2.new(xszScale, xszOffset, 0, ysz);
- Font = 'SourceSans';
- FontSize = 'Size14';
- Text = txt;
- TextSize = 14;
- TextColor3 = Color3.new(199/255, 199/255, 199/255);
- })
- if ysz > self.drawHeight then
- self.drawHeight = ysz
- end
- self.drawX = self.drawX + sz
- if self.drawX > 0.998 then
- self.drawY = self.drawY + 3 + self.drawHeight
- self.drawX = 0
- self.drawHeight = 0
- self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
- end
- return obj
- end
- function self:drawImage(sz, img, ysz)
- local xposOffset = 0
- local xposScale = self.drawX
- local xszOffset = 0
- local xszScale = sz
- if not (self.drawX == 0) then
- xszOffset = -5
- if sz + self.drawX > 0.998 then
- xszOffset = -12
- end
- elseif sz == 1 then
- xszOffset = -(self.sepr) - 5
- xposOffset = self.sepr/2
- else
- xszOffset = -5 + -(self.sepr/2)
- xposOffset = self.sepr/2
- end
- if not ysz then ysz = 20 end
- local obj = topkek.tools.util.Object("ImageLabel", {
- Parent = self.main;
- BackgroundTransparency = 1;
- BorderColor3 = Color3.new(27, 42, 53);
- BorderSizePixel = 0;
- Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
- Size = UDim2.new(xszScale, xszOffset, 0, ysz);
- Image = img;
- })
- if ysz > self.drawHeight then
- self.drawHeight = ysz
- end
- self.drawX = self.drawX + sz
- if self.drawX > 0.998 then
- self.drawY = self.drawY + 3 + self.drawHeight
- self.drawX = 0
- self.drawHeight = 0
- if (not ncan) then
- self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
- end
- end
- return obj
- end
- function self:drawText(sz, txt, ysz)
- local xposOffset = 0
- local xposScale = self.drawX
- local xszOffset = 0
- local xszScale = sz
- if not (self.drawX == 0) then
- xszOffset = -5
- if sz + self.drawX > 0.998 then
- xszOffset = -10
- end
- elseif sz == 1 then
- local bzz = 5
- if ncan then
- bzz = 0
- end
- xszOffset = -(self.sepr) - bzz
- xposOffset = self.sepr/2
- else
- xszOffset = -4 + -(self.sepr/2)
- xposOffset = self.sepr/2
- end
- if not ysz then ysz = 20 end
- local obj = topkek.tools.util.Object("TextLabel", {
- Parent = self.main;
- BackgroundColor3 = Color3.new(148/255, 51/255, 51/255);
- BorderSizePixel = 0;
- Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
- Size = UDim2.new(xszScale, xszOffset, 0, ysz);
- Font = 'SourceSans';
- FontSize = 'Size14';
- Text = txt;
- TextSize = 14;
- TextColor3 = Color3.new(199/255, 199/255, 199/255);
- })
- if ysz > self.drawHeight then
- self.drawHeight = ysz
- end
- self.drawX = self.drawX + sz
- if self.drawX > 0.998 then
- self.drawY = self.drawY + 3 + self.drawHeight
- self.drawX = 0
- self.drawHeight = 0
- if (not ncan) then
- self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
- end
- end
- return obj
- end
- function self:drawScrollingContainer(ysz)
- local sz = UDim2.new(1, -(self.sepr/2) - 11, 0, ysz)
- local pos = UDim2.new(0, self.sepr/2, 0, self.drawY)
- local obj = topkek.tools.util.Object("ScrollingFrame", {
- Parent = self.main;
- BackgroundColor3 = color3(117, 42, 42);
- BorderSizePixel = 0;
- Position = pos;
- Size = sz;
- BottomImage = 'rbxassetid://368504177';
- MidImage = 'rbxassetid://368504177';
- TopImage = 'rbxassetid://368504177';
- ScrollBarThickness = 5;
- })
- self.drawY = self.drawY + 5 + ysz
- self.drawX = 0
- self.drawHeight = 0
- if (not ncan) then
- self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
- end
- return topkek.tools.gui:hookContainer(obj, false, 10, 3)
- end
- function self:drawContainer(xsz, ysz, xz, tz, sep)
- local sz = UDim2.new(xsz, -(self.sepr/2) - 11, 0, ysz)
- local pos = UDim2.new(tz or 0, self.sepr/2, 0, self.drawY)
- local obj = topkek.tools.util.Object("Frame", {
- Parent = self.main;
- BackgroundColor3 = color3(117, 42, 42);
- BorderSizePixel = 0;
- Position = pos;
- Size = sz;
- })
- if not xz then
- self.drawY = self.drawY + 5 + ysz
- end
- self.drawX = 0
- self.drawHeight = 0
- if (not ncan) then
- self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
- end
- return topkek.tools.gui:hookContainer(obj, sep or 12, 5)
- end
- function self:addSpacing()
- self.drawY = self.drawY + 3
- end
- function self:center()
- local a,c,b=
- self.main.Position.X.Scale,
- self.main.Position.X.Offset,self.main.Size.Y.Offset
- self.main.Position=UDim2.new(a,c+2, 0.5, -(b/2))
- end
- return self
- end
- --//anim//--
- topkek.tools.animator.animateTo = function(source, dest)
- -- holder2holder:
- -- invis holder
- -- clone holder; vis
- -- move holder to right
- -- vis dest container
- -- tween clone holder left
- -- tween dest holder right
- print("nav",source,dest)
- topkek.holder.Visible = false
- local hclone = topkek.holder:Clone()
- hclone.Parent = topkek.center
- hclone.Name = 'animclone'
- hclone.Visible = true
- topkek.holder.Position = UDim2.new(-1, 0, 0, 30)
- source.Visible = false
- dest.Visible = true
- dest.Container.Visible = true
- dest.Container.ZIndex = 1
- dest.ZIndex = 1
- topkek.holder.Visible = true
- topkek.holder:TweenPosition(UDim2.new(0, 150, 0, 30), "Out", "Quad", 0.3)
- hclone:TweenPosition(UDim2.new(1, 0, 0, 30), "Out", "Quad", 0.3)
- wait(0.3)
- end
- topkek.tools.animator.initialAnimation = function()
- -- initanim:
- -- join both composites
- -- delete composites; vis solid
- -- tween solid to nav topbar
- -- copy topbar plrname; move outside region
- -- tween in clone topbar
- -- delete clone and solid; vis topbar
- -- tween down topbar
- -- tween holder out
- local function abspos(x)
- return UDim2.new(0, x.AbsolutePosition.X, 0, x.AbsolutePosition.Y)
- end
- local function abssz(x)
- return UDim2.new(0, x.AbsoluteSize.X, 0, x.AbsoluteSize.Y)
- end
- local holder = topkek.holder
- local nav = topkek.navigator
- local topnav = nav.Topbar
- local topbar = topkek.topbar
- local pname = topbar.PlayerName:Clone()
- local solid = topkek.gui.Solid
- topkek.center.Size = UDim2.new(0, 150, 0, 30)
- topkek.gui.Composite1:TweenPosition(UDim2.new(0.5, -50, 0.5, -50), 'Out', 'Quad', 0.5)
- topkek.gui.Composite2:TweenPosition(UDim2.new(0.5, 0, 0.5, -50), 'Out', 'Quad', 0.5)
- wait(0.52)
- solid.Visible = true
- topkek.gui.Composite1:Destroy()
- topkek.gui.Composite2:Destroy()
- wait(3)
- solid.Label:TweenPosition(UDim2.new(0, 0, 1.5, 0), 'Out', 'Quad', 0.5)
- solid:TweenSizeAndPosition(abssz(topnav), abspos(topnav), 'Out', 'Linear', 0.6)
- wait(0.52)
- solid.Label:Destroy()
- wait(0.12)
- topkek.center.Visible = true
- topnav.Visible = true
- solid:Destroy()
- pname.Position = UDim2.new(0, -170, 0, 0)
- pname.Parent = topnav
- pname.Visible = true
- pname:TweenPosition(UDim2.new(0, 10, 0, 0), 'Out', 'Quad', 0.2)
- wait(0.25)
- topkek.center:TweenSize(UDim2.new(0, 150, 0, 395), 'Out', 'Quad', 0.3)
- spawn(topkek.navigation.buildNavigator)
- wait(0.35)
- topkek.center:TweenSize(UDim2.new(0, 470, 0, 395), 'In', 'Quad', 0.3)
- wait(0.35)
- topbar.PlayerName.Visible = true
- pname:Destroy()
- AllowHovers = true
- end
- --//nav//--
- topkek.navigation.currentContainer = topkek.tools.util.getContainer('Home')
- topkek.navigation.windowState = 0
- topkek.navigation.gotoContainer = function(cont)
- topkek.tools.animator.animateTo(topkek.navigation.currentContainer, cont)
- topkek.navigation.currentContainer = cont
- end
- topkek.navigation.buildNavigator = function()
- local nav = topkek.navigator
- local hook = topkek.tools.gui:hookContainer(nav.Scroll, false)
- local btns = {}
- for l, x in pairs(topkek.data.windows) do
- local container = topkek.tools.util.getContainer(x)
- local btn = hook:drawButton(1, x, function() topkek.navigation.gotoContainer(container) end, 25)
- local ZPos = btn.Position
- btn.Position = btn.Position - UDim2.new(0, 0, 0, 5)
- btn:TweenPosition(ZPos, 'Out', 'Bounce', 0.2)
- btn.LayoutOrder = l
- btn.ZIndex = 4
- local OPos = btn.Position
- btn.MouseEnter:connect(function()
- if AllowHovers == false then
- return
- end
- for i, v in pairs(btns) do
- if v[1] ~= btn then
- v[1]:TweenPosition(v[2], 'Out', 'Quad', 0.1)
- end
- end
- btn:TweenPosition(OPos + UDim2.new(0, 3, 0, 0), 'Out', 'Quad', 0.1)
- end)
- btn.MouseLeave:connect(function()
- btn:TweenPosition(OPos, 'Out', 'Quad', 0.1)
- end)
- table.insert(btns, {btn, OPos})
- wait()
- end
- end
- topkek.navigation.buildTopbar = function()
- local top = topkek.topbar
- local FELabel = top.Controllers.IsFE
- top.PlayerName.Text = topkek.lplr.Name
- if game:GetService('Workspace').FilteringEnabled == true then
- FELabel.Text = "FE Game"
- FELabel.TextColor3 = BrickColor.new("Bright red").Color
- else
- FELabel.Text = "Not FE"
- FELabel.TextColor3 = BrickColor.new("Bright green").Color
- end
- top.Controllers.Hide.MouseButton1Down:connect(function()
- if topkek.navigation.windowState == 0 then
- topkek.navigation.windowState = 1
- topkek.center:TweenSize(UDim2.new(0, 470, 0, 30), 'Out', 'Quint', 0.2)
- else
- topkek.navigation.windowState = 0
- topkek.center:TweenSize(UDim2.new(0, 470, 0, 395), 'Out', 'Quint', 0.2)
- end
- end)
- top.Controllers.Exit.MouseButton1Down:connect(function()
- topkek.center:TweenSize(UDim2.new(0, 470, 0, 30), 'Out', 'Quint', 0.3)
- wait(0.31)
- topkek.center:TweenSize(UDim2.new(0, 0, 0, 0), 'Out', 'Quint', 0.3)
- PlayerChatHook:disconnect()
- end)
- end
- topkek.navigation.initCommandBar = function()
- DistributedCmdBar, cmd = topkek.holder.Command, {}
- loadstring(game:GetObjects("rbxassetid://685510751")[1].Source)()
- DistributedCmdBar.FocusLost:connect(function(e)
- if e == true then
- cmd.commands.run(DistributedCmdBar.Text)
- DistributedCmdBar.Text = ''
- end
- end)
- PlayerChatHook = cmd.players.PlayerChatted:connect(function (_, plr, msg, _)
- if cmd.util.isadmin(plr.Name) then
- if msg:sub(1,1) == cmd.prefix or msg:sub(1,1) == cmd.hidden then
- cmd.commands.run(msg:sub(2, #msg))
- end
- end
- end)
- end
- topkek.navigation.buildHomePage = function()
- local count = 0
- for _, _ in pairs(cmd.commands.store) do count = count + 1 end
- local hook = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Home').Container, true)
- hook:drawText(1, 'T0PK3K 4.0 ProtoSmasher Edition edited by bork')
- hook:drawText(1, 'Patch version 1.0.5')
- hook:drawText(1, 'Commandbase patch version 1.0.0')
- hook:drawText(1, 'Number of commands: ' .. tostring(count))
- local stime = hook:drawText(1, 'Server Time: 0')
- spawn(function()
- while true do
- stime.Text = 'Server Time: ' .. tostring(game:GetService('Workspace').DistributedGameTime)
- wait(0.5)
- end
- end)
- local ssz = hook:drawText(1, 'Server Size: 0')
- spawn(function()
- while true do
- ssz.Text = 'Server Size: ' .. tostring(game:GetService('Players').NumPlayers)
- wait(0.5)
- end
- end)
- local fe = game:GetService('Workspace').FilteringEnabled
- hook:drawText(1, 'FilteringEnabled: ' .. (fe and "YES" or "NO"))
- hook:drawText(1, 'PlaceId: ' .. tostring(game.PlaceId))
- hook:drawText(1, 'same', 55)
- end
- topkek.navigation.buildContainers = function()
- for _, v in pairs(topkek.data.windows) do
- topkek.tools.gui:makeContainer(v)
- end
- end
- topkek.navigation.initCommandBar()
- topkek.navigation.buildContainers()
- topkek.navigation.buildTopbar()
- topkek.navigation.buildHomePage()
- wait()
- --// actual code below lole //--
- --// PLAYERS //--
- local plrwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Players').Container)
- local search = plrwin:drawButton(1, '', function()end)
- drop = GUI.DropDown.New(UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), search, {'All'})
- function fixPlayerDrop()
- local t = {'All'}
- for i, v in pairs(game.Players:GetPlayers()) do
- table.insert(t, v.Name)
- end
- drop.SetTable(t)
- end
- game.Players.PlayerAdded:connect(function()
- fixPlayerDrop()
- end)
- game.Players.PlayerRemoving:connect(function()
- fixPlayerDrop()
- end)
- plrFrame = plrwin:drawContainer(1, 100)
- headshotContainer = plrFrame:drawContainer(0.4, 94, true)
- headshotContainer:setDrawY(20)
- headshot = headshotContainer:drawImage(1, "https://www.roblox.com/bust-thumbnail/image?userId=1&width=420&height=420&format=png", 74)
- headshotContainer:setDrawY(0)
- userNameText = headshotContainer:drawText(1, "[All]")
- userNameText.ClipsDescendants = true
- userNameText.Font = Enum.Font.SourceSansBold
- infoContainer = plrFrame:drawContainer(0.5, 94, true, 0.5)
- infoContainer.BackgroundColor3 = color3(108, 38, 38)
- userIdText = infoContainer:drawText(1, "ID: 0")
- userAgeText = infoContainer:drawText(1, "Age: 0")
- userTeamText = infoContainer:drawText(1, "Team: Neutral")
- cval = 'All'
- fixPlayerDrop()
- function updatePlayer(plri)
- local plr = game:GetService('Players'):FindFirstChild(plri)
- if not plr and plri ~= 'All' then
- print("Couldn't find player!")
- updatePlayer(topkek.lplr)
- else
- headshot.Image = "https://www.roblox.com/bust-thumbnail/image?userId=1&width=420&height=420&format=png"
- userNameText.Text = "[All]"
- userIdText.Text = 'ID: [multiple]'
- userAgeText.Text = 'Age: [multiple]'
- userTeamText.Text = 'Team: [multiple]'
- cval = 'All'
- end
- local team = plr.TeamColor
- if team == nil then
- team = 'Neutral'
- else
- team = tostring(team)
- end
- headshot.Image = "https://www.roblox.com/bust-thumbnail/image?userId=" .. tostring(plr.UserId) .. "&width=420&height=420&format=png"
- userNameText.Text = plr.Name
- userIdText.Text = 'ID: ' .. tostring(plr.UserId)
- userAgeText.Text = 'Age: ' .. tostring(plr.AccountAge)
- userTeamText.Text = 'Team: ' .. team
- cval = plr.Name
- end
- drop.Changed(updatePlayer)
- --actual code ------__-
- plrwin:addSpacing()
- plrwin:drawButton(1/2, 'Kick', function()
- tk.dp(cval, function(p)
- topkek.banmgr.executeKick(p)
- end)
- end)
- plrwin:drawButton(1/2, 'Ban', function()
- tk.dp(cval, function(p)
- topkek.banmgr.addSoftBan(p)
- end)
- end)
- plrwin:drawButton(1/2,'Friendlag', function()
- tk.dp(cval, function(p)
- for i = 1, 10 do
- spawn(function()
- while wait() do
- game.Players.LocalPlayer:RequestFriendship(p)
- game.Players.LocalPlayer:RevokeFriendship(p)
- end
- end)
- end
- end)
- end)
- plrwin:drawButton(1/2, 'Hardban', function()
- tk.dp(cval, function(p)
- topkek.banmgr.addHardBan(p)
- end)
- end)
- plrwin:addSpacing()
- plrwin:drawButton(1/2, 'Bring', function()
- tk.dp(cval, function(z)
- if z.Character then
- z.Character.HumanoidRootPart.CFrame =
- game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(1,1,1)
- end
- end)
- end)
- plrwin:drawButton(1/2, 'Goto', function()
- tk.dp(cval, function(z)
- game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame =
- z.Character.HumanoidRootPart.CFrame * CFrame.new(1,1,1)
- end)
- end)
- plrwin:addSpacing()
- plrwin:drawButton(1/3, 'Kill', function()
- tk.dp(cval, function(p)
- if p.Character and p.Character:FindFirstChild("Humanoid") then
- p.Character.Humanoid.Health = 0
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Seizure', function()
- tk.dp(cval, function(p)
- if p.Character and p.Character:FindFirstChild("Humanoid") and tk.gt(p) then
- spawn(function()
- p.Character.Humanoid.PlatformStand = true
- tk.gt(p).CFrame = tk.gt(p).CFrame * CFrame.Angles(math.rad(90),0,0)
- repeat
- wait()
- p.Character.Humanoid.PlatformStand = true
- tk.gt(p).Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10))
- tk.gt(p).RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
- until not p.Character:FindFirstChild("Humanoid") or not tk.gt(p)
- end)
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Stun', function()
- tk.dp(cval, function(p)
- if p.Character and p.Character:FindFirstChild("Humanoid") then
- p.Character.Humanoid.PlatformStand = true
- p.Character.Torso.CFrame = p.Character.Torso.CFrame * CFrame.Angles(math.rad(90),0,0)
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Freeze', function()
- tk.dp(cval, function(p)
- if p.Character then
- tk.gt(p).Anchored = true
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Thaw', function()
- tk.dp(cval, function(p)
- if p.Character then
- tk.gt(p).Anchored = false
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Superslow', function()
- tk.dp(cval, function(p)
- if p.Character and p.Character:FindFirstChild('Humanoid') then
- p.Character.Humanoid.WalkSpeed = 1
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Highjump', function()
- tk.dp(cval, function(p)
- if p.Character and p.Character:FindFirstChild('Humanoid') then
- p.Character.Humanoid.JumpPower = 125
- end
- end)
- end)
- plrwin:drawButton(1/3, 'God', function()
- tk.dp(cval, function(p)
- if p.Character and p.Character:FindFirstChild('Humanoid') then
- p.Character.Humanoid.MaxHealth = math.huge
- p.Character.Humanoid.Health = math.huge
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Semigod', function()
- tk.dp(cval, function(p)
- if p.Character and p.Character:FindFirstChild('Humanoid') then
- p.Character.Humanoid.MaxHealth = 9e9
- p.Character.Humanoid.Health = 9e9
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Fast', function()
- tk.dp(cval, function(p)
- if p.Character and p.Character:FindFirstChild('Humanoid') then
- p.Character.Humanoid.WalkSpeed = 50
- end
- end)
- end)
- Follow = false;
- plrwin:drawButton(1/3, 'Annoy', function()
- tk.dp(cval, function(p)
- if p.Character and p.Character:FindFirstChild('Humanoid') then
- if Follow == true then
- Follow = false; return
- else Follow = true end
- while Follow == true do
- game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame=
- p.Character.HumanoidRootPart.CFrame
- wait()
- end
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Freefall', function()
- tk.dp(cval, function(p)
- if p.Character and p.Character:FindFirstChild('Humanoid') then
- p.Character.HumanoidRootPart.CFrame = p.Character.HumanoidRootPart.CFrame * CFrame.new(0, 10000, 0)
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Destroy', function()
- tk.dp(cval, function(p)
- if p.Character and p.Character:FindFirstChild('Humanoid') then
- p.Character.Humanoid:Destroy()
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Fix', function()
- tk.dp(cval, function(p)
- if p.Character and p.Character:FindFirstChild('Humanoid') then
- p.Character.Humanoid.Health = 100
- p.Character.Humanoid.MaxHealth = 100
- p.Character.Humanoid.JumpPower = 100
- p.Character.Humanoid.WalkSpeed = 16
- p.Character.Humanoid.PlatformStand = false
- p.Character.Humanoid.Jump = true
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Respawn', function()
- tk.dp(cval, function(p)
- if p.Character then
- local a1 = Instance.new("Model", game:service'Workspace')
- local a2 = Instance.new("Part", game:service'Workspace')
- a2.CanCollide = true
- a2.Anchored = true
- a2.CFrame = CFrame.new(10000, 10000, 10000)
- a2.Name = "Torso"
- local a3 = Instance.new("Humanoid", a1)
- a3.MaxHealth=100;a3.Health=100
- p.Character = a1
- a3.Health=0
- end
- end)
- end)
- plrwin:addSpacing()
- local nameInp
- plrwin:drawButton(1/3, 'Name', function()
- tk.dp(cval, function(z)
- local Character = z.Character
- local newName = Instance.new("Model", z.Character)
- newName.Name = nameInp.Text
- local cl = Character:WaitForChild("Head"):Clone()
- cl.Parent = newName
- cl:WaitForChild("face"):Destroy()
- local hum = Instance.new("Humanoid", newName)
- hum.Name = "NameTag"
- hum.MaxHealth = 0
- hum.Health = 0
- local weld = Instance.new("Weld", cl)
- weld.Part0 = cl
- weld.Part1 = Character:WaitForChild("Head")
- Character:WaitForChild("Head").Transparency = 1
- wait(.5)
- cl.BrickColor = Character:WaitForChild("Head").BrickColor
- end)
- end)
- nameInp = plrwin:drawTextBox(2/3, '')
- local chatInp
- plrwin:drawButton(1/3, 'Chat', function()
- tk.dp(cval, function(z)
- game:GetService('Chat'):Chat(z.Charcter, chatInp.Text)
- end)
- end)
- chatInp = plrwin:drawTextBox(2/3, '')
- local disgInp
- plrwin:drawButton(1/3, 'Disguise', function()
- tk.dp(cval, function(p)
- local id = 0
- if tonumber(disgInp.Text) then
- id = tonumber(disgInp.Text)
- else
- id = game:GetService('Players'):GetUserIdFromNameAsync(disgInp.Text)
- end
- if p.Character:FindFirstChild("Humanoid") then
- p.Character.Humanoid.Health = 0
- end
- p.CharacterAppearance = 'https://assetgame.roblox.com/Asset/CharacterFetch.ashx?userId=' .. tostring(id)
- end)
- end)
- disgInp = plrwin:drawTextBox(2/3, 'ROBLOX')
- plrwin:addSpacing()
- clrR = plrwin:drawTextBox(1/3, '0')
- clrG = plrwin:drawTextBox(1/3, '0')
- clrB = plrwin:drawTextBox(1/3, '0')
- function getColor()
- local r = tonumber(clrR.Text)
- local g = tonumber(clrG.Text)
- local b = tonumber(clrB.Text)
- if not (r and g and b) then return Color3.new(0,0,0) end
- return Color3.new(r/255, g/255, b/255)
- end
- plrwin:drawButton(1/3, 'Sparkles', function()
- tk.dp(cval, function(z)
- Instance.new("Sparkles", tk.gt(z)).SparkleColor = getColor()
- end)
- end)
- plrwin:drawButton(1/3, 'Smoke', function()
- tk.dp(cval, function(z)
- Instance.new("Smoke", tk.gt(z)).Color = getColor()
- end)
- end)
- plrwin:drawButton(1/3, 'Fire', function()
- tk.dp(cval, function(z)
- local fr = Instance.new("Fire", tk.gt(z))
- fr.Color = getColor()
- fr.Heat = 30
- fr.Size = 20
- end)
- end)
- plrwin:drawButton(1/3, 'Forcefield', function()
- tk.dp(cval, function(z)
- if z.Character then
- Instance.new("ForceField", z.Character)
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Select', function()
- tk.dp(cval, function(z)
- if z.Character and tk.gt(z) then
- Instance.new("SelectionBox", tk.gt(z)).Adornee = tk.gt(z)
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Sphere', function()
- tk.dp(cval, function(z)
- if z.Character and tk.gt(z) then
- Instance.new("SelectionSphere", tk.gt(z)).Adornee = tk.gt(z)
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Fling', function()
- tk.dp(cval, function(z)
- spawn(function() --kohls admin commands lol
- if z.Character and tk.gt(z) then
- local xran, zran
- repeat xran = math.random(5555, 9999) until math.abs(xran) >= 5555
- repeat zran = math.random(5555, 9999) until math.abs(zran) >= 5555
- z.Character.Humanoid.Sit = true
- tk.gt(z).Velocity = Vector3.new(0,0,0)
- local frc = Instance.new("BodyForce", tk.gt(z))
- frc.Name = "BFRC"
- frc.force = Vector3.new(xran*4,9999*5,zran*4)
- game:GetService("Debris"):AddItem(frc, 0.1)
- end
- end)
- end)
- end)
- plrwin:drawButton(1/3, 'Explode', function()
- tk.dp(cval, function(z)
- if z.Character and tk.gt(z) then
- local explosion = Instance.new("Explosion")
- explosion.Position = tk.gt(z).Position
- explosion.Parent = workspace
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Nuke', function()
- tk.dp(cval, function(z)
- if z.Character and tk.gt(z) then
- local torso = tk.gt(z)
- local nuke = Instance.new("Part", game.Workspace)
- local opos = torso.CFrame
- nuke.BrickColor = BrickColor.new("Bright yellow")
- nuke.TopSurface = Enum.SurfaceType.Smooth
- nuke.BottomSurface = Enum.SurfaceType.Smooth
- nuke.Anchored = true
- nuke.CanCollide = false
- nuke.Shape = "Ball"
- nuke.Transparency = 0.5
- nuke.CFrame = torso.CFrame
- nuke.Size = Vector3.new(1, 1, 1)
- nuke.Touched:connect(function(p)
- local expl = Instance.new("Explosion", p)
- expl.BlastPressure = 50000
- expl.BlastRadius = 50
- expl.Position = p.Position
- p.Material = Enum.Material.CorrodedMetal
- p:BreakJoints()
- end)
- for i = 1, 150 do
- nuke.Size = Vector3.new(i, i, i)
- nuke.CFrame = opos
- wait(0.08)
- end
- nuke:Destroy()
- end
- end)
- end)
- plrwin:drawButton(1/3, 'No Tools', function()
- tk.dp(cval, function(p)
- for _, t in pairs(p.Backpack:GetChildren()) do
- t:Destroy()
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Take Tools', function()
- tk.dp(cval, function(p)
- for _, t in pairs(p.Backpack:GetChildren()) do
- t.Parent = game:service'Players'.LocalPlayer.Backpack
- end
- end)
- end)
- plrwin:drawButton(1/3, 'BTools', function()
- tk.dp(cval, function(p)
- local a = Instance.new("HopperBin")
- a.BinType = "GameTool"
- a.Parent = p.Backpack
- local a = Instance.new("HopperBin")
- a.BinType = "Clone"
- a.Parent = p.Backpack
- local a = Instance.new("HopperBin")
- a.BinType = "Hammer"
- a.Parent = p.Backpack
- end)
- end)
- plrwin:drawButton(1/3, 'Hotdog', function()
- tk.dp(cval, function(p)
- if p.Character and tk.gt(p) then
- topkek.tools.util.weenieHutJunior(p)
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Quicksand', function()
- tk.dp(cval, function(z)
- if z.Character and z.Character:FindFirstChild("Humanoid") then
- local tor = tk.gt(z)
- local hole = Instance.new("Part", z.Character)
- hole.Anchored = true
- hole.Name = "Hole"
- hole.FormFactor = Enum.FormFactor.Custom
- hole.Size = Vector3.new(7, 1, 7)
- hole.CanCollide = false
- hole.CFrame = tor.CFrame * CFrame.new(0,-3.3,0)
- hole.BrickColor = BrickColor.new("Cool yellow")
- hole.Material = Enum.Material.Sand
- local hm = Instance.new("CylinderMesh", hole)
- tor.Anchored = true
- if z.Character:FindFirstChild("Humanoid") then
- z.Character.Humanoid.Jump = true
- end
- for x,m in pairs(z.Character:GetChildren()) do
- if m:IsA("BasePart") or m:IsA("MeshPart") then
- m.CanCollide = false
- end
- end
- for i=1,75 do
- tor.CFrame=tor.CFrame*CFrame.new(0,-0.1,0)
- wait(0.06)
- end
- tor.CFrame=tor.CFrame*CFrame.new(0,
- -500,0
- )
- z.Character.Humanoid.Health = 0
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Insane', function()
- tk.dp(cval, function(p)
- if p.Character and tk.gt(p) then
- for i,v in pairs(tk.gt(p):GetChildren()) do
- if v:IsA("Motor6D") then
- spawn(function()
- while v do
- v.C0=v.C0*CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
- wait()
- end
- end)
- end
- end
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Invisible', function()
- tk.dp(cval, function(p)
- tk.rco(p.Character, 'BasePart', 'Transparency', 1)
- tk.rco(p.Character, 'MeshPart', 'Transparency', 1)
- end)
- end)
- plrwin:drawButton(1/3, 'Visible', function()
- tk.dp(cval, function(p)
- tk.rco(p.Character, 'BasePart', 'Transparency', 0)
- tk.rco(p.Character, 'MeshPart', 'Transparency', 0)
- end)
- end)
- plrwin:drawButton(1/3, 'Bighead', function()
- tk.dp(cval, function(z)
- if z.Character then
- if z.Character:FindFirstChild('Head') then
- z.Character.Head.Mesh.Scale=Vector3.new(5,5,5)
- end
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Goldify', function()
- tk.dp(cval, function(z)
- if z.Character then
- tk.rco(z.Character, 'BasePart', 'Material', 'Marble')
- tk.rco(z.Character, 'MeshPart', 'Material', 'Marble')
- tk.rco(z.Character, 'BasePart', 'BrickColor', BrickColor.new('Bright yellow'))
- tk.rco(z.Character, 'MeshPart', 'BrickColor', BrickColor.new('Bright yellow'))
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Neon', function()
- tk.dp(cval, function(z)
- if z.Character then
- tk.rco(z.Character, 'BasePart', 'Material', 'Neon')
- tk.rco(z.Character, 'MeshPart', 'Material', 'Neon')
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Shiny', function()
- tk.dp(cval, function(z)
- if z.Character then
- tk.rco(z.Character, 'BasePart', 'Reflectance', 1)
- tk.rcm(z.Character, 'MeshPart')
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Shrek', function()
- tk.dp(cval, function(z)
- if z.Character then
- local pchar = z.Character
- for i,v in pairs(pchar:GetChildren()) do
- if v:IsA("Hat") or v:IsA("Accessory") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") then
- v:Destroy()
- end
- end
- for i,v in pairs(pchar.Head:GetChildren()) do
- if v:IsA("Decal") or v:IsA("SpecialMesh") then
- v:Destroy()
- end
- end
- local mesh = Instance.new("SpecialMesh", pchar.Head)
- mesh.MeshType = "FileMesh"
- pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
- pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
- pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
- local Shirt = Instance.new("Shirt", z.Character)
- local Pants = Instance.new("Pants", z.Character)
- Shirt.ShirtTemplate = "rbxassetid://133078194"
- Pants.PantsTemplate = "rbxassetid://133078204"
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Duck', function()
- tk.dp(cval, function(z)
- if z.Character then
- local pchar = z.Character
- for i,v in pairs(pchar:GetChildren()) do
- if v:IsA("Hat") or v:IsA("Accessory") then
- v:Destroy()
- end
- end
- local duck = Instance.new("SpecialMesh", z.Character.HumanoidRootPart)
- duck.MeshType = "FileMesh"
- duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
- duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
- duck.Scale = Vector3.new(5, 5, 5)
- tk.rco(z.Character, 'Instance', 'Transparency', 1)
- z.Character.HumanoidRootPart.Transparency = 0
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Spheres', function()
- tk.dp(cval, function(z)
- if z.Character then
- tk.rco(z.Character, 'BasePart', 'Shape', 'Cylinder')
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Big', function()
- tk.dp(cval, function(z)
- if z.Character then
- topkek.tools.util.scalePlayer(5, z)
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Small', function()
- tk.dp(cval, function(z)
- if z.Character then
- topkek.tools.util.scalePlayer(5, z)
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Giraffe', function()
- tk.dp(cval, function(z)
- if z.Character then
- local char=z.Character
- local h=char.Head
- local tor=char:FindFirstChild("Torso")
- if not tor then return end
- tor.Neck.C0=tor.Neck.C0*CFrame.new(0,0,5)
- local fn=Instance.new("Part",char)
- fn.Size=Vector3.new(1,5.5,1)
- fn.Name="FakeNeck"
- fn.Anchored=false
- fn.CanCollide=false
- if char:FindFirstChild("Body Colors") then
- fn.BrickColor=char["Body Colors"].HeadColor
- end
- local cm=Instance.new("CylinderMesh",fn)
- local we=Instance.new("Weld",h)
- we.Part0=h
- we.Part1=fn
- we.C1=we.C1*CFrame.new(0,2.6,0)
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Dab', function()
- tk.dp(cval, function(z)
- if z.Character and z.Character:FindFirstChild("Torso") then
- local chr = z.Character
- chr.Animate.Disabled = true
- chr.Torso["Left Shoulder"].C1 = CFrame.new(0, 0.699999988, 0, 0.939692616, 0, -0.342020124, -0.330366075, -0.258819044, -0.907673359, -0.0885213241, 0.965925813, -0.243210346)
- chr.Torso["Right Shoulder"].C1 = CFrame.new(-0.600000024, 0.5, -0.200000003, 0.664462984, 0.241844743, 0.707106769, -0.664462984, -0.241844788, 0.707106769, 0.342020154, -0.939692616, -3.09086197e-008)
- chr.Torso["Neck"].C1 = CFrame.new(0, -0.600000024, 0, -0.866025388, 0.5, 0, -0.171010137, -0.29619807, 0.939692616, 0.469846278, 0.813797653, 0.342020124)
- end
- end)
- end)
- plrwin:drawButton(1/3, 'Force Follow', function()
- tk.dp(cval, function(z)
- game:GetService("RunService"):BindToRenderStep("_", 0, function()
- z.Character.Humanoid:MoveTo(topkek.lplr.Character.Head.Position)
- end)
- end)
- end)
- plrwin:drawButton(1/3, 'Camlock', function()
- tk.dp(cval, function(z)
- z.CameraMode = "LockFirstPerson"
- end)
- end)
- --// SERVER //--
- local servwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Server').Container)
- local detailWin = servwin:drawContainer(1, 100, nil, nil, 18)
- detailWin:drawText(1, 'Job ID: ' .. (game.JobId and (game.JobId ~= "") or "???"))
- detailWin:drawText(1, 'Game Name: ' .. game:service'MarketplaceService':GetProductInfo(game.PlaceId).Name)
- detailWin:drawText(1, 'Creator Name: ' .. game:GetService('Players'):GetNameFromUserIdAsync(game.CreatorId))
- detailWin:drawText(1, 'Genre: ' .. tostring(game.Genre))
- servwin:drawButton(1/2, 'Shutdown', function()
- workspace.Gravity = 0/0
- end)
- servwin:drawButton(1/2, 'Clear', function()
- for i,v in pairs(game:service'Workspace':GetChildren()) do
- if (not v:IsA("Terrain"))and(v.Name~="Camera") then
- v:Destroy()
- end
- end
- end)
- servwin:drawButton(1/2, 'Baseplate', function()
- for X = -2500, 2500, 512 do
- for Z = -2500, 2500, 512 do
- local P = Instance.new("Part")
- P.Anchored = true
- P.Locked = true
- P.Size = Vector3.new(512,3,512)
- P.CFrame = CFrame.new(X,0,Z)
- P.BrickColor = BrickColor.Green()
- P.Parent = game:service'Workspace'
- end
- end
- end)
- servwin:drawButton(1/2, 'Reset', function()
- for i,v in pairs(game:service'Workspace':GetChildren()) do
- if (not v:IsA("Terrain"))and(v.Name~="Camera") then
- v:Destroy()
- end
- end
- for X = -2500, 2500, 512 do
- for Z = -2500, 2500, 512 do
- local P = Instance.new("Part")
- P.Anchored = true
- P.Locked = true
- P.Size = Vector3.new(512,3,512)
- P.CFrame = CFrame.new(X,0,Z)
- P.BrickColor = BrickColor.Green()
- P.Parent = game:service'Workspace'
- end
- end
- for i, v in pairs(game:GetService('Players'):GetPlayers()) do
- local a1 = Instance.new("Model", game:service'Workspace')
- local a2 = Instance.new("Part", game:service'Workspace')
- a2.CanCollide = true
- a2.Anchored = true
- a2.CFrame = CFrame.new(10000, 10000, 10000)
- a2.Name = "Torso"
- local a3 = Instance.new("Humanoid", a1)
- a3.MaxHealth=100;a3.Health=100
- v.Character = a1
- a3.Health=0
- end
- end)
- servwin:drawButton(1, 'Remove Sounds', function()
- tk.rcm(game, 'Sound')
- end)
- servwin:addSpacing()
- servwin:drawButton(1, 'Break All', function()
- workspace:BreakJoints(workspace:GetChildren())
- end)
- local gravInp
- servwin:drawButton(1/3, 'Gravity', function()
- if not tonumber(gravInp.Text) then return end
- workspace.Gravity = tonumber(gravInp.Text)
- end)
- gravInp = servwin:drawTextBox(2/3, '')
- servwin:addSpacing()
- servwin:drawButton(1, 'Reset Lighting', function()
- local l = game:service'Lighting'
- l.Ambient = Color3.new(0, 0, 0)
- l.Brightness = 1
- l.GlobalShadows = true
- l.Outlines = true
- l.FogEnd = 100000
- l.FogStart = 0
- l:SetMinutesAfterMidnight(12*60)
- end)
- local brightInp
- servwin:drawButton(1/3, 'Brightness', function()
- if not tonumber(brightInp.Text) then return end
- game:GetService('Lighting').Brightness = tonumber(brightInp.Text)
- end)
- brightInp = servwin:drawTextBox(2/3, '100')
- local fogInp
- servwin:drawButton(1/3, 'Fog', function()
- if not tonumber(fogInp.Text) then return end
- game:GetService('Lighting').FogEnd = tonumber(fogInp.Text)
- end)
- fogInp = servwin:drawTextBox(2/3, '0')
- local timeInp
- servwin:drawButton(1/3, 'Hour', function()
- if not tonumber(timeInp.Text) then return end
- game:GetService('Lighting'):SetMinutesAfterMidnight(60*tonumber(timeInp.Text))
- end)
- timeInp = servwin:drawTextBox(2/3, '12')
- servwin:addSpacing()
- -- private server crap
- local privateToggle
- local privStatus = false
- privateToggle = servwin:drawButton(1, 'Private Server OFF', function()
- if privStatus == false then
- privStatus = true
- privateToggle.Text = 'Private Server ON'
- topkek.banmgr.makePrivate()
- else
- privateToggle.Text = 'Private Server OFF'
- topkek.banmgr.unprivate()
- end
- end)
- servwin:addSpacing()
- servwin:drawText(1, 'Whitelist')
- local plrAddInp
- servwin:drawButton(1/3, 'Add', function()
- topkek.banmgr.doWhitelist(plrAddInp.Text)
- ReorderWL()
- end)
- plrAddInp = servwin:drawTextBox(2/3, '')
- wlCont = servwin:drawScrollingContainer(100)
- function ReorderWL()
- local wl = topkek.banmgr.whitelist
- for i,v in pairs(wlCont:GetChildren()) do
- v:Destroy()
- end
- wlCont:setDrawY(3)
- for i,v in pairs(wl) do
- wlCont:drawText(2/3, v)
- wlCont:drawButton(1/3, 'Remove', function()
- topkek.banmgr.unwhitelist(v)
- ReorderWL()
- end)
- end
- end
- ReorderWL()
- --// LOCALPLAYER //--
- local lpwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('LocalPlayer').Container)
- lpwin:drawButton(1, 'Reset Camera', function()
- game.Workspace.CurrentCamera:remove()
- wait(.1)
- game.Workspace.CurrentCamera.CameraSubject = topkek.lplr.Character.Humanoid or
- game.Workspace[topkek.lplr.Name].Humanoid
- game.Workspace.CurrentCamera.CameraType = "Custom"
- end)
- lpwin:drawButton(1, 'Respawn', function()
- local a1 = Instance.new("Model", game:service'Workspace')
- local a2 = Instance.new("Part", game:service'Workspace')
- a2.CanCollide = true
- a2.Anchored = true
- a2.CFrame = CFrame.new(10000, 10000, 10000)
- a2.Name = "Torso"
- local a3 = Instance.new("Humanoid", a1)
- a3.MaxHealth=100;a3.Health=100
- topkek.lplr.Character = a1
- a3.Health=0
- end)
- lpwin:drawButton(1, 'Rejoin', function()
- game:GetService('TeleportService'):Teleport(game.PlaceId)
- end)
- lpwin:addSpacing()
- lpwin:drawButton(1/2, 'God', function()
- if topkek.lplr.Character:FindFirstChild("Humanoid") then
- topkek.lplr.Character.Humanoid.MaxHealth = math.huge
- topkek.lplr.Character.Humanoid.Health = math.huge
- end
- end)
- lpwin:drawButton(1/2, 'Semigod', function()
- if topkek.lplr.Character:FindFirstChild("Humanoid") then
- topkek.lplr.Character.Humanoid.MaxHealth = 9e9
- topkek.lplr.Character.Humanoid.Health = 9e9
- end
- end)
- Loopgod = false
- lpwin:drawButton(1, 'Loopgod', function()
- if Loopgod == false then
- Loopgod = true
- spawn(function()
- repeat
- topkek.lplr.Character.Humanoid.MaxHealth = math.huge
- topkek.lplr.Character.Humanoid.Health = math.huge
- wait()
- until Loopgod == false
- end)
- else
- Loopgod = false
- end
- end)
- lpwin:addSpacing()
- plrwin:addSpacing()
- local Lev, Clip, Fly
- lpwin:drawButton(1/2, 'Levitate', function()
- if Lev == true then
- Lev = false
- return
- end
- Lev = true
- repeat
- topkek.lplr.Character.Humanoid:ChangeState(10)
- wait(0)
- until Lev == false
- end)
- lpwin:drawButton(1/2, 'Noclip', function()
- if Clip == true then
- Clip = false
- return
- end
- Clip = true
- game:GetService("RunService").Stepped:connect(function()
- tk.gt(topkek.lplr).CanCollide = not Clip
- topkek.lplr.Character.Head.CanCollide = not Clip
- topkek.lplr.Character.HumanoidRootPart.CanCollide = not Clip
- if topkek.lplr.Character.UpperTorso then
- topkek.lplr.Character.LowerTorso.CanCollide = not Clip
- end
- end)
- topkek.lplr.Character.HumanoidRootPart.Changed:connect(function()
- tk.gt(topkek.lplr).CanCollide = not Clip
- topkek.lplr.Character.Head.CanCollide = not Clip
- topkek.lplr.Character.HumanoidRootPart.CanCollide = not Clip
- if topkek.lplr.Character.UpperTorso then
- topkek.lplr.Character.LowerTorso.CanCollide = not Clip
- end
- end)
- end)
- lpwin:drawButton(1/2, 'Fly', function()
- if Fly == true then
- Fly = false
- return
- end
- Fly = true
- local mouse=game.Players.LocalPlayer:GetMouse''
- localplayer=game.Players.LocalPlayer
- game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart")
- local torso = game.Players.LocalPlayer.Character.HumanoidRootPart
- local speed=0
- local keys={a=false,d=false,w=false,s=false}
- local e1
- local e2
- local function start()
- local pos = Instance.new("BodyPosition",torso)
- local gyro = Instance.new("BodyGyro",torso)
- pos.Name="EPIXPOS"
- pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- pos.position = torso.Position
- gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9)
- gyro.cframe = torso.CFrame
- repeat
- wait()
- localplayer.Character.Humanoid.PlatformStand=true
- local new=gyro.cframe - gyro.cframe.p + pos.position
- if not keys.w and not keys.s and not keys.a and not keys.d then
- speed=1
- end
- if keys.w then
- new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * speed
- speed=speed+0.01
- end
- if keys.s then
- new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * speed
- speed=speed+0.01
- end
- if keys.d then
- new = new * CFrame.new(speed,0,0)
- speed=speed+0.01
- end
- if keys.a then
- new = new * CFrame.new(-speed,0,0)
- speed=speed+0.01
- end
- if speed>5 then
- speed=5
- end
- pos.position=new.p
- if keys.w then
- gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad(speed*15),0,0)
- elseif keys.s then
- gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(speed*15),0,0)
- else
- gyro.cframe = workspace.CurrentCamera.CoordinateFrame
- end
- until not Fly
- if gyro then gyro:Destroy() end
- if pos then pos:Destroy() end
- flying=false
- localplayer.Character.Humanoid.PlatformStand=false
- speed=0
- end
- e1=mouse.KeyDown:connect(function(key)
- if not torso or not torso.Parent then flying=false e1:disconnect() e2:disconnect() return end
- if key=="w" then
- keys.w=true
- elseif key=="s" then
- keys.s=true
- elseif key=="a" then
- keys.a=true
- elseif key=="d" then
- keys.d=true
- end
- end)
- e2=mouse.KeyUp:connect(function(key)
- if key=="w" then
- keys.w=false
- elseif key=="s" then
- keys.s=false
- elseif key=="a" then
- keys.a=false
- elseif key=="d" then
- keys.d=false
- end
- end)
- start()
- end)
- lpwin:drawButton(1/2, 'Highjump', function()
- local thrust = Instance.new("BodyVelocity")
- game:GetService('UserInputService').InputBegan:connect(function(i, b)
- if i.KeyCode == Enum.KeyCode.Space then
- print("Got jump")
- coroutine.resume(coroutine.create(function()
- thrust.Parent = game.Players.LocalPlayer.Character.PrimaryPart
- thrust.velocity = Vector3.new(0,50,0)
- thrust.maxForce = Vector3.new(0,4e+050,0)
- wait(0.2)
- thrust.Parent = nil
- end))
- end
- end)
- end)
- lpwin:addSpacing()
- local apprInp
- lpwin:drawButton(1/3, 'Appearance', function()
- local id = 0
- if tonumber(apprInp.Text) then
- id = tonumber(apprInp.Text)
- else
- id = game:GetService('Players'):GetUserIdFromNameAsync(apprInp.Text)
- end
- if topkek.lplr.Character:FindFirstChild("Humanoid") then
- topkek.lplr.Character.Humanoid.Health = 0
- end
- topkek.lplr.CharacterAppearance = 'https://assetgame.roblox.com/Asset/CharacterFetch.ashx?userId=' .. tostring(id)
- end)
- apprInp = lpwin:drawTextBox(2/3, 'ROBLOX')
- local teamInp
- lpwin:drawButton(1/3, 'Team', function()
- topkek.lplr.TeamColor = BrickColor.new(teamInp.Text)
- end)
- teamInp = lpwin:drawTextBox(2/3, 'Bright red')
- lpwin:drawButton(1/2, 'Naked', function()
- topkek.lplr:ClearCharacterAppearance()
- end)
- lpwin:drawButton(1/2, 'Neutral', function()
- topkek.lplr.Neutral = true
- end)
- lpwin:addSpacing()
- lpwin:drawButton(1/2, 'Orb', function()
- game.Players.LocalPlayer.Character = nil
- --lp:Destroy()
- local cam = game.Workspace.CurrentCamera
- local m = Instance.new("Model", game.Workspace)
- m.Name = game.Players.LocalPlayer.Name
- local hum = Instance.new("Humanoid", m)
- hum.Health = 0
- hum.MaxHealth = 0
- local orb = Instance.new("Part", m)
- orb.Size = Vector3.new(1, 1, 1)
- orb.Shape = "Ball"
- orb.Name = "Head"
- orb.Anchored = true
- orb.CanCollide = true
- orb.BottomSurface = Enum.SurfaceType.Smooth
- orb.TopSurface = Enum.SurfaceType.Smooth
- orb.Transparency = 0
- spawn(function()
- while true do
- wait(0.1)
- if orb then
- orb.BrickColor = BrickColor.Random()
- else break end
- end
- end)
- cam.CameraSubject = orb
- cam.CameraType = Enum.CameraType.Fixed
- game:GetService("RunService").RenderStepped:connect(function()
- orb.CFrame = cam.CoordinateFrame * CFrame.new(0, -2, -6)
- end)
- game.Players.LocalPlayer.Chatted:connect(function(a)
- game:GetService("Chat"):Chat(orb, a)
- end)
- end)
- lpwin:drawButton(1/2, 'Freecam', function()
- local cam = game.Workspace.CurrentCamera
- cam.CameraType = "Fixed"
- cam.CameraSubject = nil
- topkek.lplr.Character = nil
- end)
- lpwin:drawButton(1/2, 'NoGrav', function()
- if topkek.lplr.Character then
- for x,m in pairs(topkek.lplr.Character:GetChildren()) do
- if m:IsA("BasePart") then
- local bf = Instance.new("BodyForce", m)
- bf.force = Vector3.new(0, 192.25, 0) * m:GetMass()
- end
- if m:IsA("Hat") or m:IsA("Accessory") then
- if m:findFirstChild("Handle") then
- local bf = Instance.new("BodyForce", m.Handle)
- bf.force = Vector3.new(0, 192.25, 0) * m.Handle:GetMass()
- end
- end
- end
- end
- end)
- lpwin:drawButton(1/2, 'Trowel', function()
- topkek.tools.util.trowel()
- end)
- lpwin:addSpacing()
- lpwin:drawButton(1/2, 'Fedora', function()
- local hats={
- 98346834,
- 215751161,
- 119916949,
- 72082328,
- 147180077,
- 100929604,
- 63043890,
- 1285307,
- 1029025,
- 334663683,
- 259423244
- }
- game:GetObjects("rbxassetid://" .. tostring(hats[math.random(1,#hats)]))[1].Parent = topkek.lplr.Character
- end)
- lpwin:drawButton(1/2, 'Rainbow Name', function()
- topkek.lplr.Neutral = false
- repeat
- wait()
- topkek.lplr.TeamColor = BrickColor.Random()
- until not topkek.lplr.Character.Humanoid
- end)
- local tagInp
- lpwin:drawButton(1/3, 'Tag', function()
- local len = 10
- local bb = Instance.new("BillboardGui")
- bb.Parent = topkek.lplr.Character.Head
- bb.Adornee = topkek.lplr.Character.Head
- bb.AlwaysOnTop = true
- bb.Enabled = true
- bb.Size = UDim2.new(len, 0, 1.5, 0)
- bb.Name = "tag"
- bb.StudsOffset = Vector3.new(0, 3, 0)
- --local fr = Instance.new("Frame")
- --fr.Parent = bb
- --fr.Size = UDim2.new(1, 0, 1, 0)
- --fr.Style = Enum.FrameStyle.RobloxRound
- local tl = Instance.new("TextLabel")
- tl.Parent = bb
- tl.Font = Enum.Font.Code
- tl.BackgroundTransparency = 1
- tl.TextScaled = true
- tl.TextColor3 = Color3.new(15/255, 15/255, 15/255)
- tl.Size = UDim2.new(1, 0, 1, 0)
- tl.Text = tagInp.Text
- tl.Name = "trutag"
- tl.Visible = true
- tl.ZIndex = 2
- end)
- tagInp = lpwin:drawTextBox(2/3, '')
- --// SCRIPTS //--
- local scriptwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Scripts').Container)
- local search = scriptwin:drawTextBox(1,'')
- local origy = scriptwin:getDrawY()
- scriptwin:addSpacing()
- scriptwin:addSpacing()
- local scripts = game:GetObjects("rbxassetid://376553985")[1]
- local container = {}
- function MakeList(condition)
- for i,v in pairs(scriptwin:GetChildren()) do
- if v.Name == "Script" then
- v:Destroy()
- end
- end
- scriptwin:setDrawY(origy)
- for i, v in pairs(scripts:GetChildren()) do
- if string.find(v.Name:lower(), condition:lower()) or (condition == "") or (condition == " ") then
- local scr = scriptwin:drawButton(1, v.Name, function()
- spawn(function() loadstring(v.Source)() end)
- end, 25)
- scr.Name = 'Script'
- end
- end
- end
- game:GetService("UserInputService").InputChanged:connect(function(inp)
- if inp.UserInputType == Enum.UserInputType.TextInput then
- if search:IsFocused() then
- MakeList(search.Text)
- end
- end
- end)
- MakeList('')
- --// DESTRUCTION // --
- local destwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Destruction').Container)
- local decals, seldec = destwin:drawScrollingContainer(100)
- seldec = destwin:drawText(1, 'Selected Decal: None')
- cursel = nil
- local decs = {
- {'Rain', '574772793'},
- {'Robbie', '574773630'},
- {'Pepe', '244905904'},
- {'Troll Face', '48308661'},
- {'Jeff', '109129888'},
- {'Shrek', '170539018'},
- {'Doge', '133720697'},
- {'Dat Boi', '409578848'},
- }
- for _, v in pairs(decs) do
- local b = decals:drawButton(1, v[1], function()seldec.Text="Selected Decal: " ..v[2] cursel=v[2] end,20)
- topkek.tools.gui:addLeftIcon(b,'rbxassetid://'..v[2],20)
- end
- destwin:drawButton(1, 'Spam Decal', function()
- if cursel ~= nil then
- topkek.tools.util.recurseDecal(tonumber(cursel))
- end
- end)
- destwin:drawButton(1, 'Spam Particles', function()
- if cursel ~= nil then
- topkek.tools.util.recurseParticles(tonumber(cursel))
- end
- end)
- destwin:drawButton(1, 'Spam Both', function()
- if cursel ~= nil then
- topkek.tools.util.recurseUltimate(tonumber(cursel))
- end
- end)
- destwin:drawButton(1, 'Rollback', function()
- tk.rcm(workspace, 'Decal')
- tk.rcm(workspace, 'ParticleEmitter')
- end)
- destwin:addSpacing()
- destwin:drawButton(1, '666', function()
- for i,v in next,workspace:children''do
- if(v:IsA'BasePart')then
- me=v;
- bbg=Instance.new('BillboardGui',me);
- bbg.Name='stuf';
- bbg.Adornee=me;
- bbg.Size=UDim2.new(2.5,0,2.5,0)
- --bbg.StudsOffset=Vector3.new(0,2,0)
- tlb=Instance.new'TextLabel';
- tlb.Text='666 666 666 666 666 666';
- tlb.Font='SourceSansBold';
- tlb.FontSize='Size48';
- tlb.TextColor3=Color3.new(1,0,0);
- tlb.Size=UDim2.new(1.25,0,1.25,0);
- tlb.Position=UDim2.new(-0.125,-22,-1.1,0);
- tlb.BackgroundTransparency=1;
- tlb.Parent=bbg;
- end;end;
- --coroutine.wrap(function()while wait''do
- s=Instance.new'Sound';
- s.Parent=workspace;
- s.SoundId='rbxassetid://152840862';
- s.Pitch=1;
- s.Volume=1;
- s.Looped=true;
- s:play();
- --end;end)();
- function xds(dd)
- for i,v in next,dd:children''do
- if(v:IsA'BasePart')then
- v.BrickColor=BrickColor.new'Really black';
- v.TopSurface='Smooth';
- v.BottomSurface='Smooth';
- s=Instance.new('SelectionBox',v);
- s.Adornee=v;
- s.Color=BrickColor.new'Really red';
- a=Instance.new('PointLight',v);
- a.Color=Color3.new(1,0,0);
- a.Range=15;
- a.Brightness=5;
- f=Instance.new('Fire',v);
- f.Size=19;
- f.Heat=22;
- end;
- game.Lighting.TimeOfDay=0;
- game.Lighting.Brightness=0;
- game.Lighting.ShadowColor=Color3.new(0,0,0);
- game.Lighting.Ambient=Color3.new(1,0,0);
- game.Lighting.FogEnd=200;
- game.Lighting.FogColor=Color3.new(0,0,0);
- local dec = 'http://www.roblox.com/asset/?id=19399245';
- local fac = {'Front', 'Back', 'Left', 'Right', 'Top', 'Bottom'}
- --coroutine.wrap(function()
- --for _,__ in pairs(fac) do
- --local ddec = Instance.new("Decal", v)
- --ddec.Face = __
- --ddec.Texture = dec
- --end end)()
- if #(v:GetChildren())>0 then
- xds(v)
- end
- end
- end
- xds(game.Workspace)
- end)
- destwin:drawButton(1, 'Troll', function()
- topkek.tools.util.recurseUltimate('48308661')
- tk.play(154664102)
- end)
- destwin:addSpacing()
- destwin:drawButton(1/2,'Colorize',function() -- when u skid off variable XDDDDDpranked
- local materiallist =
- {Enum.Material.Plastic,Enum.Material.Wood,Enum.Material.Slate,Enum.Material.Concrete,Enum.Material.CorrodedMetal,
- Enum.Material.DiamondPlate,Enum.Material.Foil,Enum.Material.Grass,
- Enum.Material.Ice,Enum.Material.Marble,Enum.Material.Granite,Enum.Material.Brick,
- Enum.Material.Pebble,Enum.Material.Sand,Enum.Material.Sand,
- Enum.Material.Fabric,Enum.Material.SmoothPlastic,Enum.Material.Metal,Enum.Material.WoodPlanks,Enum.Material.Neon,Enum.Material.Cobblestone}
- local function r(where)
- for _,v in pairs (where:GetChildren()) do
- if v:IsA("BasePart") then
- spawn(function() while wait(0.1) do v.Material = materiallist[math.random(#materiallist)] wait() end end) end r(v) end end r(workspace)
- end)
- destwin:drawButton(1/2,'Materialize',function()
- local function r(where)
- for _,v in pairs (where:GetChildren()) do
- if v:IsA("BasePart") then
- spawn(function() while wait(0.1) do v.Transparency = math.random(0,1) wait() end end) end r(v) end end r(workspace)
- end)
- destwin:drawButton(1/2,'Meshify',function()
- local enums={
- Enum.MeshType.Head;
- Enum.MeshType.Torso;
- Enum.MeshType.Wedge;
- Enum.MeshType.Brick;
- Enum.MeshType.Sphere;
- Enum.MeshType.Cylinder;
- }
- tk.rcf('BasePart',function(o)
- local mesh = Instance.new('SpecialMesh', o)
- mesh.MeshType = enums[math.random(1,#enums)]
- end)
- end)
- destwin:drawButton(1/2,'Loop-Meshify',function()
- coroutine.wrap(function()
- while true do
- local enums={
- Enum.MeshType.Head;
- Enum.MeshType.Torso;
- Enum.MeshType.Wedge;
- Enum.MeshType.Brick;
- Enum.MeshType.Sphere;
- Enum.MeshType.Cylinder;
- }
- tk.rcf('BasePart',function(o)
- if o:FindFirstChild("Mesh") then o.Mesh:Destroy() end
- local mesh = Instance.new('SpecialMesh', o)
- mesh.MeshType = enums[math.random(1,#enums)]
- end)
- wait(0.5)
- end
- end)()
- end)
- destwin:addSpacing()
- destwin:drawButton(1, 'Rotations', function()
- tk.rcf('BasePart', function(o)
- o.Rotation = Vector3.new(math.random(0,180),math.random(0,180),math.random(0,180))
- end)
- end)
- destwin:drawButton(1, 'Collisions', function()
- tk.rcf('BasePart', function(o)
- o.CanCollide = false
- end)
- end)
- destwin:drawButton(1, 'Velocity', function()
- tk.rcf('BasePart', function(o)
- o.Velocity = Vector3.new(math.random(0,180),math.random(0,180),math.random(0,180))
- end)
- end)
- destwin:drawButton(1, 'Invisiblity', function()
- tk.rcf('BasePart', function(o)
- o.Transparency = 1
- end)
- end)
- destwin:drawButton(1, 'BreakJoints', function()
- tk.rcf('Model', function(o)
- o:BreakJoints()
- end)
- end)
- destwin:drawButton(1, 'Forces', function()
- tk.rcf('BasePart', function(o)
- local bf = Instance.new("BodyForce", o)
- bf.Force = Vector3.new(math.random(0,180)*5,math.random(0,180)*5,math.random(0,180)*5)
- end)
- end)
- destwin:drawButton(1, 'Brightness', function()
- tk.rcf('BasePart', function(o)
- local light = Instance.new("SpotLight", o)
- light.Brightness = 9e9
- light.Range = 60
- end)
- end)
- --// CATALOG //--
- local catwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Catalog').Container)
- local page, currentkeyword = 1, ""
- local searchbar, search, makeCatalog, res = 0, 0, 0, {}
- local searchbar = catwin:drawTextBox(2/3,'')
- local search = catwin:drawButton(1/3, 'Search', function()
- page = 1
- currentkeyword = searchbar.Text
- makeCatalog(currentkeyword, page)
- end)
- local previous = catwin:drawButton(1/2, 'Previous Page', function()
- if page > 1 then
- page = page - 1
- makeCatalog(currentkeyword, page)
- end
- end)
- local previous = catwin:drawButton(1/2, 'Next Page', function()
- if page >= 1 then
- page = page + 1
- makeCatalog(currentkeyword, page)
- end
- end)
- local catalog_start = catwin:getDrawY()
- function split(str,divider)
- local found = ""
- local results = {}
- for i=1,string.len(str) do
- if (string.lower(string.sub(str,i,i)) == string.lower(divider)) then
- table.insert(results, found)
- found = ""
- else
- found = found..string.sub(str,i,i)
- end
- end
- table.insert(results, found)
- return results
- end
- function GetName(nm)
- local spl = split(nm," ")
- local a,b,c,d,e=spl[1] or "",spl[2] or "",spl[3] or "", spl[4] or "", spl[5] or ""
- return (a.." "..b.." "..c.." "..d.." "..e)
- end
- function makeCatalog(keyword, page)
- local endpoint = "http://search.roblox.com/catalog/json?Category=6&Keyword="..keyword.."&IncludeNotForSale=false&ResultsPerPage=10&PageNumber="..tostring(page)
- local results = game:HttpGet(endpoint, true)
- local parse = game:GetService('HttpService'):JSONDecode(results)
- for i, v in pairs(res) do
- v:Destroy()
- end
- catwin:setDrawY(catalog_start)
- catwin:addSpacing()
- for i, v in pairs(parse) do
- local img = catwin:drawImage(1/2, 'https://www.roblox.com/Thumbs/Asset.ashx?width=420&height=420&assetId='..tostring(v['AssetId']), 50)
- local below = topkek.tools.util.Object("TextButton", {
- Parent = img;
- BackgroundColor3 = Color3.new(163/255, 57/255, 57/255);
- BorderSizePixel = 0;
- Position = UDim2.new(0, -45, 1, 5);
- Size = UDim2.new(0,img.AbsoluteSize.X, 0, 20);
- Font = 'SourceSans';
- FontSize = 'Size14';
- Text = GetName(v['Name']);
- TextSize = 14;
- TextColor3 = color3(199, 199, 199);
- TextStrokeTransparency = 0.5;
- ClipsDescendants = true;
- })
- below.MouseButton1Down:connect(function()
- local Model = Instance.new("Model", workspace)
- game:GetObjects('rbxassetid://'..tostring(v['AssetId']))[1].Parent = Model
- Model:MakeJoints()
- Model:MoveTo(topkek.lplr.Character.Head.Position)
- end)
- img.Size=UDim2.new(0,50,0,50)
- img.Position=img.Position+UDim2.new(0,45,0,0)
- if (i%2)==0 then
- catwin:setDrawY(catwin:getDrawY() + 25)
- end
- if (i==10) then
- catwin.main.CanvasSize = catwin.main.CanvasSize + UDim2.new(0,0,0,25)
- end
- table.insert(res,img)
- end
- end
- makeCatalog("", 1)
- --// CMDS //--
- cmdwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Commands').Container)
- count = 0
- for _, _ in pairs(cmd.commands.store) do count = count + 1 end
- cmdwin:drawText(1, tostring(count) .. " Commands")
- cmdwin:drawText(1, 'Chat Prefix: /')
- local cmdlist = cmdwin:drawScrollingContainer(260)
- for i, v in pairs(cmd.commands.fmtstore) do
- local xfmt = {}
- local str = " ;" .. i .. " "
- for form in v:gmatch("[^%%]+") do
- if form ~= 'cmd' then
- if form == 'inf' then form = 'str' end
- str = str .. "{" .. form .. "} "
- end
- end
- cmdlist:drawText(1, str)
- end
- --// MUSIC //--
- musicwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Music').Container)
- Sounds = {
- {"caramell", 2303479};
- {"epic", 27697743};
- {"rick", 2027611};
- {"halo", 1034065};
- {"pokemon", 1372261};
- {"cursed", 1372257};
- {"extreme", 11420933};
- {"awaken", 27697277};
- {"alone", 27697392};
- {"mario", 1280470};
- {"choir", 1372258};
- {"chrono" ,1280463};
- {"dotr", 11420922};
- {"entertain", 27697267};
- {"fantasy", 1280473};
- {"final", 787};
- {"organ", 11231513};
- {"tunnel", 9650822}
- }
- local cursel
- local xcursel = 0
- scr = musicwin:drawScrollingContainer(230)
- for i, v in pairs(Sounds) do
- scr:drawButton(1, v[1] .. " - " .. tonumber(v[2]), function()
- cursel.Text = "Currently Selected - " .. v[1]
- xcursel = v[2]
- end)
- end
- cursel = musicwin:drawText(1, "Currently Selected - None")
- local setInp
- musicwin:drawButton(1/3, "Set", function()
- if tonumber(setInp.Text) then
- cursel.Text = "Currently Selected - " .. setInp.Text
- xcursel = tonumber(setInp.Text)
- end
- end)
- setInp = musicwin:drawTextBox(2/3, '')
- musicwin:drawButton(1, "Play", function()
- tk.rcm(game, 'Sound')
- tk.play(xcursel)
- end)
- musicwin:drawButton(1, "Stop", function()
- tk.rcm(game, 'Sound')
- end)
- --// FACES //--
- facwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Faces').Container)
- local faces = {
- {name='Rofl',id=47595647},
- {name='Sparta',id=74142203},
- {name='UJelly',id=48989071},
- {name='Troll',id=45120559},
- {name='Horse',id=62079221},
- {name='Angry',id=48258623},
- {name='Okey',id=62830600},
- {name='Yeaw',id=53646377},
- {name='Here',id=62677045},
- {name='Har',id=48260066},
- {name='Baby Sun',id=47596170},
- {name='LOL',id=48293007},
- {name='Sad',id=53645378},
- {name='Joseph Stalin',id=48290678},
- {name='Doge',id=130742396},
- {name='Forever Alone',id=156886272},
- {name='RickRoll',id=5104631},
- {name='Jim Carrey',id=74885351},
- {name='Meh IRL',id=237553381}
- }
- local cursel, xcursel = nil, 0
- faclist = facwin:drawScrollingContainer(260)
- for i,v in pairs(faces) do
- local btn = faclist:drawButton(1, v['name'], function()
- xcursel = v['id']
- cursel.Text = 'Currently Selected: ' .. v['name']
- end)
- topkek.tools.gui:addLeftIcon(btn,'rbxassetid://'..tostring(v['id']),20)
- end
- cursel = facwin:drawText(1, 'Currently Selected: None')
- facwin:drawButton(1, 'Wear', function()
- if not (xcursel == 0) then
- if topkek.lplr.Character then
- tk.rcm(topkek.lplr.Character, 'Accessory')
- tk.rcm(topkek.lplr.Character, 'Hat')
- topkek.tools.util.applyFace(xcursel)
- end
- end
- end)
- --// SETTINGS // --
- setwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Settings').Container)
- setwin:drawText(1, 'Patch: ' .. topkek.patch)
- setwin:drawText(1, 'Devnote: foh skids')
- setwin:drawText(1, [[
- === CREDITS ===
- Variable - retard that created Stella
- KrystalTeam - provided critical design tips & advice
- Circumvention - lol joey salads
- Thanks to everyone that supported T0PK3K 4.0!
- ]], 260)
- --// BANLIST //--
- banwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Banlist').Container)
- local plrBanInp
- banwin:drawButton(1/3, 'Add', function()
- topkek.settings.get()
- table.insert(topkek.settingsTable['Bans'], plrBanInp.Text)
- topkek.settings.write()
- UpdateBanlist()
- end)
- plrBanInp = banwin:drawTextBox(2/3, '')
- banCont = banwin:drawScrollingContainer(288)
- function UpdateBanlist(x)
- topkek.settings.get()
- local wl = x or topkek.settingsTable['Bans']
- for i,v in pairs(banCont:GetChildren()) do
- v:Destroy()
- end
- banCont:setDrawY(3)
- for i,v in pairs(wl) do
- banCont:drawText(2/3, v)
- banCont:drawButton(1/3, 'Remove', function()
- for x, m in pairs(wl) do
- if m == v then
- table.remove(topkek.settingsTable['Bans'], x)
- topkek.settings.write()
- UpdateBanlist()
- topkek.banmgr.bans = topkek.settingsTable['Bans']
- end
- end
- end)
- end
- end
- UpdateBanlist()
- --// HATS //--
- hatwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Hats').Container)
- local hats={
- {name='Dominus Empyreus',id=21070012},
- {name='Dominus Vespertilio',id=96103379},
- {name='Dominus Infernus',id=31101391},
- {name='Dominus Rex',id=250395631},
- {name='Dominus Frigidus',id=48545806},
- {name='Dominus Astra',id=162067148},
- {name='Dominus Aureus',id=138932314},
- {name='DIY Dominus Empyreus',id=151789690},
- {name='Dominus Messor',id=64444871},
- {name='Demon Skeleton Wings',id=133554007},
- {name='Gilded Wings of Glory',id=250405532},
- {name='Majestic Ice Wings',id=188702967},
- {name='Black Wings',id=215719598},
- {name='Clockworks Shades',id=11748356},
- {name='Faerie Wings',id=19399896},
- {name='Orinthian Wings',id=223751505},
- {name='Clockworks Headphones',id=1235488},
- {name='Perfectly Legitimate Business Hat',id=19027209},
- {name='Sparkling Angel Wings',id=192557913},
- {name='Commander Crows Wings',id=133553855},
- {name='Sunfire Wings',id=158068470},
- {name='Royal Faerie Wings',id=119916756},
- {name='Wings of Freedom',id=164174048},
- {name='Firebrand Wings',id=128160626},
- {name='Frozen Wings',id=136758613},
- {name='Webbed Wings',id=120507280},
- {name='Gargoyle Wings',id=120507201},
- {name='Bat Wings',id=19399858},
- {name='Wings of Fire',id=136758532},
- {name='Headrow',id=1082935},
- {name='Rubber Duckie',id=9254254},
- {name='Valkyrie Helm',id=1365767},
- {name='Hockey Mask',id=5161514}}
- local searchi = hatwin:drawButton(1, '', function()end)
- dropx = GUI.DropDown.New(UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), searchi, {'All'})
- function fixPlayerDropi()
- local t = {'All'}
- for i, v in pairs(game.Players:GetPlayers()) do
- table.insert(t, v.Name)
- end
- dropx.SetTable(t)
- end
- game.Players.PlayerAdded:connect(function()
- fixPlayerDropi()
- end)
- game.Players.PlayerRemoving:connect(function()
- fixPlayerDropi()
- end)
- local eval = 'All'
- dropx.Changed(function(p) eval = p end)
- fixPlayerDrop()
- local hatInp
- hatlist = hatwin:drawScrollingContainer(260)
- for i,v in pairs(hats) do
- hatlist:drawButton(1, v['name'], function()
- hatInp.Text = tostring(v['id'])
- end)
- end
- hatwin:drawButton(1/3, 'Wear', function()
- local hat = game:GetObjects("rbxassetid://"..tonumber(hatInp.Text))[1]
- tk.dp(eval, function(x)
- if x.Character then
- hat:Clone().Parent = x.Character
- end
- end)
- end)
- hatInp = hatwin:drawTextBox(2/3, '')
- topkek.tools.animator.initialAnimation()
- topkek.banmgr.init()
- end)
Add Comment
Please, Sign In to add comment