Roblox Studio Teleport On Touch

[Solved] Roblox Studio Teleport On Touch | Lua - Code Explorer | yomemimo.com
Question : roblox studio teleport on touch

Answered by : shiny-swan-s82wwmoxqeo8

local telepoint = Vector3.new(0,10,0) --CHANGE THE COORDINATES IN THE PARENTHESIS TO WHAT YOU WANT!
script.Parent.Touched:connect(function(hit)	if hit.Parent:findFirstChild("Humanoid") then	hit.Parent.Torso.CFrame = CFrame.new(telepoint + Vector3.new(0,3,0))	end
end)

Source : | Last Update : Sat, 15 May 21

Answers related to roblox studio teleport on touch

Code Explorer Popular Question For Lua