Advertisement
Guest User

Untitled

a guest
Jul 18th, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. tool = Instance.new("Tool", game.Players.LocalPlayer.Backpack)
  2. tool.Name = "'Key card'"
  3. card = Instance.new("Part", game.Players.LocalPlayer.Backpack["'Key card'"])
  4. card.Size = Vector3.new(0.6, 0.1, 0.9)
  5. card.Material = "Glass"
  6. card.Reflectance = 5
  7. card.BrickColor = BrickColor.new("Medium stone grey")
  8. card.Name = "Handle"
  9. card.Touched:connect(function(b)
  10. if b.Parent.Name == "block" then
  11. grandpa = b.Parent.Parent
  12. hi = b.Parent:Clone()
  13. b.Parent:Remove()
  14. grandpa.scn.glow.BrickColor = BrickColor.new("Bright green")
  15. beep = Instance.new("Sound", game.Players.LocalPlayer.Character)
  16. beep.Looped = false
  17. beep.SoundId = "rbxassetid://135232042"
  18. beep.Volume = 2
  19. beep:Play()
  20. wait(2)
  21. hi.Parent = grandpa
  22. grandpa.scn.glow.BrickColor = BrickColor.new("Bright red")
  23. end
  24. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement