Advertisement
Guest User

Untitled

a guest
Jul 20th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.38 KB | None | 0 0
  1. buttton = Instance.new("Part",game.Workspace)
  2. buttton.Name = "but"
  3. buttton.CFrame=buttton.CFrame * CFrame.new(20,0,20)
  4. buttton.Size= Vector3.new(1,1,1)
  5. cll= Instance.new("ClickDetector",buttton)
  6. buttton.TopSurface = Enum.SurfaceType.Smooth
  7. buttton.Material = "Neon"
  8. buttton.BrickColor=BrickColor.new("Bright red")
  9. cll.mouseClick:connect(function(p)
  10.     p.Character.Head:Destroy()
  11. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement