Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I make a tool activate a frame?

My attempt with no errors:

local Tool = script.Parent -- Get tool
 
Tool.Equipped:Connect(function(Mouse) -- When tool equipped
	Mouse.Button1Down:Connect(function() -- When tool is used
		script.Parent.Parent.PlayerGui.MainScreenGui.Information.Visible = true
	end)
end)

However, it does not do what it's supposed to do.

2 answers

Since a frame is part of a gui which is a client thing, you could try to use a remote event that, when the tool is activated, is fired and then shows the gui?

This discussion is preserved as it was. New answers, comments, and votes are closed.