How to make an easy teleporter in roblox studio!
ฝัง
- เผยแพร่เมื่อ 14 ต.ค. 2024
- Today i will be showing you how to make an easy teleporter in roblox studio!
My roblox: www.roblox.com...
--SCRIPT
local part = game.Workspace.Teleport2
script.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
local hum = hit.Parent:FindFirstChild("Humanoid")
hum.Parent:FindFirstChild("HumanoidRootPart").Position = part.Position
end
end)
can u write the script in the desc or something like it?
ok!
@@hugge6267 ty
@@itekk8486 can i do it tomorrow cuz it is to late for doing it now?
local part = game.Workspace.Teleport2
script.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
local hum = hit.Parent:FindFirstChild("Humanoid")
hum.Parent:FindFirstChild("HumanoidRootPart").Position = part.Position
end
end)