So basically i made this player resizing script when they join and it sets the players package to default then resizes the player but when the player dies he dies like two times then he stops dying and the players accessories are off their face on my screen but on their screen their accessories are on perfectly here are some screen shots
On her screen https://cdn.discordapp.com/attachments/379722865274257429/475245052403253258/unknown.png
On my screen https://media.discordapp.net/attachments/379722865274257429/475245652008370206/unknown.png?width=888&height=500
This is the code (its located in server script service)
local RMT = game:GetService("ReplicatedStorage").RemoteEvents:FindFirstChild
("PlayerCreation")
RMT.OnServerEvent:Connect(function(player)
wait()
local packageFolder = game.ServerStorage.PackageFolder
local character = player.Character
local humanoid = character:WaitForChild("Humanoid")
for _,v in ipairs(packageFolder:GetChildren()) do
local part = v:Clone()
character[v.Name]:Destroy()
part.Parent = character
end
humanoid:BuildRigFromAttachments()
player.Character.Humanoid:FindFirstChild
("HeadScale").Value = 1.3000000000000000444
player.Character.Humanoid:FindFirstChild("BodyHeightScale").Value = 0.89999997615814208984
player.Character.Humanoid:FindFirstChild("BodyWidthScale").Value = 0.69999999999999995559
player.Character.Humanoid.HipHeight = 1.5
end)
and this is the local script which fires it
local RMT = game:GetService("ReplicatedStorage").RemoteEvents:FindFirstChild("PlayerCreation")
local Players = game:GetService("Players")
function addPlayer(player)
if Players.LocalPlayer.Character:WaitForChild("Humanoid"):WaitForChild("HeadScale").Value == 1.1999999999999999556 then return
else
RMT:FireServer()
end
end
for _,player in pairs(Players:GetPlayers())do
addPlayer(player)
end
Players.PlayerAdded:connect(addPlayer)

1 comment
(Also this usually happens when someone else joins the server)