#I need to make a generator skript

1 messages · Page 1 of 1 (latest)

wheat igloo
#

first of all, you really gotta use lists here

covert lava
#

lists are lame

drowsy basalt
#

nice pfp btw

#

is that laslo?!

covert lava
#

i dont wanna write long ass lines for just 1 generator

covert lava
drowsy basalt
#

male 07 if im not mistaken is lalso

#

laslo*

covert lava
#

male 07 is better name

#

lol

drowsy basalt
#

lmfao.

#

So you don't have to write a million lines icky when using lists

covert lava
#

gimme an example

drowsy basalt
#

So what do u intend to do let's start there

covert lava
#

i was just using registerGen so i could do this
registerGen(hay bale, wheat named "&eWheat drop", 10)

so what would happen is, every (delay) seconds, we will loop around the player and if there is a haybale, we will check if that haybale belongs to any player (my job), then we will drop the (item) there

#

i used 16 different gpts, and hours upon hours of digging in the docs, i tried many things,
block
blockdata
string parsed as block
string parsed as blockdata
some other things i tried i dont remember

drowsy basalt
#

So we want to store:
the block
the item + name
delay

#

right?

covert lava
#

yep

drowsy basalt
#

So we need to predefine then prior to this if we wanna use lists.

#

If we use a function we can technically skip this part, we just need to index the list properly.

#

this is how I would do it as an example

{generator::%player's uuid%::block}
{generator::%player's uuid%::item}
{generator::%player's uuid%::delay}
#

But it wouldn't entirely work for multiple

#

so we can index it as such

#
{generator::%player's uuid%::%{_block}%::item}
{generator::%player's uuid%::%{_block}%::delay}
#

For each player, each block a variable can automatically be created.

#

it contains two small boxes containing the item + name and in the other the delay we need.

#

in gmod this would be so ez kek

covert lava
#

gmod??

#

u play gmod?

drowsy basalt
#

Yeah

#

I love LUA dawg

#

fucking program in that shit 24/7

covert lava
#

bro im in love with gmod

#

i have like 90 hours in last 2 weeks

#

i tried making gmod addons but i couldn't find any good resources to guide me

covert lava
#

aight bet

#

sounds wrong with ur pfp

drowsy basalt
#

wait till u see my personal one

covert lava
#

wait since u like lua so much

#

u must be familiar with roblox's api too

drowsy basalt
#

Not entirely. Rarely touch it because I lack motivation

#

but I can move around in it

covert lava
#

thats practically the hardest part

#

ok better close this thread before we both get in trouble