Mini character script (OnPlayerEntered Doesnt work)?
I need this script to happen to the player every time they respawn, not just when they join.
1 | function onPlayerEntered(player) |
2 | repeat wait ( 0.5 ) until player.Character ~ = nil |
3 | player.Character.Humanoid.BodyDepthScale.Value = 0.4 |
4 | player.Character.Humanoid.BodyHeightScale.Value = 0.4 |
5 | player.Character.Humanoid.BodyWidthScale.Value = 0.4 |
6 | player.Character.Humanoid.HeadScale.Value = 1 |
7 | player.CharacterAdded:connect( function (char) char.HeadScale.Value = 1 end ) end game.Players.PlayerAdded:connect(onPlayerEntered) |
I'm trying to learn how to use more regular script rather than localscripts. It's definitely more challenging.