
Sp_ceYT
I want to implant ChatGPT into my roblox game, but how?
(Client / Local Script)
Error: “Unrecognized request option url”
game.Players.PlayerAdded:Connect(function(player) --Whenever a player joins
player.Chatted:Connect(function(message) --When a player messages
local HttpService = game:GetService("HttpService")
local Success, Err = pcall(function()
Request = HttpService:RequestAsync(
{
url = "https://api.openai.com/v1/completions/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",
method = "GET",
Headers = {
["type"] = "application/json",
["message"] = message,
["id"] = "",
["name"] = "Chatbot"
},
}
)
end)
if not(Success)then --if error
warn(Err)
else --if sucess
print(Request.Body)
end
end)
end)
Popular Windows topics

Hi.
I’m new in WFP (Windows filtering platform) and I have some questions.
I want to create iptables new, established and related rules...
New

(Client / Local Script)
Error: “Unrecognized request option url”
game.Players.PlayerAdded:Connect(function(player) --Whenever a player ...
New

Hello, all.
I am excusing myself beforehand for the not Qt-related question but still, I know that your expertise extends a lot further ...
New

Hello Friends, I am in IT support at an institute.
I have a query in our office, since we have more than 100 computers, we must prepare ...
New

Hello.
My name is Nurlan, I’m from Kazakhstan.
I need the community’s help: I’ve found myself trapped and have been unable to escape fo...
New
Other popular topics

Design and develop sophisticated 2D games that are as much fun to make as they are to play. From particle effects and pathfinding to soci...
New

New

Rust is an exciting new programming language combining the power of C with memory safety, fearless concurrency, and productivity boosters...
New

Learn different ways of writing concurrent code in Elixir and increase your application's performance, without sacrificing scalability or...
New

A few weeks ago I started using Warp a terminal written in rust. Though in it’s current state of development there are a few caveats (tab...
New

Rails 7 completely redefines what it means to produce fantastic user experiences and provides a way to achieve all the benefits of single...
New

Author Spotlight
Dmitry Zinoviev
@aqsaqal
Today we’re putting our spotlight on Dmitry Zinoviev, author of Data Science Essentials in ...
New

I am trying to crate a game for the Nintendo switch, I wanted to use Java as I am comfortable with that programming language. Can you use...
New

I’m able to do the “artistic” part of game-development; character designing/modeling, music, environment modeling, etc.
However, I don’t...
New

Explore the power of Ash Framework by modeling and building the domain for a real-world web application.
Rebecca Le @sevenseacat and ...
New
Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /wasm
- /ruby
- /erlang
- /phoenix
- /keyboards
- /rails
- /js
- /python
- /security
- /go
- /swift
- /vim
- /clojure
- /emacs
- /haskell
- /java
- /onivim
- /typescript
- /svelte
- /kotlin
- /crystal
- /c-plus-plus
- /tailwind
- /react
- /gleam
- /ocaml
- /flutter
- /elm
- /vscode
- /ash
- /html
- /opensuse
- /centos
- /php
- /deepseek
- /zig
- /scala
- /sublime-text
- /textmate
- /lisp
- /debian
- /nixos
- /react-native
- /agda
- /kubuntu
- /arch-linux
- /django
- /revery
- /ubuntu
- /spring
- /manjaro
- /nodejs
- /diversity
- /lua
- /julia
- /slackware
- /c
- /deno