Hello! I am trying to use cframe for a project, and I need to be able to use it in the same script as the rest of my project. Is there a way I can put the cframe and the rest of my project into one script?
Thanks, Anthony
function onClicked()
wait()
for i = 0, 45, 0.2 do
game.Workspace.Curtain:SetPrimaryPartCFrame(game.Workspace.Curtain:GetPrimaryPartCFrame() + Vector3.new(0,0.9,0))
wait()
end
end
script.Parent.ClickDetector.MouseClick:connect(onClicked)>

2 comments
Please put your script in a code block.
Done, sorry this was my first post xD