Advertisement
RyanDaCoder

Building

Sep 13th, 2017
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. local a = Instance.new("SpawnLocation")
  2. a.Name = "DeathLocation"
  3. a.Transparency = 1
  4. a.CanCollide = false
  5. a.Orientation = Vector3.new(0, 90, 0)
  6. a.CFrame = CFrame.new(29.8, 210.7, 3.2)
  7. a.Size = Vector3.new(6, 1, 6)
  8. a.Anchored = true
  9. a.Parent = game.Workspace
  10. local part = Instance.new("Part")
  11. part.Size = Vector3.new(46.8, 210.2, 45.2)
  12. part.CFrame = CFrame.new(31.8, 105.1, 20)
  13. part.Anchored = true
  14. part.Parent = game.Workspace
  15. local deathLocationThing = Instance.new("Part")
  16. deathLocationThing.Size = Vector3.new(626, 1, 560.4)
  17. deathLocationThing.CFrame = CFrame.new(-14.2, 0.5, -6.8)
  18. deathLocationThing.Transparency = 1
  19. deathLocationThing.CanCollide = false
  20. deathLocationThing.Parent = game.Workspace
  21.  
  22. function onTouched(g)
  23. g.Parent.Head:Destroy()
  24. end
  25. deathLocationThing.Touched:connect(onTouched)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement