Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Objects
- local ScreenGui = Instance.new("ScreenGui")
- local ScrollingFrame = Instance.new("ScrollingFrame")
- local Logo = Instance.new("TextButton")
- local Script1 = Instance.new("TextButton")
- -- Properties
- for i,v in next, game.Players:GetChildren() do
- ScreenGui.Parent = v.PlayerGui
- end
- ScrollingFrame.Parent = ScreenGui
- ScrollingFrame.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- ScrollingFrame.Position = UDim2.new(0.764636993, 0, 0.0109546166, 0)
- ScrollingFrame.Size = UDim2.new(0, 195, 0, 639)
- Logo.Name = "Logo"
- Logo.Parent = ScrollingFrame
- Logo.BackgroundColor3 = Color3.new(0, 0, 0)
- Logo.Size = UDim2.new(0, 200, 0, 50)
- Logo.Font = Enum.Font.SciFi
- Logo.Text = "script hub by bass"
- Logo.TextColor3 = Color3.new(1, 1, 1)
- Logo.TextSize = 14
- Script1.Name = "Script1"
- Script1.Parent = ScrollingFrame
- Script1.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- Script1.Position = UDim2.new(-0.025641026, 0, 0.0579029731, 0)
- Script1.Size = UDim2.new(0, 200, 0, 50)
- Script1.Font = Enum.Font.SourceSans
- Script1.Text = "Ban Hammer"
- Script1.TextColor3 = Color3.new(1, 1, 1)
- Script1.TextSize = 14
- Script1.MouseButton1Down:connect(function()
- --Ban hammer script by basstracker1970
- print("BAN!")
- Humanoid = game.Players.LocalPlayer.Character.Humanoid
- Player = game.Players.LocalPlayer
- tool = Instance.new("Tool")
- tool.Name = "BAN!"
- tool.Parent = game.Players.LocalPlayer.Backpack
- handle = Instance.new("Part")
- handle.Name = "Handle"
- handle.Parent = tool
- Animation = Instance.new("Animation")
- Animation.AnimationId = "rbxassetid://32659706"
- Animation.Name = "AnAnimation"
- Animation.Parent = tool
- mesh = Instance.new("SpecialMesh")
- mesh.Scale = Vector3.new(0.5, 0.5, 0.5)
- mesh.MeshId = "rbxassetid://10604848"
- mesh.TextureId = "rbxassetid://10605252"
- mesh.Parent = handle
- Humanoid.WalkSpeed = 80
- tool.Equipped:connect(function()
- ban = Instance.new("Sound")
- ban.SoundId = "rbxassetid://147722910"
- ban.Parent = handle
- ban:Play()
- tool.Activated:connect(function()
- ban2 = Instance.new("Sound")
- ban2.SoundId = "rbxassetid://147722910"
- ban2.Parent = handle
- ban2:Play()
- local animtrack = Player.Character.Humanoid:LoadAnimation(Animation)
- animtrack:Play()
- handle.Touched:connect(function(ban3)
- ban3:Remove()
- end)
- end)
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement