local player = game.Players.LocalPlayer local ReplicatedStorage = game:GetService("ReplicatedStorage") local gui = Instance.new("ScreenGui") gui.Name = "MoneyLuckGui" gui.Parent = player:WaitForChild("PlayerGui") gui.ResetOnSpawn = false local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 260, 0, 220) frame.Position = UDim2.new(0.3, 0, 0.3, 0) frame.BackgroundColor3 = Color3.fromRGB(35, 35, 35) frame.Active = true frame.Draggable = true frame.Parent = gui local label = Instance.new("TextLabel") label.Size = UDim2.new(0, 260, 0, 25) label.Position = UDim2.new(0, 0, 0, 0) label.BackgroundColor3 = Color3.fromRGB(50, 50, 50) label.TextColor3 = Color3.fromRGB(255, 255, 255) label.Text = "Made by ScriptDude999" label.Font = Enum.Font.SourceSansBold label.TextSize = 18 label.Parent = frame local moneyBox = Instance.new("TextBox") moneyBox.Size = UDim2.new(0, 220, 0, 40) moneyBox.Position = UDim2.new(0.5, -110, 0, 35) moneyBox.PlaceholderText = "Enter money amount" moneyBox.Text = "" moneyBox.Parent = frame local moneyButton = Instance.new("TextButton") moneyButton.Size = UDim2.new(0, 220, 0, 40) moneyButton.Position = UDim2.new(0.5, -110, 0, 80) moneyButton.Text = "Give Money" moneyButton.Parent = frame local luckBox = Instance.new("TextBox") luckBox.Size = UDim2.new(0, 220, 0, 40) luckBox.Position = UDim2.new(0.5, -110, 0, 125) luckBox.PlaceholderText = "Enter luck amount" luckBox.Text = "" luckBox.Parent = frame local luckButton = Instance.new("TextButton") luckButton.Size = UDim2.new(0, 220, 0, 40) luckButton.Position = UDim2.new(0.5, -110, 0, 170) luckButton.Text = "Give Luck" luckButton.Parent = frame local MoneyEvent = ReplicatedStorage:WaitForChild("ClaimReward") local LuckEvent = ReplicatedStorage:WaitForChild("LuckPurchaseEvent") moneyButton.MouseButton1Click:Connect(function() local amount = tonumber(moneyBox.Text) if amount then MoneyEvent:FireServer(amount) end end) luckButton.MouseButton1Click:Connect(function() local amount = tonumber(luckBox.Text) if amount then LuckEvent:FireServer(amount) end end) local toggle = Instance.new("TextButton") toggle.Size = UDim2.new(0, 50, 0, 50) toggle.Position = UDim2.new(0, 50, 0, 50) toggle.BackgroundColor3 = Color3.fromRGB(255, 100, 100) toggle.Text = "💰" toggle.TextScaled = true toggle.TextColor3 = Color3.fromRGB(255, 255, 255) toggle.Font = Enum.Font.SourceSansBold toggle.Parent = gui toggle.Active = true toggle.Draggable = true toggle.MouseButton1Click:Connect(function() frame.Visible = not frame.Visible end)