Quick actions

cmd+k|ctrl+k

Navigation

Languages

fortnight

Snippet info

Language

Lua

Visibility

public

Author

zen

Created

2024-01-02T10:54:34.894891Z

Updated

2024-01-02T10:57:20.805093Z

script.Parent = owner.Character

local runService = game:GetService("RunService")
local tweenService = game:GetService("TweenService")

local character: Model = owner.Character or owner.CharacterAdded:Wait()

local humanoid: Humanoid = character:WaitForChild("Humanoid")
local animator: Animator = humanoid:WaitForChild("Animator")

local KSP = loadstring(game:GetService("HttpService"):GetAsync("https://glot.io/snippets/gs2b7nwhij/raw/main.lua"))()

local animator = KSP.newAnimator(character)

local assets = LoadAssets(15843704224)
local animation = assets:Get("Default")

local track = animator:LoadAnimation(animation)
track.Looped = true
track:Play()
INFO