#code-discussion

1 messages · Page 139 of 1

peak jolt
#

so just write it the recommended Way

vast star
#

ohh ok

peak jolt
#

nowadays you wouldnt really type game.Workspace you would use GetService but workspace is a shorthand specifically for workspace

sudden turret
#

I need a dev anyone here open for hire

final ivy
carmine siren
#

wsp i was reading sum stuff on the big O notation, id using findfirstchild recursively and looping through getchildren or getdescendants the same thing? or is findfirstchild faster

proud vector
reef osprey
#

whoever talks in code discussion is a nerd

strange kiln
#

i use coroutines, i never used task.spawn

final ivy
#

thats teh same shi

real zealot
final ivy
#

they are same thing

#

task.spawn just creates coroutines

placid matrix
#

coroutine faster

final ivy
#

is true

serene fjord
#

any coders lookin to work on a simple project

normal magnet
#

dont fly so high

#

your wings might melt

carmine siren
normal magnet
carmine siren
sudden estuary
little bramble
#

Hey does anyone want to test out my game and let me know their feedback?

final ivy
safe palm
#

can someone help me, no one can in #code-help I keep seeing a Something went wrong error when i go to submit a link in the form it creates.

fading saddle
#

can sonmeone help me
im tryna make a retrostyle game but not rlly retro and i need some animations and some help

flat grove
#

anb know how to make a profilestore ts hard

pallid sierra
#

I'm actually so dumb

#

i went to do a while loop and instead of "do", I did "then" cryingdead

slender falcon
#

i made this script after watch dev king parameters vid is it good

#

local part = game.Workspace.Baseplate

local function changetime(color)
part.Color= color
part.Material= Enum.Material.Wood
end

changetime(Color3.new(1,1,0))
wait(3)
changetime(Color3.new(1, 0.333333, 0))
wait(3)
changetime(Color3.new(0.423529, 0.74902, 1))
wait(3)
changetime(Color3.new(1, 0.180392, 0.823529))

changetime(Color3.new(1,1,0))
wait(3)
changetime(Color3.new(1, 0.333333, 0))
wait(3)
changetime(Color3.new(0.423529, 0.74902, 1))
wait(3)
changetime(Color3.new(1, 0.180392, 0.823529))

#

btw if i want them to run in a loop whaqt we can do

median plover
#

and i just started scripting and learning from devking vids

#

but guys i wanna ask something what do we use returning for

somber glen
median plover
#

wait y a he should of typed

#

he just cand do this and he's good

median plover
#

local Rainbow = game.Workspace.Rainbow
Rainbow.Material = Enum.Material.Neon
while true do
Rainbow.Color = Color3.fromRGB(255, 0, 0)
wait(0.1)

Rainbow.Color = Color3.fromRGB(77, 255, 0) 
wait(0.1)

Rainbow.Color = Color3.fromRGB(43, 0, 255) 
wait(0.1)

end

somber glen
#

You can but I’m guessing when dealing with a lot of information and he needs to refer back to his script it’ll be confusing

median plover
#

rainbow is the part

lucid siren
median plover
#

so just like this

lucid siren
#

also btw, if you guys want to use the syntax it is much easier to read in discord:

lucid siren
# median plover

yes of course, this does the same thing, task.wait() just adds a REALLY SMALL delay between each loop

median plover
#

ya

median plover
#

but the only thing i have problem on right now

#

is making a kill block like i just wanna know where can i get the player's health system

lucid siren
#

you know how to detect touching right?

like Part.Touched

median plover
#

ya

#

by making functions

lucid siren
#
Part.Touched:Connect(function(hit) --hit is the object that is TOUCHED by the function

--so what you can do is check if the touched part is a characters part by doing:
  if hit.Parent:FindFirstChild("Humanoid") then --Humanoids exist only inside of Characters
      hit.Parent.Humanoid:TakeDamage(50) --or however much damage you want it to take
  end
end)
#

you can get the players health inside of the Humanoid by doing Humanoid.Health

lucid siren
#

if you need help understanding what anything means in the script just lmk

past hornet
#

No problem

median plover
#

nah i understanded it tysm

#

but u mmm why didn't we call the function in the end

lucid siren
#

huh what do you mean?

#

ohhh,

#

the way my code is written actually runs the function automatically

median plover
#

oh ok

slender falcon
slender falcon
median plover
#

ya

#

but scooping is ez

slender falcon
#

ye

#

its super simplae i am on event vid rn

median plover
#

ohh

#

i am in the if statement

slender falcon
#

i just did if one its super easy else and else if are the almost same thing

#

i meant if and else if are almost same thing

median plover
#

i sujest you do like a little script using everything you just learned

slender falcon
#

i am doing that bro

#

i got many scripts rn

median plover
#

bro the fact i already know how to use the if statement and didn't watch the tutorial is crazy

lucid siren
median plover
#

if true do

#

if 3 == 3 do

slender falcon
slender falcon
lucid siren
#
local function returntest()
    return "Hi"
end

print(returntest()) --this will print "Hi"

basically it sends whatever you have back

median plover
#

bro it's really different it should be like

slender falcon
#

its like print but advance ?

median plover
#

local function Test1()

lucid siren
median plover
#

oops

lucid siren
#
local function RandomNumber()
    return math.random(1, 10) --sends back a random number between 1-10
end

local randomnumber = RandomNumber()

here is another example

lucid siren
#

so now the local value randomnumber is whatever number was sent back

#

it is a very useful feature for when you start to get into more advanced scripting

slender falcon
#

its return an random number right or anything in script or function

lucid siren
#

the return can return WHATEVER you write

slender falcon
slender falcon
#

yes like string 2

#

or its only work on variables

lucid siren
#

yes it can return strings or bool values (true or false) or even tables (if you know what that is yet)

slender falcon
median plover
#

hey bro is this also right let me send real quick

#

local function hi()
print(hi)
return"Sigma"
end
local Ham = hi
hi()

slender falcon
#

yes

lucid siren
#

here is what your code should look like if you want to print "Sigma"

#

do you guys know how else works?

median plover
#

me i think so

#

like

#

if else do?

lucid siren
#

like ```lua
if value == true then
print("yes")
else
print("no")
end

median plover
#

ohhhhh

#

so i can just do this

#

wait how can i do like you

#

like type on something else

lucid siren
median plover
#

so

lucid siren
#

for the typing on something else

somber vault
#

i agree

median plover
#

if x == 3 do
print("YES")
else
print("no")
end

#

right?

somber vault
#

yes

lucid siren
#

it would be if x == 3 THEN, instead of do

somber vault
#

yes

median plover
#

ok tysm

somber vault
#

u use do when ure using while

median plover
#

i am learning so far

somber vault
#

while x do

lucid siren
somber vault
#

if x then

median plover
lucid siren
#

while true do

median plover
#

like this
local Rainbow = game.Workspace.Rainbow
Rainbow.Material = Enum.Material.Neon
while true do
Rainbow.Color = Color3.fromRGB(255, 0, 0)
wait(0.1)

Rainbow.Color = Color3.fromRGB(77, 255, 0) 
wait(0.1)

Rainbow.Color = Color3.fromRGB(43, 0, 255) 
wait(0.1)

end

#

it loops

#

because of

lucid siren
#

yes it loops with the while true do line

median plover
#

let me see if i can do a kill block

#

if i can

lucid siren
#

i believe in you ❗

median plover
#

i will go to the events tutorial

somber vault
#

that will be quite a big leap in skill but go ahead

somber vault
#

you wont learn if you dont dare to try something harder

lucid siren
lucid siren
lucid siren
somber vault
#

the stratosphere will explode

zealous gorge
lucid siren
#

every programmer has encountered an exploding loop on accident

somber vault
#

🕊️

#

autosaving has been turned on since

lucid siren
#

my pc randomly started crashing like every 5 minutes - 2 hours and i would lose so much progress and motivation on wh atever i was doing

somber vault
#

learned a really valuable lesson that day

lucid siren
#

honestly ive started just using TEAM CREATE even in places i wont be collaborating on, because it saves everything automatically

#

so if i lose progress i wont have to open the autosave file then overwrite the game, long process

somber glen
#

Got a question, for a beginner how do you develop a understanding for Roblox game logic with no background experience in coding. I want to get to a point where I can make small projects without much help

lucid siren
# somber glen Got a question, for a beginner how do you develop a understanding for Roblox gam...

this may be a weird way to learn, but the way i learned roblox functionalities and stuff (i started on roblox), is by looking at freemodels, i would have a simple idea of a game and take the stuff i need from the toolbox or videos that have free models in them, and when i would want to edit something i would actually go through the already existing code and edit what i want to edit, and if i didnt know what something meant in the code, i would search it up to understand it

#

i dont know if that makes too much sense

median plover
#

is this good?

lucid siren
#

YOU ALMOST GOT IT

median plover
#

waittt no oooo i didn't call the functiopn

lucid siren
#

nooo

#

thats not the issue, you dont have to do that

#

you just missed capitalization errors

slender falcon
median plover
#

i didn't watch the event vid yet

slender falcon
#

what

#

how do you know that

slender falcon
median plover
#

it's ez

slender falcon
#

btw you should do event and function seperate its cleaner

lucid siren
#

so instead of Findfirstchild, it would be FindFirstChild
and inside of :FindFirstChild, you would put quotes around what you are finding, so FindFirstChild("Humanoid") instead of just FindFirstChild(Humanoid)

ALSO HUMANOID HAS A CAPITAL H, not a lowercase (Humanoid)
AND HEALTH HAS A CAPITAL H, not a lowercase (Health)

script.Parent.Touched:Connect(function(hit)
  if hit.Parent:FindFirstChild("Humanoid") then --you had Findfirstchild(humanoid)
    hit.Parent.Humanoid.Health = 0 --you had humanoid.health
  end
end)
slender falcon
#

np

median plover
#

so capitals will rune your in

lucid siren
#

it has to be punctuation perfect

median plover
#

so capitals will rune your entire script

slender falcon
lucid siren
lucid siren
#

its weird, som e objects have capitalization, some dont

lucid siren
slender falcon
#

ye

median plover
#

wait a minute

#

if learned how to make a kill block

#

i can make a size block that can change youre size right?

slender falcon
lucid siren
#

NPC is the model of the npc obviously

slender falcon
#

k thx

lucid siren
slender falcon
#

game.Workspace.Part.Touched:Connect(function()

game.Workspace.Part.Anchored = false
wait(3)
    print('i am just an noob')
if game.Workspace.Part.Anchored == true  then
    print("i am pro ")
end

end)

hows my script

dawn oasis
#

why game.Workspace

slender falcon
median plover
dawn oasis
#

you dont need to do game.Workspace

delicate sequoia
#

lol

dawn oasis
#

just write workspace

slender falcon
#

oh

gloomy kraken
#

workspace

slender falcon
#

thx bro

median plover
slender falcon
dawn oasis
#

and you can remove "== true" its not really needed

slender falcon
dawn oasis
#
local part = workspace.Part

part.Touched:Connect(function()
        part.Anchored = false
        task.wait(3)
        print('i am just an noob')
        if part.Anchored then
            print("i am pro ")
        end
end)
``` write like this and you gonna be pro
gloomy kraken
#

no debounce?

dawn oasis
#

i just removed homocode thats all

slender falcon
slender falcon
dawn oasis
#

its faster

slender falcon
#

oh

#

k

gloomy kraken
slender falcon
#

what is meaning of db?

dawn oasis
#

debounce i think

slender falcon
slender falcon
gloomy kraken
tawdry elk
#

finally discovvered the custom font module

dawn oasis
slender falcon
#

daym bro

gloomy kraken
sudden estuary
#

its "faster" because its precise

gloomy kraken
#

is this ragebait

sudden estuary
#

no

gloomy kraken
sudden estuary
#

love you

atomic dome
#

who knows how to make gfx

tranquil tide
#

wsp

#

can i learn with only documentation?

#

i have some basics

shut yarrow
junior pier
#

bro why is the free model gravity coil's script so overkill 🤣

hazy furnace
#

yo can someone try my soccer game and tell me sum suggestion to fix ground dribbling am making it like the game super blox soccer smhw

tight walrus
#

for a beginner what can i do except make a game to make robux? im a scripter

somber vault
#

Practice

somber vault
#

Shirts, models, etc

tight walrus
somber vault
elfin timber
#

but u gotta be decent for that

tight walrus
#

dang

elfin timber
tight walrus
autumn orchid
#

recoil stuff is actually annoying god dwag

young crystal
#
local module = {}

local RS = game:GetService("ReplicatedStorage")
local Players = game:GetService("Players")

local getInventoryFunction = RS.remoteFunctions.getInventory
local equipItem = RS.remoteFunctions.equipItem

-- Default inventory for new players
local defaultInventory = {
    ClassicSword = { uses = 1 },
    Item2 = { uses = 2 },
    Item3 = { uses = 3 },
}


local playerInventoryData = {}


Players.PlayerAdded:Connect(function(player)
    playerInventoryData[player.Name] = table.clone(defaultInventory)
end)


getInventoryFunction.OnServerInvoke = function(player)
    local inventoryData = playerInventoryData[player.Name]
    if not inventoryData then
        inventoryData = table.clone(defaultInventory)
        playerInventoryData[player.Name] = inventoryData
    end
    print(inventoryData)
    return inventoryData
end


equipItem.OnServerInvoke = function(player, itemName)
    local inventory = playerInventoryData[player.Name]
    if inventory and inventory[itemName] and inventory[itemName].uses > 0 then
        print("player has item! " .. itemName)
        return true
    else
        print("player does not own this item: " .. itemName)
        return false
    end
end

return module```
hazy furnace
#

bro i rly need help guys i made a soccer game type super blox soccer i need someone who can help me to fix smth

real fulcrum
#

is there anyone thats a good scripter with a mic and can reccord if yes dm it's for a yt video

#

is there anyone thats a good scripter with a mic and can reccord if yes dm it's for a yt video

tranquil tide
#

someone to help me ?

#

it dont work

near pasture
# tranquil tide

Try waiting until the player is added with

-- Rest of your logic
game.Players.PlayerAdded:Connect(function(plr)

end
#

Though idk if that'll help much its better than nothing

tranquil tide
#

where do i place it?

near pasture
#

you could also try doing

game.Players.PlayerAdded:Connect(function(plr)
       plr.CharacterAddded:Connect(function()
               -- Put ur code here
       end)
end

this could be better

zenith pasture
tranquil tide
zenith pasture
tranquil tide
#

working

#

ty

zenith pasture
#

np

tranquil tide
#

i am a beginner in scripting you kno

#

i am trying to do a script to shift to run

near pasture
zenith pasture
# tranquil tide i am trying to do a script to shift to run
local UIS = game:GetService("UserInputService")
local Players = game:GetService("Players")

local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")

local walkSpeed = 16 -- normal speed
local runSpeed = 26  -- running speed
local isRunning = false

UIS.InputBegan:Connect(function(input, gameProcessed)
    if gameProcessed then return end
    if input.KeyCode == Enum.KeyCode.LeftShift then
        isRunning = true
        humanoid.WalkSpeed = runSpeed
    end
end)


UIS.InputEnded:Connect(function(input)
    if input.KeyCode == Enum.KeyCode.LeftShift then
        isRunning = false
        humanoid.WalkSpeed = walkSpeed
    end
end)


player.CharacterAdded:Connect(function(char)
    character = char
    humanoid = char:WaitForChild("Humanoid")
    humanoid.WalkSpeed = walkSpeed
end)
#

if you want both shiftkeys just add an or after lua if input.KeyCode == Enum.KeyCode.LeftShift, you can add this after lua if input.KeyCode == Enum.KeyCode.LeftShift or input.KeyCode == Enum.KeyCode.RightShift then

weary pilot
#

yo guys where to u find app devs

unreal cairn
#

Most likely

weary pilot
tranquil tide
#

game.Players.PlayerAdded:Connect(function(player)
local leaderstats = Instance.new("Folder")
leaderstats.Name = "leaderstats"
leaderstats.Parent = game.Players.LocalPlayer

local time = Instance.new("IntValue")
time.Name = "Time"
time.Parent = leaderstats
time.Value = 0

end)
this is a local script placed in workspace
what is wrong?
it dont work

unreal cairn
royal ibex
#

And don’t use local script

royal ibex
unreal cairn
#

You're welcomethumbs_up

unreal cairn
# thorn arch Playeradded exists on client

Yeah true, PlayerAdded does fire on the client but only for other players. If you wanna set up leaderstats for the local player, you should use LocalPlayer directly, no need for PlayerAdded in a LocalScript.

iron skiff
unreal cairn
half merlin
thorn arch
thorn arch
unreal cairn
iron skiff
half merlin
unreal cairn
near pasture
#

@iron skiff

true tree
#

found some old memes from before the server was nuked

#

the cursive coding one and this

royal ibex
#

If so you balance the game💀

true tree
#

I used to have hd specific memes but i think i lost them

#

sadly

#

there was one that was hd related and contained an image of a miner or something

#

can't remember the joke but yh

#

the good times

#

with pi and red guy and all the other folks

hazy furnace
#

bro i rly need help guys i made a soccer game type super blox soccer i need someone who can help me to fix smth dm me if u need rec i cat send it here

gilded stag
#

are storybooks good for uis

sudden estuary
sturdy seal
#

is there anyway to make the player speak through bubble chat without actually speaking for cutscenes or diaulogue

snow hinge
#

out of curiosity - as someone who's never had any experience using rojo or anything besides roblox studio for that matter; if i were to use rojo as part of an already created project in a team of people who don't use rojo will there be issues there

peak jolt
# snow hinge out of curiosity - as someone who's never had any experience using rojo or anyth...

Yes, for an existing project you need to convert it into a Rojo project first (there is tools for that), and if others aren't using it then to avoid problems while syncing you would need to have white listed instances where Rojo doesn't sync, or else it could delete the things other people are working on. And if the others want to add things to partitions that Rojo manages then they would have to do so in the Rojo code (or ask you).

proven depot
#

guys uh how much should i take to script a triple jump troll tower
in usd

pine harness
#

Any scripter wanna join our team for the 1 week game challenge

#

Out game is 60% done

#

We just need some debugging and some simple scripts in place

#

And polish the map

slender falcon
true tree
#

and modular

slender falcon
graceful breach
#
solar juniper
#

can anyone tell me why this keeps on one shotting?

local RS = game:GetService("ReplicatedStorage")
local players = game:GetService("Players")
RS.Abiities.FlameBurst.OnServerEvent:Connect(function(player)
    if player  then
     
        local hitlist = {}
        local alreadydamaged = {}
        local part = Instance.new("Part")
        part.Size = Vector3.new(20,20,20)
        part.Material = Enum.Material.ForceField
        part.Color = Color3.new(1, 0, 0.0156863)
        part.Anchored = true
        part.CanCollide = false
        part.Massless = false
        part.CFrame = player.Character.HumanoidRootPart.CFrame
        part.Parent = workspace
        
        game.Debris:AddItem(part,1)
        
        local boxradius = workspace:GetPartBoundsInBox(part.CFrame,part.Size)
        
    for i,v in pairs(boxradius) do
        local target = v:FindFirstAncestorOfClass("Model")
        local targethumanoid = target and target:FindFirstChild("Humanoid")
    if targethumanoid and target ~= player.Character and not table.find(alreadydamaged,targethumanoid) and not hitlist[target] then
        hitlist[target] = true
                table.insert(alreadydamaged,targethumanoid)
        local damage = 0.2
print(target.Name)
--targethumanoid:TakeDamage(damage + player:GetAttribute("DamageEnhancer"))
        targethumanoid:TakeDamage(damage)

        
        local Attachment = Instance.new("Attachment")
        Attachment.Parent = target:FindFirstChild("HumanoidRootPart")
        local LV = Instance.new("LinearVelocity")
        LV.MaxForce= math.huge
        LV.VectorVelocity = -target.HumanoidRootPart.CFrame.LookVector * 80
        LV.Attachment0 = Attachment
        LV.Parent =Attachment
        
        game.Debris:AddItem(Attachment,0.7)
        
        local  Ragdoll = target:FindFirstChild("IsRagdoll")
    end
    end    
    end
end)
unreal cairn
solar juniper
solar juniper
unreal cairn
cosmic lava
#

Hello anyones can help?

vast bay
#

Bruh

#

Ur saying -= 0

#

İts deducting 0 health from the player

#

You can say hit.parent.humanoid:TakeDamage(100)

#

That makes it easier

elfin timber
#

Remove the -

cosmic lava
# elfin timber Youre subtracting health by 0
  1. "1 means humanoid.touched is being set, which detects when the NPC's soul touches an object."
    "which is fucking nothing happens"
  2. "2 is health - 0 when it touches (???)"
  3. "3 is using wait (this is a nitpick)"
#

and inefficient

solar juniper
unreal cairn
#

No problem man

#

Glad you sorted it out

solar juniper
worn hinge
#

get the humanoidrootpart or primarypart instead

dusky pewter
#

LF programmers for a deepwoken inspired, attack on titan permadeath lore game, that's no hand holding and has human vs human combat mechanics like sekiro, (Game is already scripted, and the module is finished, just looking for a programmer who could script better ODMG and finish the administration system)

somber vault
modern zinc
#

im the fucking best

somber vault
modern zinc
#

imgui in lune

somber vault
modern zinc
#

"what it does"

#

"what does a ui library do"

#

make ui

somber vault
#

i know gang 🥹✌🏻

modern zinc
#

so how are u implying that hes asking what it does when the answer to that is obvious once you know what it is

somber vault
#

you are what you eat gang ✌🏻

modern zinc
#

ok

somber vault
#

on foenem grave gang 🪫✌🏻

tiny stone
junior pier
#

should player's health be fully managed on the server? i keep seeing discrepencies between server and client's humanoid health. for example i take 50 damage to the player on the client side, but on the server side it is still full health.

tiny stone
unreal cairn
tranquil tide
unreal cairn
tranquil tide
#

dont work

unreal cairn
# tranquil tide dont work

There's a typo in your script, it should be WalkSpeed (capital S), not Walkspeed. Also make sure this code is in a LocalScript placed inside something like StarterPlayerScripts otherwise, 'Touched' might not run properly for the player.

junior pier
#

walksped

hardy imp
#

It's also walkspped

junior pier
#

i think he is sped

unreal cairn
unreal cairn
tranquil tide
#

placed in the part

junior pier
#

hahah

unreal cairn
tranquil tide
#

i fixed

#

nothing work

unreal cairn
#

So it's 'WalkSpeed'?

tranquil tide
#

yes

#

and takedamage event dont work too

unreal cairn
# tranquil tide and takedamage event dont work too

Make sure the target actually has a Humanoid, and that you're calling TakeDamage() on it from a server-side Script, not a LocalScript. Also double check that the Humanoid isn’t nil or already dead when the function runs.

tranquil tide
#

damn

#

should i do a module script for this?

#

or maybe i need to use an remote function

unreal cairn
tranquil tide
#

like

unreal cairn
#

And if you need to trigger damage from the client, use a RemoteEvent to call the damage function on the server

tranquil tide
#

in the module script i place the variable?

pure furnace
tranquil tide
#

i dont understand what is wrong tbh

pure furnace
#

the one that just says script

tranquil tide
#

i tried

#

it do nothing too

pure furnace
#

ur cooked

unreal cairn
daring echo
#

Anyone here know how to make an avatar system like this? DM me if you can, paying with USD

pure furnace
tranquil tide
#

yes ill learn this evening tbh

#

i just want to get the basics at 999£

#

999%

unreal cairn
#

Just ping me whenever you need my help again

tranquil tide
#

ok ty my g

unreal cairn
#

You're welcome

pure furnace
#

wait use his modulescript strategy and mix it with a little bit of metatables for the peak optimization and quality game preformance

tranquil tide
#

what is metatable ?...

tranquil tide
#

is remote hard or nah?

pure furnace
#

@unreal cairn explain it to him

tranquil tide
#

bruh

#

meta table shit look so hard 💀

#

i dindt learn remote event yet

pure furnace
#

@unreal cairn yo this urgent

unreal cairn
#

Metatables let you customize how tables behave like adding functions that run when you access, change, or compare values. Good for optimizing code and making reusable systems. You can combine them with modulescripts to create clean, powerful damage systems or stat managers.

#

@tranquil tide

#
#

Read this as well

#

If you wanna learn about metatables

tiny stone
unreal cairn
pure furnace
tiny stone
unreal cairn
pure furnace
unreal cairn
unreal cairn
#

Which one do you like more tho

pure furnace
unreal cairn
pure furnace
#

idk its the first i learn lua

tiny stone
unreal cairn
manic hare
#

is rate limiting server calls a goodway to prevent exploiters

native quest
#

module scripts and remotes are ez, basically you make a remote for every action that your player takes that will affect the server side of the game(aka other players, objects, other player's ui's) Metatables are just a fancy way of saying 'run functions in the modulescript' dont get too pressed abt it, all you need to do is make the modulescript in the serverscript service, make a server script called listener, and make a single remote event. then in your local script you just define the remote event 'local remote = game.replicatedstorage.remote' in the serverscript you put the lisitner script , eg 'Event.OnServerEvent:connect(function()end)' inside of the function you call 'local mod = require(modulescript)' then you can just run whatever functions you want from the module script and return data through them using the 'return data' class, like you would in a regular function. thanks for coming to my ted talk.

pure furnace
native quest
#

you dont need to use metatables for simple scripts.

tiny stone
pure furnace
unreal cairn
quasi kelp
#

hey is it possible to send data of a part from the server to a client with a remote event?

manic hare
#

what do roblox gamedevs usually use

pure furnace
unreal cairn
manic hare
#

fuck metatables

unreal cairn
quasi kelp
unreal cairn
# tiny stone now you are freelancer or what

I recently quit coding, so im basically just helping around in communities while staying up to date with tutorials and forums to further educate myself. Im a helpful guy and i like to help, i find joy in it.

pure furnace
quasi kelp
pure furnace
#

turn off streaming enabled i think its nil because the part is too far away from the player

unreal cairn
tiny stone
manic hare
#

task.defer

unreal cairn
quasi kelp
unreal cairn
#

Les gooooo

#

Good work man

#

Glad it worked

quasi kelp
#

thx for the advice

unreal cairn
#

You're welcome

#

Ping me if you ever need something

manic hare
#

liam have u used json encoding for datastores

tiny stone
unreal cairn
unreal cairn
quasi kelp
manic hare
unreal cairn
#

Yeah i understand

unreal cairn
#

Acc stolen and 6 malwares

#

les gooo

#

😭

native quest
#

okay , i could probably explain meta tables , essentially, you make a metatable inside of another table using , setmetatable(myTable, myMetatable) the 'mymetatable' can be a completely empty table as its Only role is to contain any metamethods we add to it. Meta methods are essentially instructions stored in the meta-table, roblox looks at these instructions and executes the associated function. so when you do tostring(table) , and you made a metamethod called "*myMetatable.__tostring = function(table)
return "The table was converted to a string"
end
*" then when the tostring(table) runs , it will automatically call that function. essentially allowing you to do specific things when you call a table in any certain way.

#

thanks for coming to my ted talk

unreal cairn
#

Sure..

native quest
#

im a robot

unreal cairn
#

Coding has given me back problems

#

jk it hasnt

tiny stone
unreal cairn
#

I donwloaded something..

#

Cuz im dumb

tiny stone
unreal cairn
#

Nah i dont even think thats the reason

#

I just think i got unlucky thats it

#

Look at this rq

austere egret
#

looking good

#

i think ur next man idk

sweet hound
#

I've been trying to get into Roblox development since 2021, but every time I hit a roadblock, I end up quitting. Over time, I explored other languages like Python, JavaScript, and both front-end and back-end web development, and I was able to pick those up successfully. Now, I'm giving Roblox dev another shot, this is my fifth time, and I really want to get it right. What are some good resources and effective ways to retain what I learn?

austere egret
#

just have fun

thick berry
#

Is there anyone that can teach me things about wcripting for a while like a week, i might even pay if its worth.

tiny stone
unreal cairn
#

I was chatting with them previously

#

Ig they managed to gain my trust

unreal cairn
native quest
#

i pretty much learned without any tutorials, just trial and error and referencing the roblox api. this was before filtering was added to roblox so scripting was done a bit differently back then

sweet hound
quick mist
#

does anyone know how to like change a parts gravity point idk hard to explain but kinda something like this

tiny stone
unreal cairn
#

😩

#

Well im not mad

#

Sure i lost money

#

But idrc

#

lol

tiny stone
unreal cairn
#

There's a shit ton of money in it

#

So hell yeah

real fulcrum
#

Anyone is a great scripter and is intrested to participate in a yt video dm if yes

wide sparrow
tiny stone
wide sparrow
cinder sapphire
#

@austere egret

#

Dm

wide sparrow
#

like i guarantee you if you found or made a team and worked on a game with other people you'd be able to make a game that would pay you MUCH more than any of those comissions

thick kelp
#

Guys we’re suppose to be discussing codes here what’s going on???

tiny stone
unreal cairn
wide sparrow
#

its a code discussion

#

okay both code channels

#

rarely talk about actual coding

#

you just need to know that

thick kelp
wide sparrow
unreal cairn
wide sparrow
#

but it also means you are basically wasting your skills (in my eyes at least)

tiny stone
thick kelp
wide sparrow
wide sparrow
#

commisions

#

are basically when people hire you

#

for one time things

wide sparrow
#

like script me a boat or a car or script a combat system or etc etc

#

thats a comission

#

its freelancing

#

its one time, you get hired for ONE JOB and you do it and get paid

#

now i want to differentiate this from working on a game

tiny stone
wide sparrow
#

working on a game usually means putting in MUCH more time, working with people probably for little to no pay (only %) and your entire thing being relied on by how much the GAME produces

wide sparrow
unreal cairn
#

Short term & Long term basically

thick kelp
wide sparrow
#

you could make SO much more money from a long term game

#

and YES its like 2 million times more risky

thick kelp
#

You do all the work for the game just to have 0 CCU

wide sparrow
#

but it also makes so much more

gentle halo
#

u can benifit from it like for portfolio

wide sparrow
wide sparrow
#

it works great for portfolio pieces even if it fails

thick kelp
wide sparrow
#

and of course you learn a shit ton

thick kelp
#

Just do a short term work and dip

wide sparrow
#

i mean we're free to disagree but i would much more value working on an actual project

unreal cairn
#

True but don't take too big chances. Observe the owner and decide if he's someone you wanna work with/for.

wide sparrow
#

or just do it yourself

#

if you have the patience and skills to

tiny stone
thick kelp
# wide sparrow nah not in my eyes at least

Commission is the best thing to ever exist yes the game may blow up with a 0.00001% chance in this genre but if you’re good at the commission and the game blow up they could potentially hire you as their dev think about it

wide sparrow
#

if you want to make side money

#

thats another thing

#

then yes do comission

#

but if you really want to pour a bunch of effort into scripting

#

then youve gotta make a game

thick kelp
#

Bro in this age of Roblox it’s better for commission unless you have friends with connections

wide sparrow
#

ok my perspective is very selfish

thick kelp
wide sparrow
#

i don’t want someone’s game blowing up due to my effort if i don’t get a % of that

unreal cairn
wide sparrow
#

as i said risk reward

tiny stone
wide sparrow
#

its just that reward is crazy high

thick kelp
#

I’ve been In those situations finish a game owner failed to pay and sold it so I just stocked to commission

thick kelp
wide sparrow
#

when i mean work for a game

#

i don’t mean hop from game to game

thick kelp
#

You’re carrying on as if MM will save you from sharing the same studio

wide sparrow
#

i mean actually FOUND the idea together and work from the ground up together

thick kelp
#

I’m not making noise wid u I mean the other guy

wide sparrow
#

i mean be like a 30% share

tiny stone
thick kelp
#

But you’re long term why they paying per milestone though? 🤔

tiny stone
#

each 15% of the project completed you get paid, as checkpoints

thick kelp
#

That’s why the guy above said taking %

thick kelp
#

Not to mention you also have to wait 2 weeks before Roblox verify

wide sparrow
thick kelp
wide sparrow
#

this is per project payment

#

that’s seperate

thick kelp
#

that’s basically a commission

#

Long term u finish the entire project then get payed

wide sparrow
terse vortex
#

guys can someone help me to give a badge whenever someone donates?

wide sparrow
#

pure % payment

thick kelp
terse vortex
thick kelp
wide sparrow
#

now okay this perspective might be wrong depending on skill level

tiny stone
thick kelp
#

Long term is a very high risk currently either they don’t want to pay when you’re done, they want to sell it and don’t give you a cut for your work, or the game doesn’t even get 1 player

wide sparrow
#

i probably don’t recommend you do a long term with someone else if you’re starting out

wide sparrow
#

yeah per task is a comission

sacred ore
#

but comissions can be boring

thick kelp
#

Long term means you only get payed PURELY OFF %

terse vortex
tiny stone
thick kelp
#

!49 are you slow omgs

#

nobody will hire a long time to pay you per task

sacred ore
wide sparrow
#

god this is too complex

#

everyones having different definitions for what we're saying

thick kelp
#

Long term you’ll pay more den what you pay for commission

sacred ore
#

depends

#

flop exist

thick kelp
wide sparrow
sacred ore
#

ah alr

thick kelp
wide sparrow
#

okay if youre making a cashgrab then yeah dont do long term

#

if you're making another tycoon

thick kelp
#

But this guy saying taking per task is still long term which it’s not

wide sparrow
#

andother simulator

#

another whatever

#

then dont do long term

sacred ore
#

but i started with comissions, it just gets boring

thick kelp
wide sparrow
#

lmao

tiny stone
wide sparrow
#

dude im ngl

#

the way you talk

#

is confusing me

sacred ore
thick kelp
#

Ai bruh ts done you got it

wide sparrow
#

like you're running circles and its really goddamn confusing

thick kelp
#

I’m saying

wide sparrow
#

what is ts bio 💔

thick kelp
#

😭😭

sacred ore
#

I think comissions are good to start, to find a dev team or just a dev partner, then you can move on long term

wide sparrow
#

this is a balanced take

thick kelp
#

Since commissions you work in your own studio that’s the best way to start

wide sparrow
#

or just do what i do and work on the game yourself 🤑

tiny stone
tiny stone
wide sparrow
tiny stone
#

i didn't start nothing, you switched from coding till speaking off-topic, and my bio don't have anything wrong

thick kelp
#

Like I started on this arrest system ima start back working on it and clean it up and make it cleaner

wide sparrow
#

nah im kidding but

thick kelp
thick kelp
wide sparrow
#

eh clean either way

thick kelp
#

Yea

wide sparrow
# thick kelp

except for this god awful font and double button please fix that

thick kelp
#

My motivation lowkey dead bruh

wide sparrow
#

well motivation isnt going to get you anywhere

thick kelp
#

I should’ve coded it regularly

wide sparrow
#

wdym

thick kelp
#

Now that I did the framework system I’m lazy as fuck to code client side of the framework to connect server and client

#

So I can call it from modules and shit

wide sparrow
#

ohhh i know how you feel lmao

#

yeah i hooked up my mvc yesterday to the server state

#

god it was so annoying

#

but trust me once you do it its so satisfying to see the puzzle connect

tiny stone
# thick kelp 😭

did you learn coding as self taught or you are studying computer science in real life

thick kelp
#

Self taught

thick kelp
#

Bro I coded server with a breeze but every time I think about client I just is close studio

#

Like I started on the taser system when I realize I have to code client I close studio

wide sparrow
#

yeah client side is actually the bane of my existence

#

well

#

tbf i hate serverside as well

#

i really dont like coding now that im thinking about it

#

im just good at it so i do it

tiny stone
wide sparrow
#

right I hate frontend as well

#

i hate ui animations

#

i hate MAKING the UI

#

i hate hydrating it with state

wide sparrow
#

i hate the physics

#

i hate modeling and building

#

i hate lighting

thick kelp
wide sparrow
#

i hate vfx and the sound

#

i hate haptics and camera shake

bitter hazel
#

do yall know any scripters that do vehicle systems?

wide sparrow
#

i hate all of it

thick kelp
#

every time I code a game when I even think about front end I close studio 😭

wide sparrow
#

i still do it because i have to

tiny stone
wide sparrow
#

but its not fun in the slightest

wide sparrow
#

i also hate html and css though so

wide sparrow
#

svelte is goated though

sacred ore
#

anyone know if theres a way to code a DRL ai on roblox studio?

thick kelp
#

I like JS HATE HTML and PYTHON

wide sparrow
#

if you went to webdev

sacred ore
#

like a gymnasium

wide sparrow
thick kelp
#

No

sacred ore
wide sparrow
#

svelte is hoenstly the greatest framework ever for webdev

thick kelp
#

I started learning html and python then quit 😭😂

wide sparrow
#

its so goated

wide sparrow
thick kelp
#

only thing I learn was JS cause I wanted to make a discord to Roblox system

wide sparrow
#

i actually despise it so much its not even funny

thick kelp
#

I would stay up all day fixing an issue knowing I have school at 5 am

wide sparrow
#

no dude frontend on roblox is SO much better

thick kelp
#

Hell no

wide sparrow
#

even making ui is so much nicer

thick kelp
#

No

wide sparrow
#

like i can actually SEE the elements MOVE the elements adjust the spacing all that

thick kelp
#

I hate everything about Roblox frontend

wide sparrow
#

eh personal preference i guess

thick kelp
#

yea

#

Backend the best I could code that all day

wide sparrow
#

but holy hell if i had to become a frontend web dev and use css

thick kelp
#

😭😭

wide sparrow
thick kelp
#

😭😭

wide sparrow
#

data storage schemas events all of it

thick kelp
#

Client is make em rethink life

wide sparrow
#

schemas and templates and lookups and writing

tiny stone
thick kelp
#

If you think you good at coding try client

wide sparrow
#

again i hate all of roblox development but im good at it so ill continue

thick kelp
#

ts will burst your ass

thick kelp
wide sparrow
#

honestly client side is not as bad as you're making it seem

#

its bad yeah

#

but its not horrible

thick kelp
#

Idk I just prefer being self learn I think I’ll try out html one day

wide sparrow
#

there isnt much to learn with html lol

tiny stone
thick kelp
wide sparrow
#

its like learning json

wide sparrow
tiny stone
wide sparrow
#

honestly youve GOT to try mvc

thick kelp
wide sparrow
#

its the greatest paradigm

tiny stone
#

guys how do you understand these deep back-end things such as OOP, polymorphism, classes. I feel dizzy when I study them

wide sparrow
#

i think i would actually be crying if i wasnt using mvc

thick kelp
#

I love doing shit like this

tiny stone
#

especially if it's not your code and it is someone else

wide sparrow
thick kelp
#

Read 😭

wide sparrow
#

w hat the fuck is creates

thick kelp
#

Data

wide sparrow
#

createservice wtf

thick kelp
#

It’s a custom service system

wide sparrow
#

okay i legitimatly dont even see why

#

its waaayyy too overcomplicated imo but

thick kelp
#

How

#

It’s good for my discord bot aswell to manage

wide sparrow
#

i mean i dont even know what you're using it for so maybe its not

#

but i legitimatley do not know what this is doing and why youd ever need it

thick kelp
#

oh I didn’t show what I did it for hold on

#

Uh I didn’t save it

#

But this is the setting off my framework

wide sparrow
#

again like

#

why dude

#

i honestly dont see why its so complicated

thick kelp
#

Whats so complicated about the framework 😭

#

bro that’s basic

#

It’s literally readable

tiny stone
wide sparrow
#

i still dont understand what the purpose is

#

like i literally couldnt care less about how nice the typings and objeccts look what is the job of it

thick kelp
thick kelp
#

So for example I can do

wide sparrow
#

js use a networking module like blink

tiny stone
thick kelp
#

Yea no I made my own

wide sparrow
#

again just why

thick kelp
#

Cause I have the knowledge for it

wide sparrow
#

like this might be why youre feeling down because youre overcomplicating and coding it when you just dont need to

thick kelp
#

I like to make stuff for myself

wide sparrow
#

alright then enjoy suffering ig

thick kelp
#

so if it goes wrong I know I made it

wide sparrow
#

idk what to tell you

thick kelp
#

I learn based on my mistakes

#

I mean yes this framework kill the fuck outta me not even to mention client side

wide sparrow
tiny stone
thick kelp
wide sparrow
thick kelp
#

I just learn to code to get my mind off school but I graduated so ion really check for coding snymore

tiny stone
thick kelp
#

I work 8-4 also I don’t enjoy coding

#

That was cause I was in school and to best bordum

tiny stone
thick kelp
tiny stone
tawdry dagger
#

Can any one help me with a Rag Doll Script

thick kelp
#

I got jealous just watching my friends code and wanted to do it

#

Also I had a friend to create a game he never did was always busy so I took it upon myself and learn

tiny stone
thick kelp
#

Yup

#

So I was like fuck it barley sleep

sick saffron
#

so i wanted to add debris as the slice keeps moving, what am i supposed to do?

young rock
#
local Animator = self.Model.Humanoid.Animator
for AnimationName, AnimationID in self.AnimationIDs do
    local Animation = Instance.new("Animation")
    Animation.AnimationId = "rbxassetid://" .. AnimationID
    self.Animations[AnimationName] = Animator:LoadAnimation(Animation)
end

when i print the length of one of the animations its 0, what are the reasons of this?

sick saffron
royal linden
#

YO I NEED A SCRIPTER PAYING IN GAG STUFF AT LEAST 1-2 Y EXPIRANCE

tired rampart
#

Any good scripters i need asap

crisp path
tired rampart
crisp path
tired rampart
crisp path
#

not rlly

tired rampart
#

are you reliable

#

dm me

past hornet
#

Hey i am reading roblox studio's learning forum, what does indented mean here?
As you typed, your code should have indented automatically. This makes it easier for you and others to see the start and end of a function. If it didn't auto indent, you can press Tab at the beginning of the line to quickly indent it.
Its about functions btw

zenith field
#

Indentation refers to the space at the front of the line that separates it from the left of the code editor.

#

Like this:

— This is not indented
     — This is indented
fading saddle
#

yo does anyone know how to make a dash system

crisp path
fading saddle
crisp path
#

body movers make your character move

fading saddle
#

idk how to use them tho

crisp path
#

meaning that you can do dashes with them

#
#
fading saddle
#

😮

crisp path
#

yea

late nexus
#

Does anyone know what is currently trending in Roblox?

hallow quail
#

i absolutely love the roblox engine

copper jacinth
late nexus
#

mhm

hallow quail
#

steal a hddevs skill (learns offline)

late nexus
#

yes that is right

#

thanks for the help!

hallow quail
#

wait thats what llms do

late nexus
#

😭

copper jacinth
#

@daring echo use the marketplace for hiring developers, more info in #marketplace-info

copper jacinth
#

no worries

sacred fox
#

Does anyone here know how to use perlin noise for map generation aka using math.noise I'm not doing height and afterwards use sockets so no 2 faces line up in such a way it blocks the player basically anyone who knows how to make precaudal generation from scratch.

#

My brain is super fried from just learning it and could use some help applying it

#

the sockets will need to use meta data I assume

sacred fox
fading saddle
#

can somene help make this have mobile support please i have the gui all ready

fading saddle
#

wdym

sacred fox
#

Ill read it

fading saddle
#

whats lua coloring

sacred fox
#

just use `` ` lua

#

I can't type it out

#

but mention it's lua code.

#

so it colors it properly

#

otherwise that just makes my headache I already have bigger

fading saddle
#

jst load in into studiio 😮

sacred fox
fading saddle
#

wont it have colors

sacred fox
#

nvm I forgot this button exists

fading saddle
#

can u help?

sacred fox
#

this is much easier to read

fading saddle
#

oh ok

sacred fox
#

yes let me read it now

fading saddle
#

ty

sacred fox
#

okay so.

#

what needs to be converted to support mobil

fading saddle
#

the dash

sacred fox
#

oh like have it play on mobil

#

that's it?

#

sorry dumb question

fading saddle
#

yes i want it to be able to connect to the gui i have which is a mobile button and so it can be on pc and mobile but i dont want you to be able to see it on pc

sacred fox
#

let me think hmmmm

fading saddle
#

aight

sacred fox
#

read that .,.

#

use the GUI button with action service

fading saddle
#

:/

#

idk how to code much tho

sacred fox
#

well then you should quit

#

or go learn a game dev course

compact spoke
#

this channel be composed of: hmmm idk can you write it for me

fading saddle
#

k lemme try ig

sacred fox
#

just look up chat gpt yuh

#

and ask it about action service

#

and use 1 brain cell to add it in

#

