#code-discussion

1 messages · Page 243 of 1

foggy burrow
#

sure hit me a dm

wise turtle
#

grid[x][y][z] is faster than grid[hash] btw

kind owl
#

Odds are you are over indexing on a minor issue - don't waste the mental bandwidth if it's not a problem

gaunt gull
silent wasp
kind owl
#

benchmarking + experience

#

it also depends on how sparse the array is and how it was initialized

#

if it's sparse enough it'll be treated as a hash table rather than an array which has a latency penalty

remote bear
#

i use buffers for the main grid since i mainly loop through it and i also use a buffer to keep track of updated columns (though in the future i want to make a better culling method) but for the table i am talking about it is keeping track of the instances x and y. Its called many times per update so optimizing how much memory it uses would be nice

kind owl
#

also the "optimize how much memory it uses" is a fundamentally different class of question than the original ask btw (fast lookup vs space efficiency)

scarlet marten
#

what could i make to submit for scripter application? 🤔
i submitted a gun script but it got declined for apparently not being advanced enough

remote bear
#

around 38,000 pixels or 190x200 per 0.0946 ms according to os.clock or around 0.085 in rendering alone. My aim is at least 60fps running a basic game on my potato

remote bear
kind owl
#

Is that an editable image? Lol

silent wasp
#

Guys for comms do I try to learn like "advanced" type of scripting or do I just make system as I can now and work my way up

kind owl
#

check the performance profiler, you probably are getting pwned by draw calls rather than the buffer access

remote bear
silent wasp
kind owl
#

my Roblox account is probably older than you - that answer suffice?

remote bear
silent wasp
kind owl
#

1/2/10

wise turtle
#

Hear directly from a top tooling creator on common problems for rendering, how to best diagnose and understand what's going on and strategize on how to move faster.

Speaker: MrChickenRocket (Peter McNeill)


Want to see more Roblox content? SUBSCRIBE to our channel! https://rblx.co/Subscribe-To-Roblox-YouTube

Roblox's mission is to bring th...

▶ Play video
silent wasp
#

Not much younger than me

kind owl
#

zeuxcg also has great articles on DevForum

remote bear
#

i know this is for EI but i get limiting the amount of write calls would help, though i would have to test if checking is slower then just rewriting

kind owl
#

he's the former technical director

kind owl
silent wasp
wise turtle
#

maybe i do

#

maybe i dont

silent wasp
#

Umm

kind owl
#

it's stuff like compression/draw call culling that'll be your big performance benefits (only rerender portions of the screen instead of the entire screen)

silent wasp
#

Maybe smt for multi threading or like "more advanced" use of OOP

wise turtle
#

😵

silent wasp
#

And also why is sometimes using OOP worse for performance

kind owl
silent wasp
kind owl
remote bear
kind owl
kind owl
kind owl
#

is it effectively a cheap way to bypass video upload fees?

silent wasp
kind owl
#

and in general your most valuable skill you'll have in this career path is curiousity

#

keep at it 🙂

silent wasp
#

Thanks Alan, all help is greatly appreciated 🙏

remote bear
#

but really it can be used for alot

kind owl
#

seems like it'll be a uphill battle, but good luck

remote bear
kind owl
#

for that gif you sent is the terrain sprite system dynamic, or is that just a predefined data stream for benchmarking purposes

remote bear
lusty panther
#

anyone else having studio issues rn

meager pasture
#

@stable cedar add me so i can dm u

tawny canopy
#

anyone help with this script it will not work im trying to make a loading screen: --// SERVICES
local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local RunService = game:GetService("RunService")

--// PLAYER + CAMERA
local player = Players.LocalPlayer
local camera = workspace.CurrentCamera

--// UI SETUP
local gui = script.Parent
local bg = gui:WaitForChild("Background")
local skipButton = gui:WaitForChild("SkipButton")
local loadingText = gui:WaitForChild("LoadingText")

--// SETTINGS
local ORIGINAL_ANIM_ID = "rbxassetid://i already have a anim"
local LOAD_TIME = 6
local finished = false

--// 1. FIND THE SCENE (WITH RETRY)
local scene = workspace:FindFirstChild("MenuScene")
if not scene then
warn("MenuScene not found immediately, waiting...")
scene = workspace:WaitForChild("MenuScene", 15)
end

if not scene then
warn("CRITICAL ERROR: MenuScene still not found after 15 seconds!")
return
end

local camPart = scene:WaitForChild("CameraPart")
local rig = scene:WaitForChild("MenuRig")


-- 2. CAMERA LOCK (FORCE EVERY FRAME)

local function forceCamera()
if not finished and camPart then
camera.CameraType = Enum.CameraType.Scriptable
camera.CFrame = camPart.CFrame
end
end

-- RenderStepped is the "strongest" way to lock a camera
local camConnection = RunService.RenderStepped:Connect(forceCamera)


-- 3. PLAY YOUR ORIGINAL ANIMATION

local humanoid = rig:WaitForChild("Humanoid")
local animator = humanoid:FindFirstChildOfClass("Animator") or Instance.new("Animator", humanoid)

local anim = Instance.new("Animation")
anim.AnimationId = ORIGINAL_ANIM_ID

local track = animator:LoadAnimation(anim)
track.Looped = true
track:Play()


-- 4. FINISH LOGIC

local function finishMenu()
if finished then return end
finished = true

-- Stop the camera force
if camConnection then camConnection:Disconnect() end

-- Fade out
local tween = TweenService:Create(bg, TweenInfo.new(0.8), {BackgroundTransparency = 1})
tween:Play()

-- Wait for fade before returning camera control
task.wait(0.8)
camera.CameraType = Enum.CameraType.Custom
gui.Enabled = false

end

skipButton.MouseButton1Click:Connect(finishMenu)
task.delay(LOAD_TIME, finishMenu)

spring basin
#

builder needed ungently (simply the best)

tawny canopy
#

nah its fine

#

i got it to work

#

i had stuff in the wrong place

spark sage
#

Can someone help me with my scripting

#

i did a script but it isn’t working for some reason

#

like the model isn’t appearing over my body

silk ember
#

where can i find pro scripters guys?

magic mason
#

guys

#

im optimizing and

#

is task.wait() = runservice.heartbeat:connect

graceful haven
#

What quals do i need in order to post a Feature Request for Studio Features, script-editor inside of DevForum

peak jolt
#

it takes a few days or weeks to get accepted

graceful haven
#

oh thats no fun, can someone else make one for me?

peak jolt
#

what is it

graceful haven
#

auto complete delay

i have a problem when i code right now where auto suggestions pop up when im trying to press tab to auto complete a service like ReplicatedStorage etc.

#

does that make sense?

peak jolt
#

press enter to use intellisense not tab

graceful haven
#

Yes but even when i go into script-Editor and change this setting [Autocomplete Acceptance Behavior] to the opposite it still doesn't work

peak jolt
#

you can probably change the keybind for either accept ai suggestion, autocomplete, or both, whatever you prefer, if you dont like it

graceful haven
#

I didn't think about that let me try it

peak jolt
#

idk what u mean cause ive never had this issue i press tab for ai and enter for autocomplete

graceful haven
#

I'd have to use my right hand for Enter and I'm not used to doing that, its built into muscle memory from when i didn't have this problem

#

Thats why i was trying to get a delay on the auto suggestions

peak jolt
#

Yea just swap the keybinds then

graceful haven
#

im working on finding the keybinds then ill be chilling appreciate your help!

molten jackal
#

can someone help me with lag reduction? I have a game thats out but its mad laggy especially for mobile players and i need to figure out how to remove as much lag as possible

patent sonnet
#

how do i make a new tag

peak jolt
molten jackal
patent sonnet
#

where is it at

peak jolt
#

Tags aren't real you can put any string

patent sonnet
#

as in this?

peak jolt
#

Click the + and type anything

patent sonnet
#

holy shit im a dumbass

#

ok thanks

graceful haven
#

if you're on new ui tag editor is under window-script-tageditor

patent sonnet
graceful haven
patent sonnet
#

roblox forced it upon me

#

and its not in beta features anymore

heavy sail
#

Do yall know the rate for paying devs to make a shop and inventory system?

graceful haven
heavy sail
#

am i ghost rider, as soon as i chatted everyone ran away 😭

heavy sail
#

😻

warped ivy
#

@heavy sail

heavy sail
#

yello

#

whats up

warped ivy
#

U lf someone to make ui?

heavy sail
#

yes, more of a shop and inventory system

#

and possible a map voting system

warped ivy
#

Do you want me to make the design js not the whole scripting??

heavy sail
#

how much would you charge

warped ivy
#

100 rbx for 3 bulk designs

#

Like 3 designs

heavy sail
#

what do you mean by design? would you like create the framework?

warped ivy
#

The map system inventory and shop for 100 robux

heavy sail
#

i would do that actually sure!

#

dm me

warped ivy
#

K

regal salmon
magic mason
#

is task.wait() = runservice.heartbeat:connect

magic mason
regal salmon
magic mason
#

alr ty

mint plover
#

How long should it take me to learn lua and start to make money from it from like comisions

regal salmon
#

start doing commissions when you feel comfortable making most things you can think of

#

or see other people requesting

mint plover
#

is there something that would be better and would pay more in the development section of this discord

#

that could transfer to other things rather than just roblox

mint plover
#

could you make a list on what things would pay the most like 1 paying the most and 5 paying the least

peak jolt
#

No such a list is not possible to make

#

Making and owning a game is top 1 that's the only certainty

molten jackal
#

i have a roller coaster that has a broken reset button. does anybody have a simple line of code so if i click the button the whole model resets.

ripe hinge
mint plover
#

ALT + F4

ripe hinge
molten jackal
#

ngl thats kinda confusing 😂

ripe hinge
molten jackal
#

alr bet

regal salmon
tame temple
#

who can help me im making a upcoming game dm and tell me ur role what you do

rain hound
#

what do yall use when making grab moves? welds? align orientation? i wanna know what works best
i want my grab to be rigid, so if the user turns while holding the victim, there isnt delay

tall sedge
shy furnace
deft coral
#

Though be aware theres gonna be latency due to network ownership as the clients calculate their own physics

leaden island
#

guys how much people would pay for an uber eat system

tepid heath
#

hi

real latch
#

hello i am a scripter looking for projects to make for free for my portfolio (if interested DM me)

stiff saddle
dark oasis
#

If I had a round based game, Is it possible to direct players who join into a game that’s in intermission rather than having them wait till the round is over?

hasty raft
#

looking for an investor for an game it is an jump into type game dm

solemn tiger
#

How to fix {'errors':[{'code':9009,'message':'WAF Blocked Request'}]}

#

Like I am sending script to LuauExecutionSessionTask and if the script is short it will work if the script is long it will return WAF Blocked Request

short basalt
#

just not that easy lol

rose root
#

guys, is there a specific listener to detect when a player is trying to leave your game? Right now I'm using:

UserInputService.InputBegan:Connect(function(input, gameProcessed)
if input.KeyCode == Enum.KeyCode.Escape then
--logic here
end
end)

#

obv id assume this doesn't work on mobile and is also messy

supple spindle
#

game.Players.PlayerRemoving:Connect(function() --code end)

rose root
#

but that's after they click leave no? or im i missing smth

supple spindle
rose root
#

i meant specifically like when they are on the leave menu

supple spindle
#

why would u want them to detect the leave menu 😭

rose root
#

i've seen certain games give an award so they stay instead, and it helps retention a bit

supple spindle
#

ohh

rose root
#

i asked gpt and it just says use the escape key WHYYYYY

short basalt
#

just use guiservice

#

game.GuiService.MenuIsOpen

#

or game.GuiService.MenuOpened

#

for connection

rose root
#

Ah

#

works now

rose root
somber vault
#

Can anyone help me?

#

There's a virus in my game that I can't find nor kill

short basalt
#

Try using the global script search for the keyword "require"

#

And analyze suspicious scripts

proven nexus
#

ey if anyone wants someone to do scripting for them for absolutely free I'll take some ez-medium ones I need some more experience just DM me

supple spindle
#

user MoinServusMoinShurke

#

add me on roblox and then into game edit

dark jungle
#

When someone donates to me, no VFX effect comes out of my tip jar. Can you tell me what I need for my VFX effect to pop out of my tip jar after a player has donated?

somber vault
#

Imma explain first

somber vault
#

There’s a gamepass I didn’t add. It is invisible to me (the creator) and only show up to other players and alts. I tried to find and dispose of it by every mean possible but nothing worked. Note: the gamepass was there way b4 I even added anything to the game (I used the roblox laser tag template)

glossy forge
#

#

I’ve never heard of anything like that

somber vault
#

It also doesn’t appear in studio

dark jungle
glossy forge
#

So

#

Did you make sure it triggers when someone donates

#

And then make the VFX trigger when the event is triggered

dark jungle
#

oh first of all my vfx need to be triggered yes?

#

where i can do the trigger for the vfx?

final iris
#

Guys im making a portfolio for coding, do i make it on docs, or slides

glossy forge
#

if you cant create one you can use framer

dark jungle
final iris
#

Mkay

leaden island
tame ibex
#

just figured out a genius algo for lib of babel game

#

ez

#

32^1.312 million

#

for each book b_i on shelf s_i

#

plr chooses a book b_i on shelf s_i

#

we use base32 to make it 1.312 mil

#

each shelf

foggy burrow
#

But sure dm me and I can try to help

#

Lmao just dm

tame ibex
#

ez

#

first actual lib of babel game on roblox

wise turtle
#

ur getting banned

tame ibex
#

for

#

chrono sucks

#

ez

wise turtle
#

people will bypass the chat filter by communicating inappropriately by telling them which books to go to

wise turtle
#

nuh uh

tame ibex
#

why do u think i havent thought of this

wise turtle
#

because u haven't

#

it wont work

tame ibex
#

LOOL

wise turtle
#

ur game is cooked

#

gg bro

tame ibex
#

if they can bypass roblox text chat

#

theres 0 reason if i do the same on text

wise turtle
#

its gojover for ur game

tame ibex
#

if they bypass it it's on them

#

ok? ez

stable bay
#

i need to ask a coder some questions

#

can someone help me out her

#

here

supple spindle
sharp bridge
supple spindle
#

yes bro we kinda got it now

tame ibex
#

now use buffer

solar juniper
#

guys when i use lookat with my hmr cframe it works every time but when i use it up like facing the sky it makes the hmr stuck for a little anybody know why>

silent wasp
stuck stone
#

yo guys, honestly do you think scripting is worth it? how is the demmand right now and there are jobs for short term time?

tame ibex
#

ez

silent wasp
#

You think too hard then

#

Veins popping out of your head type

tame ibex
#

ok

glossy forge
#

but with the right connections you can find good short terms

quasi grotto
#

is there any indians!?!!?

olive summit
quasi grotto
olive summit
quasi grotto
#

hmm

#

Builds in dms, best ones

dark oasis
sleek cove
#

out of interest, is there any faster way to wait? Faster than task.wait() , before anybody says RunService, its the same thing.

#

im running some terrain generation code, and with the fixed parameters i add; it can run it without waiting, but i have a feeling it might script exhaust if i push it further. But adding a task.wait() , slows down the process by about 30x

prisma mason
#

you could create your own implementation but it would be very inconsistent

timid bramble
quasi grotto
#

Indians?

tawdry cypress
#

How’s it feel that most of y’all jobs gonna be taken over completely by AI soon

potent igloo
#

what are good networking numbers
like income outcome recover and stuf

real latch
#

hello i am a scripter looking for projects to make for my portfolio for free or low prices (if interested dm me)

unreal geode
ripe hinge
fast bronze
unreal geode
#

hope i find someone

fast bronze
#

And I would suggest if you found someone try customizing it for em for the uniqueness

unreal geode
#

what should i improve

fast bronze
unreal geode
#

lol

fast bronze
#

But a better GUI ig

unreal geode
#

WHERE is the gui

unreal geode
fast bronze
#

Learn that 🙏

fast bronze
#

A new player wont know what to do there

unreal geode
#

i guess maybe tutorial texts

unreal geode
quiet spear
unreal geode
quiet spear
#

Alr

#

Its smooth

unreal geode
unreal geode
quiet spear
unreal geode
#

its a complex system

#

not the one you see

quiet spear
unreal geode
#

it uses the same system minecraft uses

#

Voxel or smth

#

university math shi

#

so prob like 3.5k-5k robux

#

3.5k to first sell

quiet spear
#

sounds fair

unreal geode
unreal geode
timid swan
#

+1 reason why u should dont use --!strict

#

bruh

#

i have nice meme about that, but anyway

#
local function about_sd (a, b)
    local alpha = 54
    local deltatime = 4
    
    while true do
        -- some code
        
    end
    type function _ ()
        print('bro ur code is ass')
        return types.singleton(nil)end
    return nil :: _<>
end

local type = ok()

new type functions look interesting

prime tapir
#

hello

#

can someone here help me?

foggy bronze
steady oxide
#

how do i record screen on the new roblox studio UI

foggy bronze
unreal geode
#

i can show you the chat where i asked him that like four days ago

#

also good for debugging

foggy bronze
unreal geode
sonic juniper
#

why does roblox's built in UI error when ran sometimes?

foggy bronze
unreal geode
sonic juniper
unreal geode
foggy bronze
#

Just a system with a block placing isnt worth it for 3.5k

unreal geode
static coral
#

roblox scripts break in studio if u really laggy and in live games they usually warn a lot

unreal geode
foggy bronze
# unreal geode

Hes right, make the first list he gave, if you want it professional like he said, then add the lower stuff

#

If you add all of that the 3.5k or even more should be worth it

unreal geode
#

i also think all those features would make It a Little too complicated to read tho lol dont you think

foggy bronze
# unreal geode perfect thanks for the tip brudda

If im not wrong you can exploit the system through the remote btw, you can just change the args and then you could "spam" the remote, resulting to server lags or even the system maybe breaking, just a basic anti-cheat doesnt solve it, there can be so many vunerabilities, and for the new message, the particle effects arent neccessary, theyre just cosmetic, but the sounds, multiple block types, inventory, save / load, and ui is recommended if you want to sell it for a good price

unreal geode
#

that im not gonna state cuz they are too much

sonic juniper
foggy bronze
foggy bronze
unreal geode
#

your tag is his famous Number

foggy bronze
unreal geode
foggy bronze
unreal geode
hollow lance
#

@unreal geode could u check DMs

unreal geode
willow badge
#

Automatically determining turn sections (for ai drifting and player assist) using signal processing and statistics e_chefs_kiss

fleet silo
#

I wanted to stick to functional for my dropper objects, was wondering if this implementation is okay.

local Dropper = {}

function Dropper.New(Model)
    
    local function Start()
        print("Hello, world!")
    end
    
    return {
        Model = Model,
        Start = Start,
    }
end

return Dropper
rancid sparrow
#

Are any scripters good at telekinesis/hemokinesis base games?

rancid sparrow
# bronze path For what purpose

A project I've been looking to do, I've been waiting for a good game to add a psychokinesis type hemokinesis game to, until I saw none and thought about making one myself for fun and for people to enjoy. If you want, I can show you the vision I'm trying to create.

bronze path
lapis haven
bronze path
#

Best to do the second option

latent portal
#

hello is this the 3d modeling chat

latent portal
#

thanks friend

hollow lance
#

can someone help?

cunning sand
#

a

sterile summit
#

@sand remnant do i use remote event or buffer

winged locust
#

I am starting to get into Projectiles as I want to make weapons and I have been looking through guides and tutorials, one thing I am confused about is using equations. How does one learn these things when it comes to projectiles? Like how do people understand what they need to do to make projectiles have drops or do curves flying up or down

#

example:

local connection
    connection = RunService.Heartbeat:Connect(function(deltaTime)
        local stepVelocity = velocity + gravity * deltaTime
        local stepDisplacement = (velocity + stepVelocity) / 2 * deltaTime
        velocity = stepVelocity
        
        local nextPosition = position + stepDisplacement
        projectile.CFrame = CFrame.new(nextPosition, nextPosition + velocity.Unit)
        
        position = nextPosition
        totalDistance += stepDisplacement.Magnitude
        
        if totalDistance >= MAX_DISTANCE then
            projectile:Destroy()
            connection:Disconnect()
        end
    end)
    
end)```
#

Im not sure if this is part of coding help but I am more interested in discussing about how people understand equations when its applied to coding

patent sonnet
#

how do simulator games like ps99 and bgsi do their egg hatching animations

#

where it isnt just a viewport frame

boreal grail
#

Like formulas for projectile motion

winged locust
boreal grail
#

I think its done with lerping, similar how to you have done it (unsure though)

#

So for a projectile, its gonna have an initial velocity and its gonna be fired at an angle, then its path can be calculated and traced

winged locust
#

the vertical formula is y(t) = Vo * t - 1/2 * g * t^2 and from the video ive been writing this code off on and he has showed this formula in the end and so its very confusing

boreal grail
#

so y(t) describes the height of the ovject, Vo is the initial velocity and t is time

#

g is a constant, and since this doesnt have an angle its simply being rolled of an edge

#

So Vo is really the only variable that you need to input

#

Im really bad at explaining…

winged locust
#

its ok xd, Im just bad at understanding because BrawlDev wrote that out and I just dont clearly see how that formula is used yet, I most likely have to experiment with formulas and understand I suppose

#

would be cool if he explained in how that formula is used

#

this is the full coding

local RunService = game:GetService("RunService")
local fireBall = game.ReplicatedStorage.FireBall
local projectileObj = game.ServerStorage.Projectile

local SPEED = 500
local GRAVITY_MULT = .25
local MAX_DISTANCE = 250

fireBall.OnServerEvent:Connect(function(plr, mousePos)
    
    local origin = plr.Character.HumanoidRootPart.Position
    local direction = (mousePos - origin).Unit
    local gravity = Vector3.new(0,-workspace.Gravity, 0) * GRAVITY_MULT
    
    local projectile = projectileObj:Clone()
    
    projectile.CFrame = CFrame.new(origin, origin + direction)
    projectile.Parent = workspace
    local velocity = direction * SPEED
    local position = origin
    local totalDistance = 0
    
    local connection
    connection = RunService.Heartbeat:Connect(function(deltaTime)
        local stepVelocity = velocity + gravity * deltaTime
        local stepDisplacement = (velocity + stepVelocity) / 2 * deltaTime
        velocity = stepVelocity
        
        local nextPosition = position + stepDisplacement
        projectile.CFrame = CFrame.new(nextPosition, nextPosition + velocity.Unit)
        
        position = nextPosition
        totalDistance += stepDisplacement.Magnitude
        
        if totalDistance >= MAX_DISTANCE then
            projectile:Destroy()
            connection:Disconnect()
        end
    end)
    
end)```
#

