#code-discussion

1 messages · Page 71 of 1

proud idol
#

heres how i have it

twilit garden
proud idol
#

and it works

proud idol
#

bc i cant open the backpack gui

twilit garden
proud idol
#

(fyi i cant go on vc rn)

twilit garden
#

It still shows the original inventory

proud idol
#

well duh

twilit garden
proud idol
#

that code over there

#

disbales the BACKPACK gui

#

you want to disable the tool bar as well

twilit garden
#

Oh😭 apologies

twilit garden
static coral
#

hotbar and backpack both fall under Enum.CoreGuiType.Backpack

proud idol
#

but i did manage to fix it by moving the localscript to replicated first

twilit garden
#

I tried that, still the same

errant river
#

anyone here know how you would go about tweening a gui along a path2d

proud idol
twilit garden
static coral
errant river
#

I (sorta) figured it out, its an odd way of doing it

#

you basically tween a number value from 0-1, then have a .Changed event connected to that number value, which the number value is the percentage travelled, then path2d has a method for getting the position at a set percent

static coral
#

ig that works

static coral
errant river
#

I have, this seems to be the only way as of now

static coral
#

alr

errant river
#

its the way they did it in the release announcement

static coral
#

you could create lerp function but you will need function for each easing style too then (or atleast the one u gonna use) so not really worth it

twilit garden
#

I FIXED IT

errant river
#

is there a way to find the % distance along the path a given control point is?

static coral
twilit garden
#

@static coral @proud idol This script fixes it, but when I put all to false It also disables chat.. game:GetService('StarterGui'):SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All,false)
game.Lighting.ColorCorrection.Brightness = 0
game.Lighting.ColorCorrection.Contrast = 0
game.Lighting.ColorCorrection.Saturation = 0
game.Lighting.ColorCorrection.TintColor = Color3.new(1, 1, 1)

twilit garden
static coral
#

and its disabling chat because you are disabling CoreGuiType.All

twilit garden
static coral
static coral
twilit garden
#

game:GetService('StarterGui'):SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack,false)
game.Lighting.ColorCorrection.Brightness = 0
game.Lighting.ColorCorrection.Contrast = 0
game.Lighting.ColorCorrection.Saturation = 0
game.Lighting.ColorCorrection.TintColor = Color3.new(1, 1, 1)

errant river
twilit garden
#

Now?

errant river
#

or am I missing something

static coral
#

you are getting distance from start to the control point and then getting the % it is of the total length of path

errant river
#

ok, but then wouldnt the distance from the start to control point be a straight line?

uneven jolt
#

I currently have a system for Cooldowns that creates a new NumberValue instance, would it be more efficient to make it a tween that plays, or make it decrease every frame by the delta time?

twilit garden
#

I FIXED IT

#

IT WORKS

#

WITH CHAT

static coral
#

there is built in func with path2d to get that i think

errant river
#

my path is this

#

red is the control points

static coral
errant river
#

I need to get how far down the path a control point is

#

so like the top one is control point #1, which is 0% down the path

#

the middle one #3 is 50% down the path

#

the last one #5 is 100% down the path

static coral
#

i think just check path2d methods

errant river
#

I have :/

static coral
#

dang

errant river
#

they are all either getting the udim2 position with t

#

but no way of getting t from a control point

#

I guess i'll have to hard code in a best guess

#

they're mostly even

static coral
#

search up maybe how to find position/fraction of a curved line

#

there is probably some math to account for the tangents

#

but idk

errant river
#

yeah I guess maybe with a lot of math, guess its probably easier/less expensive to just roughly guess

#

was just hoping for a more elegent solution lol

#

well thanks for your help

#

actually coming to think about it I dont think I need path2d :/

#

just a lot of trig

silent lynx
maiden thicket
deft patio
#

The ontological dissonance between posthumanist theory and neomaterialist epistemology intersects with quantum ontology and speculative realism to produce an epistemic displacement wherein causality becomes fragmented, representational paradigms collapse under the weight of nonlinear temporalities, and agency is reconfigured through distributed, non-human actor-networks shaped by the entanglement of affect, matter, and semiotic emergence.

charred ledge
#

What’s the current game trend

ruby iron
somber vault
#

yo how tf do I learn scripting? I've master variables and if statements, print statements, and then I try to take one more step up to tables and datastores but both just collapse. How can i take the next level?

small fractal
#

i learnt most of the basics and i have a good of understanding of how things like locals functions work but when i start to code my mind just goes clueless

#

almost like idk what to start writing

chilly canyon
#

Actually there's an open source code for that

craggy niche
#

anyone got tips for making a good portfolio

plush tulip
somber vault
#

Hello I want to learn to script to start earning robux how much time of experience do I Need to earn like 20-30k robux

somber vault
#

fr?

glossy pivot
soft vault
somber vault
#

i understand how functions work

glossy pivot
somber vault
#

i had a task of getting 3 pads, and when the player touches all 3 of them, you print their user

#

and GPT said to use tables so I used documentation and i still couldn't figure it out

errant river
somber vault
#

and this AI done told me its too hard

plush tulip
somber vault
errant river
#

learn that

somber vault
plush tulip
#

it really only takes a couple of months to understand lua and build it

errant river
#

thats like the biggest point of functions

#

then a lot of stuff should make more sense

somber vault
#

ty

soft vault
somber vault
#

also I heard that this server has hella toxic ppl in it but yall are chill

#

I know the datatypes bro

soft vault
#

tables

somber vault
#

okay, i'll learn that too

#

aren't conditions like if

rugged kiln
#

Smn can help on coding AOT titans ?

plush tulip
#

you can easily learn functions, for loops, variables, and remote events / functions, and or events in a day if not a week depending on how in-depth you want, functions literally just store code to be called for later, help w memory handling.

somber vault
#

i know how to do if, combined with or, no, and

#

i know for loops to an extent, still need to expand

plush tulip
#

learn tables, if and or conditions, etc

somber vault
#

I know variables but I don't know if theres more

somber vault
#

tables and return are my next goals

soft vault
#

tables are essential for when ur doing things with lots of objects

errant river
#

functions with returning values, then go into tables, then module scripts

soft vault
#

tables are like a list of items basically

somber vault
#

okay, i'll do that

#

lemme write that down\

errant river
#

if your really wanting a hard challenge you could look into metatables, but I wouldn't reccomend it for a beginner

plush tulip
#

return is pretty simplistic to understand, just returns a value to be called in a function etc

somber vault
plush tulip
#

like data store 2's arent really needed either

errant river
plush tulip
#

some code isn't rlly meant to be learned unless you're doing advanced games that involve like lerping, path finding, bullet tracing, and or complex math

somber vault
#

?

errant river
somber vault
#

alr bet

plush tulip
#

i would say meta tables aren't useful for learning in general but that's js me, if you got everything down and wanna learn something like you said then yes but you'll never really use em imo 🤷‍♂️

plush tulip
#

literally best idea is this for some of yall who are just beginning

#

"like i told the other dude, use chat gpt to generate an idea, and learn from what it tells you to make, for instance, a rewards system that gives a player something for getting a certain amount of cash, whether that be bonus cash or a quest system where it generates a new one out of a possible amount, or whether it be like it gives a pet or something, but just learn from doing certain things, you'll utilize functions, module scripts, .Clicked events, Remote Events, server and client sided handling, variables, and for loops, as well as a basic idea of data stores, which imo are the hardest to truly master depending on whaty you want"

somber vault
#

okay wait guys tell me if im wrong

#

return is the thing where you total up your function, bring your code together basically in a basket, and then take that out. Kind of like a wallet, the code could be ur credit card, debit card, cash, and other things. The return would be the total cash that you have, what it all adds up to. And then using return, you can implement that function effectively

soft vault
#

ngl you wont learn with context clues by chatting here, go watch yt vid on tables and execute some code

plush tulip
#

yt videos aren't rlly useful

#

learn by doing, make an idea, try it urself, when you get stuck, ask for help, understand why the code works, don't memorize things, but understand how to recall it.

soft vault
somber vault
somber vault
soft vault
#

but if you want to become good at scripting because of da passion then do it

somber vault
somber vault
errant river
#

years

somber vault
#

I think expert Is OOP, parallel lua and I don't remember anything else rn. Correct me if I'm wrong

somber vault
soft vault
#

i am 3 yrs dev and i dont understand a lot yet, like metatables and stuff, time and experience and understanding is da only way to actually code modular and effecient, so like 5 years min to become expert

errant river
#

coding isnt something you get good at overnight

errant river
#

you dont

soft vault
#

;-;

somber vault
#

I do

#

Actually

soft vault
errant river
#

no, you dont

placid bison
somber vault
#

How would you possibly know

#

I took real Life tests

soft vault
somber vault
plush tulip
# somber vault return is the thing where you total up your function, bring your code together b...

this isn't needed at all, literally all return is in a function is returns a value given that is passed through the parameters of the function (ex: function hi(name) ) --[[ Name is the parameter ]]-- and you return the name and call the function with it, you use it when you want the function to give back a result, for instance, if I have

function data(x)
    print(x+1)
    -- normally if you just call the function you wouldn't be able to callback the function because you don't have a return so if I call this for instance: (seen below)
end

data(5) -- this would print 6

-- now the question is why don't we just use print, what is return needed for? the main thing is return allows the computer to keep using the data, and print is a debugging call, so although they look similar they're very different, for instance, in the first code, if we were to call this

local dataSaved = data(5)
print(dataSaved) -- nil

-- however, if we do this

function data(x)
    return x + 1
end

local dataSaved = data(5)
print(dataSaved) -- 6 

-- you can use returns to call data later that you otherwise wouldn't be able to in a print statement, this could be useful for a lot of things, especially data stores as you can recall the data later when you return it on the GetAsync, as it returns a value to the server to be checked
placid bison
somber vault
soft vault
#

nope

#

they are like lua classes

somber vault
#

Unless you're talking about __index then it's OOP

torpid dirge
plush tulip
#

tl;dr, return allows you call a value later on in your code when needed.

plush tulip
errant river
somber vault
#

My teacher told me that

#

But how can you be scripting for 3 years and not know thst

#

There's no way

soft vault
#

i didnt have a requirement to learn it so i didnt, i was busy making "side projects"

plush tulip
#

metatables allow you to define special behaviors for other tables is basically all it is

somber vault
#

I mean isn't the main purpose of metatables in roblox to mimic OOP

#

It should be a priority

#

Since everyone wants OOP for code organization and ease of under standing and adding stuff

errant river
#

the main purpose for metatables is to add additional functionaility to regular tables

somber vault
#

I know

#

that

soft vault
#

lua classes are good but not needed normally

errant river
#

its up to personal preference really

plush tulip
#

metatables are dope lowk

somber vault
#

Ok well now that I got some information I want to ask

soft vault
somber vault
#

How many projects do I Need in my portfolio like some projects that come in mind now are: egg hatching system, gun system, combat system, Building system and so on. For me to be able to apply for commissions that span between 20-50k robux

plush tulip
#

the thing is you really don't need a portfolio, when you feel confident in your ability to make a game without learning along the way the basics and or ideas of a game, then you should step foot into development,

#

dawg

#

metatables are insane

#

literally a dream come true for someone who makes a simulator game

#

😭 , this is insane

grizzled palm
#

What's the game called

grizzled palm
next knoll
#

Hey anyone looking for a wuick job on an obby?

rugged kiln
#

Hiring a scripter for titans

grizzled palm
#

Bro better be paying maximum 1k or more us dollars a month or we getting scammed

plush tulip
#

i’m fairly new to metatables having not really worked with them much but it allows for so much more to be done with tables and manipulations, as well as way cleaner code

opaque linden
#

Modeling coding or building

proud idol
sacred glade
#

does anybody know how to make a code so they when you click a gui it makes it so you are on a team that you chose

proud idol
placid matrix
#

mf is not a man

proud idol
#

Obv theres the utilities to using metatables, but to make a game you dont need to use em

limpid crown
#

I am so lost about scope and ruturning does anyone have any tips?

grizzled palm
#

Just ask chat get at this point ngl

proud idol
unkempt harness
#

i wanna learn how to script on roblox but i dont know where to start

abstract dagger
#

youtube

#

google

polar furnace
#

Somebody give me a task to do in roblox studio (scripter)

plush zenith
#

pop quiz: difference between reliable and unreliable remote events?

somber vault
#

How do I prevent people from exploiting in my flappy bird inspired game. When I make the planeMovement and obstaclesSpawner scripts server sided they’re so laggy and low fps movement but secure but when I make them local script it will be smooth be very easy to exploit in my game. WHAT DO I DO😭😭😭

proud idol
wise meadow
proud idol
mint cloud
oblique epoch
#

guys any specific free guides / yt channels that are good to learn scripting?

wise meadow
wise meadow
thin moat
#
local cs = game:GetService("CollectionService")

local db = false

for _, v in cs:GetTagged("Ragdoll") do
    v.Touched:Connect(function(hit)
        if hit.Parent:FindFirstChild("Humanoid") and db == false then
            db = true
            local char = hit.Parent
            local riggedChar = ragdoll:SetupRagdoll(char,true)

            riggedChar.Ragdoll()
        end
    end)
end```
how can i get rid of the ragdoll effect after an amount of seconds has passed
proud idol
wise meadow
wise meadow
# thin moat ```local ragdoll = require(game.ReplicatedStorage.Modules:WaitForChild("RagdollC...
local ragdoll = require(game.ReplicatedStorage.Modules:WaitForChild("RagdollCharacterV1"))
local cs = game:GetService("CollectionService")

local db = false

for _, v in cs:GetTagged("Ragdoll") do
    v.Touched:Connect(function(hit)
        if hit.Parent:FindFirstChild("Humanoid") and not db then
            db = true
            local char = hit.Parent
            local riggedChar = ragdoll:SetupRagdoll(char, true)

            riggedChar:Ragdoll()

            -- Wait for 5 seconds, then remove the ragdoll effect, this is what you need to add
            task.spawn(function()
                task.wait(5) -- This is where you adjust the time to wait <<
                if riggedChar then
                    riggedChar:Unragdoll() -- I am assuming Unragdoll exists... check your module :)
                    -- Alternatively, use riggedChar:Destroy() if the module supports it :))
                end
                db = false -- Reset debounce
            end)
        end
    end)
end
wise meadow
#

Anyone need a scripter? dm me

woeful sorrel
woeful sorrel
wise meadow
#

i can make it so they can go in a direction you look

wide sparrow
wise meadow
woeful sorrel
wise meadow
woeful sorrel
#

other hood games r like everyone trying to kill each other

wise meadow
fathom sundial
#

Dominic getting them partnerships

#

on the grind

wise meadow
#

Im making a FiveM style game

woeful sorrel
wise meadow
#

Bouta work on a system for House Building here soon

woeful sorrel
#

this is my map rn

wise meadow
#

Imma do it sims style, you buy a plot of land, then u go from there

wise meadow
proud idol
fathom sundial
#

its probably a lot bigger looking when ur in the game

#

hes zoomed out a lot

woeful sorrel
#

I may expand it more

proud idol
#

Yes thats what we call perspective

woeful sorrel
#

a lot of those hood games get to complicating map wise and people just leave

#

mine is simpler

wise meadow
woeful sorrel
#

I like the terrain work

wise meadow
#

this honestly my favorite part of my building stuff rn lmao

fathom sundial
wise meadow
fathom sundial
#

Thats tuff ngl

woeful sorrel
fathom sundial
#

the ui could look a lil better but i like it

wise meadow
#

Im not tryna make it too crazy lol

woeful sorrel
wise meadow
#

its roblox

#

not FiveM lol xD

woeful sorrel
#

Look at my UI 😭

#

i need to hire a UI designer

wise meadow
fathom sundial
#

it looks a lot less awkward

wise meadow
#

Bunch of stuff lol

#

I got alot more, especially for other games

#

like Gmod, but we aint gonna get into all that

#

Anywayss, im off to bed, see yall chatters tmw chat. Dm if you need any dev work done ❤️

fiery heron
#

Can someone explain to me how to get the new Plugging for MCP for Roblox Studio???

weak monolith
#

Anyone know how to make a first person script like Pressure?

shrewd python
#

can someone explain to me why this does not works

local player = players.LocalPlayer


local textIndicator = script.Parent


players.PlayerAdded:Connect(function(plr)
    plr.CharacterAdded:Connect(function(char)
        local humanoid = char:WaitForChild("Humanoid")
        local WalkspeedN = humanoid:WaitForChild("WalkSpeed")
        humanoid:GetPropertyChangedSignal("WalkSpeed"):Connect(function()
            textIndicator.Text = humanoid.WalkSpeed
        end)
            end)
end)```
fiery heron
fleet siren
torpid dirge
serene oasis
#

How much do you think obby leaderboard system + obby trolling features would cost

#

As a scripter

wise meadow
#

$50-100 max depending on quality

serene oasis
#

Alrighty

copper jay
#

is it possible to insert a new table into an already existing table, and have a custom name for the new table? i am trying to do that atm and it just names itself [1] instead of my generated [XXX-XXX-XXX] key

twin loom
wise meadow
# copper jay is it possible to insert a new table into an already existing table, and have a ...
-- Example existing table
local mainTable = {}

-- Your custom key (e.g., generated XXX-XXX-XXX)
local customKey = "123-456-789"

-- Create a new table
local newTable = {
    -- Your data here
    key1 = "value1",
    key2 = "value2"
}

-- Insert the new table into the main table with the custom key
mainTable[customKey] = newTable

-- Print the result to verify
print(mainTable[customKey]) -- Should print the newTable
#

something like this?

copper jay
#

thank you

wise meadow
plush tulip
wise meadow
plush tulip
wise meadow
#

Depends on how they want the leaderboard and what trolling features they want

plush tulip
#

true

wise meadow
#

sure, ill make a good quality leaderboard and some troll features for $20 that are all good quality

#

but if u want actual fire stuff

#

im charging more

#

So once again, as said depends on quality

#

cause, if u just want a copy paste of the best obbys

#

then sure thats easy cause their lb's and trolling features are meh

plush tulip
#

tbh i think 10 bucks for a decently made system that does the job is enough imo, espeically bc the code isn't the hard part lol

plush tulip
plush tulip
#

for instance if i walk, and then stop it wont actually do anything because you didn't update the speed specifically.

#

the code looks fine, however i would run a function instead of a playerAdded event

shrewd python
#

the script is working, I figured it out. thanks though

plush tulip
#

anytime

woeful sorrel
regal geyser
hexed plank
#

What would yall say is the best way of tweening your whole UI the same tween. Just a bunch of for loops, setting attributes, tagging, or some other way?

mint cloud
hexed cedar
#

Chat kinda dead

hardy pilot
weak radish
celest cipher
#

my dumbass keeps using localscripts and scripts instead of learning remote events and stuff, anything i should know/learn abt remote events?

#

HELP MEEEEE

light beacon
celest cipher
#

like teach me all the mechanics

#

like what is fireserver and can it only be run in local scripts?

#

fire all clients

light beacon
#

wdym by mechanics its just sending client info to server or server info to client

celest cipher
#

etc etc

light beacon
#

fireserver can only be fired in local scripts bc u want the client to fire to the server

#

fireallclients will fire it to every client

#

ppl use that to show vfx

#

since having the vfx on server side will cause performacne issue

celest cipher
#

only fireserver

#

on my local script

light beacon
#

you need to use .

#

blah.onserverevent:connect(function()

celest cipher
#

oh yeah

light beacon
#

but u wont see onserverevent on a loxal script

#

since local scripts can only be ran through tje client

celest cipher
#

also

#

@light beacon

#

what are the brackets for

#

like fireserver()

light beacon
#

parameters

#

so thats how u transfer ur info to the server or client

#

i would watch a yt video on this

celest cipher
#

fireserver(variable that has string value)

#

@light beacon

#

then

#

onserverevent(same variable)

light beacon
#

can be anything but yeah

celest cipher
#

print(variable)

#

does that work

light beacon
#

yes

#

but onserverevent the first parameter will be player

celest cipher
light beacon
#

then the rest are what u fire to trhe server

celest cipher
#

is it like for things like ui

light beacon
#

no its bc your firing to the server thru the local script so the first parameter on onserverefent will be the player who fired it to the server

#

for instacne u do fireserver(print)

celest cipher
#

Unknown Global "Player"

light beacon
#

on serverside u will do onserverevent:connect(function(plr, print)

celest cipher
#

when i put the first parameter as player

light beacon
#

?

#

dont put it in fireserver

celest cipher
#

why is ts not printing

#

@light beacon

light beacon
#

bc string1 means nothing

#

string1 will be represented by first parameter u put in fileserver()

celest cipher
light beacon
#

what r u putting in there

celest cipher
light beacon
#

rs.Print is a remote event right?

#

and ur doing onserverevent witj a server script

celest cipher
#

replicatedstorage.Print (remote event path)

light beacon
#

just watch a yt video theres something wrong with ur script if it isnt printjnf

stuck radish
celest cipher
stuck radish
#

💀

celest cipher
#

ion know where to put it lol

#

i aint making a fucking screengui

#

😭

stuck radish
celest cipher
#

js didnt know it had to be in a path associated with local script

peak jolt
#

it can be in like workspace if you use a normal script and set its RunContext to Client

#

not sure at all about serverscriptservice to be honest

karmic pumice
wintry zephyr
shrewd python
#

if I want to use Orientation, do I use CFrame?

silk sky
#

💔

peak jolt
wintry zephyr
#

The more i look

shrewd python
#

ah okay, I want the knockback to go forward what the HumanoidRoot front part is heading, how can I do that?

            force.MaxForce = Vector3.new(14, 14, 14) * math.huge
            local direction = (eHumanRootPart.CFrame.Position - plrHumanRootPart.CFrame.Position).Unit        
            force.Velocity = (direction + Vector3.new(0,1,0)).Unit * Power.Value```
#

and so I thought changing from Position to Orientation would solve it, but it didn't

peak jolt
#

what is it doing right now?

shrewd python
#

the script plays upon the tool being activated and when it detect a touched player during it, it create forces, causing knockback, but the problem is that the knockback is basing on where the tool is facing especially during animation

#

I'll provide a video

#

this is what the script does, what I actually want is the dummy being ragdolled based on where my character is facing toward

karmic pumice
cobalt marlin
shrewd python
#

I've tried but it did not go in the direction I wanted it to be, It instead went backward

cobalt marlin
glacial juniper
#

how would I go about equipping an aura like this?

#

i need the VFX part to be cloned and then attached to the player

shrewd python
drifting iron
shrewd python
drifting iron
#

looks a bit weird to me

#

but if it works

#

it works

lost pebble
glacial juniper
lost pebble
#

it has to be connected to your hrp. simply moving it to your model doesnt do that. it probably uses a WeldConstraint or Motor6D. but it doesnt really matter which constraint is used. as long as it's appropriate and gets the job done

glacial juniper
#

so how should I do it?

lost pebble
#

use a constraint and attach it to your hrp. there's probably one already in there. ethier change the properties for it to be attached to your hrp, or delete it and make a new one

polar furnace
#

Somebody give me a task to do in roblox studio (scripter)

zenith jewel
sharp arrow
#

anyone got a image id for a image button of a gamepass shop?

oblique epoch
#

who wanna make a steal time game rq i can make every single sword & the ui and death effct vfx u just needa script

somber vault
#

Anyone who have actual tip on how to learn scripting the fastest way and learn how scripting works

fallen iron
#

is somebody here how can hack an insta account ( i have user name + email + telfeon number )

somber vault
#

Gonna report this ngl

fallen iron
#

yeah i fortgot my pass

#

!

#

!

somber vault
#

Cap lol

fallen iron
#

bro i show you a pic 🤣

ocean yacht
#

dm to make a game i already have the idea ( u must script ) i do modelling ui (deatheffect scripting) and some vfx

zenith holly
#

ragdolls these days

#

dammit

#

i mean data these days

#

its gotten so much features that as a beginner to data

#

idek what to be saving

slender yew
#

whats the coding language with the most potential use?

slender yew
#

use profile service

slender yew
#

fr

somber vault
somber vault
slender yew
somber vault
#

But for sm reason I couldn't install tensorflow, idk why

#

;-; so I have to do it the hard way

slender yew
gray maple
lethal elbow
#

DM me if you are an advanced scripter with a lot of time on your hands, the pay will be worth it

weak radish
#

I swear half of #scripter-hiring is just people wanting to copy grow a garden now

