I want to make a script that when the player(that is on a seat in the car) clicks a TextButton the car is cloned but I don't know how to check if a player is seating. Help? This is the script I have so far.
local ShowcaseCar = script.Parent.Parent local Serverstorage = game:GetService("ServerStorage") local Car = Serverstorage.FordGT local buyingGUI = game.StarterGui.BuyGUI local Seat = script.Parent
game.Players.LocalPlayer.PlayerGui.ScreenGui.Customization.TextButton.MouseButton1Click:Connect(function() if game.Players.LocalPlayer.Character.Humanoid.Sit==true then print'Character is sitting' else print'Character is not sitting' end end)