Search
 
SCRIPT & CODE EXAMPLE
 

LUA

roblox studio teleport on collision

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 :: roblox make a rainbow part 
Lua :: roblox how to make a rainbow part 
Lua :: get all players roblox 
Lua :: Get number of values in a table lua 
Lua :: how to delete a key in a table lua 
Lua :: luau region 
Lua :: roblox make kill brick 
Lua :: lua integer to string 
Lua :: roblox tween color3 
Lua :: lua table is empty 
Lua :: how to exit current scope roblox 
Lua :: dictionnary lua 
Lua :: lua create file 
Lua :: what does local mean in roblox 
Lua :: lua table unpack 
Lua :: lua string to date 
Lua :: roblox hotkey script 
Lua :: How to Register a command in Lua 
Lua :: check if player is in group 
Lua :: dubble and big comment 
Lua :: lua add to table 
Matlab :: matlab inverse z transform 
Matlab :: matlab plotting multiple lines on one graph 
Matlab :: octave get range length 
Basic :: what to include in basic C 
Elixir :: elixir length of list 
Elixir :: elixir check memory usage 
Scala :: Scala methods 
Scala :: scala list of options to option of list 
Excel :: google sheets countif current month 
ADD CONTENT
Topic
Content
Source link
Name
5+7 =