print("Thanks for using im2awsm's Kazotsky Kick tool! :D") wait(1) local idleAnim = script.Parent.IdleAnim local style = script.Parent.CurrentStyle local hasMusic = false local maxStyles = 4 local style1 = "rbxassetid://" .. "273640835" local style2 = "rbxassetid://" .. "273644525" local style3 = "rbxassetid://" .. "273649489" local style4 = "rbxassetid://" .. "273660282" script.Parent.Equipped:connect(function(mouse) character = script.Parent.Parent player = game.Players:GetPlayerFromCharacter(character) idlePlay = character.Humanoid:LoadAnimation(idleAnim) character.Humanoid.WalkSpeed = 16 idlePlay:Play() styleGui = script.Parent.StyleGui:Clone() styleGui.Parent = player.PlayerGui styleGui.Frame.Visible = true styleGui.Frame.Number.Text = style.Value if hasMusic == false then sound = Instance.new("Sound", player) sound.SoundId = "rbxassetid://537549688" sound.Looped = true hasMusic = true end sound:Play() styleGui.Frame.Plus.MouseButton1Down:connect(function() if style.Value + 1 ~= maxStyles + 1 then style.Value = style.Value + 1 script.Parent.ToolTip = "Current Style: " .. style.Value styleGui.Frame.Number.Text = style.Value animChange() end end) styleGui.Frame.Minus.MouseButton1Down:connect(function() if style.Value - 1 ~= 0 then style.Value = style.Value - 1 script.Parent.ToolTip = "Current Style: " .. style.Value styleGui.Frame.Number.Text = style.Value animChange() end end) end) function animChange() idlePlay:Stop() if style.Value == 1 then idleAnim.AnimationId = style1 idlePlay = character.Humanoid:LoadAnimation(idleAnim) idlePlay:Play() elseif style.Value == 2 then idleAnim.AnimationId = style2 idlePlay = character.Humanoid:LoadAnimation(idleAnim) idlePlay:Play() elseif style.Value == 3 then idleAnim.AnimationId = style3 idlePlay = character.Humanoid:LoadAnimation(idleAnim) idlePlay:Play() elseif style.Value == 4 then idleAnim.AnimationId = style4 idlePlay = character.Humanoid:LoadAnimation(idleAnim) idlePlay:Play() end end script.Parent.Unequipped:connect(function(mouse) sound:Stop() idlePlay:Stop() styleGui:Destroy() character.Humanoid.WalkSpeed = 16 end)