I want to make something true when the player touches a object, however sometimes plr returns as nil, and PlayerScripts is never found.
manusRegion = script.Parent
manusRegion.Touched:Connect(function(hit)
humanoid = hit.Parent
if humanoid then
print("f")
plr = game.Players:GetPlayerFromCharacter(humanoid)
plrscripts = plr:WaitForChild("PlayerScripts")
plrscripts.ManusEffectScreenShake.EsTrue.Value = true
end
end)