Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Reanimation
- loadstring(game:HttpGet("https://pastebin.com/raw/f6swaHjt"))()
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- local Players = game:GetService("Players")
- local UserInputService = game:GetService("UserInputService")
- local RequestCommand = ReplicatedStorage:WaitForChild("HDAdminHDClient").Signals.RequestCommandModification
- local player = Players.LocalPlayer
- local character = player.Character or player.CharacterAdded:Wait()
- local arm = character:FindFirstChild("Right Arm")
- local humanoid = character:FindFirstChildOfClass("Humanoid")
- local isDead = false
- humanoid.Died:Connect(function()
- isDead = true
- end)
- local animator = humanoid:FindFirstChildOfClass("Animator")
- local attackAnim = Instance.new("Animation")
- attackAnim.AnimationId = "rbxassetid://74909537"
- local attackTrack = animator:LoadAnimation(attackAnim)
- attackTrack.Priority = Enum.AnimationPriority.Action
- function KillTarget(target)
- if target and target.Character then
- local head = target.Character:FindFirstChild("Head")
- if head then
- local args = {
- [1] = "SetLocked",
- [2] = {
- [1] = head
- },
- [3] = false
- }
- remote:InvokeServer(unpack(args))
- task.wait(0.1)
- local args2 = {
- [1] = "Remove",
- [2] = {
- [1] = head
- }
- }
- remote:InvokeServer(unpack(args2))
- end
- end
- end
- local function attack()
- attackTrack:Play()
- local hitPlayer = nil
- local touchedConnection
- local function onTouch(other)
- local otherPlayer = Players:GetPlayerFromCharacter(other.Parent)
- if otherPlayer and otherPlayer ~= player then
- hitPlayer = otherPlayer
- end
- end
- touchedConnection = arm.Touched:Connect(onTouch)
- task.wait(0.5)
- if touchedConnection then
- touchedConnection:Disconnect()
- end
- if hitPlayer then
- RequestCommand:InvokeServer(";music 264486467 ;pitch 0.7")
- KillTarget(hitPlayer)
- task.wait(1)
- RequestCommand:InvokeServer(";unmusic")
- else
- RequestCommand:InvokeServer(";music 211059653 ;pitch 0.7")
- task.wait(1)
- RequestCommand:InvokeServer(";unmusic")
- end
- end
- UserInputService.TouchStarted:Connect(function(input, gameProcessed)
- if gameProcessed then return end
- if isDead then return end
- attack()
- end)
Advertisement
Add Comment
Please, Sign In to add comment