I tried to teleport the player 10 studs up when it touches it. This is what i came up with:
part = script.Parent
part.Touched:connect(function(hit)--Touched event!
local humanoid=hit.Parent:FindFirstChild("Humanoid")--Finding the Humanoid!
if humanoid ~=nil then--If the humanoid exists!
local x = (hit).Parent.HumanoidRootPart.Position.X
local y = (hit).Parent.HumanoidRootPart.Position.Y
local z = (hit).Parent.HumanoidRootPart.Position.Z
local y = y + 10
print(x..","..y..","..z)
humanoid:MoveTo(x..","..y..","..z)
end
end)
It works, but the player only jiggles a little bit around and don't teleport 10 studs up. Can somebody help?

5 comments
Thx! I will try it out.
I'd say it's not a good idea to just give scripts as answers. But you did say "Merry Christmas!" so I suppose it counts as a gift lol
Nah,
Its fine.
I think i changed my mind...