Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Tycoon Cash To Collect - Surface Gui?

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?

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

URGENT!

1 answer

local button= script.Parent

function onClick()

 script.Parent.Name="Cash to collect: $"..script.Parent.Parent.Parent.Cash.Value

end)

button.MouseButton1Click:connect(onClick)

This discussion is preserved as it was. New answers, comments, and votes are closed.