I have a remote event script, OnClientEvent to be specific
when i fire the event, i have the following parameters
--The server firing the event
game.ReplicatedStorage.talkBegin:FireClient(plr, script.Parent.Parent.noteInfo.Criminal.Value,script.Parent.Parent.noteInfo.deathMethod.Value, script.Parent.Parent.Name)
--The client activating it
game.ReplicatedStorage.talkBegin.OnClientEvent:Connect(function(plr, criminal, deathMethod, name)
Now, nothing else gives an error, except the last parameter, which i try to use here
local nameDialogue1 = {
["Prompt"] = "I don't think I ever told you, but my name is "..name..".",
["Options"] = {"Interesting.", "Good to know.", "Stupid name."}
}
Gives the error "Players.iiCant_Read.PlayerGui.talking.talkUi.talkScript:64: attempt to concatenate nil with string "
But “name” shouldn’t be nil…? I don’t think…?
Model
-Click Detector
–Script
So script.Parent.Parent.Name should give me the model’s name, right? So, why is it nil?