Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/Robojini/Tuturial_UI_Library/main/UI_Template_1"))()
- local Window = Library.CreateLib("DmitryHack | Brookhaven RP | CHEATER.FUN", "RJTheme3")
- local Tab = Window:NewTab("Movement")
- local Section = Tab:NewSection("Movement")
- Section:NewSlider("WalkSpeed", "", 500, 0, function(s) -- 500 (Макс. значение) | 0 (Мин. значение)
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = s
- end)
- Section:NewSlider("JumpPower", "", 500, 0, function(s) -- 500 (Макс. значение) | 0 (Мин. значение)
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = s
- end)
- Section:NewSlider("SpeenBot", "", 50, 0, function(s) -- 500 (Макс. значение) | 0 (Мин. значение)
- local speed = s
- local plr = game:GetService("Players").LocalPlayer
- repeat task.wait() until plr.Character
- local humRoot = plr.Character:WaitForChild("HumanoidRootPart")
- plr.Character:WaitForChild("Humanoid").AutoRotate = false
- local velocity = Instance.new("AngularVelocity")
- velocity.Attachment0 = humRoot:WaitForChild("RootAttachment")
- velocity.MaxTorque = math.huge
- velocity.AngularVelocity = Vector3.new(0, speed, 0)
- velocity.Parent = humRoot
- velocity.Name = "Spinbot"
- end)
- Section:NewButton("Fly", "", function()
- local main = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local up = Instance.new("TextButton")
- local down = Instance.new("TextButton")
- local onof = Instance.new("TextButton")
- local TextLabel = Instance.new("TextLabel")
- local plus = Instance.new("TextButton")
- local speed = Instance.new("TextLabel")
- local mine = Instance.new("TextButton")
- local closebutton = Instance.new("TextButton")
- local mini = Instance.new("TextButton")
- local mini2 = Instance.new("TextButton")
- main.Name = "main"
- main.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- main.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- main.ResetOnSpawn = false
- Frame.Parent = main
- Frame.BackgroundColor3 = Color3.fromRGB(163, 255, 137)
- Frame.BorderColor3 = Color3.fromRGB(103, 221, 213)
- Frame.Position = UDim2.new(0.100320168, 0, 0.379746825, 0)
- Frame.Size = UDim2.new(0, 190, 0, 57)
- up.Name = "up"
- up.Parent = Frame
- up.BackgroundColor3 = Color3.fromRGB(79, 255, 152)
- up.Size = UDim2.new(0, 44, 0, 28)
- up.Font = Enum.Font.SourceSans
- up.Text = "UP"
- up.TextColor3 = Color3.fromRGB(0, 0, 0)
- up.TextSize = 14.000
- down.Name = "down"
- down.Parent = Frame
- down.BackgroundColor3 = Color3.fromRGB(215, 255, 121)
- down.Position = UDim2.new(0, 0, 0.491228074, 0)
- down.Size = UDim2.new(0, 44, 0, 28)
- down.Font = Enum.Font.SourceSans
- down.Text = "DOWN"
- down.TextColor3 = Color3.fromRGB(0, 0, 0)
- down.TextSize = 14.000
- onof.Name = "onof"
- onof.Parent = Frame
- onof.BackgroundColor3 = Color3.fromRGB(255, 249, 74)
- onof.Position = UDim2.new(0.702823281, 0, 0.491228074, 0)
- onof.Size = UDim2.new(0, 56, 0, 28)
- onof.Font = Enum.Font.SourceSans
- onof.Text = "fly"
- onof.TextColor3 = Color3.fromRGB(0, 0, 0)
- onof.TextSize = 14.000
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.fromRGB(242, 60, 255)
- TextLabel.Position = UDim2.new(0.469327301, 0, 0, 0)
- TextLabel.Size = UDim2.new(0, 100, 0, 28)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.Text = "DmitryHack"
- TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14.000
- TextLabel.TextWrapped = true
- plus.Name = "plus"
- plus.Parent = Frame
- plus.BackgroundColor3 = Color3.fromRGB(133, 145, 255)
- plus.Position = UDim2.new(0.231578946, 0, 0, 0)
- plus.Size = UDim2.new(0, 45, 0, 28)
- plus.Font = Enum.Font.SourceSans
- plus.Text = "+"
- plus.TextColor3 = Color3.fromRGB(0, 0, 0)
- plus.TextScaled = true
- plus.TextSize = 14.000
- plus.TextWrapped = true
- speed.Name = "speed"
- speed.Parent = Frame
- speed.BackgroundColor3 = Color3.fromRGB(255, 85, 0)
- speed.Position = UDim2.new(0.468421042, 0, 0.491228074, 0)
- speed.Size = UDim2.new(0, 44, 0, 28)
- speed.Font = Enum.Font.SourceSans
- speed.Text = "1"
- speed.TextColor3 = Color3.fromRGB(0, 0, 0)
- speed.TextScaled = true
- speed.TextSize = 14.000
- speed.TextWrapped = true
- mine.Name = "mine"
- mine.Parent = Frame
- mine.BackgroundColor3 = Color3.fromRGB(123, 255, 247)
- mine.Position = UDim2.new(0.231578946, 0, 0.491228074, 0)
- mine.Size = UDim2.new(0, 45, 0, 29)
- mine.Font = Enum.Font.SourceSans
- mine.Text = "-"
- mine.TextColor3 = Color3.fromRGB(0, 0, 0)
- mine.TextScaled = true
- mine.TextSize = 14.000
- mine.TextWrapped = true
- closebutton.Name = "Close"
- closebutton.Parent = main.Frame
- closebutton.BackgroundColor3 = Color3.fromRGB(225, 25, 0)
- closebutton.Font = "SourceSans"
- closebutton.Size = UDim2.new(0, 45, 0, 28)
- closebutton.Text = "X"
- closebutton.TextSize = 30
- closebutton.Position = UDim2.new(0, 0, -1, 27)
- mini.Name = "minimize"
- mini.Parent = main.Frame
- mini.BackgroundColor3 = Color3.fromRGB(192, 150, 230)
- mini.Font = "SourceSans"
- mini.Size = UDim2.new(0, 45, 0, 28)
- mini.Text = "-"
- mini.TextSize = 40
- mini.Position = UDim2.new(0, 44, -1, 27)
- mini2.Name = "minimize2"
- mini2.Parent = main.Frame
- mini2.BackgroundColor3 = Color3.fromRGB(192, 150, 230)
- mini2.Font = "SourceSans"
- mini2.Size = UDim2.new(0, 45, 0, 28)
- mini2.Text = "+"
- mini2.TextSize = 40
- mini2.Position = UDim2.new(0, 44, -1, 57)
- mini2.Visible = false
- speeds = 1
- local speaker = game:GetService("Players").LocalPlayer
- local chr = game.Players.LocalPlayer.Character
- local hum = chr and chr:FindFirstChildWhichIsA("Humanoid")
- nowe = false
- game:GetService("StarterGui"):SetCore("SendNotification", {
- Title = "Fly GUI V3";
- Text = "By me_ozone and Quandale The Dinglish XII#3550";
- Icon = "rbxthumb://type=Asset&id=5107182114&w=150&h=150"})
- Duration = 5;
- Frame.Active = true -- main = gui
- Frame.Draggable = true
- onof.MouseButton1Down:connect(function()
- if nowe == true then
- nowe = false
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Climbing,true)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown,true)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Flying,true)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Freefall,true)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp,true)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Jumping,true)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Landed,true)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Physics,true)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.PlatformStanding,true)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll,true)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Running,true)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.RunningNoPhysics,true)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated,true)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.StrafingNoPhysics,true)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Swimming,true)
- speaker.Character.Humanoid:ChangeState(Enum.HumanoidStateType.RunningNoPhysics)
- else
- nowe = true
- for i = 1, speeds do
- spawn(function()
- local hb = game:GetService("RunService").Heartbeat
- tpwalking = true
- local chr = game.Players.LocalPlayer.Character
- local hum = chr and chr:FindFirstChildWhichIsA("Humanoid")
- while tpwalking and hb:Wait() and chr and hum and hum.Parent do
- if hum.MoveDirection.Magnitude > 0 then
- chr:TranslateBy(hum.MoveDirection)
- end
- end
- end)
- end
- game.Players.LocalPlayer.Character.Animate.Disabled = true
- local Char = game.Players.LocalPlayer.Character
- local Hum = Char:FindFirstChildOfClass("Humanoid") or Char:FindFirstChildOfClass("AnimationController")
- for i,v in next, Hum:GetPlayingAnimationTracks() do
- v:AdjustSpeed(0)
- end
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Climbing,false)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown,false)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Flying,false)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Freefall,false)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp,false)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Jumping,false)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Landed,false)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Physics,false)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.PlatformStanding,false)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll,false)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Running,false)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.RunningNoPhysics,false)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated,false)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.StrafingNoPhysics,false)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Swimming,false)
- speaker.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Swimming)
- end
- if game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid").RigType == Enum.HumanoidRigType.R6 then
- local plr = game.Players.LocalPlayer
- local torso = plr.Character.Torso
- local flying = true
- local deb = true
- local ctrl = {f = 0, b = 0, l = 0, r = 0}
- local lastctrl = {f = 0, b = 0, l = 0, r = 0}
- local maxspeed = 50
- local speed = 0
- local bg = Instance.new("BodyGyro", torso)
- bg.P = 9e4
- bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
- bg.cframe = torso.CFrame
- local bv = Instance.new("BodyVelocity", torso)
- bv.velocity = Vector3.new(0,0.1,0)
- bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
- if nowe == true then
- plr.Character.Humanoid.PlatformStand = true
- end
- while nowe == true or game:GetService("Players").LocalPlayer.Character.Humanoid.Health == 0 do
- game:GetService("RunService").RenderStepped:Wait()
- if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
- speed = speed+.5+(speed/maxspeed)
- if speed > maxspeed then
- speed = maxspeed
- end
- elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
- speed = speed-1
- if speed < 0 then
- speed = 0
- end
- end
- if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
- bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
- lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
- elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
- bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
- else
- bv.velocity = Vector3.new(0,0,0)
- end
- --game.Players.LocalPlayer.Character.Animate.Disabled = true
- bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
- end
- ctrl = {f = 0, b = 0, l = 0, r = 0}
- lastctrl = {f = 0, b = 0, l = 0, r = 0}
- speed = 0
- bg:Destroy()
- bv:Destroy()
- plr.Character.Humanoid.PlatformStand = false
- game.Players.LocalPlayer.Character.Animate.Disabled = false
- tpwalking = false
- else
- local plr = game.Players.LocalPlayer
- local UpperTorso = plr.Character.UpperTorso
- local flying = true
- local deb = true
- local ctrl = {f = 0, b = 0, l = 0, r = 0}
- local lastctrl = {f = 0, b = 0, l = 0, r = 0}
- local maxspeed = 50
- local speed = 0
- local bg = Instance.new("BodyGyro", UpperTorso)
- bg.P = 9e4
- bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
- bg.cframe = UpperTorso.CFrame
- local bv = Instance.new("BodyVelocity", UpperTorso)
- bv.velocity = Vector3.new(0,0.1,0)
- bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
- if nowe == true then
- plr.Character.Humanoid.PlatformStand = true
- end
- while nowe == true or game:GetService("Players").LocalPlayer.Character.Humanoid.Health == 0 do
- wait()
- if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
- speed = speed+.5+(speed/maxspeed)
- if speed > maxspeed then
- speed = maxspeed
- end
- elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
- speed = speed-1
- if speed < 0 then
- speed = 0
- end
- end
- if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
- bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
- lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
- elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
- bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
- else
- bv.velocity = Vector3.new(0,0,0)
- end
- bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
- end
- ctrl = {f = 0, b = 0, l = 0, r = 0}
- lastctrl = {f = 0, b = 0, l = 0, r = 0}
- speed = 0
- bg:Destroy()
- bv:Destroy()
- plr.Character.Humanoid.PlatformStand = false
- game.Players.LocalPlayer.Character.Animate.Disabled = false
- tpwalking = false
- end
- end)
- local tis
- up.MouseButton1Down:connect(function()
- tis = up.MouseEnter:connect(function()
- while tis do
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0,1,0)
- end
- end)
- end)
- up.MouseLeave:connect(function()
- if tis then
- tis:Disconnect()
- tis = nil
- end
- end)
- local dis
- down.MouseButton1Down:connect(function()
- dis = down.MouseEnter:connect(function()
- while dis do
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0,-1,0)
- end
- end)
- end)
- down.MouseLeave:connect(function()
- if dis then
- dis:Disconnect()
- dis = nil
- end
- end)
- game:GetService("Players").LocalPlayer.CharacterAdded:Connect(function(char)
- wait(0.7)
- game.Players.LocalPlayer.Character.Humanoid.PlatformStand = false
- game.Players.LocalPlayer.Character.Animate.Disabled = false
- end)
- plus.MouseButton1Down:connect(function()
- speeds = speeds + 1
- speed.Text = speeds
- if nowe == true then
- tpwalking = false
- for i = 1, speeds do
- spawn(function()
- local hb = game:GetService("RunService").Heartbeat
- tpwalking = true
- local chr = game.Players.LocalPlayer.Character
- local hum = chr and chr:FindFirstChildWhichIsA("Humanoid")
- while tpwalking and hb:Wait() and chr and hum and hum.Parent do
- if hum.MoveDirection.Magnitude > 0 then
- chr:TranslateBy(hum.MoveDirection)
- end
- end
- end)
- end
- end
- end)
- mine.MouseButton1Down:connect(function()
- if speeds == 1 then
- speed.Text = 'cannot be less than 1'
- wait(1)
- speed.Text = speeds
- else
- speeds = speeds - 1
- speed.Text = speeds
- if nowe == true then
- tpwalking = false
- for i = 1, speeds do
- spawn(function()
- local hb = game:GetService("RunService").Heartbeat
- tpwalking = true
- local chr = game.Players.LocalPlayer.Character
- local hum = chr and chr:FindFirstChildWhichIsA("Humanoid")
- while tpwalking and hb:Wait() and chr and hum and hum.Parent do
- if hum.MoveDirection.Magnitude > 0 then
- chr:TranslateBy(hum.MoveDirection)
- end
- end
- end)
- end
- end
- end
- end)
- closebutton.MouseButton1Click:Connect(function()
- main:Destroy()
- end)
- mini.MouseButton1Click:Connect(function()
- up.Visible = false
- down.Visible = false
- onof.Visible = false
- plus.Visible = false
- speed.Visible = false
- mine.Visible = false
- mini.Visible = false
- mini2.Visible = true
- main.Frame.BackgroundTransparency = 1
- closebutton.Position = UDim2.new(0, 0, -1, 57)
- end)
- mini2.MouseButton1Click:Connect(function()
- up.Visible = true
- down.Visible = true
- onof.Visible = true
- plus.Visible = true
- speed.Visible = true
- mine.Visible = true
- mini.Visible = true
- mini2.Visible = false
- main.Frame.BackgroundTransparency = 0
- closebutton.Position = UDim2.new(0, 0, -1, 27)
- end)
- end)
- Section:NewButton("no clip", "", function()
- local Noclip = nil
- local Clip = nil
- function noclip()
- Clip = false
- local function Nocl()
- if Clip == false and game.Players.LocalPlayer.Character ~= nil then
- for _,v in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
- if v:IsA('BasePart') and v.CanCollide and v.Name ~= floatName then
- v.CanCollide = false
- end
- end
- end
- wait(0.21) -- basic optimization
- end
- Noclip = game:GetService('RunService').Stepped:Connect(Nocl)
- end
- function clip()
- if Noclip then Noclip:Disconnect() end
- Clip = true
- end
- noclip() -- to toggle noclip() and clip()
- end)
- Section:NewButton("InfinityJump", "ButtonInfo", function()
- local InfiniteJumpEnabled = true
- game:GetService("UserInputService").JumpRequest:connect(function()
- if InfiniteJumpEnabled then
- game:GetService"Players".LocalPlayer.Character:FindFirstChildOfClass'Humanoid':ChangeState("Jumping")
- end
- end)
- end)
- local Tab = Window:NewTab("Teleport")
- local Section = Tab:NewSection("Teleport")
- Section:NewButton("tp to the player", "", function()
- for i,v in ipairs(getconnections(game.ScriptContext.Error)) do
- v:Disable();
- end;
- local Lib = loadstring(game:HttpGet("https://raw.githubusercontent.com/Drifter0507/Shamrock/main/MainLibrary", true))();
- local Players = game:GetService("Players");
- local Client = Players.LocalPlayer;
- local RunService = game:GetService("RunService");
- local ReplicatedStorage = game:GetService("ReplicatedStorage");
- local Camera = workspace.CurrentCamera;
- local Mouse = Client:GetMouse();
- for i,v in pairs(getconnections(Client.Idled)) do
- v:Disable();
- end;
- local hook
- hook = hookmetamethod(game.Players.LocalPlayer,"__namecall",function(...)
- if getnamecallmethod() == "Kick" then
- return wait(9e8);
- end;
- return hook(...);
- end);
- function SetCharVars()
- Character = Client.Character;
- Humanoid = Character:WaitForChild("Humanoid");
- RootPart = Character:WaitForChild("HumanoidRootPart");
- end
- SetCharVars();
- Client.CharacterAdded:Connect(SetCharVars);
- local Window = Lib:CreateWindow({Title = "DmitryHack | tp to the player "});
- local Tab1 = Window:CreateTab({Title = "tp", ScrollBar = false});
- local Section1 = Tab1:CreateSection({
- Title = "tp"
- });
- local function isPointVisible(worldPoint)
- local camera = workspace.CurrentCamera;
- local vector, onScreen = camera:WorldToViewportPoint(worldPoint);
- if onScreen then
- local origin = camera.CFrame.p;
- local ray = Ray.new(origin, worldPoint - origin);
- local hit = workspace:FindPartOnRay(ray);
- if hit then
- return false;
- end;
- else
- return false;
- end;
- return true;
- end;
- local function GetClosest(Fov)
- local Target, Closest = nil, math.huge;
- for i,v in pairs(Players:GetPlayers()) do
- if (v.Name ~= Client.Name and v.Character and v.Character.HumanoidRootPart and not table.find(getgenv().Whitelisted,v.Name)) then
- local ScreenPos, OnScreen = Camera:WorldToScreenPoint(v.Character.HumanoidRootPart.Position);
- if OnScreen then
- local Distance = (Vector2.new(ScreenPos.X, ScreenPos.Y) - Vector2.new(Mouse.X, Mouse.Y)).Magnitude;
- if (Distance < Closest) then
- Closest = Distance;
- Target = v;
- end;
- end;
- end;
- end;
- return Target;
- end;
- local Target;
- local OuterLine = Drawing.new("Circle");
- RunService.Stepped:Connect(function()
- OuterLine.Radius = getgenv().FOV or 80;
- OuterLine.Thickness = 4;
- OuterLine.Position = Vector2.new(Mouse.X, Mouse.Y + 36);
- OuterLine.Transparency = 1;
- OuterLine.Color = getgenv().CircleColor or Color3.new(255,255,255);
- OuterLine.Visible = getgenv().Circle or false;
- OuterLine.ZIndex = 1;
- if getgenv().SilentAim then
- Target = GetClosest(getgenv().FOV);
- end;
- end);
- local Old;
- Old = hookmetamethod(game, "__namecall", function(Self, ...)
- local Args = {...};
- local Method = getnamecallmethod();
- if (not checkcaller() and Method == "FireServer") then
- if (Self.Name == "RemoteEvent" and Args[2] == "Bullet" and Args[7] ~= "Knife" and Method == "FireServer") then
- if (Target and Target.Character and Target.Character.Humanoid and Target.Character.Humanoid.Health ~= 0) then
- local Hitbox = Target.Character[getgenv().Part or "Head"];
- if (Hitbox and getgenv().SilentAim) then
- Args[3] = Target.Character;
- Args[4] = Hitbox;
- Args[5] = Hitbox.Position;
- end;
- end;
- end;
- end;
- return Old(Self, unpack(Args));
- end);
- end)
- Section:NewButton("ctrl + click left tp", "", function()
- local UIS = game:GetService("UserInputService")
- local Player = game.Players.LocalPlayer
- local Mouse = Player:GetMouse()
- function GetCharacter()
- return game.Players.LocalPlayer.Character
- end
- function Teleport(pos)
- local Char = GetCharacter()
- if Char then
- Char:MoveTo(pos)
- end
- end
- UIS.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 and UIS:IsKeyDown(Enum.KeyCode.LeftControl) then
- Teleport(Mouse.Hit.p)
- end
- end)
- end)
- Section:NewButton("drones", "ButtonInfo", function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").Model.DroneFakeNew.c.CFrame
- end)
- Section:NewButton("school", "ButtonInfo", function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").Model.Desks.Desks.Seat.CFrame
- end)
- Section:NewButton("aqua park", "ButtonInfo", function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").Model["002_StaysWhiteWinterTime/GreenSummer/NoScriptInvolved"]["WhiteWinterTime/GreenSummer/LightGreenSpring"].CFrame
- end)
- Section:NewButton("spawn", "ButtonInfo", function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace")["Spawns!SkyDive"].Spawn.CFrame
- end)
- local Tab = Window:NewTab("Render")
- local Section = Tab:NewSection("Render")
- Section:NewButton("RTX", "ButtonInfo", function()
- local a = game.Lighting
- a.Ambient = Color3.fromRGB(33, 33, 33)
- a.Brightness = 6.67
- a.ColorShift_Bottom = Color3.fromRGB(0, 0, 0)
- a.ColorShift_Top = Color3.fromRGB(255, 247, 237)
- a.EnvironmentDiffuseScale = 0.105
- a.EnvironmentSpecularScale = 0.522
- a.GlobalShadows = true
- a.OutdoorAmbient = Color3.fromRGB(51, 54, 67)
- a.ShadowSoftness = 0.04
- a.GeographicLatitude = -15.525
- a.ExposureCompensation = 0.75
- local b = Instance.new("BloomEffect", a)
- b.Enabled = true
- b.Intensity = 0.04
- b.Size = 1900
- b.Threshold = 0.915
- local c = Instance.new("ColorCorrectionEffect", a)
- c.Brightness = 0.176
- c.Contrast = 0.39
- c.Enabled = true
- c.Saturation = 0.2
- c.TintColor = Color3.fromRGB(217, 145, 57)
- if getgenv().mode == "Summer" then
- c.TintColor = Color3.fromRGB(255, 220, 148)
- elseif getgenv().mode == "Autumn" then
- c.TintColor = Color3.fromRGB(217, 145, 57)
- else
- warn("No mode selected!")
- print("Please select a mode")
- b:Destroy()
- c:Destroy()
- end
- local d = Instance.new("DepthOfFieldEffect", a)
- d.Enabled = true
- d.FarIntensity = 0.077
- d.FocusDistance = 21.54
- d.InFocusRadius = 20.77
- d.NearIntensity = 0.277
- local e = Instance.new("ColorCorrectionEffect", a)
- e.Brightness = 0
- e.Contrast = -0.07
- e.Saturation = 0
- e.Enabled = true
- e.TintColor = Color3.fromRGB(255, 247, 239)
- local e2 = Instance.new("ColorCorrectionEffect", a)
- e2.Brightness = 0.2
- e2.Contrast = 0.45
- e2.Saturation = -0.1
- e2.Enabled = true
- e2.TintColor = Color3.fromRGB(255, 255, 255)
- local s = Instance.new("SunRaysEffect", a)
- s.Enabled = true
- s.Intensity = 0.01
- s.Spread = 0.146
- end)
- Section:NewButton("ESP", "ButtonInfo", function()
- local workspace = game:GetService("Workspace")
- local player = game:GetService("Players").LocalPlayer
- local camera = workspace.CurrentCamera
- --// Settings:
- local on = true -- Use this if your making gui
- local Box_Color = Color3.fromRGB(255, 0, 43)
- local Box_Thickness = 1.4
- local Box_Transparency = 1 -- 1 Visible, 0 Not Visible
- local Tracers = true
- local Tracer_Color = Color3.fromRGB(255, 0, 43)
- local Tracer_Thickness = 1.4
- local Tracer_Transparency = 1 -- 1 Visible, 0 Not Visible
- local Autothickness = false -- Makes screen less encumbered
- local Team_Check = false
- local red = Color3.fromRGB(227, 52, 52)
- local green = Color3.fromRGB(255, 0, 43) ----------rgb
- local function NewLine()
- local line = Drawing.new("Line")
- line.Visible = false
- line.From = Vector2.new(0, 0)
- line.To = Vector2.new(1, 1)
- line.Color = Box_Color
- line.Thickness = Box_Thickness
- line.Transparency = Box_Transparency
- return line
- end
- --// Main Function:
- for i, v in pairs(game.Players:GetChildren()) do
- --// Lines for 3D box (12)
- local lines = {
- line1 = NewLine(),
- line2 = NewLine(),
- line3 = NewLine(),
- line4 = NewLine(),
- line5 = NewLine(),
- line6 = NewLine(),
- line7 = NewLine(),
- line8 = NewLine(),
- line9 = NewLine(),
- line10 = NewLine(),
- line11 = NewLine(),
- line12 = NewLine(),
- Tracer = NewLine()
- }
- lines.Tracer.Color = Tracer_Color
- lines.Tracer.Thickness = Tracer_Thickness
- lines.Tracer.Transparency = Tracer_Transparency
- --// Updates ESP (lines) in render loop
- local function ESP()
- local connection
- connection = game:GetService("RunService").RenderStepped:Connect(function()
- if on and v.Character ~= nil and v.Character:FindFirstChild("Humanoid") ~= nil and v.Character:FindFirstChild("HumanoidRootPart") ~= nil and v.Name ~= player.Name and v.Character.Humanoid.Health > 0 and v.Character:FindFirstChild("Head") ~= nil then
- local pos, vis = camera:WorldToViewportPoint(v.Character.HumanoidRootPart.Position)
- if vis then
- local Scale = v.Character.Head.Size.Y/2
- local Size = Vector3.new(2, 3, 1.5) * (Scale * 2) -- Change this for different box size
- local Top1 = camera:WorldToViewportPoint((v.Character.HumanoidRootPart.CFrame * CFrame.new(-Size.X, Size.Y, -Size.Z)).p)
- local Top2 = camera:WorldToViewportPoint((v.Character.HumanoidRootPart.CFrame * CFrame.new(-Size.X, Size.Y, Size.Z)).p)
- local Top3 = camera:WorldToViewportPoint((v.Character.HumanoidRootPart.CFrame * CFrame.new(Size.X, Size.Y, Size.Z)).p)
- local Top4 = camera:WorldToViewportPoint((v.Character.HumanoidRootPart.CFrame * CFrame.new(Size.X, Size.Y, -Size.Z)).p)
- local Bottom1 = camera:WorldToViewportPoint((v.Character.HumanoidRootPart.CFrame * CFrame.new(-Size.X, -Size.Y, -Size.Z)).p)
- local Bottom2 = camera:WorldToViewportPoint((v.Character.HumanoidRootPart.CFrame * CFrame.new(-Size.X, -Size.Y, Size.Z)).p)
- local Bottom3 = camera:WorldToViewportPoint((v.Character.HumanoidRootPart.CFrame * CFrame.new(Size.X, -Size.Y, Size.Z)).p)
- local Bottom4 = camera:WorldToViewportPoint((v.Character.HumanoidRootPart.CFrame * CFrame.new(Size.X, -Size.Y, -Size.Z)).p)
- --// Top:
- lines.line1.From = Vector2.new(Top1.X, Top1.Y)
- lines.line1.To = Vector2.new(Top2.X, Top2.Y)
- lines.line2.From = Vector2.new(Top2.X, Top2.Y)
- lines.line2.To = Vector2.new(Top3.X, Top3.Y)
- lines.line3.From = Vector2.new(Top3.X, Top3.Y)
- lines.line3.To = Vector2.new(Top4.X, Top4.Y)
- lines.line4.From = Vector2.new(Top4.X, Top4.Y)
- lines.line4.To = Vector2.new(Top1.X, Top1.Y)
- --// Bottom:
- lines.line5.From = Vector2.new(Bottom1.X, Bottom1.Y)
- lines.line5.To = Vector2.new(Bottom2.X, Bottom2.Y)
- lines.line6.From = Vector2.new(Bottom2.X, Bottom2.Y)
- lines.line6.To = Vector2.new(Bottom3.X, Bottom3.Y)
- lines.line7.From = Vector2.new(Bottom3.X, Bottom3.Y)
- lines.line7.To = Vector2.new(Bottom4.X, Bottom4.Y)
- lines.line8.From = Vector2.new(Bottom4.X, Bottom4.Y)
- lines.line8.To = Vector2.new(Bottom1.X, Bottom1.Y)
- --//S ides:
- lines.line9.From = Vector2.new(Bottom1.X, Bottom1.Y)
- lines.line9.To = Vector2.new(Top1.X, Top1.Y)
- lines.line10.From = Vector2.new(Bottom2.X, Bottom2.Y)
- lines.line10.To = Vector2.new(Top2.X, Top2.Y)
- lines.line11.From = Vector2.new(Bottom3.X, Bottom3.Y)
- lines.line11.To = Vector2.new(Top3.X, Top3.Y)
- lines.line12.From = Vector2.new(Bottom4.X, Bottom4.Y)
- lines.line12.To = Vector2.new(Top4.X, Top4.Y)
- --// Tracer:
- if Tracers then
- local trace = camera:WorldToViewportPoint((v.Character.HumanoidRootPart.CFrame * CFrame.new(0, -Size.Y, 0)).p)
- lines.Tracer.From = Vector2.new(camera.ViewportSize.X/2, camera.ViewportSize.Y)
- lines.Tracer.To = Vector2.new(trace.X, trace.Y)
- end
- --// Teamcheck:
- if Team_Check then
- if v.TeamColor == player.TeamColor then
- for u, x in pairs(lines) do
- x.Color = red
- end
- else
- for u, x in pairs(lines) do
- x.Color = green
- end
- end
- end
- --// Autothickness:
- if Autothickness then
- local distance = (player.Character.HumanoidRootPart.Position - v.Character.HumanoidRootPart.Position).magnitude
- local value = math.clamp(1/distance*100, 0.1, 4) --0.1 is min thickness, 6 is max
- for u, x in pairs(lines) do
- x.Thickness = value
- end
- else
- for u, x in pairs(lines) do
- x.Thickness = Box_Thickness
- end
- end
- for u, x in pairs(lines) do
- if x ~= lines.Tracer then
- x.Visible = true
- end
- end
- if Tracers then
- lines.Tracer.Visible = true
- end
- else
- for u, x in pairs(lines) do
- x.Visible = false
- end
- end
- else
- for u, x in pairs(lines) do
- x.Visible = false
- end
- if game.Players:FindFirstChild(v.Name) == nil then
- connection:Disconnect()
- end
- end
- end)
- end
- coroutine.wrap(ESP)()
- end
- game.Players.PlayerAdded:Connect(function(newplr)
- --// Lines for 3D box (12)
- local lines = {
- line1 = NewLine(),
- line2 = NewLine(),
- line3 = NewLine(),
- line4 = NewLine(),
- line5 = NewLine(),
- line6 = NewLine(),
- line7 = NewLine(),
- line8 = NewLine(),
- line9 = NewLine(),
- line10 = NewLine(),
- line11 = NewLine(),
- line12 = NewLine(),
- Tracer = NewLine()
- }
- lines.Tracer.Color = Tracer_Color
- lines.Tracer.Thickness = Tracer_Thickness
- lines.Tracer.Transparency = Tracer_Transparency
- --// Updates ESP (lines) in render loop
- local function ESP()
- local connection
- connection = game:GetService("RunService").RenderStepped:Connect(function()
- if on and newplr.Character ~= nil and newplr.Character:FindFirstChild("Humanoid") ~= nil and newplr.Character:FindFirstChild("HumanoidRootPart") ~= nil and newplr.Name ~= player.Name and newplr.Character.Humanoid.Health > 0 and newplr.Character:FindFirstChild("Head") ~= nil then
- local pos, vis = camera:WorldToViewportPoint(newplr.Character.HumanoidRootPart.Position)
- if vis then
- local Scale = newplr.Character.Head.Size.Y/2
- local Size = Vector3.new(2, 3, 1.5) * (Scale * 2) -- Change this for different box size
- local Top1 = camera:WorldToViewportPoint((newplr.Character.HumanoidRootPart.CFrame * CFrame.new(-Size.X, Size.Y, -Size.Z)).p)
- local Top2 = camera:WorldToViewportPoint((newplr.Character.HumanoidRootPart.CFrame * CFrame.new(-Size.X, Size.Y, Size.Z)).p)
- local Top3 = camera:WorldToViewportPoint((newplr.Character.HumanoidRootPart.CFrame * CFrame.new(Size.X, Size.Y, Size.Z)).p)
- local Top4 = camera:WorldToViewportPoint((newplr.Character.HumanoidRootPart.CFrame * CFrame.new(Size.X, Size.Y, -Size.Z)).p)
- local Bottom1 = camera:WorldToViewportPoint((newplr.Character.HumanoidRootPart.CFrame * CFrame.new(-Size.X, -Size.Y, -Size.Z)).p)
- local Bottom2 = camera:WorldToViewportPoint((newplr.Character.HumanoidRootPart.CFrame * CFrame.new(-Size.X, -Size.Y, Size.Z)).p)
- local Bottom3 = camera:WorldToViewportPoint((newplr.Character.HumanoidRootPart.CFrame * CFrame.new(Size.X, -Size.Y, Size.Z)).p)
- local Bottom4 = camera:WorldToViewportPoint((newplr.Character.HumanoidRootPart.CFrame * CFrame.new(Size.X, -Size.Y, -Size.Z)).p)
- --// Top:
- lines.line1.From = Vector2.new(Top1.X, Top1.Y)
- lines.line1.To = Vector2.new(Top2.X, Top2.Y)
- lines.line2.From = Vector2.new(Top2.X, Top2.Y)
- lines.line2.To = Vector2.new(Top3.X, Top3.Y)
- lines.line3.From = Vector2.new(Top3.X, Top3.Y)
- lines.line3.To = Vector2.new(Top4.X, Top4.Y)
- lines.line4.From = Vector2.new(Top4.X, Top4.Y)
- lines.line4.To = Vector2.new(Top1.X, Top1.Y)
- --// Bottom:
- lines.line5.From = Vector2.new(Bottom1.X, Bottom1.Y)
- lines.line5.To = Vector2.new(Bottom2.X, Bottom2.Y)
- lines.line6.From = Vector2.new(Bottom2.X, Bottom2.Y)
- lines.line6.To = Vector2.new(Bottom3.X, Bottom3.Y)
- lines.line7.From = Vector2.new(Bottom3.X, Bottom3.Y)
- lines.line7.To = Vector2.new(Bottom4.X, Bottom4.Y)
- lines.line8.From = Vector2.new(Bottom4.X, Bottom4.Y)
- lines.line8.To = Vector2.new(Bottom1.X, Bottom1.Y)
- --//S ides:
- lines.line9.From = Vector2.new(Bottom1.X, Bottom1.Y)
- lines.line9.To = Vector2.new(Top1.X, Top1.Y)
- lines.line10.From = Vector2.new(Bottom2.X, Bottom2.Y)
- lines.line10.To = Vector2.new(Top2.X, Top2.Y)
- lines.line11.From = Vector2.new(Bottom3.X, Bottom3.Y)
- lines.line11.To = Vector2.new(Top3.X, Top3.Y)
- lines.line12.From = Vector2.new(Bottom4.X, Bottom4.Y)
- lines.line12.To = Vector2.new(Top4.X, Top4.Y)
- --// Tracer:
- if Tracers then
- local trace = camera:WorldToViewportPoint((newplr.Character.HumanoidRootPart.CFrame * CFrame.new(0, -Size.Y, 0)).p)
- lines.Tracer.From = Vector2.new(camera.ViewportSize.X/2, camera.ViewportSize.Y)
- lines.Tracer.To = Vector2.new(trace.X, trace.Y)
- end
- --// Teamcheck:
- if Team_Check then
- if newplr.TeamColor == player.TeamColor then
- for u, x in pairs(lines) do
- x.Color = green
- end
- else
- for u, x in pairs(lines) do
- x.Color = red
- end
- end
- end
- --// Autothickness:
- if Autothickness then
- local distance = (player.Character.HumanoidRootPart.Position - newplr.Character.HumanoidRootPart.Position).magnitude
- local value = math.clamp(1/distance*100, 0.1, 4) --0.1 is min thickness, 6 is max
- for u, x in pairs(lines) do
- x.Thickness = value
- end
- else
- for u, x in pairs(lines) do
- x.Thickness = Box_Thickness
- end
- end
- for u, x in pairs(lines) do
- if x ~= lines.Tracer then
- x.Visible = true
- end
- end
- if Tracers then
- lines.Tracer.Visible = true
- end
- else
- for u, x in pairs(lines) do
- x.Visible = false
- end
- end
- else
- for u, x in pairs(lines) do
- x.Visible = false
- end
- if game.Players:FindFirstChild(newplr.Name) == nil then
- connection:Disconnect()
- end
- end
- end)
- end
- coroutine.wrap(ESP)()
- end)
- end)
Advertisement
Advertisement