So I’m trying to use a remote event to make this script server sided however I’m unsure of how to properly and efficiently reference plrgui from the server and I don’t think you can index it so how would i go about making this server sided?
-- local textboxconfirm = script.Parent.Parent.textboxenter.done
local textbox = script.Parent.Parent.textboxenter.TextBox
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local remoteEvent = ReplicatedStorage:WaitForChild("radioremote")
local callsignframe = script.Parent.Parent.Callsign
textboxconfirm.MouseButton1Click:Connect(function()
local clone = game:GetService("ReplicatedStorage").REPLICATION:Clone()
clone.Parent = script.Parent.Parent.ScrollingFrame
clone.MESSAGE.Text = textbox.Text
clone.CALLSIGN.Text = callsignframe.TextBox.Text
remoteEvent:FireServer()
end)