Quantcast

Stairs Truss

So, i have a problem; when i try to make some stairs for my map, i want the trusses to become cancollide true with a button, but i dont want it to become transparency 0 since it looks like this:


Please help me, is it possible to make it just cancollide true, with button functions or something? Im kind of a noob at scripting lol

1 Like

summons @Kriscross102RBLX because i suck at scripting too

2 Likes
Lib.btnFuncs[#] = function()

Lib.Map.InsertNameHere.CanCollide = true

end
4 Likes

Where do i add that in the script, at the end or at the start?

Start because button functions are always at the start

1 Like

got it, gonna test

1 Like

it worked, thanks

2 Likes

:))

1 Like

No need for button functions, one line

spawn(function() Lib.Map.PartNameHere.Transprency = 0 end)
1 Like
spawn(function() Lib.Map.PartNameHere.Transparency = 0 end)

Fixed your problem. You spelled Transprency, when it’s suppose to say Transparency

Thanks!

1 Like