Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Tycoon Cash To Collect - Surface Gui?

Asked by 10 years ago

Please provide more explanation in your question. If you explain exactly what you are trying to accomplish, it will be much easier to answer your question correctly.

Okay I am editing berezaa's tycoon kit and I would like the cash to collect to be a surface gui something like

and you can click the surface gui and it will collect your cash?

berezaas cash to collect script how to edit to surface gui?

1script.Parent.Parent.Parent.Cash.Changed:connect(function()
2    script.Parent.Name="Cash to collect: $"..script.Parent.Parent.Parent.Cash.Value
3end)

URGENT!

1 answer

Log in to vote
0
Answered by
iNicklas 215 Moderation Voter
10 years ago
1local button= script.Parent
2 
3function onClick()
4 
5 script.Parent.Name="Cash to collect: $"..script.Parent.Parent.Parent.Cash.Value
6 
7end)
8 
9button.MouseButton1Click:connect(onClick)
Ad

Answer this question