local replicated = game:GetService("ReplicatedStorage")
local debris = game:GetService("Debris")
local skill1Event = replicated:WaitForChild("Skill1Event")
skill1Event.OnServerEvent:Connect(function(player)
local char = player.Character
if not char then return end
local humanoid = char:FindFirstChildOfClass("Humanoid")
local hrp = char:FindFirstChild("HumanoidRootPart")
local arm = char:FindFirstChild("Right Arm") or char:FindFirstChild("RightUpperArm")
if not (humanoid and hrp and arm) then return end
humanoid.WalkSpeed = 0
local anim = Instance.new("Animation")
anim.AnimationId = "rbxassetid://132561658547251"
local track = humanoid:LoadAnimation(anim)
track:Play()
replicated.Skill1sound:Play()
local vfx1 = workspace:FindFirstChild("WaveVFX"):Clone()
vfx1.CFrame = arm.CFrame
vfx1.Anchored = false
vfx1.CanCollide = false
vfx1.Parent = char
local weld = Instance.new("Weld")
weld.Part0 = arm
weld.Part1 = vfx1
weld.Parent = vfx1
weld.C0 = CFrame.new(0, -1.5, 0)
debris:AddItem(vfx1, 1)
task.wait(1)
local hitbox = workspace:FindFirstChild("Hitbox"):Clone()
hitbox.Anchored = true
hitbox.CanCollide = false
hitbox.CFrame = hrp.CFrame
hitbox.Parent = workspace
debris:AddItem(hitbox, 0.5)
local hitonce = {}