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

How do i make it so a local script waits for a specific player and then does something to them?

I'm trying to make custom abilities for certain people but I don't know how to do this, please help

3 answers

Local script in StarterGui / StarterPlayer.StarterPlayersScripts / StarterPack ...

game.Players.LocalPlayer.CharacterAdded:Connect(function(Character)
	if Character.Name=='SwordsDestinyGames'or'name2'or'name3'then
		Character.Humanoid.WalkSpeed=100 -- example
	end
end)

1 comment

0

Thanks alot!

local player = game.Players.LocalPlayer
local char = player.Character or CharacterAdded:wait()

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