local event = Instance.new("RemoteEvent") event.Parent = script.Parent.Parent.Parent.Parent event.Name = "MyServerEvent" event.OnServerEvent:connect(function() local player = script.Parent.Parent.Parent.Parent.Name local human = game.Workspace:FindFirstChild(player):FindFirstChild("Humanoid") local model = script.Parent.Parent.Model.Value local car = script.Parent.Parent.Car.Value if human:FindFirstChild(model) ~= nil then print("Human Found!") if human:FindFirstChild(model):FindFirstChild(car) ~= nil then print("Car Found!") local body = game.Workspace:FindFirstChild(player):FindFirstChild("Humanoid"):FindFirstChild(model):FindFirstChild(car):GetChildren() for i,v in pairs (body) do if v.Name == "Seat" then v.Disabled = true script.Parent.Parent.Open.Visible = true script.Parent.Visible = false end end end end end)
when the removeeven is fired nothing happens it doesnt do what i told it to do. i want it to disable Seat but it wont do that on roblox player it does it on roblox studio. it does not show any errors aswell. this script is in a server script. the script that fires the remove even is in local script. please help