Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local Nav = Instance.new("Frame")
- local UICorner = Instance.new("UICorner")
- local Navbar = Instance.new("Frame")
- local UICorner_2 = Instance.new("UICorner")
- local Frame = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local TextButton = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Nav.Name = "Nav"
- Nav.Parent = ScreenGui
- Nav.BackgroundColor3 = Color3.fromRGB(0, 255, 127)
- Nav.Position = UDim2.new(0.263157904, 0, 0.380582511, 0)
- Nav.Size = UDim2.new(0, 232, 0, 216)
- Nav.ZIndex = 0
- UICorner.Parent = Nav
- Navbar.Name = "Nav-bar"
- Navbar.Parent = Nav
- Navbar.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
- Navbar.Size = UDim2.new(0, 232, 0, 38)
- Navbar.ZIndex = 5
- UICorner_2.Parent = Navbar
- Frame.Parent = Navbar
- Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0, 0, 0.789473712, 0)
- Frame.Size = UDim2.new(0, 232, 0, 8)
- TextLabel.Parent = Navbar
- TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.BackgroundTransparency = 1.000
- TextLabel.Size = UDim2.new(0, 232, 0, 30)
- TextLabel.Font = Enum.Font.Arcade
- TextLabel.Text = "FistikYilmaz's Admin Simulator GUI"
- TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14.000
- TextLabel.TextWrapped = true
- TextButton.Parent = Nav
- TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextButton.Position = UDim2.new(0.068965517, 0, 0.240740716, 0)
- TextButton.Size = UDim2.new(0, 200, 0, 50)
- TextButton.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
- TextButton.Font = Enum.Font.Arcade
- TextButton.Text = "Start AutoFarm"
- TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextButton.TextSize = 14.000
- TextButton.MouseButton1Click:Connect(function()
- for i=1, 1000000 do
- local Event = game:GetService("ReplicatedStorage").Remotes.Lift
- Event:FireServer()
- wait(0,001)
- end
- end)
- -- Scripts:
- local function JUWV_fake_script() -- Nav.Drag
- local script = Instance.new('LocalScript', Nav)
- local UserInputService = game:GetService("UserInputService")
- local gui = script.Parent
- local dragging
- local dragInput
- local dragStart
- local startPos
- local function update(input)
- local delta = input.Position - dragStart
- gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
- end
- gui.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
- dragging = true
- dragStart = input.Position
- startPos = gui.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragging = false
- end
- end)
- end
- end)
- gui.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
- dragInput = input
- end
- end)
- UserInputService.InputChanged:Connect(function(input)
- if input == dragInput and dragging then
- update(input)
- end
- end)
- end
- coroutine.wrap(JUWV_fake_script)()
Add Comment
Please, Sign In to add comment