local uis = game:GetService("UserInputService") local ScreenGui = Instance.new("ScreenGui") local Frame = Instance.new("Frame") local TextLabel = Instance.new("TextLabel") local TextLabel_2 = Instance.new("TextLabel") local status = Instance.new("TextLabel") local presskey = Instance.new("TextLabel") ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling ScreenGui.ResetOnSpawn = false Frame.Parent = ScreenGui Frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) Frame.BackgroundTransparency = 0.500 Frame.BorderColor3 = Color3.fromRGB(0, 0, 0) Frame.BorderSizePixel = 0 Frame.Position = UDim2.new(0.824345171, 0, 0.47506237, 0) Frame.Size = UDim2.new(0, 228, 0, 101) TextLabel.Parent = Frame TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255) TextLabel.BackgroundTransparency = 1.000 TextLabel.BorderColor3 = Color3.fromRGB(0, 0, 0) TextLabel.BorderSizePixel = 0 TextLabel.Position = UDim2.new(0, 0, 0.198019803, 0) TextLabel.Size = UDim2.new(0, 65, 0, 32) TextLabel.Font = Enum.Font.SourceSans TextLabel.Text = "STATUS: " TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255) TextLabel.TextSize = 14.000 TextLabel_2.Parent = Frame TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255) TextLabel_2.BackgroundTransparency = 1.000 TextLabel_2.BorderColor3 = Color3.fromRGB(0, 0, 0) TextLabel_2.BorderSizePixel = 0 TextLabel_2.Position = UDim2.new(0.0263157785, 0, 0, 0) TextLabel_2.Size = UDim2.new(0, 215, 0, 32) TextLabel_2.Font = Enum.Font.SourceSans TextLabel_2.Text = "BeachBall AutoFarm by mikusdev" TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255) TextLabel_2.TextSize = 14.000 status.Name = "status" status.Parent = Frame status.BackgroundColor3 = Color3.fromRGB(255, 255, 255) status.BackgroundTransparency = 1.000 status.BorderColor3 = Color3.fromRGB(0, 0, 0) status.BorderSizePixel = 0 status.Position = UDim2.new(0.285087705, 0, 0.198019803, 0) status.Size = UDim2.new(0, 156, 0, 32) status.Font = Enum.Font.SourceSans status.Text = "Turned Off" status.TextColor3 = Color3.fromRGB(255, 255, 255) status.TextSize = 14.000 status.TextXAlignment = Enum.TextXAlignment.Left presskey.Name = "presskey" presskey.Parent = Frame presskey.BackgroundColor3 = Color3.fromRGB(255, 255, 255) presskey.BackgroundTransparency = 1.000 presskey.BorderColor3 = Color3.fromRGB(0, 0, 0) presskey.BorderSizePixel = 0 presskey.Position = UDim2.new(0.0263157785, 0, 0.594059408, 0) presskey.Size = UDim2.new(0, 215, 0, 32) presskey.Font = Enum.Font.SourceSans presskey.Text = "Press 'n' to turn on" presskey.TextColor3 = Color3.fromRGB(255, 255, 255) presskey.TextSize = 14.000 local isenabledingui = false local vu = game:GetService("VirtualUser") game:GetService("Players").LocalPlayer.Idled:connect(function() vu:Button2Down(Vector2.new(0,0),workspace.CurrentCamera.CFrame) wait(1) vu:Button2Up(Vector2.new(0,0),workspace.CurrentCamera.CFrame) end) local UIS = game:GetService("UserInputService") UIS.InputBegan:Connect(function(k) if k.KeyCode == Enum.KeyCode.N then presskey.Text = "Press 'm' to turn off" status.Text = "Launching..." isenabledingui = true end if k.KeyCode == Enum.KeyCode.M then presskey.Text = "Press 'n' to turn on" isenabledingui = false wait(5) status.Text = "Turned Off" end end) local waittime = 1.3 local isscriptrunnin = 0 local partcreated = true local floortp = CFrame.new(0, -35, 0) local Part = Instance.new("Part") Part.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.X, -50, game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.Z) Part.Anchored = true Part.Parent = game.Workspace print("PART CREATED!") status.Text = "Turned Off" presskey.Text = "Press 'n' to turn on" function teleportmodule(locationb) tweenService, tweenInfo = game:GetService("TweenService"), TweenInfo.new(1, Enum.EasingStyle.Linear) --Change Time repeat wait() until game:GetService("Players").LocalPlayer.Character.HumanoidRootPart status.Text = "Teleporting" tween = tweenService:Create(game:GetService("Players")["LocalPlayer"].Character.HumanoidRootPart, tweenInfo, {CFrame = CFrame.new(locationb)}) -- Change Teleport to Part tween:Play() wait(1.2) repeat wait() until game:GetService("Players").LocalPlayer.Character.HumanoidRootPart status.Text = "Hiding" tweenService, tweenInfo = game:GetService("TweenService"), TweenInfo.new(0.1, Enum.EasingStyle.Linear) --Change Time Part.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.X, -50, game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.Z) tween = tweenService:Create(game:GetService("Players")["LocalPlayer"].Character.HumanoidRootPart, tweenInfo, {CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.X, -35, game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.Z)}) -- Change Teleport to Part tween:Play() end game.Players.LocalPlayer.CharacterAdded:Connect(function(Player) isscriptrunnin = 0 wait(5) if (isscriptrunnin == 0) then main() end end) function main() print("SCRIPT INITIALIZED") repeat if (isenabledingui) then if (game.Workspace:FindFirstChild("Bank2")) then if (game.Workspace.Bank2:FindFirstChild("CoinContainer")) then if (game.Workspace.Bank2.CoinContainer:FindFirstChild("Coin_Server")) then if (game.Workspace.Bank2.CoinContainer.Coin_Server.CoinType.Value == "Coin") then game.Workspace.Bank2.CoinContainer.Coin_Server:Destroy() waittime = 0.01 else teleportmodule(game.Workspace.Bank2.CoinContainer.Coin_Server.Position) waittime = 1.3 end end end end if (game.Workspace:FindFirstChild("BioLab")) then if (game.Workspace.BioLab:FindFirstChild("CoinContainer")) then if (game.Workspace.BioLab.CoinContainer:FindFirstChild("Coin_Server")) then if (game.Workspace.BioLab.CoinContainer.Coin_Server.CoinType.Value == "Coin") then game.Workspace.BioLab.CoinContainer.Coin_Server:Destroy() waittime = 0.01 else teleportmodule(game.Workspace.BioLab.CoinContainer.Coin_Server.Position) waittime = 1.3 end end end end if (game.Workspace:FindFirstChild("Factory")) then if (game.Workspace.Factory:FindFirstChild("CoinContainer")) then if (game.Workspace.Factory.CoinContainer:FindFirstChild("Coin_Server")) then if (game.Workspace.Factory.CoinContainer.Coin_Server.CoinType.Value == "Coin") then game.Workspace.Factory.CoinContainer.Coin_Server:Destroy() waittime = 0.01 else teleportmodule(game.Workspace.Factory.CoinContainer.Coin_Server.Position) waittime = 1.3 end end end end if (game.Workspace:FindFirstChild("Hospital3")) then if (game.Workspace.Hospital3:FindFirstChild("CoinContainer")) then if (game.Workspace.Hospital3.CoinContainer:FindFirstChild("Coin_Server")) then if (game.Workspace.Hospital3.CoinContainer.Coin_Server.CoinType.Value == "Coin") then game.Workspace.Hospital3.CoinContainer.Coin_Server:Destroy() waittime = 0.01 else teleportmodule(game.Workspace.Hospital3.CoinContainer.Coin_Server.Position) waittime = 1.3 end end end end if (game.Workspace:FindFirstChild("Hotel")) then if (game.Workspace.Hotel:FindFirstChild("CoinContainer")) then if (game.Workspace.Hotel.CoinContainer:FindFirstChild("Coin_Server")) then if (game.Workspace.Hotel.CoinContainer.Coin_Server.CoinType.Value == "Coin") then game.Workspace.Hotel.CoinContainer.Coin_Server:Destroy() waittime = 0.01 else teleportmodule(game.Workspace.Hotel.CoinContainer.Coin_Server.Position) waittime = 1.3 end end end end if (game.Workspace:FindFirstChild("House2")) then if (game.Workspace.House2:FindFirstChild("CoinContainer")) then if (game.Workspace.House2.CoinContainer:FindFirstChild("Coin_Server")) then if (game.Workspace.House2.CoinContainer.Coin_Server.CoinType.Value == "Coin") then game.Workspace.House2.CoinContainer.Coin_Server:Destroy() waittime = 0.01 else teleportmodule(game.Workspace.House2.CoinContainer.Coin_Server.Position) waittime = 1.3 end end end end if (game.Workspace:FindFirstChild("Mansion2")) then if (game.Workspace.Mansion2:FindFirstChild("CoinContainer")) then if (game.Workspace.Mansion2.CoinContainer:FindFirstChild("Coin_Server")) then if (game.Workspace.Mansion2.CoinContainer.Coin_Server.CoinType.Value == "Coin") then game.Workspace.Mansion2.CoinContainer.Coin_Server:Destroy() waittime = 0.01 else teleportmodule(game.Workspace.Mansion2.CoinContainer.Coin_Server.Position) waittime = 1.3 end end end end if (game.Workspace:FindFirstChild("MilBase")) then if (game.Workspace.MilBase:FindFirstChild("CoinContainer")) then if (game.Workspace.MilBase.CoinContainer:FindFirstChild("Coin_Server")) then if (game.Workspace.MilBase.CoinContainer.Coin_Server.CoinType.Value == "Coin") then game.Workspace.MilBase.CoinContainer.Coin_Server:Destroy() waittime = 0.01 else teleportmodule(game.Workspace.MilBase.CoinContainer.Coin_Server.Position) waittime = 1.3 end end end end if (game.Workspace:FindFirstChild("nSOffice")) then if (game.Workspace.nSOffice:FindFirstChild("CoinContainer")) then if (game.Workspace.nSOffice.CoinContainer:FindFirstChild("Coin_Server")) then if (game.Workspace.nSOffice.CoinContainer.Coin_Server.CoinType.Value == "Coin") then game.Workspace.nSOffice.CoinContainer.Coin_Server:Destroy() waittime = 0.01 else teleportmodule(game.Workspace.nSOffice.CoinContainer.Coin_Server.Position) waittime = 1.3 end end end end if (game.Workspace:FindFirstChild("Office3")) then if (game.Workspace.Office3:FindFirstChild("CoinContainer")) then if (game.Workspace.Office3.CoinContainer:FindFirstChild("Coin_Server")) then if (game.Workspace.Office3.CoinContainer.Coin_Server.CoinType.Value == "Coin") then game.Workspace.Office3.CoinContainer.Coin_Server:Destroy() waittime = 0.01 else teleportmodule(game.Workspace.Office3.CoinContainer.Coin_Server.Position) waittime = 1.3 end end end end if (game.Workspace:FindFirstChild("PoliceStation")) then if (game.Workspace.PoliceStation:FindFirstChild("CoinContainer")) then if (game.Workspace.PoliceStation.CoinContainer:FindFirstChild("Coin_Server")) then if (game.Workspace.PoliceStation.CoinContainer.Coin_Server.CoinType.Value == "Coin") then game.Workspace.PoliceStation.CoinContainer.Coin_Server:Destroy() waittime = 0.01 else teleportmodule(game.Workspace.PoliceStation.CoinContainer.Coin_Server.Position) waittime = 1.3 end end end end if (game.Workspace:FindFirstChild("ResearchFacility")) then if (game.Workspace.ResearchFacility:FindFirstChild("CoinContainer")) then if (game.Workspace.ResearchFacility.CoinContainer:FindFirstChild("Coin_Server")) then if (game.Workspace.ResearchFacility.CoinContainer.Coin_Server.CoinType.Value == "Coin") then game.Workspace.ResearchFacility.CoinContainer.Coin_Server:Destroy() waittime = 0.01 else teleportmodule(game.Workspace.ResearchFacility.CoinContainer.Coin_Server.Position) waittime = 1.3 end end end end if (game.Workspace:FindFirstChild("Workplace")) then if (game.Workspace.Workplace:FindFirstChild("CoinContainer")) then if (game.Workspace.Workplace.CoinContainer:FindFirstChild("Coin_Server")) then if (game.Workspace.Workplace.CoinContainer.Coin_Server.CoinType.Value == "Coin") then game.Workspace.Workplace.CoinContainer.Coin_Server:Destroy() waittime = 0.01 else teleportmodule(game.Workspace.Workplace.CoinContainer.Coin_Server.Position) waittime = 1.3 end end end end isscriptrunnin = 1 status.Text = "Waiting" end wait(waittime) until (false) end main()