WinslowMau

Untitled

Apr 26th, 2017
292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. local Me = game.Players.WinslowMau
  2. Attkin = false
  3.  
  4. if script.Parent.className ~= "HopperBin" then
  5. local h = Instance.new("HopperBin", Me.Backpack)
  6. h.Name = "teleport"
  7. script.Parent = h
  8. end
  9.  
  10. local bin = script.Parent
  11.  
  12. function onSelected(mouse)
  13. mouse.Button1Down:connect(function()
  14. Me.Character.Torso.CFrame = CFrame.new(mouse.hit.p) + Vector3.new(0, 5, 0)
  15. end)
  16. mouse.KeyDown:connect(function(key)
  17. if key == "q" then
  18. end
  19. end)
  20. end
  21.  
  22. function onDesel(mouse)
  23. end
  24.  
  25. bin.Selected:connect(onSelected)
  26. bin.Deselected:connect(onDesel)
Add Comment
Please, Sign In to add comment