When I clone Roblox Car, I cannot drive it, whilst I can in-game testing. Help?
I am kind of new to coding, only got into it 6 months ago. My problem here is, when I clone my car, the driver seat doesn't operate. I'm using a default Roblox Car which works when I use it manually, when I am testing my game.
1 | game.ReplicatedStorage.SpawnCar.OnClientEvent:Connect( function (banana) |
3 | local equippedCar = script.Parent.Parent.Parent.Shop.EquippedCar.Value |
5 | local car = game.Workspace.CarModels [ equippedCar ] :Clone() |
7 | local pos = player.Character.HumanoidRootPart.Position + Vector 3. new( 3 , 3 , 0 ) |
The roblox car, when cloned, the wheels sink into the baseplate and when I jump onto it, which should have enabled the DriveSeat. It instead doesn't do a thing and rotates around pointlessly. I have also noticed that when it rotates, the wheels stay rigid. They are not anchored and can collide is off. The in-game, non-cloned roblox car also have the same properties, meaning that CanCollide being off is not a issue.
Please help
-WarmFireBlaze1