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

I'm trying to find player when MouseButton1Clicked, Whats wrong and how can I improve this?

Asked by 10 years ago

Would this work?

Player = {script.Parent.MouseButton1Clicked().Parent} -- Parent is TxtButton

If it doesn't can you PLEASE Help me? I'm not that great with gui's and I want to learn more. Thanks!

0
Make the Text Button a different name. raystriker6707 30 — 10y
0
What do you mean? PlatinumLocks 50 — 10y

1 answer

Log in to vote
0
Answered by 10 years ago

The Player would be the parent of their 'PlayerGui'

Ad

Answer this question