Part1 is inside my Workspace, but I don't know why it can't find it or whatever.
Trying to make a 3d Shop.
Code:
local part = game.Workspace["Shop Pad"].OpenShop
part.Touched:Connect(function(hit)
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
if player then
local cam = workspace.CurrentCamera
local Part1 = game.Workspace.Part1
local Stick = game.Workspace.Items.Stick
cam.CameraType = "Scriptable"
cam:Interpolate(Part1.CFrame, Stick.CFrame, 2)
end
end)

1 comment
Make sure that 'game.Workspace.Part1' is anchored.