Attempt to call a table value

script.Parent.Touched:Connect(function(hit)

script.Parent.Position = script.Parent.Position + Vector3(0,5,0)

end)

I am trying to make a part go 5 studs up when it gets touched by anything, but it is not working.
I have done this before and it worked.

Here is a video of it not working.
The camera is glitchy and also laggy in first person. Because of update.
robloxapp-20230614-1900385.wmv (1.7 MB)

Error
image

Its Vector3.new(...), not just Vector3(...)

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.