Advertisement
Migas3456

fe btools empire theater

Jan 3rd, 2018
2,187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. --fe cafe hammertool script cuz im gay--
  2. maind = nil
  3. if workspace:FindFirstChild'GiveSystem' then
  4. if workspace.GiveSystem:FindFirstChild'GiveItem' then
  5. maind = workspace.GiveSystem.GiveItem
  6. end
  7. end
  8. if workspace:FindFirstChild'HandToCentre' then
  9. if workspace.HandToCentre:FindFirstChild'SendItem' then
  10. maind = workspace.HandToCentre.SendItem
  11. end
  12. end
  13. if maind == nil then
  14. print'could not find give event :('
  15. return
  16. end
  17. tool = Instance.new'Tool'
  18. me = game:GetService'Players'.LocalPlayer
  19. tool.RequiresHandle = false
  20. tool.TextureId = 'http://www.roblox.com/asset/?id=12223874'
  21. tool.Name = 'ya like jazz?'
  22. tool.Parent = me.Backpack
  23. buttonf = nil
  24. tool.Equipped:connect(function()
  25. local m = game:GetService'Players'.LocalPlayer:GetMouse()
  26. m.Icon = 'rbxasset://textures/HammerCursor.png'
  27. buttonf = m.Button1Down:connect(function()
  28. if m.Target == nil then return end
  29. local ob = m.Target
  30. if ob:IsA'BasePart' or ob:IsA'WedgePart' then
  31. if ob:IsDescendantOf(me.Character) then return end
  32. m.Icon = 'rbxasset://textures/HammerOverCursor.png'
  33. local ex = Instance.new'Explosion'
  34. ex.BlastRadius = 0
  35. ex.Position = ob.Position
  36. ex.Parent = workspace
  37. maind:FireServer(workspace, ob)
  38. wait(0.3)
  39. m.Icon = 'rbxasset://textures/HammerCursor.png'
  40. end
  41. end)
  42. end)
  43. tool.Unequipped:connect(function()
  44. if buttonf ~= nil then
  45. buttonf:Disconnect()
  46. buttonf = nil
  47. end
  48. local m = game:GetService'Players'.LocalPlayer:GetMouse()
  49. m.Icon = ''
  50. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement