So for my game I'm using the A-Chassis by Inspare. However, I want it to be that if the player is in the car seat they cannot see any tools and use no tools, how would I achieve this?
local script I have so far:
--// Variables
local car = script.Parent.Car.Value
local seat = car.DriveSeat
local StarterGui = game:GetService("StarterGui")
local player = game:GetService("Players").LocalPlayer
--// Script
if seat.Occupant then
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)
else
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, true)
end
And the Gui enabled thing won't work I think because won't it disable everyone's gui? Anything helps!

3 comments
just use a touched event and destroy the gun
That won
't work*