This is what I have so far, it works in studio but not in game..
game.Workspace.CukieCave.CukieChair.DialogPart.Dialog.DialogChoiceSelected:connect(function(player,choice) if choice.Name == "ParkourMission" then local gao = Instance.new("IntValue", game.ReplicatedStorage) local thing = game.ReplicatedStorage:FindFirstChild("Value") if thing then print("Good") end end end)
FE is completely different from Experimental mode.
If you try to insert something into the game that you want the server to see via LocalScript, the server will not acknowledge it. This is what makes games so reinforced and unexploitable. Use a RemoteEvent to create an object, like this.
game.ReplicatedStorage['Create Item']:InvokeServer('Part', workspace)
And when a serverscript catches it, you can do
game.ReplicatedStorage['Create Item'].OnServerInvoke = function(player, part, parent) local Part = Instance.new(part, parent) return Part end
Do NOT try to use it as a event. For some reason, it can be defined but can't be an event. I don't know why.