Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

how can I convert this script to work with FE enabled?

Asked by
zValerian 108
5 years ago

I want to try to convert this script to FE(so it works with FE on) but I have no idea how, does anyone have any guides or anything like that?

wait()

local parts = {}

for _,part in pairs(game.Workspace.podss:GetChildren()) do
    table.insert(parts,part)
end

for _,plr in pairs(game.Players:GetPlayers()) do
    local partchosen = parts[math.random(1,#parts)]
    local char = plr.Character or plr.CharacterAdded:wait()

    char.HumanoidRootPart.CFrame = partchosen.CFrame
    for i,part in pairs(parts) do
        if part == partchosen then
            table.remove(parts,i)
        end
    end
end

anything helps!

0
It's :Wait not :wait User#19524 175 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago

http://robloxdev.com/articles/Converting-From-Experimental-Mode

0
omg thank you for this so much! I defiantly did not have it in me to go to the wiki! zValerian 108 — 5y
0
Np GodOfRBLX 21 — 5y
Ad

Answer this question