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
Reading something? Working on something? Planning something? Changing jobs even!?
If you’re up for sharing, please let us know what you’...
New
If it’s a mechanical keyboard, which switches do you have?
Would you recommend it? Why?
What will your next keyboard be?
Pics always w...
New
Ruby, Io, Prolog, Scala, Erlang, Clojure, Haskell. With Seven Languages in Seven Weeks, by Bruce A. Tate, you’ll go beyond the syntax—and...
New
Write Elixir tests that you can be proud of. Dive into Elixir’s test philosophy and gain mastery over the terminology and concepts that u...
New
I know that these benchmarks might not be the exact picture of real-world scenario, but still I expect a Rust web framework performing a ...
New
Was just curious to see if any were around, found this one:
I got 51/100:
Not sure if it was meant to buy I am sure at times the b...
New
Author Spotlight
Mike Riley
@mriley
This month, we turn the spotlight on Mike Riley, author of Portable Python Projects. Mike’s book ...
New
I have always used antique keyboards like Cherry MX 1800 or Cherry MX 8100 and almost always have modified the switches in some way, like...
New
Build modern server-driven web applications using htmx. Whatever programming language you use, you’ll write less (and cleaner) code.
...
New
Open-source implementation of the classic GTA engine now running directly in your browser. Experience the reVC technology demo on DOS.Zon...
New
Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /wasm
- /ruby
- /erlang
- /phoenix
- /keyboards
- /python
- /js
- /rails
- /security
- /go
- /swift
- /vim
- /java
- /clojure
- /typescript
- /emacs
- /haskell
- /svelte
- /onivim
- /kotlin
- /react
- /c-plus-plus
- /crystal
- /tailwind
- /gleam
- /ocaml
- /elm
- /vscode
- /flutter
- /html
- /ash
- /deepseek
- /zig
- /opensuse
- /centos
- /php
- /react-native
- /scala
- /lisp
- /textmate
- /sublime-text
- /nixos
- /debian
- /agda
- /deno
- /django
- /kubuntu
- /nodejs
- /arch-linux
- /spring
- /ubuntu
- /revery
- /manjaro
- /julia
- /lua
- /quarkus
- /diversity
- /markdown









