So, I want you to get a screengui on your screen if you're not a certain rank in the group. that says "You're not permitted to enter this area!" and if you are a certain rank I want it to change the transparency and change it to cannot collide.
script.Parent.Touched:Connect(function() if game.Players.LocalPlayer:GetRankInGroup (3282666) (255) = false then game.StarterGui.ScreenGui.Enabled = true if game.Players.LocalPlayer:GetRankInGroup (3282666) (255) = true then script.Parent.CanCollide = false script.Parent.Transparency = 0.5 end end

2 comments
Can you edit your question and add the script in the LUA box?
You didn't provide your Lua code properly. This is taken as too broad!