#code-discussion

1 messages ยท Page 297 of 1

icy heron
#

Can places made/saved via save place api get you terminated?

long adder
#

HEllo guyssssssssss

near sonnet
#

wsg

#

i will now try myself on dataStorage for the first time

#

wish me luck

random cedar
cold crow
#

Do you think its worth it?

#

If you only want to do it for the money, you won't enjoy it.

#

If you like coding, then do it.

#

Will AI take over programmers jobs anytime soon? No, it lacks the ability to do that as of now.

#

It's useful for making things that have already been done. Problem solving is a weak point.

#

It is likely that the actual writing of code will be taken over, whilst software "architects" design solutions.

agile skiff
#

hi

nova yarrow
#

well 30 min isnt enough

twin ice
#

Six seven

#

Yes

glossy slate
#

atleast 30 mins a day would take more then a year

fading ermine
#

how much should i charge for 2 cars

glossy slate
#

low poly?

fading ermine
#

he said it has to be realistic

glossy slate
#

oh

#

2.5k per model?

#

or am i going to low

fading ermine
glossy slate
#

right

#

6234 per model

near sonnet
#

yo guys i got a question does this make sence ```lua
local InventoryModule = {}
local ItemConfig = require(game.ReplicatedStorage.ItemConfig)
function InventoryModule.addItem(inventar, item, menge)
if ItemConfig[item] == nil then
return false
end

if inventar[item] == nil then
    inventar[item] = menge
else
    inventar[item] = inventar[item] + menge
end
if inventar[item]> ItemConfig[item].maxStack then
    inventar[item] = ItemConfig[item].maxStack 
end

return inventar

end

rose shoal
#

Why wont my leaderstats show up in studio? I cant see them in the top right at all and my code is completely correct?

near sonnet
#

like do u see ur name at the top right?

glossy slate
#

u have to do

rose shoal
glossy slate
#

Leaderstats.Parent = player

#

u have to do that or it wont work

near sonnet
rose shoal
regal salmon
#

though it is deprecated and shouldnt be used

glossy slate
#

did u also do

#

coins.parent = player?

#

points i meant

#

u have to do for both of them

regal salmon
glossy slate
#

and also u have to put a value for point i dont know if u have to

void tusk
regal salmon
glossy slate
#

try to add .Value to ur points

void tusk
#

playtest and check Players.[player name].leaderstats

rose shoal
glossy slate
#

wait

#

click tab

glossy slate
#

/to open leadrboard

rose shoal
#

this is what it looks like rn and its popping up under the player tab when I playtest it,

void tusk
#

strange

glossy slate
#

try clicking tab to open leaaderboard

void tusk
#

yeah send a screenshot of what it looks like in game

near sonnet
rose shoal
glossy slate
#

aon

#

i knew it

near sonnet
#

lol

regal salmon
void tusk
#

ohg .. .

rose shoal
#

Its cuz I had my explorer covering it that makes a lot more sense now

near sonnet
#

guys can someone help me now :D

rose shoal
#

bro I spent like 2 hours on this ian even gon lie

void tusk
#

dan ,, ,

near sonnet
#

dataStorage high key frying me

fading ermine
#

how much would you charge for an inventory system

near sonnet
#

xD

fading ermine
near sonnet
#

not much

#

its pretty easy for advanced scripters

#

depens how big it should be

glossy slate
#

how to even make custom inventorys

near sonnet
glossy slate
#

yh how?

near sonnet
#

so u need to save playaData

#

and in that data the inventory gets saved

#

then u got ur items or what ever

tiny kettle
#

@glossy slate

#

what do you mean by custom inventory?

glossy slate
#

now like i mean with custom gui and stuff

tiny kettle
#

oh'

near sonnet
tiny kettle
#

make you little box where the tool is gonna be you gotta make a textbutton change the text to toolname then you could use uistroke tos how equipped or unequip like color change or somethin

#

and all you doing

#

is simulating backpack to character and vice versa

glossy slate
#

understood the first text

tiny kettle
#

lol

#

what i mean is you know how when you equip a tool it parented to your character

glossy slate
#

u could just do imagiebutton

#

yh

near sonnet
#
local InventoryModule = {}
local ItemConfig = require(game.ReplicatedStorage.ItemConfig)
function InventoryModule.addItem(inventar, item, menge)
    if ItemConfig[item] == nil then
        return false
    end

    if inventar[item] == nil then
        inventar[item] = menge
    else
        inventar[item] = inventar[item] + menge
    end
    if inventar[item]> ItemConfig[item].maxStack then
        inventar[item] = ItemConfig[item].maxStack 
    end

    return inventar
end
``` can someone confirm this makes sence?
tiny kettle
glossy slate
#

its better tho

#

not much people use text

glossy slate
tiny kettle
#

oh you will have

#

a limit

#

on items you canh ave

near sonnet
glossy slate
#

ok

near sonnet
#

yes a stack limit

glossy slate
#

i dont use modules'

#

since there just for like organization

#

i could jsut use functions local

tiny kettle
glossy slate
#

cant u jusst use events

tiny kettle
#

thats only time i use modules

tiny kettle
glossy slate
#

ok

near sonnet
#

i use modules pretty ofter ngl

tiny kettle
#

because client and sever can get data

#

depending on where the module is

near sonnet
#

like now for inventory i have playaData Module, ItemConfig (for the items and properties of them) and a InventoryModule for adding and removing Items

tiny kettle
#

awesome

#

i need to make some more stuff for my portfolio

near sonnet
#

how to build a good portfolio

tiny kettle
#

not sure

glossy slate
#

well

#

just make it look like u know what ur doing

#

and put what ur good at

#

and info about ur game deving

near sonnet
#

nah but like what projects are good enough to show

regal salmon
#

real

near sonnet
#

so tell me pls

regal salmon
#

look at my portfolio and tell me if you think those are good things to show off

#

because i dont personally think they are but i also dont really have anything else

near sonnet
#

ong my ears blasted on every single video i click on

regal salmon
#

lmao why is your volume so high

void tusk
#

art system is p good to add ig

regal salmon
#

one of them doesnt even have audio

void tusk
#

fnaf fan game is def nice to see

regal salmon
void tusk
#

idk if you wanna put minecraft at the top tho

regal salmon
#

i make minecraft plugins too lol

#

when i send people the link i usually put #roblox at the end

void tusk
#

is that ur main bizz

regal salmon
#

which will send them straight down to roblox stuff

regal salmon
void tusk
#

ic

regal salmon
#

infact thumbnails is probably my main one

#

takes less time lol

near sonnet
#

there is a tower defense guide on yt so idk if its nessecary to show that on ur portfolio but other than that its pretty good. No glaze but i rlly like the camera shi ur doing in some games

near sonnet
regal salmon
#

also the tower defense system is to show that im capable of it lol, most people hiring for a TD game are probably wanting to get a custom system

regal salmon
#

the guide on yt isnt very good if i recall correctly

#

its very fundamental

near sonnet
#

btw what is that typing speed at the wise robin ๐Ÿ’€

regal salmon
near sonnet
#

fast

regal salmon
#

ah

#

i get 135 wpm

#

so

near sonnet
#

i can tell

#

did u do all these projects jst for fun or did u think "i will make a game that can be put into my portfolio"

regal salmon
#

the rest were just projects i had made over time that i slapped on the portfolio cause i needed some lol

regal salmon
#

thanks

near sonnet
#

u know the scripter guide fromn RoDev

#

?

regal salmon
#

no

near sonnet
#

anyways there is a obby at the end do u think thats good for portfolio, i made it like a year ago and that the only "real" thing i did. Otherwise i jst do 1 thing and go on to the next.

#

so u think a obby is good? :D

regal salmon
#

like a basic obby?

near sonnet
#

NO!

#

it has leaderstats

#

;D

regal salmon
#

๐Ÿ˜ญ probably not

near sonnet
#

;/

#

i might need to work a bit more then

regal salmon
#

perhaps

near sonnet
#

anyways imma go break my brain abt this inventory

regal salmon
#

gl

strange umbra
split spear
#

I need a coder.

gilded echo
near sonnet
#

im jst not very good or fast

#

but if u get along with that sure

gilded echo
#

check dms

regal salmon
whole badger
#

C0 and C1 properties getting locked as read-only during animations frying me rn

iron kraken
#

p0.CFrame * C0 = p1.CFrame * C1
free knowledge

#

ik yall need this

keen comet
slim junco
#

help pls

harsh panther
#

Hai can someoen test my game plz

slim junco
#

With a script

slim junco
harsh panther
hallow pulsar
#

oops wrong channel

#

i thought this was code help

twin ice
harsh panther
twin ice
worn ridge
crisp bay
#

what we think guys?

broken totem
#

whats the fix for the character not loading fast enough before a playeradded script runs ? i tried waitforchild on literally everything

formal fractal
#

is roblox lua different from regular lua

#

but generally theyre somewhat the same right

main forge
oblique orbit
main forge
#

np

oblique orbit
#

what do u all do when u dont understand something when u learning (like pcall) do u just skimm throush the totorial and hope while doing it again and again it some how popes up in your head?

main forge
#

i search about it in the devforum and apply it myself

oblique orbit
#

ic

oblique orbit
#

like how to use data storage or somethign else

main forge
#

u mean datastoreservice?

oblique orbit
main forge
#

its really good as well

broken totem
main forge
broken totem
#
function CharacterHandler.CharacterAdded(player)
    player.CharacterAdded:Connect(function(character)

        local rblxcharacter = Players:GetHumanoidDescriptionFromUserIdAsync(player.UserId)
        local description = player.Character:WaitForChild("Humanoid")
        description:ApplyDescription(rblxcharacter)

        for i,v in pairs(rblxcharacter:GetChildren()) do
            if v:IsA("Accessory") then
                v.Parent = player.Character

            elseif v:IsA("Decal") then
                v.Parent = player.Character:FindFirstChild("FakeHead")

            elseif v:IsA("Shirt") or v:IsA("Pants") then        
                v.Parent = player.Character

            elseif v:IsA("BodyColors") then
                v.Parent = player.Character
                player.Character.FakeHead.Color = description.HeadColor
            end
        end

        local parts = player.Character:GetChildren()
        for i = 1, #parts do
            local characterObject = parts[i]
            if characterObject.ClassName == "Accessory" then
                if not characterObject.Handle:FindFirstChild("HairAttachment") then
                    parts[i]:Destroy()
                end
            end
        end

        print(player.Character)

        description.MaxHealth = DataManager:GetData(player, "Physique").Health
        player.Character.Parent = workspace.Living

        description.Parent:SetAttribute("DefaultWalkspeed", 16)
        description.Parent:SetAttribute("DefaultJumppower", 50)

    end)

    player:LoadCharacterAsync()
end```
void tusk
#

learning to read docs is important

broken totem
#

how do i put it in lua on discord

#

is it ``

void tusk
#

yep

#

wrap it in three backticks

main forge
#

three

#

ye

void tusk
#

```lua
code here
```

broken totem
#

ty

broken totem
main forge
#

hmm

broken totem
#

it looks like a timing issue i'm ngl it always runs in regular tests but not team test

broken totem
void tusk
#

rblxcharacter is the humanoid description, and description is the humanoid

broken totem
#

oh

main forge
#

true

#

but i dont think thats connected to the problem

broken totem
#

well thats the names of it ye that was backwards but

#

yeah it has no effect

void tusk
#
        for i,v in character:GetChildren() do
            if v:IsA("Accessory") then
                v.Parent = player.Character

            elseif v:IsA("Decal") then
                v.Parent = player.Character:FindFirstChild("FakeHead")

            elseif v:IsA("Shirt") or v:IsA("Pants") then        
                v.Parent = player.Character

            elseif v:IsA("BodyColors") then
                v.Parent = player.Character
                player.Character.FakeHead.Color = description.HeadColor
            end
        end
#

you should be looping through description in this case

#

well actually just character

#

actually this doesnt rlly make sense

main forge
#

yeah

broken totem
#

it's for a humanoid that's inserted in the game

main forge
#

the variable names keep getting me confused

#

while im tryna think

void tusk
#

this whole for loop is pointless it seems

broken totem
#

cause you can't see the imported humanoid

#

there's a blank humanoid the character is assigned to instead of their default character

void tusk
#

so there isnt a humanoid in there ?

broken totem
#

well character i mean

#

sorry

void tusk
#

thats fine

main forge
#

can you try to playtest with somebody else in the roblox client

void tusk
#

the for loop is still not doing anything

main forge
#

ive had the same issue with a system i was working on but when i tried it in the roblox client it worked perfectly fine

void tusk
#

what is FakeHead for ?

broken totem
#

i see what ur saying plac

#

apply description already does it for me

main forge
#

why dont u use the normal character head

broken totem
main forge
#

wdym

broken totem
#

i cant animate with the weld

main forge
#

use motor6ds

broken totem
#

does motor6ds actually move the weapon itself or just the hand holding it

#

cause a while back on a different game it was not working

main forge
#

motor6ds dont move stuff

broken totem
#

it's a weld rifght

main forge
#

ye kinda like one

broken totem
#

ya and u can't animate with it

main forge
#

but i always use it in custom rigs

main forge
broken totem
#

like it doesn't count as a part i could animate

#

oh

main forge
#

ive tried it before

broken totem
#

the actual thing being welded u can move in the roblox animation tool ?

main forge
#

im not sure

#

i havent used welds in custom rigs before

broken totem
#

that was my problem when i tried it nothing let me actually move the item that was welded with roblox animation

void tusk
#

if you are animating tools, you should be converting the RightGrip weld that is created when equipping tools into a Motor6D

#

at least thats the most compatible way

#

motor6ds are basically like joints for a rig

broken totem
#

so in comparison to adding a righthilt to the players character to weld the object to and move the hilt

#

is there a difference

void tusk
#

yeah

void tusk
#

you can animate with a motor6d

main forge
#

under it

broken totem
#

ohh

void tusk
#

you cant without a motor6d

main forge
#

have u done that

broken totem
#

i dont think so

#

i didnt even know that existed

void tusk
main forge
void tusk
#

animation controller is to replace humanoids

main forge
#

ye

#

more optimized

void tusk
#

i must be confused then

broken totem
#

should i just get rid of the custom character

main forge
#

cuz of humanoid calculations

void tusk
#

humanoids are not that slow

main forge
#

its still better

#

if u dont wanna calculate jumps, walks, etc.

#

just anims

void tusk
#

i mean if you dont need humanoid functionality i guess ...

strong tangle
void tusk
#

ApplyDescription wont work

strong tangle
#

alr, ty

#

how to receive the skill role?

#

oh, there is for more info nvm

stone peak
#

hey if any scripter wants make a slop cashgrab game with me and split revenue dm all you need to know is scripting id handle the rest dm for more info

icy heron
#

Can places made/saved via the save place api get you termed?

sharp pine
#

yo guys

#

i just made a website can yall rate it so i know if its good or not?

golden yoke
#

can yall tell me some websites for good uis? (for roblox preferably)

#

oh shi wrong channel

wicked geyser
#

any one need coder dm me

remote phoenix
#

no I'm joking but wtf is affinity

red wraith
#

ok bro doesnt know it

dense spade
tight kiln
#

guys, anyone knows how i can change a rigs head ? i've tried everything under the sun i can find online and with gemini's help too and nothing works

golden yoke
#

why do some people use vs code instead of just scripting in roblox?

agile skiff
#

sup 67

#

not me for sure

sharp pine
#

yo guys

stone sable
#

Guys im not a scripter i just want to ask how do you guys show off your skills and work when you cant just printscreen the code and post on creations?

#

All of sudden i thought of this

agile skiff
#

portfolio

stone sable
#

That is?

agile skiff
#

๐Ÿ˜ญ

agile skiff
stone sable
#

I know

#

Im asking what do you show

agile skiff
#

past work?

agile skiff
#

bro what..

#

no you dont directly

stone sable
#

Show me your work

#

Thats what i meant

agile skiff
#

oh

#

then you dont directly show your entire code

#

you may show like some part of it

#

like advanced part

stone sable
#

Oh i see

agile skiff
#

yes

tiny kettle
#

yo

agile skiff
#

YO

tiny kettle
#

do yall think my portfolio has some good stuff

agile skiff
#

let me see

tiny kettle
agile skiff
#

pretty simple stuff

#

but good

tiny kettle
#

alr

agile skiff
#

i need to work for smn

#

gng im too poor

#

i was rich then poor (

tiny kettle
#

dang

agile skiff
#

@edgy quarry

#

this was me

regal salmon
#

a majority of people do not want to join a discord server to view your work

#

use a website instead

agile skiff
#

yes better idea

regal salmon
#

@hollow knoll you too

hollow knoll
#

ugghhhhh fuuuuuckk

regal salmon
#

๐Ÿ˜ญ

hollow knoll
#

fiiine i'll make a twitter account

regal salmon
#

good man

hazy oyster
#

hello guys

#

i have a question

#

im making a horror game what should i add

frosty void
#

Ok I'm not sure how to exactly explain this, just wondering if anyone is having this following issue
Whenever I'm typing out functions, if, for loop, i tend to press enter after typing out the last part of the line, which will auto complete with the "end or end)" but there are times where this end word will end up in the wrong place

Example:
for i = 1, 10 do
    if true then
end end <-- (there are times it will end up here)

my quick fix to it is to ctrl + z then press enter again

hazy oyster
#

i never had this problem

#

only when im making a game with data stores when it had leaderboard too

thin dune
hazy oyster
#

w

broken totem
#

if i wanted to do something like posture/blockpoints, can i use a table of data or is it better to just use a number value

rose shoal
#

how do "return end" statements work in functions?

kind seal
rose shoal
kind seal
#

or there was an error

#
function foo()
    if not condition then return end
    -- code
end

is the same as

function foo()
    if condition then
        -- code
    end
end
#

makes it nicer to read

rose shoal
#

hmmm alright that clears it up a bit for me

slim junco
#

hi

#

I need opinions.

#

Sincere.

rose shoal
#

tell me what you know

#

I mean if youve truly never touched it before these first 4 days id say prolly not alot tbh. But thats how it was for me

#

give it like a week it'll all start making more sense i think

dark juniper
#

As someone whoโ€™s been there done that itโ€™s mainly aptitude

keen comet
#

How to open roblox studio, hopefully

half heath
#

simple tween

#

local TweenService = game:GetService("TweenService")
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local gui = player:WaitForChild("PlayerGui"):WaitForChild("MainUI")

local tweenInfo = TweenInfo.new(0.15, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)

local function addHover(button)
local originalSize = button.Size

local growSize = UDim2.new(
    originalSize.X.Scale * 1.1, 0,
    originalSize.Y.Scale * 1.1, 0
)

button.MouseEnter:Connect(function()
    TweenService:Create(button, tweenInfo, {Size = growSize}):Play()
end)

button.MouseLeave:Connect(function()
    TweenService:Create(button, tweenInfo, {Size = originalSize}):Play()
end)

end

addHover(gui.RollButton)
addHover(gui.ShopButton)
addHover(gui.QuestButton)

gloomy siren
#

Whats the first scripting thing I should learn?

keen comet
stable verge
#

Staying in studio for 5mins ๐Ÿ˜ญ

dark juniper
keen comet
dark juniper
# keen comet no idea

Ah ok, itโ€™s always interesting to look at the dev YouTubers cause they teach so differently

#

I was a devking guy myself

keen comet
dark juniper
#

Itโ€™s important that newer people understand how to properly learn scripting in the modern day

#

so very helpful of you to do that

keen comet
random cedar
#

For cussing

#

Good luck ๐Ÿ‘

dark juniper
#

ong tho why are u still pressed just let it go

#

This us

random cedar
charred peak
#

anyone experienced in game optimisation in GENERAL not only scripting

random cedar
#

I just remembered who you were so I brought it up lol

charred peak
#

really detailed

random cedar
charred peak
#

i was gonna ask for help

#

and neither this isnt programming?

random cedar
charred peak
#

i got no money thenb

random cedar
#

Try using claude

#

Get claude to use mcp

charred peak
#

anyone that knows microprofiler

random cedar
#

I doubt anyone is saying anything for free

charred peak
random cedar
#

And what claude does is it goes in and rewrites for you

charred peak
#

since when i cant find this information online

#

its gonna pull up random numbers

#

from unity

random cedar
#

Then specify roblox studio

charred peak
#

lemme see

random cedar
#

If youโ€™re being vague abt something ai is just gonna guess

#

If youโ€™re being exact then ai will be more helpful

charred peak
#

tis still gonna guess it im p sure

random cedar
#

If itโ€™s some brand new problem then good luck

#

Ai is not the best at brand new problem solving

azure coral
random cedar
halcyon citrus
#

ofc obstructors are not perfect and any obstructor can be bypassed which is why it's just practice work, it has a bunch of security built into it but man i wish roblox had a good anticheat lol

calm heart
#

hi, i recently hired a scripter and i suspect his work is ai. is anyone here good at detecting ai code and could give me some insight?

weak radish
#

are remote events made by the script

#

and all put in the same folder

#

Are the comments ai looking

frail plaza
#

tell him to sharescreen while doing so

calm heart
#

thanks for your help guys ill do all of these

long adder
#

Hi

long adder
random cedar
#

I see youโ€™ve adopted a clan tag

#

Youโ€™re evolving

glossy slate
#

this map good for a lobby its wip

weak radish
#

Last night it just started spamming that I was a spammer

#

because someone told them I was a troller

random cedar
#

I wonder who will break itโ€™s prompts first

weak radish
random cedar
halcyon citrus
glossy slate
#

is grace an ai bot?

random cedar
random cedar
#

Type xi

halcyon citrus
glossy slate
#

xi

random cedar
random cedar
weak radish
glossy slate
#

yh because

random cedar
#

Porg have you brought it up to mods yet

glossy slate
#

i think shes a bot bro last time i was in chat wit her in it i couldnt understand what she was saying

weak radish
#

and took a screenshot of my chats

glossy slate
random cedar
#

@long adder whatโ€™s the temperature in Cleveland, Ohio

glossy slate
#

i couldnt understand bro

random cedar
#

Remember a phrase she said

glossy slate
#

i dont have

weak radish
glossy slate
#

can i check chat logs?

random cedar
glossy slate
#

i dont think her first languge is english

random cedar
#

Exactly how she said it

glossy slate
#

im tryna find

random cedar
peak jolt
#

this ain't a bot are u dumb

random cedar
remote phoenix
random cedar
#

Mate

#

@weak radish

#

Read bottom to top

#

Mate paid $20 for a 4L and canโ€™t scrape a jar model

#

LMAO

peak jolt
#

what is 4l

random cedar
#

I donโ€™t need a 4l

random cedar
peak jolt
#

tf

weak radish
#

theyre gone?

random cedar
# peak jolt tf

You can get shitty combos like his username for $20 but I would be caught dead before doing that

random cedar
weak radish
weak radish
random cedar
#

Theyโ€™re right there

weak radish
random cedar
weak radish
random cedar
#

They blocked you maybe?

weak radish
#

no

#

refresh your discord

random cedar
#

Weird

#

They probably got banned for trying to hire in chat

quaint furnace
#

is it just claude's characteristics or a bug cuz my claude literally said that this script has an extreme failure and then proceeds to explain so much until at the end it realizes that there was no failure at all and literally said "nevermind"?๐Ÿ˜…

glossy slate
#

son

#

i think YOUR useing the wrong claude

quaint furnace
glossy slate
#

bro why arent u useing 4.6?

quaint furnace
weak radish
quaint furnace
weak radish
#

You set max output tokens

#

and you manage max input internally

golden prawn
#

geniunely there is no one less funny than @glossy slate

quaint furnace
# weak radish Api lets you limit tokens

yeah i mean it would still waste your tokens though when it's literally wasting the 900 from the 1000 max token set explaining the wrong term and in the end saying "nevermind"

weak radish
#

its unreliable

quaint furnace
random cedar
#

Claude needs more lashings

royal marten
#

Can anyone explain RunService to me in layman terms?

Roblox documentation is complicated to understand

static coral
#

search roblox task scheduler

#

it will return u the delta time of these events which is the difference between the current time and the last time the event occurred

#

u can then use this delta time for many things

#

roblox internally uses it for a lot of things

#

for example you can use it to move a part by defining a studs per second speed and then multiply it by the delta time and then add that to partโ€™s position

glossy slate
#

i use socks as gloves and gloves as socks

random cedar
#

Says teddiursa

quaint furnace
cloud prawn
#

anyone want to make a invicinble cc game?

kindred coral
#

what's good yall, anyone a beginner/mid-tier scripter?

normal solar
static coral
granite quarry
#

hi guys is it still possible to send chat messages from roblox to discord using webhook

near sonnet
#

is this bad?

remote phoenix
#

probably

remote phoenix
near sonnet
#

but what to change

civic current
near sonnet
#

but i need it so if game crashes no data gets lost

civic current
#

its a studio problem.

#

it works normally ingame

near sonnet
#

alr ig

civic current
#

good boy

low tangle
#

f

civic current
#

divinebiopsy: f

agile skiff
#

Feeling generous

#

Today

random cedar
agile skiff
#

Anyone needs help?

random cedar
#

Iโ€™m jk

agile skiff
#

Click my bio

random cedar
#

Sus

agile skiff
#

Send me you cookie please

random cedar
#

Ofc

agile skiff
#

Soju

#

Should i follow my ex or no

random cedar
#

Sonu

random cedar
agile skiff
#

Let me spin the whell

#

Wheel

#

Bro

night drift
#

how much is normal to know on day 4 of learning to script?

random cedar
random cedar
#

You already asked this earlier bro

agile skiff
#

It said yes

night drift
agile skiff
#

No need rush

#

@random cedar

#

67?

kindred coral
#

Hello friends, any begginner/mid-tier scripters hmu

agile skiff
#

Ohh thats you

agile skiff
kindred coral
agile skiff
#

What about proffesionals

night drift
agile skiff
#

๐Ÿ˜ญ

agile skiff
kindred coral
#

?

night drift
agile skiff
night drift
#

yeah im advanced

agile skiff
#

Well looks like it

kindred coral
night drift
#

i have more then 4 days of experience but this is the first time i actuallly stick to learning it and i know all of basics and most of the advanced on brawldevs stuff so im doing prettu good i think

visual lagoon
night drift
kindred coral
night drift
#

Sure

sick sonnet
#

guys im not gonna lie

#

im just typing to get xp so i can send pics

#

yeah so basically

#

today ive just been home all day to learn vfx but ima kinda shit at it

#

ive made a lightning effect with clouds and impact but idk how to make debris using particle emitters cause im so badd at vfx

#

i also make a small explosion with beam, like a ray type of vfx but its okayyyy

#

im barley even at level 5

#

but im gonna get there

austere gust
sick sonnet
#

its taking forever to even reach level 4

#

idk how i even got to 3

#

i just want to send my vfx so i can get feedbacks

#

๐Ÿฅ€

austere gust
#

im cur makin some bg, its hard to do in solo but i want to make a prototype for showcase

#

and then find someone to continue it

sick sonnet
#

what is it

austere gust
#

bg?

sick sonnet
#

what anime? or is it corss

#

cross*

austere gust
#

cross, i want to be a bit flexible

#

i already made an unique destruction system also

#

so ye

sick sonnet
#

ahh okay okay

austere gust
#

so i think if i make the prototype and showcase it ill get some guys bcz its already creates a wow effect

sick sonnet
#

yeah make like a showcase that gets eveerything of the game

night drift
#

could someone give me a scripting challange i think im at a early intermediat level.

austere gust
austere gust
night drift
austere gust
#

for example projectiles that have complicated trajectories

sick sonnet
austere gust
#

u can get mouse cords

sick sonnet
#

i dont script i just use Claude, just so i can see my vfx as like a ability

austere gust
#

broski u can't be THAT potato

sick sonnet
austere gust
#

its not even fucking scripter's work

molten grove
#

Guys I got the funds but I lowk need to polish my game is called survive disaster for luckyblocks if u interested dm me..

austere gust
#

i can leave the vfx functions for VFX maker and in 99% he'll make it

night drift
#

i mean the script for vfx not the vfx

sick sonnet
night drift
#

This is my simpel Raycast ``` local RunService = game:GetService("RunService")

local originPart = game.Workspace.OriginPart
local direction = Vector3.new(100, 0, 0)

RunService.Heartbeat:Connect(function()
local rayResult = workspace:Raycast(originPart.Position, direction)

if rayResult then
    print("Something has hit the ray")
else 
    print("Nothing has hit the ray")
end

end)

night drift
#

dont really understand heartbeat tough

static coral
civic current
#

heartbeat is an event that fires every frame.

night drift
twin ice
#

๐Ÿฅ€

mental rapids
#

for a combat system should anims be played on the server?

cloud atlas
#

Always play your anims on the client as they will reflect to everyone else due to network ownership. Running animations in the server wastes processing power

mental rapids
nova shore
#

@tame ibex

glossy rapids
#

does anyone know if moving a part to replicatedstorage actually optimizes anything/reduce lag?

golden thunder
#

I have a gun models folder that's very detailed and when I move the models to rep there's a noticable raise in preformance

glossy rapids
#

alright thanks!

night drift
#

Why is CFrame so confusing and i need it so often):

golden thunder
#

think of it like that

elfin magnet
#

guys

night drift
#

is offset the position?

golden thunder
random cedar
golden thunder
#
local LookAt = Vector3.zero
CFrame.new(Pos,LookAt)```
#

The CFrame is positioned at the Pos variable and is looking at lookat

#

You also have CFrame.LookVector which is one stud towards where the CFrame is looking at

#

and same thing for CFrame.UpVector and CFrame.RightVector

night drift
#

yeah i will learn it at some point prob that didnt clear things up sadly

golden thunder
#

Youtube got plenty

night drift
#

yeah

remote phoenix
#

a CFrame is just (Pos.X, Pos.Y, Pos.Z, Rot.X, Rot.Y, Rot.Z) isn't it?

#

something like that

golden thunder
#

Not each axis seperated

remote phoenix
#

yeah I know, I just meant conceptually speaking

golden thunder
#

Yeah about that

#

A vector3 for the position and another for the rotation

slow spindle
mighty onyx
#

Did the new roblox upadte mess up getting the players face from humanoid descripton?

mental rapids
# cloud atlas Sure

btw should the server at least send the current M1 combo index back to the client after receiving the attack input, or is that unnecessary and inefficient?

hazy oyster
#

bro got me

whole lotus
cloud atlas
whole lotus
hazy oyster
#

yep

whole lotus
#

Boaz= boe-az

#

@cyan lantern

#

I think it's like that because from a movie someone was named doeg. And his name was pronounced doe-egg

#

not like doe

random cedar
#

Boe ass

whole lotus
#

But

#

bo

#

Boe

#

like boat

cyan lantern
#

eggs

#

did i pronounced it right

remote phoenix
slow spindle
# remote phoenix that isnt simpler

I mean what is complicated about it? It legit has. vectors that tell you what is up right and front and one additional vector for the position

random cedar
remote phoenix
#

but I am to assume that if they already know matrices then they would already understand cframes and how to read the roblox docs

slow spindle
remote phoenix
#

to use matrices as an example is unnecessary if the person doesn't already know what a matrix is

slow spindle
#

But now that you know that they are matricies and down the line when you do learn some linear algebra you would understand that matrix multiplication is just the final product of what you would get by applying said matricies on one vector

tame ibex
sinful marsh
iron kraken
eternal apex
#

how in the world do I scale my ui for all devices

winter rain
#

First you can detect which device then you can create the UI based upon that device

#

There are also some adding that can help with UI

fervent belfryBOT
#

@eternal apex

Tag ยป Scaling UI

Roblox GUI Objects can be sized and positioned in either Scale or Offset, represented as {ScaleX, OffsetX}, {ScaleY, OffsetY}.

  • Scale allows your objects to appropriately scale to a percentage of the screen dimensions they are being viewed on.
  • Offset ensures that the dimensions of the object stay consistent, no matter the size of the screen. This means that they will not adapt or be responsive towards changes in device resolution.

Tutorials

  • Devforum Guide
    • Scale & Offset explanation and examples, BillboardGUIs, UIGridLayouts + other layouts, Explorer hierarchy
  • YouTube Guide
    • Scale & Offset explanation and examples, AnchorPoints, Device emulator, UI basics
regal salmon
earnest hazel
#

hi

near sonnet
#

hi

jade crag
#

Yo, I have a question in CFrames.
`local part = script.Parent
local lookPart = workspace:WaitForChild("LookPart") -- why not just use workspace.LookPart?

local startPos = part.Position
local lookPos = lookPart.Position

local CFrame = CFrame.new(startPos, lookPos) --[[isn't this line wrong? Since like when you use local CFrame = CFrame.new(0, 0, 25) doesn't this change the position?
Then how does local newCFrame = CFrame.new(startPos, lookPos) make the part look toward the LookPart??]]

part.CFrame = newCFrame
`

And why do you do:
part.CFrame = part.CFrame * CFrame.new(25, 0, 0) -- why do you multiply CFrames to conceptually quote'unquote "add CFrames"??

iron epoch
iron epoch
# jade crag Yeah that aswell

the best way i can explain that is this: roblox loads the game in pieces. If your script runs the exact second the game starts, LookPart might not have downloaded to the client yet.

#

does that make sense

jade crag
#

Yeahh

iron epoch
#

@jade crag about your question with CFrames, its behavior changes based on the amount of arguments. If you pass one Vector3 then it only cares about position. if you pass two vector3s then you are using LookAt. The first vector3 sets the position and the second Vector3 is the target

jade crag
#

I get it now and also like for kill bricks, we use WaitForChild but why don't we use FindFirstChildOfClass("Humanoid")

iron epoch
#

Also CFrames arent numbers, they are Matrices. Multiplying them doesnt multiply them, it composes them.

iron epoch
#

I think that FindFirstChildOfClass is better because if the developer renames the Humanoid to something else, it will still find it because its always a humanoid regardless.

#

Also never use WaitForChild because it pauses the script.

#

if you use WaitForChild on the kill brick, the script will pause forever if a non-player touches the brick

jade crag
#

Thanks

#

I got it now

iron epoch
#

alright, glad its cleared up.

near sonnet
#

is someone down to code review my function i created?

elfin moon
#

alr so i have this script that makes a part look at you at all times and i wanna have multiple but I DONT WANT TO RENAME MULTIPLE AND CHANGE EACH SCRIPTTT

#

is their a way to like just do multiple with 1 script?

near sonnet
#

use module to make it fuctional maybe?

#

so u insert only name of part and then it like copies what u alr did

elfin moon
#

so i just ctrl c ctrl v each one when it has a module??

near sonnet
#

for example make a function in a module called idk function followModule.FOLLOWME(part)
that has parameters of part and then u can make it functional

near sonnet
#

everything that u have specified must then be unspecified

#

idk what ur code is looking rn so idk exactly

elfin moon
near sonnet
#

is it long?

elfin moon
#

not rlly

near sonnet
#

sure ig but pls not in a message but in a code message

elfin moon
#

??

#

lik here

#

oh wiait i cant ๐Ÿ˜ญ ๐Ÿ˜ญ

near sonnet
#

u know how to type code in discord

elfin moon
#

nah

near sonnet
#

like ```lua
local anything

thick ether
#

Just paste the entire block if it's too long, it should embed as a .txt file

elfin moon
#

uhh

#

i dont think that worked

near sonnet
#

send dm

#

the code

elfin moon
near sonnet
#

did u ever worked with modules before

agile skiff
#

Rest in peace my granny

#

She got hit by a bazooka

jade crag
#

Use a module script and require it in all the parts using a script. It makes it more organized and easy to handle, so u can make changes to just the module and every script will have it implemented.

random cedar
#

All of a sudden when players join the main game they get automatically kicked from the place? They join legally through the lobby but when they get to the main place it just kicks them

#

I didn't make any changes to teleport service

random cedar
hoary cedar
#

You have a malicious script in your game

#

Check your models

random cedar
#

Okay

hoary cedar
#

Check your plug-ins

random cedar
#

What dop I cxheck for

hoary cedar
#

For the presence of scripts

#

Outside of Roblox's default scripts, there should never be scripts in Workspace

random cedar
#

and autoscale lite

random cedar
hoary cedar
#

Make sure you have the official plug-ins, @random cedar. Try disabling them all for now

random cedar
#
 if not words[2] and words[2] ~= "SIXTH_SPIN_BOT" then
            local chair = ServerStorage:WaitForChild("Chairs")[plr.equippedSkin.Value]
            if chair then
                chair = chair:Clone()
                chair.Parent = chairs
                chair:PivotTo(map.ChairSpots[i].CFrame)
                chair.Name = i
                if plr.Character then
                    if plr.Character.Humanoid then
                        local hat = ServerStorage.SweetheartHat:Clone()
                        hat.Parent = plr.Character
                        chair.Seat:Sit(plr.Character.Humanoid)
                        table.insert(inGame, plr)
                        inGame[plr] = i
                        table.insert(chosenChairs, i)
                    else
                        plr:Kick("Something went wrong, please rejoin")
                    end
                else
                    plr:Kick("Something went wrong, please rejoin")
                end

            end
            task.wait(.1)
        end
    end
