Hello devs i creating forum in my roblox game !
12:56:23.678 ServerScriptService.MainForum.Post:12: invalid argument #3 (string expected, got Instance) - Server - Post:12
game.ReplicatedStorage.NewTopic.OnServerEvent:Connect(function(TopicName, TopicDecsr, TopicCreator)
--//File Name: Post.lua
--//File Creator: Miras_fan_/izdenov_miras
--//Local Modules
local ForumTopicsModule = require(script.Parent.Sync.ForumTopics)
local Template = game.ServerStorage.TheTopics.TopicTemplate:Clone()
--//Script Locals
local Players = game:GetService("Players")
--//Main Script
Template.Parent = game.ServerStorage.TheTopics
Template.Name = TopicName --// Error Here!
Template.TopicName.Value = TopicName
Template.Desc.Value = TopicDecsr
Template.Creator.Value = TopicCreator
end)
the button script
script.Parent.MouseButton1Click:Connect(function()
game.ReplicatedStorage.NewTopic:FireServer("Testing Forum", "ForumTesting", game.Players.LocalPlayer.Name)
end)