So I have been trying to make a script where my text button when it is clicked will change a parts properties.
This is my script, yes a normal script.
script.Parent.MouseButton1Click:Connect(function()
game.Workspace.Part.CanCollide = true
game.Workspace.Part.Transparency = 0
end)
Can you please tell me what is wrong? Thank you.

1 comment
Okay! Let me try the script.