I need help with this Script

Hi, I’m learning how to code by using Videos from youtube now because I like money and I just want to start making my own game. And maybe become biggest developer out there.

2.

-- function changeTransparency(part,newTransparency)
	part.Transparency = newTransparency
end


changeTransparency(game.Workspace.Spawnlocation,0.5)

wait(2)

changeTransparency(game.Workspace.SpawnLocation,0.75)

Error Message: Spawnlocation is not a valid member of Workspace “Workspace”

Capitalization is key.

You can replace the bottommost section of your script with this.

Remember, Lua is case-sensitive. Always check back for typos before posting on the DevForum.

2 Likes