#Accessing PlayerGui from a Script, not local script.

40 messages · Page 1 of 1 (latest)

lament token
#

How i can access PlayerGui from local script? help please

jade sail
#

can't

#

just pass the value to the server

#

using a remote event / function

lament token
# jade sail can't

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).

lament token
jade sail
#

don't ping me twice jeez

lament token
#

Sorry

jade sail
#

then just pass the mousePosition data??

lament token
#

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?

bold surge
bold surge
jade sail
#

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

lament token
jade sail
#

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

jade sail
#

it'll get no new values

#

nothing

#

it's pointless trying to help him this way

#

since it's impossible for it to work

jade sail
lament token
lament token
#

Dosent work, cuz i used something wrong, can you explain

lament token
jade sail
#

from client

#

to server