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

I'm making a boss to summon henchmen at one point, but they wont spawn?

Whenever it gets to the script to make the henchmen spawn, nothing happens... What am I doing wrong here?

local function summonChallenge()
	game.ReplicatedStorage.oofer:Clone()
	game.ReplicatedStorage.oofer2:Clone()
	wait(15)
	game.ReplicatedStorage.oofer:Destroy()
	game.ReplicatedStorage.oofer2:Destroy()
end

1 answer

You need to reparent the henchmen to workspace.

local function summonChallenge()
	local henchmenThingy = game.ReplicatedStorage.oofer:Clone()
	local henchmenThingy2 = game.ReplicatedStorage.oofer2:Clone()
	local henchmenThingy.Parent = workspace
	local henchmenThingy2.Parent = workspace
	wait(15)
	game.ReplicatedStorage.oofer:Destroy()
	game.ReplicatedStorage.oofer2:Destroy()
end

Objects in ReplicatedStorage are not visible

6 comments

0

It still doesn't work...

0

you should try setting this

0

local ReplicatedStorage = game:GetService("ReplicatedStorage")

0

Still won't work.

0

Can you give us more information? What's the error?

0

That's strange, it doesn't say anything in the output.. But basically it just ignores summoning the henchmen, but still stands there like it was going to summon them.

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