Advertisement
memberhero

script hub

Dec 17th, 2017
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.26 KB | None | 0 0
  1. -- Objects
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local ScrollingFrame = Instance.new("ScrollingFrame")
  5. local Logo = Instance.new("TextButton")
  6. local Script1 = Instance.new("TextButton")
  7.  
  8. -- Properties
  9. for i,v in next, game.Players:GetChildren() do
  10. ScreenGui.Parent = v.PlayerGui
  11. end
  12.  
  13. ScrollingFrame.Parent = ScreenGui
  14. ScrollingFrame.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  15. ScrollingFrame.Position = UDim2.new(0.764636993, 0, 0.0109546166, 0)
  16. ScrollingFrame.Size = UDim2.new(0, 195, 0, 639)
  17.  
  18. Logo.Name = "Logo"
  19. Logo.Parent = ScrollingFrame
  20. Logo.BackgroundColor3 = Color3.new(0, 0, 0)
  21. Logo.Size = UDim2.new(0, 200, 0, 50)
  22. Logo.Font = Enum.Font.SciFi
  23. Logo.Text = "script hub by bass"
  24. Logo.TextColor3 = Color3.new(1, 1, 1)
  25. Logo.TextSize = 14
  26.  
  27. Script1.Name = "Script1"
  28. Script1.Parent = ScrollingFrame
  29. Script1.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  30. Script1.Position = UDim2.new(-0.025641026, 0, 0.0579029731, 0)
  31. Script1.Size = UDim2.new(0, 200, 0, 50)
  32. Script1.Font = Enum.Font.SourceSans
  33. Script1.Text = "Ban Hammer"
  34. Script1.TextColor3 = Color3.new(1, 1, 1)
  35. Script1.TextSize = 14
  36. Script1.MouseButton1Down:connect(function()
  37. --Ban hammer script by basstracker1970
  38. print("BAN!")
  39. Humanoid = game.Players.LocalPlayer.Character.Humanoid
  40. Player = game.Players.LocalPlayer
  41. tool = Instance.new("Tool")
  42. tool.Name = "BAN!"
  43. tool.Parent = game.Players.LocalPlayer.Backpack
  44. handle = Instance.new("Part")
  45. handle.Name = "Handle"
  46. handle.Parent = tool
  47. Animation = Instance.new("Animation")
  48. Animation.AnimationId = "rbxassetid://32659706"
  49. Animation.Name = "AnAnimation"
  50. Animation.Parent = tool
  51. mesh = Instance.new("SpecialMesh")
  52. mesh.Scale = Vector3.new(0.5, 0.5, 0.5)
  53. mesh.MeshId = "rbxassetid://10604848"
  54. mesh.TextureId = "rbxassetid://10605252"
  55. mesh.Parent = handle
  56. Humanoid.WalkSpeed = 80
  57. tool.Equipped:connect(function()
  58. ban = Instance.new("Sound")
  59. ban.SoundId = "rbxassetid://147722910"
  60. ban.Parent = handle
  61. ban:Play()
  62. tool.Activated:connect(function()
  63. ban2 = Instance.new("Sound")
  64. ban2.SoundId = "rbxassetid://147722910"
  65. ban2.Parent = handle
  66. ban2:Play()
  67. local animtrack = Player.Character.Humanoid:LoadAnimation(Animation)
  68. animtrack:Play()
  69. handle.Touched:connect(function(ban3)
  70. ban3:Remove()
  71. end)
  72. end)
  73. end)
  74. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement