I made a button, that clones your car in front of you. But if i clone it in studio, it works but in game i cant sit in it. whats the problem?
script:
local debounce = false local plr = game.Players.LocalPlayer script.Parent.MouseButton1Click:Connect(function() if not debounce then for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do if v:IsA("Model") then v:Destroy() end end wait(0.1) local car = plr.SelectedCar.Value:Clone() car.Parent = game.Players.LocalPlayer.Character car.Name = plr.Name..("'s Car") car:SetPrimaryPartCFrame(plr.Character.Head.CFrame * CFrame.new(0,0,-10)) car:MakeJoints() debounce = true wait(1) debounce = false end end)