What do you want to achieve? I have a script that clones a model.
What is the issue? It randomly changes the orientation without me telling it to.
What solutions have you tried so far? Re-did the entire cloning method, and there’s no errors so idk what to do.
script for spawning the pirate ships
function spawnPirateShips(number)
for count = 1, number do
local PirateShipClone = PirateShip:Clone()
PirateShipClone.Parent = game.Workspace
PirateShipClone:SetPrimaryPartCFrame(CFrame.new(CurrentPosX - 12000, 28.343, CurrentPosZ - 6000))
end
end
script at the bottom that calls the function
for count = 1,2 do
wait(0.5)
spawnPirateShips(3)
end