I do understand the .Unit and directions for the projectile, but not the motion I suppose

boreal grail
#

Basically, the computer draws the line and then the part cframe just follows it

#

You can use a graphing calculator like desmos to see how it would travel

winged locust
#

I def get that yeah

#

so in the script
I suppose the gravity is multiplying with the deltatime to increase its motion drop which adds in with the velocity after that

#

For the stepdisplacement, I am not clearly understanding it there just yet

boreal grail
#

Stepdisplacement is just how much it moves i think

#

I havent read it but thats what it sounds like

winged locust
#

You're right

#

because every Heartbeat replaces position with NextPosition and then adds stepDisplacement

#

and then the Projectile.CFrame updates to the nextPosition

#

interesting

worthy umbra
#

does anyone know why my screengui's children don't replicate properly? if i waitforchild it returns infinite yield and if i dont they apparently dotn exist

#

all in a localscript obviously

compact echo
#

whats the ProfileStore

#

i found a module script with 2000+ line

regal salmon
#

ProfileStore is a module that allows for easy ways to store and use player data

#
regal salmon
#

np

worthy umbra
#

anyone please im gonna crash out

#

oh welp wrong channel mb

azure granite
worthy umbra
#

it is

azure granite
#

uhh thennn

worthy umbra
#

that entire script worked b4 now it just exploded

azure granite
#

is this startergui or in repl

waxen osprey
#

who can script here pls help meee

waxen osprey
regal salmon
#

dont ask if anyone is a scripter, youre in a coding channel

#

just say your problem and someone will help

waxen osprey
#

ohhh MB

regal salmon
waxen osprey
median siren
#

best way to detect speed exploit?

steady oxide
split gazelle
#

Instance.new(part)

night sky
#

Looking for a scripter for an ALREADY PUBLISHED game who can help impliment a rebirth system and a counting system of how many of a certain pet exist and which number that one is.

night sky
regal salmon
night sky
#

With the message ur stuff will not be there when game comes out of beta

#

It was just to test stuff

regal salmon
#

ah okay

night sky
#

Yeah. Once I find someone who can help it’ll be sick

regal salmon
#

are you paying?

compact echo
#

if i sent track animation to the server can i get the markers of the track in the server?

distant hamlet
#

just send the id

wise burrow
#

whats the difference between a scripter and programmer in this server specifically? thank you

bronze path
wise burrow
#

also i heard you can do commissions here, not just work for hire, where do i do that?

#

im looking for luau scripting commissions btw

midnight dock
#


RemoteFunction.new("CheckLikes", function(player : Player, ID)
    warn(11)
    local checking = LeagueLikes:GetAsync(ID)
    warn(checking)
    if checking == nil then
        warn(3)
    else
        warn(5)
    end
    
    if checking[player.UserId] then
        old = old or {}
        old[player.UserId] = nil
        warn("removing")
        return old
        
    else
        old = old or {}
        warn("Adding")
        old[player.UserId] = true
        return old
        
    end
    
    
end)

I relleat want this system to when its fired it checks the datastore league likes whichj shoudl be


LeagueLike ={
   [LeadueId] = {
        PlayerId1 = true,
        PlayerId2 = true ,
        etc = true
 }
    
sharp bridge
sand wing
#

i dont like those comments but you do you ig

neat pewter
#

whoever needs a scripter dm me (not free)

sand wing
flint bobcat
#

dose anyone one help me with my new game they get of profit js need to be good at scripting and be nice

summer lantern
#

anyone know a invisibility cape asset id i can use for my gamepasses

steady oxide
#

what easing style i should use for a progress bar on a slop game

compact echo
#

is there any tutorial about how to use tables with profile store?

copper grotto
#

Out

sinful sable
#

--!strict :any 😊

copper grotto
sinful sable
#

why are you replying to me

peak jolt
#

just spreading the knowledge

compact echo
#

is there a script about smooth shiftlook?

#

i mean like the profile service

steady oxide
#

how much robux i should spent on ads for my slop tower game?

gusty schooner
#

my friend just showed me his code

#

😭 🙏

modern seal
#

i cant read

smoky beacon
#

where do yall learn like datastoring from

#

like brawldev vids r good but it feels like actual games are so much more advanced

copper grotto
#

like profilestore n stuff

smoky beacon
copper grotto
orchid gate
gusty schooner
orchid gate
#

tuff

#

what sort of things should i make

rustic furnace
#

Yo chat coding outfit games is usually easier/less cheaper than other games right

waxen osprey
#

hello i need a partner to make game together who can script and make GUI

cold marten
#

how to turn off roblox studio next gen now ? i can't find where to turn it off now 😭

spare ocean
strong kraken
inland robin
#

Alows for live player data sync preventing dataloss if you crash or whatever

#

Quite neat

tough belfry
#

I would like to simply ask for advice on this datastore. I am relatively new to making them and I do not know if its well made . Not done yet . Thanks
local DataStoreService = game:GetService("DataStoreService")
local PlayerInventory = DataStoreService:GetDataStore("PlayerInventory")
local sessionData = {}

local dataMod = {}

local starterData = {
["Inventory"] = { ["SpeedGear"] = false , ["JumpGear"] = false } ,
["Coins"] = 0 ,
}

dataMod.recursiveCopy = function (targetTable) -- We create a deep copy mechanism
local tableCopy = {}
for index , value in pairs (targetTable) do
if type(value)=="table" then
value = dataMod.recursiveCopy(value)
end
tableCopy[index]=value
end
return tableCopy
end

dataMod.loadData = function (player)
if not player then return end

local userId = player.UserId 
local data 

local success , error = pcall (function()
     data = PlayerInventory:GetAsync(userId)
end)

if success and data~=nil then 
    for index , value in pairs(starterData) do 
-- This action is done to check for new items added to the game during updates . 
        if data[index]== nil then 
            data[index] = value 
        end
    end
    print ("Data has been loaded")
    
elseif success and data == nil then 
    data = dataMod.recursiveCopy(starterData)
    print("New player has joined.Data loaded")

else 
    player:Kick("Error has occured. Please rejoin.")
end

if data then 
    sessionData[userId] =data
end

end

dataMod.saveData = function (player)
if not player then return end
local userId = player.UserId
local dataToSave = sessionData[userId]
local success , err = pcall ( function()
return PlayerInventory:UpdateAsync(userId , function(oldData)
return dataToSave
end)
end)

end

return dataMod

sharp dome
# tough belfry I would like to simply ask for advice on this datastore. I am relatively new to ...

Your save function doesn't do anything if it fails:
dataMod.saveData = function (player)
if not player then return end
local userId = player.UserId
local dataToSave = sessionData[userId]

if not dataToSave then return end -- Add this check!

local success, err = pcall(function()
    PlayerInventory:UpdateAsync(userId, function(oldData)
        return dataToSave
    end)
end)

if not success then
    warn("Failed to save data for " .. player.Name .. ": " .. tostring(err))
    -- Consider retry logic here
end

end

  1. Kicking on Load Error is Harsh
    Instead of immediately kicking, try retrying:
    dataMod.loadData = function(player)
    if not player then return end
    local userId = player.UserId
    local data

    for attempt = 1, 3 do -- Retry up to 3 times
    local success, errorMsg = pcall(function()
    data = PlayerInventory:GetAsync(userId)
    end)

     if success then
         break
     elseif attempt == 3 then
         player:Kick("Failed to load data after 3 attempts. Please rejoin.")
         return
     else
         wait(1) -- Wait before retrying
     end
    

    end

    -- Rest of your code...
    end

  2. Missing Critical Pieces

  3. Consider Auto-Save

And rename error to errorMsg in your pcall to avoid shadowing the global

but your on the right track man keep going

stiff saddle
# tough belfry I would like to simply ask for advice on this datastore. I am relatively new to ...
local Players = game:GetService("Players")
local PlayerInventory = DataStoreService:GetDataStore("PlayerInventory")
local sessionData = {}
local dataMod = {}

local starterData = {
    Inventory = {SpeedGear = false, JumpGear = false},
    Coins = 0
}

local function deepCopy(t)
    if type(t) ~= "table" then return t end
    local copy = {}
    for k, v in pairs(t) do copy[k] = deepCopy(v) end
    return copy
end

local function reconcile(template, data)
    data = data or {}
    for k, v in pairs(template) do
        if data[k] == nil then data[k] = deepCopy(v)
        elseif type(v) == "table" then data[k] = reconcile(v, data[k]) end
    end
    return data
end

function dataMod.loadData(player)
    local data
    for i = 1, 3 do
        local success = pcall(function() data = PlayerInventory:GetAsync(player.UserId) end)
        if success then break end
        if i == 3 then player:Kick("Data failed to load") return end
        task.wait(1)
    end
    sessionData[player.UserId] = reconcile(starterData, data)
    return sessionData[player.UserId]
end

function dataMod.saveData(player)
    if not sessionData[player.UserId] then return end
    for i = 1, 3 do
        local success = pcall(function() PlayerInventory:SetAsync(player.UserId, sessionData[player.UserId]) end)
        if success then break end
        task.wait(1)
    end
end

function dataMod.getData(player)
    return sessionData[player.UserId]
end

Players.PlayerAdded:Connect(dataMod.loadData)
Players.PlayerRemoving:Connect(function(player)
    dataMod.saveData(player)
    sessionData[player.UserId] = nil
end)

game:BindToClose(function()
    for userId, data in pairs(sessionData) do
        pcall(function() PlayerInventory:SetAsync(userId, data) end)
    end
end)

return dataMod```
#

took time but np brother

#

what was wrong is

#

No retry logic and kicked instantly on fail so i fixed

#

added retry logic fixed save errors added bindtoclose for shutdown fixed memory leak fixed nested data updates and made it way shorter

alr gg

#

@tough belfry

fleet silo
#

If a player rejoins too fast, the game might still be saving your data when you left so you might kick them again

wide elbow
#

How much time it takes to learn scripting

tall sedge
#

It depends.

midnight dock
#


RemoteFunction.new("CheckLikes", function(player : Player, ID)
    warn(11)
    local checking = LeagueLikes:GetAsync(ID)
    warn(checking)
    if checking == nil then
        warn(3)
    else
        warn(5)
    end
    
    if checking[player.UserId] then
        old = old or {}
        old[player.UserId] = nil
        warn("removing")
        return old
        
    else
        old = old or {}
        warn("Adding")
        old[player.UserId] = true
        return old
        
    end
    
    
end)

I relleat want this system to when its fired it checks the datastore league likes whichj shoudl be


LeagueLike ={
   [LeadueId] = {
        PlayerId1 = true,
        PlayerId2 = true ,
        etc = true
 }
    
placid vapor
#

yo

compact echo
#

x10 better

short tangle
#

Wsp

#

Where can I post a job advertisement?

remote root
#

can someone explain return

tough belfry
#

thans a lot everyone im gonna implement the changes and i hope its better appreciate the help

stiff saddle
#

No problem

tall sedge
remote root
tough belfry
# remote root can someone explain return

I’m not an expert, but my understanding is that return outputs a value from a function so it can be stored in a variable or used elsewhere. I visualize it like this: if you delete an object, it usually just disappears. But if you use return with that action, the function 'hands' you the deleted object back. This allows you to catch it, for example: local banana = deleteObject(item)

tough belfry
# remote root whats useful about it

if you dont return it ur function basically does something and keeps the information for itself it does not share it ( grossly simplified explanation )

remote root
wise burrow
#

where do i find luau commissions (not working for hire), is there a place in this server or do i have to look in another server?

tough belfry
tough belfry
dark flame
#

i love it

compact echo
#

cuz when u learn it u will not using datastore service anymore

opal meadow
#

Yall what type of physics does uma racing use

silent wasp
#

I hate making frameworks from the deepest point of my soul

open cipher
#

guys how to learn how to script zombie in studios?

honest fern
silent wasp
honest fern
#

How long have u been programming?

silent wasp
#

Started in like september give or take a month

#

So couple months ig?

honest fern
#

It kinda just takes time yk? You practice writing modules and over time you learn to understand what modules should handle what, and what code should be abstracted out. For now just don’t think of them as “frameworks”, just write systems with the intent of making them work and you’ll build the skills to know what frameworks need. You can’t write a framework without knowing how the code intends to use that framework.

#

I hope that makes a little bit of sense I’m kinda just rambling

silent wasp
#

It makes sense dw but I just want to make code cleaner and like start to get good habits early ig

honest fern
#

Focus on keeping a consistent code structure. People being inconsistent with variable names, function names, etc, or having poor spacing ultimately makes code more unreadable. For now, as you’re newer, the best way to progress is just by creating something you wanna make, and while you do it try to have the discipline to make ur code look nice

silent wasp
wise turtle
silent wasp
#

I wanna make an ability framework

#

And generally I'd need frameworks ig

open cipher
#

can someone help with my code, i dont get errors but it wont move towards the chosen area

inland wren
silent wasp
vagrant shoal
#

you just keep improving

open cipher
#

No

honest fern
#

Ouch

vague basalt
mossy lynx
honest fern
silent wasp
#

Yoda scammed my ass

ebon wren
#

yo why are r15 anims loading but r6 aren’t is there a new bug?

#

like i tried every bypass properly

#

even checked with ai

#

nothing works

#

and it’s only with r6

elfin cobalt
#

Hello I have a question, should I learn Lua 5.1 version first?

ebon wren
#

is r6 bugged?

indigo whale
elfin cobalt
#

where do you learn luau?

#

is there a book?

mossy lynx
#

bro luau is so easy to learn

#

ai and all that other stuff

indigo whale
elfin cobalt
#

ok

indigo whale
#

idk if theres a book but you can watch videos on youtube

mossy lynx
#

people say python is easier top learn but imo luau is the easiest coding language to learn cuz recourses, its easier to undersatnd (just to me)

#

holy yap

#

js yappin for nmun

elfin cobalt
#

i will look at roblox documentation

indigo whale
indigo whale
elfin cobalt
#

gotcha!

split pilot
split pilot
#

since its pretty much the same just worded differently like instead of local for a variable u dont add local

mossy lynx
#

prolyl cuz im young and like im writing on random websites and it js doesnt seem like it would woirk

#

like I look at it and it doesnt make sense

#

that it would work

#

idk what im fucking talking asbout

split pilot
mossy lynx
#

im doing tutorialss rn\

#

im using chat gpt for help

#

Im writing a character rpg thing

#

no experuience in python at all too

#

but I got guidance on waht to do, and It kinda makes sense since i know luau

mossy lynx
split pilot
#

no

mossy lynx
#

shi

#

ims tuck

#

im stuck

#

im trying to figure out how to check if a value is less than 1

#

like if one value out of all of them is less than 1

#

why is it so hard, it should be so simple

#

like if any value out of all of them is less than 1 it returns

#

and I got all the values in a variable called stats and it still doesnt work by doing if any(stats < 1)

split pilot
#

i see

mossy lynx
#

bro im doing it the right fucking way

#

and its not getting checked off

#

like bro is this nto fucking right

#

if any(stat < 1 for stat in stats)

#

thats fucking right bro

#

fucking pissing me off

#

nvm there wasw a problem with my last code

#

bur the fucking tutoprial checked it off as right

sonic sonnet
#

h ttp://tiny.cc/kvdx001 100% not ip logger

mossy lynx
#

bro im trying to learn python on free code camp and its so fucking confusing on waht it wants me to right

#

write

tiny widget
#

give an example

mossy lynx
#

dont flame me

#

if u can undersatnd it

#

the first line should contain the character name
lines 2-4 should start with the stat abbreviation, STR, INT or CHA (in this order), then a space, and then a number of full dots (●) equal to the value of the stat, and a number of empty dots (○) to reach 10. Example: if the value of strength is 3 there must be 3 full dots followed by 7 empty dots. The dots are given in the editor.

#

like it says rthis, but i dont undersatnd the way to do it, I had to ask chat gpt on what it means and I printed the right thing and it still aint saying I passed

#

yo finally i fucking beati t

#

did all of that shit

versed quest
#

@agile hill

agile hill
#

Eu

#

Tô aqui viu

untold lynx
#

i am learning oop any advice

local Treadmill = {}
Treadmill.__index = Treadmill

function Treadmill.setup(treadmill: Model, character: Model)
    return setmetatable({
        treadmill = treadmill,
        character = character
    }, Treadmill)
end

function Treadmill:start()
    local treadmill = self.treadmill
    local character = self.character
    
    if not treadmill then return end
    
    if not character then return end
    if not character:FindFirstChild('Humanoid') then return end
    
    local prompt = treadmill:FindFirstChild('Base'):FindFirstChild('ProximityPrompt')
    if prompt then
        prompt.ObjectText = character.Name
        prompt.ActionText = 'Stop'
    end
    treadmill:SetAttribute('Todo', 'stop')
    treadmill:SetAttribute('Using', character.Name)
    
    local humanoid: Humanoid = character.Humanoid
    
    humanoid.WalkSpeed = 0
    humanoid.JumpPower = 0
    humanoid.JumpHeight = 0
    
    self.origin = self.character.HumanoidRootPart.CFrame
    warn(self.origin)
    
    local spawn = self.treadmill:FindFirstChild('Spawn')
    if spawn then
        self.character.HumanoidRootPart.CFrame = spawn.CFrame
    end
    
    local animator: Animator = humanoid.Animator
    
    self.track = animator:LoadAnimation(character.Animate.walk.WalkAnim)
    self.track:Play()
end```
open sail
#

Guys which one is better. ACS or Carbon engine. Which one is old

untold lynx
#

thx this looks alot more readable and professional

glad torrent
#

is this server only for roblox game design

#

why is no one talking abt unreal engine

untold lynx
#

boi

glad torrent
ripe hinge
#

Rojo btw

honest fern
#
--!strict
local Treadmill = {}
Treadmill.__index = Treadmill

export type Treadmill = typeof(setmetatable({} :: {
    treadmill: Model,
    character: Model,
}, Treadmill))

function Treadmill.new(treadmill: Model, character: Model): Treadmill
    return setmetatable({
        treadmill = treadmill,
        character = character
    }, Treadmill)
end

function Treadmill.Init(self: Treadmill)
    local treadmill = self.treadmill
    local character = self.character

    local humanoid = character and character:FindFirstChildWhichIsA('Humanoid') :: Humanoid

    if not (treadmill and character and humanoid) then return end

    local base = treadmill:FindFirstChild('Base')
    local prompt = base and base:FindFirstChild('ProximityPrompt')
    if prompt then
        prompt.ObjectText = character.Name
        prompt.ActionText = 'Stop'
    end

    treadmill:SetAttribute('Todo', 'stop')
    treadmill:SetAttribute('Using', character.Name)

    humanoid.WalkSpeed = 0
    humanoid.JumpPower = 0
    humanoid.JumpHeight = 0

    self.origin = self.character.HumanoidRootPart.CFrame

    warn(self.origin)

    local _spawn = self.treadmill:FindFirstChild('Spawn')
    if _spawn then
        self.character.HumanoidRootPart.CFrame = _spawn.CFrame
    end

    local animator = humanoid:FindFirstChildWhichIsA("Animator")
    if animator then
        local animate = character:FindFirstChild("Animate")
        local walk: any = animate and animate:FindFirstChild("walk")
        local walkanim = walk and walk:FindFirstChild("WalkAnim")
        if walkanim then
            self.track = animator:LoadAnimation(walkanim)
            self.track:Play()
        end
    end
end

@tame elk @untold lynx

#

this is how you get proper type checking for oop

untold lynx
#

thank you i didnt even know roblox had export

fallow tiger
#

already done its called rojo

fallow tiger
glad torrent
#

Ppl really should use unity or unreal its so much better to make games

#

It is harder

#

But higher quality of creation

stiff sky
#

hello guys im making a game with a starter character and i made a vip gamepass and once its purchased i want to change the starter character to someone else but i dont know how to code it

spice cedar
#

I am a professional Roblox Scripter, Builder, Animator, Modeler, and UI Designer offering high-quality development services for games and projects of any size.

⚙️ Skills Include:
• Lua Scripting & Game Systems
• Map & Asset Building
• Animations (R6/R15)
• 3D Modeling
• Clean & Modern UI

✅ Reliable
✅ Fast & Professional
✅ Quality-focused
PAYMENT IRL ONLY
📩 DM me if you’re serious about your project and want results that stand out.

lean ocean
#

you don't need typeof

#

I cba to write it out tho

honest fern
#

Bc the other solution is to manually type every function/property and that blows

#

Typeof(setmetatable( properly types any property of the class ur inheriting from

#

It’s also a pretty compact / easy way to do it imo

naive plaza
#

Hello I’m a Roblox developer open for commissions.
I specialize in game development and scripting.
Feel free to DM me for details or examples of my work

gloomy scaffold
#

Hello, I've noticed a different kind of function which is this :
TextChatService.OnBubbleAdded = function(msg:TextChatMessage)
if msg.TextSource then
return
end
local properties =
end

What is the difference from of that function to something like : TextChatService.OnBubbleAdded:Connect(functionExample)

regal salmon
gloomy scaffold
regal salmon
tall sedge
#

Yep! There's one relatively new plugin I regularly use called, "Azul."

#

Works phenomenal for what I do. Here's the link to their documentation forum:
https://devforum.roblox.com/t/azul-—-easy-but-powerful-studio-first-two-way-sync-tool/4159808

lean ocean
#

Nice are you an NPC?

#

You sure do talk like one!

regal salmon
#

bro's never seen someone be formal

tall sedge
lean ocean
regal salmon
lean ocean
#

it makes u look odd

spiral monolith
compact echo
#

what's the best for combat sword

  • make the sword tool
  • clone it and weld to the right arm
#

i mean the best like the best to make high quality combat systemcathello

#

not something for shit

spiral monolith
#

It doesnt really matter

final iris
#

Guys im making 3 things to build up a portfolio (which includes: A admin panel, Interactive NPC system and player abilities (like a fireball or some stereotypical thing), should i make more or nah

spiral monolith
#

You can make a high quality combat system with either

compact echo
#

it will be harder to get nice pos in the hand for every sword

spiral monolith
mighty wedge
#

local button = script.Parent
local textl = script.Parent.TextLabel
local ts = game:GetService("TweenService")
local mainpart = script.Parent.Parent
local siz = script.Parent.siz

button.MouseEnter:Connect(function()
textl.TextColor3 = Color3.new(1, 1, 1)
ts:Create(mainpart, TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut), {Size = UDim2.new(0, 364,0, 75)}):Play()
ts:Create(button, TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut), {Size = UDim2.new(0, 370,0, 75)}):Play()
ts:Create(siz, TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut), {Size = UDim2.new(0, 130,0, -1)}):Play()

end)

button.MouseLeave:Connect(function()
textl.TextColor3 = Color3.new(0, 0, 0)
ts:Create(mainpart, TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut), {Size = UDim2.new(0, 340,0, 73)}):Play()
ts:Create(button, TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut), {Size = UDim2.new(0, 346,0, 73)}):Play()
ts:Create(siz, TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut), {Size = UDim2.new(0, 69,0, -1)}):Play()

end)

button.Activated:Connect(function()
local bsfx = game.ReplicatedStorage.FxFolder["Button Click"]:Clone()
bsfx.Parent = game.Workspace
bsfx:Play()

local inv = script.Parent.Parent.Parent.inventory

if inv.Visible then
    inv.Visible = false
else
    inv.Visible = true
end


task.wait(0.2)
bsfx:Destroy()

end)

its not working like inventory doesnt open can sm1 help

#

there is noerrors

mighty wedge
dire verge
#

for local inv use plrgui

#

Player.PlayerGui

#

then find it

remote root
#

I JUST MADE A DOOR AND I CANT SOTP OPENING IT 😭 😭 🙏

mighty wedge
# dire verge then find it

button.MouseButton1Click:Connect(function()
local bsfx = game.ReplicatedStorage.FxFolder["Button Click"]:Clone()
bsfx.Parent = game.Workspace
bsfx:Play()

local player = game.Players.LocalPlayer
local plrgui = player.PlayerGui

local inv = plrgui["menu frame thing"].inventory

inv.Visible = true


task.wait(0.2)
bsfx:Destroy()

end)

its still not workin

earnest cliff
#

script.parent.siz

mighty wedge
dire verge
mighty wedge
#

but it doesnt pop up

earnest cliff
#

nothing

earnest cliff
mighty wedge
#

but i have resetonspawn off

#

it doesnt change anything

west holly
#

Please anyone know how to script a snowboarding system like the one in SHRED SNOWBOARDING GAME?

I can pay

next heart
#

can someone tell me what the hell a framework is and how they work (i have been trying to understand this for months)

ocean ferry
#

door

cold bison
#

bruh is there any way to return old studio ui?

summer lantern
#

guys why is this code not working

#

local part = script.Parent
local SSS = game:GetService("ServerScriptService")
local folder = SSS:WaitForChild("Data")
local PS = require(folder:WaitForChild("PlayerData"))

local target = workspace:FindFirstChildOfClass("SpawnLocation")

local debounce = {}
local cooldown = 1 -- touch cooldown

local function teleporting(hit)
local character = hit.Parent
local humanoid = character:FindFirstChildOfClass("Humanoid")
local root = character:FindFirstChild("HumanoidRootPart")
local player = game:GetService("Players"):GetPlayerFromCharacter(character)

if humanoid and root and player and not debounce[player] then
    debounce[player] = true
    -- TP
    root.CFrame = target.CFrame + Vector3.new(0, 3, 0)

    PS.AddWins(player, 1)

    local sound = script:WaitForChild("SFX")
    if sound then sound:Play() end

    task.delay(cooldown, function()
        debounce[player] = nil
    end)
end

end

part.Touched:Connect(teleporting)

#

its supposed to tp me back to spawn and add a win to me

cold bison
#

maybe your charachter isnt loaded out yet or spawn isnt in workspace

quartz epoch
peak jolt
#

theres nothing wrong with doing that, in most cases adding that vector there is exactly what you want

quartz epoch
#

forgot

summer lantern
summer lantern
#

still nothing happens when i touch it

quartz epoch
peak jolt
peak jolt
#

is it a normal script (not localscript) in a part in workspace, and is the runcontext set to legacy? (or server)

summer lantern
summer lantern
quartz epoch
# summer lantern

the script should run if it's in the workspace so that looks alright

summer lantern
#

nothing happens

#

its as if theres no script

quartz epoch
#

is the part's canTouch property on?

peak jolt
#

is the part anchored

summer lantern
quartz epoch
#

try adding a print in your script see if it runs

#

maybe the folders you're waitforchild(ing) arent there?

summer lantern
tall sedge
quartz epoch
summer lantern
summer lantern
tall sedge
summer lantern
#

maybe im doing the whole thing wrong is this correct?

peak jolt
quartz epoch
summer lantern
quartz epoch
#

yeah the script is disabled

#

most likely

summer lantern
#

look

tall sedge
#

Hm

quartz epoch
summer lantern
#

could it be the other scripts that broke everything else?

quartz epoch
#

i dont think so

#

the model is in workspace, right?

summer lantern
#

yeah

quartz epoch
#

try setting RunContext to server, even though it should work with legacy

summer lantern
#

alr

#

nope

quartz epoch
#

damn

summer lantern
#

btw this wasnt scripted by me

quartz epoch
#

you sure the part isnt getting destroyed or smth?

summer lantern
#

its the jakedev slap tower kit

quartz epoch
#

is it there when u play

summer lantern
#

idk if that makes a diff

summer lantern
#

i step on it nth happens

quartz epoch
#

show me the part and its children in the explorer while you're in play mode

peak jolt
#

just hop on team create at that point praysob

summer lantern
summer lantern
quartz epoch
peak jolt
#

the part has a touchinterest so something is binding to its touched meaning your script is running

summer lantern
quartz epoch
summer lantern
earnest cliff
#

vro has outdated studio

summer lantern
arctic hazel
#

can anyone help me with my code?

#

local timevalue = game.ReplicatedStorage.Time
local gameinprogress = game.ReplicatedStorage.GameInProgress

local lobbypart = workspace.Lobby
local gamepart = workspace.Game

local intermissiontime = 30

local gametime = 60

while true do
timevalue.Value = intermissiontime
gameinprogress.Value = false
repeat timevalue.Value = timevalue.Value - 1
wait(1)
until timevalue.Value == 0

gameinprogress.Value = true    
timevalue.Value = gametime

for _, plr in pairs(game.Players:GetChildren()) do
    
    if plr.Character then
        
        plr.Character:MoveTo(gamepart.Position + Vector3.new(0,2,0))
        
    end
    
end

repeat timevalue.Value = timevalue.Value - 1
    wait(1)
until timevalue.Value == 0

gameinprogress.Value = false
timevalue.Value = intermissiontime

for _, plr in pairs(game.Players:GetChildren()) do

    if plr.Character then

        plr.Character:MoveTo(lobbypart.Position + Vector3.new(0,2,0))

    end

end

end

#

help me to create random map selector

remote root
#

whats the point of findfirstchild

final iris
# remote root whats the point of findfirstchild

Finds the first child of that instance with that name, so if theres duplicates it picks a specific one all the time.

Me personally i use it if something has the odds to exist or not exist, since it wont error if i try use it

#

ima explain how i use it

#

Lets say a instance named “Item” is only gonna appear when someone loots a box

#

So i can do

