Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Game : https://www.roblox.com/games/3329474278
- Codded by : Keathunsar : https://github.com/dady172172/Roblox-Cheats : https://discord.gg/MhMB3c2CBn
- GUI Made by : xTheAlex14 : https://teppyboy.github.io/Mirrors/Documentations/Zypher_UI/zypher.wtf/docs/uilibdocs.html
- ]]--
- ---- vars ----
- kVars = {}
- kVars.WindowName = "Fishing Simulator GUI"
- kVars.placeID = 3329474278
- kVars.lp = game:GetService('Players').LocalPlayer
- kVars.vu = game:GetService('VirtualUser')
- kVars.uis = game:GetService('UserInputService')
- kVars.rs = game:GetService('ReplicatedStorage')
- kVars.humanoid = kVars.lp.Character:WaitForChild('Humanoid')
- kVars.hrp = kVars.lp.Character:WaitForChild('HumanoidRootPart')
- ---- check for correct game ----
- if kVars.placeID ~= game.PlaceId then
- warn("#### - This Script is not for this game. - ####")
- script:Destroy()
- return
- end
- ---- destroy old gui if exists ----
- if game:GetService("CoreGui"):FindFirstChild(kVars.WindowName) then
- game:GetService("CoreGui"):FindFirstChild(kVars.WindowName):Destroy()
- wait(2)
- end
- ---- antiAFK ----
- kVars.connectAntiAfk = game:GetService('Players').LocalPlayer.Idled:connect(function()
- kVars.vu:CaptureController()
- kVars.vu:ClickButton2(Vector2.new())
- end)
- ---- gui build ----
- local library = loadstring(game:HttpGet("https://raw.githubusercontent.com/teppyboy/RbxScripts/master/Misc/UI_Libraries/Zypher/Library.lua"))()
- local Window = library:CreateMain({
- projName = kVars.WindowName,
- Resizable = true,
- MinSize = UDim2.new(0,400,0,400),
- MaxSize = UDim2.new(0,750,0,500),
- })
- local pageMain = Window:CreateCategory("Main")
- local sectionFarm = pageMain:CreateSection("Farm")
- local pageTeleport = Window:CreateCategory("Teleport")
- local sectionTPToPlayer = pageTeleport:CreateSection("Teleport To Player")
- local sectionTPLocation = pageTeleport:CreateSection("Location")
- local pageCharacter = Window:CreateCategory("Character")
- local sectionCharacter = pageCharacter:CreateSection("Options")
- local pageMisc = Window:CreateCategory("Misc")
- local sectionKeybinds = pageMisc:CreateSection("KeyBinds")
- local sectionWorld = pageMisc:CreateSection("World Options")
- local sectionMisc = pageMisc:CreateSection("Options")
- local pageCredits = Window:CreateCategory("Credits")
- local sectionCreditsKeath = pageCredits:CreateSection("Coded by : Keathunsar")
- local sectionCreditsAlex = pageCredits:CreateSection("UI-Lib by : xTheAlex14")
- ----========== page main ==========----
- ---- Farm ----
- sectionFarm:Create("Toggle", "Cast",function(bool)
- kVars.boolCast = bool
- if bool then
- fCast()
- end
- end,{default = kVars.boolCast})
- function fCast()
- spawn(function()
- while kVars.boolCast do
- wait()
- kVars.rs.Connections.FishingCast:InvokeServer()
- end
- end)
- end
- sectionFarm:Create("Toggle", "Sell",function(bool)
- kVars.boolSell = bool
- if bool then
- fSell()
- end
- end,{default = kVars.boolSell})
- function fSell()
- spawn(function()
- while kVars.boolSell do
- wait()
- kVars.rs.Connections.FishingSellAll:InvokeServer()
- end
- end)
- end
- sectionFarm:Create("Toggle", "Bait",function(bool)
- kVars.boolBait = bool
- if bool then
- fBait()
- end
- end,{default = kVars.boolBait})
- function fBait()
- spawn(function()
- while kVars.boolBait do
- wait()
- local baitAmount = tonumber(string.match(kVars.lp.PlayerGui.ScreenGui.SideBait.Counter.text, "%d+"))
- if (baitAmount <= 2) then
- kVars.rs.Connections.FishingPurchaseBait:InvokeServer()
- end
- end
- end)
- end
- ----========== page teleport ==========----
- ---- section teleport to player ----
- kVars.SelectedTPToPlayer = kVars.lp.name
- sectionTPToPlayer:Create("TextBox", "Enter Users Name", function(value)
- kVars.SelectedTPToPlayer = value
- end,{text = "Enter Users Name"})
- sectionTPToPlayer:Create("Button", "Teleport To Player", function()
- for i,v in pairs(game.Players:GetPlayers()) do
- if kVars.SelectedTPToPlayer ~= nil and kVars.SelectedTPToPlayer ~= kVars.lp.name then
- if string.lower(v.DisplayName) == string.lower(kVars.SelectedTPToPlayer) then
- kVars.hrp.CFrame = v.Character.HumanoidRootPart.CFrame
- end
- end
- end
- end,{animated = true})
- ---- section teleport to location ----
- kVars.Locations = {
- {name = "Spawn", cf = CFrame.new(3.53067803, 23.0966682, -79.0282516)},
- {name = "Sell Area", cf = CFrame.new(159, 23, -74)},
- {name = "Rod Shop", cf = CFrame.new(59, 24, 3)},
- {name = "Bait Shop", cf = CFrame.new(112, 24, 4)},
- {name = "Backpack Shop", cf = CFrame.new(166, 24, 4)},
- {name = "Fish Spot", cf = CFrame.new(4, 23, -154)},
- {name = "Fish Spot 2", cf = CFrame.new(84, 23, -111)},
- {name = "Fish Spot 3", cf = CFrame.new(212, 23, -196)},
- {name = "Fish Spot 4", cf = CFrame.new(384, 23, -234)}
- }
- for i,v in pairs(kVars.Locations) do
- sectionTPLocation:Create("Button", v.name, function()
- kVars.hrp.CFrame = v.cf
- end,{animated = true})
- end
- ----========== page character ==========----
- ---- section Character ----
- kVars.walkSpeed = kVars.humanoid.WalkSpeed
- sectionCharacter:Create("Slider", "Walk Speed", function(value)
- kVars.walkSpeed = value
- kVars.humanoid.WalkSpeed = value
- end,{min = 16, max = 500, default = kVars.humanoid.walkSpeed, precise = false, changablevalue = true})
- kVars.jumpHeight = kVars.humanoid.JumpPower
- sectionCharacter:Create("Slider", "Jump Height", function(value)
- kVars.jumpHeight = value
- kVars.humanoid.JumpPower = value
- end,{min = 7.2, max = 500, default = kVars.humanoid.jumpHeight, precise = true, changablevalue = true})
- kVars.plrAdded = game.Players.LocalPlayer.CharacterAdded:Connect(function(child)
- kVars.humanoid = kVars.lp.Character:WaitForChild('Humanoid', 999999)
- kVars.hrp = kVars.lp.Character:WaitForChild('HumanoidRootPart', 999999)
- task.wait(1)
- kVars.humanoid.WalkSpeed = kVars.walkSpeed
- kVars.humanoid.JumpPower = kVars.jumpHeight
- end)
- kVars.boolInfJump = false
- sectionCharacter:Create("Toggle", "Inf Jump",function(bool)
- kVars.boolInfJump = bool
- end,{default = kVars.boolInfJump})
- kVars.connectJumpRequest = game:GetService("UserInputService").JumpRequest:Connect(function()
- if kVars.boolInfJump then
- kVars.humanoid:ChangeState("Jumping")
- end
- end)
- ----========== page misc ==========----
- ---- section keybinds ----
- kVars.OpenCloseMenuKey = Enum.KeyCode.F5
- sectionKeybinds:Create("KeyBind", "Open Close Menu", function(key)
- kVars.OpenCloseMenuKey = key
- end,{default = kVars.OpenCloseMenuKey})
- kVars.connectInputBegan = kVars.uis.InputBegan:Connect(function(key)
- if key.UserInputType == Enum.UserInputType.Keyboard and key.KeyCode == kVars.OpenCloseMenuKey then
- if game:GetService("CoreGui"):FindFirstChild(kVars.WindowName).Enabled then
- game:GetService("CoreGui"):FindFirstChild(kVars.WindowName).Enabled = false
- else
- game:GetService("CoreGui"):FindFirstChild(kVars.WindowName).Enabled = true
- end
- end
- end)
- ---- section world ----
- if game.Lighting.FogStart < 100 then
- kVars.boolFog = true
- else
- kVars.boolFog = false
- end
- sectionWorld:Create("Toggle", "Fog",function(bool)
- kVars.boolFog = bool
- if bool then
- game.Lighting.FogStart = 0
- else
- game.Lighting.FogStart = math.huge
- end
- end,{default = kVars.boolFog})
- ---- sections options ----
- sectionMisc:Create("Button", "Destroy this GUI",function()
- game:GetService("CoreGui"):FindFirstChild(kVars.WindowName):Destroy()
- end,{animated = true})
- sectionMisc:Create("Toggle", "Purchase Prompt",function(bool)
- game:GetService("CoreGui").PurchasePrompt.Enabled = bool
- end,{default = game:GetService("CoreGui").PurchasePrompt.Enabled})
- kVars.Esp = {}
- kVars.boolEsp = false
- sectionMisc:Create("Toggle", "Player ESP",function(bool)
- kVars.boolEsp = bool
- if not bool then
- for i,v in pairs(game.Players:GetPlayers()) do
- if kVars.Esp[v] then
- kVars.Esp[v].Drawing:Remove()
- end
- end
- kVars.Esp = {}
- else
- fEsp()
- end
- end,{default = kVars.boolEsp})
- kVars.plrRemovingConnect = game:GetService("Players").PlayerRemoving:Connect(function(player)
- if kVars.Esp[player] then
- kVars.Esp[player].Drawing:Remove()
- end
- end)
- function fEsp()
- spawn(function()
- while kVars.boolEsp do
- task.wait()
- pcall(function()
- for i,v in pairs(game.Players:GetPlayers()) do
- if kVars.boolEsp == false then break end
- if kVars.lp.name ~= v.name and kVars.boolEsp then
- if not kVars.Esp[v] then
- kVars.Esp[v] = {}
- kVars.Esp[v].Drawing = Drawing.new("Text")
- kVars.Esp[v].Drawing.Visible = false
- kVars.Esp[v].Drawing.Size = 16
- kVars.Esp[v].Drawing.Color = Color3.fromRGB(0, 255, 60)
- kVars.Esp[v].Drawing.Transparency = 1
- kVars.Esp[v].Drawing.ZIndex = 1
- kVars.Esp[v].Drawing.Center = true
- kVars.Esp[v].Drawing.Font = 3
- kVars.Esp[v].Drawing.Outline = true
- kVars.Esp[v].Drawing.OutlineColor = Color3.fromRGB(0,0,0)
- kVars.Esp[v].Drawing.Text = v.name
- end
- if v.Character:FindFirstChild("Head") then
- local vector, onScreen = game.Workspace.CurrentCamera:WorldToScreenPoint(game.Players[v.name].Character.Head.Position)
- if onScreen then
- kVars.Esp[v].Drawing.Visible = true
- kVars.Esp[v].Drawing.Position = Vector2.new(vector.x, vector.y)
- else
- kVars.Esp[v].Drawing.Visible = false
- end
- end
- end
- end
- end)
- end
- end)
- end
- ----========== page credits ==========----
- ---- keaths ----
- sectionCreditsKeath:Create("Button", "https://github.com/dady172172/Roblox-Cheats", function()
- setclipboard('https://github.com/dady172172/Roblox-Cheats')
- end,{animated = true})
- sectionCreditsKeath:Create("Button", "https://discord.gg/MhMB3c2CBn", function()
- setclipboard('https://discord.gg/MhMB3c2CBn')
- end,{animated = true})
- ---- alex ----
- sectionCreditsAlex:Create("Button", "https://teppyboy.github.io/", function()
- setclipboard('https://teppyboy.github.io/Mirrors/Documentations/Zypher_UI/zypher.wtf/docs/main.html')
- end,{animated = true})
- ----========== set window size after load ==========----
- game:GetService("CoreGui"):FindFirstChild(kVars.WindowName).Motherframe.Size = UDim2.new(0, 495, 0, 400)
- ----========== delete script if re-injecting ==========----
- kVars.cR = game:GetService("CoreGui").ChildRemoved:Connect(function(child)
- if child.name == kVars.WindowName then
- for i,v in pairs(kVars) do
- if type(v) == "boolean" then
- kVars[i] = false
- end
- end
- kVars.connectAntiAfk:Disconnect()
- kVars.connectInputBegan:Disconnect()
- kVars.connectJumpRequest:Disconnect()
- kVars.plrAdded:Disconnect()
- kVars.plrRemovingConnect:Disconnect()
- wait(1)
- script:Destroy()
- kVars.cR:Disconnect()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement