White pumpkin animations
Key RequiredUniversal

White pumpkin animations

Universal ScriptFEscript_showcaserFEscript_showcaser 658 views 106 executesUpdated Feb 24, 2026
Unrated
00
Lua Script•196 lines (5194 chars)
local PRIVATE_MODEL_ID = "White Pumpkin"

local Players = game:GetService("Players")
local RunService = game:GetService("RunService")

local Player = Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()
local Humanoid = Character:WaitForChild("Humanoid")
local Root = Character:WaitForChild("HumanoidRootPart")

local WALK_SPEED = 7.5
local RUN_SPEED = 28
local RunMode = false

local Animate = Character:FindFirstChild("Animate")
if Animate then
    Animate.Disabled = true
end

if not getgenv().Animator6DLoadedPro then
	loadstring(game:HttpGet("https://raw.githubusercontent.com/gObl00x/Stuff/refs/heads/main/Animator6D.lua"))()
	repeat task.wait() until getgenv().Animator6DLoadedPro
end

local model = game:GetObjects(getcustomasset(PRIVATE_MODEL_ID..".rbxmx"))[1]
assert(model,"Failed to load White Pumpkin")

local Animations = {}
local function scan(obj)
	if obj:IsA("KeyframeSequence") then
		Animations[obj.Name] = obj
	end
	for _,c in ipairs(obj:GetChildren()) do
		scan(c)
	end
end
scan(model)

local IdleKF = Animations["Idle"]
local WalkKF = Animations["Walk"]
local RunKF = Animations["Run"]
local SlashKF = Animations["Slash"]
local BeheadKF = Animations["Behead"]
local GashKF = Animations["GashingWoundPlayer"]
local GashPlayerKF = Animations["GashingWoundKiller"]
local EnragedStart = Animations["EnragedStart"]
local EnragedStanding = Animations["EnragedStanding"]
local EnragedMoving = Animations["EnragedMoving"]

local currentAnim
local UsingAbility = false
local Raging = false

local activeAbilities = {}

local function PlayAbilityAnim(kf, looped, target)
	if not kf then return end
	local animId = kf.Name..tostring(target or Player)
	activeAbilities[animId] = true
	task.spawn(function()
		getgenv().Animator6D(kf,1,looped~=false,target)
		task.wait(kf.TimeLength)
		activeAbilities[animId] = nil
	end)
end

local function GetNearest()
	local closest
	local dist = math.huge
	for _,plr in pairs(Players:GetPlayers()) do
		if plr ~= Player and plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
			local hrp = plr.Character.HumanoidRootPart
			local d = (hrp.Position - Root.Position).Magnitude
			if d < dist then
				dist = d
				closest = plr
			end
		end
	end
	return closest
end

local function TeleportInFront(targetPlayer)
	if not targetPlayer then return end
	local targetRoot = targetPlayer.Character:FindFirstChild("HumanoidRootPart")
	if not targetRoot then return end
	local forward = targetRoot.CFrame.LookVector
	local newPos = targetRoot.Position + (forward * 4)
	Root.CFrame = CFrame.new(newPos, targetRoot.Position)
end

local function PlayAbility(kf, teleportFn, targetAnim)
	if not kf then return end
	Raging = false
	UsingAbility = true
	if teleportFn then teleportFn() end
	PlayAbilityAnim(kf,false)

	if targetAnim then
		local target = GetNearest()
		if target and target.Character then
			PlayAbilityAnim(targetAnim,false,target)
		end
	end

	task.delay(kf.TimeLength, function()
		UsingAbility = false
	end)
end

local gui = Instance.new("ScreenGui",Player.PlayerGui)
gui.Name = "WhitePumpkinUI"
local frame = Instance.new("Frame",gui)
frame.Size = UDim2.fromScale(0.22,0.55)
frame.Position = UDim2.fromScale(0.02,0.2)
frame.BackgroundColor3 = Color3.fromRGB(20,20,20)
frame.BackgroundTransparency = 0.1
frame.Active = true
frame.Draggable = true
Instance.new("UICorner",frame)
local layout = Instance.new("UIListLayout",frame)
layout.Padding = UDim.new(0,6)

local function MakeButton(text,callback)
	local b = Instance.new("TextButton",frame)
	b.Size = UDim2.new(1,-10,0,40)
	b.Text = text
	b.BackgroundColor3 = Color3.fromRGB(35,35,35)
	b.TextColor3 = Color3.new(1,1,1)
	b.BorderSizePixel = 0
	Instance.new("UICorner",b)
	b.MouseButton1Click:Connect(callback)
end

MakeButton("Slash", function() PlayAbility(SlashKF) end)
MakeButton("Behead", function() PlayAbility(BeheadKF) end)
MakeButton("Gashing Wound", function()
	PlayAbility(GashKF, function()
		local target = GetNearest()
		if target then
			TeleportInFront(target)
		end
	end, GashPlayerKF)
end)
MakeButton("Raging Pace", function()
	if not EnragedStart then return end
	Raging = true
	UsingAbility = true
	PlayAbilityAnim(EnragedStart,false)
	task.delay(EnragedStart.TimeLength, function()
		UsingAbility = false
		PlayAbilityAnim(EnragedStanding,true)
	end)
end)
MakeButton("Run Mode Toggle", function()
	RunMode = not RunMode
	Humanoid.WalkSpeed = RunMode and RUN_SPEED or WALK_SPEED
end)

Humanoid.WalkSpeed = WALK_SPEED

local currentState = nil -- "Idle", "Walk", "Run"

local function SetMovement(state)
	if currentState == state then return end
	currentState = state
	
	if state == "Idle" and IdleKF then
		PlayAbilityAnim(IdleKF,true)
	elseif state == "Walk" and WalkKF then
		PlayAbilityAnim(WalkKF,true)
	elseif state == "Run" and RunKF then
		PlayAbilityAnim(RunKF,true)
	end
end

RunService.RenderStepped:Connect(function()
	if Raging then
		if EnragedMoving then
			PlayAbilityAnim(EnragedMoving,true)
		end
		return
	end

	if Humanoid.MoveDirection.Magnitude > 0 then
		if RunMode then
			SetMovement("Run")
		else
			SetMovement("Walk")
		end
	else
		SetMovement("Idle")
	end
end)

print("White Pumpkin :P")

Features & Information

If the animations don't work go to "White Pumpkin animation enable"

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts