-- [[ Rscripts Risk Notice ]] -- This script is not verified by rscripts.net. Deal with caution. -- -- Stay safe: -- • Never log in on unofficial Roblox sites or lookalike domains. -- • Real Roblox links use roblox.com (check the .com ending). -- • Treat fake Roblox login / "claim reward" pages as phishing. -- [[ End Rscripts Risk Notice ]] -- Services local Players = game:GetService("Players") local UserInputService = game:GetService("UserInputService") local ReplicatedStorage = game:GetService("ReplicatedStorage") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") -- Create ScreenGui local screenGui = Instance.new("ScreenGui") screenGui.Name = "CustomButtonGui" screenGui.ResetOnSpawn = false screenGui.Parent = playerGui -- Create Frame (Button Container) local button = Instance.new("TextButton") button.Name = "MovableButton" button.Size = UDim2.new(0, 150, 0, 50) button.Position = UDim2.new(0.5, -75, 0.5, -25) -- Centered on screen button.BackgroundColor3 = Color3.fromRGB(35, 35, 35) button.TextColor3 = Color3.fromRGB(255, 255, 255) button.Text = "Complete Pool" button.Font = Enum.Font.SourceSansBold button.TextSize = 18 button.Active = true button.Parent = screenGui -- Add rounded corners local uiCorner = Instance.new("UICorner") uiCorner.CornerRadius = UDim.new(0, 8) uiCorner.Parent = button --------------------------------------------------------- -- Draggable Logic --------------------------------------------------------- local dragging = false local dragInput, dragStart, startPos local function update(input) local delta = input.Position - dragStart button.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) end button.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = button.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) button.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) --------------------------------------------------------- -- Click Action --------------------------------------------------------- button.MouseButton1Click:Connect(function() -- Executing target event logic local econRemotes = ReplicatedStorage:FindFirstChild("EconRemotes") if econRemotes and econRemotes:FindFirstChild("Complete") then econRemotes.Complete:FireServer("pools") print("[SUCCESS] Complete Remote Fired successfully!") else warn("[ERROR] Could not locate ReplicatedStorage.EconRemotes.Complete") end end)