Polyrabies
(Polyrabies)
April 19, 2022, 12:58pm
#1
I’m wanting it so it replicates to the server.
However it’s only replicating to the client and F9 doesn’t output any errors.
Here’s my script:
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)
Where’s the other script?
There has to be another script
This may be irrelevant. But remote functions in my game (that previously used to work) are now not working for some people - it’s really on and off but I think perhaps a Roblox bug is going on? They are working fine in studio but in game it’s really bugging out.
Well for the server script i’m unsure of what to put I only put
local ReplicatedStorage = game:GetService(“ReplicatedStorage”)
local remoteEvent = ReplicatedStorage:WaitForChild(“radioremote”)
remoteEvent.OnServerEvent:Connect()
Is that it?
That script is obviously not going to work
And please, but it in a Code Block
Yes that is it I’m unsure of what to do in the server script
Well, that is not going to work. There is literally nothing in the server script for the script to even do. There isn’t even a print statement
How would I get it to do what I put in the local script as I can’t access PLRGUI through the server?