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

Is everything Alright? My Player Picker

Asked by
KAAK82 16
10 years ago
local Players = game.Players:GetPlayers()
local TopHat = { }
fBeastSpawn = game.Workspace.Map1.MapData.BeastSpawns.fBeastSpawn
sBeastSpawn = game.Workspace.Map1.MapData.BeastSpawns.sBeastSpawn
BeastSpawns = {fBeastSpawn, sBeastSpawn}

table.insert(TopHat, Player)
for _, Player in pairs(Players) do
for i = 1, Player.chancestats.RW.Value do 
TopHat[#TopHat + 1] = Player 
end
end

local Beast = TopHat[math.random(1, #TopHat)]
wait(30)

beast = game.Workspace.Beast
beast.Value = Beast

local scythe = game:service("ServerStorage"):findFirstChild("Scythe");
if scythe ~= nil then
scythe:clone().Parent = Beast.Character
end

makarov = Beast.Backpack:WaitForChild('Makarov')
if makarov ~= nil then
    makarov:Destroy()
    Makarov =  Beast.Character:WaitForChild('Makarov')
if Makarov == nil then
    print('All Clear!')

local BHumanoid = Beast.Character.Humanoid
BHumanoid.MaxHealth = 1000
BHumanoid.Health = 1000
BHumanoid.WalkSpeed = 20

Beast.TeamColor = BrickColor.new("Really Black")

LA = Beast.Character["Left Arm"]
RA = Beast.Character["Right Arm"]
H = Beast.Character.Head
T = Beast.Character.Torso
LG = Beast.Character["Left Leg"]
RG = Beast.Character["Right Leg"]

T.Locked = false

LA.Transparency = 1
RA.Transparency = 1
H.Transparency = 1
T.Transparency = 1
LG.Transparency = 1
RG.Transparency = 1

local Exp = Instance.new("SpecialMesh",Beast.Character.Torso)
Exp.MeshType = Enum.MeshType.FileMesh
Exp.MeshId = "http://www.roblox.com/asset/?id=42579239"
Exp.TextureId = "http://www.roblox.com/asset/?id=42578558"
Exp.VertexColor = Color3.new(-90, -100, 47)
Exp.Scale = Vector3.new(10, 10, 10)



local CBSpawn = BeastSpawns[math.random(1, #BeastSpawns)]
Beast:MoveTo(CBSpawn.Position)
    end
end

I need to kno... cos I think the Players Needed Script ruined this... and I tried Enabling and Disabling, no1 has been picked (note, I did that in Solo Mode, 3 Players using the Ribbon Bar).

Answer this question