#code-discussion

1 messages Β· Page 222 of 1

summer aurora
#

not all small steps are easy to step, 5 mins is still good though

jaunty wolf
#

they are all quite different from each other

summer aurora
#

it just depends if it's done

woeful mural
jaunty wolf
#

like just as an example i was a builder before, now when i build something its like 50% building 50% scripting

blazing mulch
#

i can literally do everything except scripting

jaunty wolf
#

you can automate tons of stuff

blazing mulch
#

but im slowly learning how it works kinda

jaunty wolf
blazing mulch
jaunty wolf
blazing mulch
#

like i know
good game ideas
modeling
drawing
composing
animation

woeful mural
#

im confident u can learn scirpting

jaunty wolf
#

yea for sure

woeful mural
#

everytime i boot that app up idek what im doin

jaunty wolf
#

blender is like a nasa space shuttle

blazing mulch
#

yall are right though

woeful mural
jaunty wolf
blazing mulch
#

dude i have an idea for a horror game

#

its like yall know this game called eternal darkness
theres a mechanic where you slowly lose your sanity and it mixes up with the actual gameplay so you have to figure it out
i want to do a game that its like a group of 4 investigating 4 different missing people's corpses and you have to identify them and investigate
the thing is that their souls will haunt you when you make a mistake and it doesnt go away

#

and basically you slowly lose your sanity the more mistakes you make and the game has actual paranormal stuff so you gotta know whats real and whats not

jaunty wolf
# woeful mural on soul

its an ugly example cause the game is heavily in dev but as a builder i might have to place every decoration

but once u know scripting u can pretty easily make something that auto-places grass decorations when the game starts

#

and u can do other stuff too (like the windows light up at night, or you can destroy trees and they grow back)

#

its fun to take your builds and make them interactive

blazing mulch
jaunty wolf
#

its the city from my game

blazing mulch
#

nice

woeful mural
#

mb i keep having caps lock on

woeful mural
#

i was told once by a game dev who kinda mentored me for awhile that module scripts are so op for scripting

#

and I've heard of concepts such as OOp scripting adn what not

blazing mulch
#

what are module scripts

vernal peak
#

Yo realistically how hard is making a single Aba move

woeful mural
#

to make the process easier

jaunty wolf
#

helps to stay organized

blazing mulch
#

guys

woeful mural
blazing mulch
#

whats the best game to use as a portfolio for a scripter

woeful mural
jaunty wolf
woeful mural
#

dudes be talkign abt OOP like its the holy grail of coding

jaunty wolf
jaunty wolf
woeful mural
blazing mulch
#

bro im broke and ascii white is dropping

#

:l

jaunty wolf
#

like i mean its fine to learn random stuff/study things/be curious

#

but u can also just learn whatever is the next piece of ur game and youll be fine

#

you usually end up picking up things like Modules as you go

blazing mulch
#

omg i just got an idea for a simulator

#

its kind of like pet simulator but mixed with this nintendo game

#

pikmin

jaunty wolf
#

there are LOTS of great old games that havent been adapted yet to roblox

#

also u can legit do anything like i added horror + night time + base building to my obby

#

and no one can tell me no

#

u get to just do legitimately whatever u want

woeful mural
#

cuz at the moment i forgot the vids i watched on modules

#

πŸ˜‚

blazing mulch
#

its like jet set radio mixed with gta online

jaunty wolf
#

they are sooooooooooooooooo difficult and sooo complex

#

i did not get ANYTHING from them videos until i had 2-3 months of scripting

woeful mural
#

good analogy tho

blazing mulch
#

i have so many crazy ideas that if i had the tools i would go CRAZY

#

so why wouldnt i

woeful mural
#

(barely learned anything since then tho so idk hwy I'm talking like a unc but wtv)

jaunty wolf
ionic horizon
#

iss there any way to get all gamepasses, tshirts etc a player made with or without a proxy reliably

blazing mulch
#

instead games mixed with another concept/quirk to make them new again

jaunty wolf
blazing mulch
#

which is good specially on roblox

ionic horizon
#

http requests r on and game is published

jaunty wolf
#

with only a bit of scripting skil

blazing mulch
#

csgo surf adapted into roblox would be insane

jaunty wolf
#

but then literal like

#

hours of gameplay

#

and if you make it right, its playable on basically any map

blazing mulch
#

thats actually a good idea for a potential

jaunty wolf
#

so you can get random maps from toolbox and parkour on them

blazing mulch
#

popular game i see that becoming very popular

jaunty wolf
#

movement abilities are forever goated, tehy give u the most gameplay of anything i think

#

like the ROI is very very very high on movement abilities

#

even basic ones

blazing mulch
#

i think the game im making rn is perfect for a portfolio

#

because its a roguelite so its like what i can code based on randomness stats etc

#

lots of calc

ashen obsidian
#

is there away where i can enabled all the particale emitter at once? or am i stupid and should just use tag editor , (im new to scripting)

woeful mural
#

making a remake of a game I loved as a kid

vernal granite
woeful mural
#

and every couple of ingame secs theres a chance the biome changes

#

and all the map assets will change

brave path
#

if anyone got a potato pc or wants a better pc performance dm (u wont regret it)

stiff crown
#

can anyone tell me a good game idea

compact spoke
#

colony game always fun

stiff crown
#

i have a friend , he is marketplace staff member in devs cove server , and he is investor

iron vigil
vernal granite
fathom sundial
normal spruce
#

anyone know how to like fix hum physics recovery freeze thing

iron vigil
#

No I figure out what it was

#

I was just literally doing the ragdoll wrong

brave path
#

if anyone got a potato pc or wants a better pc performance dm (u wont regret it)

neon bolt
#

yo how do ppl be knowin what math n shi to use when they making something?

violet gull
#

Can anyone teach me making good games from roblox studio

frail plaza
#

is this good structuring?

stiff saddle
umbral hound
half dust
#

looking for a scripter fuII time for more information dm me. Yes theres a payment ofc.

summer aurora
# blazing mulch what are module scripts

sorta just a way to make your own functions?
that's atleast how i use it, functions and info.

there's advanced stuff like OOP, but really you can go on a big game without using it (myself included)

green sparrow
ruby cipher
#

how much should someone charge for a system like catalog avatar game

#

but u have specific items instead of the whole catalog

real zealot
#

there’s also a free module that roblox has inside of one of their template thingies

real zealot
#

i think it’s the clothing store template

#

ugc homestore

#

it gives you that exact feature of it being specific items

ruby cipher
#

oh the ui is just kinda shit

real zealot
#

it’s modifiable i think

#

easy to repurpose and resell if you want

surreal sky
#

is this not how tools work ? can someone tell me why the code aint executing its a server script and its inside the tool script.Parent.Equipped:Connect(function() warn("HA;ELEHFDJKMNB") end)

mental rivet
#

the script is correct, just put it in a localscript

surreal sky
mental rivet
#

glad you found the fix though

zenith trellis
#
local Uis = game:GetService("UserInputService")
local tweenService = game:GetService("TweenService")
local RunService = game:GetService("RunService")
local BooleanValue = game.ReplicatedStorage:WaitForChild("TaskBoolean") 

local player = game.Players.LocalPlayer
local PlayerGui = player:WaitForChild("PlayerGui")
local Mask = PlayerGui:WaitForChild("ScreenGui"):WaitForChild("Mask")
local MaskModel = game.ReplicatedStorage:WaitForChild("MaskModel")
local charachter = player.Character
local Head = charachter:WaitForChild("Head")

local masktime = 10
local CurrentTime = masktime 

local MaskEquipedFlag = false

local maskModelClone = {}

Uis.InputBegan:Connect(function(input, event)
    if event then return end
    if input.KeyCode == Enum.KeyCode.R then
        if not MaskEquipedFlag then
            Mask.Visible = true
            Mask:WaitForChild("MaskE"):Play()
            Mask:WaitForChild("HeavyBreath"):Play()
            MaskEquipedFlag = true
            maskModelClone = MaskModel:Clone()
            maskModelClone.Parent = Head
            task.wait(2)
            Mask:WaitForChild("HeavyBreath"):Play()
        else
            Mask:WaitForChild("MaskUnE"):Play()
            Mask.Visible = false
            MaskEquipedFlag = false
        
        
        end
    end
end)

local playerGui = player:WaitForChild("PlayerGui")
local screenGui = playerGui:WaitForChild("MaskUi")
local Bar = screenGui:WaitForChild("Bar")
local BarStartSize = Bar.Size
local BarEndSize = UDim2.new(0, 0, 47, 0)

RunService.Heartbeat:Connect(function(DeltaTime)
    if MaskEquipedFlag then
        Bar.Visible = true
        CurrentTime -= DeltaTime * 2
        CurrentTime = math.clamp(CurrentTime, 0, masktime)
    else
        CurrentTime += DeltaTime*2
        CurrentTime = math.clamp(CurrentTime, 0, masktime)
        Bar.Visible = false
    end
    Bar.Size = UDim2.fromScale(CurrentTime / masktime, 1)
    if MaskEquipedFlag and CurrentTime <= 0 then
        Mask.Visible = false
        MaskEquipedFlag = false
    end
end)

third day of scripting

mighty wedge
#

yo i wanna make a ball system like azure latch but for basketball how would i do that?

near flame
zenith trellis
#

local character = player.Character or player.CharacterAdded:Wait()

winter sky
#

tweenservice so πŸ”₯

azure granite
#

whats the best zone module

azure granite
robust coral
#

Hello i am a Scripter And Thumbnail / Photo editor / creator with 1 year of scripting experience and outside of roblox photo editing experience Dm me for any jobs u have

regal salmon
#

made their account today btw ✌️

exotic dirge
#

u shouldnt advertise here both of u

vale quail
#

mb

exotic dirge
#

its alr maybe go to devdiscussion or smth

vale quail
#

ok

stiff crown
#

anyone looking for investors?

weary crystal
#

Pigeon playing chess with a trex.

static coral
#

better question actually how is the pigeon moving the pieces????

manic vine
#

camera, walkspeed

#

i am building a herberg game and i have all these npc that i have to let walk around but should i do it with layout parts or is there a different way

wild veldt
#

roblox --> discord webhooks are allowed right

copper iron
#

how do yall structure your ui code

exotic dirge
#

OOP

copper iron
#

yeah i get that, but how do you avoid :waitforchild hell

#

it gets so messy

exotic dirge
#

wdym

exotic dirge
# copper iron it gets so messy

instead of

local c = self.instance:WaitForChild("b):WaitForChild(c)

do:

local a = self.instance
local b = a:WaitForChild("b")
local c = b:WaitForChild("c")
#

much cleaner

copper iron
#

thanks

exotic dirge
#

np

sour jungle
#

personally, i like putting them in a black dark box with camera changed

timid mica
#

does anybody know how i can grab a player's hair accessories and skin color only and apply it to a startercharacter or their character ingame because i have a starter character but wanna apply the hair accessories and skin color

timid mica
#

yes please but it would also be helpful if you explained it

#

through comments or whatever you please

static coral
#

you need to use humanoid:ApplyDescription/ApplyDescriptionReset

#

or humanoid:AddAccessory

timid mica
#

lemme just read the doc fully

#

ok i understand it now

shut quail
#

yo guys is for .. pairs and for .. ipairs like a foreach loop, to loop through arrays and stuff

frank grotto
#

yes ipairs does in order from 1 to the end, and pairs does it randomly

soft nexus
#

is there people who still uses pairs ?

quaint wind
#

obv

rocky basin
#

but yeah its stupid

soft nexus
hollow vine
#

any beginner scripters or anyone scripter looking for job dm me

static coral
latent yoke
#

Do yall use findfirstdescendants

supple spindle
distant hamlet
#

they kirkified the kid

graceful zodiac
#

πŸ’€

tired stag
#

Sir ok

#

Wanna see mbappe on a korean add

vagrant viper
#

Whats a different way to write this code scince I know it will usually just not execute:
if part.Position == Vector3.new(1, 1, 1) then
-- Code here
end

real zealot
shut quail
#

Looping through arrays or lists seem pretty useful to me

distant hamlet
#

nothing

#

just disable their movement

quick dock
#

local targetPosition = Vector3.new(1, 1, 1)
local tolerance = 0.01

if (part.Position - targetPosition).Magnitude < tolerance then
-- Code here
end

weary crystal
steady lion
#

anyone got any ideas what should i script? Because im making a portofolio but i dont really have any vids showing my scripts

strange kiln
#

people love battleground-style abilities

steady lion
#

Ok i'll note that

quartz folio
#

can anyone help me with this small problem

steady lion
quartz folio
#

so basically i have both r6 and r15 rigs with their default animations
i want to add animations from the roblox marketplace, how do i do that

steady lion
quartz folio
#

how do i find the zombie animation there

steady lion
#

Did you made it or did someone else

strange kiln
quartz folio
#

basically i want the animtions from the roblox marketplace like the zombie or toy animation into my rigs

steady lion
#

Just search zombie walking

strange kiln
steady lion
#

Oh wait you want roblox's anim?

quartz folio
#

yes

#

im talking about these ones

steady lion
#

just click on it and in the bar where you type url there should be some numbers that indicate the animation id

#

Make sure you opened roblox from browser

quartz folio
#

that's exactly what im doing for the past hour or so, but this error shows up everytime

steady lion
#

That happens because you have to repost the animation yourself

quartz folio
#

what does that mean and how do i do that, im very new to scripting so

steady lion
quartz folio
#

bet tysm

zenith trellis
wild veldt
#

How do you make a backup of your data with profile service

wraith shadow
#

me when i made combat haha easy peasy animation hitbox go brr, me when gun systems WHY WONT IT FUCKING WORK

humble portal
frank crow
#

can anyone help me with something im currently making a custom inventory system but im stuck

zenith trellis
neat pewter
#

thats cap

humble portal
#

if you did that on your own in 3 days youre going pretty good but 3 days is basically nothing

wraith shadow
humble portal
#

flashlight not following the camera is an easy fix

zenith trellis
zenith trellis
frank crow
#

bro what the fuck

wraith shadow
humble portal
wraith shadow
humble portal
#

how did you figure out data stores on your second day thats insane

neat pewter
#

thats wild

humble portal
wraith shadow
neat pewter
#

yh

wraith shadow
humble portal
zenith trellis
humble portal
zenith trellis
wraith shadow
zenith trellis
#

wait a sec i got script at my first day

humble portal
humble portal
wraith shadow
zenith trellis
#
-- Services
local CollectionService = game:GetService("CollectionService")
--Other Stuff
local generator = workspace:FindFirstChild("Generator")
local clickDetector = generator:WaitForChild("ClickDetector")


local moduleInfo = require(game.ReplicatedStorage.ModuleInfo)
local GeneratorStatus = moduleInfo.GeneratorStatus
local generatorBrokeTime = moduleInfo.generatorBrokeTime
local alivetime = moduleInfo.ElapsedTimer
local lightEnabled = true
GeneratorStatus = "on"

local PointLightFolder = workspace:FindFirstChild("PoinLight"):GetChildren()

local GeneratroDisabledSound = generator:WaitForChild("GeneratorDisabled")
local GeneratorEnabledSound = generator:WaitForChild("GeneratorEnabled")
local ErrorSound = generator:WaitForChild("Error Sound")

local LightTag = CollectionService:GetTagged("LightPart")

function Disable()
    for _,Obj in ipairs(PointLightFolder) do
        local PointLights = Obj:WaitForChild("PointLight")
        PointLights.Enabled = false
    end
end

function Enable()
    for _,Obj in ipairs(PointLightFolder) do
        local PointLights = Obj:WaitForChild("PointLight")
        PointLights.Enabled = true
    end
end



print(generatorBrokeTime)

local function GeneratorDisable()
    for _, parts in ipairs(LightTag) do
        parts.Color = Color3.fromRGB(63, 63, 63)
        GeneratroDisabledSound:Play()
        Disable()

    end
    GeneratorStatus = "Off"    
    print(GeneratorStatus)
end


local function GeneratorFixing()

    clickDetector.MouseClick:Connect(function()
        if GeneratorStatus == "Off" then
            GeneratorStatus = "on"
            for _, parts in ipairs(LightTag) do
                parts.Color = Color3.fromRGB(199, 199, 199)
                GeneratorEnabledSound:Play()
                Enable()

            end
        else
            
            print("Generator Alredy Working")
            ErrorSound:Play()
            
        end
        
    end)
end

while task.wait(generatorBrokeTime) do
    GeneratorDisable()
    GeneratorFixing()
end

my script at second day lol

humble portal
zenith trellis
wraith shadow
zenith trellis
#

os.data is so usles bruf

humble portal
#

the new roblox studio is so ugly oh my god

#

i dont udnerstand why they want to change it

zenith trellis
wraith shadow
humble portal
zenith trellis
#

same

wraith shadow
zenith trellis
humble portal
wraith shadow
zenith trellis
#

bruf i need to script animatronic ai later but idk how lel β˜ οΈπŸ˜­πŸ™

humble portal
wraith shadow
rocky basin
zenith trellis
zenith trellis
wraith shadow
zenith trellis
rocky basin
zenith trellis
#

they have 1 by 1 mechanic as real one and even more

wraith shadow
zenith trellis
#

like vent crouch, some of them can't, awake time, security mask connect and etc

wraith shadow
#

pathfind service find a path from a given position to any position you like

#

Humanoid:MoveTo is essential to make the NPC actually move

#

understand?

zenith trellis
wraith shadow
#

i can help you if you need it

zenith trellis
zenith trellis
wraith shadow
#

i wanna remake secret of the mimic in roblox

zenith trellis
#

actually im a builder but started learning scripting tho

wraith shadow
#

ok

ember kernel
#

how do people learn to code

hollow aurora
#

making a thing

zenith trellis
late fog
#

can someone help me blacklist myself from a dono lb (cant send here its too long)

frank grotto
#

Years ago I used AlvinBlox

#

the goat

#

after that set yourself little projects to do and use documentation and devforum to deepen your understand of different things

median echo
#

anyone wanna learn lua together , w/ intermediate knowledge pls

umbral ravine
#

battelground

#

and stealbrainrot trend

#

wanna take a look?

median echo
#

added u

pallid prairie
#

if anyone is learning to script or could help me with scripting, dm me or reply to this please!

edgy sonnet
#

could anyone help me a w a quick fix, I just need my wins to be doubled if the player owns the gamepass

quick dock
#

So generous πŸ˜‡

brisk isle
#

Or just multiply their wins by two if they own a gamepass

edgy sonnet
#

cause i did that

brisk isle
#

Sure

#

@edgy sonnet Are you finding the scirpt

edgy sonnet
#

lemme add u

#

its long code

#

and sorry im very laggy

brisk isle
#

Allg

quartz flame
#

hi

#

anyone online?

frank grotto
#

im offline rn

quartz flame
#

k

#

lol

#

can you help me with global chat?

frank grotto
#

sure

quartz flame
#

ok dm me thanks

dapper night
#

anyone got a full admin abuse kit with the traits, events? (global system chat not needed)

median echo
#

where can u find testers?

dapper night
#

saves you alot of time and money

somber vault
median echo
median echo
somber vault
#

i love testing games

dapper night
median echo
dapper night
prisma aspen
dapper night
prisma aspen
#

ive tested like 3 big games and never got paid for it

dapper night
#

bro.

prisma aspen
#

why?

dapper night
#

I used to pay my testers 1.3k robuc

#

per week

prisma aspen
dapper night
prisma aspen
#

i was promised tester pay twice

#

never got paid tho

dapper night
prisma aspen
wise turtle
#

hi does anyone want to teach me scripting im a beginner? thanks

static coral
dapper night
wise turtle
#

yay!

static coral
#

wait

#

u trolling

dapper night
wise turtle
#

wat

wise turtle
static coral
dapper night
#

and tell me what ur struggling with

vocal forge
#

hi guys anyone want to join my server and play?

quick dock
wise turtle
#

i lied to get clients

quick dock
wise turtle
#

nop

quick dock
wise turtle
obsidian geyser
#

is visual code helpful?

quick dock
wise turtle
quick dock
quick dock
ripe plume
#

aligning everything making it tidy

obsidian geyser
#

brawl dev is coming in clutch brah

prisma aspen
terse wigeon
#

visual studio is usefull in teams where they use Git

#

Idk other benefits from it tbh while doing roblox projects

lilac gale
#

better intellisense when working with classes

#

package managers are nice

#

certain tools (i.e blink) are also easier to manage and work with on a cli vs roblox studio

#

better tooling & highlighting when writing code

#

etc

#

use it if u want

tepid notch
vivid remnant
#

could someone rq give me a very simple game design idea?

shy mica
#

Guys i script for u anything for 10 bucks

#

paypal

prisma jackal
dusk stratus
#

What is the difference between Udim and Udim2

#

?

shy mica
jovial moth
#

guys how long does it take to learn lua

woeful mural
neon bridge
#

hi guys

#

why is there

#

2 code chats

sterile ember
#

yes

#

sometimes

rose olive
#

should I perform knockback on the local or server side

rose olive
#

but thats because I didn't have experience with any coding languages before it

velvet meadow
#

how can i make knockback without the character shake the legs so much

hallow crater
#

yo

obsidian geyser
#

and the latest

#

for scripting

vivid remnant
#

yo could i ask u a question?

vivid remnant
obsidian geyser
#

?

#

yeah

vivid remnant
#

could you give me an idea for a simple game to make(cuz am new to scripting and i want to learn)

vivid remnant
#

i was thinking simulators or smth

obsidian geyser
#

nah

#

to advance

#

wait when did you start scripting?

vivid remnant
#

like two weeks ago

obsidian geyser
#

same

vivid remnant
#

ish

obsidian geyser
#

How much could you do?

vivid remnant
#

not much rn

obsidian geyser
#

Do u watch tutorials?

obsidian geyser
vivid remnant
#

cuz of school i only finish the beginner brawl dev video

obsidian geyser
#

brah

vivid remnant
#

but when i saw the advanced one

obsidian geyser
#

i did not even finish beginner

#

: (

#

u ahead of me

vivid remnant
#

bruh

#

kinda

obsidian geyser
#

alr

vivid remnant
#

but you could still give me an idea

obsidian geyser
#

What could you create?

#

Like systems?

vivid remnant
#

notthing

#

cus the beginner

#

/right

#

mainly teaches you the very basics and what each code does

#

and even the systems you can create arn't capable of making a game

woeful mural
vivid remnant
#

like a simulator or smth..

obsidian geyser
#

Oh

#

ik

#

Like do pet sim x

vivid remnant
#

so.. simulator

#

kk any other ideas?

obsidian geyser
#

Money

#

Wait when you watched all the vids for beginner what did you make?

#

Like what were you able to make

#

Money sim

vivid remnant
#

he js made some silly obby game

#

for a money sim

#

you gotta know how

vivid remnant
woeful mural
#

it lowkey might be too advanced tho

vivid remnant
#

thats not bad

woeful mural
#

cuz u gon have to code rat ai bit wtv

vivid remnant
#

it combines a simulator

obsidian geyser
#

good idea

#

but yk how to code it??

vivid remnant
#

tower defense

#

into one

woeful mural
#

πŸ˜‚

vivid remnant
#

same

woeful mural
#

Bro iwatched all of the beginner tutorial and im a good way into the advanced tutorials of brawl code

vivid remnant
#

but learning each step one by one

woeful mural
#

and I still dont know how to code

vivid remnant
#

will help

vivid remnant
woeful mural
#

I think jst tryna do things on your own and applying the concepts is the best approach

vivid remnant
#

learn ffrom there

woeful mural
#

so its hard to work off that

vivid remnant
#

but i rather see the concept

#

and then dissect that concept

#

and use it in my way/understanding

rugged mist
#

how would you make it so that npcs move on the server but it replicates to the client exactly

obsidian geyser
rugged mist
#

do you just change the npc position slowly on the server and then lerp between cframe changed positions on the client?

vivid remnant
#

am new

#

and i bet 'ill learn on the way

obsidian geyser
#

I heard c frames is going to take a 100 years to understand

rugged mist
#

its not @obsidian geyser

#

its just matricies and linear algebra

vivid remnant
#

ahhh nahh

supple pecan
#

It’s not to scary trust

woeful mural
supple pecan
#

Like the engine does that

vivid remnant
#

Roblox Game Idea

Rat defense simulator

Has a bases

Rat enemies/npcs that attack your base

Base has weapons that fight rats

Base produces Cheese

Cheese helps get better bases and weapons

Gain more cheese/booster every new wave level gained

*Wave levels-lvl 1, 2, 3, 4 etc..

#

can copy if you want

#

jst a simple conecpt to help me grow as a dev

#

not my DREAM game obviously

obsidian geyser
#

But answer my question

#

could you script it?

#

use chatgpt or grok too to help

vivid remnant
obsidian geyser
vivid remnant
#

progressively yuh

obsidian geyser
#

What are some like good stuff you learned from beginner series

vivid remnant
#

andddd

#

hol up

obsidian geyser
#

What systems could you create?

supple pecan
vivid remnant
#

Tables/Instences/Index/Randoms/events

vivid remnant
rugged mist
supple pecan
#

Still beginner tho

supple pecan
#

Or u getting there

obsidian geyser
pearl blaze
#

Need someone with VR experience, imagine a player near a table and he bends over a table to look at some items, I can get only the position of headset and joysticks, so If I just get the headset movement it would look like player just moves inside the table, can I somehow know if player moves his headset to move or when he just bends over?

obsidian geyser
#

Like what could you create?

supple pecan
obsidian geyser
#

A simple teleport

#

etc

supple pecan
#

Or its movement atleast

vivid remnant
supple pecan
#

Why the need for such smooth and responsiveness anyway

vivid remnant
supple pecan
#

How long u been scripting

vivid remnant
#

but i code and scripting progressively i'll learn it by default

vivid remnant
supple pecan
#

Oh

#

Nvm then

vivid remnant
#

yeah i know

supple pecan
#

Thought it was like gonna be a year

vivid remnant
#

nahh

supple pecan
#

Maybe I’m just a slow learner

vivid remnant
#

like i mean i'll be already making a combat system

supple pecan
#

I still learn something new everyday

vivid remnant
#

i mean deepworken type beat

supple pecan
#

And I’ve been doing ts for 5 years or more

#

6-7 actually yeah

vivid remnant
supple pecan
vivid remnant
supple pecan
#

I mean

vivid remnant
#

good for you

supple pecan
#

Idk

obsidian geyser
vivid remnant
supple pecan
#

I still ask Claude for simple stuff and why this stupid code doesn’t work

vivid remnant
supple pecan
#

But I don’t need it for systems or actual important things

supple pecan
#

AI

#

Best coding ai rn probably

obsidian geyser
#

Oh

obsidian geyser
#

Alr thank you

supple pecan
#

Lemme think

obsidian geyser
#

ima use that

supple pecan
#

I

obsidian geyser
#

@vivid remnant

#

Get visual code

supple pecan
#

Made not much

obsidian geyser
#

its good

vivid remnant
supple pecan
obsidian geyser
#

For practice

vivid remnant
#

..

obsidian geyser
#

Visual code is good for practice

#

but I dont reccommend cuz I have not used it

supple pecan
supple pecan
supple pecan
vivid remnant
supple pecan
#

But since I wasn’t good at anything else except scripting

#

I got nowhere

#

Now I’m nearly finished making a game

vivid remnant
supple pecan
#

My self

vivid remnant
#

but am quite mid at vfx

supple pecan
#

Sooo u gotta learn a lil more then code to make stuff

supple pecan
vivid remnant
#

but now I probably forgot

supple pecan
#

Just practice for a week and you’ll be a pro

vivid remnant
supple pecan
#

Like what

vivid remnant
#

explosions

obsidian geyser
#

I quit coding like twice

vivid remnant
#

timed effects

obsidian geyser
#

But after taking notes

#

It helped alot

vivid remnant
#

slashes

supple pecan
#

My best advice is making a game

vivid remnant
#

thats why i wana script also

#

to blend it with vfx later on

supple pecan
#

Vfx overrate skill tbh

#

I mean not everyone wants to play a 100th version of battlegrounds

#

But I still use it for my game

#

It’s just minimal

vivid remnant
#

yeah

supple pecan
#

Yeah

#

If ur starting out

#

Make a game

#

It’s so helpful u learn a lot fast

feral wyvern
#

just make a game you find fun

vivid remnant
#

yeah thats what am doing tn

supple pecan
supple pecan
vivid remnant
#

what ill do later on

#

when am good

feral wyvern
vivid remnant
#

but passionately i wana make a zelda type game

obsidian geyser
#

Nah

#

make a game everyone enjoys

#

if you try publishing it

vivid remnant
#

with an actual open world

supple pecan
#

That’s why shooter games are for fps ppl and stuff

#

I mean best games are the ones that can be for everyone

#

Like grow a garden

#

But that game lwky sorta ruined Roblox a lil

vivid remnant
#

alr guys am a head to deving

supple pecan
#

But that guy hella rich so

feral wyvern
#

Make games that are trending

supple pecan
#

Nah

feral wyvern
#

yes

supple pecan
#

Ur money will last as long as trend

vivid remnant
supple pecan
#

And usually they don’t last

vivid remnant
#

and if that money i used to make a good game

supple pecan
#

Where u gonna get the money for the first game then

vivid remnant
obsidian geyser
feral wyvern
#

takes a few games before you make it

supple pecan
#

The guy who made grow a garden

obsidian geyser
obsidian geyser
#

like $35 million a year

#

I heard

feral wyvern
#

took me about 2 years before i made any robuxs

supple pecan
supple pecan
supple pecan
vivid remnant
feral wyvern
#

rv chaos is going good

supple pecan
#

What game u made

#

Lwky curious

feral wyvern
#

I scripted for
Wordie, Dead Sands, Dangerous Buggy Driving and RV Chasos

supple pecan
#

Oh

#

Tv chaos is doing pretty good I think

feral wyvern
#

and some other games that aren't out

supple pecan
#

10k ccu

feral wyvern
#

peak was 14k

supple pecan
feral wyvern
supple pecan
#

Hopefully I can get there w my own

feral wyvern
#

dont need one

olive summit
supple pecan
#

14k gets u like 9k if u do it well

#

Atleast from what I’ve seen

round atlas
#

Does anyone know how to make a cursor change when hovering over a button

#

It works when it's not hovering over a button but when it is it breaks how can I fix that

odd lantern
#

oh mb

odd lantern
primal plinth
#

yooo im a new dev, im so confused on how prof devs use modules scripts what do they use them for?

round atlas
round atlas
odd lantern
round atlas
#

I need it to adapt

#

Wait I might

#

Auctally because the person I'm working for said it was just needed in the menu

round atlas
round atlas
odd lantern
#

Adapt in what way

#

let me check the docs, I rarely change the cursor

round atlas
odd lantern
#

You can set an attribute on each button

#

and use attributes to track which button sets a specific cursor

round atlas
odd lantern
#

How many buttons are there?

round atlas
#

Unless

#

How do I set a attribution like that

#

I think that's the answer

odd lantern
#

you just go on the button instance

#

and at the bottom of the list of properties is attributes

vivid remnant
#

ngl is this a good tut to start on?

#

nvm

round atlas
#

Like what type of attribution

odd lantern
#

It depends on what you want

#

You need a cursor icon to change for specific buttons

#

so maybe you can store the textureid of the cursor on each button

round atlas
odd lantern
#

..

vivid remnant
#

guys

formal pier
#

Hello,
I have practically zero experience with scripting, but I plan to learn how to for one reason:

I'd like to create a comic reader that takes images and places them in the map as 1x1 studs, would that be feasible?

round atlas
round atlas
odd lantern
#

😭

#

Atp just ask chatgpt

round atlas
odd lantern
#

of course

#

you store it, to use it

round atlas
#

The issue is that it's automatically making my cursor no matter what into a different cursor then what I set

odd lantern
#

you'd have to send over some code man

round atlas
#

local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
local runservice = game:GetService("RunService")
local playerGui = player:WaitForChild("PlayerGui")
local enabled = true

local mouse_image = Instance.new('ImageLabel')
local mouse_x = mouse.X
local mouse_y = mouse.Y
local camera_x = workspace.CurrentCamera.ViewportSize.X
local camera_y = workspace.CurrentCamera.ViewportSize.Y
mouse_image.BackgroundTransparency = 1
mouse_image.Image = "rbxassetid://117633044828401" -- mouse image
mouse_image.Size = UDim2.fromOffset(mouse_x/camera_x,mouse_y/camera_y) -- change these how you would like
mouse_image.Name ='mouse_image'
mouse_image.Parent = player.PlayerGui:WaitForChild('Background') -- will change later

mouse.Icon = mouse_image.Image

mouse.Move:Connect(function()

if enabled then
    enabled = false
task.wait(.2)

local objects = playerGui:GetGuiObjectsAtPosition(mouse.X,mouse.Y)
if #objects > 0 then
end
mouse_image.Position = UDim2.fromOffset(mouse.X - 50,mouse.Y - 50)
print('moved')
enabled = true
end

end)

odd lantern
#
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
local runservice = game:GetService("RunService")
local playerGui = player:WaitForChild("PlayerGui")
local enabled = true

local mouse_image = Instance.new('ImageLabel')
local mouse_x = mouse.X
local mouse_y = mouse.Y
local camera_x = workspace.CurrentCamera.ViewportSize.X
local camera_y = workspace.CurrentCamera.ViewportSize.Y
mouse_image.BackgroundTransparency = 1
mouse_image.Image = "rbxassetid://117633044828401" -- mouse image
mouse_image.Size = UDim2.fromOffset(mouse_x/camera_x,mouse_y/camera_y) -- change these how you would like
mouse_image.Name ='mouse_image'
mouse_image.Parent = player.PlayerGui:WaitForChild('Background') -- will change later 

mouse.Icon = mouse_image.Image



mouse.Move:Connect(function()
    

    if enabled then
        enabled = false
    task.wait(.2)

    local objects = playerGui:GetGuiObjectsAtPosition(mouse.X,mouse.Y)
    if #objects > 0 then
    end
    mouse_image.Position = UDim2.fromOffset(mouse.X - 50,mouse.Y - 50)
    print('moved')
    enabled = true
    end
end)
round atlas
formal pier
odd lantern
#

idk

round atlas
#

I'm messing around with cursor stuff

odd lantern
#

since this runs whenever the mouse moves, even if it isnt hovering over a button

round atlas
odd lantern
#

ah

round atlas
#

I'ma make a isa statement

#

And use what you said

nova yarrow
#

honestly
since roblox animation script is so ass should i just stop and play movement state animations depending on the movement state

odd lantern
#

when the mouse touches the button, you get the X and Y coordinates of the mouse position as paremters as well

round atlas
round atlas
#

oh wait nvm ik

#

im so dumb

#

wait no

#

whats the real way of doing it lol

#

ik a way to cheat it

#

i dont think my employer will care too much anyways

jolly wing
#

can someone help me with a piece of code

jolly wing
hoary cedar
jolly wing
real zealot
hoary cedar
mild island
#

How do I learn to script consistently?

modest acorn
jolly wing
# hoary cedar Which part of your script is responsible for that?

--// Kart Spawning Logic
local function spawnKart(player, spawnCFrame)
if not spawnCFrame then
warn("No Spawn CFrame provided for", player)
return nil
end

local ownerId = getOwnerId(player)

-- Default values
local kartName = DEFAULT_KART
local wheelsName = DEFAULT_KART
local gliderName = DEFAULT_GLIDER

--// FIX: Properly getting data from player
if player:IsA("Player") then
    local data = player:FindFirstChild("Data")
    if data then
        -- CHECK: Do these ValueObjects actually exist in your Data folder?
        if data:FindFirstChild("EquippedKart") then kartName = data.EquippedKart.Value end
        if data:FindFirstChild("EquippedWheels") then wheelsName = data.EquippedWheels.Value end
        if data:FindFirstChild("EquippedGlider") then gliderName = data.EquippedGlider.Value end
    end
end

if not KARTMODELS:FindFirstChild(kartName) then 
    warn("Kart model not found: " .. tostring(kartName) .. " using default.")
    kartName = DEFAULT_KART 
end

if not ASSETS.Wheels:FindFirstChild(wheelsName) then wheelsName = DEFAULT_KART end

local kartModel = KARTMODELS[kartName]:Clone()
kartModel.Name = tostring(ownerId)
kartModel:SetAttribute("KartID", kartName)
kartModel:SetAttribute("OwnerID", ownerId)

-- Wheel Setup
local wheelsModel = ASSETS.Wheels[wheelsName]:Clone()
local oldWheels = kartModel:FindFirstChild("Wheels")
if oldWheels then oldWheels:Destroy() end

for _, wheel in pairs(wheelsModel:GetChildren()) do
    if wheel:IsA("BasePart") then
        wheel.CFrame = kartModel.PrimaryPart.CFrame * wheel.CFrame
    end
end
wheelsModel.Parent = kartModel
#

should be this part

hoary cedar
#

Is this not your code?

jolly wing
hoary cedar
jolly wing
hoary cedar
jolly wing
#

I want the player to be the kart

hoary cedar
#

That is not how you do that

jolly wing
#

do I use clone?

mild island
hoary cedar
mild island
#

But is there an order I should learn things?

wise turtle
#

you just need paris academy

round atlas
#

local mouse = game.Players.LocalPlayer:GetMouse()
local guiObject = script.Parent

guiObject.MouseEnter:Connect(function()
mouse.Icon = "rbxassetid://YOUR_IMAGE_ID_HERE" -- Replace with your custom image ID
end)

guiObject.MouseLeave:Connect(function()
mouse.Icon = "" -- This will revert to the default cursor
end)

Does anyone know if this code would work to change a cursor pic when I hover over a button

#

@odd lantern

odd lantern
#

should work

modest acorn
# mild island But is there an order I should learn things?

I'd say start with "https:/ /create.roblox.com/ docs/ scripting" ||remove spaces|| (you can skip advanced for now it just tells you how to optimize your game), this gives you a general overview of scripting. After that there isn't really a order to learn the rest of the stuff. Just learn things you will be commonly using

modest acorn
round atlas
round atlas
odd lantern
#

omfg

modest acorn
#

try and copy and aspect of a game you like

#

and see if you can recreate it

modest acorn
jolly wing
potent maple
#

Is it a good idea to create hitboxes locally, detect hits on the client, and then perform distance checks and apply damage on the server for combat system?

fast kite
#

my annoying dev is being a drone rn

#

ive asked this guy to make a script for 2 days

#

he hasnt

real zealot
fast kite
zenith trellis
dapper night
#

anyone got a full admin abuse kit with the traits, events? (global system chat not needed)

midnight dock
#

So I want to make an image that rotates around a circle but like from a certain degree radius but I with trigonometry is hard, any suggestion?

#

I want to make a field goal system like cfb

exotic dirge
#

isnt that just cos(a) = x and sin(a) = y

midnight dock
#

Nah

midnight dock
#

Not even level 1 it’s like entry level

exotic dirge
#

it is what u need though

midnight dock
#

Yeah

pseudo monolith
#

Guys. Do I still have a chance if I told you I've been scripting for 3 years and I just knew about OOP?

dapper night
#

anyone got a full admin abuse kit with the traits, events? (global system chat not needed) im willing to pay

pseudo monolith
winged oar
#

i just ruined my games scripts and idk how to fix it, my whole things a mess, can anyone help me please

hoary cedar
winged oar
#

ive done alot and publishef many times

#

im new to studios and basically i hired ppl to do a job

#

i think i f'ed it up

#

i need sm1 to help me fix it

hoary cedar
winged oar
#

idk how studio works

winged oar
hoary cedar
winged oar
#

listen im ngl i even fked up the dono

#

omfg bro 😭

hoary cedar
winged oar
#

will i be able to come back

#

to the version im in

hoary cedar
#

100%

winged oar
#

okay

hoary cedar
#

Any time you've published or saved, it's been recorded as a version

winged oar
#

624

#

is wild work

winged oar
#

check dms

rapid verge
winged oar
#

alot going in

rapid verge
winged oar
rapid verge
winged oar
#

and my emotes arent in the ui anymore

#

speaker sync gone

#

hold e for shop gone

#

idk what happened, i was just building

#

im desperate for help bro

rapid verge
# winged oar no like whats ruined is scripts

theres a seperate file roblox has called auto recovery place, you should be able to recover it from there

it should pop up when you open studio but im pretty sure you could find it in settings or in your file explorer

bitter rampart
winged oar
#

please

hoary cedar
#

It's there

winged oar
#

bro

#

i genuinely feel like my heads gonna pop off

rapid verge
winged oar
#

autosaves is empty

#

@rapid verge

#

β€œthis folder is empty”

rapid verge
#

no dms

winged oar
#

fs

#

i cant send pics

rapid verge
# winged oar fs

check version recovery then

if you scroll back far enough you should be able to find it

winged oar
#

yeah ngl i give up

winged oar
#

idk what to do with it

rapid verge
winged oar
#

idk how studio or scripting works

#

no

#

not even my donation board

strong cliff
#

BRO

#

I like windows

#

:)))))

rapid verge
# winged oar idk how studio or scripting works

then i'd reccomend not making a game at all yet

would reccomend watching brawldev's scripting tutorial series
then learn programming patterns like OOP and ECS

after that make a bunch of systems for games you might want to make, so you can drag and drop them for your games

after you have a large enough library of systems then start making games

zenith trellis
#

anyone wants to make horror, im builder and beg scripter BONK

zenith trellis
warped elk
#

a

runic plume
weary ravine
# rapid verge then i'd reccomend not making a game at all yet would reccomend watching brawld...

welp for the past few weeks ive watched brawl devs beginner and advanced tutorials and took some time to practice i am still not done with it but i do have some questions and i would wanna know whats your opinion ive spoken to some people in voicechat and 2 said that youtube tutorials are good but when you actually try to make something its gonna become hard and now i am afraid that i am wasting my time trying to complete brawldevs scripting tutorial and i am very clueless on what to do right now because he explains so well! but im afraid that when i actually try to make something i might have issues with it. so what should i do continue brawl devs scripting tutorial and complete it or start working now and if i have anything i wanna know i watch and see if i can understand it ?

exotic dirge
#

if u run into any problems ask others to help or review ur code

weary ravine
#

so i started making simple games now and progressively try to make it more complex and harder?

exotic dirge
#

ye maybe even try using modulescripts for frameworks

weary ravine
#

still dont know what frameworks r

exotic dirge
#

do you know what OOP

weary ravine
#

nope

exotic dirge
#

ok so what if you wanted to make a car, it would be the best if you didnt have to add the same script to every car since youll have to update and adjust the scripts by hand. for this reason we could use OOP:

local carModule = {}
carModule.__index = carModule

function carModule.new(speed)
local self = setmetatable({}, carModule)
self.speed = speed
return self

function car:initialize()
local speed = self.speed
--//Handle controls here
end

return carModule

in another script

local car = carModule.new()
car:initialize()
#

you dont have to understand metatables or .__index

#

but self is the car objecy

weary ravine
#

oh you mean if i had reuseable variables / functions that i wanna use in other scripts that i should use a module script forn them?

exotic dirge
#

exactly

#

any repetitivd code should be stored in a module

weary ravine
#

oh yeah i already knew that i didnt know what OOP is lol but ig OOP stands for that

exotic dirge
#

and if you want to control the code you can use OOP

weary ravine
#

i stopped at userinputservice with brawldevs tutorials

exotic dirge
#

its Object Orientated Programming

#

it allows you to create your own objects

#

just like roblox part with has the method :Destroy() and property .Color

weary ravine
#

