first of all everything was working correctly. Computer restarted by itself and this problem appeared.
script was about giving a morph by clicking a Gui and here is it :
local events = game.ReplicatedStorage.RemoteEvents
events.MorphEvent:FireServer(game.ReplicatedStorage.Morphs.devil)
local character = script.Parent
local humanoid = character:WaitForChild("Humanoid")
end)
also a ServerStorage script Morph Client :
local char = model:clone()
local savename = player.Name
local pos = player.Character.HumanoidRootPart.CFrame
char.Name = savename
player.Character:Destroy()
player.Character = char
char.Parent = workspace
char.HumanoidRootPart.CFrame = pos
char.HumanoidRootPart.Anchored = true
player.PlayerGui.MorphGui.Enabled = false
wait(1)
char.HumanoidRootPart.Anchored = false
end)```
after computer's restart studio says that ```HumanoidRootPart is not a valid member of Model "plNotker" - Server - MorphClient:13```
I'm really confused about this one. Please help me 🙏