Search
 
SCRIPT & CODE EXAMPLE
 

LUA

roblox studio teleport on touch

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)
Comment

PREVIOUS NEXT
Code Example
Lua :: luau rainbow part 
Lua :: luau make a rainbow part 
Lua :: lua 
Lua :: base64 decode lua 
Lua :: how to get a random number in lua 
Lua :: luau make region3 
Lua :: luau how to make a kill brick 
Lua :: rgb to hex lua 
Lua :: roblox how to loop through all players 
Lua :: lua array is empty 
Lua :: roblox studio color randomizer 
Lua :: how do you close the lua program 
Lua :: what is the point of local varaibles in lua 
Lua :: lua infinite 
Lua :: vector2 roblox 
Lua :: countif excel 
Lua :: lua class 
Lua :: Set core GUI Roblox 
Lua :: how to format a number into hh:mm:ss in lua 
Lua :: Roblox studio increase variable when holding W 
Lua :: lua class example 
Matlab :: switch matlab 
Matlab :: matlab symbolic simplify fraction 
Matlab :: geom_density_2d 
Basic :: convert c++ code to c online 
Elixir :: elixir rescue 
Elixir :: elixir format code 
Scala :: scala function 
Scala :: map function scala 
Excel :: google sheets count dates that fall within date range 
ADD CONTENT
Topic
Content
Source link
Name
1+1 =