Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Farewell Infortality.
- -- Version: 2.82
- -- Instances:
- local RBWorld2 = Instance.new("ScreenGui")
- local OpenFrame = Instance.new("Frame")
- local OpenClose = Instance.new("TextButton")
- local Main = Instance.new("Frame")
- local boxing = Instance.new("TextButton")
- local aimbot = Instance.new("TextButton")
- local playsound = Instance.new("TextButton")
- local ID = Instance.new("TextBox")
- local clicktp = Instance.new("TextButton")
- local fly = Instance.new("TextButton")
- local noclip = Instance.new("TextButton")
- local westside = Instance.new("TextButton")
- local speed = Instance.new("TextButton")
- local speednumber = Instance.new("TextBox")
- local eastside = Instance.new("TextButton")
- local credits = Instance.new("TextLabel")
- local supportedexploits = Instance.new("TextLabel")
- local title = Instance.new("TextLabel")
- local Next = Instance.new("TextButton")
- local Page2 = Instance.new("Frame")
- local credits2 = Instance.new("TextLabel")
- local Page2_2 = Instance.new("TextLabel")
- local Prev = Instance.new("TextButton")
- local statchange = Instance.new("TextButton")
- --Properties:
- RBWorld2.Name = "RB World 2"
- RBWorld2.Parent = game.CoreGui
- OpenFrame.Name = "Open Frame"
- OpenFrame.Parent = RBWorld2
- OpenFrame.BackgroundColor3 = Color3.new(1, 1, 1)
- OpenFrame.Position = UDim2.new(0, 0, 0.486994207, 0)
- OpenFrame.Size = UDim2.new(0, 119, 0, 41)
- OpenFrame.Style = Enum.FrameStyle.DropShadow
- OpenClose.Name = "Open/Close"
- OpenClose.Parent = OpenFrame
- OpenClose.BackgroundColor3 = Color3.new(0, 0, 0)
- OpenClose.BackgroundTransparency = 0.89999997615814
- OpenClose.Position = UDim2.new(0.0336134471, 0, 0.097560972, 0)
- OpenClose.Size = UDim2.new(0, 97, 0, 24)
- OpenClose.Font = Enum.Font.Cartoon
- OpenClose.Text = "Close"
- OpenClose.TextColor3 = Color3.new(1, 1, 1)
- OpenClose.TextSize = 16
- Main.Name = "Main"
- Main.Parent = RBWorld2
- Main.BackgroundColor3 = Color3.new(1, 1, 1)
- Main.Position = UDim2.new(0.160377353, 0, 0.0326633193, 0)
- Main.Size = UDim2.new(0, 570, 0, 371)
- Main.Style = Enum.FrameStyle.DropShadow
- Main.Active = true
- Main.Draggable = true
- boxing.Name = "boxing"
- boxing.Parent = Main
- boxing.BackgroundColor3 = Color3.new(0.666667, 0, 0.498039)
- boxing.BorderColor3 = Color3.new(1, 1, 1)
- boxing.BorderSizePixel = 5
- boxing.Position = UDim2.new(0.676886141, 0, 0.570126116, 0)
- boxing.Size = UDim2.new(0, 166, 0, 50)
- boxing.Font = Enum.Font.Cartoon
- boxing.Text = "Boxing (Press keys 1-8)"
- boxing.TextColor3 = Color3.new(0, 0, 0)
- boxing.TextSize = 14
- aimbot.Name = "aimbot"
- aimbot.Parent = Main
- aimbot.BackgroundColor3 = Color3.new(0, 0, 0)
- aimbot.BorderColor3 = Color3.new(1, 1, 1)
- aimbot.BorderSizePixel = 5
- aimbot.Position = UDim2.new(0.342232198, 0, 0.179290578, 0)
- aimbot.Size = UDim2.new(0, 166, 0, 50)
- aimbot.Font = Enum.Font.SourceSans
- aimbot.Text = "Aimbot (Press F to shoot)"
- aimbot.TextColor3 = Color3.new(1, 0, 0)
- aimbot.TextSize = 14
- playsound.Name = "playsound"
- playsound.Parent = Main
- playsound.BackgroundColor3 = Color3.new(0.666667, 0, 0.498039)
- playsound.BorderColor3 = Color3.new(1, 1, 1)
- playsound.BorderSizePixel = 5
- playsound.Position = UDim2.new(0.0146864224, 0, 0.570126176, 0)
- playsound.Size = UDim2.new(0, 166, 0, 50)
- playsound.Font = Enum.Font.Cartoon
- playsound.Text = "Play Sound"
- playsound.TextColor3 = Color3.new(0, 0, 0)
- playsound.TextSize = 14
- ID.Name = "ID"
- ID.Parent = playsound
- ID.BackgroundColor3 = Color3.new(0, 0, 0)
- ID.BorderColor3 = Color3.new(1, 1, 1)
- ID.Position = UDim2.new(0.0421686769, 0, 1.20000005, 0)
- ID.Size = UDim2.new(0, 152, 0, 41)
- ID.Font = Enum.Font.SourceSans
- ID.Text = "ID"
- ID.TextColor3 = Color3.new(0, 1, 1)
- ID.TextSize = 14
- clicktp.Name = "click tp"
- clicktp.Parent = Main
- clicktp.BackgroundColor3 = Color3.new(0, 0, 0)
- clicktp.BorderColor3 = Color3.new(1, 1, 1)
- clicktp.BorderSizePixel = 5
- clicktp.Position = UDim2.new(0.67433548, 0, 0.370968491, 0)
- clicktp.Size = UDim2.new(0, 166, 0, 50)
- clicktp.Font = Enum.Font.SourceSans
- clicktp.Text = "Click TP (ctrl+click)"
- clicktp.TextColor3 = Color3.new(1, 0, 0)
- clicktp.TextSize = 14
- fly.Name = "fly"
- fly.Parent = Main
- fly.BackgroundColor3 = Color3.new(0.666667, 0, 0.498039)
- fly.BorderColor3 = Color3.new(1, 1, 1)
- fly.BorderSizePixel = 5
- fly.Position = UDim2.new(0.342232227, 0, 0.368273079, 0)
- fly.Size = UDim2.new(0, 166, 0, 50)
- fly.Font = Enum.Font.Cartoon
- fly.Text = "Fly"
- fly.TextColor3 = Color3.new(0, 0, 0)
- fly.TextSize = 14
- noclip.Name = "noclip"
- noclip.Parent = Main
- noclip.BackgroundColor3 = Color3.new(0, 0, 0)
- noclip.BorderColor3 = Color3.new(1, 1, 1)
- noclip.BorderSizePixel = 5
- noclip.Position = UDim2.new(0.0137283131, 0, 0.373663902, 0)
- noclip.Size = UDim2.new(0, 166, 0, 50)
- noclip.Font = Enum.Font.SourceSans
- noclip.Text = "Noclip (Hold L)"
- noclip.TextColor3 = Color3.new(1, 0, 0)
- noclip.TextSize = 14
- westside.Name = "westside"
- westside.Parent = Main
- westside.BackgroundColor3 = Color3.new(0.666667, 0, 0.498039)
- westside.BorderColor3 = Color3.new(1, 1, 1)
- westside.BorderSizePixel = 5
- westside.Position = UDim2.new(0.676089942, 0, 0.18130371, 0)
- westside.Size = UDim2.new(0, 166, 0, 50)
- westside.Font = Enum.Font.Cartoon
- westside.Text = "Change to Westside"
- westside.TextColor3 = Color3.new(0, 0, 0)
- westside.TextSize = 14
- speed.Name = "speed"
- speed.Parent = Main
- speed.BackgroundColor3 = Color3.new(0, 0, 0)
- speed.BorderColor3 = Color3.new(1, 1, 1)
- speed.BorderSizePixel = 5
- speed.Position = UDim2.new(0.342232227, 0, 0.569443941, 0)
- speed.Size = UDim2.new(0, 166, 0, 50)
- speed.Font = Enum.Font.SourceSans
- speed.Text = "Speed Hack ( Hold Q)"
- speed.TextColor3 = Color3.new(1, 0, 0)
- speed.TextSize = 14
- speednumber.Name = "speednumber"
- speednumber.Parent = speed
- speednumber.BackgroundColor3 = Color3.new(0, 0, 0)
- speednumber.BorderColor3 = Color3.new(1, 1, 1)
- speednumber.Position = UDim2.new(0.0240963884, 0, 1.20000005, 0)
- speednumber.Size = UDim2.new(0, 152, 0, 41)
- speednumber.Font = Enum.Font.SourceSans
- speednumber.Text = "Speed Number"
- speednumber.TextColor3 = Color3.new(0, 1, 0.498039)
- speednumber.TextSize = 16
- eastside.Name = "eastside"
- eastside.Parent = Main
- eastside.BackgroundColor3 = Color3.new(0.666667, 0, 0.498039)
- eastside.BorderColor3 = Color3.new(1, 1, 1)
- eastside.BorderSizePixel = 5
- eastside.Position = UDim2.new(0.0137283225, 0, 0.18130374, 0)
- eastside.Size = UDim2.new(0, 166, 0, 50)
- eastside.Font = Enum.Font.Cartoon
- eastside.Text = "Change to Eastside"
- eastside.TextColor3 = Color3.new(0, 0, 0)
- eastside.TextSize = 14
- credits.Name = "credits"
- credits.Parent = Main
- credits.BackgroundColor3 = Color3.new(0, 0, 0)
- credits.BorderColor3 = Color3.new(1, 1, 1)
- credits.Position = UDim2.new(-0.00526315812, 0, 0.854447484, 0)
- credits.Size = UDim2.new(0, 560, 0, 50)
- credits.Font = Enum.Font.SourceSans
- credits.Text = "Join the Discord for updates: Discord.me/Cyamic"
- credits.TextColor3 = Color3.new(0.666667, 1, 0)
- credits.TextSize = 20
- supportedexploits.Name = "supported exploits"
- supportedexploits.Parent = Main
- supportedexploits.BackgroundColor3 = Color3.new(0, 0, 0)
- supportedexploits.BorderColor3 = Color3.new(1, 1, 1)
- supportedexploits.Position = UDim2.new(0.349122792, 0, -0.00269541703, 0)
- supportedexploits.Size = UDim2.new(0, 361, 0, 47)
- supportedexploits.Font = Enum.Font.SourceSans
- supportedexploits.Text = "Supported Exploits: Check #exploits"
- supportedexploits.TextColor3 = Color3.new(0.333333, 0.333333, 1)
- supportedexploits.TextSize = 16
- title.Name = "title"
- title.Parent = Main
- title.BackgroundColor3 = Color3.new(0, 0, 0)
- title.BorderColor3 = Color3.new(1, 1, 1)
- title.Position = UDim2.new(-0.00553505681, 0, -0.00257749483, 0)
- title.Size = UDim2.new(0, 196, 0, 47)
- title.Font = Enum.Font.Cartoon
- title.Text = "RB WORLD 2 GUI"
- title.TextColor3 = Color3.new(1, 1, 0)
- title.TextSize = 24
- Next.Name = "Next"
- Next.Parent = Main
- Next.BackgroundColor3 = Color3.new(0, 0, 0)
- Next.BorderColor3 = Color3.new(0, 0, 0)
- Next.BorderSizePixel = 0
- Next.Position = UDim2.new(0.909594119, 0, 0.856249988, 0)
- Next.Size = UDim2.new(0, 50, 0, 45)
- Next.Font = Enum.Font.SourceSans
- Next.Text = ">"
- Next.TextColor3 = Color3.new(1, 1, 1)
- Next.TextSize = 45
- Page2.Name = "Page2"
- Page2.Parent = RBWorld2
- Page2.BackgroundColor3 = Color3.new(1, 1, 1)
- Page2.Position = UDim2.new(0.159999996, 0, 0.0329999998, 0)
- Page2.Size = UDim2.new(0, 570, 0, 371)
- Page2.Visible = false
- Page2.Style = Enum.FrameStyle.DropShadow
- Page2.Active = true
- Page2.Draggable = true
- credits2.Name = "credits2"
- credits2.Parent = Page2
- credits2.BackgroundColor3 = Color3.new(0, 0, 0)
- credits2.BorderColor3 = Color3.new(1, 1, 1)
- credits2.Position = UDim2.new(-0.00526315812, 0, 0.854447484, 0)
- credits2.Size = UDim2.new(0, 560, 0, 50)
- credits2.Font = Enum.Font.SourceSans
- credits2.Text = "Join the Discord for updates: Discord.me/Cyamic"
- credits2.TextColor3 = Color3.new(0.666667, 1, 0)
- credits2.TextSize = 20
- Page2_2.Name = "Page2"
- Page2_2.Parent = Page2
- Page2_2.BackgroundColor3 = Color3.new(0, 0, 0)
- Page2_2.BorderColor3 = Color3.new(1, 1, 1)
- Page2_2.Position = UDim2.new(-0.00526315812, 0, 1.16415322e-09, 0)
- Page2_2.Size = UDim2.new(0, 560, 0, 50)
- Page2_2.Font = Enum.Font.SourceSans
- Page2_2.Text = "Page 2"
- Page2_2.TextColor3 = Color3.new(0, 0.333333, 1)
- Page2_2.TextSize = 20
- Prev.Name = "Prev"
- Prev.Parent = Page2
- Prev.BackgroundColor3 = Color3.new(0, 0, 0)
- Prev.BorderColor3 = Color3.new(0, 0, 0)
- Prev.BorderSizePixel = 0
- Prev.Position = UDim2.new(-0.00578947598, 0, 0.858695447, 0)
- Prev.Size = UDim2.new(0, 50, 0, 45)
- Prev.Font = Enum.Font.SourceSans
- Prev.Text = "<"
- Prev.TextColor3 = Color3.new(1, 1, 1)
- Prev.TextSize = 45
- statchange.Name = "statchange"
- statchange.Parent = Page2
- statchange.BackgroundColor3 = Color3.new(0, 0, 0)
- statchange.BorderColor3 = Color3.new(1, 0, 1)
- statchange.BorderSizePixel = 5
- statchange.Position = UDim2.new(0.342000008, 0, 0.179000005, 0)
- statchange.Size = UDim2.new(0, 166, 0, 50)
- statchange.Font = Enum.Font.SourceSans
- statchange.Text = "StatChange"
- statchange.TextColor3 = Color3.new(1, 0, 1)
- statchange.TextSize = 14
- -- Scripts:
- Next.MouseButton1Down:connect(function()
- if game.CoreGui["RB World 2"].Page2.Visible == false and game.CoreGui["RB World 2"].Main.Visible == true then
- game.CoreGui["RB World 2"].Page2.Visible = true
- game.CoreGui["RB World 2"].Main.Visible = false
- end
- end)
- Prev.MouseButton1Down:connect(function()
- if game.CoreGui["RB World 2"].Page2.Visible == true and game.CoreGui["RB World 2"].Main.Visible == false then
- game.CoreGui["RB World 2"].Page2.Visible = false
- game.CoreGui["RB World 2"].Main.Visible = true
- end
- end)
- function SCRIPT_NNBZ71_FAKESCRIPT() -- OpenClose.Script
- getfenv().script = Instance.new('Script', OpenClose)
- local Button = script.Parent
- Frame = script.Parent.Parent.Parent.Main
- Open = script.Parent
- function onClick()
- if Frame.Visible == false and Open.Text == "Open" then
- Frame.Visible = true
- Open.Text = "Close"
- elseif Frame.Visible == true and Open.Text == "Close" then
- Frame.Visible = false
- Open.Text = "Open"
- end
- end
- Button.MouseButton1Click:connect(onClick)
- end
- coroutine.resume(coroutine.create(SCRIPT_NNBZ71_FAKESCRIPT))
- function SCRIPT_LQPN85_FAKESCRIPT() -- boxing.Script
- getfenv().script = Instance.new('Script', boxing)
- function Click()
- plr = game.Players.LocalPlayer
- hum = plr.Character.HumanoidRootPart
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "1" then
- Player = "LocalPlayer"
- AnimationId = "1041467040"
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- local k = game.Players[Player].Character.Humanoid:LoadAnimation(Anim)
- k:Play() --Play the animation
- k:AdjustSpeed(0.7)
- end
- if key == "2" then
- Player = "LocalPlayer"
- AnimationId = "1041467753"
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- local k = game.Players[Player].Character.Humanoid:LoadAnimation(Anim)
- k:Play() --Play the animation
- k:AdjustSpeed(0.7)
- end
- if key == "3" then
- Player = "LocalPlayer"
- AnimationId = "1041462100"
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- local k = game.Players[Player].Character.Humanoid:LoadAnimation(Anim)
- k:Play() --Play the animation
- k:AdjustSpeed(0.7)
- end
- if key == "4" then
- Player = "LocalPlayer"
- AnimationId = "1041681504"
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- local k = game.Players[Player].Character.Humanoid:LoadAnimation(Anim)
- k:Play() --Play the animation
- k:AdjustSpeed(0.7)
- end
- if key == "5" then
- Player = "LocalPlayer"
- AnimationId = "1041470826"
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- local k = game.Players[Player].Character.Humanoid:LoadAnimation(Anim)
- k:Play() --Play the animation
- k:AdjustSpeed(0.7)
- end
- if key == "6" then
- Player = "LocalPlayer"
- AnimationId = "1041470182"
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- local k = game.Players[Player].Character.Humanoid:LoadAnimation(Anim)
- k:Play() --Play the animation
- k:AdjustSpeed(0.7)
- end
- if key == "7" then
- Player = "LocalPlayer"
- AnimationId = "1041374433"
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- local k = game.Players[Player].Character.Humanoid:LoadAnimation(Anim)
- k:Play() --Play the animation
- k:AdjustSpeed(0.7)
- end
- if key == "8" then
- Player = "LocalPlayer"
- AnimationId = "849611631"
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- local k = game.Players[Player].Character.Humanoid:LoadAnimation(Anim)
- k:Play() --Play the animation
- k:AdjustSpeed(1)
- end
- end)
- end
- script.Parent.MouseButton1Down:connect(Click)
- end
- coroutine.resume(coroutine.create(SCRIPT_LQPN85_FAKESCRIPT))
- function SCRIPT_GPOH70_FAKESCRIPT() -- aimbot.Script
- getfenv().script = Instance.new('Script', aimbot)
- function Click()
- --// RBW2 UPDATED //--
- -- works here; https://www.roblox.com/games/593223204/RB-Westlake-Park
- --// MAINVARS //--
- remotes = game:GetService("ReplicatedStorage").gameplay
- mouse = game.Players.LocalPlayer:GetMouse()
- --// EDITVARS //--
- _G.accuracy = 99 -- Accuracy; 99 Makes it in almost always; 100 is always a green;
- _G.key = "f" -- Key to press to activate;
- --// SCRIPT //--
- --// ACCURACY SWITCH
- mouse.KeyDown:connect(function(k)
- if k == "b" then
- if _G.accuracy == 99 then
- _G.accuracy = 100
- elseif _G.accuracy == 100 then
- _G.accuracy = 99
- end
- print(_G.accuracy)
- end
- end)
- --// SHOOT
- mouse.KeyDown:connect(function(k)
- if k == _G.key then
- for _,v in pairs(game.Workspace:GetChildren()) do
- if v.Name == "Basketball" then
- if v.controller.Value == game.Players.LocalPlayer.Name then
- local oncourt = "Court"..tonumber(game.Players.LocalPlayer.System.OnCourt.Value)
- local onhoop = "_Hoop"..tonumber(game.Players.LocalPlayer.System.OnTeam.Value)
- remotes.character.value:FireServer("shooting", true)
- if game.Workspace[oncourt]:FindFirstChild(onhoop) then
- v.shoot:FireServer(game.Workspace[oncourt][onhoop], _G.accuracy, true)
- elseif game.Workspace[oncourt]:FindFirstChild("_Hoop1") then
- v.shoot:FireServer(game.Workspace[oncourt]["_Hoop1"], _G.accuracy, true)
- end
- end
- end
- end
- end
- end)
- end
- script.Parent.MouseButton1Down:connect(Click)
- end
- coroutine.resume(coroutine.create(SCRIPT_GPOH70_FAKESCRIPT))
- speed.MouseButton1Down:connect(function()
- -- << K1LL0X >> --
- --This may be a little buggy, so beware.
- --Hold "Q" to speed up
- down = false
- velocity = Instance.new("BodyVelocity")
- velocity.maxForce = Vector3.new(100000, 0, 100000)
- ---vv Use that to change the speed v
- local speed = speednumber.Text
- gyro = Instance.new("BodyGyro")
- gyro.maxTorque = Vector3.new(100000, 0, 100000)
- local hum = game.Players.LocalPlayer.Character.Humanoid
- function onButton1Down(mouse)
- down = true
- velocity.Parent = game.Players.LocalPlayer.Character.UpperTorso
- velocity.velocity = (hum.MoveDirection) * speed
- gyro.Parent = game.Players.LocalPlayer.Character.UpperTorso
- while down do
- if not down then break end
- velocity.velocity = (hum.MoveDirection) * speed
- local refpos = gyro.Parent.Position + (gyro.Parent.Position - workspace.CurrentCamera.CoordinateFrame.p).unit * 5
- gyro.cframe = CFrame.new(gyro.Parent.Position, Vector3.new(refpos.x, gyro.Parent.Position.y, refpos.z))
- wait(0.1)
- end
- end
- function onButton1Up(mouse)
- velocity.Parent = nil
- gyro.Parent = nil
- down = false
- end
- --To Change the key in those 2 lines, replace the "q" with your desired key
- function onSelected(mouse)
- mouse.KeyDown:connect(function(k) if k:lower()=="q"then onButton1Down(mouse)end end)
- mouse.KeyUp:connect(function(k) if k:lower()=="q"then onButton1Up(mouse)end end)
- end
- onSelected(game.Players.LocalPlayer:GetMouse())
- end)
- local flytoggle = false
- -- FLY SCRIPT BY RGEENEUS
- -- The following code should be in a local script.
- -- Only works on PC, not xbox or mobile. I do not have devices to test on.
- -- Call the start fly function AFTER the character exists to fly. The function does not run if there is no character.
- local speed = 60 -- This is the fly speed. Change it to whatever you like. The variable can be changed while running
- local c
- local h
- local bv
- local bav
- local cam
- local flying
- local p = game.Players.LocalPlayer
- local buttons = {W = false, S = false, A = false, D = false, Moving = false}
- local startFly = function () -- Call this function to begin flying
- if not p.Character or not p.Character.Head or flying then return end
- c = p.Character
- h = c.Humanoid
- h.PlatformStand = true
- cam = workspace:WaitForChild('Camera')
- bv = Instance.new("BodyVelocity")
- bav = Instance.new("BodyAngularVelocity")
- bv.Velocity, bv.MaxForce, bv.P = Vector3.new(0, 0, 0), Vector3.new(10000, 10000, 10000), 1000
- bav.AngularVelocity, bav.MaxTorque, bav.P = Vector3.new(0, 0, 0), Vector3.new(10000, 10000, 10000), 1000
- bv.Parent = c.Head
- bav.Parent = c.Head
- flying = true
- h.Died:connect(function() flying = false end)
- end
- local endFly = function () -- Call this function to stop flying
- if not p.Character or not flying then return end
- h.PlatformStand = false
- bv:Destroy()
- bav:Destroy()
- flying = false
- end
- game:GetService("UserInputService").InputBegan:connect(function (input, GPE)
- if GPE then return end
- for i, e in pairs(buttons) do
- if i ~= "Moving" and input.KeyCode == Enum.KeyCode[i] then
- buttons[i] = true
- buttons.Moving = true
- end
- end
- end)
- game:GetService("UserInputService").InputEnded:connect(function (input, GPE)
- if GPE then return end
- local a = false
- for i, e in pairs(buttons) do
- if i ~= "Moving" then
- if input.KeyCode == Enum.KeyCode[i] then
- buttons[i] = false
- end
- if buttons[i] then a = true end
- end
- end
- buttons.Moving = a
- end)
- local setVec = function (vec)
- return vec * (speed / vec.Magnitude)
- end
- game:GetService("RunService").Heartbeat:connect(function (step) -- The actual fly function, called every frame
- if flying and c and c.PrimaryPart then
- local p = c.PrimaryPart.Position
- local cf = cam.CFrame
- local ax, ay, az = cf:toEulerAnglesXYZ()
- c:SetPrimaryPartCFrame(CFrame.new(p.x, p.y, p.z) * CFrame.Angles(ax, ay, az))
- if buttons.Moving then
- local t = Vector3.new()
- if buttons.W then t = t + (setVec(cf.lookVector)) end
- if buttons.S then t = t - (setVec(cf.lookVector)) end
- if buttons.A then t = t - (setVec(cf.rightVector)) end
- if buttons.D then t = t + (setVec(cf.rightVector)) end
- c:TranslateBy(t * step)
- end
- end
- end)
- function flytogl()
- if flytoggle == true then
- flytoggle = false
- fly.Text = "Fly off"
- else
- flytoggle = true
- fly.Text = "Fly on"
- startFly()
- repeat
- wait(0.001)
- until flytoggle == false
- endFly()
- end
- end
- fly.MouseButton1Down:connect(flytogl)
- eastside.MouseButton1Down:connect(function()
- game.ReplicatedStorage.places:FindFirstChild("RB Westlake Park").Value = 591582661
- print 'worked';
- end)
- westside.MouseButton1Down:connect(function()
- game.ReplicatedStorage.places:FindFirstChild("RB Eastside Park").Value = 593223204
- print 'worked';
- end)
- playsound.MouseButton1Down:connect(function()
- local sound = Instance.new("Sound")
- local id = ID.Text
- sound.Parent = game.Workspace
- sound.SoundId = "rbxassetid://"..id
- sound.Volume = 1
- wait(1)
- sound:Play()
- print "played"
- end)
- noclip.MouseButton1Down:connect(function()
- game:getService("RunService"):BindToRenderStep("",0,function()
- if not game.Players.LocalPlayer.Character:findFirstChildOfClass("Humanoid") then return end
- if game:getService("UserInputService"):IsKeyDown(Enum.KeyCode.L) then
- game.Players.LocalPlayer.Character:findFirstChildOfClass("Humanoid"):ChangeState(11)
- end
- end)
- end)
- clicktp.MouseButton1Down:connect(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)
- statchange.MouseButton1Down:connect(function()
- --[[
- Name: RB_statchange.lua
- Author: Vail#8531
- Desc: Yes, you can edit this.
- ]]
- for i,v in next, debug.getregistry() do
- if type(v) == 'function' then
- local s, yo = pcall(function() return debug.getupvalues(v) end)
- if yo and type(yo) == 'table' then
- if yo.Attributes then
- local hi = yo.Attributes;
- hi.freethrow = math.huge;
- hi.postscorer = math.huge;
- hi.ballspeed = math.huge;
- hi.jump = 50;
- hi.steal = math.huge;
- hi.shotcontest = 0;
- hi["2pointer"] = math.huge;
- hi["3pointer"] = math.huge;
- hi.passing = math.huge;
- hi.layup = math.huge;
- hi.strength = math.huge;
- hi.dunk = math.huge;
- hi.speed = math.huge;
- hi.handles = math.huge;
- hi.movingshot = math.huge;
- hi.defense = math.huge;
- hi.stamina = math.huge;
- end;
- end;
- end;
- end;
- print 'worked'
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement