hello im trying to make it so the player cant unequipt there flashlight since thats not a feature i want. how would i do this?
i tried making an animation and i set the priority to core but it only works when im holding the flashlight and doesnt lock the player from unequipting it.
script: (i put in player scripts)
local Players = game:GetService("Players")
local Character = Players.LocalPlayer.Character
if not Character then
Character = Players.LocalPlayer.CharacterAdded:Wait()
end
local humanoid = Character:WaitForChild("Humanoid")
local myanimegirl = Instance.new("Animation")
myanimegirl.AnimationId = "rbxassetid://8466085144"
local myanimegirltoplay = humanoid:LoadAnimation(myanimegirl)
while true do
print("Playing")
myanimegirltoplay:Play()
wait(2)
end
unequipting the flashlight in my game is malicious and explotious since it ruins the experience unfairly for other players bringing users away from the roblox community and potentially hindering others from experiencing a creative enviroment killing there aspirations and dreams of things like developing for roblox.
this is why its essential this malicious issue needs to be fixed