Forum > Suggestions >

Has the IO library been removed ?

PoopMaster

SoundInfinity

noticed

Posts: 120

Threads: 23

Joined: Jul, 2019

Reputation: 9

Posted

Was the IO library removed ? because when i execute print(io) it prints nil. Please add it again, i really need it.

  • 0

Proud creator of: WRD+

WRD

Owner

admin

Posts: 990

Threads: 33

Joined: Dec, 2016

Reputation: 106

Replied

The IO library has some huge security vulnerabilities, so I removed it. What parts did you need and why?

  • 0

I'm just a chill guy fr 🤙

PoopMaster

SoundInfinity

noticed

Posts: 120

Threads: 23

Joined: Jul, 2019

Reputation: 9

Replied

The parts that i need are io.open(path), because i'm making a place saver and i need to save the place  and i also need it to get the properties from a JSON file to reduce the lag in the script textbox.  I would use the open function like this:

local Props = io.open(Directory .. '/Properties.json', 'r')

Props:read('*a')

local File = io.open(Directory .. '/Place', 'w+')

File:write('string')

File:close()

  • 0

Proud creator of: WRD+

Users viewing this thread:

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