Not sure why this is not working, there’s no errors being outputted.
Might be because I might’ve forgot something, or just a really weird bug.
This is the script:
local replicatedstorage = game:GetService("ReplicatedStorage")
local rt = replicatedstorage:WaitForChild("Explode")
local debris = game:GetService("Debris")
local animationid = "rbxassetid://13300148301"
local animation = Instance.new("Animation")
animation.AnimationId = animationid
rt.OnServerEvent:Connect(function(plr, handle, mousex, mousez, mouse)
local char = plr.Character
local hum = char.Humanoid
local animator = hum.Animator
local loadanim = animator:LoadAnimation(animation)
loadanim:Play()
task.wait(0.18)
--- ignore the part below this
local clone = handle:Clone()
clone.CFrame = plr.Character.Torso.CFrame:ToWorldSpace(CFrame.new(0,0,-10))
clone.Parent = workspace
end)