local ReplicatedStorage = game:GetService("ReplicatedStorage") local Players = game:GetService("Players") local player = Players.LocalPlayer local remote = ReplicatedStorage:WaitForChild("Remotes"):WaitForChild("ClaimReward") local ScreenGui = Instance.new("ScreenGui") ScreenGui.Parent = player:WaitForChild("PlayerGui") local MainFrame = Instance.new("Frame") MainFrame.Size = UDim2.new(0, 200, 0, 120) MainFrame.Position = UDim2.new(0.4, 0, 0.4, 0) MainFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40) MainFrame.Active = true MainFrame.Draggable = true MainFrame.Parent = ScreenGui local Title = Instance.new("TextLabel") Title.Size = UDim2.new(1, -30, 0, 30) Title.Position = UDim2.new(0, 0, 0, 0) Title.Text = "Money and Win Generator" Title.BackgroundColor3 = Color3.fromRGB(30, 30, 30) Title.TextColor3 = Color3.fromRGB(255, 255, 255) Title.Font = Enum.Font.SourceSansBold Title.TextSize = 18 Title.Parent = MainFrame local CloseButton = Instance.new("TextButton") CloseButton.Size = UDim2.new(0, 30, 0, 30) CloseButton.Position = UDim2.new(1, -30, 0, 0) CloseButton.Text = "X" CloseButton.BackgroundColor3 = Color3.fromRGB(200, 50, 50) CloseButton.TextColor3 = Color3.fromRGB(255, 255, 255) CloseButton.Font = Enum.Font.SourceSansBold CloseButton.TextSize = 18 CloseButton.Parent = MainFrame local StartButton = Instance.new("TextButton") StartButton.Size = UDim2.new(0.4, 0, 0, 40) StartButton.Position = UDim2.new(0.05, 0, 0.5, 0) StartButton.Text = "START" StartButton.BackgroundColor3 = Color3.fromRGB(50, 200, 50) StartButton.TextColor3 = Color3.fromRGB(255, 255, 255) StartButton.Font = Enum.Font.SourceSansBold StartButton.TextSize = 18 StartButton.Parent = MainFrame local StopButton = Instance.new("TextButton") StopButton.Size = UDim2.new(0.4, 0, 0, 40) StopButton.Position = UDim2.new(0.55, 0, 0.5, 0) StopButton.Text = "STOP" StopButton.BackgroundColor3 = Color3.fromRGB(200, 50, 50) StopButton.TextColor3 = Color3.fromRGB(255, 255, 255) StopButton.Font = Enum.Font.SourceSansBold StopButton.TextSize = 18 StopButton.Parent = MainFrame local running = false StartButton.MouseButton1Click:Connect(function() if not running then running = true print("Money and Wins generator started") task.spawn(function() while running do remote:FireServer() task.wait(12) end end) end end) StopButton.MouseButton1Click:Connect(function() running = false print("Money and Wins generator stopped") end) CloseButton.MouseButton1Click:Connect(function() running = false ScreenGui:Destroy() end)