local part = script.Parent
local player = game.Players
local PlrStats = player:FindFirstChild("PlrStats")
local currentStand = PlrStats:FindFirstChild("Stand")
local click = part.ClickDetector
if currentStand.Value = "Stand1" then
local function go(player)
player.Character.HumanoidRootPart.CFrame = CFrame.new(part.Position + Vector3.new(0,3,0))
end
end)
Error: (7,23) Syntax error: Expected 'then' when parsing if statement, got '=' Line 7

1 comment
oh ok thanks