Hey! I’m making a ship simulator and I’ve made a very simple spawning system. The ship spawns fine, but i want the player to be teleported to the driverseat of the ship once they spawn it. Ill show the script that actually spawn the boat. It is a regular script inside of an image button.
script.Parent.MouseButton1Click:Connect(function(player)
local ship = game.ServerStorage.Ships.Rusla.NKL27
local clone = ship:Clone()
clone.Parent = workspace
script.Parent.Parent.Parent.Visible = false
script.Parent.Parent.Parent.Parent.Parent.ClickDetector.MaxActivationDistance = 0
wait(30)
script.Parent.Parent.Parent.Parent.Parent.ClickDetector.MaxActivationDistance = 32
end)
The boat is directly inside of the boat model. The spawning works fine but i just wanted help in adding the feature where you are teleported and sat in the driverseat.
Any and all help is appreciated, thank you!