Advertisement
Gmodmoney2

Untitled

Jun 17th, 2016
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. me = game.Players.GmodMoney
  2.  
  3. if script.Parent.className ~= "HopperBin" then
  4. bin = Instance.new("HopperBin")
  5. bin.Name = "Staff"
  6. bin.Parent = me.Backpack
  7. script.Parent = bin
  8. end
  9.  
  10. sp = script.Parent
  11.  
  12. function onKeyDown(key, mouse)
  13. key=key:lower()
  14. if key ~= nil then
  15.  
  16. if key=="f" then
  17. rightarm = game.workspace.acb227.Torso["Right Shoulder"]
  18. rightarm.C0 = rightarm.C0 * CFrame.Angles(0,0,math.rad(90))
  19. wait(2)
  20. rightarm = game.workspace.acb227.Torso["Right Shoulder"]
  21. rightarm.C0 = rightarm.C0 * CFrame.Angles(0,0,math.rad(-90))
  22. end
  23. end
  24. end
  25.  
  26. function selected(mouse)
  27. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  28. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  29. mouse.Button1Up:connect(function() onButton1Up(mouse) end)
  30. mouse.KeyDown:connect(function(key) onKeyDown(key, mouse) end)
  31. end
  32.  
  33. function deselected()
  34.  
  35. end
  36.  
  37. sp.Selected:connect(selected)
  38. sp.Deselected:connect(deselected)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement