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)

ความคิดเห็น • 5

  • @itekk8486
    @itekk8486 2 ปีที่แล้ว

    can u write the script in the desc or something like it?

    • @hugge6267
      @hugge6267  2 ปีที่แล้ว

      ok!

    • @itekk8486
      @itekk8486 2 ปีที่แล้ว

      @@hugge6267 ty

    • @hugge6267
      @hugge6267  2 ปีที่แล้ว

      @@itekk8486 can i do it tomorrow cuz it is to late for doing it now?

    • @hugge6267
      @hugge6267  2 ปีที่แล้ว

      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)