Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How can i convert a Local Script into a normal one?

Exactly,i want to change that in the script to convert it in a normal script,but,how i do that?


repeat wait() until game.Players.LocalPlayer.Character
repeat wait() until game.Players.LocalPlayer.Character:IsDescendantOf(game.Workspace




local Player = game.Players.LocalPlayer --This is a different one


1 answer

You're going to need to grab players in a different way, instead try doing this. You are not clear on exactly what you're trying to do, but this is probably what you're looking for.

game.Players.PlayerAdded:connect(function(plr)
	plr.CharacterAdded:connect(function(char)
		repeat wait() until char.Humanoid
	end)
end)

This discussion is preserved as it was. New answers, comments, and votes are closed.