Advertisement
Previized

ROBLOX Admin Door - Script

May 28th, 2016
21,116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.38 KB | None | 0 0
  1. Admins = {['YOUR NAME'] = true, ['FRIENDS NAME'] = true, ['FRIENDS NAME'] = true, ['Player1'] = true, ['FiredDusk'] = true}
  2.  
  3. Part = script.Parent
  4.  
  5. Part.Touched:connect(function(hit)
  6.     if Admins[hit.Parent.Name] then
  7.         Part.CanCollide = false
  8.         Part.Transparency = .5
  9.         wait(1)
  10.         Part.CanCollide = true
  11.         Part.Transparency = 0
  12.     else
  13.         hit.Parent:BreakJoints()
  14.     end
  15. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement