Character "lose" legs when exiting truck when instance is removed

Look at this. How to solve it?

  1. Open a new baseplate
  2. Open Toolbox, search for Models, Trucks, Filter by “Roblox” and drag to workspace
    image
  3. Run and sit at the white truck
  4. Delete the truck instance
1 Like

Its because you are deleting on the client.

the server still thinks the player is in the truck as it should

2 Likes

Interesting.
But the same is not happening when destroying the instance via script:
Try to put this script on ServerScriptService:

for i=1, 10 do
	print(i)
	wait(1)
end
workspace["Pickup Truck (white)"]:Destroy()

Run and enter the white truck in 10 seconds.
Even destroyed on the server-side, the legs are lost.

1 Like

It seems that since the truck scripts themselves actually make the hats and the lower legs/feet of the body transparent, it wont revert this change since the script that would detect the player leaving the truck, is destroyed

Either go into the scripts to prevent the stuff from going transparent, or revert it manually on deletion

1 Like

Now I see that it’s only the transparency remainging.
I will manually fix this.
Thank you very much!

1 Like