#remote event affects all the players in the server instead of one
20 messages · Page 1 of 1 (latest)
mainly gui's
everything else is fine
eh idk
ur script is weird
tbh
if it works
then keep it
the touch script should be on server
KeyDown has been deprecated for nearly 9 years now
Using script.Enabled is a bad practice - it may cause unexpected behavior. You can use it for debug reasons while testing your game in studio or disable scripts that you don't need to run at all. (At least ive never seen anyone use it in finished games)
scripter ranker
You can set up a Value inside player or an attribute that will indicate if power up is active and handle it on client.
Assuming PowerupAcive is your value you can do something like this on client:
PwerupActive.Changed:Connect(function(Active)
if Active then
-- walkspeed = 999
else
-- walkspeed = 16
end
end)
So if server sets PoverupActive value of some player to true, local script will change that players speed to 999
nice