#Instance not working for some reason

20 messages · Page 1 of 1 (latest)

hazy saffron
#

also in the second picture the instance's position was ment to be like above the first part

twilit pagoda
#

your parenting it to workspace after applying the properties

hazy saffron
#

so do I put the parenting before all applying the properties

cyan wolf
#

it's best practice to set the parent last, or am I wrong

hazy saffron
#

well its still not there

cyan wolf
#

what is your script parented to

hazy saffron
#

workspace

#

local myPart = Instance.new("Part")

myPart.Transparency = 0.5
myPart.Anchored = true

myPart.Position = Vector3(13, 3, 50)

myPart.Parent = game.Workspace

heavy jayBOT
#

studio** You are now Level 1! **studio

cyan wolf
#

try moving it to serverscriptservice maybe

#

also as a quick sanity check add a print statement to see if the script is actually running at all

devout halo
#

try using Vector3.new(13,3,50)

cyan wolf
#

oh wait you're right

#

I didn't see that lol

devout halo
#

lol i come back after 2 years

hazy saffron
#

vector3.new saved the day

cyan wolf
#

the part probably actually is there just at 0,0,0 inside the spawn location

hazy saffron
#

I now have a brick over a brick

devout halo