Universal Script 📌
4.6k Views
2.4k Executions

Jeff The Killers Swing Animation Server-Sided

Universal Script 📌
XxLemon_WolfyxX
XxLemon_WolfyxX100K executions
7 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

This one supports R6, not R15. The Animation can be triggered by Z, and you can spam it too! No bugs at all. It even works if you respawned!

View Raw
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local player = Players.LocalPlayer

local hitId       = "rbxassetid://54584713" -- the swing animation, is replacable and supports r15 or r6
local hitSpeed    = 1.0 -- speed of the animation i suppose
local hitFadeTime = 0.1 -- how smooth can the animation end
local hitPriority = Enum.AnimationPriority.Action -- layers of animation, now above idle and walk (and run, and jump, and fall)

local hitAnim = Instance.new("Animation")
hitAnim.AnimationId = hitId

local currentHitTrack = nil

local function playHit()
    local char = player.Character
    if not char or not currentHitTrack then
        return
    end

    if currentHitTrack.IsPlaying then
        currentHitTrack.TimePosition = 0
    else
        currentHitTrack:Play(hitFadeTime, 1, hitSpeed)
    end
end

UserInputService.InputBegan:Connect(function(input, gameProcessed)
    if gameProcessed then return end
    if input.KeyCode == Enum.KeyCode.Z then
        playHit()
    end
end)

local function setupCharacter(character)
    if currentHitTrack then
        if currentHitTrack.IsPlaying then
            currentHitTrack:Stop(0)
        end
        currentHitTrack:Destroy()


Comments

1
Log in to join the conversation. Login
XxLemon_WolfyxX's profile picture
XxLemon_WolfyxXUploader7 months ago

it also supports the rest of the animation in this specific link: https://scriptblox.com/script/Universal-Script-FE-jeff-the-killer-animation-48979

1

More universal scripts

See all
Script hub
376
1.7k
Bumped 23 minutes ago
Key System
Script hub
78
18
Approved 3 hours ago

Script hub

Blythe

Universal Script 📌
122
289
Approved 4 hours ago
Universal Script 📌
139
605
Approved 4 hours ago
Universal Script 📌
1.9k
7.2k
Bumped 6 hours ago
Universal Script 📌
7.9k
13.3k
Bumped 7 hours ago