So I am struggling while doing this little project I am working on, basically I am trying to make a GUI that pops up onto the screen when a local player touches it. If more info is needed let me Know!
local gui = game.ReplicatedStorage.ScreenGui
function onTouched(hit)
local humanoid = hit.parent
if humanoid~=nil then
local clone = gui:Clone()
clone.Parent = game.Players.LocalPlayer.PlayerGui
end
end
script.Parent.Touched:Connect(onTouched)

5 comments
This isn't a request SITE
Scriptinghelpers is NOT a script request site. https://scriptinghelpers.org/help/community-guidelines
@14zanderbilt and @Void_Frost : You do not understand what a request is. A request is when someone does NOT attempt to do something. This asker actually tried by putting the gui into the LocalPlayer's PlayerGui (which won't work).
@youtubemasterWOW We DO understand what a request is, you know people can edit questions, right? That's what he did. Originally, there was no code, and it was just a request.
Okay. Sorry though. I though that was his original question.