#code-discussion

1 messages Ā· Page 59 of 1

rocky lynx
#

idk why I did a string sorry

tropic sequoia
#

sorry it is an array I just misunderstood

brave jay
#

they get moved lol

somber vault
#

What are you trying to sort again?

brave jay
#

@lament scarab why did you react with šŸ„€ dude

#

i actually hate some ppl in this channel šŸ„€

tropic sequoia
rocky lynx
#

@tropic sequoia

tropic sequoia
#

just looks jumbled, I wanted to organise it more

rocky lynx
#

just do that bro

tropic sequoia
#

alr

#

2 is not a valid member of Folder "Players.SilentReap0.Slots.Backpack.20"

somber vault
#

Just do a table.sort and turn the names of the folders into int values if they aren’t already

tropic sequoia
#

should I rap in a for loop

somber vault
tropic sequoia
#

alr

brave jay
#

i just had like a eureka moment

for my gun system, i could split the ray module into render ray and raycast

and then for a shotgun when multiple pellets need to go instead of casting multiple rays, i can just render more, and in the modular settings for the gun increase the damage per ray for that class type

im so awesome

#

im not sure what this achieves

#

wait thats not how a shotgun works tho.

somber vault
#

i dont wanna learn

#

can someone get this code to work

#

1$

#

šŸ’€šŸ˜­

hardy pilot
#
  17:50:27.199  sabuiltin_Debugger.rbxm.Debugger.Packages._Index.roblox_rodux.rodux.Store:13: Received error: Caught error flushing store updates

sabuiltin_Debugger.rbxm.Debugger.Packages._Index.roblox_rodux.rodux.NoYield:28: sabuiltin_Debugger.rbxm.Debugger.Src.Components.Callstack.CallstackComponent:634: assertion failed!
sabuiltin_Debugger.rbxm.Debugger.Src.Components.Callstack.CallstackComponent:634
sabuiltin_Debugger.rbxm.Debugger.Packages._Index.RoactRodux.RoactRodux.connect:182
sabuiltin_Debugger.rbxm.Debugger.Packages._Index.Roact.Roact.Component:124 function setState
sabuiltin_Debugger.rbxm.Debugger.Packages._Index.RoactRodux.RoactRodux.connect:181
sabuiltin_Debugger.rbxm.Debugger.Packages._Index.roblox_rodux.rodux.Signal:99 function fire
sabuiltin_Debugger.rbxm.Debugger.Packages._Index.roblox_rodux.rodux.Store:198

sabuiltin_Debugger.rbxm.Debugger.Packages._Index.roblox_rodux.rodux.Store:18 function tracebackReporter
sabuiltin_Debugger.rbxm.Debugger.Packages._Index.roblox_rodux.rodux.NoYield:15 function resultHandler
sabuiltin_Debugger.rbxm.Debugger.Packages._Index.roblox_rodux.rodux.NoYield:28 function NoYield
sabuiltin_Debugger.rbxm.Debugger.Packages._Index.roblox_rodux.rodux.Store:197
sabuiltin_Debugger.rbxm.Debugger.Packages._Index.roblox_rodux.rodux.Store:194 function flush
sabuiltin_Debugger.rbxm.Debugger.Packages._Index.roblox_rodux.rodux.Store:82
  -  Standalone

<3

#

15 stacks deep

karmic coral
#

paying 500 robux for someone to fix & complete my inventory/shop system

somber vault
#

help me please

rigid geyser
#

What's wrong with this script? local ViewportFrame = script.Parent -- Script should be a child of the ViewportFrame
local folder = Instance.new("Folder")
folder.Name = "CharacterFolder"
folder.Parent = ViewportFrame

-- Configure ViewportFrame lighting
ViewportFrame.Ambient = Color3.new(0.5, 0.5, 0.5)
ViewportFrame.LightDirection = Vector3.new(0, -1, 0)
ViewportFrame.LightColor = Color3.new(1, 1, 1)

-- Set up the camera
local camera = Instance.new("Camera")
camera.CFrame = CFrame.new(Vector3.new(0, 20, 0), Vector3.new(0, 0, 0))
camera.Parent = ViewportFrame
ViewportFrame.CurrentCamera = camera

-- Table to store original parts and their clones
local cloneParts = {}

-- Function to clone the character
local function cloneCharacter(character)
for _, part in pairs(character:GetDescendants()) do
if part:IsA("BasePart") then
local clonePart = part:Clone()
clonePart.Parent = folder
cloneParts[part] = clonePart
end
end
end

-- Scale factor to map workspace positions to ViewportFrame
local scale = 0.1 -- Adjust this (e.g., 0.01, 0.1, 1) if the character is too small/large

-- Main update loop
while task.wait() do
local character = game.Players.LocalPlayer.Character
if not character then continue end

local hrp = character:FindFirstChild("HumanoidRootPart")
if not hrp then continue end

-- Clone the character if not already cloned
if next(cloneParts) == nil then
    cloneCharacter(character)
end
#

-- Calculate the cloned HumanoidRootPart's CFrame
local mappedPosition = Vector3.new(hrp.Position.X * scale, 0, hrp.Position.Z * scale)
local rotation = hrp.CFrame - hrp.Position -- Rotation part of the CFrame
local clonedHRPCFrame = CFrame.new(mappedPosition) * rotation

-- Update each cloned part's CFrame
for originalPart, clonePart in pairs(cloneParts) do
    if originalPart.Parent then
        local relativeCFrame = hrp.CFrame:Inverse() * originalPart.CFrame
        clonePart.CFrame = clonedHRPCFrame * relativeCFrame
    else
        -- Clean up if the original part no longer exists
        clonePart:Destroy()
        cloneParts[originalPart] = nil
    end
end

end

frigid token
#

How much does it cost to hire egg hatching scripter? Just asking

random shell
random shell
#

..

velvet vapor
#

Are variables atomic in roblox?...

lament scarab
queen cove
#

any scripters taking comms?

somber vault
somber vault
queen cove
#

ok

#

Dm me prices for anyone that is

somber vault
queen cove
#

id rather not say that in a public discussion

somber vault
#

ok i guess

rose hatch
#

hey anyone know how to fix a problem where mobile movement buttons dont load after respawning once?

hardy pilot
rose hatch
#

my game does use a main menu and it manualy loads the character

#

the problem has something to do with that

prisma anchor
#

Would anybody be able to give me some creative ideas to help improve my scripting ability, I'm around beginner level and just getting the grips with the fundamentals of lua

mossy yew
#

Does the roblox game api allow me to fetch/read all the users in my game?

gentle storm
umbral carbon
gentle storm
umbral carbon
#

Perhaps an "API" section

umbral carbon
gentle storm
#

but i dont know what he means by "read all the users"

umbral carbon
mossy yew
#

No not in a party I want to get the roblox user ids of every player in my game

umbral carbon
brave jay
#

anyone else unable to insert clothes into studio by ID

#

šŸ„€

still palm
#

Hey all, I’ve been learning Roblox’s API and lua for a little bit now, and I made this wrapper around TweenService intended to reduce boilerplate and make the syntax look a lot more procedural and simple to look at. If anyone could take a look and give any feedback or advice that’d be awesome, it’s very overly documented so that should help lol

Link:
github.com/ItsAltus/TweenPlus

maiden lagoon
#

how would you go about doing deepwoken like card flips? since viewport frames wont render surface guis?

acoustic vigil
#

dm me to make a game together

nimble orchid
#

From the Players class

#

Well that’s for players currently in a server. Not every player my bad

cedar patrol
#

So I have this movement system, and on the client it looks great but for other people it looks bad, it's like the walk animation gets reset on the server and makes it really choppy for other players to see any help is greatly appreciated.

hardy pilot
#

took me a while to spot too

cedar salmon
#

feel like he could of provided a better angle

#

i can see like 40% of the other player

#

i still don't really see it tbh

cedar salmon
cedar salmon
coral oyster
acoustic vigil
#

dm me to make a game together

velvet vapor
#

and because of that it will be a mess, no?

wheat void
#

any mods in chat? please

wheat void
#

silly boy

wraith mountain
#

Tbh I’ve never used profilestore/service normally to edit my data I have it defined like player data =this and then I find stuff inside player data like strings idk how to do that if I use profilestore does anyone know ?

coral oyster
#

worse

random quarry
#

Anyone see anything wrong with this im making a fling script

acoustic vigil
#

dm me to make a game together

glass narwhal
#

Does anyone know any videos on YouTube etc. where they script simulator or clicker games and they show you how they script it

#

And is it worth starting to learn script now or is it at a time where AI will replace scripters soon?

median hill
#

If you watch videos you will replicate most of it cause you arent deeply understanding what youre scripting, you'll know what it does but you dont know how to utilize it entirely

#

But its only worth it if you want to learn scripting, and if you dont have a passion you shouldn't force it just to make a quick buck

glass narwhal
glass narwhal
#

But in general if ai coding wasn't a thing I would go all in

#

In scripting

median hill
#

I just read the dev forum basically or there was another roblox source. Ive been busy a lot but the roblox website has a good library of everything that has to do with code brick by brick

glass narwhal
#

I see

#

So YouTube tutorials etc won't really help!

#

?*

coral oyster
random quarry
glass narwhal
coral oyster
median hill
#

The most ai will do is enhance somewhat and to do that you must know scripting to begin with

#

You cant make a prompt telling it to make you a while script, you need to tell it what it needs to improve or whatnot

#

But it wont create you a whole game

glass narwhal
median hill
#

Look at the link I sent you in dms

coral oyster
median hill
#

Its the roblox documents

glass narwhal
coral oyster
#

all ai can do is fix somethings

glass narwhal
#

I see

median hill
glass narwhal
#

Because the fact it can already code stuff is interesting and it's only going to get better as time passes

median hill
#

Its very inaccurate for the most part the most i used ai to do was to learn basic code

glass narwhal
#

How did you learn from ai

median hill
#

I told it to give me codes that started basic and got harder and told it to let me guess what it did

#

It only helps so much though and its for like the very basics

#

That way I dont know why it was created and I only see the code that does what it does

#

Unlike a video that tells you to make a code to do a specific thing

glass narwhal
#

Ohh I see

#

So there's no best resource

#

Like a course or anything to learn

#

Scripting

median hill
#

I have a few courses on Udemy but I found that I forget most of the coding courses

desert spire
#

bruh its so hard to find dedicated scripters now days

median hill
#

I think 3d modeling is a good thing you could watch videos on but you wouldn't want to watch specifics entirely you'd wanna learn how to use tools and make forms, not like "how to make a donut" or anything

safe sail
#

any pro scripters?

lean ocean
timber fjord
safe sail
#

show me work

autumn oak
#

ts:Create(root, tweeninfo, { CFrame = CFrame.lookAt(root.Position, door.Position) }):Play()
how do i only tween root orientation to face/look at door without affecting root position because of server delays it slightly teleports me when moving

sudden python
#

who tf are you people where are the og members

proud valve
#

is this a good place to get help for being a beginner scripter? i need advice

umbral dock
#

im halfway through a scripting tutorial by brawldev

#

heres my latest practice code:

#
local function appleTree(banana, mango)
    local kiwi = banana - mango 
    if kiwi >= mango then
        kiwi = kiwi + 1
        print("Mario has", kiwi, "kiwis.")
    else
        print("Banana is not smaller than mango.")
        local pineapple = banana
        print(pineapple)
    end
end

appleTree(20,10)```
#

im nearly finished with the series so im finishing the basic tutorial this week

#

and then moving onto the advanced

void gull
#

whoever has animated vehicles message me im willing to buy

jolly harbor
#

(Also if you can make the tween run on the Client itself then that's way better than both options)

timber fjord
#

Is anyone good at VFX

proud lantern
# umbral dock and then moving onto the advanced

on the Advanced series don’t just watch and move on , make a note and write syntax along with 1 line explanation of it and only watch one or two videos and practice its content for that day .(i am currently on ep 13 of advanced 🤣)

lusty niche
#

yall what is the best playlist to watch for scripting for begginers

stable verge
lusty niche
candid kestrel
worn steeple
upbeat smelt
stable verge
lusty niche
candid kestrel
#

that comes later

#

need function first

leaden spruce
#

hi anyone actove

sudden estuary
#

si

frank charm
#

if anyone has experience working on what ive attached, lmk, looking for a bug fixer to fix a thing or two in my code (raycast and alike). just a minor math tweaking thing probably but cant figure it out for the life of me, shoot me a dm, obv compensated

#

cant attach video cause im new here : (

#

its project zomboid but top down, but i just cant fix a slight issue with wall dtc and lighting for raycast

mint geode
#

Can I dm someone, im trying to make a special move for my sword and its not working

runic quarry
#

What's the issue

#

Is it the rays cutoff on the top there

frank charm
#

i did a thing where if enemy in visione cone (the yellow), then they turn red

#

these are the 2 minor bugs i have left to solve for this fog system

random shell
somber vault
random shell
#

Just that?

somber vault
#

wdym

#

@random shell

random shell
#

That sounds cheap for the work..

somber vault
#

well i think thats a fair price

weak radish
hardy pilot
#

Skid discussion

hardy pilot
cedar salmon
blazing coral
lean ocean
spiral jungle
#

Make sure you put all the damage code on the client

#

And the raycast on client as well

lean ocean
#

Extra secure

spiral jungle
#

Make sure client has net work ownership of everything

#

It makes the game run extra smooth

lean ocean
#

Make sure you don't do anything on server

spiral jungle
#

It causes uneccesary latency

plucky plank
spiral jungle
#

no

#

whats a hakcer

karmic coral
iron skiff
#

@somber vault u doing comms?

somber vault
#

why here lol

iron skiff
#

I couldn't dm u for some reason

somber vault
#

dmed you

faint wraith
#

@tranquil lake

somber vault
#

Yo, if anyone wants to make a workout website with me, please DM me. You need to be a proficient person in back-end (Python and SQL)

remote bear
cedar salmon
hasty cobalt
#

Please

#

on roblox api

karmic coral
#

who wanna make a cashgrab iv got an idea + i do uis and ik investors

hasty cobalt
smoky violet
karmic coral
hasty cobalt
hardy pilot
karmic coral
hasty cobalt
karmic coral
hardy pilot
karmic coral
hasty cobalt
#

queln would you like a kiss too

hasty cobalt
hardy pilot
karmic coral
#

im a girl

hasty cobalt
#

no you aren't

karmic coral
#

ik

hasty cobalt
#

because I said so

karmic coral
#

im genderfluid

hardy pilot
#

Im a martian

karmic coral
hardy pilot
hardy pilot
hasty cobalt
#

glorb glorb

lavish spear
hasty cobalt
#

zorb

hardy pilot
lavish spear
#

i just came from my school

lean ocean
#

ā˜ ļø

copper apex
copper apex
#

Making AI write code for your games or 'vibe coding' your game, you will never understand what your code is doing

#

And you'll never learn ^^

karmic coral
#

yes

rapid siren
#

Is Ai efficient ? I know that it’s making progress but did it make that much to compare itself to a beginner or confirmed coder

coral oyster
gloomy kraken
#

ai code is not even beginner

remote bear
copper apex
open dock
#

how to make car spawning system neatly?

hardy pilot
open dock
#

not helpful

somber vault
#

Do servers lag after 10 hours because of something devs cant fix
Or because of dev memory leaks

remote bear
velvet vapor
#
local a = {abc = 1, 2, 3}

for _, v in pairs(a) do
    print(v)
end

for _, v in a do
    print(v)
end

is there a difference?

somber vault
velvet vapor
ripe plume
#

anyone know any open sourced viewport modules? too lazy to make my own to fit models and rotate them around the camera

somber vault
#

y all whats the best method enter to detect when a player enters and exits an area

ripe plume
#

use the module called ZonePlus, it saves you a lot of time

#

then you can simply use Zone.playerEntered / Zone.playerExited / Zone:getPlayers()

hardy pilot
ripe plume
#

yeah

#

just asked chatpgt rn gonna check if it helps me

somber vault
ripe plume
#

alr, did you try the ZonePlus module?

#

it always works for me, regardless of what I want to do w it

somber vault
#

I haven’t

#

Ill surely try it, thanks

ripe plume
#

np, lmk if you need help with the api

bronze path
#

its just however you implemented it that was incorrect, not the methods themselves

wanton cloud
ripe plume
#

haha

dark juniper
#

I can assure you it is not replacing mid level software devs anytime soon

bronze path
#

you can just use it as a tool, but dont use it for direct answers as it hallucinates a lot
just treat it like a search engine. you wouldn't believe everything you see off anywhere, learn to verify info and use common sense to see what's real or not

#

there are parts where it is and isnt useful

dark juniper
#

it will search forums for the best possible answer

#

its an amazing tool that saves a lot of time

#

not able to replace programmers though

pine torrent
#

I use AI for tweening gui and doing simple stuff or making simple funcs to gui

somber vault
bronze path
#

as long as the user knows what they're doing it's fine to use it. its pretty easy to spot hallucinations when youre more experienced

#

for AI assisted coding

iron oyster
#

AI isn't good with coming up with solutions imo (experience with Claude and Gemini)

#

I usually have to do my own research and giving it a solution

#

Which it then assists with implementation

pine torrent
iron oyster
#

But it never really gave me a good solution for architectural issues

pine torrent
#

Shit is chinese and efficient as fuck

#

Yet it fails doing beam raycast

dark juniper
#

I don't think we're going to see much improvement in it from this point

#

until quantum computing comes out

pine torrent
#

Never use AI to code anti cheat

dark juniper
#

just from looking at it

#

one field AI definitely isn't touching is cyber security

pine torrent
somber vault
#

I honestly think that you should never use AI in your coding

dark juniper
pine torrent
#

It all started when i was bored so i wanted to make anti cheat using chatgpt

#

Peak experience

dark juniper
#

if I wanted to learn assembly or something

pine torrent
#

Literally was giggling

dark juniper
#

I could do it 30x faster with AI help

dark juniper
pine torrent
dark juniper
#

yea its pretty broken

#

it got me into new types of math too

pine torrent
#

I would never think that west sahara is a country when i asked ai to give me names of countries that has direction in them

pine torrent
#

Not good for memorable stuff, like learning judging

pine torrent
ripe plume
#

I will definitely

solid comet
#

if ur a new scripter dm

ripe plume
#

what do u need?

somber vault
brave jay
#

first time building a complicated system.

i actually have no idea where to start.

ripe plume
#

what are you making?

brave jay
#

gun system

#

its a complex one tho

#

summer autism project

ripe plume
#

I made a trash one back in like 2021 maybe I can give u some tips

brave jay
#

id rlly appreciate it

#

ive made one before but it went horribly wrong

ripe plume
#

what happened?

brave jay
#

struggled with leaderboard and stats

#

and my cursr module didnt work

#

šŸ„€

pine torrent
# brave jay gun system

Start from adding variables and locations, then add gun.config = {} and then add functions accordingly

ripe plume
#

there is a devforum guy who gives out free gun animations btw, like holding, reload, etc

brave jay
#

oh im an animator

#

thats nott oo muh of an issue

#

oop W english

pine torrent
#

hi scorn

ripe plume
pine torrent
#

I'd start out with setup func cuz yea

brave jay
#

i need to figure out a way to make it functional before i start making it detailed

#

but the way ive made it detailed means that everything is split up into different modules for different services

pine torrent
#

Like

#

Start out from coding when gun is equipped

#

Then I'd go for shooting func and raycast

#

Then reload

brave jay
#

yeah thats smart actually

pine torrent
#

Then switching fore types

brave jay
#

this is the Ahh i made a while ag

#

ago

#

functional but basic

pine torrent
brave jay
#

its like super fas

#

fast lmao

pine torrent
#

Not good

brave jay
#

yeh ik it was just to test if i could do it tbg

pine torrent
# pine torrent Then I'd go for shooting func and raycast

Start out from gun equip and unequip
Go for shooting and raycast , adding muzzle flash, bolt, ect
Then to reload and magazine
Switching fire type
Making compatibility with crouch, sprint and salute (surge salut when equipped gun vro)
Then adding hitbox on hit, hitmarker, hit sound, damage indicator
And optimise it all

brave jay
#

do youknow a betteer way to raycast other than part1-part2
i get an issue in that when i shoot something thats not a part or in my ingore folder (other waysfor example), it cant render lmfao

pine torrent
# brave jay

I have 0.085 and it looks better than ur stripes, not toxic but bro don't use part raycast

pine torrent
brave jay
#

mm

#

did that for a clan?

pine torrent
#

att0 is fire part, att1 is hitpart, and to hold shit add part called beamholder insider ignorefolder

pine torrent
#

Literally best for start

brave jay
#

wjhats forge

pine torrent
#

But needs optimization and shit

pine torrent
#

Got it from opensource

brave jay
#

ill give this a whirl but tbh im lowkeyout of my depth

brave jay
#

i did part raycasting because i understand it

pine torrent
#

When ur beam is not raycasted when not hitpart

brave jay
#

oh cool

#

idk my programming ability is still rather limited

#

im still just a smoothbrain gun clanner at heart

pine torrent
brave jay
#

yeah

pine torrent
brave jay
#

sure

#

wyd

acoustic vigil
#

dm if you wanna join the dev team

pine torrent
acoustic vigil
#

dm if you wanna join the dev team

hasty cobalt
#

nobody aewnna join ur dev team

fallen depot
candid kestrel
acoustic vigil
#

dm me to make a game together

fallen depot
cedar salmon
lean ocean
#

but u dont fireallclients to play it

#

why would u do that

tropic sequoia
#

how do y'all figure out logic before you script?

lean ocean
#

thinking

cedar salmon
lean ocean
#

or just play it on the client

#

without firingallclients

#

and it will still replicate

fringe barn
#

What should i code for a portfolio

weak radish
fringe barn
weak radish
fringe barn
#

Ok

somber vault
#

guys

#

can someone gimme a game idea

#

that will make a lot of robux...

#

I can do anything exept come up with a game idea

#

...

valid trail
tiny obsidian
still palm
somber vault
#

Ok ok...

tropic sequoia
#

ideas cost money

tiny obsidian
#

bro thinks were gonna give him a idea that could make a lot of robux

#

instead of making it ourselves

#

šŸ’€

somber vault
#

only if i like it ofc

somber vault
tropic sequoia
#

Use chat gpt to give you an idea, before coding what did you want to create to have the motivation to start coding??

orchid schooner
tropic sequoia
#

best idea

#

I'm gonna use that

orchid schooner
#

Free infinite robux idea šŸ¤‘

somber vault
#

just so u know

#

i linked my roblox account in a server

#

do they get my data

#

?

orchid schooner
#

Not if it's a trustworthy bot.

somber vault
#

cause someone bought something for six hundred robux i didnt even buy

orchid schooner
#

You should never have to use your password when verifying

somber vault
#

so someone is in my acc

somber vault
orchid schooner
somber vault
#

like how do i get the informations etc

orchid schooner
#

This is illegal to do.

somber vault
#

oh yeah

#

thats true

#

do u got a game idea

orchid schooner
#

for free

somber vault
#

yeah tell me

orchid schooner
#

So you run really fast yeah

#

And then you do an obby (very original)

somber vault
#

how can i be viral, and make me robux

#

i dont think obbies, are great

#

idk

orchid schooner
#

You can't go asking for an idea

#

If someone has a good idea

#

they would make it themselves.

magic trench
orchid schooner
magic trench
#

thier is no Touched event

magic trench
tropic sequoia
#

do you even need waitforchild there

#

actually ignore me

magic trench
#

i am new idk.... that youtuber told..

tropic sequoia
#

Are you trying to wait for an instance to be replicated onto the workspace or

magic trench
#

nah m trying to locate the door

waxen token
#

Guys is it better to use hotboxes or Ray casting for combat systems

magic trench
#

when player touch a button

tropic sequoia
#

show me your exlporer

#

explorer

magic trench
#

k

orchid schooner
#

Depends

#

Fps?

magic trench
waxen token
#

For beginner and smoother game play kinda like kistune m1s in blox fruits where the player is just kinda stunned till the animation is finished

waxen token
orchid schooner
#

raycast hitboxes are great for melee in my opinion

tropic sequoia
#

it is a spelling error

#

go into waitforchild and add the correct spelling and

#

it should be in all lowercase

waxen token
#

Btw how did I get a dev tag next to my name i don't even know how

tropic sequoia
#

Something about TextChatService, search it up

magic trench
open thunder
#

`local model = script.Parent
local Part1 = script.Parent:FindFirstChild("Part1")

if Part1 then --checks if its part 1
Part1.BrickColor = BrickColor.new("Gold")
Part1.Material = Enum.Material.Ice
print("Part 1's Material is ice")
print("Part1's Color is Gold")
end

local function PartChecker(Part)
local Part2 = script.Parent:FindFirstChild("Part2")
local Part3 = script.Parent:FindFirstChild("Part3")

if Part2 then
    Part2.Material = Enum.Material.Metal
    Part2.BrickColor = BrickColor.new("Really black")

    if Part2.Material == Enum.Material.Metal then
        print("Part 2's Material = Marble!")
    else
        print("Part 2 is not Metal!")
    end
end

if Part3 then
    Part3.Material = Enum.Material.Marble
    Part3.BrickColor = BrickColor.new("Mulberry")

    if Part3.Material == Enum.Material.Marble then
        print("Part 3's Material = Marble!")
    else
        print("Part 3 is not marble")
    end
end

end

PartChecker()
wait(5)
PartChecker()`

sorry for the long message but i just wanted to know if this is a good and efficient script, there is really no purpose but to make colors change and basic stuff

tropic sequoia
#

hmmm

magic trench
tropic sequoia
#

show me whats in the button folder

tropic sequoia
#

why do you need a for loop if there is only 1 button

magic trench
tropic sequoia
#

ok

deft yarrow
#

am i cooked thats running for more than 35 min it will stop when it will reach 1000000

#

im actually testing my luck system and so i lauched that 1m roll test to see if it works good

tropic sequoia
#

do you know how type checking works?

tropic sequoia
#

do you know how type checking works?

deft yarrow
magic trench
tropic sequoia
#

for _, button: Part in pairs(buttons:GetChildren()) do

#

replace the for loop part with that

deft yarrow
magic trench
tropic sequoia
#

well he is searching for a part not a model

#

np

deft yarrow
magic trench
tropic sequoia
#

nah you just add : Model instead of : Part

#

Type checking hold on

#

advanced stuff, it is a choice if you want to use this or not

magic trench
tropic sequoia
#

I'd stick to the basics first though

#

watch crusherfires videos or brawldev's videos

#

they help

magic trench
tropic sequoia
#

ye

magic trench
tropic sequoia
#

for example

bleak glade
tropic sequoia
#

alr bro

velvet vapor
bleak glade
#

i would never use types,

tropic sequoia
#

bro that is type checking geez

#

jesus

magic trench
bleak glade
#

also dont hint the typecheck of a character as : Model

#

you can insert a rig in replicatedstorage and do this instead

#

Character : typeof(game.ReplicatedStorage.RIG)

tropic sequoia
#

very smart

#

didn't think of that

bleak glade
#

thats why you shouldnt do otherPart.Parent

#

but otherPart:FindFirstAncestorOfClass("Humanoid") :: Humanoid

velvet vapor
bleak glade
#

and not it just being a model

#

you get the filled in things a character would have

velvet vapor
#

ooohhhh

tropic sequoia
#

dang true

#

been typing model with character this entire time

bleak glade
#

its not bad but the rig is the better case

velvet vapor
#

but why does it give you things character would have, I thought it just finds that your rig has a type "Model" and then just replaces typeof(game.ReplicatedStorage.RIG) with a "Model"?

tropic sequoia
# magic trench ?

sorry bro the documentation should explain how to use it thoroughly

tropic sequoia
bleak glade
#

the script has access to its types now

tropic sequoia
#

not just characters

bleak glade
#

i beleive it just carries its types ovwer

velvet vapor
#

it would be strange if it works only with characters

velvet vapor
tropic sequoia
#

as a normal rig yes

#

:Character typeof(game.ReplicatedStorage.Rig)

bleak glade
#

you mean Character : typeof(game.ReplicatedStorage.Rig)

tropic sequoia
#

yeah mb

#

so confusing but I understand it a little, type checking as a whole

craggy niche
#

can anyone help me figure out whats wrong w this pls, the module script is child of the shop that im trying to toggle, and all the prints are working but the menu wont toggle when i press the button ingame

velvet vapor
# tropic sequoia as a normal rig yes

I don't understand what do you mean by that, I was asking like how I can interpretate for myself how this thing typeof(game.ReplicatedStorage.RIG) works and why does it fill everything that RIG has

so is it the same as this

type RIG = {UpperTorso: ..., Head: ..., and so on} ?

and Character : RIG after?

tropic sequoia
wispy fulcrum
#

How hard is it to make a car with achassis and for it to not have GUI? (The speedometer and engine turn on and such) or domes someone have a better car engine?

velvet vapor
tropic sequoia
#

you might want to use WaitForChild()

velvet vapor
#

no for playergui you don't need it

tropic sequoia
#

might be wrong

#

true

craggy niche
#

so i only need this?

tropic sequoia
#

just make the variables above the shopmodule require

#

and then

#

change the require

#

why is pickaxeshop variable changed create a new one named local playerGui = ...

#

change the require to require(playerGui.ShopMenu.PickaxeShop.ShopModule)

dark yoke
#

and the vid's not working wow

tropic sequoia
#

dang

#

how did you do it?

molten plinth
#

Looks really good šŸ‘

dark yoke
# tropic sequoia how did you do it?
local blurAmount = math.abs(MouseDelta.X) / 10
local blur = math.clamp(blurAmount, 0.22, 1)
dof.FarIntensity = blur
dof.FocusDistance = math.clamp(30 / blur / 4, 7, 30)

where dof is the depth of field effect in lighting

#

blur amount is the amount it should blur
blur is the same but clamped from 0.22-1

#

the difference from .21 and .22 is noticeable but from 0 to .21 not as much

velvet vapor
#

i look at the video and still see the blur, what's the idea of the vid?

dark yoke
#

and if you use blur it blurs the entire screen

velvet vapor
#

oooh i see

dark yoke
#

I've seen a grand total of one person use depthoffield and it's so smart

tropic sequoia
#

thats so smart

tropic sequoia
#

tested it out

#

grabs every type annotation of the rig part, and knows what is inside a character

valid axle
#

bro how the hell do you preload animations correctly? Like all my animations which got animation events dont preload correctly

tropic sequoia
#

wdym

valid axle
#

js how do you preload animations

shut sorrel
#

just load all the animation to the animator, play them later

tropic sequoia
#

don't you just use tables to store animationId's and load them individually when you need the animation

shut sorrel
#

use content provider to preload async the animation too

valid axle
#

animations dont preload

#

when i preload them with contentprovider

#

ts lit what im doin

shut sorrel
#

are you also loading them into the animator

valid axle
#

like

shut sorrel
#

animator:LoadAnimation

valid axle
#

yes bro

#

i want them to be preloaded

#

i got abilities and stuff

#

and i load the animations into the animator

#

but they aint preloaded

#

when i first play one of them

tropic sequoia
#

how come you want them preloaded?

valid axle
#

cause like

#

for example when you do a m1 with a greatsword the animation aint preloaded

#

and it looks "weird"

#

like its slow

#

how should i explain

#

you need to see it yourself

shut sorrel
#

Maybe play all the animations then stop them instantly

#

Just so they at least played once and are loaded

valid axle
valid axle
#

spike

shut sorrel
#

Yeah that's what I was talking about do it as the character is being created

#

CharacterAdded

valid axle
#

but like i never saw someone doin that

shut sorrel
#

and load the animations to animator, playing all the animations and stopping them won't lag anything

valid axle
#

it will

#

if i load 200 animations

#

and some of them also have animation events

#

it will cause such a lag spike

runic ocean
#

wsp

valid axle
#

will js do that i guess

tropic sequoia
runic ocean
#

yall know where to improve my knowlegde about proggramming languages ?? :
JavaScript
C++
Python
and Html ?

tropic sequoia
#

udemy

safe jolt
tropic sequoia
#

costs tho

orchid osprey
shut sorrel
#

just load the ones you need when you equip the powers, not every single animation

valid axle
#

people need the animations

#

and if they aint preloaded

#

it looks t rash

#

i will js try to do the thing you said play them for a sec and stop them

shut sorrel
runic ocean
#

projects for each language

valid axle
#

god

#

bro theres youtube

#

google

#

like no joke use your brain a bit not to be rude

runic ocean
#

:0

#

i know that what i am looking for are better websites

shut sorrel
valid axle
#

also @shut sorrel the thing you told me worked

valid axle
runic ocean
#

also how do u make a website work šŸ’€

valid axle
#

im playing all animations for a second and stop them after and it works fine now

shut sorrel
runic ocean
shut sorrel
runic ocean
#

i dont like AI

#

makes my mind burst

#

ima just read pythons documentations

#

then other languages documentations

shut sorrel
#

yeah, it's just mostly reading until you decide on the project to make

runic ocean
tropic sequoia
#

ye learning more than 1 code language is tricky, you might mix up languages

#

or logic

idle meadow
#

guys im trying to code a parry system, but for some reason theres a slight bug where it fails to do so every once in awhile. Any clue as to what causes it?

outer aurora
#

hi there, I am currently scripting a pickaxe and I am trying to make it so that once its unequipped a physical model is copied from the tool itself and is placed on the players back
the game uses r15
weld.C0 = CFrame.new(0, -0.5, 1.25) * CFrame.Angles(math.rad(45), 0, math.rad(90))
(i basically cant find the proper weld C0 angle)

inner seal
#

man i hate doing frontend scripting

foggy burrow
#

Really

#

Backend is worse in my opinion but I like both

foggy burrow
#

I can’t give you the correct angle unless I’m in game

outer aurora
#

through pain and suffering?

urban quarry
#

Any1 got a touch soccer ball system

foggy burrow
deft yarrow
foggy burrow
#

Backend is the logic behind the system

prisma seal
foggy burrow
#

Front end is just the finalization of the system and putting it all together

foggy burrow
prisma seal
foggy burrow
#

Backend is the logic behind the system

deft yarrow
foggy burrow
#

And the front end is the actual system

#

Or what the player sees

foggy burrow
#

Client side and server side

#

Client ain’t backend or front it’s just client

deft yarrow
#

Ok tysm

foggy burrow
#

Mhm

thin nova
#

very smart code 😃

umbral carbon
#

CFrames and that crap

umbral carbon
#

Enterprise grade authentication right there

velvet vapor
tropic sequoia
#

dang wasn't thinking but you get the idea

#

couldn't be bothered to make another variable

craggy niche
#

anyone know why this doesnt work

little crest
craggy niche
little crest
#

k cool

dark juniper
#

then print(ā€œDid not workā€)

craggy niche
#

its alg its fixed

little crest
#

tween wrapper ?

deft yarrow
#

yh what is that

dark juniper
#

Stupid ahh question

#

bro thinks he the cs guy

little crest
deft yarrow
#

fr

dark juniper
little crest
#

k

acoustic vigil
#

dm me to make a game together

craggy niche
#

anyone know why the print isnt working

#

local script in starterplayerscripts

little crest
#

input.UserInputType ==

#

not input ==

#

ah didn't see has been answered

still palm
# craggy niche anyone know why the print isnt working

just for more context from last guys answer, the input doesnt directly equal the mousebutton1 action, the InputObject is probably a table of user data. Specifying the .UserInputType is checking if its actually the UserInputType.MouseButton1

summer scarab
# craggy niche anyone know why the print isnt working

You’re missing a parameter after input ā€˜gameProcessed’. Check if it’s false and put the if statement checking if the input is a mouse click in it (btw do input.UserInputType instead of just input in the condition)

glass sparrow
#

I have a great question.. how do you test the anti-cheat without get banned for use exploiter account to test

little crest
#

create an alt

#

no other way as far i know

glass sparrow
little crest
#

am I banned rn

glass sparrow
#

For evad the ban

misty lodge
little crest
#

so unless you got David Baszuki phone number, I think... just try alt

glass sparrow
misty lodge
glass sparrow
misty lodge
#

nah jk

zealous path
#

Guys we might have a 3rd geopolitical conflict this year

summer scarab
zealous path
misty lodge
#

oh shitttt

#

the indians r making a stand????

zealous path
cedar patrol
#

Is there a work around to my walk cycle resetting when changing directions?

safe terrace
#

looking for someone who wants to make a horror hunting game with me

fickle talon
#

does nayone here know how to use bridgenet

lofty plinth
fickle talon
#
                            entityId = entity.id,
                            name = entity.Stats.name,
                            health = entity.Stats.health,
                            maxHealth = entity.Stats.maxHealth,
                            level = entity.Stats.level
                        })
                    end
                end) ```
zealous path
lofty plinth
#

We're coming for round 2

zealous path
#

im brit indian

ancient urchin
copper jay
#

is it possible to move the player's chat bubble to an object?

#

or, to create a chat bubble above a part

ancient urchin
copper jay
#

ahhhhh

#

ok easy

#

thank you so much

ancient urchin
#

I think that method is a bit deprecated but you can still use it

ancient urchin
#

this one is not deprecated

bleak glade
ancient urchin
copper jay
#

is that automatically filtered or do i need to manually filter it myself?

copper jay
#

i guess i will simply have to test it

spiral vine
#

Hey!

ebon mulch
#

Is there any forum posts or something where I could learn how to scroll the UV of an editable mesh?

#

or could anyone show me

ancient urchin
spiral vine
#

Anyone need help w scrpting?

somber vault
spiral vine
#

eh?

copper jay
ancient halo
#

Ok so

#

Is there a way i can intergrate GlobalDataStore with DataStore:GetDataStore?

hasty mesa
#

because GetDataStore returns a GlobalDataStore

bleak grotto
#

Who wants to invest in femboy sim dm me

thin nova
#

Made in a graphing calculator

umbral carbon
#

Oh man that’s laggy

orchid schooner
#

That's crazy cool

thin nova
#

it runs way better on Desmos mobile

