#please help

38 messages · Page 1 of 1 (latest)

rain rock
#

so i made my code which was

'''lua
local PinkPart = script.Parent

local Part = Instance.new("Part")
Part.Parent = game.Workspace
Part.Transparency = 0.5
'''

and my PinkPart's local part did not become transparent to the 0.5 transparency could i have help

latent iron
#

Maybe cuz you referenced a part instance youade instead of the actual pink part

#

Lol

rain rock
#

im confused

strange lance
#

Can you please tell me again what this script should do @rain rock

inner echoBOT
#

studio** You are now Level 3! **studio

rain rock
strange lance
#

I was a little bit confused why you referenced the pink part when it isnt used in the script

strange lance
rain rock
#

nono

latent iron
rain rock
#

im just new to coding i wanted to mess around with the coding but im confused why it didn't work

latent iron
#

But ur post said pinkpart

rain rock
#

it was supposed to make the localpart to the pinkpart transparent 0.5

strange lance
#

Wdym with pink part, can you please send a screenshot of your object browser

#

Or just a screenshot in studio

rain rock
inner echoBOT
#

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

rain rock
#

that pink part

rain rock
#

oh

#

oops

strange lance
#

Nvm im tired and stupid

#

I mean the Explorer xd

rain rock
strange lance
#

Idk, I would try to put the Script in ServerScriptServive and would type

local newPart = Instance.new("Part")
newPart.Parent = game.Workspace
newPart.Transparency = 0.5

stable schooner
#

try setting the transparency before setting the parent

strange lance
#

Im not at home rn so I cant test it, maybe im just stupid right now

stable schooner
# rain rock

are you trying to change the transparency of the part in the picture or the new part you're creating in the script?

strange lance
#

I think the one he created in the script

stable schooner
#

well probably just have to set the position of the part too

strange lance
#

But it should spawn at 0,0,0 when theres no Position given or am I trippin

stable schooner
#

yeah it spawns at 0, 0, 0

#

but you wouldnt be able to see it though

#

cause spawn location blocks it unless you move it out of the way

strange lance
stable schooner
# rain rock

then he probably means the other part in the explorer

#

unless he is setting the position somewhere else in the code