So, I am trying to make a teleporter to a certain block. I feel like this is right, but the error message "Unable to cast Instance to Vector3" keeps appearing. Here is my script.
local Part = script.Parent
local Location = script.Parent.Parent.Reciever
Part.Touched:connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
local Character = hit.Parent
Character:MoveTo(Location)
end
end)

2 comments
Oml, im so stupid. completely forgot about that. thanks
Oh, PSSSSHT