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 Frame = Instance.new("Frame")
- local UICorner = Instance.new("UICorner")
- local TextLabel = Instance.new("TextLabel")
- local TextLabel_2 = Instance.new("TextLabel")
- local SpeedGui = Instance.new("TextButton")
- local UICorner_2 = Instance.new("UICorner")
- local Btoolsnotfe = Instance.new("TextButton")
- local UICorner_3 = Instance.new("UICorner")
- local FlyGui = Instance.new("TextButton")
- local UICorner_4 = Instance.new("UICorner")
- local Coinfarm = Instance.new("TextButton")
- local UICorner_5 = Instance.new("UICorner")
- local ScreenGui_2 = Instance.new("ScreenGui")
- local Click = Instance.new("TextButton")
- local UICorner_6 = Instance.new("UICorner")
- local Reset = Instance.new("TextButton")
- local UICorner_7 = Instance.new("UICorner")
- local Counter = Instance.new("TextLabel")
- local ScreenGui_3 = Instance.new("ScreenGui")
- local Frame_2 = Instance.new("Frame")
- local TextButton = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- Frame.Position = UDim2.new(0.0693301931, 0, 0.122969836, 0)
- Frame.Size = UDim2.new(0, 220, 0, 341)
- Frame.Visible = false
- UICorner.Parent = Frame
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.BackgroundTransparency = 1.000
- TextLabel.Size = UDim2.new(0, 220, 0, 50)
- TextLabel.Font = Enum.Font.Nunito
- TextLabel.Text = "Wolf or other Gui "
- TextLabel.TextColor3 = Color3.fromRGB(255, 255, 127)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14.000
- TextLabel.TextWrapped = true
- TextLabel_2.Parent = Frame
- TextLabel_2.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel_2.BackgroundTransparency = 1.000
- TextLabel_2.Position = UDim2.new(0.0454545468, 0, 0.853372455, 0)
- TextLabel_2.Size = UDim2.new(0, 200, 0, 50)
- TextLabel_2.Font = Enum.Font.SourceSans
- TextLabel_2.Text = "Created by exe_crusader"
- TextLabel_2.TextColor3 = Color3.fromRGB(170, 0, 0)
- TextLabel_2.TextScaled = true
- TextLabel_2.TextSize = 14.000
- TextLabel_2.TextWrapped = true
- SpeedGui.Name = "Speed Gui"
- SpeedGui.Parent = Frame
- SpeedGui.BackgroundColor3 = Color3.fromRGB(172, 255, 134)
- SpeedGui.Position = UDim2.new(0.0454545468, 0, 0.146627575, 0)
- SpeedGui.Size = UDim2.new(0, 200, 0, 43)
- SpeedGui.Font = Enum.Font.SourceSans
- SpeedGui.Text = "Speed Gui"
- SpeedGui.TextColor3 = Color3.fromRGB(0, 0, 0)
- SpeedGui.TextSize = 23.000
- SpeedGui.TextWrapped = true
- UICorner_2.Parent = SpeedGui
- Btoolsnotfe.Name = "Btools (not fe)"
- Btoolsnotfe.Parent = Frame
- Btoolsnotfe.BackgroundColor3 = Color3.fromRGB(172, 255, 134)
- Btoolsnotfe.Position = UDim2.new(0.0454545468, 0, 0.322580636, 0)
- Btoolsnotfe.Size = UDim2.new(0, 200, 0, 43)
- Btoolsnotfe.Font = Enum.Font.SourceSans
- Btoolsnotfe.Text = "Btools (not fe)"
- Btoolsnotfe.TextColor3 = Color3.fromRGB(0, 0, 0)
- Btoolsnotfe.TextSize = 22.000
- Btoolsnotfe.TextWrapped = true
- UICorner_3.Parent = Btoolsnotfe
- FlyGui.Name = "Fly Gui"
- FlyGui.Parent = Frame
- FlyGui.BackgroundColor3 = Color3.fromRGB(172, 255, 134)
- FlyGui.Position = UDim2.new(0.0454545468, 0, 0.501466274, 0)
- FlyGui.Size = UDim2.new(0, 200, 0, 43)
- FlyGui.Font = Enum.Font.SourceSans
- FlyGui.Text = "Fly Gui"
- FlyGui.TextColor3 = Color3.fromRGB(0, 0, 0)
- FlyGui.TextSize = 25.000
- UICorner_4.Parent = FlyGui
- Coinfarm.Name = "Coin farm"
- Coinfarm.Parent = Frame
- Coinfarm.BackgroundColor3 = Color3.fromRGB(172, 255, 134)
- Coinfarm.Position = UDim2.new(0.0454545468, 0, 0.680351913, 0)
- Coinfarm.Size = UDim2.new(0, 200, 0, 43)
- Coinfarm.Font = Enum.Font.SourceSans
- Coinfarm.Text = "Coin Farm"
- Coinfarm.TextColor3 = Color3.fromRGB(0, 0, 0)
- Coinfarm.TextSize = 25.000
- UICorner_5.Parent = Coinfarm
- ScreenGui_2.Parent = ScreenGui
- ScreenGui_2.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Click.Name = "Click "
- Click.Parent = ScreenGui_2
- Click.BackgroundColor3 = Color3.fromRGB(85, 247, 255)
- Click.Position = UDim2.new(0.0472392738, 0, 0.452574551, 0)
- Click.Size = UDim2.new(0, 168, 0, 31)
- Click.Font = Enum.Font.PatrickHand
- Click.Text = "Click"
- Click.TextColor3 = Color3.fromRGB(0, 0, 0)
- Click.TextScaled = true
- Click.TextSize = 14.000
- Click.TextWrapped = true
- UICorner_6.Parent = Click
- Reset.Name = "Reset"
- Reset.Parent = ScreenGui_2
- Reset.BackgroundColor3 = Color3.fromRGB(255, 6, 43)
- Reset.BorderSizePixel = 0
- Reset.Position = UDim2.new(0.0466666706, 0, 0.298103034, 0)
- Reset.Size = UDim2.new(0, 176, 0, 27)
- Reset.Font = Enum.Font.RobotoCondensed
- Reset.Text = "Reset"
- Reset.TextColor3 = Color3.fromRGB(0, 0, 0)
- Reset.TextScaled = true
- Reset.TextSize = 14.000
- Reset.TextWrapped = true
- UICorner_7.Parent = Reset
- Counter.Name = "Counter"
- Counter.Parent = ScreenGui_2
- Counter.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- Counter.BorderSizePixel = 0
- Counter.Position = UDim2.new(0.388571411, 0, 0.121951237, 0)
- Counter.Size = UDim2.new(0, 177, 0, 30)
- Counter.Font = Enum.Font.Oswald
- Counter.Text = "0"
- Counter.TextColor3 = Color3.fromRGB(255, 255, 255)
- Counter.TextScaled = true
- Counter.TextSize = 14.000
- Counter.TextWrapped = true
- ScreenGui_3.Parent = ScreenGui
- ScreenGui_3.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Frame_2.Parent = ScreenGui_3
- Frame_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Frame_2.Position = UDim2.new(0.122262776, 0, 0.243902445, 0)
- Frame_2.Size = UDim2.new(0, 178, 0, 48)
- Frame_2.Visible = false
- TextButton.Parent = Frame_2
- TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextButton.Position = UDim2.new(-0.061797753, 0, 1, 0)
- TextButton.Size = UDim2.new(0, 200, 0, 50)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.Text = "test"
- TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextButton.TextScaled = true
- TextButton.TextSize = 14.000
- TextButton.TextWrapped = true
- -- Scripts:
- local function AXTUSAV_fake_script() -- Frame.Smooth GUI Dragging
- local script = Instance.new('LocalScript', Frame)
- local UserInputService = game:GetService("UserInputService")
- local runService = (game:GetService("RunService"));
- local gui = script.Parent
- local dragging
- local dragInput
- local dragStart
- local startPos
- function Lerp(a, b, m)
- return a + (b - a) * m
- end;
- local lastMousePos
- local lastGoalPos
- local DRAG_SPEED = (8); -- // The speed of the UI darg.
- function Update(dt)
- if not (startPos) then return end;
- if not (dragging) and (lastGoalPos) then
- gui.Position = UDim2.new(startPos.X.Scale, Lerp(gui.Position.X.Offset, lastGoalPos.X.Offset, dt * DRAG_SPEED), startPos.Y.Scale, Lerp(gui.Position.Y.Offset, lastGoalPos.Y.Offset, dt * DRAG_SPEED))
- return
- end;
- local delta = (lastMousePos - UserInputService:GetMouseLocation())
- local xGoal = (startPos.X.Offset - delta.X);
- local yGoal = (startPos.Y.Offset - delta.Y);
- lastGoalPos = UDim2.new(startPos.X.Scale, xGoal, startPos.Y.Scale, yGoal)
- gui.Position = UDim2.new(startPos.X.Scale, Lerp(gui.Position.X.Offset, xGoal, dt * DRAG_SPEED), startPos.Y.Scale, Lerp(gui.Position.Y.Offset, yGoal, dt * DRAG_SPEED))
- 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
- lastMousePos = UserInputService:GetMouseLocation()
- 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)
- runService.Heartbeat:Connect(Update)
- end
- coroutine.wrap(AXTUSAV_fake_script)()
- local function IDSCOAY_fake_script() -- SpeedGui.LocalScript
- local script = Instance.new('LocalScript', SpeedGui)
- end
- coroutine.wrap(IDSCOAY_fake_script)()
- local function EFQKWXJ_fake_script() -- Click.LocalScript
- local script = Instance.new('LocalScript', Click)
- script.Parent.MouseButton1Click:Connect(function(plr)
- if script.Parent.MouseButton1Click then
- script.Parent.Parent.Counter.Value.Value = script.Parent.Parent.Counter.Value.Value +1
- plr.leaderstats.Points.Value = plr.leaderstats.Points.Value + 1 --Change points to your currency
- end
- end)
- end
- coroutine.wrap(EFQKWXJ_fake_script)()
- local function ZXBYB_fake_script() -- Reset.LocalScript
- local script = Instance.new('LocalScript', Reset)
- script.Parent.MouseButton1Click:Connect(function()
- script.Parent.Parent.Counter.Value.Value = 0
- end)
- end
- coroutine.wrap(ZXBYB_fake_script)()
- local function PTIHJC_fake_script() -- Counter.LocalScript
- local script = Instance.new('LocalScript', Counter)
- function updatevalue()
- script.Parent.Text = script.Parent.Value.Value
- end
- script.Parent.Value.Changed:Connect(updatevalue)
- end
- coroutine.wrap(PTIHJC_fake_script)()
- local function SFCKVU_fake_script() -- TextButton.LocalScript
- local script = Instance.new('LocalScript', TextButton)
- script.Parent.MouseButton1Click:Connect(function()
- end)
- end
- coroutine.wrap(SFCKVU_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment