Still have questions? Join our Discord server and get real time help.
0

# How Do I Rotate A Cloned Model?

Edited 2 months ago

So I just recently asked the question on how to clone a model from serverstorage and from a part and I did get my answer but I also need to rotate it. This script below is a copy from the answered script but substituted with coordinates.

local part = script.Parent
local debounce = true
part.Touched:Connect(function()
if debounce == false then return end
debounce = false
if game:GetService("ServerStorage"):FindFirstChild("Test562") then
local test = game:GetService("ServerStorage").Test562:Clone()
test.Parent = workspace
if test.PrimaryPart == nil then
test.PrimaryPart = test.Core
end
test:SetPrimaryPartCFrame(CFrame.new(Vector3.new(51, 14, 186)))
end
wait(3)
debounce = true
end)


How can I make it rotated once it has been cloned and spawned?

0
I need 3 rotations, 0,90,0 0,-90,0 and 0,180,0, How would you write it in a script? TtuNkK 5 — 2mo