Problem with Infinite Yield

Hi! I am coding a battlegrounds game with my friend, and I was adding some Data Storage (using ProfileService), but I tried updating some of the player’s data inside a local script and it came up with this in output:
image

Here’s the line of code causing the issue:

Any help appreciated!

image

hey
its cause localscripts cant see server sided stuff like serverscriptservice and serverstorage
you would need to do a remote event to update data and a remote function to get data

rafa

1 Like

ohh that’ll probably be it then thanks, ill try it rq

also dont forget to protect your remote events, so an exploiter cant just fire the event and get stuff

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.