Hi, I'v a question, how I can make a script for an Automatic Unequip Tools on seat or driverseat.
I thank you in advance.
Put this script inside a seat/driverseat
script.Parent:GetPropertyChangedSignal('Occupant'):Connect(function() -- An event to check if property 'Occupant' change if script.Parent.Occupant then if script.Parent.Occupant.Parent then script.Parent.Occupant:UnequipTools() -- Unequip tools end end end)
The property Occupant is equal to a humanoid of a character that sits.