local tool = script.Parent
local handle = tool.Handle
local debounce = false
tool.Activated:Connect(function()
if not debounce then
local plr = game.Players.LocalPlayer
local body = plr.Character:GetDescendants()
debounce = true
plr.Character.Shirt:Destroy()
plr.Character.Pants:Destroy()
for _,v in pairs(body) do
if v:IsA("BasePart") then
v.BrickColor = BrickColor.new("Gold")
v.Material = "Ice"
end
if v.Name == "Head" then
v.Mesh:Destroy()
end
if v:IsA("Accessory") then
v:Destroy()
end
end
end
wait(1)
local bp = Instance.new("BodyPosition")
bp.Parent = handle
handle.Parent = game.Workspace
bp.Position = Vector3.new(handle.Position.X,handle.Position.Y + 50,handle.Position.Z)
local ts = game:GetService("TweenService")
local info = TweenInfo.new(1,Enum.EasingStyle.Linear,Enum.EasingDirection.In,0,true)
local goal = {}
goal.CFrame = goal.CFrame * CFrame.Angles(math.rad(1),math.rad(1),math.rad(1))
local tween = ts:Create(handle,info,goal)
tween:Play()
wait(5)
handle:Destroy()
print("yes")
end)
Here is my full code, the part that is spitting out an error is
local goal = {}
goal.CFrame = goal.CFrame * CFrame.Angles(math.rad(1),math.rad(1),math.rad(1))
Either I didn't learn tweenservice right, cause tables can't have a CFrame value, or I'll need to use a different way to do this.

1 comment
Thanks! Btw, I plan on destroying both the tool and the handle, because the handles parent is set to Workspace.