So, I am trying to make it so when you click a block, I want it to effect another block that is in the game. How would I do this?
function onTouched() game.Workspace.StepBlock.White() script:Transparency (1) script:CanCollide = true() end script.Parent.Touched:Connect(onTouched)
So this is the basic of what I want to happen, I want to be able to touch the block, and it makes the other block appear and is able to be walked on. Anyone know how to do this?
function onTouched() game.Workspace.StepBlock.White.Transparency = 1 game.Workspace.StepBlock.White.CanCollide = true end script.Parent.Touched:Connect(onTouched) --function name is the single argument of `Connect`