- i maked a script that when player clicks X it play an floruish anim so when player unequipped tool it still can play it
video:
script:
UserInputService.InputEnded:Connect(function(Key, IsTyping)
if Key.KeyCode == Enum.KeyCode.F and Equipped and not IsTyping then
charging:Stop()
chargingidle:Stop()
wait()
ReplicatedStorage.Events.BindableEvents.MoveChar:Fire(Player)
Hitbox:HitStart(0.24)
chargingSwing:Play()
end
end)
UserInputService.InputEnded:Connect(function(Key, IsTyping)
if Key.KeyCode == Enum.KeyCode.X and Equipped and not IsTyping then
inspect:Play()
end
end)
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.