Forum > Coding >

Bad argument to 'HttpGet'

Posts: 1590

Threads: 166

Joined: Apr, 2021

Reputation: 13

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...

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: 1590

Threads: 166

Joined: Apr, 2021

Reputation: 13

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: 1012

Threads: 73

Joined: Mar, 2021

Reputation: 37

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

Posts: 793

Threads: 54

Joined: Sep, 2021

Reputation: 21

Replied

@shib shut, no one asked.

  • 0

dead inside

Posts: 1209

Threads: 68

Joined: May, 2022

Reputation: 17

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

Did I mention I use arch btw?

Users viewing this thread:

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