The title shows my issue, any help would be great, thanks!
Mouse.Button1Up:Connect(function()
if not AnimationDebounce then
if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool") and script.Parent.BoolValue.Value == true and Equip == true then
if script.Parent:FindFirstChild("SelectionBox") then
script.Parent.SelectionBox:Destroy()
end
local Tool = script.Parent
if Tool.Parent == game.Players.LocalPlayer.Character then
if Tool:FindFirstChild("DrinkPart") then
AnimationDebounce = true
if game.Players.LocalPlayer.Character:FindFirstChild("Torso") then
if Equip == true then
script.Parent.RemoteEvent:FireServer()
Animation:Play()
wait(3)
AnimationDebounce = false
end
end
end
end
end
end
end)
