Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local getgoldactive = false
- local MainGUI = Instance.new("ScreenGui")
- local MainFrame = Instance.new("Frame")
- local Gold = Instance.new("TextButton")
- MainGUI.Name = "MainGUI"
- MainGUI.Parent = game.CoreGui
- local MainCORE = game.CoreGui["MainGUI"]
- MainFrame.Name = "MainFrame"
- MainFrame.Parent = MainGUI
- MainFrame.BackgroundColor3 = Color3.new(0.5, 0.5, 0.5)
- MainFrame.BackgroundTransparency = 0
- MainFrame.BorderColor3 = Color3.new(0.1, 0.1, 0.1)
- MainFrame.Active = true
- MainFrame.Selectable = true
- MainFrame.Draggable = true
- MainFrame.Position = UDim2.new(0, 5, 0.75, 0)
- MainFrame.Size = UDim2.new(0, 120, 0, 45)
- MainFrame.Visible = true
- Gold.Name = "Gold"
- Gold.Parent = MainFrame
- Gold.BackgroundColor3 = Color3.new(0, 0, 0)
- Gold.BorderColor3 = Color3.new(0.1, 0.1, 0.1)
- Gold.Position = UDim2.new(0, 10, 0, 10)
- Gold.Size = UDim2.new(0, 100, 0, 25)
- Gold.Font = Enum.Font.Fantasy
- Gold.TextColor3 = Color3.new(1, 1, 1)
- Gold.Text = "GET GOLD"
- Gold.TextSize = 17
- Gold.TextWrapped = true
- Gold.MouseButton1Click:connect(function()
- function round(num, numDecimalPlaces)
- local mult = 10^(numDecimalPlaces or 0)
- return math.floor(num * mult + 0.5) / mult
- end
- if getgoldactive ~= true then
- getgoldactive = true
- Gold.BackgroundColor3 = Color3.new(0, 0.5, 0)
- Gold.Text = "STOP GOLD"
- local LocationX = round(game.Players.LocalPlayer.Character.HumanoidRootPart.Position.x, 3)
- local LocationY = round(game.Players.LocalPlayer.Character.HumanoidRootPart.Position.y, 3)
- local LocationZ = round(game.Players.LocalPlayer.Character.HumanoidRootPart.Position.z, 3)
- print("Location is: " ..LocationX.. ", " ..LocationY.. ", " ..LocationZ)
- while getgoldactive do
- local x = 50
- local y = 50
- local waittime = 0.09
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,1360)
- wait(waittime)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,1606)
- wait(waittime)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,2110)
- wait(waittime)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,2356)
- wait(waittime)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,2860)
- wait(waittime)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,3610)
- wait(waittime)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,3856)
- wait(waittime)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,4360)
- wait(waittime)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,4606)
- wait(waittime)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,5111)
- wait(waittime)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,5356)
- wait(waittime)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,5860)
- wait(waittime)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,6106)
- wait(waittime)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,6610)
- wait(waittime)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,6857)
- wait(waittime)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,7360)
- wait(waittime)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,7606)
- wait(waittime)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,8110)
- wait(waittime)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,8356)
- wait(waittime)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-60,-250,9523)
- wait(waittime*7)
- end
- else
- getgoldactive = false
- Gold.BackgroundColor3 = Color3.new(0.1, 0.1, 0.1)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(LocationX, LocationY, LocationZ)
- wait(1)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(LocationX, LocationY, LocationZ)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement