#argument #1 expects a string, but Instance was passed

1 messages · Page 1 of 1 (latest)

rigid moat
#
local lester = game.Lighting.Lester:Clone()
local door : Part = workspace.CurrentDoor.Value
local goto = workspace:FindFirstChild(door.Parent)
repeat
    local odds = math.random(1,5)
    wait(5)
until odds == 1
wait(1)
lester.Parent = workspace.Monsters
lester:PivotTo(goto:FindFirstChild("TP").CFrame)
workspace.Nts:Play()
script.Enabled = false``` lua
iron whale
rigid moat
iron whale
rigid moat
#

basically im trying to do

#

uh

#

its an rng thing

#

so when the monster spawns in a specific part

iron whale
rigid moat
#

yes

iron whale
#

I don't need to know about the rest

#

What are you trying to do there?

rigid moat
#

wait let me calm down

#

ok so

#

im wanna make an rng that spawns an monster randomly after an specific value

fair urchin
rigid moat
#

but since the code weird it keeps spawning at the door instead of the part

#

it keeps flinging into the void

rigid moat
#

ofc its an cat lover

#

ok nevermind @iron whale

#

i think i know why

#

i can just make two object values of the TP and the door thing

#

im so dumb

fair urchin
#

Sorry mane, we just trolling

#

you fixed your issue?

fair urchin
#

ight good luck mane

#

u got this

rigid moat
desert goblet
rigid moat
desert goblet
rigid moat
#

what happened?

#
  1. wait always mogs 2. old 3. good
alpine harbor
iron whale
alpine harbor