Description:
There are bug teleport. While player got stuck on floor after teleport. I cant move character.
Reproduction Steps
Repro:
- Create new baseplate.
- Create part and script.
- Make sure. Part 1. Name “Teleport”, BrickColor = Blue, Anchored = true, (if want add ParticleEmitter to part?) and Part 2. Name “Tag”, BrickColor = Red, Anchored = true, CanCollide = false.
- Script code:
Teleport>Script:
local Teleport = "Tag"
local deb = false
function Touch(hit)
local Pos = script.Parent.Parent:findFirstChild(Teleport)
if hit.Parent:FindFirstChild("Humanoid") ~=nil then
if deb == false then
deb = true
hit.parent:moveTo(Pos.Position)
wait(1)
deb = false
end
end
end
script.Parent.Touched:connect(Touch)
Tag>Script:
script.Parent.Transparency = 1
- build anything this place:
- Publish the game.
- Run test on game.
I’ve made a game demonstrating this, apart from the instructions above it is a normal baseplate:
The starting place.
Test Teleport - Roblox It’s private, file is shared in private message
Here is a video demonstrating the bug:
robloxapp-20220511-1241235.wmv (950.7 KB)