Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Is this the right script to pick somewone randomly from Players to be a monster?

Heres my script:

local Dominator = script.Parent.Parent
local DominatorChance = Players[math.random(1,10)]
local Name = "Your The Dominator!"..player.Name..""



if player == "Dominator" then
	script.Parent.Health = 1000
	script.Parent.MaxHealth = 1000
	script.Parent.WalkSpeed = 60
and
    script.Parent:GetChildren()
	
end

2 answers

local Fighter = script.Parent.Parent
local playerin = Game:GetService("Players")
local chance = Players[math.random(1,10)]


if Player == "Fighter" then
	script.Parent:GetChildren()
	script.Parent.Parent.Name = "The Fighter is"..player.Name..""
	
	
	
end

is this also right?

2 comments

0

Hello digital, please do not post answers to your own question. If you wish to ask more questions, either ask a new one, or edit your current one if they relate. Thank you!

0

Oh Im sorry Creative.

This discussion is preserved as it was. New answers, comments, and votes are closed.