#code-discussion

1 messages Β· Page 97 of 1

wide sparrow
#

usually when i'm too lazy to come up with what i want to happen myself

true fern
#

i just use it for quick maths

wide sparrow
marsh kelp
#

0 out of 1000

wide sparrow
#

end up hating what it did

true fern
#

like this because i'm very tired

wide sparrow
#

going back and then redoing

#

i just have massive conversations about one thing

wide sparrow
#

like this collision code

#

didnt do a lot of this

#

i mean obviously i did some of it but ai did most

#

most of it is just me coaxing the ai into doing it the way i want it to do it

true fern
wide sparrow
#

because the first thing it comes up with is garbage

marsh kelp
true fern
wide sparrow
#

it took like 20 messages of telling ai not to use x or y or v or to check for if unit is zero or to stop suing the cross product or do stop applying it here or there or whatnot

marsh kelp
#

AI? okay nvm I'll take my words back

wide sparrow
#

lmao

#

id say like 15% of my codebase is ai

#

never the structure (thats my own frankenstein)

#

and never core systems

#

ai told me to use the dot of the seperation and then apply

#

and then i wrote the rest of it

marsh kelp
#

15% is not a lot tbh.
you said most so I expected more than 60%

wide sparrow
#

this is my code fully

#

im proud of this one a lot

empty pilot
#

Anyone know how to master scripting in 1 month

latent tartan
placid matrix
dark juniper
#

And you need to be smarter than me

dark juniper
#

All of which are impossible

#

So basically you can’t

little ravine
#

guys i need a decent scripter for colab

marsh kelp
umbral dock
#

guys should I use devking for scripting tutorials

#

or not

umbral dock
#

its good to know that people are also wondering the same thing

marsh kelp
near sonnet
#

wait how do i get the devforum role

umbral dock
marsh kelp
#

my advice is to try his first video, if you learned something then continue if not try another youtuber

marsh kelp
marsh kelp
#

but someone stupid deleted them

umbral dock
marsh kelp
#

yeah but it's pretty bad

marsh kelp
umbral dock
#

i guess he got tired of teaching

#

and tried at least

marsh kelp
#

yeah and found a new goal (money)

umbral dock
fervent belfryBOT
#

To obtain any of the 2 DevForum roles, you must first have the respective Trust Level on the DevForum website.

Secondly, make sure your ROBLOX account which has the right Trust Level is linked to your Discord account through HiddenDevs' website.

After, make a "General Ticket" through the /ticket command; follow the prompt and add in the description that you wish to obtain the role(s).

The two DevForum Trust Levels are "Member", and "Regular".

Common Misconceptions
green_dot Linking your DevForum profile in the ticket
gray_dot We do not use this link, instead we use the username of the account linked to your HiddenDevs account.

green_dot Requesting without Trust Level
gray_dot You must have a Trust Level displayed on your profile, if not; you cannot get the roles

For more information visit the DevForum FAQ

marsh kelp
near sonnet
#

alr ty

dry bridge
#

Can anyone codes these commands?

#

Commands Summery

  • Prefix: !

Moderator Commands

  • !cmds (shows a list of ALL the commands for whatever permissions you have)
  • !View {user}
    • !View (Stops viewing the person your viewing)
  • !Bring {user}
  • !To {user}
  • !Pm {user} {message}
    • Sends them a private announcement message
  • Kick {user} {duration} {reason}
    • MUST use full username
  • Ban {user} {reason}
    • MUST use full username
  • Unban {user} {reason}
    • MUST use full username
  • Mods (Shows a list of everyone who is a mdoerator)
  • Fly (Able to fly around the map)

Administrator Commands

  • !View {user}
    • !View (Stops viewing the player your viewing)
  • !Bring {user} (Brings a player to you)
  • !To {user} (Teleports you to a player)
  • !Pm {user} {message} (Sends them a private announcement message)
  • Kick {user} {duration} {reason} (Kicks them teporarily from the game)
    • MUST use full username
  • Ban {user} {reason} (Bans them from the game)
    • MUST use full username
  • Unban {user} {reason} (Unbans them from the server)
    • MUST use full username
  • !Modlist (Shows a list of everyone who is a mdoerator)
  • !Mod {user} {reason} (Grants a moderator permissions)
    • MUST use full username
  • Unmod {user} {reason} (Removes a moderator permissions)
    • MUST use full username
  • !Admin{user} {reason} (Grants a administrator permissions)
    • MUST use full username
  • !Unadmin {user} {reason} (Removes a administrator permissions)
    • MUST use full username
  • !Kill {user} (Kills a player)
    • !Kill (Kills yourself)
  • !Adminlist (Shows a list of all the admins)
waxen pumice
#

LOOKING FOR A LONGTERM SCRIPTER
WHAT I NEED:
main game functions; loading screen, main menu, build mode button, store button, etc.
WHAT I HAVE:
all Guis designed (not functionable)
another scripter to help
WHAT I PAY: $30 to start $30 when game has been published
percentage of game profit (decided by 100/everyone who has worked on the game)

waxen pumice
mint cloud
marsh kelp
waxen pumice
#

tyty

icy raptor
#

is there any computer experts here, half my keybinds on my keyboard stopped working like letters B, X, C, capslock

marsh kelp
icy raptor
#

It was just working a few seconds ago

#

then it randomly stopped

marsh kelp
#

if the whole keyboard stopped then there's something else going on.
but only a few keys that are close to each other? that's not a good sign

uneven crown
#

wow

icy raptor
#

I most of clicked something triggered them to stop

#

I just don't know what

runic quarry
#

Can you plug it out

#

Plug it out and plug it back i-

icy raptor
#

It's a laptop

empty rapids
#

guys can somebody tell me why the coins arent adding please (:

fluid latch
empty rapids
#

a coin when u touch it it adds a random number between 1 to 10 to a leaderstat and the coin semi disappears

empty rapids
sand flower
crystal needle
fluid latch
fluid latch
# empty rapids a coin when u touch it it adds a random number between 1 to 10 to a leaderstat a...

try this

put this in a separate script

    local leaderstats = Instance.new("Folder")
    leaderstats.Name = "leaderstats"
    leaderstats.Parent = player

    local coins = Instance.new("IntValue")
    coins.Name = "Coins"
    coins.Value = 0
    coins.Parent = leaderstats
end)

and this in another script (not localscript btw)

local Players = game:GetService("Players")

local function CoinSetup(coinPart)
    local touched = false
    coinPart.Touched:Connect(function(hit)
        if touched then return end -- Prevent double-collects
        local character = hit.Parent
        local humanoid = character and character:FindFirstChild("Humanoid")
        if humanoid then
            local player = Players:GetPlayerFromCharacter(character)
            if player then
                local leaderstats = player:FindFirstChild("leaderstats")
                local coins = leaderstats and leaderstats:FindFirstChild("Coins")
                if coins then
                    coins.Value = coins.Value + math.random(1, 10)
                    coinPart.Transparency = 0.5
                    coinPart.Material = Enum.Material.SmoothPlastic
                    touched = true
                end
            end
        end
    end)
end


local coinFolder = workspace:WaitForChild("Coins")
for _, coin in ipairs(coinFolder:GetChildren()) do
    if coin:IsA("BasePart") then
        CoinSetup(coin)
    end
end
empty rapids
#

alright guys thanks i fixed it

#

the problem for me was because the i made the second touched a variable by accedint

fresh cloud
#

how i can do this wiith buffers?
like:
line one is the buffer 1
line two is the buffer 2
and line 3 is the outpu

runic quarry
fresh cloud
#

cool

#

this worked: CopyBits(NewChunkData,OldChunkSizeBin+12,BlockBin,0,93)

#

my buffer was out of bound because i miscalculated the position of the bits idk

tawny remnant
#

is someone interested in fixing a small annoying code in my game . i just cant , i can pay like 50-100 robux but it will have to be payed in the morning or after im done school since my main account is banned for 1 day..

fresh cloud
#

what is your game about?

tawny remnant
#

clicking

#

litch the easiest thing

#

ik nothing about coding and tbh my games is a mess ill send a ss now

fresh cloud
#

bro

tawny remnant
#

yeah ?

fresh cloud
#

your game looks like one game i helped write for 1 or 2 days

tawny remnant
#

damn ive been here for like

fresh cloud
#

I helped writing it for 1 or 2 days

tawny remnant
#

idek 3 hours

fresh cloud
#

it was so messy that I left

tawny remnant
fresh cloud
#

you have toolbox models?

tawny remnant
#

ive tried using the assistant to fix a bug. its js not helpng loll

queen pier
#

yo I'm making an attack move where the player jumps up and kicks down afterwards, should I tween the player in the air or use bodymovers

tawny remnant
fresh cloud
#

the assistant doesnt help

tawny remnant
#

only made things worse

fresh cloud
#

yeah, the ia itself is bad

#

chatgpt at least try

tawny remnant
#

it doesnt even understand like anything i say

fresh cloud
#

you have to be especific

wary furnace
#

3rd time posting this btw, is there a way I can have a big rig like this live update to my avatar while still maintaning the size of the rig ?

tawny remnant
#

like dead on .. no matter what i say to it, notjing changes

fresh cloud
#

it's the alignment problem, Idk

coral pike
#

Yo guys I was searching for a job the whole day and I didn't fined any do any one needs something I don't care about payment

coral pike
#

Huh

coral pike
ruby cipher
#

Do you really know how to do leadestats?

coral pike
#

Yes

#

Am I hierd ?

ruby cipher
#

omg yes because u know how to do leaderstatd

#

u ar eprobably the best dev i have met

coral pike
#

Yeees

#

Bruh

coral pike
#

Are u serieus rn bruh

ruby cipher
#

Get better bro stop looking for jobs when u a beginner

coral pike
#

Bro I'm so skilled bruh I just joine the server cuz skilled and broke is not fair

ruby cipher
#

Wow

#

Only thing u can make in a combat system is probably input detection

coral pike
#

Like leaderstats is an example

ruby cipher
#

WHAAAAAT

#

bro you are so pro

#

how do i become like you

#

i wanna make leaderstatd too

coral pike
#

Bro stop thes I'm not joking bruh

coral pike
#

That's how you treat a new member bruh

#

With fake glaze πŸ˜‚

ruby cipher
#

Nah u just way too full of urself g

coral pike
#

Huh

ruby cipher
#

Do u even know what a modular system is

coral pike
#

Btw ty

coral pike
coral pike
#

Like if I asked u the same question or a nother one u will stand like a peac of dog#

ruby cipher
#

Uh what

coral pike
#

Dogs # = sπŸ˜ƒ

ruby cipher
#

What are you even talking about atp

coral pike
#

Uh

#

U know we are not in prv right cryingdead

ruby cipher
#

???

coral pike
ruby cipher
#

Dude how old even are you

coral pike
#

Bro wat u are talking about

ruby cipher
#

Wtv im gonna go sleep birds are chirping outside now

coral pike
#

Who asked

neon bridge
#

if i want to get into learning scripting on roblox

#

should i start by learning lua seperately

#

before understanding roblox studio

marsh kelp
#

if you want to learn scripting on roblox then learn by scripting on roblox

neon bridge
marsh kelp
#

it'll be more fun to see it work or make small stuff using it

marsh kelp
#

so it may backfire and only confuse you

neon bridge
#

so should i learn Luau instead

