I am quite sure this code should work, but it wont actually run.
local Part = script.Parent
local newPos = CFrame(15,20,15)
local newAngle = CFrame.Angles(math.rad(15),math.rad(20),math.rad(15))
Part.CFrame = newPos
Part.CFrame = newAngle
It gives me this error on the output:
Workspace.Part.Script:3: attempt to call a table value
I do not understand how I am trying to call a table value, this is not in any other scripts on my place.
Plus pointing out any inefficient code would be appreciated!