flint pewter
static coral
#

just use collectionservice

#

or even just folders

ancient halo
still palm
ancient halo
#

I wanna hagve these things tranfur between servers

#

and im not sure if i gotta use glbal data store

hasty mesa
#

they both do the same thing

fossil root
#

did collision groups just break for anyone else

static coral
hasty mesa
#

one just returns a unamed datastore

ancient halo
#

So they both transfur?

hasty mesa
#

the other renames a named one

ancient halo
#

ok

#

I was about to do someconfusing hsit just so i could use scopes

thin nova
drifting iron
#

whats the best way to do a luck multiplier in RNG system

thin nova
#

nowadays engines have taken the work of calculating 3D but in a graphing calculator there is no engine so you have to set it up yourself

#

you can also create shaders in Desmos if you really hate yourself

#

everything leads back to math sad

random nebula
#

well duh

#

all computer programs can be represente dby math

sour yacht
#

@tardy ivy hi dms pls

still palm
still palm
#

Didn’t read that lol

ripe plume
#

I'd recommend my own tutorials (if I can) šŸ˜‚

gentle plaza
#

who want it

#

NO IS A GFX GENERATOR

#

WHEN U PUT USER THAT GENERATE THE FULL CARACTER FOR EASY GFX

ripe plume
#

I do! i think around 50?

acoustic vigil
#

dm me to make a game together

karmic coral
karmic coral
hasty mesa
elder cloud
#

how do i get these plugins😭

static coral
#

most of them atleast

#

all that you might not have is blender animations

elder cloud
#

them?

static coral
#

the other ones are built in im pretty sure

static coral
elder cloud
#

my plugin tab looks like this

#

@static coral

static coral
#

rig builder and animations editor is in avatar tab

#

also click manage plugins u might just have to enable them

#

avatar importer you can just download from roblox creator store

#

and blender animations too probably

stable verge
#

Does anyone use Rojo?

elder cloud
autumn oak
elder cloud
#

this is

#

but idk how to download ts

timber star
#

Does someone know why character are getting less knockback when disabling motor6d parts and adding ballsocket?

chilly canyon
#

@distant hawk subaru

candid kestrel
median stone
#

any scripter want to make an easy game? im a builder/modeler and im looking to just make a quick little game to earn a buck to invest more into day trading. also i dont have any game ideas

jovial leaf
#

Aye what’s the alternative way to learn besides YouTube videos

#

Cause these hour videos not it

rapid silo
#

hello scripters could i get some minor help

#

I do not script. i have this shit right here

#
for _,Particles in pairs(pathToEmit:GetDescendants()) do
                if Particles:IsA("ParticleEmitter") then
                    Particles:Emit(Particles:GetAttribute("EmitCount"))
                end
            end```
#

how do I make it ENABLE instead of just emitting once

#

and then disable at a certain point

bleak glade
#

and a task.delay based on how long you want it to disable after

rapid silo
#

i have no idea how to do that

#

would u be able to write that out

#

if it isnt too much trouble

bleak glade
# rapid silo would u be able to write that out
local pathToEmit = workspace.YUTOFS["Right Arm"].FireHand
for _,Particles in pairs(pathToEmit:GetDescendants()) do
    if not Particles:IsA("ParticleEmitter") then continue end
    Particles.Enabled = true
    task.delay(intvalue, function() Particles.Enabled = false end)
end
elder mica
#

dm me if you can make me a game for $5

bleak glade
#

if i had several i use ; to split it though if i keep it on that line

hoary cedar
#

You're ommitting a single keystroke

#

All the while harming readability and editability

#

FYI, pairs was no longer necessary as of 2022

bleak glade
#

as ipairs wont work on them

rapid silo
#

oh i see this has sparked a debate

hasty mesa
#

nothing

#

for i,v in t do

hoary cedar
bleak glade
#

oh i used pairs for them

hoary cedar
ancient halo
#

Whats a good way to make a constant input?

loud stratus
#

@hoary cedar can exploiters tamper with arguments received on OnClientInvoke?

ancient halo
#

like an m1 thats always active even when stunned, or doing another move?

hoary cedar
#

Anything and everything that ends up on the client's device can be tampered with

#

The entire script could be rewritten for all they care

loud stratus
hoary cedar
#

On another note, you should heavily reconsider the necessity of invoking the client

loud stratus
#

yeah I know its dangerous lmao

#

I have a timeout feature implemented into it

hoary cedar
loud stratus
#

huh

loud stratus
#

i thought the client doesnt know what args the server passes it via remote events

hoary cedar
#

hookfunction is used to override RemoteEvent.OnClientEvent.Connect

loud stratus
#

ok thanks man

hoary cedar
#

From there, the arguments can be filtered by an exploiter

#

They could also just rewrite the code, lol

loud stratus
#

so then what can one do to prevent this?

hoary cedar
#

Fuckall

#

Don't try

loud stratus
#

😭

hoary cedar
#

Don't worry about the client

loud stratus
#

yeah oath

hoary cedar
#

If an exploiter wants to mess with their game, so be it

#

Worry about the server

hollow thicket
#

why this isn't working

quiet token
#

does luau index start from 0 or 1?

blazing lotus
quiet token
#

ok thanks

blazing lotus
shrewd dome
#

Is there any recommendations on stuff to start out coding with?

ex: things to make

somber vault
umbral jackal
#

who can script car chassis here

green hedge
shy carbon
#

Can anyone give me a game idea to make, I am bored and reasonably new, and want to build my skills.

ember otter
#

anyone know where to learn lua?

green hedge
shy carbon
#

what do you mean?

green hedge
#

like

ember otter
#

yt sucks bruh.

green hedge
#

a game like dead rails

ember otter
#

like a web or smth?

shy carbon
#

I have a lot to learn XD

green hedge
#

drag systems are easy

#

once you know it

weak radish
green hedge
#

i mean

#

i know a guy

weak radish
green hedge
#

who was new and still dit it

shy carbon
#

i might be able to make the pathfinding

#

i can use magnitude right?

green hedge
#

make tycoon?

#

like a mining sim

weak radish
#

And what have you done

shy carbon
#

not very long tbh i think like a month

#

i have made chat commands an incremental game helped with a hangout game

#

i don't remember everything

#

i can tween and do values like a money system

weak radish
shy carbon
#

i am not good with module scripts

#

and i can do datastores

weak radish
shy carbon
#

I just never had a need for module scripts