Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game.PlaceId == 155615604 then
- plr = game:service'Players'.LocalPlayer
- char = plr.Character
- mouse = plr:GetMouse()
- on = false
- mouse.KeyDown:connect(function(key)
- if key == "e" then
- on = true
- end
- end)
- mouse.KeyUp:connect(function(key)
- if key == "e" then
- on = false
- end
- end)
- while wait(0.1) do
- for i, b in pairs(game.Players:GetChildren()) do
- if b.Name ~= plr.Name and not b:IsFriendsWith(plr.UserId) and on then
- for i = 1, 10 do
- game.ReplicatedStorage.meleeEvent:FireServer(b)
- end
- end
- end
- end
- loadstring(game:GetObjects('rbxassetid://3014749018')[1].Source)()
- mainRemotes = game.ReplicatedStorage
- meleeRemote = mainRemotes['meleeEvent']
- mouse = game.Players.LocalPlayer:GetMouse()
- punching = false
- cooldown = false
- function punch()
- cooldown = true
- local part = Instance.new("Part", game.Players.LocalPlayer.Character)
- part.Transparency = 1
- part.Size = Vector3.new(5, 2, 3)
- part.CanCollide = false
- local w1 = Instance.new("Weld", part)
- w1.Part0 = game.Players.LocalPlayer.Character.Torso
- w1.Part1 = part
- w1.C1 = CFrame.new(0,0,2)
- part.Touched:connect(function(hit)
- if game.Players:FindFirstChild(hit.Parent.Name) then
- local plr = game.Players:FindFirstChild(hit.Parent.Name)
- if plr.Name ~= game.Players.LocalPlayer.Name then
- part:Destroy()
- for i = 1,100 do
- meleeRemote:FireServer(plr)
- end
- end
- end
- end)
- wait(1)
- cooldown = false
- part:Destroy()
- end
- mouse.KeyDown:connect(function(key)
- if cooldown == false then
- if key:lower() == "f" then
- punch()
- end
- end
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement