#Help understanding the code

24 messages · Page 1 of 1 (latest)

marble bloom
#

a is the first parameter to all remotes fired to the server, a is not a name of the player, rather the player instance.

modern isle
#
print(tostring(a))
oak pelican
#

I didnt understand how "a" has the player instance , still new to lua , sorry if im being stupid

modern isle
#

you can change it to anything

#

a > player

#

anything

marble bloom
marble bloom
#

Like click the name in the output twice

#

WHILE TESTING

oak pelican
#

Ooo

#

@marble bloom why does it change to server when i click on the name?

marble bloom
#

And the instance printed, is the instance on the server

#

The client has a different copy of the server, the client can change the instances, and the server cannot see the changes but as soon as the server changes an instance, all previously changed properties of that instance is restored to the serverside properties

oak pelican
#

ahh

#

I understand

#

Thank you for the help

remote whale
marble bloom
lofty pecanBOT
#
Critical error:

You are sending requests too fast!

marble bloom
lofty pecanBOT
#
Program Output
Hello, world!