script.Parent.DialogChoiceSelected:connect(function(player, choice) if choice == script.Parent.DialogChoice.Sure then if player.leaderstats.Gold.Value >= 100 then player.leaderstats.Gold.Value = player.leaderstats.Gold.Value - 100 script.Parent.Parent.Parent.Parent.Character.HumaniodRootPart.CFrame = CFrame.new(0, 0.5, 4.7) end end end)
i think u maked wrong teleportation:
script.Parent.Parent.Parent.Parent.Character:moveTo(Vector3.new(0,0.5,4.7)) -- teleports