weak radish
proud idol
#

The problem is that 90% of the people dont know how to design good games dogkek

weak radish
weak radish
#

There's a game called tank rails (copy of dead rails) it's pretty bad basic but still got popular, but there are other games where they don't put in any effort and just make a worst copy of the original, adding nothing of value

proud idol
#

But again that requires ppl knowing how to design games

weak radish
#

Obviously it wouldn't have all features and designs but a basic one would still probably be good

sinful hearth
#

I'm really bored i can't even make a simple tycoon mechanic with chatgpt

#

I know modeling because of my job, but coding is very difficult and I have no knowledge.

somber vault
#

what do we think of youtube tutorials guys?

somber vault
#

Yeah like I said, it's good only cuz it's well established in most fields, if you are into system level optimizations and stuff, yk then py is not your stop :>

#

I think I like py cuz it doesn't distract me towards stuff which will just slow down my progress of making the thing, I mean yeah you have gunslinger (c framework) for yk weird core digital art and stuff, but I think manim (py module) is more approachable without using too much braincells

ocean yacht
#

dm if u script and wanna do a steal time game (i can do anything else making map modelling swords and userinterface)

somber vault
ocean yacht
#

dm if u script and wanna do a steal time game (i can do anything else making map modelling swords and userinterface)

somber vault
#

Based

ocean yacht
wintry zephyr
#

90% me 10% u

#

which is a no

ocean yacht
wintry zephyr
wise meadow
fossil salmon
static coral
# fossil salmon

i think only by changing water color or making custom water or changing lighting settings

fleet carbon
#

lol
I wanted to see if chatGPT knew how to find out why the cylinder handle adornment's CFrame value doesn't give a position
bro was flabbergasted by his own answers and gave up 😂

#

all he had to do was tell me I didn't change the get()[1] to 2

ocean yacht
#

who wanna make a sword fighting game (r6)

sullen echo
#

LE POLICIAI

#

LE POLICIA

low magnet
#

Python is not a good place to make games

summer scarab
#

So it is kinda

plush tulip
low magnet
summer scarab
low magnet
#

What game do you want to do

summer scarab
#

Simple shit yk

summer scarab
plush tulip
#

and i’m new ish to metatables so

summer scarab
plush tulip
# summer scarab Understandable

it gave me the best answer it could have tho, metatables shouldn’t be used for large amount of players at once, but for a specific player on a specific thing

pulsar acorn
plush tulip
#

im worried about the future of AI

#

it's already got the capability of making full end modules for software development, let alone handling the most complex calculus problems if not being able to solve problems humans are never able to solve.

pulsar acorn
plush tulip
#

it's actually scare

gleaming gull
plush tulip
#

yeah, i do genuinely think that any coding position could be wiped in the next 10 years, even more so, i think that to make a game all you have to do is say "hey make an entire game for me" and it makes an entire game :/

static coral
#

overall you will probably never use it

#

and it uses a lot more memory so maybe dont use it unless you absolutely have to

weak radish
plush tulip
#

game development is so dumb tho, like in order to even start scripting i have to make UI, buildings etc 😭

gleaming gull
#

is your point

#

You don't create a metatable for no reason.

#

But I'm saying why would it be so bad for many players?

#

It wouldn't necessarily.

static coral
#

????

#

it would not necessarily be bad with many players

#

it depends how you use it

#

and for what

gleaming gull
static coral
#

but optimization is important

#

and also 90% of roblox is mobile kids

#

so

gleaming gull
#

Although I know metatables are slower.

static coral
#

yeah so they are objectively worse to use

gleaming gull
static coral
#

there is no real reason to use them aside from the one exception maybe one day

gleaming gull
gleaming gull
#

They are extremely useful for classes, as they allow you to avoid having to create a new table every object creation.

static coral
#

you are creating a new table every time you create an object anyway????

#

thats how oop works

#

atleast on roblox

gleaming gull
#

That's right, but if you have to define all the keys (methods) every time, versus simply linking a metatable, the performance difference can be big.

static coral
#

that will slow down the methods though. and metatables also arent serialized

static coral
gleaming gull
static coral
gleaming gull
static coral
#

replication

gleaming gull
gleaming gull
#

You send normal damn data

static coral
gleaming gull
static coral
#

replicating towers in tower defense game

gleaming gull
static coral
#

basically anything you can think of

gleaming gull
#

You never want to send a literal class like that

#

You simply sent data 😭

#

Information

#

I'm gonna leave it at that.

static coral
#

agree to disagree

mint cloud
#

Odd that when people say they agree to disagree they are disagreeing to agree

formal rose
#

starting to learn scripting, how quickly do you think im gonna quit?

mint cloud
#

3 hours

glass garden
glass garden
#

You need to build a way to serialize/deserialize your object so you can efficiently send it over the wire and reconstruct it

#

Or save it at rest

glass garden
static coral
#

👍

formal rose
mint cloud
#

Beat that

wind wagon
pulsar acorn
#

is anyone a new dev here and want to make a game project with me to learn?

pulsar acorn
heavy sleet
#

oh cool its sleitnick

solemn root
#

guys how do i acces the more plugins in roblox studio wit the new layout

odd copper
#

Someone knows a good video or site where I could find this:

I want to make it so players can only press "A" or "D", pressing "W" or "S" will not do anything.

formal rose
mint cloud
pulsar acorn
#

i forgot the name of it

#

ActionService

#

i think

odd copper
chilly canyon
#

ContextActionService

full island
#

is it better performance wise to set an attribute to a player's player instance or create a player class with module scripts for every player and put the value there instead of as an attribute?

formal rose
celest cipher
#

HELP ME I MESSED UP A SCRIPT AND NOW MY ENTIRE GAMES BROKEN HOW TF DO I GO BACK

icy dew
#

Version history

celest cipher
#

it was actually bc my datastore locked on to me having -18282 clicks

charred ledge
#

Guys this red thing is supposed to spin and I have this script on the part but it won’t spin and kill people what’s wrong with it

chilly canyon
ruby iron
#

but it depends on what you're making

charred ledge
#

Who can help me get my Roblox script to work it’s simple but I’m shit at scripting

ruby iron
#

pvp game? I would make a module script. But anything that doesn't need instant feedback you can just use attributes

plush tulip
#

you can change math.rad(2) to 1- whatever number you want, if you do like 1000 it's literally like impossible and itll prob die

charred ledge
#

Ty

plush tulip
# charred ledge Ty

if you want a smoother transition for it do this,

this is also more reliable for handling per say

local runService = game:GetService("RunService")
local rotationSpeed = 3

runService.Heartbeat:Connect(function(deltaTime)
    local rotation = CFrame.Angles(0, math.rad(rotationSpeed - deltaTime), 0)
    script.Parent.CFrame = script.Parent.CFrame * rotation
    wait(1)
end)
script.Parent.Touched:Connect(function(hit)

    if hit.Parent then
        local humanoid  = hit.Parent:WaitForChild("Humanoid")
        if humanoid.Health ~= 0 then
            humanoid.Health = 0
        end
    end

end)

royal ibex
#

I hate luau

chilly canyon
#

and yet you're a luau developer

hearty hinge
#

Who makes realistic game around here

#

Like bruh

royal ibex
#

Just from adding one part

chilly canyon
hearty hinge
#

So nobody in here can’t make a related game

#

Realistic

royal ibex
#

I ain’t frying my pc

lost pebble
proud idol
#

You completly ignore physics engine

#

And thus the touched event wont fire

#

You have to use hinge constraints to get the bar to rotate with physics engine@charred ledge

plush tulip
plush tulip
#

obv you can go in depth with physics and the service

proud idol
#

Touched event is triggered via physics engine

bleak glade
proud idol
#

If you have a moving part with CFrame, touched event becomes unreliable

#

Which means sometimes it wont register

lost pebble
proud idol
#

Doesnt happen with HingeConstraints as those rotate using the physics engine

#

And thus touched event is reliably triggered

full island
proud idol
#

Both are methods that get the job done

#

Just different workflows

full island
#

oh ok thank you

shrewd python
#

how does LinearVelocity works?

proud idol
#

Velocity direction and magnitude depend on the vector u set

shrewd python
#

I was told that bodyvelocity were deprecated and I had to use a different one, and when I do, my knockback barely does anything.

proud idol
#

Thats like the simplest way to explain it

proud idol
#

And if needed

shrewd python
#

it's set to inf already

proud idol
#

Increase MaxForce

proud idol
#

U can also set the part as massless

#

So gravity doesnt affect it

shrewd python
#

okay

proud idol
#

Also if u want to have an identical behaviour to bodyvelocity

#

Make sure u set its mode to one attachment

shrewd python
#

got it, thank you!

austere gust
#

what proxy service is everyone using? roproxy seems to have stopped working for some people

pliant spruce
#

how to fix scaling

proud idol
pliant spruce
#

sorry let me look

#

where do i check "screen size" i am using a billboard gui if it helps

pliant spruce
#

this "0-0" represents like a win loss ratio, so i need an ui board under each player that displays taht

proud idol
#

So for billboardgui to have consistent scaling you have to use the scale units in the udim2

#

Both in billboard size and ur gui elements

pliant spruce
proud idol
heavy sleet
#

chat get wiped or smth

#

nvm

#

dw

proud idol
# pliant spruce ohh

In properties window they are represented like this

{X_Scale,X_Offset},{Y_Scale,Y_Offset}
pliant spruce
#

ohhh ive seen that before

#

Wait is that this?,

proud idol
#

Billboard gui also has that

pliant spruce
#

they are both set in UDim2 then, do they have to be the same

proud idol
#

Not the gui inside of it

#

The billboard instance itself

pliant spruce
#

meanwhile text lable and image label are x1 o1 and y1 o1

proud idol
#

Its set up correctly

pliant spruce
#

its not the billboard Ui that scales, its the text that scales

proud idol
#

Try setting the text to rich text

#

Cause normal text has size limit of 100

pliant spruce
proud idol
pliant spruce
#

Size offset?

#

size offset?

#

i thought using offset does accomidate for resolutions?

pliant spruce
#

what should i change size offset to

proud idol
#

You have to toy in with the number

#

See which one ot suits better

pliant spruce
#

ohh, but how would setting billboard offset stop TEXTLABEL from scaling

#

is there a way i can set some type of anchor point for text labels

proud idol
#

The billboard and everything else scales according to screensize

#

But textlabel text size scales according to its size as well

#

However it has a size limit

#

If u zoom in close enough, text label reaches the text size limit which in turn it will no longer scale bigger

#

Is why i suggested u to enable rich text bc that doesnt have size limit

#

But seeing u say it didnt work then i suggested to use size offset so u can prevent the billboard from becoming too big if u the camera zooms in enough

pliant spruce
#

the billboard doesnt move to, its good

#

just the text that getst bigger when i zoom ot

#

when i truly need it to be this size

#

(thats when i got closer)

proud idol
#

If u need the text size to be small

#

(Which not sure why u wanna do that cause that will make the billboard hard to read the farther u go)

pliant spruce
#

ima make it where ui breaks after a certain distance, because i dont want the ui visible accross the map

rapid spear
#

this is going to sound so silly, but can modulescripts print?

pliant spruce
#

fixed it.. Enabling TextScaled makes it stay still

proud idol
proud idol
pliant spruce
#

No 😭

proud idol
#

Theres not a single time i dont have that option enabled lmao

pliant spruce
#

i was looking through properties and i was like bruh theres no way this wasnt enabled, and it worked

rapid spear
pliant spruce
#

thanks for the help tho i learned sum

#

So NOW, i gotta connect textlable to leaderstats so 0-0 which represents nil to update as leaderstats updates. They probably have something on youtube for that considering its probably simple

proud idol
pliant spruce
#

like

gloomy kettle
#

Who can work for usd?

paper knot
gloomy kettle
#

350- 600 USD

balmy thunder
#

.

#

can someone afk in my game?

#

or try out gamepasses

tidal nova
#

can anyone help me, in my game

misty flume
#

can anyone help with tweening a scrollingframe? i cant get it too work?

misty flume
near vine
#

first real project mainly using OOP 🥰🥰

#

what a beautiful sight

crisp path
#

or you can do it without scrolling enabled

misty flume
#

let me try it

misty flume
crisp path
#

ye

balmy thunder
#

get*

