#Why is Player 1 not triggering :SetAttribute() but Player 2 is?

1 messages · Page 1 of 1 (latest)

crude river
#

Hi,

I have a server-side module script which runs a Heartbeat loop to detect players on a part. Currently when testing in "Server & Clients" mode, Player 2 can set part attributes, but Player 1 cannot?

This is very confusing because both players are in fact being detected on the part (this is because when either player is on the part, the prints log).

shut tusk
#

Whats the code for

crude river
#

omfg

#

nevermind

#

It's the way I am handling the player loop

#

Just to clarify, I was not checking who exactly was on the "slot" because it was opening the slot if any player stepped off

new code:

compact oriole
low dust
#

cough cough

compact oriole
compact oriole
#

i got this one

midnight loom
compact oriole
low dust
#

also when i put things into functions it sometimes be breaking the entire thing

low dust
# compact oriole wym

as in when i put the lines of code in the same area it works but when i put it in the function then call the function with the parameters it sometimes be breaking

#

but its prob me just missing a line of code

#

or somethin