Teleport Script no longer working

Hello. I’ve been working on a UI that allows players to teleport from one place to another via buttons, but for some reason, it’s not working anymore. I’m not getting any output information either.

The strangest part about this is I have created a model a bit back with almost the exact same scripting format, and that still works.

Here’s the code that I’ve created: (I’m only including the part that I’m talking about since everything else is fine without it)

-- Local Script

local plr = game.Players.LocalPlayer
local Character = plr.Character or plr.Character:Wait()

local Part = game.Workspace.TeleportArea.ArcadeTeleport

Character.HumanoidRootPart.CFrame = Part.CFrame * CFrame(0,3,0)

Any help would be greatly appreciated.

Thanks!

Should be CFrame.new(0,3,0) because that is how CFrame’s are constructed

2 Likes