hoary cedar
#

That's not it, but if it's foreign to you, remove it

#

Use the Find & Replace All to locate it via the kick message

random cedar
#

It's the only one with that error message

hoary cedar
#

Ctrl + Shift + F

random cedar
#

okay

#

Yeah it's in a module script

#

And then a normal script

random cedar
#

I'm going to revert to an earlier place version

#

I know the issue

#

Characters were being loaded in too late or something like that

frail plaza
#

how does one go about making animated text? (like multiple letters going up into one frame)

distant hamlet
#

a textlabel for each letter

#

and spring the position

#

with delay

jaunty hollow
#

anyone know how obs works?

regal salmon
jaunty hollow
#

why is the recording only quater the screen

#

and its not global for everyoen!

regal salmon
jaunty hollow
#

its only per player

jaunty hollow
regal salmon
#

select it > right click > transform > fit to screen

jaunty hollow
#

i went screen capture is it right?

regal salmon
#

yup

jaunty hollow
#

im bak

jaunty hollow
regal salmon
jaunty hollow
#

Icropped it!

#

but thrs still some thing

regal salmon
jaunty hollow
#

how to fix

regal salmon
#

go to settings > video

#

find "base canvas resolution"

#

click the dropdown

#

and see if you can find your screen's size

jaunty hollow
#

