Categories > Coding > Lua >

Bad argument to 'HttpGet'

Posts: 2014

Threads: 198

Joined: Apr, 2021

Reputation: 16

Posted

Hi.

So I am trying to make a simple loadstring script to a check.php file that basically checks the given key.

However, when I am trying to execute the script, this error occurs:

10:05:55 -- Bad argument to 'game:HttpGet' | Url should contain http:// or https://
Stack begin
Script '', Line 3
Stack End

 

The script I am using:

local key = "helloworld"
local url = "http://winware.ezyro.com/check.php?key="
local Response = loadstring(game:HttpGet(url and key))()
print(Response)

 

Now, before you post anything, if you want to say stop using php, just shut up, no one asked for your opinion what langauge should I use. I am basically asking, what is wrong with my code, or how can I edit it to make it work.

 

Thanks.

  • 1

Random quote here...

Cyros

Revision

Posts: 1060

Threads: 49

Joined: Feb, 2021

Reputation: 20

Replied

Do url .. key instead of url and key, and is for something like if A and B then

  • 1

We Hate VOID

Posts: 3

Threads: 1

Joined: May, 2022

Reputation: 0

Replied

honestly i dont think you should be "making" full on roblox cheats if you dont know lua lol

 

 

edit: just realised its called "winware" and ur using a free host, ur not going to get far, especially not with php and a free host

 

if you dont know what .. is you should think about naming it "loseware"

key whitelist system as well, gonna get cracked in 6 minutes max

 

just sayin like

learn lua

  • 0

Posts: 2014

Threads: 198

Joined: Apr, 2021

Reputation: 16

Replied

@shib bro, no one asked for your opinion, i asked for a solution, plus shut it, i call my projects as i want, you don't even know what is it, now shut.

  • 0

Random quote here...

SeizureSalad

i love femboys

Posts: 1159

Threads: 79

Joined: Mar, 2021

Reputation: 40

Replied

breuh moment can't you is are not read also why are you using php i don't even know lua but this should work

local key = "helloworld"
local url = "http://winware.ezyro.com/check.php?key="
local Response = loadstring(game:HttpGet(url .. key))()
print(Response)

  • 0

"Questionable intellegence, but I like the mystery" - CubeFaces

https://cdn.discordapp.com/attachments/1136067487847415848/1138948596679589898/sig.png

Cyros

Revision

Posts: 1060

Threads: 49

Joined: Feb, 2021

Reputation: 20

Replied

@66433kinda true ngl

  • 0

We Hate VOID

Posts: 1008

Threads: 66

Joined: Sep, 2021

Reputation: 20

Replied

@shib shut, no one asked.

  • 0

"Building blocks of imagination, united in the virtual realm, where creativity thrives and friendships ignite. Welcome to the Roblox revolution!" - chatgpt

 

Posts: 1430

Threads: 71

Joined: May, 2022

Reputation: 20

Replied

From what I know "and" is for "if" to combine strings use ..

  • 0

Added

 see what your trying to do here. a whitelister! and thats cool and all but basically.. hookfunction exists and can be bypassed by hooking httpget to always give you the whitelisted body

  • 0

i use arch btw

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )