Categories > Coding > Lua >

Bad argument to 'HttpGet'


Aja

Zenexya#2964

Posts: 1079

Threads: 121

Joined: Apr, 2021

Reputation: -1

  • 1

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.

Cyros

Oxygen

Posts: 530

Threads: 22

Joined: Feb, 2021

Reputation: 8

  • 1

Replied

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

https://i.imgur.com/sJkFFl5.png


Love IcePool, Atari, Rexi, Nickk, Darkn, SeriouslyDudeYT, jex, and everyone else! :)

RealNickk

am h3x0r

patron

Posts: 3053

Threads: 147

Joined: Feb, 2020

Reputation: 35

  • 0

Replied

why did you use a logic operator to concatenate 💀

4b5951d5-1b9b-407b-b514-78eb46591564

Posts: 3

Threads: 1

Joined: May, 2022

Reputation: 0

  • 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

Aja

Zenexya#2964

Posts: 1079

Threads: 121

Joined: Apr, 2021

Reputation: -1

  • 0

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.

SeizureSalad

i love femboys

Posts: 488

Threads: 21

Joined: Mar, 2021

Reputation: 12

  • 0

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)

Cyros

Oxygen

Posts: 530

Threads: 22

Joined: Feb, 2021

Reputation: 8

  • 0

Replied

@SeizureSaladkinda true ngl

https://i.imgur.com/sJkFFl5.png


Love IcePool, Atari, Rexi, Nickk, Darkn, SeriouslyDudeYT, jex, and everyone else! :)

crazy_cat

hi :floosed:

Posts: 742

Threads: 45

Joined: Sep, 2021

Reputation: 13

  • 0

Replied

@shib shut, no one asked.

https://cdn.discordapp.com/attachments/934448876033818634/976569739004497920/lol.png https://cdn.discordapp.com/attachments/950596359721979954/989415753457483836/unknown.png

Whoman

#3561

Posts: 220

Threads: 14

Joined: May, 2022

Reputation: 4

  • 0

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

https://cdn.discordapp.com/attachments/921902131315875872/973268766895001640/Hello_there.png

 

Whoman#3561 | English & HTML | Learning Lua



Users viewing this thread:


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