#How to make the item selection menu appear when pressing E on an object

1 messages · Page 1 of 1 (latest)

brazen trench
#

I watched various videos and even asked Neural Network to help me, but nothing works, NOTHING AT ALL, and I can't figure out what the problem is. I tried doing it the last time, as shown in the video I'll link to, because it's the closest to what I want to do. I did everything exactly as shown in the video, but it didn't work for me. Please help me, how to make a system that opens and closes a GUI window on the "e"

video : https://youtu.be/dVcydwOkQhE?si=H-eHjeVdMb1D9EWZ

LocalScript in ScreenGui :
local RemoteEvent = game.ReplicatedStorage:WaitForChild("Opengui") --Variable for the Remote Event in Replicated Storage

RemoteEvent.OnClientEvent:Connect(function() --Code runs when the Remote Event is fired
script.Parent.Frame.Visible = true --Makes the frame visible
end)

Script in part:
local RemoteEvent = game.ReplicatedStorage:WaitForChild("Opengui") --Variable for Remote Event
local prox = script.Parent.ProximityPrompt --Variable for Proximity Prompt

prox.Triggered:Connect(function(player) --Code runs when the Player triggers the Proximity Prompt
RemoteEvent:FireClient(player) --Fires the Remote Event
end)

Script in part :

local RemoteEvent = game.ReplicatedStorage:WaitForChild("Opengui") --Variable for the Remote Event in Replicated Storage

RemoteEvent.OnClientEvent:Connect(function() --Code runs when the Remote Event is fired
script.Parent.Frame.Visible = true --Makes the frame visible
end)

Script:
local RemoteEvent = game.ReplicatedStorage:WaitForChild("Opengui") --Variable for Remote Event
local prox = script.Parent.ProximityPrompt --Variable for Proximity Prompt

prox.Triggered:Connect(function(player) --Code runs when the Player triggers the Proximity Prompt
RemoteEvent:FireClient(player) --Fires the Remote Event
end)

Roblox How To | Press "E" to Open GUI/Frame
In this Roblox Studio Tutorial I show you guys how to use a Proximity Prompt to open a GUI/Frame in Roblox Studio!

Shop Serires/Playlist: https://www.youtube.com/playlist?list=PLBEb-LEvzmg8gGi6WiSTiGpXFJlLyIGqK

Local Script:
local RemoteEvent = game.ReplicatedStorage:WaitForChild("Opengui") --Variabl...

▶ Play video
#

It is probably important to clarify that there should be several working parts that will open the same Gui, preferably an unlimited number.

green rock
#

why do u even look for tutorials

#

for a specific stuff

#

learn how GUI works and how u set their properties and u can do more than just that single thing

#

find "gui scripting tutorial" in yt, if u wanna learn more go to the Roblox forum

little bridge
#

You should set the run context of the server script to local, then receive the gui from the playergui and update the desired gui.

green rock
#

😔

little bridge
#

It made sense in my head 😭

green rock
#

ikwym

#

but idk if she kwym

green rock
#

boom

#

u get on off gui

#

so cool

#

if u don't get that u aint locked in

wind hinge
wind hinge
brazen trench
#

Thank you, but I'm afraid I don't understand much about this. I'd love to hire a scripter who understands this, but I don't have access to the hiring channel. How can I find an assistant, since I don't have the time or energy to learn everything myself?

wind hinge
brazen trench
wind hinge
#

but i mean if you really want to pay someone to correct one single typo well you just need to get to level 5

#

you get that by participating in this community then you can post in #👷︱for-hire

wind hinge
wind hinge
#

you spelled the name of the remote event incorrect

#

its called OpenGui, but you wrote it as Opengui

brazen trench
wind hinge
#

talk about giving up before you even tried

brazen trench
wind hinge
green rock
#

🥰

#

so I just explain and let them figure out 😔

#

haha it didn't work

brazen trench
green rock
#

and compare it to ur old code if it works

wind hinge
#

LocalScript in ScreenGui :

 local RemoteEvent = game.ReplicatedStorage:WaitForChild("OpenGui") --Variable for the Remote Event in Replicated Storage

RemoteEvent.OnClientEvent:Connect(function() --Code runs when the Remote Event is fired
    script.Parent.Frame.Visible = true --Makes the frame visible
end)``` this is fine

Script in part:
```lua

    local RemoteEvent = game.ReplicatedStorage:WaitForChild("OpenGui") --Variable for Remote Event
local prox = script.Parent.ProximityPrompt --Variable for Proximity Prompt

prox.Triggered:Connect(function(player) --Code runs when the Player triggers the Proximity Prompt
    RemoteEvent:FireClient(player) --Fires the Remote Event
end)``` this is fine
brazen trench
# green rock so I just explain and let them figure out 😔

Dude, you're right about one thing: I don't want to figure this out on my own like a pro, just because I genuinely don't have the time in real life. I've already drawn my own conclusions and been given helpful tips; I don't need any more comments like this.

wind hinge
#

maybe the gui.Enabled is set to false so there's no gui to show

brazen trench
peak wolfBOT
#

studio** You are now Level 5! **studio

green rock
#

so basically what I did is I tried solving it in my mind bc Im not on my pc

brazen trench
green rock
#

ok 🥺