Hello i have a script where im changing the players idle animation i show up perfectly for the player thats doing it
but then it looks horrible to the rest of the people in the server, and when changing it back, it changesfor the player who did it but not for the server
Is the script local script? If it is, I advise you to use Remote functions to a Server Script, unless its a touched script then use Server Script instead of local script. May I See your script?
So if i get this, when the players idle animation changes to a new idle animation, the new idle animation looks good to the Player but not the server? Also show scripts with class names
UIS.InputBegan:Connect(function(input, gameProccessed)
if input.KeyCode == Enum.KeyCode.Q and not gameProccessed then
if Player.Name == "Distorterist" or "DistrustDexv" or "geuiol" then
if script.BasicCombatOn.Value == false then
local HumanoidRootPart = Character.HumanoidRootPart
local AirEffect2 = game.ReplicatedStorage.Effects.ChangeGear:Clone()
AirEffect2.Parent = workspace
AirEffect2.Position = HumanoidRootPart.Position
AirEffect2.ShockWaveEffect:Emit(1)
Debris:AddItem(AirEffect2, 1)
script.BasicCombatOn.Value = true
script.ChangeIdle:FireServer()
wait(0.1)
Character.HumanoidRootPart.Velocity = Character.HumanoidRootPart.CFrame.lookVector * 1
elseif script.BasicCombatOn.Value == true then
local HumanoidRootPart = Character.HumanoidRootPart
local AirEffect2 = game.ReplicatedStorage.Effects.ChangeGear:Clone()
AirEffect2.Parent = workspace
AirEffect2.Position = HumanoidRootPart.Position
AirEffect2.ShockWaveEffect:Emit(1)
Debris:AddItem(AirEffect2, 1)
script.BasicCombatOn.Value = false
script.ChangeIdleBack:FireServer()
wait(0.1)
Character.HumanoidRootPart.Velocity = Character.HumanoidRootPart.CFrame.lookVector * 1
end
end
end
end)