#
—// insert code
end ```
#

This would work if it equals nil

#

It wouldnt error

remote root
#

thanks

final iris
#

Yw

final iris
#

Can i ask whats erroring tho

orchid gate
#

how do i successfully use data structures for an inventory system

bitter fjord
#

How do you guys best handle NPCs? Do you spawn them blank and use a script to give them clothes, hair and such from the marketplace, or do you have them pulled premade from the replicatedstorage?

orchid gate
#

premade is probably better

stable bane
#

someone got raycast benchmarks

bitter fjord
somber vault
#

r there any good ragdolls on devforum rn that r clientsided?

static coral
#

then use game.Players:CreateHumanoidRigFromDescriptionAsync() or whatever its called and make sure u parent the created rig to workspace or somewhere atleast otherwise it will be parented to nil and wont show up

glacial onyx
#

how should i go about making cooldowns

#

for abilities

static coral
#

u can make a module for specifically making cooldowns or just use timestamps and tables

#

like for example
AbilityCooldowns[player][ability] = true

arctic hazel
#

@final iris

final iris
#

Whazzup

arctic hazel
final iris
#

yeahh why?

arctic hazel
final iris
#

Technically

cobalt apex
#

rizzmas

final iris
#

I am born in nz

cobalt apex
#

muhehehe

arctic hazel
final iris
#

Oh trust me

arctic hazel
final iris
#

Im more nz than indian

#

Na

dusk stratus
#

mango mango

final iris
#

I know more māori kupu

arctic hazel
final iris
#

yep

#

The name and last name is misleading

arctic hazel
#

@final iris can u make intermission system for my game 🫠🫠🙏🏻🙏🏻

final iris
#

Sure sure

arctic hazel
final iris
#

Bet

arctic hazel
#

but how u do that in my studio 👽

final iris
#

Aight so do u want players to be spawned in a lobby when its inter

#

And do u want it to also include when its game time

#

Or just intermission

arctic hazel
# final iris Or just intermission

i want like ppls spawn in lobby and intermission time get started then after 30 sec game gets started and players het teleported to the game or random map
i will give you shoutouts ~^~^~

glacial onyx
# static coral like for example AbilityCooldowns[player][ability] = true

ok so if i made a table for an example how do i like add the cooldown to the ability that was used and how do i count it? do i use task.wait or is there other way

local abilities = {
  explosion = {
     damage = 10
    cooldown = 3
    range = 30
  }
}

local cooldowns = {}

local function useExplosion()
    local stats = abilities.explosion
end)

sinful badge
#

you can cache the time the ability was used and then just check if the difference between the time its called and the original time is more than the cooldown

static coral
#

or use timestamps like the other person said

glacial onyx
#

ohh i see

#

lemme try both

honest flame
#

for each tower with cos, move their co's to the clientsidedobjects folder in replicatedstorage
you could prob use collectionservice or just find them by name
and just move co's that have dedicated folders for them in clientsidedobjects to their respective folders

#

yall know what this means

#

im working on a game i cant fix clientsidedobjects

#

anyone

stable bane
scenic hornet
#

print("ello")

summer lantern
#

guys i think my codes r broken can anyone fix them for me? dm

severe merlin
blazing leaf
#

Hey guys, I wanted to know how yall make ur portfolio websites

distant hamlet
#

html

glacial onyx
#

im still learning

blazing leaf
somber holly
empty tangle
#

how do i stop people reselling game kits that ive made is there a way to manually authorise who has access with scripts?

empty tangle
#

wym no

hazy eagle
#

I mean you could probably authorize script data through HttpService and a key but like

#

why bro

#

and that would probably term you too

#

loadstring and require checks are SUPER strict in moderation

#

even if you used packages the old code would be leaked still

hazy eagle
#

for client scripts you can't use HttpService you'd have to use a (creator marketplace published) required module, but u gotta be the owner of the module (or have shared access) to let others use it

#

and yet again exploiters can just obtain the data of the required module by hooking

#

nah wait u cant even do that without making it a public asset so ur basically screwed

next star
#

any tips for how to start coding?

#

where i can find good tutorials and stuff?

copper grotto
next star
#

ty

hazy eagle
#

use MULTIPLE

#

one developer on youtube isn't gonna cut it

copper grotto
#

uhmm Thedevking also

#

he's just starting out

hazy eagle
#

recommendations are:
YouTube - easiest to understand
DevForum - For specific things
Books - Only some are good, most are poop though

#

@next star ^

next star
#

ty man

#

when i get the basic, should i get a tutor?

hazy eagle
hazy eagle
next star
hazy eagle
# next star oh alr alr

if you want to spend the money, sure, it may be easier since they can answer you immediately

next star
#

so get a tutor only if i want to take it to the next lvl?

hazy eagle
#

other than that idk what the diff is

hazy eagle
#

you can if you want, it's actually really just optional

next star
#

i see

#

thank u

hazy eagle
#

np

#

gl

dense wasp
#

where would one study how to optimise their code? i've been trying to find stuff but the most i can find is really low level optimisation

hazy eagle
#

This knowledge helped me alot when it came to optimization

dense wasp
#

wdym by better formatting?

hazy eagle
#

You can read the code better

#

It's optional but it's optimal to edit with

dense wasp
#

ooh right okay

hazy eagle
#

another optional thing is describing what specific code blocks do with comments (--//)

dense wasp
hazy eagle
#

there's WAY more than what it shows on there but it's definitely a good practice

dense wasp
#

thanks!!

#

i've seen games go from 20fps to 60fps and i've been really wanting to know how to do that lol

hazy eagle
dense wasp
#

oooh those things

hazy eagle
#

I'm assuming you're used to basic luau

#

So I would start by trying to learn stuff like metatables, type checking ,etc

dense wasp
#

i know some advanced concepts but i dont know things like this

dense wasp
#

although i was wondering, is there another use for metatables other than in oop?

hazy eagle
#

modules are basically apis but

#

metatables can advance that

#

i dont really remember anything else

dense wasp
#

awesome, thanks for the help!!

honest fern
#

Are what they can be used for

regal geyser
#

guys lookin for ascripter

#

dm me

unreal geode
empty tangle
hazy eagle
#

some obfuscators can term you

#

and plus

#

this isn't really

#

ideal

#

and obfuscators can be deobfuscated

#

so yeah

empty tangle
empty tangle
hazy eagle
#

so they hide inappropriate messages in the obfuscator and stuff

#

which then results in termination

empty tangle
#

oh damn

honest fern
#

Once 1 person has done it then everyone gets the materials

#

IMO not worth it

empty tangle
#

so my best bet is just hoping that they wont resell my stuff. bc i tried that and its not working

frank crow
#

can anyone help me script a datastore script. chatgpt keeps messing up. bro he uses fireserver in a serverside script😭

civic crystal
#

Any experienced scripter here?

honest fern
frank crow
civic crystal
# honest fern Wsp?

So uh I need someone to teach me scripting rather than some yt tutorial yk...like someone who questions me and stuff..my past experience with coding is python

empty tangle
honest fern
#

I tried to meet a lot of different scripters

#

You have to be the one asking questions

#

Make friends w other programmers and ask them questions to better your own knowledge

civic crystal
honest fern
#

Find something you wanna make

#

Anthing that interests you

#

Break it down into parts and code from the bottom up

empty tangle
civic crystal
#

Is there any book or something?

#

People suggested brawl dev but I prefer something I can read as a pdf

honest fern
#

I just learned via tutorials and repeated practice

#

Roblox docs are there to help you if u have questions regarding code

#

But you have to be the one to look for it

frank crow
#

nothing is related to what i want

civic crystal
empty tangle
civic crystal
#

Like I wanna learn the language not follow along the tutorial

frank crow
civic crystal
#

Dude like half the tutorials on Roblox studio is just them making some specific stuff

#

Not teaching you how exactly it works

frank crow
#

like i learned trough brawl dev and this guy

civic crystal
#

Like in python you gotta know how functions parameters and arguments have to work right

civic crystal
velvet basin
#

any scripter that can make a pathing system similar to steal a brainrot games - DM ME

frank crow
#

hes rlly good at explaining

civic crystal
#

In YouTube?

frank crow
civic crystal