Basically, I want to make it so a player can not deselect a tool (Or a UMP45) I tried just making it requip every second but it just glitched the gun and make sounds not happen,
Thanks for reading and helping! James Bread
Basically, I want to make it so a player can not deselect a tool (Or a UMP45) I tried just making it requip every second but it just glitched the gun and make sounds not happen,
Thanks for reading and helping! James Bread
If you don't need the user to be able to select anything else, then you could always remove the action bar at the bottom completely
in a local script
local startergui = game:GetService("StarterGui")
startergui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)
don't forget that in the script you have to force equip it.
Well i want it kinda like CB:RO, or Phantom Forces
Then you would need to make a custom equip script.
local tool = game.ReplicatedStorage:WaitForChild("Tool")
game.Players.PlayerAdded:Connect(function(plr)
local playertool = tool:Clone()
playertool.Parent = game.Workspace(player.Name).Character
end)
Also use the script that 123marble showed you so they can't unequip it.
I want it to do the Local player so lets say a new player joins, i want them to spawn with it and not beable to de equip it. Thanks anyway :P
yeh I know, this script says: when a player joins, they have the tool selected straight away. Add the script that 123 marble showed you so they cant unequip it
Ok, Thanks!
your welcome
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Thats mean, forcing someone to hold something