Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How make an Auto Unequip Tools on seat (or driverseat) ?

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.

1 answer

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.

1 comment

0

This script not working, but everything is ok (the occupent, ect).

This discussion is preserved as it was. New answers, comments, and votes are closed.