I really need help with that as it is required for my script.
It is a little more complicated to find the local player via global script, although it can still be achieved.
One way that the player can be found would be to do the following:
game.Players.PlayerAdded:connect(function(plr) -- do stuff end)
In this case, 'plr' would be that local player.
In addition to finding the player by a PlayerAdded event, it can also be achieved via the Touched event:
script.Parent.Touched:connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") then local player = hit.Parent:GetPlayerFromCharacter() end end)