Upscalefanatic3

Chicken Express BTools Script [FE]

Jan 28th, 2019
2,232
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Game Link: https://www.roblox.com/games/263004020/Chicken-Express-Restaurant
  2.  
  3.  
  4.  
  5. --fe cafe hammertool script only works for Chicken Express Restaurant!--
  6. maind = nil
  7. if workspace:FindFirstChild'GiveSystem' then
  8. if workspace.GiveSystem:FindFirstChild'GiveItem' then
  9. maind = workspace.GiveSystem.GiveItem
  10. end
  11. end
  12. if workspace:FindFirstChild'HandToCentre' then
  13. if workspace.HandToCentre:FindFirstChild'SendItem' then
  14. maind = workspace.HandToCentre.SendItem
  15. end
  16. end
  17. if maind == nil then
  18. print'could not find give event :('
  19. return
  20. end
  21. tool = Instance.new'Tool'
  22. me = game:GetService'Players'.LocalPlayer
  23. tool.RequiresHandle = false
  24. tool.TextureId = 'http://www.roblox.com/asset/?id=12223874'
  25. tool.Name = 'ya like jazz?'
  26. tool.Parent = me.Backpack
  27. buttonf = nil
  28. tool.Equipped:connect(function()
  29. local m = game:GetService'Players'.LocalPlayer:GetMouse()
  30. m.Icon = 'rbxasset://textures/HammerCursor.png'
  31. buttonf = m.Button1Down:connect(function()
  32. if m.Target == nil then return end
  33. local ob = m.Target
  34. if ob:IsA'BasePart' or ob:IsA'WedgePart' then
  35. if ob:IsDescendantOf(me.Character) then return end
  36. m.Icon = 'rbxasset://textures/HammerOverCursor.png'
  37. local ex = Instance.new'Explosion'
  38. ex.BlastRadius = 0
  39. ex.Position = ob.Position
  40. ex.Parent = workspace
  41. maind:FireServer(workspace, ob)
  42. wait(0.3)
  43. m.Icon = 'rbxasset://textures/HammerCursor.png'
  44. end
  45. end)
  46. end)
  47. tool.Unequipped:connect(function()
  48. if buttonf ~= nil then
  49. buttonf:Disconnect()
  50. buttonf = nil
  51. end
  52. local m = game:GetService'Players'.LocalPlayer:GetMouse()
  53. m.Icon = ''
  54. end)
RAW Paste Data