-- Gui to Lua -- Version: 3.2 -- Instances: local ScreenGui = Instance.new("ScreenGui") local Frame = Instance.new("Frame") local TextLabel = Instance.new("TextLabel") local TextButton = Instance.new("TextButton") local TextButton_2 = Instance.new("TextButton") --Properties: ScreenGui.Parent = game.CoreGui ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling Frame.Parent = ScreenGui Frame.BackgroundColor3 = Color3.fromRGB(54, 54, 54) Frame.BackgroundTransparency = 0.500 Frame.BorderColor3 = Color3.fromRGB(0, 0, 0) Frame.BorderSizePixel = 0 Frame.Position = UDim2.new(0.226345837, 0, 0.117735445, 0) Frame.Size = UDim2.new(0, 254, 0, 240) 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.106299214, 0, 0, 0) TextLabel.Size = UDim2.new(0, 200, 0, 26) TextLabel.Font = Enum.Font.SourceSans TextLabel.Text = "Risky Haul Raper" TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0) TextLabel.TextSize = 14.000 TextButton.Parent = Frame TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255) TextButton.BorderColor3 = Color3.fromRGB(0, 0, 0) TextButton.BorderSizePixel = 0 TextButton.Position = UDim2.new(0.106299214, 0, 0.13333334, 0) TextButton.Size = UDim2.new(0, 200, 0, 50) TextButton.Font = Enum.Font.SourceSans TextButton.Text = "Give Stud Bucks" TextButton.TextColor3 = Color3.fromRGB(0, 0, 0) TextButton.TextSize = 14.000 TextButton_2.Parent = Frame TextButton_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255) TextButton_2.BorderColor3 = Color3.fromRGB(0, 0, 0) TextButton_2.BorderSizePixel = 0 TextButton_2.Position = UDim2.new(0.106299214, 0, 0.395833343, 0) TextButton_2.Size = UDim2.new(0, 200, 0, 50) TextButton_2.Font = Enum.Font.SourceSans TextButton_2.Text = "Give Tokens" TextButton_2.TextColor3 = Color3.fromRGB(0, 0, 0) TextButton_2.TextSize = 14.000 -- Scripts: local function JYDD_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(JYDD_fake_script)() local function LOPZD_fake_script() -- TextButton.LocalScript local script = Instance.new('LocalScript', TextButton) local button = script.Parent button.MouseButton1Click:Connect(function() local args = { 820, 4, "Playtime", 1 } local replicatedStorage = game:GetService("ReplicatedStorage") local remoteFunc = replicatedStorage:WaitForChild("RemoteFunctions"):WaitForChild("Rewards"):WaitForChild("GiveReward") remoteFunc:InvokeServer(unpack(args)) end) end coroutine.wrap(LOPZD_fake_script)() local function RNKA_fake_script() -- TextButton_2.LocalScript local script = Instance.new('LocalScript', TextButton_2) local button = script.Parent button.MouseButton1Click:Connect(function() local args = { 866, 3, "Playtime", 1 } local replicatedStorage = game:GetService("ReplicatedStorage") local remoteFunc = replicatedStorage:WaitForChild("RemoteFunctions"):WaitForChild("Rewards"):WaitForChild("GiveReward") remoteFunc:InvokeServer(unpack(args)) end) end coroutine.wrap(RNKA_fake_script)()