So I have a local script that has this script
script.Parent.MouseButton1Click:Connect(function()
game.ReplicatedStorage.RemoteEvent:FireServer()
end)
So I need to somehow fit in this script
for i = 1,#plrs do
local num = math.random(1,5)
plrs[i].Character.Head.CFrame = CFrame.new(workspace.Teleports["Part"..num].Position)
end
please help me, thanks!

2 comments
First off, can you explain further on what you're trying to do? Secondly, it does seem like you're trying to take one script and have it do something completely different, have you made an attempt with this alternative action?
oh, I just saw your comment, but I kind of figured it out on my own already. Basically when I was trying to teleport players, i did not make a variable for what plrs is. But thank you for trying to help me!