local player = game.Players.LocalPlayer
y = 1
x = game.Lighting["Baton"]:Clone();
game:GetService("UserInputService").InputBegan:connect(function(inputObject, gameProcessedEvent)
if inputObject.KeyCode == Enum.KeyCode.E then
if y == 1 then
player.Character.Humanoid:EquipTool(x)
y = 2
game.player.PlayerGui.InventoryGui.Frame.Frame.E.BorderColor3 = 13, 120, 177
elseif y == 2 then
player.Character.Humanoid:UnequipTools()
y = 1
end
end
end)
this my script the part that's not working is game.player.PlayerGui.InventoryGui.Frame.Frame.E.BorderColor3 = 13, 120, 177 its spost to make border color different

2 comments
thanks
nextime ill be more carful