#Accessing PlayerGui from a Script, not local script.
40 messages · Page 1 of 1 (latest)
Look i need get pos of mouse cursor and "move to" my clone in script to this position. I can get position of cursor, thats fine, but my clone go to firstt value of this position (0,0,0).
Help pls
don't ping me twice jeez
Sorry
then just pass the mousePosition data??
wdym? I think i pass, but clone just move to 0, 0 ,0
like def value of the "mousePosition"
Or you mean i need to use Data Store?
that's not correct at all
playergui CAN be accessed by doing game:GetService('Players').player name.PlayerGui, but localscript changes won't replicate over
fire a remote event with your mouse position, and then do whatever you need to do on the server with it
yeah...
but u get the...
starter GUI
it's like trying to get an object that the client made
yeah you can try to point to it, but it won't work
Look my mouse potion update every time i move mouse, but clone move to default value
i dont know whats wrong
yeah
you can't do that
use a REMOTE EVENT
to send the mouse position
-> over
or else shadow clone server wont be able to know the mouse position
@lament token
and once again THIS GETS STARTER GUI
it'll get no new values
nothing
it's pointless trying to help him this way
since it's impossible for it to work
i already said this before bro
OOOOH thanks
Dosent work, cuz i used something wrong, can you explain
.