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

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

Asked by 4 years ago

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

Log in to vote
0
Answered by
CyzDev 26
4 years ago

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

0
It still doesn't work... DriBowser 55 — 4y
0
you should try setting this ncano 22 — 4y
0
local ReplicatedStorage = game:GetService("ReplicatedStorage") ncano 22 — 4y
0
Still won't work. DriBowser 55 — 4y
View all comments (2 more)
0
Can you give us more information? What's the error? CyzDev 26 — 4y
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. DriBowser 55 — 4y
Ad

Answer this question