#Why is this unable to get the players name like "Data_(player)" eg. "Data_fewuser"
1 messages · Page 1 of 1 (latest)
Try and print out
("Data_"..plr.Name)
to see if its properly getting its user.
i discovered my issue is a fair bit more in depth then that
oh
since its going off a surface gui and a text button from a car list
local.plr doesnt work
aparently
😭
im a pretty shit scripter, most of my skills are in building and whatnot
so im outta my depth here
but ill figure it out
holy nesting
https://www.youtube.com/watch?v=CFRhGnuXG-4
@wooden crescent
I'm a Never Nester and you should too.
Access to code examples, discord, song names and more at https://www.patreon.com/codeaesthetic
Correction: At 2:20 the inversion should be "less than or equal", not "less than"
what is script.Parent and is this a server script or a localscript? odds are good the event isn't passing the player through
if script.Parent is a ui, plr is nil
... and it won't fire on server
and if this is a localscript yea bruh clients dont have access to datastores, but imagine if they did. datastore:delete(everyone_else)