OMG TYSM ๐Ÿ˜„

regal salmon
#

np

#

make sure the output resolution right under it is the same

jaunty hollow
jaunty hollow
worn oriole
#

yo guys does anyone know how to use skinned meshes

#

instead of editable meshes

jaunty hollow
#

I dont use mac recording software cuz it takes up 2 gb per min of recording

twin ice
#

Sounds fun

agile skiff
#

does anyone wanna play hunt showdown or rust with me\

#

Rest in peace my grandma

#

She got hit by a bazuka

remote crane
agile skiff
#

Guys yes or no

#

Quickly please

tiny kettle
#

yo

balmy sorrel
nova shore
whole lotus
#

@wanton egret why are you larping

#

larping

#

your work is free uncopylocked shit from YouTube

#

larp

#

larp

#

larp

balmy sorrel
#

get eem tay

strong sigil
#

think i perfected my animation module
still requires additional animations like startwalk, startrun, endwalk, endrun, walktorun, runtowalk

novel finch
#

no hate looks actually tuff just wondering

karmic wadi
#

is it a horror game

dire kestrel
#

?
?
?

dire kestrel
#

lool

novel finch
#

someone pls lmk why ```local uis = game:GetService("UserInputService")

uis.MouseIcon = "rbxassetid://8399128527"``` doesn't work ๐Ÿ’”

#

meant to change mouse icon but it doesnt

tiny kettle
#

use getmouse

novel finch
#

yo nvm chat i got the wrong assetid

tiny kettle
#

@novel finch

rare basin
novel finch
rare basin
#

Oh it is?

tiny kettle
#

oh

novel finch
#

it will be

tiny kettle
#

was the id just wrong then

novel finch
novel finch
tiny kettle
#

oh

#

ok

#

so i can use either uis or getmouse

#

anyways

novel finch
tiny kettle
#

awesome sauce

novel finch
wraith shadow
#

mb

#

its fixed

#

ggs

novel finch
wraith shadow
#

it just works

novel finch
#

yeah i made sure that happens by having the script in startercharacterscripts

strong sigil
strong sigil
unreal nest
kind seal
blissful ledge
blissful ledge
kind seal
unreal nest
#

๐Ÿ˜‹

novel finch
blissful ledge
novel finch
blazing coral
#

can anyone color this?

golden yoke
#

chat how do i download an entire copy of my game? as a file

paper flame
blazing coral
paper flame
blazing coral
signal narwhal
#

Can anyone tell me where i can learn lua the best?