Answered by
4 years ago Edited 4 years ago
I can't make the entire script for you because I only know very little on how to script that. But somethings that you should learn about for this situation are datastores and remote events. But I'll give you the script for the gui popup for you.
So first, you need to add a remote event to replicated storage, next add a click detector into the part you want to be clicked. Next, add a script into server script service and type this:
1 | game.Workspace.Part.ClickDetector.MouseClick:Connect( function (Click) |
2 | game.ReplicatedStorage.OpenGui:FireClient(Click) |
Next make a screengui and insert a local script into startergui and type this:
1 | game.ReplicatedStorage.OpenGui.OnClientEvent:Connect( function () |
2 | script.Parent.ScreenGui.Enabled = true |