[RED DESC]Event Frm NO GUI
Key Required

[RED DESC]Event Frm NO GUI

[EVENT] Pull a Swordposertoisposertois 45.4K views 22 executesUpdated Oct 22, 2023
Unrated
00
Lua Script•25 lines (631 chars)
local Workspace = workspace
local EventMobs = Workspace:FindFirstChild("EventMobs")

local function TeleportToRandomObject()
  local models = EventMobs:GetChildren()

  local randomModel = models[math.random(1, #models)]

  local objects = randomModel:GetChildren()

  local randomObject = objects[math.random(1, #objects)]

  local player = game.Players.LocalPlayer
  player.Character:SetPrimaryPartCFrame(randomObject.CFrame)
end

local teleportCoroutine = coroutine.create(TeleportToRandomObject)

while true do
  wait(1)

  coroutine.resume(teleportCoroutine)

  teleportCoroutine = coroutine.create(TeleportToRandomObject)
end

Features & Information

VERY IMPORTANT: You need a script to fly or else the game will break in a while *U need execute when enter to event portal, *to change the speed change the number at the end in wait(1) *If the game breaks, just exit and enter (it rarely happens) *any mistake is the bard fault

Community Comments (4)

HourlyVoicelessHourlyVoicelessOct 22, 2023(edited)

bring mobs works, its better

mikeykun2516mikeykun2516Oct 22, 2023(edited)

after a while my player falls down the map and then it teleports to the starter world then teleports back to the halloween world which breaks it is there anyway to fix that? Like should i make it slower or re execute it when it happens.

2123121A2123121AOct 23, 2023(edited)

make the script kill the enemy first bru why does it even keep teleporting to a different enemy if it didnt even kill the first one?

posertoisposertoisOct 23, 2023(edited)

If you can't kill them, try changing the speed as explained in the description.

More Scripts for [EVENT] Pull a Sword