misty flume
balmy thunder
#

bro ur literlly called sonic kid

#

wdym by this emoji @crisp path

#

.

misty flume
crisp path
misty flume
#

alr

crisp path
#

what are you trying to do exactly

misty flume
#
local TweenService = game:GetService("TweenService")
local Players = game:GetService("Players")
local Lighting = game:GetService("Lighting")
local Camera = workspace.CurrentCamera

local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")

--// CONFIGURATION
local SETTINGS = {
    FOVChange = 30,
    BlurSize = 24,
    ScaleDuration = 1,
    EasingStyle = Enum.EasingStyle.Quad,
    EasingDirection = Enum.EasingDirection.Out,
    TargetSize = UDim2.new(1,0,1,0)
}


local blur = Instance.new("BlurEffect")
blur.Size = 0
blur.Name = "UIBlur"


local Sections = {
    ["Frame"] = playerGui:WaitForChild("MainUI"):WaitForChild("Shop"):WaitForChild("Frame"),
}

local originalFOV = Camera.FieldOfView

local function scaleFrame(frame, isIn)
    local tweenInfo = TweenInfo.new(
        SETTINGS.ScaleDuration,
        SETTINGS.EasingStyle,
        SETTINGS.EasingDirection
    )

    local targetSize = isIn and SETTINGS.TargetSize or UDim2.new(0, 0, 0, 0)

    if isIn then
        frame.Visible = true
    end

    local tween = TweenService:Create(frame, tweenInfo, {Size = targetSize})
    tween:Play()

    if not isIn then
        tween.Completed:Connect(function()
            frame.Visible = false
        end)
    end
end

local function animateFOV(isIn)
    TweenService:Create(
        Camera,
        TweenInfo.new(SETTINGS.ScaleDuration),
        {FieldOfView = isIn and (originalFOV - SETTINGS.FOVChange) or originalFOV}
    ):Play()
end

local function animateBlur(isIn)
    if isIn and not blur.Parent then
        blur.Parent = Lighting
    elseif not isIn and blur.Parent then
        TweenService:Create(blur, TweenInfo.new(SETTINGS.ScaleDuration), {Size = 0}):Play()
        task.delay(SETTINGS.ScaleDuration, function()
            if blur.Parent then blur.Parent = nil end
        end)
    end

    TweenService:Create(
        blur,
        TweenInfo.new(SETTINGS.ScaleDuration),
        {Size = isIn and SETTINGS.BlurSize or 0}
    ):Play()
end

for _, frame in pairs(Sections) do
    frame.Size = UDim2.new(0, 0, 0, 0)

    frame:GetPropertyChangedSignal("Visible"):Connect(function()
        if frame.Visible then
            scaleFrame(frame, true)
            animateFOV(true)
            animateBlur(true)
        else
            scaleFrame(frame, false)
            animateFOV(false)
            animateBlur(false)
        end
    end)
end```
misty flume
pliant spruce
#

how do i connect the text labels in my billboard gui, to my leaderstats. When i use the panel to change leaderstats, how do i make text label change with it. e ; g, Wins and Losses

placid matrix
pliant spruce
celest cipher
#

how tf do i find humnanoid

#

im new

pliant spruce
#

Humanoid is like part of the person

misty flume
placid matrix
pliant spruce
celest cipher
pliant spruce
#

ima check sum yt vids

gray maple
placid matrix
celest cipher
#

doesn t work

#

its supposed to print "fired"

#

b4 it fires server

crisp path
gray maple
#

not FireClient

#

is that even server or client

crisp path
#

also add it to the sections table

misty flume
crisp path
#

js do it on the client

celest cipher
celest cipher
surreal sky
#

Hey I just learnt scripting(including oop and module frameworks I would say am an intermmidiate but I rly don't know what to do know what do y'all recommend I do

misty flume
# pliant spruce how do i connect the text labels in my billboard gui, to my leaderstats. When i ...
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local Wins = player:WaitForChild("leaderstats"):WaitForChild("Wins")
local Losses = player:WaitForChild("leaderstats"):WaitForChild("Losses")
local Label = script.Parent

local function updateLabel()
  Label.Text = Wins.Value .. "-" .. Losses.Value
end

Wins.Changed:Connect(updateLabel)
Losses.Changed:Connect(updateLabel)

I think thats what it would be

crisp path
#

🥄

slender mantle
# celest cipher how tf do i find humnanoid

how tf can i make this into a gui with a collect button

local DataStoreService = game:GetService("DataStoreService")

local dailyStore = DataStoreService:GetDataStore("DailyRewards")
local coinStore = DataStoreService:GetDataStore("Runecoins")

local time = 86400

function giveReward(plr)
    plr.leaderstats.Runecoins.Value += 100
    coinStore:IncrementAsync(plr.UserId, 100)
    
    dailyStore:SetAsync(plr.UserId, os.time())
end

function loadLeaderstats(plr)
    local leaderstats = Instance.new("Folder")
    leaderstats.Name = "leaderstats"
    leaderstats.Parent = plr

    local Runecoins = Instance.new("IntValue")
    Runecoins.Name = "Runecoins"
    Runecoins.Value = coinStore:GetAsync(plr.UserId) or 0
    Runecoins.Parent = leaderstats
end

game.Players.PlayerAdded:Connect(function(plr)
    loadLeaderstats(plr)
    
    local lastJoin = dailyStore:GetAsync(plr.UserId)
    
    if not lastJoin then
        giveReward(plr)
    else
        local diffTime = math.abs(os.difftime(os.time(),lastJoin))
        
        if diffTime >= time then
            giveReward(plr)
        end
    end
end)
crisp path
#

remote events

slender mantle
#

idk how to do that

crisp path
#

google

#

roblox docs

slender mantle
#

ok

celest cipher
#

how do i fix this @crisp path

#

not working

misty flume
#

@crisp path is their a way to sync the frames when being tweened?

crisp path
crisp path
#

And probably run them at the same time

slender mantle
#

@crisp path why isnt ts working

game.Players.PlayerAdded:Connect(function(plr)
    while true do
        wait(1)
        plr.leaderstats.Speed.Value += 1
    end
    
    plr.CharacterAdded:Connect(function(char)
        plr.Character.Humanoid.WalkSpeed = plr.leaderstats.Speed.Value
    end)
end)```
north rivet
#

