RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"a GUI bot that works as a chatBot where I can ask it anything about roblox studio"
-- LocalScript inside a ScreenGui with a TextBox and a TextLabel local textBox = script.Parent.TextBox local textLabel = script.Parent.TextLabel local chatBotResponses = { ["how to create a part"] = "In Roblox Studio, click on the 'Part' button in the 'Home' tab to create a new part.", ["how to change part color"] = "Select the part, go to the 'Properties' window, and change the 'Color' property.", ["how to group objects"] = "Select multiple objects in the Workspace, right-click, and choose 'Group'.", ["how to add a script"] = "Right-click on the object you want to add a script to, and select 'Insert Object' > 'Script'.", ["how to publish a game"] = "In Roblox Studio, click on 'File' > 'Publish to Roblox'.", } local function askChatBot(question) local response = chatBotResponses[question:lower()] if response then textLabel.Text = response else textLabel.Text = "I'm sorry, I don't have an answer for that question." end end textBox.FocusLost:Connect(function(enterPressed) if enterPressed then askChatBot(textBox.Text) textBox.Text = "" end end)