#code-discussion

1 messages · Page 35 of 1

balmy sorrel
#

ohhhh you're trying to pay for something

balmy sorrel
#

and what did he make?

hot stag
balmy sorrel
#

2k - 3k robux max

#

that shit is easy

#

hell I wouldn't even pay that much

#

somewhere in that range but try to go as low as you can

hot stag
#

i understand

#

thank you

plush elbow
#

I have a code so you can hear the steps of different materials.. local MaterialSounds =
{
[Enum.Material.Grass] = "rbxassetid://507863105",
[Enum.Material.Metal] = "rbxassetid://944089664",
[Enum.Material.DiamondPlate] = "rbxassetid://944089664",
[Enum.Material.Pebble] = "rbxassetid://944090255",
[Enum.Material.Wood] = "rbxassetid://944075408",
[Enum.Material.WoodPlanks] = "rbxassetid://944075408",
[Enum.Material.Plastic] = "rbxassetid://944075408",
[Enum.Material.SmoothPlastic] = "rbxassetid://944075408",
[Enum.Material.Sand] = "rbxassetid://944090255",
[Enum.Material.Brick] = "rbxassetid://4981969796",
[Enum.Material.Cobblestone] = "rbxassetid://4981969796",
[Enum.Material.Concrete] = "rbxassetid://944075408",
[Enum.Material.CorrodedMetal] = "rbxassetid://4981969796",
[Enum.Material.Fabric] = "rbxassetid://4981969796",
[Enum.Material.Foil] = "rbxassetid://4981969796",
[Enum.Material.ForceField] = "rbxassetid://4981969796",
[Enum.Material.Glass] = "rbxassetid://944075408",
[Enum.Material.Granite] = "rbxassetid://944075408",
[Enum.Material.Ice] = "rbxassetid://4981969796",
[Enum.Material.Marble] = "rbxassetid://944075408",
[Enum.Material.Neon] = "rbxassetid://4981969796",
[Enum.Material.Slate] = "rbxassetid://944075408",
}

local Character = script.Parent
local Humanoid = Character:WaitForChild("Humanoid")
local HumanoidRootPart = Character:WaitForChild("HumanoidRootPart")
local FootStepsSound = HumanoidRootPart:WaitForChild("Running")

Humanoid:GetPropertyChangedSignal("FloorMaterial"):Connect(function()
local FloorMaterial = Humanoid.FloorMaterial
local Sound = MaterialSounds[FloorMaterial]
if Sound then
FootStepsSound.SoundId = Sound
else
FootStepsSound.SoundId = "rbxasset://sounds/action_footsteps_plastic.mp3"
end
end)

placid pollen
#

so im making a inventory system(not the gui i mean the scripting) consisting of weapons,armors,consumables,etc. so what im doing is im making the inventory folder in the player where everything will be stored in string values and int values and stuff(like the stats of the weapons) and im gonna be making a default folder in replicated storage which has all the weapons, items of the game with their respective stats so when a player gets something it clones that from repStorage and then randomizes the values and levels and stuff and then stores in the inventory folder of the player. is that good or is there a better way to make a inventory system?

bleak glade
#

tables

#

if you have like 1000 values in yoru inventory thats 1000 instances

placid pollen
# bleak glade tables

ok so ill make a module script with a datatable that has all the items and then when a player gets an item it finds it from the database and puts it in players inven table?

bleak glade
#

unless you know what youre doing

placid pollen
#

nono ik

bleak glade
placid pollen
#

okk

bleak glade
#

you can figure otu the rest

placid pollen
#

ok alrr thanks a lot

somber vault
#

Bro game disks aren’t even games no more

#

They’re just pointers to the digital shop 😭

bleak glade
somber vault
#

I was making a joke

bleak glade
#

had me confused 💀

crude quarry
#

this is just a general question but If i wanted to make a part move from Block A to Block B and not teleport would I have to use tween service

mint cloud
peak sphinx
#

how much revenue does the game make

crude quarry
#
        hit:FindFirstChild("MovingPart")
        if hit.Parent == MovingPart then
            PointA.Transparency = 1
        else
            error("This is not a MovingPart")
        end
    end)``` What am I doing wrong? I'm trying to check if the moving part that touches the point is the moving part if it is it turns the point invisible
#

Keep in mind they're all parts

runic island
#

but SetBubbleChatMessageProperties is a valid member of textchatmessage?

mint cloud
crude quarry
#

yknow you right im thinking of users not parts

#

weirdly it doesnt go to else either

mint cloud
#

I’m confused abt the purpose of the program, you want to see if a player touched a point and make it disappear?

crude quarry
#

I have a moving part and I want it to move to 3 points a,b,c. I'm checking if the point being touched is the moving part if it is it will turn the point invisible

#

basically just messing around

mint cloud
#

Ohhh

crude quarry
#

I got the movement down im just being braindead about the touch function since im used to using players

mint cloud
#

Is movingpart its own object?

#

Or is it part of something else

crude quarry
#

its a clone from a folder in server storage

#
MovingPart.Parent = workspace
MovingPart.Position = Vector3.new(157.4, 0.5, 28.1)
local points = game.Workspace.Points

while true do
    task.wait()
    local TweenService = game:GetService("TweenService")
    local TweenInfo = TweenInfo.new(1)

    local PointA = points:FindFirstChild("PointA")
    local PointB = points:FindFirstChild("PointB")
    local PointC = points:FindFirstChild("PointC")

    local Movement = {}

    local Tween = TweenService:Create(MovingPart, TweenInfo,{Position = PointA.Position})
    Tween:Play()
    PointA.Touched:Connect(function(hit)
        if hit == MovingPart then
            PointA.Transparency = 1
        else
            error("This is not a MovingPart")
        end
    end)
    task.wait(2)
    local Tween = TweenService:Create(MovingPart, TweenInfo,{Position = PointB.Position})
    Tween:Play()
    task.wait(2)
    local Tween = TweenService:Create(MovingPart, TweenInfo,{Position = PointC.Position})
    Tween:Play()
    task.wait(2)
end```
mint cloud
#

First problem I see is your getting movingpart straight from server storage instead of cloning it

#

You should also probably keep it in replicated storage

quasi grotto
#

helo nerds

#

im back

crude quarry
#

MovingPart.Parent = workspace im cloning the folder then moving it to workspace

#

wait

#

no im just cloning the part

mint cloud
#

The formatting is weird on phone

#

But I think you want to delete the [moving part]:clone() line

crude quarry
#

I worry about formatting after I get results imo

mint cloud
#

And stick the :clone on the end of the first line

crude quarry
#

the weird part about all this code is I get no errors but it runs fine, it just ignores the touch function

mint cloud
#

Oh

#

Try hit:FindFirstAncestor(MovingPart)

crude quarry
#

its just so bizarre

mint cloud
#

Is it throwing the error?

crude quarry
#

nope

mint cloud
#

Try the ancestor thing

crude quarry
#

hit:FindFirstAncestor(MovingPart) == MovingPart or just hit:FindFirstAncestor(MovingPart)

mint cloud
#

Second one

balmy sorrel
#

and it's everywhere

mint cloud
balmy sorrel
#

what

mint cloud
#

U do know what that means without context right?

balmy sorrel
#

huh?

crude quarry
#

could it be the function itself thats causing the issue instead of the if statement

#

PointA.Touched:Connect(function(hit)

#

wait

#

yeah now it's prodcuing an error after I changed PointA to MovingPart

mint cloud
#

That’s progress

crude quarry
#

yes now I just gotta use my tiny brain to figure out how to tell if moving part is touching point A

mint cloud
#

Just do if Points:FindFirstChild(hit)

crude quarry
#

I think there's something that im missing

mint cloud
#

Did u use my suggestion?

crude quarry
#

ye

#

welp whatever like I said im just messing around so i'll figure this out later, gonna do some HTML and CSS

mint cloud
#

CSS🤮🤮

#

I’m gonna sleep 🙂 gn guys

crude quarry
#

I've told to use tailwind but that means I gotta use typescript which is gonna change a lot of what I just learned so I wanna die

remote bear
summer phoenix
#

would never

#

😭

remote bear
# summer phoenix would never

local thisWillReturnTheAbsoluteValueOfAnNumberWitchCanBeUsedToMakeANegitiveNumberIntoItsPositiveCounterpart = math.abs

shy dock
#

why does everybody want long term scripters; I can't find any small jobs

night maple
#

I tried to format it

real solar
#

anyone tryna buy my 600+ sub channel for 5k robux?

crude quarry
night maple
#

wdym goes to else

crude quarry
#

I have an else to return an error so I know its not working

#

because the code itself doesnt produce an error

night maple
crude quarry
#
MovingPart.Parent = workspace
MovingPart.Position = Vector3.new(157.4, 0.5, 28.1)
local points = game.Workspace.Points

while true do
    task.wait()
    local TweenService = game:GetService("TweenService")
    local TweenInfo = TweenInfo.new(1)

    local PointA = points:FindFirstChild("PointA")
    local PointB = points:FindFirstChild("PointB")
    local PointC = points:FindFirstChild("PointC")

    local Movement = {}

    local Tween = TweenService:Create(MovingPart, TweenInfo,{Position = PointA.Position})
    Tween:Play()
    MovingPart.Touched:Connect(function(hit)
        if hit.name == MovingPart then
            PointA.Transparency = 1
        else
            error("This is not a MovingPart")
        end
    end)
    task.wait(2)
    local Tween = TweenService:Create(MovingPart, TweenInfo,{Position = PointB.Position})
    Tween:Play()
    task.wait(2)
    local Tween = TweenService:Create(MovingPart, TweenInfo,{Position = PointC.Position})
    Tween:Play()
    task.wait(2)
end```
night maple
crude quarry
#

the only issue im having is the touch function on the bottom

night maple
#

Check the typing everywhere to ensure you havent made a mistake

night maple
#

but your original part is in server storage

#

so wouldnt that mean it just flies through the air not touching anything

crude quarry
#

Yeah basically
Storage - Workspace - position I need it then moves to 3 different points

night maple
#

what are u trying to do

crude quarry
#

move it between 3 points

night maple
#

r u learning tween

crude quarry
night maple
#

what

crude quarry
#

yeah it works fine, the issue is the touch function to make the point transparent after the moving part touches it

night maple
night maple
#

So pointb for example

#

not moving part

#

moving part is the one thats tweening

tacit moss
night maple
#

if hit.Name == PointA then pointA.Transparency = 1

#

@crude quarry

#

add prints and use them as sanity checks

#

lmk if it wirks

#

if it doesnt then print(hit) and lmk what it returns

crude quarry
#

ah thats why its printing baseplate

night maple
#

does it work now?

crude quarry
#

no I had it print hit and the baseplate was hitting it first which caused it to trigger else

night maple
#

Else isnt really good for debugging

#

cause you wont really even know whats wrong

#

you’ll just know something is

crude quarry
#

I added it because my code had no errors so I wanted to see if it was going to else or skipping the touch function all together

night maple
#

dont do that just use print statements

night maple
#

im rlly trying my best

crude quarry
#

nah its just back to skipping the touch function lol

night maple
#

whats ur code

crude quarry
#

MovingPart.Touched:Connect(function(hit)
if hit.Name == PointA then
PointA.Transparency = 1
print(hit)
end
end)

#

tried to mess around and change some stuff like == PointA to moving part but that didnt do anything either

night maple
#

MovingPart.Touched:Connect(function(hit)
print(hit)
if hit.Name == PointA then
PointA.Transparency = 1
end
end)

#

lmk what it returns now

crude quarry
#

I need to anchor the part so ignore baseplate

#

weird anchoring it removed the output

radiant lantern
#

wow

shy dock
#

how am I supposed to get small jobs for payment? #scripter-hiring is just full of people looking for a long-term scripter

vital parrot
#

How do I add this to my typechecking?

#

I got this down but some reason it wont show me :IncreaseSoldiers it'll only work with .IncreaseSoldiers

glacial fog
toxic cliff
#

is this good:

local part = game.Workspace.Part
local partColor = part.BrickColor.Name
local partIsTouched = false
print("The Winner is the last one standing!!")
print("Each time a person gets Really red as their part's Color their health decreases!")

game.Players.PlayerAdded:Connect(function(plr)
    local leaderstats = Instance.new("Folder")
    leaderstats.Name = "leaderstats"
    leaderstats.Parent = plr
    
    local colorSpins = Instance.new("IntValue")
    colorSpins.Name = "Color Spins"
    colorSpins.Parent = leaderstats
    colorSpins.Value = 0
    
    local color = Instance.new("StringValue")
    color.Name = "Color"
    color.Parent = leaderstats
    color.Value = partColor
    
    part.Touched:Connect(function(hit)
        local humanoid = hit.Parent:FindFirstChild("Humanoid")
        if not humanoid then return end
        if partIsTouched == false then
            partIsTouched = true
            part.BrickColor = BrickColor.Random()
            colorSpins.Value += 1
            color.Value = part.BrickColor.Name
            if color.Value == "Really red" then
                print("UH OHHHH")
                humanoid.Health = humanoid.Health - 10
            end
            task.wait(1)
            partIsTouched = false
        end
    end)
end)
silver verge
#

No

#

youre making a new touched connection everytime a player joins

wicked sentinel
#

You're also using a poor debounce system, your current system is global for the part, regardless of who touches the part it will prevent everyone from using it

tepid tide
#

Hi. I need help with egg hatching system I will pay pls dm

eager dagger
# vital parrot

you need to do:

IncreaseSoldiers: (module: self, all ur vairabled) -> nil

#

or -> ()

eager dagger
#

np

dreamy berry
#

Can multiple TweenService work in just 1 script ?

frail glen
#

guys

hardy pilot
frail glen
#

?

#

choose

#

which idea is better

#

pokemon game

#

orIn this anime-inspired RPG, players step into a vast, mysterious world where they take on tasks, battle strange creatures, and explore a dangerous, ever-changing forest.

At the start, players arrive in a settlement or hub—a place where they can interact with NPCs, accept tasks, and prepare for their journey. The world is filled with mystical energy and semi-living beings, creatures that exist somewhere between life and something else. No one knows where they come from, but they roam the land, especially deep in the forest.

Players take on missions—some simple, like gathering materials, and others more intense, like hunting creatures or uncovering ancient secrets. As they complete these tasks, they earn better gear, making them stronger and allowing them to take on greater challenges.

But the real test lies beyond the settlement. Outside the safe zones, a massive forest stretches endlessly, growing darker and more hostile the further players venture. At first, the creatures are recognizable—beasts with twisted features, remnants of what they once were. But as players press deeper, the air grows heavy, their vision distorts with a reddish hue, and the creatures become more unnatural, surreal, and terrifying.

This forest is where the bravest players go, risking everything for powerful loot and hidden truths. Some don’t return. Others come back with stories of horrors that shouldn’t exist. The deeper you go, the harder it is to tell what's real and what's not.

It’s up to the player—how far will they go? How much will they risk? And what secrets will they uncover?

hardy pilot
#

Is this AI

frail glen
#

yea

#

but i created the idea

#

this is what i sent to gpt

#

its a world anime like where we are gonna create our own anime story
instead of basing it on an anime
where you get tasks have to complete them
to get stronger gear
where you can head into the forest and fight semi- creature like living beings
and the further you go the more youre screen gets blurry and red tinted and the stronger and strager enimies

#

i told him to explain it

wise ember
tardy pasture
#

dont dowload it its a virus

#

🙂

wise ember
#

its not tho

#

its vid

#

also I managed to fix the problem

#

but ran into another 💀

#

vfx wont load

deft stump
deft stump
wise ember
#

im new to scripting so idk what that is

iron oyster
#

animation priority

polar mason
#

Im animating my ui, and when i spam the button that toggles it the ui breaks and the position dosnt change

polar mason
charred night
polar edge
#

am i using the task.spawn correctly?

#

or was there a better way to do this

bright anchor
#

is this good for my first real script . it makes a text label when ever you clik r and tells you what number you got

#

local UserInputService = game:GetService("UserInputService")
local TweenService = game:GetService("TweenService")

local character = script.Parent
local humanoid = character:WaitForChild("Humanoid")
humanoid.WalkSpeed = 1

local player = game.Players.LocalPlayer
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = player:WaitForChild("PlayerGui")

local textLabel = Instance.new("TextLabel")
textLabel.Parent = screenGui
textLabel.Size = UDim2.new(0, 200, 0, 50)
textLabel.Position = UDim2.new(0.5, -100, 0.5, -200)
textLabel.BackgroundTransparency = 1
textLabel.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
textLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
textLabel.TextScaled = true
textLabel.Text = ""
textLabel.BorderColor3 = Color3.fromRGB(255, 255, 255)

UserInputService.InputBegan:Connect(function(input)
if input.KeyCode == Enum.KeyCode.R then

    task.wait(0.2)

    local random = math.random(1, 6)
    print("You have rolled a dice")


    if random == 1 then
        humanoid.WalkSpeed += 1
        humanoid.JumpPower += 1
        print("You got 1!")

    elseif random == 2 then
        humanoid.WalkSpeed += 2
        humanoid.JumpPower += 2
        print("You got 2!")

    elseif random == 3 then
        humanoid.WalkSpeed += 3
        humanoid.JumpPower += 3
        print("You got 3!")

    elseif random == 4 then
        humanoid.WalkSpeed += 4
        humanoid.JumpPower += 4
        print("You got 4!")

    elseif random == 5 then
        humanoid.WalkSpeed += 5
        humanoid.JumpPower += 5
        print("You got 5!")

    elseif random == 6 then
        humanoid.WalkSpeed += 6
        humanoid.JumpPower += 6
        print("You got 6!")
    end

    textLabel.Text = "You rolled a " .. random
    textLabel.Visible = true

    
    task.wait(1)

    
    textLabel.Visible = false
end

end)

digital canopy
digital canopy
#

U could just do humanoid.WalkSpeed += random
humanoid.JumpPower += random
print("You got ".. random .."!
Instead of all that

bright anchor
polar mason
static coral
#

if you put a script under an actor will only threads that use :ConnectParallel and task.desynchronize be in parallel or will any threads that you create from the script be in parallel?

keen zephyr
#

hello, I am trying to make the lava rise to the top of the glass but it doesn't just rise up, it increases the y axis but also goes into the ground if u get what I'm saying. How can I fix this?

#

^^this is my code

static coral
#

then you have to use normalID of the face of the part that is pointing upwards

keen zephyr
#

👍

#

okay I will try this thank you

static coral
keen zephyr
digital canopy
#

UI tweening has this same problem and I do that, it should work on parts too

static coral
#

and it will resize accordingly

digital canopy
static coral
#

and actually you can do the same with parts, just change the pivot

static coral
#

ui will resize from its anchorpoint

digital canopy
#

Ik it's useful but I don't use it

static coral
#

you can just account for the anchorpoint

#

its not hard

digital canopy
static coral
#

i always set all my ui anchorpoints to .5, .5

digital canopy
#

what does .5,.5 do?

static coral
#

otherwise its shit for tweening and centering

#

it sets anchorpoint to the center of the part

#

anchor point position is between 0 and 1 because it uses scale factor

digital canopy
#

For every single UI?

static coral
#

anchorpoint position in pixels = ui position * scale set for anchorpoint

static coral
digital canopy
#

Will that solve the issue when frames do not stay at the center when it's positioned on center on your screen for other screens

static coral
#

except for like loading bars that resize from left to right or health bars

uncut dove
#

About how much would it cost for a full working battlegrounds like combat system?

digital canopy
static coral
digital canopy
#

okay thanks I'll try to use it

#

also what are some exceptions?

#

when you shouldn't use it

static coral
#

if u set anchorpoints to .5, .5 then u can set ui position to exactly .5, .5 in scale factor and it will be perfectly centered

static coral
static coral
#

but for my menus and stuff that i want to center i use .5

#

its easier because if anchor point is 0, 0 you have to calculate the offset from the center to center it in the screen

#

and thats just ass

placid pollen
#

i have made a inven system in which the player has a table Inventory and a table of equipped items. when player equips it moves the item from inven to equipped table pretty simple. now the player can get multiple of the same item with slightly different stats. so should i give each item a id using math.random or is there a better way?

eager dagger
#

who is good with IK constraints?

marble breach
#

If anyone wanna works on a percentage based game which u can use for portfolio DM ME

toxic heath
#

Is it physically impossible to move a PBR texture? I want to make a conveyor belt look like it’s moving but I can’t seem to make the material move through any level of scripting.

native orchid
toxic heath
#

i still have zero understanding of editable meshes

static coral
toxic heath
#

arent they really intensive on performance

static coral
#

wdym

#

sorry i havent really used pbr

toxic heath
#

a texture is completely flat

static coral
#

but you are still using a texture object tho right?

toxic heath
#

texture objects dont support pbr

#

only a static image

static coral
#

oh

#

idk then sorry

real pebble
#

how do i convert a table into a number/ which says how many contents there are in the table?

zenith sapphire
#

ok code assist

jaunty path
#

i cant seem to make the animation two handed, is it because of the script or animation? heres the script for reference:

local tool = script.Parent
local anim = Instance.new("Animation")
anim.AnimationId = "http://www.roblox.com/asset/?id=137295646158221"
local track
tool.Equipped:Connect(function()
   track = script.Parent.Parent.Humanoid.Animator:LoadAnimation(anim)
   track.Priority = Enum.AnimationPriority.Idle
   track.Looped = true
   track:Play()
end)
tool.Unequipped:Connect(function()
   if track then
       track:Stop()
   end
end) 
hasty mesa
terse vector
#

@fervent belfry ^^^ get em

half temple
#

LocalScript

local Players = game:GetService("Players")
local player = Players.LocalPlayer
local RunService = game:GetService("RunService")
local StarterGui = game:GetService("StarterGui")

StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Chat, true)

local frame = script.Parent

local function updateIconPosition()
    local chatParent = game:GetService("CoreGui"):FindFirstChild("BubbleChat")

    if chatParent then
        local chatButton =
        chatParent:FindFirstChildWhichIsA("Frame", true)
        if chatButton then
            local absPos = chatButton.AbsolutePosition
            local absSize = chatButton.AbsoluteSize
            frame.Position = UDim2.new(0, absPos.X + absSize.X 
            + 5, 0, absPos.Y)
            frame.Size = UDim2.new(0, absSize.X, 0, absSize.Y)
            return
        end
    end
end


updateIconPosition()
RunService.RenderStepped:Connect(updateIconPosition)
#

I'm trying to make a script that basically detects the chat logo's button, receives its size and position, and then to modify my frame to adjust to its exact size and position; similarly to how a custom chat button would do, but in this case I am trying to make a button with the same style ROBLOX has.

However, the main issue is that I can't access the CoreGui, which the issue states that its at line [11] since I tried to access it there, giving the error "The current thread cannot access 'CoreGui' (lacking capability Plugin)".

Perhaps I am trying to access it incorrectly or did the system change?

toxic heath
#

its like theres a short delay

exotic root
#

need scripter

#

for battlegrounds game

static coral
half temple
#

okay thanks, i'll try

static coral
#

alr

#

if it doesnt work then idrk

half temple
static coral
#

nope

#

maybe check topbarplus

#

the module by hd

#

or whatever he called

carmine imp
terse vector
#

You mean you don't want to use RStudio for animations? Or an easier way rather than uploading and getting it's assetid, if the latter then yes, there are ways to directly import custom animations and implement them freely.

red night
tawdry terrace
#

yo

#

is this ai?

misty bay
#

@stuck radish i am sorry for 4 application to apply for luau programmer 🙏

#

i quit its not for me, sorry for wasting your time

cinder basalt
#

show flight script

cinder basalt
tawdry terrace
cinder basalt
#

lol

#

who sent u a not working script 😭

tawdry terrace
#

i got scammed

cinder basalt
#

must be some newer model ai

tawdry terrace
#

i told a guy to edit my script but he used ai

cinder basalt
#

never seen ai use self

tawdry terrace
cinder basalt
tawdry terrace
#

i told him to fix errors and make it more optimized and he used ai deleted al outputs and important functions

tawdry terrace
cinder basalt
#

😔

#

report him

tawdry terrace
#

hes not in this server

cinder basalt
#

;d

tawdry terrace
#

he was in my dm randomly

#

and he said he could help

cinder basalt
#

something like dis usually says ai

#

who uses exlamation marks

#

🗿

#

there are some people who would actually write it like this tho so its not 100% accurate

tawdry terrace
#

i hate scammers

cinder basalt
#

and 0 comments is also sketchy

tawdry terrace
#

i got scammed 11 times though i still pay upfront believing at least 1 person wont scam

tawdry terrace
#

ok now i wont

#

bro they were all so nice and then when i paid them most of them gave me a file of ai or stolen assets or nothing with empty folder

cinder basalt
tawdry terrace
#

i do check portfolio

cinder basalt
#

or sites

#

cus portfolios can be stolen and chances of you recognizing anything from these as stolen are near 0

tawdry terrace
#

he is never online

#

so now i am looking for another dev m getting scammed

#

im real can you help me

cinder basalt
#

people look for smaller robux jobs often

tawdry terrace
#

improving my script.

cinder basalt
#

BUT

#

never go first

#

unless they r clearly trusted

tawdry terrace
#

its my combat system, im not so good at scripting so fixing errors ig

#

ok

#

i wil leave the script in dm then

#

is that ok?

#

yeah np

#

you dont have to do it

#

optional

bright star
#

how do you check if this is enabled on a game you have previously published?

tawdry terrace
#

but i really do appreciate if you do

somber vault
#

if u r a coder what is this local text_label = script.Parent

local id = 177266782

local sound = Instance.new("Sound")
sound.Parent = script
sound.SoundId = "rbxassetid://"..id
sound.Name = "click_sound"

local function typewrite(object,text)
for i = 1,#text,1 do
object.Text = string.sub(text,1,i)
script.click_sound:Play()
wait(0.05)
end
end

while true do
typewrite(text_label,"🔊 Turn up your volume! 🔊 ")
wait(3)
typewrite(text_label," 😊 Have fun! 😊")
wait(3)
typewrite(text_label,"❤️ leave a like! ❤️")
wait(3)
end

cedar flicker
#

I'd assume this is is a typing effect.

#

Seems like an infinite loop too 🤣

ruby cipher
mint cloud
ember nimbus
cinder basalt
ember nimbus
#
🀀
🔀
🔊
🔊 

...

🔊 Turn up your volume! 
🔊 Turn up your volume! 🀀
🔊 Turn up your volume! 🔀
🔊 Turn up your volume! 🔊
cinder basalt
ember nimbus
#

no to turning your volume up?

hasty mesa
#

I will not turn up my volume

ember nimbus
#

do it buddy

somber vault
#

who can script and ui both?

somber raft
#

me

#

@somber vault

cinder basalt
#

i wish i remembered who it was arguing otherwise 😠

#

i hope u see this

native orchid
tiny obsidian
#

chat

#

im so cute

mint cloud
#

U have no motion bruh

sleek rose
#

If I'm making a dynamic hovercraft how should I go about making it float? Currently I'm using alignposition

long zenith
#

Hello, i will give up on vfx to learn coding. What language do you guys think i should learn? Any tutorial videos that have helped you?

somber vault
#

Is there any scripters here I have a question pls dm me

open oracle
#

No, sorry. Wrong discord

cinder basalt
mint cloud
#

Insert instructions for fruitcake copypasta:

rapid eagle
#

Do I preheat it?

mint cloud
cinder basalt
#

i forgot which ones though

stray oak
frail glen
#

uhm guys

#

ello

#

me have no brain

cinder basalt
#

true

frail glen
#

can i borrow some1's brain?

frail glen
#

prolly full of brain rot

cinder basalt
#

na i use it to process tiktok vids in my head

frail glen
#

and one piece

frail glen
cinder basalt
#

tiktok vid go in -> worthless mush go out

frail glen
#

cant even write acually right 😭

#

bruh

#

did it again lol

cinder basalt
#

cant think and write simultaneously

frail glen
#

who wants to volunteer with a brain to me

#

i got an idea

cinder basalt
#

dead waters?

#

dead lands?

#

dead trails?

#

dead caves?

#

ima hit the right one before u fionish typing

#

dead skies?

#

dead jungles?

frail glen
#

local Brain = Instance.new("Part")
local Plr = game:GetService("Players")
Brain.parent = Plr```
cinder basalt
#

dead wheels?

frail glen
#

this should work

frail glen
#

idk what took me so long

cinder basalt
#

make it local

frail glen
#

i feel smarter

#

BRRR SKIBIDI DOP DOP DOP YES YES

cinder basalt
#

u dont want to be thinking on the server

cinder basalt
#

'code discussion' my ass 💀

frail glen
tiny gull
#
function nodes.createGrid(c1, c2, plot)
    nodes._data.gridIncrement += 1
    local grid = {}

    --dimensions and steps
    local xAmt = c2.Position.X - c1.Position.X
    local zAmt = c2.Position.Z - c1.Position.Z
    local xStep = nodes._nodeDistance / 2 + nodes._nodeOffset
    local zStep = nodes._nodeDistance / 2 + nodes._nodeOffset
    xStep = xAmt < 0 and -xStep or xStep
    zStep = zAmt < 0 and -zStep or zStep

    -- bounds
    local xStart = c1.Position.X
    local xEnd = c2.Position.X
    local zStart = c1.Position.Z
    local zEnd = c2.Position.Z

    -- raycast parameters
    local filterTable = {plot.Objects, plot.Base}
    local rayParams = RaycastParams.new()
    rayParams.FilterType = Enum.RaycastFilterType.Include
    rayParams.FilterDescendantsInstances = filterTable

    -- Pre-calculate common values
    local midY = (c1.Position.Y + c2.Position.Y) / 2
    local baseOffset = nodesFolder.Base.Position.Y
    local yVector = Vector3.new(0, -baseOffset - nodes._yAxis, 0)
    local characterHeightVector = nodes._attributes.characterHeight_vector

    local workQueue = {}
    local gridIncrement = nodes._data.gridIncrement

    -- Build the work queue first, i was using nested loops, and then coroutines, im using batches now
    for xPos = xStart, xEnd, xStep do
        local x = math.floor((xPos - xStart) / xStep) + gridIncrement
        for zPos = zStart, zEnd, zStep do
            local z = math.floor((zPos - zStart) / zStep) + gridIncrement
            table.insert(workQueue, {
                xPos = xPos,
                zPos = zPos,
                x = x,
                z = z
            })
        end
    end

    -- Process the work queue in small chunks to distribute the load
    local chunkSize = 10  -- Process 10 nodes at a time
    local totalNodes = #workQueue

    for i = 1, totalNodes, chunkSize do
        local endIndex = math.min(i + chunkSize - 1, totalNodes)

        for j = i, endIndex do
            local work = workQueue[j]
            local xPos, zPos = work.xPos, work.zPos
            local x, z = work.x, work.z

            if not grid[x] then
                grid[x] = {}
            end

            -- Perform raycast to find height
            local rayPos = Vector3.new(xPos, midY, zPos)
            local result = workspace:Raycast(rayPos, yVector, rayParams)

            if result then
                local heightCheckResult = workspace:Raycast(
                    result.Position, 
                    characterHeightVector, 
                    rayParams
                )

                if not heightCheckResult then
                    local newY = result.Position.Y

                    grid[x][z] = {
                        name = '{' .. xPos .. ', ' .. zPos .. '}' .. '_' .. x .. '_' .. z,
                        X = xPos,
                        Z = zPos,
                        connectedNodes = {},
                        tags = {},
                    }

                    -- Defer expensive node creation to reduce buffer, it was buffering at the start of the loading
                    task.defer(function()
                        grid[x][z]['node'] = nodes.createNode(
                            grid[x][z].name,
                            CFrame.new(Vector3.new(xPos, newY, zPos))
                        )
                        table.insert(nodes._nodeBase, grid[x][z].node)
                    end)
                end
            end
        end

        -- to prevent freezing
        task.wait()
    end

    --wait for deffered node creation to complete
    task.wait(0.1)

    return grid
end

wondering if someone, can give me some advice on this

#

firstly i was creating the grid with attachments
so i switched to tables

#

for the node
and then i was using nested loops
but tht was buffering alot
so i used coroutines, which extended the load time but freezed alot
so im processing it in batches
wondering if theres anything i can improve one

#

its smooth rn tho

#

but if was to make the map yk bigger it'd prolly lag again

#

its for pathfinding

bleak glade
#

you just have to be smart enough to tell it to use it

cinder basalt
#

you can tell it to use anything and it will

#

but it just doesnt appear in the code naturally

wise ember
#

i dont have my pc rn

indigo thorn
#

Then save and reput the anim I'd into animation

#

This is what I'm assuming you did wrong, since I don't see code, but a lot of people make this beginner mistake ( me sometimes aswell)

rancid burrow
tiny gull
#

so no one can help me

#

thats crazy

rancid burrow
#

nobody gonna read allat

tiny gull
old valley
#

Unable to create an Instance of type "PhysicsProperties" guys i got error like this why

somber vault
#

anyone can help make dead rails game for free

wicked quest
#

willing to pay someone to make a model of an npc that follows you when your not looking

tropic plume
#

here is my script:

local player = game:GetService("Players").LocalPlayer
local char = player.CharacterAdded:Wait()
local hum = char:WaitForChild("Humanoid")
local UserInputService = game:GetService("UserInputService")
local dashCoolDown = 5
local textUI = game.StarterGui.ScreenGui.TextLabel

textUI.Text = tostring(dashCoolDown)

but for some reason, the textUI isnt updating\

wicked quest
#

yea

dusky fox
quick rampart
#

can someone help me with my scripts

brave gust
#

Check my bio!

wise ember
viral fjord
mossy yoke
#

New to scripting. should i just full watch this whole course

https://youtu.be/1srFmjt1Ib0?si=dk3Uelf5rTrbqILQ

This is a Lua Crash Course, filmed in hopes to teach you how to code in Lua. We cover all topics, beginner to advanced. Some of the topics you might find most interesting could be Tables (Lua arrays), OOP, Co-Routines and Metamethods. Beginners will learn everything from scratch (printing text, comments, data types, etc), but if you already know...

▶ Play video
mossy yoke
#

now what about a playlist like this

pearl briar
#

sure

#

i guess if u follow along instead of just watching

mossy yoke
#

yep i got roblox studio as we speak lol

#

and i have a google doc of notes to write

pearl briar
#

nice!

#

good luck brotha

quick sandal
#

I can't find any way to get the private server's cost with roblox's API

#

@hard bobcat

ornate dune
#

StarterGui:SetCore must be called from a local script?^^

marble breach
#

If anyone wanna works on a percentage based game which u can use for portfolio DM ME

mossy yoke
#

pretty basic but correct me if im wrong scripting is just stacking functions

pearl briar
remote mirage
mossy yoke
mint cloud
mossy yoke
#

wouldnt it be good tho to have it organized

mint cloud
pearl briar
#

yeah It keeps the script organized and makes it easy to read.

mossy yoke
#

ah okay sounds good

mossy yoke
#

May i eventually understand every single line in this lol

#

havent even reached what .Parent means 😭

remote mirage
#

that is.... concerning

mint cloud
#

Dw bruh we’ve all been there(some of us are still there)

mossy yoke
#

and he hasnt covered it yet

#

hes prob going to cover it very soon

remote mirage
#

what is he teaching you now

mossy yoke
#

im on episode 7y rn

#

7 rn

#

DISCORD 📜
Join my Discord Community if you want scripting help, participate in events/challenges, and make friends!
https://discord.gg/WC6kPu5W5P

MEMBERSHIPS 🎁
Get Access To My Scripts + More Perks By Becoming a Channel Member! 👇
https://www.youtube.com/@BrawlDevRBLX/join

BEGINNER ROBLOX SCRIPTING SERIES 🟢
https://youtube.com/playl...

▶ Play video
mint cloud
#

Dang bro is grinding

remote mirage
#

you should just read the roblox documentation bro

mint cloud
#

Careful not to get PBA

mossy yoke
remote mirage
mossy yoke
#

Preciate it bro

#

Im still gonna watch this course tho cause its more hands on video wise

mossy yoke
mint cloud
mossy yoke
#

Lol

#

Ima make sure to read all of this too

mint cloud
#

It means your so busy learning you never apply it

#

It’s what I did 😭😭

mossy yoke
#

ah

#

Well its good i have roblox studio following what he does

#

and then after each lesson doing my own thing

#

with whatever he just taught me right?

mint cloud
#

Yes

#

In the ~2 years since I’ve started learning luau I’ve spent like < 3hours on studio 💔

mossy yoke
#

I just hope 3-6 months from now i have decent knowledge and skill

#

I know this will take hours upon hours of learning

mint cloud
#

U for sure will

#

Only takes a couple weeks if that before u can do basic commissions

mossy yoke
#

My goal in 3-6 months from now is to have enough knowledge to build a very low skill/easy game such as an obby (as my friend suggested) and simple comissions too

#

Theres so much to make that i wouldnt even know what to make tbh lol

mint cloud
#

It takes about an hour to learn how to build and obby 🙏

pearl briar
#

all you need is a kill brick lol

mint cloud
#

And that includes basic gui, checkpoints and respawning

mossy yoke
#

that too i also gotta learn how to build/model 💔

#

my friend suggested i learn scripting and building/modeling as those are basically the most 2-3 important skills to have

#

or i could use low poly or any model packs out there

mint cloud
#

I ain’t ever learning how to model, live free

#

(jk)

#

-ish

mossy yoke
#

hopefully i fidn my connections along the way

mint cloud
#

Yup

mossy yoke
#

Hope to see how things end up by end of 2025

#

1+ year is all it takes

mint cloud
#

Hopefully I get off av and start scripting 🙏🙏

#

Gl

ornate dune
mint cloud
ornate dune
mossy yoke
storm swift
dusky fox
#

chat gimme some addicting game concepts

azure granite
#

no

pearl briar
#

no

rapid eagle
#

Do you speak reactions?

#

Like substitution reactions?

#

Of some metal oxides?

#

No, metal hydroxide

#

Cause then you rust

dusky fox
tacit apex
#

Hello i am looking for a scripter thats free for my roblox game are anyone intrested?

sacred mauve
tacit apex
#

This is the game and i only need like smals scripts i need so when the round starts if there is 1 player left they win the game and it all starts over again and i also want them to spawn with a gun

sacred mauve
ember leaf
#

guys how do i make a part that when touched triggers an animation/ music

solar knoll
#

anyone know why self is not being highlighted?

dusky fox
solar knoll
remote bear
dusky fox
#

very neat

#

hella laggy thogh. i recommend just using a plane with bones for optimization or if you ike the blocky look still go for meshes for the render fidelity

remote bear
dusky fox
#

very nice stuff tho

dusky fox
austere shore
#

day 7482 as for someone to make me an sword cryingdead WHYYYYY Skull sad_hamster \

austere shore
#

yes

remote bear
remote bear
dusky fox
#

put it up in creations

dusky fox
# austere shore day 7482 as for someone to make me an sword <:cryingdead:1121420690902499471> <:...
#

its really good. idk why people dont use it much

coral field
#

probably latency issues

dusky fox
# remote bear

a suggestion i have is adding the parts in a folder. not workspace since its gonna be super cluttered, and i see you are legit changing the positions even when they havent changed. this might lag so id change that, there might be more stuff that might lag the game but i have not looked at the script to judge it that much

dusky fox
coral field
#

maybe

#

ive never used it so

dusky fox
#

lol

coral field
#

its a hitbox

#

checks if something is in the raycasts detection

#

or something like that

#

then its used to attack the other player

wise ember
#

can someone help me? I want to change the IDLE and WALK/RUN animation but it wont work

#

this is the code

remote bear
austere shore
steady cove
#

dm me if you have experience with pytorch

half kelp
#

I need help with the game pass if your experienced with lua please dm me

rapid eagle
dusky fox
rapid eagle
dusky fox
half kelp
tacit apex
#

really @patent mirage

#

add me

topaz wraith
#

yo did yall learn scripting by forums or tutorials?

restive wigeon
#

but it's generally healthier to go on forums and read roblox documentation

#

and not copy code

topaz wraith
restive wigeon
#

infact, it's good to read the entire API but if you dont wanna then just read the part that you need/work wiht

restive wigeon
#

but generally i feel the same

topaz wraith
topaz wraith
restive wigeon
#

make an idea/small game

#

like, start with an obby

topaz wraith
#

Hmh

restive wigeon
#

and get to know roblox pyshics engine

#

CFrame, position and stuff like that

#

tweening is a big part

topaz wraith
#

But ain’t u gotta do that after the advance tut?

restive wigeon
#

?

topaz wraith
#

Cuz i still dk how cframe works or tweening enc

restive wigeon
#

in my opinion

#

that should be the first thing to learn

restive wigeon
#

cause it's not that complicated, you don't need some advanced syntax

static coral
#

and have you watched his beginner tutorial

restive wigeon
#

and it helps you to visualze code

topaz wraith
topaz wraith
restive wigeon
#

learn how to manipulate blocks first

static coral
topaz wraith
restive wigeon
#

oof

static coral
restive wigeon
#

at the very least you'd have to follow with him

static coral
#

i can guarantee you you dont know anything that you watched

#

rewatch the entire beginner tutorial

#

and then practice what you learn

#

and try to change it up and understand what is happening

idle rain
#

What is good retention for games

topaz wraith
#

For how long? And how many different scripts should i make with the thing i learned?

restive wigeon
#
  • bonus tip, try writing the code down on a paper or notepad
topaz wraith
topaz wraith
#

But what if i think i understand it but i acc dont?

static coral
#

id suggest even rewatching certain videos until you get the hang of what is being taught

#

but dont get stuck in tutorial hell

restive wigeon
#

for me, i forget CFRame parameters all the time, and I have a paper taped next to my screen with everything considering CFrame

restive wigeon
topaz wraith
static coral
restive wigeon
#

learn while making something

static coral
topaz wraith
restive wigeon
static coral
#

dont do devforum rn

#

you should use that later

topaz wraith
#

Okay so

#
  1. Rewatch the beginner tut
  2. Acc write with him and learn from it
  3. Make something
  4. Go to the next video
static coral
#

well there are beginner related things on devforum but id suggest just sticking to youtube tutorials, practice and experimentation for now

topaz wraith
restive wigeon
static coral
# topaz wraith Whens that

when you feel comfortable enough to use it. i mean there are beginner friendly topics on devforum but it can be a little advanced

#

another thing i suggest

#

or actually highly recommend

static coral
#

is to not just copy the code from the tutorial

#

try to understand what it does

topaz wraith
#

And then make my own code

static coral
#

and then try to change it and manipulate it

static coral
#

i also recommend learning programming terminology and roblox terminology because then you can use roblox documentation

topaz wraith
#

Bet

#

Uh

#

How long are you scripting for?

static coral
#

more or less a year iirc

topaz wraith
#

Wild

#

U seem pretty good

static coral
#

roblox scripting not that difficult

gloomy kraken
#

oh math.noise wasnt that bad

static coral
#

its based on lua

gloomy kraken
#

i thought it would be way harder

restive wigeon
#

roblox scripting isn't THAT hard

#

it's just that there's 1000 different functions, parameters and instances

topaz wraith
restive wigeon
#

for example for 2 way communications you have remote functions and bindalbe functions

static coral
#

built in functions and parameters are fine, its learning how to actually make use of the shit ton of services and different objects there are

#

like i can guarantee most people wont know what path2d is

#

and it can be pretty useful

restive wigeon
#

remote functions communicates server-client, and bindable function communicates local-local cript

restive wigeon
static coral
static coral
restive wigeon
#

local-local or server-server ye i know hta

topaz wraith
static coral
#

idk

restive wigeon
static coral
#

as many as you feel comfortable with

restive wigeon
#

it's how much you practice

static coral
#

just dont go too fast

topaz wraith
topaz wraith
#

Scripting is mentally abusement

#

Its horror

restive wigeon
#

depending on what you're working on

static coral
#

then i suggest learning building instead

topaz wraith
#

Na

restive wigeon
#

if you're just starting out in animation you'd ofcourse have to watch way more tuts

topaz wraith
#

I just gotta work my way through even tho its mentally abusement

restive wigeon
#

yyea building's a pretty good startline

topaz wraith
#

I wanna learn scripting, animation, vfx and ui

restive wigeon
#

start with learning how to manipulate parts, tweening the parts and etc.

#

make a game where you have to like

topaz wraith
restive wigeon
#

dodge balls being thrown at you

static coral
topaz wraith
static coral
#

you can learn how to manipulate them with code

topaz wraith
#

Building and modelling later or sm

restive wigeon
#

for starters just learn syntax

#

loops, functions, variables etc.

#

for example

#

for i,v in pairs(model) do
end

topaz wraith
#

Functions is a peace of code that can be re-used everytime right?

restive wigeon
#

is a very important one

static coral
restive wigeon
#

NO!

#

don't bully in pairs

static coral
#

ipairs maybe has SOME use but type checking exists

#

i will bully pairs

restive wigeon
#

or just do

#

for i,v in model do
end

static coral
#

thats gonna error 🤓

restive wigeon
#

😮‍💨

inner pendant
#

nerds

restive wigeon
#

i'v been doing maths for the past 3 hours and i'm hungry

#

cba doing anythign rn

#

so excuse my poor syntax

static coral
inner pendant
#

nope

#

yall sum nerds🤓

restive wigeon
inner pendant
#

nerddy nerd nerd

static coral
inner pendant
#

nerdy nerdy

#

nerdy nerdy nerd

restive wigeon
#

@static coral don't worry about him, he's just compensating

static coral
restive wigeon
#

better said, competence

loud stratus
#

💀

#

Pairs and ipairs should just be removed

static coral
#

the only place it can be “used” is in a table, if you want to loop through only the numerical indexes of a table

#

but you shouldnt have tables that have keys of varying types anyway

fluid pier
#

any of yall know any good mysql hosting services

dire patio
#

would a 2d soccer game have like 100+ conccurent players?

jolly vessel
#

just about any dopamine farm game would get 100+

stone glen
#

anyone wanna make game like me

coral field
bitter sage
#

how do i start scripting?

bitter sage
#

😔

split swallow
#

tutuorials maybe 🥀

bitter sage
#

thank

elfin blaze
#

ok so when i put sound under blade the script is fine but when its under hitbox the entire script breaks 😭

elfin blaze
#

a sword thigng idkkdidikd

surreal sky
#

sup am a beginner scripter its boring learning alone anyone wana learn and help out each other?

topaz wraith
mint cloud
gloomy lily
#

is there any way to load images in when the player joins so that when i change the image label it basically instantly loads?

keen narwhal
#

I just made chrome extension

#

Imma soon be moving like ropro

digital canopy
digital canopy
pseudo lynx
#

hi

#

idk if you guys could help for free i my project on making a first person camera with a white dot on the center of the screen, if you could i would be very thankful and i understand that you guys could have more important commisions. Thankyou !

static coral
topaz wraith
scarlet viper
#

Who can script a magic staff with m1,walk and idle animation Id included in script with vfx

jolly vessel
somber vault
violet grotto
#

hello im tryna fix my first person camera but i have a problem with setting the transparency of the accessory

local TransparencyTable = {}

wait()

for I, V in pairs(Char:GetChildren()) do
    
    warn(V)
    warn(V.ClassName)
    
    if V:IsA("BasePart") and V.Name == "Head" then
        
        TransparencyTable[V] = V.Transparency
        TransparencyTable["face"] = V.face.Transparency
        
    elseif V:IsA("BasePart") and V.Name ~= "Head" then
        
        warn(V)
        TransparencyTable[V] = V.Transparency
        
    elseif V:IsA("Accessory") then
        
            TransparencyTable[V] = {}
            TransparencyTable[V]["Handle"] = V.Handle.Transparency
            
    end
    
    
end```

thats the part of the script that stores the transparency of the different parts. the problem is when the player dies or spawns for the first time when the script runs it doesnt detect the accessories
somber vault
#

Okay,

pseudo lynx
#

hi
idk if you guys could help for free i my project on making a first person camera with a white dot on the center of the screen, if you could i would be very thankful and i understand that you guys could have more important commisions. Thankyou !

violet grotto
coral field
shut mountain
#

Looking for. 3rd world scripters to exploit wages hmu

fading sparrow
#

I can’t figure out how to do these dang chat tags I need to connect them to my group

static coral
elder spindle
#

can someone tell me why the parts do that??

function LoadEquipped(Player)
    local EquippedPets = PetMultipliers.Multipliers[Player.Name]

    for PetId, Value in EquippedPets do
        local PetModel = workspace.PlayerPets[Player.Name]:FindFirstChild(PetId)

        if not PetModel then
            local PetInstance = Player.Data.Pets[PetId]
            local NewPet = ReplicatedStorage.Pets[PetInstance.PetName.Value]:Clone()
            NewPet.Name = PetId

            -- anchoring
            for _, Part in NewPet:GetChildren() do
                if Part:IsA("BasePart") then
                    Part.Anchored = true
                end
            end

            -- adding gui
            local Billboard = script.BillboardGui:Clone()
            Billboard.PetName.Text = PetInstance.PetName.Value
            Billboard.PetRarity.Text = ReplicatedStorage.Pets[PetInstance.PetName.Value].Settings.Rarity.Value
            Billboard.StudsOffset = Vector3.new(0, NewPet.MainPart.Size.Y, 0)
            Billboard.Parent = NewPet

            -- position stuff
            NewPet:PivotTo(Player.Character.HumanoidRootPart.CFrame)            
            NewPet.Parent = workspace.PlayerPets[Player.Name]
        end
    end

    -- remove unequipped pets
    for _, PlayerPet in workspace.PlayerPets[Player.Name]:GetChildren() do
        if not EquippedPets[tonumber(PlayerPet.Name)] then
            PlayerPet:Destroy()
        end
    end
end
warm pumice
#

They’re not welded onto the pets properly

elder spindle
#

its inconsistent like it works sometimes then other times it does that

warm pumice
#

Well then make sure all parts are welded before spawning them into workspace

#

Pick a primary part and then weld all other parts that are a descendant of the model to that part

elder spindle
#

oh i did it

#

thanks

#

wait nvm no i didnt wtf

#

i added this but it still doesnt work??

            local PrimaryPart = NewPet:FindFirstChild("MainPart")
            if PrimaryPart then
                -- wait for it
                local success, err = pcall(function()
                    PrimaryPart = NewPet:WaitForChild("MainPart")
                end)

                -- check
                if not success or not PrimaryPart then
                    warn("Pet " .. NewPet.Name .. " has no PrimaryPart or MainPart")
                    continue
                end

                -- welding to primary
                for _, part in ipairs(NewPet:GetDescendants()) do
                    if part:IsA("BasePart") or part:IsA("MeshPart") and part ~= PrimaryPart then
                        if not part:FindFirstChild("WeldConstraint") then
                            local weld = Instance.new("WeldConstraint")
                            weld.Part0 = PrimaryPart
                            weld.Part1 = part
                            weld.Parent = part
                        end
                    end
                end
            else
                warn("Pet " .. NewPet.Name .. " has no PrimaryPart or MainPart..")
            end
warm pumice
#

Welded in wrong places

solemn pendant
#

This about welded

#

Thing

#

Fix this than done everything working

elder spindle
#

i dont understand

solemn pendant
elder spindle
#

dude i know what a weld is 😭

solemn pendant
#

Than fix this

#

That not hard

elder spindle
#

then how do i fix it

#

because it works sometimes and then other times it doesnt

#

see

solemn pendant
#

Like see the script if the script effect the weld

#

If this effect this than u better fix this

elder spindle
#

the script is the one adding the welds

solemn pendant
#

Weld

#

Don’t let script make weld on the pets system

elder spindle
#

wdym? like make the welds myself in the model??

solemn pendant
#

That effect ur game

#

To much

elder spindle
#

how come?

violet grotto
elder spindle
#

thats why im using a script

solemn pendant
#

For this problem

#

Or u can make big event

elder spindle
#

thats the only solution???

solemn pendant
#

With script

elder spindle
#

what is it

solemn pendant
#

But that take long tbh

#

And hard

elder spindle
#

idc its probably easier than doing all those welds myself 😭

#

tell me what it is

solemn pendant
#

Like if there
3 part on pet

#

That he weld that with custom weld on every pets

#

Whice make that easy

#

But that hard to make

elder spindle
#

and also im still confused why my current script is inconsistent?

#

because u said there's no errors

#

so why do the parts still do that

solemn pendant
#

You need notify the script how many part are they in the pet

#

Or make them by ur self

elder spindle
sullen summit
#

Ok so my script creates a text label when the player joins . I know how to customize how the label looks but do I really have to click play over and over to make sure it looks how I want it to

elder spindle
woven sand
#

guys, I’ve thought of something “simple” yet outright outrageous and ridiculous to implement in roblox

#

Is it possible if, lets say, screenshot every frame from a movie like the Avengers or whatever movie out there

#

Then add some sort of code like:

change decal 1
Wait()
Change decal2
Wait ()

In short: making a “functional movie”

#

and so on

#

How likely is this possible (lets pretend copyright isnt a thing)

static coral
#

cause of all the screenshots you gonna need

woven sand
#

im wondering if this would cause a large amount of lag from this or other performance issue

static coral
#

and you are likely gonna reach your image upload limit so you gonna have to wait a month for that too

woven sand
#

ah, crap

static coral
#

unless you use alts

static coral
woven sand
#

Fair enough

#

Thx for sharing ur thoughts about it

#

Its been on the back of my mind lately

lofty plinth
#

U can technically preload tho

#

And then play after theyve been all loaded

solemn pendant
#

That it

spiral drum
#

does anyone know machine learning

tropic plume
#

im adding mobile support to my game, and im making it so when you tap the screen it punches. However, im running into an issue: when i first tap the joystick button on mobile to move, it also punches. how do i prevent this?

elder spindle
vast kindle
#

I'm wondering as why my hitbox doesn't always connect, If i delay the hit it'll not connect, otherwise, it'll work

#

As you see the first front dash, it connects

#

but when i delay the hit, the hitbox doesnt connect

dark cedar
vast kindle
vast kindle
dark cedar
# vast kindle can u help tho?

I thought I could but, even if you were using getprtboundsinbox i realized your issue is the opposite of what I thought so I cant really sorry

vast kindle
#

It doesn't really connect

hasty steeple
# vast kindle Here's another video

I don't know shit about roblox but it looks like your detection only happens as soon as you spawn/create hit hitbox and not while its alive. Just my assumption tho

static coral
violet grotto
#

i cant test with more than 1 player after i start 1 i cant start another if i choose 2 players it only opens 1

#

why?

vast kindle
maiden moon
#

Who wants to become a Coder for my place?(free)

swift vector
#

hey uh how comes when i try to set the size of a part to a certain decimal number like 1.4, printing the value or trying to use it in a variable is showing as 1.399999..

hasty mesa
#

they aren't able to represent all decimals

swift vector
#

oh i see, is there any way to avoid this? (i.e make the variable save as exactly 1.4)

#

or should i just use a round function

hasty mesa
#

do you need it to be exactly 1.4

swift vector
#

yes

hasty mesa
#

for comparison?

#

or what

swift vector
#

yes im trying to work out if the x and z lengths are divisible by the y length (for applying textures)

hollow tinsel
#

watching tutorial, no idea how this works

swift vector
# swift vector

and here x and z are both 28 which is divisble by 1.4 but its showing false bc of the rounding issues

hasty mesa
hasty mesa
hollow tinsel
hasty mesa
hollow tinsel
#

does the = 1 have anything to do with it

hasty mesa
#

its like I give you 1 apple at the start

#

keep giving you apples until you have <=5 apples

hollow tinsel
#

so the local = starting vaue

hasty mesa
#

if local myWhileCounter = 2 it means you had 2 apples at the start

hasty mesa
hollow tinsel
#

if for the last line i chnage to +2 what happen

hasty mesa
#

then each time I would give you 2 apples instead of 1

hollow tinsel
#

very very helpful, thanks alot Thumbsup

obtuse trail
#

I need help with something which is probably easy to fix but i dont really know what exactly i should do. I just need the NPC model to keep playing the ''wave'' animation, but the animation is only working in the test server, not live. Anyone has a easy fix for this ? (dont need to roast me even if the solution is simple, please)

hollow tinsel
#

how come this print a once then print b 5 times)

#

so total printed 25 b , 5 a. shouldnt it only be 5 each

sick mortar
#

guys can someone help,? the monster only appears once? and when it says yes again it doesnt, and so on

#

people on code help are not helping can someone give me a hand here? 😦

tiny obsidian
hollow tinsel
sick mortar
#

r u gonna help me or not bro

sleek idol
#

true

dark cedar
dark cedar
vast kindle
cunning tundra
#

@somber vault

hollow tinsel
solemn mason
#

Any of yall got a project that I can do to practice?

radiant frost
#

if u dont get what that is doing

hollow tinsel
#

I now did get what it means

radiant frost
#

nah run it back from 0

hollow tinsel
#

= inside that 1,5,1 loop so it’s double loop

hollow tinsel