#How to yield server script until Parented Part is fully loaded?
1 messages · Page 1 of 1 (latest)
maybe use waitfor
waitfor?
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
oh i did that and it just yielded forever
i heard that has to be on a localscript
wdym
its going to be a local script by default if ur doing it in starterplayer
if you want to do it on the server then just connect to playerAdded and then to characterAdded inside of it, outside of starterplayer tho
server script in startercharacterscripts
i put a normal script in my startercharacterscripts for my sprint function and it works fine
ngl, don't think this is the problem 😔
a script in startercharacterscripts loads once the character does, so there shouldn't be a problem in that regard
so i kind of got it working, but it doesnt detect when i change the player's character
well, it gets added but it isnt detectable
okay well... i just manually added the attributes 