either way I still have nobody to help me with sockets for procedural map gen so players don't have infinite amount of dead ends-

fading saddle
#

i dont understand it

#

also chatgpt doesnt code well

sacred fox
#

I said ask it how it works

#

not to code it

fading saddle
#

ok

sacred fox
#

either way Imma head over to Ro-devs and spend my money on finding a scripter 🥀

fading saddle
#

let me script for u

sacred fox
#

cause I don't have 5 days to find someone smart enough with sockets and map gen

sacred fox
#

okay bye

fading saddle
#

trust trust

#

im very good

sacred fox
#

bro you don't even know know your services

#

go find a mentor

#

okay bye

fading saddle
#

oki

steel geyser
#

Hey, looking for any devs that wanna 50/50 a game idea i had and i have a lot of money to buy ads. Dm me

royal linden
#

i need someone to help me make this game

tranquil tide
#

local yesOrNoPart = game.Workspace.GrayPack
local clickDetector = script.Parent
local yesOrNoGui = game.StarterGui.ScreenGui:WaitForChild("YESORNOSCREEN")

yesOrNoPart.MouseButton1:Connect(function(plr)
if clickDetector then
yesOrNoGui.Visible = true
end
end)

#

why it dont work pls

wind pasture
#

Or if you rich use GitHub ai

#

Best ai ever