#remote event sending instance instead of string

1 messages · Page 1 of 1 (latest)

livid lily
#

for some reason, the remote sends from the client an instance instead of string

#

localscript function:

local function send()
    remote:FireServer(
        personTextValue.Value,--stringValue
        textValue.Value,--stringValue
        colorValue.Value,--color3value
        speedValue.Value --stringValue
    )
end
#

server script:

local function dialog(person , text, color , speed)
    local s = game.SoundService.DialogueSounds.Talk2
    
    local personMae = script.DialogueThing.PersonText
    personMae.Value = person
    
    local colorThing = script.DialogueThing.ColorValue
    colorThing.Value = color
    
    local speedthinf = script.DialogueThing.Speed
    speedthinf.Value = speed
    
    local textThing = script.DialogueThing.MesageText
    textThing.Value = text
    
    sendDialogue:FireAllClients(personMae.Value,textThing.Value,colorThing.Value,s,speedthinf.Value)
end

recieveDialoge.OnServerEvent:Connect(dialog)
livid lily
#

ohhh