is there a problem with using tweens for combat movement

placid matrix
north rivet
#

word but with the right easing setting you could make it work

#

can you possibly stop a tween mid way

crisp path
crisp path
north rivet
#

crazy so is lerping the standard

crisp path
north rivet
#

ive been trying to but its leaving me with an annoying delay

crisp path
north rivet
crisp path
#

Fire

terse canyon
#

there is no condition to make it False

#

the code after that does not even trigger

crisp path
#

Or use smth like bodyvelocity

#

Bodyvelocity has less delay

north rivet
#

mnnn

crisp path
#

But it's deprecated tho

north rivet
#

and what do you mean by fire the client

#

like i know what that means

#

but rn its being handled ina module in relation to a client

crisp path
north rivet
#

oh no its not nvm

#

wait but then it wont happen on the other person screen

crisp path
#

Client controls the character and it updates to everyone

#

If you set network owner of the character to the server then it will not

north rivet
crisp path
#

Yea

north rivet
#

ah i see

#

i always thought it was just client shi dont happen to anyone else stuff besides animation

crisp path
#

If player doesn't have network ownership of something then it will not replicate changes

north rivet
#

idk what network ownsership is

crisp path
rose halo
#

Like characters

sudden estuary
north rivet
#

thank you

north rivet
#

Yo can i change the players friction

#

hol on lemme goggle

#

set custom phsyical properties today a good day

ivory temple
#

when you use a while or for loop, the script yields until the loop is done. this means that anything written after a loop is pretty much voided unless theres a condition which "cancels" the loop

to get around this, you can wrap the loop in a function by using task.spawn() or coroutine.wrap(function() end)()

#

also next time ask for help in #code-help (sorry to minimod) 👍

sullen ore
#

Hi whats the fastest signal module, I just need it to fire a number as fast as possible on the back end

safe creek
#

They are all the same

#

Some maybe a little more bloated but same concept

#

Not much changes

#

But either lemon or good signal

sullen ore
#

ok thanks

late flame
#

How to link gui with gamepass

weak radish
weak radish
#

I mean you can use a remote event too but you likely want feedback client side

hardy pilot
tribal mango
placid matrix
umbral carbon
chilly canyon
robust narwhal
#

yo im finishing a roblox game and i need help, i dont know how to connect client controllers to serverswcriptservices anyone can do it? ill pay

chilly canyon
#

huh

past gorge
#

🎎

serene fern
#

Hey, can anyone help me out on some scripting parts of my game? It is an airport game.

slow quest
#

if.if.enum.script.parent.done
then.delete.delete"end"

end)
end)

#

simple delete script

finite finch
#

Does anyone knows how to make a custom command with BAE, it's for when you type for example :host (username) it appears automatically a nametag saying that ur the host, for trainer or assistant it would be :assistant (username) (A, B, C, D, E, F) any help would be appreciated

remote yarrow
#

chat i need a script so u everyone can pick up a certain item once

#

so it doesnt despawn if one guy gets it

weak radish
molten plinth
tranquil spire
#

Looking for a scripter who is down to make a tycoon game series with me over summer. games will be quick production (2 weeks max per project), must have several projects released with 10m+ composite visits, or 3+ years experience

dm!!

fringe narwhal
#

good luck "10m+ composite visits"

#

if you want someone like that you dont just send messages in code-disccussion bru

heady fern
#

looking for a scripter to make a game duo (i will think about gui,animating and map)

** dm me **

tranquil spire
#

10m is not a lot lmao

tacit ocean
fringe narwhal
leaden dome
#

Anyone know a good modeler, who can do low poly?

frail yarrow
#

you're not updating the speed

#

holy shit this server 🤣

copper apex
#

Really good module

vital parrot
#

What is the best way to keep a Character on a 2d Plane? so they dont fall off the map. There will be fighting so I dont want them to be knocked off neither

#

I was thinking maybe renderstepping the CFrame

dark cedar
#

Does roblox follow the rules of BODMAS

vital parrot
static coral
#

cause i havent used it a lot

vital parrot
#

alright ill give it a try thanks

dreamy adder
#

I need a scripter for a game im making

fresh cloud
#

StructuresRegistry[struct["ID"]] = struct

#

what this do?

hasty mesa
fresh cloud
#

but why strucutresregistry[struct]["ID"] dont work?

#

oh

#

now i see

hasty mesa
fresh cloud
#

yeahh thanks anyway

summer scarab
dreamy adder
#

Blue lock

crystal olive
#

would it be smart to create an OOP module for gui buttons handling similar actions and creating visual effects?

dreamy adder
summer scarab
static coral
#

unless you are making a custom ui thingy

#

like custom ui spacing or making your own grid or something

static coral
crystal olive
#

amazing, thank you @static coral @tawdry bone

flat heron
#

what is the useful of MatketPlaceService on donation game?

maiden thicket
#

how do i program the animations i habe to a custom rig wtf

static coral
crystal olive
static coral
crystal olive
#

Yo eap

#

yeap*

dreamy adder
#

@summer scarab dms

flat heron
static coral
#

you are just not guaranteed to receive it

flat heron
flat heron
#

i mean i dont need to use any thing more?

static coral
# flat heron just?

yes, if you want automatic gamepass detection like in pls donate you will have to use http request to roproxy i believe

#

otherwise if the player can choose which gamepasses to display, you only need marketplaceservice

static coral
#

and remember to use pcalls
for error handling since api calls may fail

craggy niche
#

how do u destroy a part for only one player

pliant spruce
#

how do i connect leaderstats to textlabel inside billboard gui

craggy niche
#

player values? attributes? datastores?

#

whatever it is, link it to the UI instead

midnight wigeon
#

yo how to fix the unsnitized id problem while working with animation?

elfin timber
#

For stuff like admin guis that are checking for player ids, do i make these on a server or a local script?

shut sail
#

any good combat system scripter here

cerulean perch
#

Oh shi

#

Is this permanent?

#

Oh its 1 month mute cryingdead

remote pelican
#

for custom leaderstats, should you use remote event to update player values or propertychangedsignal or does it not matter

#

as in the gui

wise meadow
#

bro got muted for being an AI coder

cerulean perch
#

Comments not code