#

😭

#

@marsh kelp what are great tutorials/websites to learn luau then? or are u gonna say alvinblox

neon bridge
#

a 2023 one and a 2024 one

marsh kelp
#

he deleted the 2022 one :( ( the best one )

marsh kelp
marsh kelp
#

Hmmm I want to see AlvinBlox

#

but that's how I started not I learned

neon bridge
#

isnt there

#

roblox site itself

neon bridge
#

;-;

marsh kelp
#

there is but do you like learnign by watching for reading?

marsh kelp
#

most of them make you learn the basics and the rest of the journey is on you

neon bridge
#

how am i meant to magically know

marsh kelp
#

for now focus on the basics that's the most important.

neon bridge
#

bcs i kinda know a bit of basics alrdy

marsh kelp
#

or search youtube for: devking, brawldev

coarse parcel
#

Ahh roblox documentation

#

Roblox documentation says that my scripts are deprecated -_-

#

Collisiongroup: Deprecated
Wait(): Deprecated

#

And some things

#

DEPRECATED

neon bridge
true fulcrum
#

Who wants % of a game that it's getting high QPTR just to add some scripts?

wind wharf
#

But I'd be prefectly capable if it was just a few

rapid verge
#

bro fell for the percentage scam πŸ₯€

tame sigil
#

Yall know how to fix this?

atomic silo
# tame sigil Yall know how to fix this?

ok anyone tell me if i am wrong, but Mouse is not a Vector3 if im correct, it's a Ray returned from camera:ViewportPointToRay, that's what causes the error if im right, meaning you got to use ".Direction", since i am assuming you want to have the ray follow the mouse

rugged mist
#

if u were using uigridlayout, is it better to create the amount of cells as there is data, and then apply the data to the existing cells, or does it make sense to manage the cells individually

candid cliff
#

lmao

wary furnace
#

why isnt leaderstats showing when I test in game ?

candid cliff
#

why u complaining rnn

wary furnace
candid cliff
coarse parcel
wary furnace
candid cliff
#

just change "NumberValue" to "IntValue"

#

thats it

coarse parcel
candid cliff
wary furnace
#

wait I think I fucked up the script from the start

candid cliff
#

yh

#

u don need module script

#

put the leaderboard script in serverscript handler or wtv name

#

serverscriptservice

wary furnace
#

module script was for a table

candid cliff
wary furnace
candid cliff
#

did u use modulescripts

wary furnace
#

this script is a regular

candid cliff
#

ohh u using playerstore

wary furnace
#

module was only used to determine the amount a player would start with gems coins etc

candid cliff
#

i kno nothin bout playerstore

wary furnace
candid cliff
#

?

wary furnace
# candid cliff is store_name is a script m

these are the scripts im working with rn, data manager has nothing, data template has the table for gems coins etc , and the regular script DataInIt has leaderstats code, what I showed you rn is inside the profile store, when I clicked the error it led me to that

candid cliff
#

😭

#

nah bruh i cant help you

wary furnace
#

lol this is frusturating me maybe ill try tmr

candid cliff
#

ask someone else

atomic silo
#

dang

atomic silo
wary furnace
atomic silo
#

and what exactly was the error?

wary furnace
atomic silo
#

was it int?

#

i see

wary furnace
atomic silo
wary furnace
atomic silo
#

do you have "local store = ProfileStore.New("PlayerData", DataTemplate)"?

wary furnace
#

let me try

#

I have this

atomic silo
#

try and change it to what i gave you

wary furnace
#

ill try doing whaty you said

slow plover
#
local PlayerStore = ProfileStore.New("PlayerStore", profileTemplate)
wary furnace
#

DataTemplate is unrecognized

#

so I put template

atomic silo
#

ah yea no, look at what .jahames send, i forgot it was leaderboard not inventory stupid me, RIP that is probably closer to fixing it πŸ˜…

slow plover
wary furnace
#

okay let me change it

wary furnace
atomic silo
#

yea

wary furnace
#

now its a new error directing me to this

atomic silo
#

you got "return" at the end of everywhere?

wary furnace
#

I think I found the issue but the the worse part is I think this might be a seperate problem to my leaderboardstats not displaying 😭

atomic silo
#

oh, what do you think the problem is?

wary furnace
#

Im not sure it should have just worked but ima take some minutes and look through it again

atomic silo
#

sure

somber vault
#

does anyone do long term full time scripting positions dm me

wary furnace
atomic silo
#

LOL

atomic silo
wary furnace
#

@atomic silo

candid cliff
#

did u require profile store

atomic silo
#

I KNEW IT

atomic silo
wary furnace
#

local profile = PlayerStore:StartSessionAsync("Player_"..player.UserId, {
Cancel = function()
return player.Parent ~= Players
end,
})
this thing also had minor typing errors and yea but basically the main issue was the return

atomic silo
#

finally i said something useful only to be overlooked 😭

wary furnace
#

Thank you all for the help I appreciate it

atomic silo
#

your more then welcome mate

wary furnace
agile fulcrum
#

can someone help me
A guy i bought for 100 robux told he will make me a script but it didnt work and now he blocked me
can anyone here help me make it for free please?

#

its a simple one
i just want to make my character go left and right exactly 16 studs like subway surfers
instead of teleporting 16 studs to left or right

dense aspen
#

guys im tryna make a clicker game and i want to add a buyable thing that increases the clicks you get. How do i change the variable i made in one script in another script?

#

pleaseee help bro im stuckk

dense aspen
#

yea

#
amount of clicks = 1
plr = game.Players.LocalPlayer

button = script.Parent
button.MouseButton1Click:Connect(function()
    clicks = clicks + amountOfClicks
    
    plr.PlayerGui.ScreenGui.currencyFrame.TextLabel.Text = tostring(clicks)
end)```
#

this is for the clicks

#

but i havent scripted the buyable thing

#

idk where to start

atomic silo
#

well you need a RemoteEvent to tell the server you clicked, a ServerScript to track player clicks, and obviously the TextButton to buy an upgrade, just assuming this code is all you have rn

dense aspen
#

oh

frigid vine
#

intvalue maybe

dense aspen
#

im cooked

#

im too new lol

atomic silo
#

not at all lol, its harder then it sounds

#

famous last words i know

dense aspen
#

i def need a partner on this project...

frigid vine
#

I would just either call the upgraded amount of clicks by variable or int value and then when purchasing you change the amount basically

dense aspen
#

i literally learned all of this today-0

#

just learned remoteevents

atomic silo
#

your doing amazing dude no worries

dense aspen
#

tyyy

dense aspen
atomic silo
#

well basically first of all, umm RemoteEvents are how the client and server communicate in Roblox right, so you would need a remote event in replicated storage, and just call it in a script

dense aspen
#

game.ReplicatedStorage.RemoteEvent:FireServer() this fires when i click the button

#

but is there smth i can do to make a variable work everywhere?

#

cause when this fires, i can make a script recieve it and add 1 to the click

#

but how exactly do i affect the clicks elsewhere

#

like in a different script?

atomic silo
#

You have two main options in my experience:

Option A: Use a ModuleScript to hold your variables and require it from different scripts
Option B: Use Value objects or RemoteEvents + server storage to sync data

dense aspen
#

ohhhh thats so smart

#

i could use moduleScript

#

and i able to change the module script's variable and it changes the value for all of the other ones?

atomic silo
#

ngl, my personal recommendation would be to use a RemoteEvent to send clicks to the server, Store clicks as an IntValue on the player (created on the server), Clients listen to that IntValue to update their UI

dense aspen
#

oh

frigid vine
# dense aspen can i have an example plz?

create a intvalue and put it into like replicatedstorage. Set the value to whatever u want the basic clicking number to be.

Then u just need 1 script for the clicking and 1 script for the upgrade buying

#

that's what I'd do

#

idk if it's the best way but my motto is if the code works I don't care KEKW

atomic silo
#

thats my approach, its just two scripts really, one in SSS and one in SPS

true birch
#

Guys what do y'all even use String for

dense aspen
#

wait can someone explain how to use intvalues?

frigid vine
#

they just hold values

dense aspen
frigid vine
#

that u can call

atomic silo
#

hold values

dense aspen
#

how do I pull it??

atomic silo
#

by referencing it

frigid vine
#

Waitforchild

atomic silo
true birch
atomic silo
#

πŸ§‡

frigid vine
#

waffle

atomic silo
#

mmmmmmh waffle 🀀

dense aspen
#

whats the code to call it?

carmine siren
#

Wsp some players characters be invisble in my game randomely, i dont have any script that changes trasnparenyc at all anyone know any reasons? i dsiabled streamign enbaled but ti still happen

true birch
#

I just learned what heartbeat and render stepped low-key what is better to use

frigid vine
dense aspen
#

ooh ty

true birch
atomic silo
frigid vine
true birch
atomic silo
#

not quite lol, RS isn't slower than Heart, in fact, RS usually runs slightly before Heart, not after, and they're both tied to the frame rate lol

#

RS might feel slower because it's client-only and can be affected by frame drops-

true birch
atomic silo
#

i want to say no, but in most gameplay situations it kinda is lol

true birch
#

Alr I appreciate the help

atomic silo
#

your welcome mate

dense aspen
dense aspen
frigid vine
atomic silo
dense aspen
#

intClicks.Value = 5

#

liket his?

atomic silo
#

yep

#

now you just gave value to something, congrats

dense aspen
#
intClicks.Value = 1
print(intClicks)``` why does this just print clicks tho
atomic silo
#

uhhhhh when you print an Instance, Roblox prints its name by default, not its value, try print(intClicks.Value) to print the value rather then just the name

atomic silo
#

huh

atomic silo
#

no worries

frigid vine
#

Good work on your learning! If you need help just ping but I might be asleep

atomic silo
#

same, but im sure there are others that will help you even then

dense aspen
#

ty!

dense aspen
atomic silo
dense aspen
#

alr

dense aspen
#

thanks to u i rewrote this now

atomic silo
#

it was not just me lol, give some creds to @frigid vine-

frigid vine
#

🫑

dense aspen
#
local intClicks = game.ReplicatedStorage:WaitForChild("clicks")
local intClicksPer = game.ReplicatedStorage:WaitForChild("clicksPer")
intClicksPer.Value = 1
plr = game.Players.LocalPlayer
button = script.Parent
button.MouseButton1Click:Connect(function()
    intClicks.Value = intClicks.Value + intClicksPer.Value
    plr.PlayerGui.ScreenGui.currencyFrame.TextLabel.Text = tostring(intClicks.Value)
end)```
dense aspen
#

creds to thesnonofcar

#

imma try friend him too

#

bro is a legend!

frigid vine
#

I am not the biggest scripter but I try!

atomic silo
#

same

frail remnant
agile fulcrum
#

does anyone here know how to make a code for movement like subway surfers?

alpine mauve
#

in the big 2024" in the big 2025

dense hull
alpine mauve
dense hull
hardy pilot
dense hull
hardy pilot
#

Doctor Who came to visit

hardy pilot
#

He had to save me from the robo guys πŸ˜”

#

Cybermen or whatever

gilded stag
#

hi guys i have a qusetion is it better to make one big script or multiple scripts inside like each button/ui yk

dense hull
#

dont do multiple scripts in ui tho

#

bad idea

gilded stag
dense hull
#

one local script

gilded stag
#

so not multipel local scriots?

#

okkk

dense hull
#

just one

gilded stag
#

when do i need multiple then also why justone

dense hull
#

you dont need to make a module for that just one local script and use a remote event(secure ways ofc) to server

dense hull
gilded stag
#

so its fine having like 1000 lines of code in one script?

#

just wondering

dense hull
gilded stag
#

alrr thank you!!

#

for loops + events right

#

that wont be too much code i think

dense hull
#

what i do is use a for loop and put a object value etc to link to smt and in that for loop create a hook on clicked to run that event or switch to frame

#

should't be

gilded stag
#

whats an objectvalue? sorry im kinda new

#

is it like the tags

#

oh yes it is

#

like where u do ReferTo

gilded stag
dense hull
#

no its an instance you can put in side of any object to ref(as you said, yes) in your code to fire event or switch tab/frame

#

i do not sorry, but its really simple do you understand instances?

gilded stag
#

yeah i get that part

gilded stag
#

thank you!!

hardy pilot
#

Boo

dense hull
#

remember never to use ipairs or pairs btw you can just do in such as for i,v in table do

gilded stag
#

whats ipairs and pairs my bad

dense hull
#

just remove ipairs or pairs

#

it will work

#

its no longer needed it works but its waste of time to write just use in table

gilded stag
#
for _, items in InnerFrame:GetChildren() do
    print(items)
end
#

are u talking about this

dense hull
#

yes

nova elm
#

if (user.cookieagree) {
} else }
collectData(user)
}

gilded stag
#

so instead i should do
for i,v in InnerFrame:GetChildren() do
end

nova elm
gilded stag
#

just cause its less words right

dense hull
dense hull
gilded stag
#

i see

#

thank u very much

nova elm
#

πŸ€·β€β™‚οΈ y not im bored

dense hull
#

np

gilded stag
#

is it good programming to use object values

dense hull
gilded stag
#

im kinda confused though so an object value is attached to a part?

dense hull
#

what are you making again?

#

so i can tell what i think

nova elm
#

have any one of u got a serious commission here cause no sheet is doing comms if tho they asked for it

gilded stag
nova elm
#

ppl trya act to hire

dense hull
# gilded stag

you dont need to use a for loop lol its just 2 buttons

#

i thought you had a list of buttons or lots of them

gilded stag
#

also hex codes but yeah

#

but either way i wanna learn about objectvalue and instances

#

just for ufutre

dense hull
gilded stag
#

so how would it work

#

u add an objectvalue then what do you do

dense hull
dense hull
gilded stag
#

kinda like that sure

#

the booths are similar ye

gilded stag
dense hull
gilded stag
#

also if an object value is found would i have to do like

if objectvalue == "name" then

elseif objectvalue==

dense hull
#

no

#
local objectvalue = button:findchildwhichisa("objectvalue") -- or findchild("objectvalue name")
if objectvalue then
  --your code
end
#

smt like that

gilded stag
#

yeah but wouldn't i have to assign each certain object value to a specific event?

#

like i cant put the same fireevent for both dont u think

#

or am i being silly

dense hull
#

@gilded stag anymore to ask?

gilded stag
#

okkk i think i get it now

#

ill mess around with it later but thanks so muchhh

dense hull
stone wind
#

Hullo

dense hull
#

you can dm me if you need help for go to code-help or here btw

dense hull
gilded stag
untold gate
#

for you guys what is the low coding/no coding bot developer

#

discord

true fern
true fern
midnight wigeon
#

And don’t just copy grow a garden there’s already enough copies

midnight wigeon
#

Like from the shop

true fern
true fern
#

its just there to hold the ui

midnight wigeon
#

Ah ok

true fern
midnight wigeon
#

Oh so the map also isn’t final

true fern
rapid panther
#

where is the best server to find scripting jobs?

outer cypress
#

make a sell

#

and the currency like a Like a cat food brand for floppa

empty wind
#

hey guys, how do i make leaderboard display 10 players only?

#

the best has the smallest value

upper sleet
#

server or global leaderboard?

empty wind
#

global too

#

now

heady steeple
#

For placement

somber vault
slender yew
#

wtf is wrong w roblox
ts is so ass
One time I play test
nice - everything works
next tiem I playtest
wtf - nothing fucking works
its like a fucking 50/50

high ibex
frank tapir
empty wind
#

hey guys, how do i make a global leaderboard?

true fern
heady steeple
violet grotto
#

i need help im setting the camera type to scriptable then setting the cframe to a part but the camera stays on the player. putting it a renderstepped loop seems to work the camera goes to the part i want but is this the way to do it?

zenith cloak
#

If it's even supposed to do when spawning

true fern
true fern
#

had to do the same for my first person

gilded stag
upper sleet
true fern
gilded stag
#

So a string attached to an instance

heady steeple
heady steeple
elder sparrow
#

tey

#

try

cinder vigil
#

whos a pro scripter

true fern
#

what could i change?

somber vault
#

Need a game spoofed offering 10kR$ please respond to this if ur down

true fern
#

changed some stuff

somber vault
true fern
somber vault
cinder vigil
#

is anyone a pro scripter please answer me

minor cloak
#

im startin computer science next year so im starting c# now lol. im littearly so good at tspraysob

slow plover
#

Fix your indentation

#

πŸ™

minor cloak
#

who me? what is indentation

late flint
earnest sun
#

There's many differences but it's all based on luau

late flint
#

no roblox lua IS luau

earnest sun
late flint
#

no its based on lua 5.1

true fern
late flint
true fern
late flint
#

no im a person with no better pfp

earnest sun
true fern
true fern
#

u just have extra variables

covert pond
#

Can you even ensure a key is being held down by player?

true fern
#

not diff syntax

covert pond
#

and not exploited?

earnest sun
true fern
earnest sun
#

Theres also extra services

covert pond
late flint
true fern
true fern
earnest sun
#

Marketplaceservice

#

Datastoreservice

true fern
late flint
true fern
#

but with C

true fern
earnest sun
true fern
late flint
#

what u mean without

earnest sun
#

Activitys

covert pond
true fern
hollow burrow
#

they should add gacha

#

if they didnt already

#

inf money glitch

true fern
#

they needed a way to make money

hollow burrow
#

not alot of people used discord in 2015

#

so i'd guess that not alot of server power was needed

true fern
hollow burrow
#

like today

hollow burrow
true fern
#

2016: Raised $20M led by Greylock, Benchmark, and others.

Total funding before Nitro: around $30–40M+.

covert pond
#

clipping

odd marlin
#

Can somone pls try out a game i made am a Roblox game dev

sonic juniper
#

hey

#

guys

#

should i get both or

ruby cipher
#

NON

true fern
latent tartan
sonic juniper
#

yikes

#

for some reason

#

rbxlx-rojo isn't decoding server script service

#

it seems

true fern
#

unfortunate

#

look up a tutorial

slate valley
#

hi everyone hope yall doing great who wants a quick gig im in need of someone rn dont care how long you've scripted

tidal glacier
#

what is the problem?

glass garden
valid torrent
valid torrent
#

what you should do instead is use a local script

hollow fulcrum
#

how should i approach combat for an asymmetrical horror kinda like forsaken? should I base all the combat off of the server or is it not worth it

valid torrent
#

you can reference player like this:

local Players = game:GetService("Players")
local player = Players.LocalPlayer
#

and use that instead of the player argument

light igloo
#

How can I make a barrier that only lets certain players pass through, but without letting others pass, I know you can do this client sided by disabling client collisions but wouldnt that be easily exploitable?

ripe plume
#

whats the ccu

odd marlin
#

Robox game

ripe plume
#

um okay πŸ˜…

odd marlin
ripe plume
#

how many players right now

odd marlin
#

2

ripe plume
#

how many visits

odd marlin
#

512 all i need to do is sponser the game

#

so i can get more i can show you the gmae

#

game

ripe plume
#

its alr thx

odd marlin
#

no?

ripe plume
#

no, sorry

limber vortex
#

Yo if im playing m1 animations I should do it in local scripts right and just send a remote event to the server for the hitbox and stuff?

odd marlin
#

alr but do you want me to trouduce to the game?

earnest sun
#

i sent that 3 hours ago

earnest sun
limber vortex
earnest sun
limber vortex
#

was it local or client

earnest sun
#

noone else would see it

frank tiger
earnest sun
#

local = client

frank tiger
#

animations load for everyone in client side

earnest sun
#

on that 1 client

frank tiger
#

every client

#

only for animations tho

limber vortex
limber vortex
#

I was told to put the animations local side since I was running it first on server

#

server replicates it first before it runs some thing along those lines

frank tiger
limber vortex
#

but i have 1 more question

#

wouldnt that be easily exploitable

#

if the scirpt for anims is in client

earnest sun
#

exactly its exploitable and i dont think it shows for everyone

frank tiger
limber vortex
frank tiger
limber vortex
#

So like if they exploit the client to play the anim 60 times and fire even to server 60 times

#

or should I just add a debounce in the server

earnest sun
#

apparantly you should use contentprovider:preloadasync

limber vortex
#

Ok ill try it out first and ill be back ig

frank tiger
limber vortex
earnest sun
#

then the animations stay loaded until you wanna use them

frank tiger
#

πŸ’‹

frank tiger
marsh kelp
#

well ... you can

frank tiger
marsh kelp
#

but you do it for the client
exploiters, can change anything on the client so it's best to do it on the server if you're accounting for them

frank tiger
marsh kelp
#

client script? they can

#

change, read

frank tiger
marsh kelp
#

Yeb so they can just spam your remote event even with a db

frank tiger
#

but if ur firing a remote when u press E and the debounce is on the serv script wouldnt that be worse cuz the remote has to fire nd stuff

marsh kelp
#

that's why you should do both
it will have some effects but will be a lot more negligible than making the server code every time

#

of course with adding more server checks

snow meadow
#

wawa i wonder how much itll cost just to script UI for a stupid game HAHAHAHAH

snow meadow
#

yes

frank tiger
#

i said no

eager dagger
#

should I make lobby music queue or random?

snow meadow
#

😭

frank tiger
#

cuz i hate ui artists

#

/ designers

frank tiger
eager dagger
frank tiger
#

πŸ’―

eager dagger
#

πŸ’€

#

nah but fr

#

how should I do it 😭

frank tiger
#

idek what u tlkin abt

eager dagger
#

like

eager dagger
#

lobby music, should I play it random music each time or in a queue?

marsh kelp
frank tiger
ripe plume
#

you buy it just to show ur rich

frank tiger
ripe plume
#

that is me

frank tiger
#

omg

marsh kelp
#

someone put this app for 500$ or 100$ and many people paid for it

#

just to have an image on their phone

frank tiger
#

πŸ™‚

#

wait ppl can use languages other than lua in studio

marsh kelp
#

No?

frank tiger
#

i saw some guy makin a game nd said he used type script but it was roblox pretty sure

ripe plume
#

yeah you can use that too

#

roblox -ts i think its called

frank tiger
marsh kelp
#

but not in studio

tight heron
#
import webbrowser

def opennohello():
    webbrowser.open("https://nohello.com")

def openyoutube():
    webbrowser.open("https://youtube.com")

window = tk.Tk()
window.title("testing")
window.geometry("200x200")
window.resizable(width=False, height=False)
window.configure(bg='grey')

Button1 = tk.Button(window, text="nohello.net", fg="red", bg="light blue", command=opennohello)
Button1.pack()

spacer = tk.Label(window, text="", height="3", fg="grey", bg="grey")
spacer.pack()

Button2 = tk.Button(window, text="youtube.com", fg="red", bg="light blue", command=openyoutube)
Button2.pack()

spacer2 = tk.Label (window, text="", height="3", fg="grey", bg="grey")
spacer2.pack()

Button3 = tk.Button(window, text="Close", fg="red", bg="grey", command=window.destroy)
Button3.pack()

window.mainloop()``` is this python code good?
tight heron
#

it runs

frank tiger
ripe plume
#

yeah

tribal meadow
tight heron
#

this is what the code opens up

tribal meadow
ripe plume
frank tiger
#

ts so confusin i hate studio

tight heron
#

ill try to figure out how to remove the border

ripe plume
#

alr, tkintker right?

#

python

tight heron
ripe plume
#

yeah idk how to spell it lol

tight heron
#

heres the code with comments btw ``` import tkinter as tk
import webbrowser

def opennohello():
webbrowser.open("https://nohello.com") # defines the command opennohello

def openyoutube():
webbrowser.open("https://youtube.com") # defines the command openyoutube

window = tk.Tk()
window.title("testing") # changes the window title
window.geometry("200x200") # changes the window size
window.resizable(width=False, height=False) # makes the window not resizeable
window.configure(bg='grey') # changes the window bg colour

Button1 = tk.Button(window, text="nohello.net", fg="red", bg="light blue", command=opennohello) # defines what Button1 is
Button1.pack()

spacer = tk.Label(window, text="", height="3", fg="grey", bg="grey") # adds a space
spacer.pack()

Button2 = tk.Button(window, text="youtube.com", fg="red", bg="light blue", command=openyoutube) # defines what Button2 is
Button2.pack()

spacer2 = tk.Label (window, text="", height="3", fg="grey", bg="grey") # adds a second space
spacer2.pack()

Button3 = tk.Button(window, text="Close", fg="red", bg="grey", command=window.destroy) # defines what Button3 is, which closes the window
Button3.pack()

window.mainloop()```

#

sadly discord doesnt show the comments

frank tiger
#

is Composition better than Inheritance ?

tight heron
#

bruh

candid cliff
#

i mean

#

apps

#

yk

tight heron
#

yeah im just tryna learn

#
import tkinter as tk
import webbrowser

def opennohello():
    webbrowser.open("https://nohello.com") # defines the command opennohello

def openyoutube():
    webbrowser.open("https://youtube.com") # defines the command openyoutube

window = tk.Tk()
window.title("testing") # changes the window title
window.geometry("200x200") # changes the window size
window.resizable(width=False, height=False) # makes the window not resizeable
window.configure(bg='grey') # changes the window bg colour

Button1 = tk.Button(window, text="nohello.net", fg="red", bg="light blue", command=opennohello) # defines what Button1 is
Button1.pack()

spacer = tk.Label(window, text="", height="3", fg="grey", bg="grey") # adds a space
spacer.pack()

Button2 = tk.Button(window, text="youtube.com", fg="red", bg="light blue", command=openyoutube) # defines what Button2 is
Button2.pack()

spacer2 = tk.Label (window, text="", height="3", fg="grey", bg="grey") # adds a second space
spacer2.pack()

Button3 = tk.Button(window, text="Close", fg="red", bg="grey", command=window.destroy) # defines what Button3 is, which closes the window
Button3.pack()

window.mainloop()```
#

finally bro

#

also

#

how do i remove borders of a button?

#

in py

earnest sun
#

i was so confused till you said py

#

i have no idea btw

tight heron
#

oh wait

#

i just tried to do border= in vsc

#

and it worked im such an idiot

sterile pollen
#

i wanna make a notif text like in blox fruits
when i get 10 coins it says in a ui poup +10 coins

snow meadow
#

nvm

little wind
#

Might be just me but isnt this suppsed to disable roblox deafult leaderbord

local StarterGui = game:GetService("StarterGui")

repeat wait() until game.Players.LocalPlayer:FindFirstChild("PlayerGui")

pcall(function()
    StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.PlayerList, false)
end)
earnest sun
#

game:GetService("ReplicatedStorage").JumpControlEvent.OnClientEvent:Connect(function(r)
script.Parent.Text = "+$"..tostring(r)
script.Parent.Visible = true
script.Parent.TextTransparency = 0
local pres = script.Parent.Size
local ts = UDim2.new(0.25,0,0.15,0)
local tr = math.random(-15,15)
local ti = TweenInfo.new(1, Enum.EasingStyle.Cubic, Enum.EasingDirection.Out)
local t = game:GetService("TweenService"):Create(script.Parent, ti, {Size = ts, Rotation = tr})
t:Play()
wait(0.5)
for i = 1, 10, 1 do
wait(0.05)
script.Parent.TextTransparency += 0.1
end
t.Completed:Connect(function()
script.Parent.Size = pres
script.Parent.Rotation = 0
script.Parent.Visible = false
end)
end)

#

this is when a remote event is fired tho

#

just change the top to

earnest sun
earnest sun
sterile pollen
dense flame
#

hiring a scripter payment 0.000000001%

sterile pollen
earnest sun
#

just do script.parent.text = "+$".. tostring(p.leaderstats.money.Value)

dense flame
earnest sun
#

hes saying 0.00000000000000001%

dense flame
#

you’re hired! now you gotta script 29 full games

earnest sun
#

rip

#

@sterile pollen 20idk when he was born-2025

sterile pollen
#

i want it to show how much money i got from this certain quest or missions

earnest sun
#

ok

sterile pollen
#

like if i touch a treasure box

#

ill get 100 dollars

#

like that

#

+100 dollars popup on the screen

#

i dont know how to get the text to be that

#

i can get the popup

#

but not the text

earnest sun
#

local premoney = p.leaderstats.money.value do this before the change of money

#

script.parent.text = "+$"..tostring(nm - premoney)

#

then at the end of the function do

#

premoney = nm

sterile pollen
#

whats nm

dense flame
#

we’re 100% sure no scripter would script a full 2.5D game for 20k, right?Oopsie

dense flame
#

i mean the prototype

sterile pollen
#

im broke

#

but i dont got the skills

dense flame
sterile pollen
earnest sun
#

im more of a script but what even is 2.5d

#

now i know what it is

dense flame
#

its camera angle put in a specific way to make it look 2d

dire comet
#

Can you configure GUIs (text labels in this case) from a server script. If yes, should you opt out of doing this?

high cradle
#

can anybody help me with some code the code help server is just people talking about song

#

I used a youtube tutorial and now I'm confused

high cradle
#

okay?

dire comet
#

I'm not sure I'll be able to help, but what is not working?

#

Are you getting any errors?

#

I'm not sure what a body position instance is.

high cradle
#

I used a tutorial to make a platform move and copied down what the video said to do and write but it isn't working

dire comet
#

And are you sure this is a server script?

#

So no errors, hmm okay.

#

Where is the script placed?

high cradle
#

the video said to script the part

dire comet
#

Oh I see, so the part is the parent.

high cradle
#

i guess

#

i dont really know anything about code

dense flame
#

i’ve got a better offer!

#

hiring a scripter payment 0.0000000000000000001%

earnest sun
#

1 robuc is more than this

dense flame
#

true!

earnest sun
#

and you cant even get 1 robuc cus of robux tax

earnest sun
#

if you raise it to 0.00000000000000000002% ill do it

dense flame
rugged mist
dense flame
#

also what’s up with the real human being pfps

earnest sun
#

you drive a tough bargain

high cradle
#

Im trying to move a platform and the video was saying to do this

dense flame
earnest sun
#

fine

high cradle
#

I don't even know what a body position is

rugged mist
#

what are you trying to do @high cradle

high cradle
#

make a platform move

rugged mist
#

dont use bodyposition

#

its deprecated

earnest sun
#

just use alignposition or tweenservice

rugged mist
#

tweenservice doesnt allow you to move with the platform

earnest sun
#

alignposition

dire comet
#

That was probably unnessecary 😭

high cradle
#

Okay I'll try it with alignposition

rugged mist
icy badge
#

Yo guys

#

How can i learn lua

earnest sun
#

tutorials

dire comet
#

Can you configure GUIs (text labels in this case) from a server script. If yes, should you opt out of doing this?

dire comet
#

Roblox studio's programming langauge.

gusty fog
earnest sun
dire comet
#

Okay, thank you both of you. Why is this, though?

rugged mist
high cradle
earnest sun
#

roblox goes by a server client modfel

#

the server shows for everyone

rugged mist
#

u can use a server script to fire a client and update that clients or those clients gui's

#

a server doesnt have a screen

dire comet
rugged mist
#

yeah

#

remote events fireclient

dire comet
#

But why is it bad to do so on the server?

rugged mist
#

its not

dire comet
#

Wait can you even do it on the server?

rugged mist
#

if a group of players on a team need to know that they won

#

yes i just told you

#

you would get the player

earnest sun
#

just do it on the client

rugged mist
#

and fire their clients

earnest sun
#

not that hard

dire comet
#

Aha! I thought so.

#

Thank you all three!

rugged mist
#

bruh

dire comet
#

I have one more question, though.

#

Does listening for remote events use lots of memory, slowing down your game?

rugged mist
#

what do you mean listening

high cradle
#

yeah

rugged mist
#

you just connect a remote event to a function and it'll fire when the client and server talk

dire comet
rugged mist
#

OnServerEvent

dire comet
#

Yes, but does that use up a lot of memory?

rugged mist
#

no connecting a function to an onserverevent does not use alot of memory

#

it depends on how much data you're sending through

#

and how frequently

#

its called bandwidth

dire comet
#

Oooookay, so I should not be scared of using them often?

rugged mist
#

no you shouldn't be scared to use remote events they dont hurt u

#

how else are you supposed to talk to the client

dire comet
#

Okay, thank you for all the advice!

rugged mist
#

put stuff on the server that you dont want to give exploiters access to

#

round timers, raycasting hit positions, damage, etc

slate valley
dire comet
#

How do I do that while keeping a good performance on the server?

rugged mist
#

the server should only be sending stuff to the client

#

the client should almost never send stuff back to the server

#

unless necessary for gameplay

#

the server can handle alot of stuff

#

you just need to keep track on the scope of what you're doing

summer phoenix
#

Anyone know where i can possibly study on making pvp hitbox's

dire comet
#

Okay! Thanks for answering all my questions (:

rugged mist
summer phoenix
dire comet
#

😭

summer phoenix
#

im mostly talking about dev forums

rugged mist
dire comet
mint cloud
# summer phoenix im mostly talking about dev forums
odd lantern
rugged mist
#

yes

odd lantern
#

W manz

rugged mist
#

w player

vale salmon
#

What's an efficient way to handle like a bunch of complex UI tweening

rugged mist
#

u make a function

odd lantern
#

Not sure if there is a GO TO perfect method for handling tweens

vale salmon
#

Perfect! Thanks

worldly imp
#

does anyone have resources on how the offline aspect of grow a garden works? Trying to implement an offline system in my own game

odd lantern
#

save when the player was last on, and when they joined and compare the difference.

marsh kelp
odd lantern
#

Each object might also store the time it was placed as well

#

relating to grow a garden