Plr = game.Players.LocalPlayers
script.Parent.MouseButton1Click:connect(function() workspace.hood.Transparency = 5
end)
^^ Is what I have right now, But Im not a scripter so I have no idea. I need a script where if gui is clicked, the hood that is in a morph, it will come off.
I'm going to correct a couple things that you did wrong. First up, transparencies go from 0 to 1. 1 is invisible, 0 is solid. Also, in the first line you put 'game.Players.LocalPlayers' There shouldn't be an 's' there. Here's your script:
plr = game.Players.LocalPlayer script.Parent.MouseButton1Click:connect(function() workspace.hood.Transparency = 1 -- That makes it invisible workspace.hood.CanCollide = false -- That makes it so people can't run into it end)
You didn't really provide too much information, so I assumed that the hood is a part. Hopefully this helped!
Closed as Not Constructive by RubenKan, ChipioIndustries, and shayner32
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?