On equip item = active gui

Not to sure how about im going to do this, If i can have help that would be great!

(Im activing a frame)

you mean like making a frame visible when a tool is equipped? right?

This script is parented with a tool

local frame = nil
local tool = script. Parent
tool. Equipped:Connect(function()
       local User = tool. Parent
       local PlayerUser = game. Players:WaitForChild(User. Name)
       local GUI = PlayerUser:WaitForChild("PlayerGui")
       frame = GUI:WaitForChild("frame")
       frame. Visible = true
end)

tool. UnEquipped:Connect(function()
       frame. Visible = false
end)

Yeah, That is what I mean aha
:slight_smile:

then Mega Alaa script should work just a little fix to the frame directory and it’s perfect

??? Please explain for me please


       frame = GUI:WaitForChild("frame")

change this with the frame directory if you want you can send here a screenshot of your sterter gui so i can adapt it