Advertisement
memesbruh03

MeɘM

Oct 30th, 2016
410
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.42 KB | None | 0 0
  1. function onButton1Down(mouse)
  2.     local p = mouse.Target.Parent:GetChildren()
  3.     for i = 1, #p do
  4.         if p[i].className == ("Humanoid") then
  5.             script.Parent.Parent.Parent.Character = nil
  6.             wait(0.1)
  7.             script.Parent.Parent.Parent.Character = p[i].Parent
  8.         end
  9.     end
  10. end    
  11.  
  12. function onSelected(mouse)
  13.     mouse.Icon = "rbxasset://textures\\GunCursor.png"
  14.     mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement