

Local remoteEvent = ReplicatedStorage:WaitForChild("ActivateCrystals")Ĭrystal.Position = startPos + Vector3.new(0,math.sin(tick(), ), 0)Ĭrystal2.Position = startPos2 + Vector3.new(0,math.sin(tick(), ), 0) I then placed a Script inside ServerScriptService, shown below local ReplicatedStorage = game:GetService("ReplicatedStorage")

PPS.PromptTriggered:Connect(onPromptTriggered) Local function onPromptTriggered(ProximityPrompt, plr) Local PPS = game:GetService('ProximityPromptService') Here’s a LocalScript under StarterPlayerScripts local remoteEvent = ReplicatedStorage:WaitForChild("ActivateCrystals") It’s worth noting that my scripting knowledge isn’t at all huge, so this is quite frustrating. I’m trying to get my head around RemoteEvents and how they can be used to trigger a GUI change for all clients, however, as expected, I ran into an issue.
