Guys I just forgot the function which tells the script to wait before player’s screen finishes loading
so that when the script runs the player’s already loaded. Can anyone quickly name me that function, and if you could, please tell me other ways to do this
I’m not sure if this is the one you mean, but it might be it:
Player.CharacterAdded:Wait(). This will yield the script until the player’s character has loaded. By time the Players character is loaded, the Player object itself will have loaded in - but until then it will stop the script until the Character is added. For example in a script:
local Player = game:GetService('Players').LocalPlayer
Player.CharacterAdded:Wait()
print("Hello world!")
Umm? The method he shows works…
Thank you so much mate! Appreciate it!
No problem! Be sure to mark it as the solution if it helped!
Ok, thank you so much dude! Appreciate it!
It is a solution mate! But the guy above you said it first so he should get it(
Alright! Glad I could help anyways!
Yo, the “get out of here” wasn’t mentioned for you, I am sorry) You are the guy with the solution and I hope you aren’t offended with what i accidentally sent to you!