For some reason, my TextButtons won't work.

Here is script:

torso = script.Parent.Parent.Parent.Parent.Character.Torso Hoboassassin489/OutrageousEpicHobo

function onClicked(GUI)
      torso.CFrame = CFrame.new(Vector3.new( 168.037, 41.057, -267 ))
end

script.Parent.MouseButton1Click:connect(onClicked)

Why won't it work? (Btw i'm using a normal script, not a LocalScript plus that won't work either...)

The Button is active!

3 comments

0

And yes, this is a community model

0

actually get rid of the Hoboassassin489/OutrageousEpicHobo

0

You dont need Vector3.New inside CFrame.new just the number should be enough.