I am making a roleplay game. You can choose to be a kid.
When I chose kid, it was all going fine;
I had my avatar size smaller…
But when I published the game for testing, you could see other peoples avatars as, if they chose kid, legs in floor, normal avatar size.
It only effects your avatar. Is there any known way to fix this. Please edit the script to my needs in replies. Thanks
Below is a snippet of the script:
Frame:WaitForChild("Kid").MouseButton1Click:Connect(function()
TeamEvent:FireServer("Kid")
Close()
wait(5)
player.Character.Humanoid.HeadScale.Value = 0.5
player.Character.Humanoid.BodyDepthScale.Value = 0.5
player.Character.Humanoid.BodyWidthScale.Value = 0.5
player.Character.Humanoid.BodyHeightScale.Value = 0.5
end)
Frame:WaitForChild("Adult").MouseButton1Click:Connect(function()
TeamEvent:FireServer("Adult")
Close()
wait(5)
player.Character.Humanoid.HeadScale.Value = 1
player.Character.Humanoid.BodyDepthScale.Value = 1
player.Character.Humanoid.BodyWidthScale.Value = 1
player.Character.Humanoid.BodyHeightScale.Value = 1
end)
Frame:WaitForChild("Parent").MouseButton1Click:Connect(function()
TeamEvent:FireServer("Parent")
Close()
wait(5)
player.Character.Humanoid.HeadScale.Value = 1
player.Character.Humanoid.BodyDepthScale.Value = 1
player.Character.Humanoid.BodyWidthScale.Value = 1
player.Character.Humanoid.BodyHeightScale.Value = 1
end)
Don’t worry! Player is defined lol.
So, recap; you see yourself as small but other players see you normal size but legs in floor as if CanCollide was off.
Thanks once again!