alright

#

ill try to make like a simple clicker simulator and add stuff to it

exotic dirge
#

ye sorry for the overwhelming

weary ravine
#

np thanks for the advice

exotic dirge
#

youll understand it one day hopefully

weary ravine
#

ive been so clueless

karmic tangle
#

i dont think a clicker sim isgonna have a whole lot of oop in it

exotic dirge
#

good luck

karmic tangle
#

i wasnt talking to you

weary ravine
karmic tangle
#

ah ok

rotund pawn
#

Do you guys do shit like this?
task.wait(math.random(3,5))
item.Enabled = true

Item is ProximityPrompt, that is reenabled after action.
idk why I do it

tardy pasture
rotund pawn
#

To be fair idk, its for NPC when can take next command from player.

#

Kinda like simulating real life when human has to take some random wait before next customer

static coral
#

and depending on the game, it may be better to use task.delay

tardy pasture
static coral
rotund pawn
#

Why?

static coral
#

dont use magic numbers

tardy pasture
static coral
# rotund pawn Why?

if you want to modify it, depending on your game, you may have to change it in several scripts in many places, so instead you should declare it somewhere globally so that you just have to change it once

tardy pasture
#

if i want a player to wait 5 seconds before he is able to shoot with his musket again then ill make him wait goddammn 5 hardcoded seconds

tardy pasture
rotund pawn
#

Yeah, I know that. but there is no reason to create variable for wait 3-5 seconds when it is invoked only few times in game

static coral
rotund pawn
#

Thanks for the tip, dw

static coral
tardy pasture
static coral
#

cause if its in more than 1 place then u might even forget to change it in a place

#

and that can lead to bigger problems

rotund pawn
tardy pasture
rotund pawn
#

I just like to do task.wait(random), when interaction delay is supposed to be more "human"

static coral
tardy pasture
#

if i put a number in a module script and use it evrywhere its still hardcoded

tardy pasture
static coral
tardy pasture
static coral
#

im not falling for ts bait no more

rotund pawn
#

its subjective. depends on hardcoded definition, but global variable isnt hardcoding

tardy pasture