Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- script.Parent.Visible = false
- local re = game.ReplicatedStorage:WaitForChild("PaycheckRE")
- script.Parent.ClaimButton.MouseButton1Click:Connect(function()
- script.Parent.Visible = false
- end)
- re.OnClientEvent:Connect(function(cash)
- script.Parent.Visible = true
- script.Parent.CashAmount.Text = "$" .. cash
- script.Parent.PlayerName.Text = game.Players.LocalPlayer.Name
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement