Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Why am I being told im trying to call a table value?

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!

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.