I created this portal you can come in if you have enough points

local Teleporter = game.Workspace.Teleporter
local Teleporter2 = game.Workspace.Home
	
	Teleporter.Touched:Connect(function(hit)
		if hit:FindFirstChild("Humanoid") and game.Players.LocalPlayer.leaderstats.Points.Value >= 10000 then
			print("Player can be teleported!")
			hit.Parent.HumanoidRootPart.CFrame = Teleporter2.CFrame
		end
		end)

2 comments

1

in line 5 the script is trying to find the hit object's first child named "Humanoid", but as the hit from a player would be a body part, here's that line fixed: if hit.Parent:FindFirstChild("Humanoid") and

0

XTOOTHLEXS, i'm stupid lol, i don't know how i did not figure that one out xD, i always make silly mistakes.