local UIS = game:GetService(“UserInputService”)
local Players = game:GetService(“Players”)
local Player = game.Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()
print(“charloaded”)
local Humanoid = Character:WaitForChild(“Humanoid”)
local IsBlocking = Character:WaitForChild(“IsBlocking”)
local IsAttacking = Character:WaitForChild(“IsAttacking”)
local IsRunning = Character:WaitForChild(“IsRunning”)
local IsStun = Character:WaitForChild(“IsStun”)
rest of code not too relevant but the print statement activates meaning the entire code refreshes for every other character loading in to the game, printing to the player clients console. this messes up some animations.