Was working on a location handler when I got this error involving vector3 expected and got numbers
local plr = game.Players.LocalPlayer
local char = plr.Character
local LocationText = script.Parent
local Frame = LocationText.Parent
local Gui = Frame.Parent
local LastLocation
local SuburbMsg = game.workspace.SuburbMSG
local City = game.workspace.CityMSG
char.Humanoid.Changed:Connect(function()
if workspace.CurrentCamera.CFrame.p - SuburbMsg.Position.Magnitude < 15 and LastLocation ~= "'Suburb'" then
LocationText.Text = "'Suburb'"
LastLocation = "'Suburb'"
LocationText.TextTransparency = 1
LocationText.TextStrokeTransparency = 1
LocationText.TextStrokeColor3 = Color3.new(0, 2, 97)

1 comment
Worked! Thank you so much.