hello, i have a local script that is in startercharacterscripts that turns R15 characters into block characters and it works when the player first spawns in, but sometimes after the player respawns it either does or does not work, any help?
local function BundleRemover(char)
local hum = char:WaitForChild("Humanoid")
local dc = hum:GetAppliedDescription()
dc.Head = 0
dc.LeftArm = 0
dc.RightArm = 0
dc.LeftLeg = 0
dc.RightLeg = 0
dc.Torso = 0
hum:ApplyDescription(dc)
end
BundleRemover(script.Parent)
local Accessory = script.Parent:GetChildren()
for i = 1, #Accessory do
if Accessory[i]:IsA("Accessory") then
Accessory[i]:WaitForChild("Handle").CanQuery = false
Accessory[i]:WaitForChild("Handle").CanTouch = false
end
end
yeah i put print at top and bottom of the bundle remover and it runs, i died multiple times right now and it kept working but idk why sometimes it stops working
In roblox, every time the character dies it gets reset (roblox automatically does it, just makes a copy of your character and deletes the old one that died). You can mention the new character using methods like .CharacterAdded. I had that problem while making viewmodels.