#code-discussion

1 messages · Page 221 of 1

rocky basin
#

lets see

ionic horizon
#

whats ur roblox userZ?

#

looks nice tbf

hallow crater
#

andrei85411

hallow crater
ionic horizon
hallow crater
#

im js kidding xD

#

heres my builds

hallow crater
rocky basin
hallow crater
#

the guy ditched me

hallow crater
rocky basin
hallow crater
rocky basin
hallow crater
ionic horizon
#

if thats actually real u should just force em to do partial up-front

hallow crater
hallow crater
#

$ would be outragous lmao

rocky basin
# hallow crater yeah

protip, give them a fake map (cut it by half the original or smth), and if they scam you, you just gave them a horrorous map

#

else, just give them the original

hallow crater
rocky basin
#

and say it was incase

hallow crater
rocky basin
rocky basin
#

bec they rushed him so hard

#

and said they were getting paid this month

#

to pay him

hallow crater
#

hmmm

#

did they ditch?

rocky basin
hallow crater
#

scammers get scammed ahgh

somber vault
#

Is there a performance overhead to using require by string vs direct parent requiring of modules?

#

Or would it be such a micro difference that it's not even a bother

lean ocean
#

don't bother

exotic dirge
distant hamlet
hallow crater
uneven plume
#

You wont find investor here + most roblox game have funding behind them before they even start

zenith sierra
#

im looking for a scripter business partner, i handle ui, animating, modeling and building
does anyone know where to look?

sonic sable
#

does anyone have experience in these troll tower games or know how they work?

visual estuary
#

would 3 dimensional frequency tables be able to be used to display more complex datasets?

split spruce
rocky basin
split spruce
#

Damn

#

Still lookin for work fr 😂😂

exotic dirge
#

how do u apply for lua role again I forgot

nova scaffold
#

How can I find more beginner friendly commissions, all I see are really serious projects looking for scripters with the craziest portfolios and people with years of experience, or dumb posts requesting the same amount of experience and paying 2K robux.

exotic dirge
subtle flower
#

can i ask, what is module script usefull for, i feel, that im missin something importatnt, if i am not using it

exotic dirge
#

and to create custom objects

#

or services

subtle flower
#

can i ask for some example?

subtle flower
#

wow, thx, now i understand, i can acces function inside the modul from any serverscript, TYY

somber vault
#

bro wtf are tags
who is even using them
just use i v loop
or are they important and i dont realise it just yet?

rocky basin
#

or npcs

#

basically you script to ignore for example the tag "npc"

somber vault
#

ooooh

#

thats a really practical use case

#

does the thing with tag

#

get collected from where

#

like replicated storage?

#

or only works for workspace?

rocky basin
#

everywhere

somber vault
#

oh that can be really useful

#

ight thanks alot!

timber venture
#

no

slender cairn
#

Any fighting game players need to test ma new skills :v

austere garnet
#

for what reason

#

?

dusk stratus
#

for what purpose

sonic sable
austere garnet
sonic sable
#

and plus whenver i try to post on marketplace my stuff gets taken down bot doesnt like me#

somber vault
#

pretty word that doesnt involve hiring directly

austere garnet
somber vault
#

fiiiine

bronze aspen
#

hey im just learning scripting but i dont fully understand "return" in scripting can anyone explain it to me please?

iron kraken
sand slate
#

who did ppl learn scripting from

nova scaffold
#

I would strongly recommend Brawl Devs youtube series

granite galleon
#

the script editor is definitely supposed to do this

obsidian geyser
#

no shit

onyx inlet
granite galleon
#

i didn't make the script

#

i was just looking through it because script analysis is screaming about random lines of code

#

roblox studio is absolutely dying

uncut niche
#

plr.PlayerAdded:Connect(function(player)
player.Chatted:Connect(function(message)
print(message)
end)
end)

can anyone explain to me why this aint working

deft coral
#

sometimes when doing find all replace all it reveals lua c files

#

and itll cause studio to crash/freeze from searching so many files

#

and reveal files in that kind of fucked up manner

granite galleon
#

no

#

it literally died just from me opening the script

#

because it's 1,700 lines of code

deft coral
nocturne onyx
rugged island
#

anyone know anyone here that can make chassis from scratch bro theyre impossible people to find

dull sleet
#

looking for scripter to make my entire game, deadline is 3 days, must have experience with knit, rojo, and whatever other framework sounded cool to me, pay is $3

dull sleet
#

it’s a completely real post i found in scripter hiring among 20 similar ones

summer aurora
exotic dirge
vocal vortex
solemn pawn
#

any1 wanna make a prison style game with me, hood game type

deft coral
#

hmm

wind pasture
#

well if you go to lMArena you can use Gemini 3.0 pro and its the best model with multimodel reasoning and more

exotic dirge
wind pasture
solemn pawn
#

lf skilled scripter for my game, dm me!

wind pasture
simple epoch
#

how do i turn a number into a %?

#

i tried

local module = {}

module.damage = function(dmg : number, dmgbuffs : number, pen : number, resistance : number)
    return (dmg + dmgbuffs%) - (resistance - pen%)
end
return module
#

its giving me red lines at the 2 ")" after return

dark mural
#

hey guys how do I implement a resource efficient hitbox for a large weapon that is able to destroy parts or models if they are within the hitbox or are hit by the hitbox.

cinder temple
cinder temple
simple epoch
cinder temple
#

Best of luck to u

simple epoch
cinder temple
# simple epoch thanks

Just keep at it! Its good that u try first and not afraid to ask for help when you really cant figure it out

exotic helm
#

What can I use for clipping my projects? Like take a vid for my portfolio

proud idol
#

cuz mobile screen has less resolution

tall trail
#
    if not Validator then
        return false
    end

    local MaxNum = math.huge
    if Validator.MaxNum then
        MaxNum = Validator.MaxNum
    end

    local function CheckArgs(GivenValue)
        if type(GivenValue) == "string" and not WhitelistedStrings[GivenValue] then
            warn("Invalid argument"..":", GivenValue)
            return false
        end

        if type(GivenValue) == "number" then
            if GivenValue > MaxNum then
                warn("Argument value:",GivenValue," exceeds maximum allowed value")
                return false
            end
        end

        if type(GivenValue) == "table" then
            for _, Value in pairs(GivenValue) do
                CheckArgs(Value)
            end
        end
        
    end
    
    CheckArgs(args)

    return true
end``` hey guys, I am working on filtering client data being sent over the network and I was wondering what else I should add to best secure my remote events? I have heard about schema comparison, but I am not entirely sure what that looks like. This is my first time dong something like this, any help would be much appreciated!
fathom sundial
#

key names, value types, etc

tall trail
exotic helm
#

Can y’all rate my animation in #animation please second day btw. If any tips please say (:

icy lava
#

Idk what skill to learn 😭

fresh basalt
tall trail
fresh basalt
#

like a double verification

tall trail
#

well, ive figured it out. The remote event wrapper should do a general data validation, and then your individual systems should take care of the rest. For instance, if the client requests to drop an item from there inventory, the inventory system should be in charge of making sure that they have what they are requesting to drop. But the remote event wrapper should be more in charge of type checking the values and making sure they are within the right range perhaps

ruby iron
#

why do you need a data validation

#

oh hell nah

wheat tiger
#

local wall = script.Parent
local allowedTeamName = "Guard" -- Team name

wall.Touched:Connect(function(hit)
local character = hit.Parent
local player = game.Players:GetPlayerFromCharacter(character)

if player then
    if player.Team and player.Team.Name == allowedTeamName then
        wall.CanCollide = false
        wait(1)
        wall.CanCollide = true
    end
end

end)

#

Anybody knows how I can make where this can do two teams at the same on this this is for a team door

wheat pumice
wheat pumice
#

local validTeams = { "a", "b" }

if table.find(validTeams, team.Name) then

wheat pumice
wheat tiger
#

local wall = script.Parent
local validTeams = { "a", "b" }

if table.find(validTeams, team.Name) then
wall.Touched:Connect(function(hit)
local character = hit.Parent
local player = game.Players:GetPlayerFromCharacter(character)

if player then
    if player.Team and player.Team.Name == allowedTeamName then
        wall.CanCollide = false
        wait(1)
        wall.CanCollide = true
    end
end

end)

#

like this

wheat pumice
#

ur missing the if check

wheat tiger
#

wait

#

local wall = script.Parent
local validTeams = { "a", "b" }

wall.Touched:Connect(function(hit)
local character = hit.Parent
local player = game.Players:GetPlayerFromCharacter(character)

if player then
    if table.find(validTeams, team.Name) then == allowedTeamName then
        wall.CanCollide = false
        wait(1)
        wall.CanCollide = true
    end
end
#

why u delete it

stiff saddle
#

because i just added things missing

#

idk for what u need script

#

like how should it work

#

if i know that i would make

#

nvm here

#

local wall = script.Parent
local validTeams = {"a", "b"} -- Change these to match your Team names
local isDoorOpen = false -- Simple debounce to prevent spam

wall.Touched:Connect(function(hit)
-- If the door is already doing its thing, just stop here
if isDoorOpen then return end

local character = hit.Parent
local player = game.Players:GetPlayerFromCharacter(character)

if player and player.Team then
    -- Check if the player's team is in our list
    if table.find(validTeams, player.Team.Name) then
        
        print(player.Name .. " allowed through.") -- Good for debugging
        isDoorOpen = true
        
        wall.CanCollide = false
        wall.Transparency = 0.5 -- Nice visual cue that it's open
        
        task.wait(1) -- Using task.wait is smoother than wait()
        
        wall.CanCollide = true
        wall.Transparency = 0
        
        isDoorOpen = false
    end
end

end)

#

@wheat tiger check if works

#

idk if it will work or not

#

it should work

wheat tiger
#

alr

#

holup

stiff saddle
#

ok

wheat tiger
#

works

#

ty

stiff saddle
#

np

#

thank me

#

/thank

#

o it is not in this server

#

nvm

#

np

wheat pumice
#

task.wait isnt "smoother"

#

not for delays like a second

#

its just newer

#

if u do wait() vs task.wait() without args is when differences show

rugged mist
#

how do people make those trails that just follow the movement path

rough vine
#

@rugged mist can I ask u a scripting question

rugged mist
#

sure

rugged mist
#

@here

deft coral
#

Or some other property idfk

deft coral
rugged mist
#

how does he do it then in this video

deft coral
#

Is it even rotating..

rugged mist
#

its rolling

#

obviously...

#

therefore it is rotating

pale bridge
#

yo do i actully need a published game to get programmer role or can I just show work done in studio

pliant robin
#

u

deft coral
#

Its just a pastebin of a 200 line script explained via comments

solid vault
jovial ember
#

THANK YOU @stiff saddle

stiff saddle
#

Np

white nova
#

hhggg

somber vault
#

guys

#

if i want to weld a player on a block when the block is moving

#

what to use weld or weld constraint

deft coral
#

And a c0 property

fresh moat
#

Hello, does anyone have experience in terrain generating system algorithm??

dusk ether
#

anyone know of any free lua learning courses?

#

and i am NOT using ai for it

dense hull
#

luau*

#

But umm

#

I think youtube is your best bet if you want free

#

Everything else paid

hollow crag
#

and that wait() can be throttled

#

yes, deltatime is the elapsed time between frames, which wait() is similarly dependant on

#

task.wait() is tied to the task scheduler

#

it's dependent on what you're doing ngl, there's times it doesnt matter and times it matters a lot

#

wait has specific uses because it can be throttled

dense hull
#

Im using task.wait() no matter what lol

hollow crag
#

same

#

it's a scaling thing, not just micro/millaseconds

dense hull
#

Lol I type so much code that my phone auto correct task to task.wait() lol

hollow crag
#

on larger scale things it becomes more apparent

past summit
nova scaffold
#

Is it normal to apply to 10 jobs on the talent hub and get 0 responses in 24 hours, really small jobs, like bug fixes paying 2K.

lean ocean
#

Talent hub in 2026

nova scaffold
#

With like 3 systems

#

Admin, announcements and teams

nova scaffold
sacred widget
#

Just use HD since a lot of portfolios on talent probably outshine yours

slender cradle
#

I have edited this message to say memes1251, who possesses the roblox account Amer_gamerX, is my main account. I may lose access to this account at any time.

nova scaffold
lean ocean
slender cradle
nova scaffold
#

It's all like 500 USD full games lol

slender cradle
#

about one piece

lean ocean
#

also why is ur portfolio just a game

#

you need clips of systems

sacred widget
nova scaffold
#

Alright, thanks everyone

zenith trellis
#
local flashlight = game:GetService("ReplicatedStorage"):WaitForChild("FlashLight")
local uis = game:GetService("UserInputService")

local Player = game.Players.LocalPlayer
local Charachter = Player.Character or Player.CharacterAdded:Wait()
local RighArm = Charachter:WaitForChild("Right Arm")
local OffFlashlightSound = flashlight:WaitForChild("Off")
local OnFlhaslightSound = flashlight:WaitForChild("On")
local FlashLightGetSound = flashlight:WaitForChild("Get")

local FlashLightIsEquipped = false

uis.InputBegan:Connect(function(input, event)
    if event then return end
    if input.KeyCode == Enum.KeyCode.F then
        local Existing = RighArm:FindFirstChild("FlashLight")
        if Existing then
            task.wait(.2)
            Existing:Destroy()
            FlashLightGetSound:Play()
            print("FlashLight Removed")
            FlashLightIsEquipped = false
            
        else
            local FlashLightClone = flashlight:Clone()
            FlashLightClone.Parent = workspace
            local part = FlashLightClone:WaitForChild("FlashLightPart")
            part.CFrame = RighArm.CFrame * CFrame.new(0, -1, -0.5) 
            local weld = Instance.new("WeldConstraint")
            weld.Part0 = part
            weld.Part1 = RighArm
            weld.Parent = part
            FlashLightClone.Parent = RighArm
            FlashLightGetSound:Play()
            print("FlashLight Added")
            FlashLightIsEquipped = true
        end
    end
end)

uis.InputBegan:Connect(function(input)
    if input.KeyCode == Enum.KeyCode.E then
        local spotlight = RighArm:WaitForChild("FlashLight"):WaitForChild("FlashLightPart"):WaitForChild("SpotLight")
        if FlashLightIsEquipped then
            spotlight.Enabled = not spotlight.Enabled
            print("SpotLight Toggled")
            OnFlhaslightSound:Play()
        else
            print("FlashLight is not equipped")
            return
        end
    end
end)

day 2 of learning lua

#

(ik the realiztion of script isnt the best)

slender cradle
zenith trellis
#

no ima first time learning programing, likee ima builder rn which trying to learn luau

feral plank
#

yo guys should I learn the basics of data stores or just skip straight to profile service

slender cradle
feral plank
#

alr

slender cradle
#

plus I think you could benefit from some data store basics to make ordered datastores for leaderboards

feral plank
#

amazing

#

I just need it to save some stats like coins

zenith trellis
feral plank
somber vault
#

where are u learning from?

zenith trellis
#

youtube/dev forums

gloomy leaf
#

wtf is tweening?

#

quit making stuff up lol

vale flax
rotund pawn
#

How do you create smooth animation for client, that is also smooth on server? Creating tween on server is laggy on client, do I have to create 2 tweens at the same time?

small palm
rotund pawn
small palm
rotund pawn
#

Okay, lets say I want to tween open gate in one part of the town, if I fire remote event to client tween and user is too far away, event fails bcuz item is nil or sum. What about this situation?

small palm
potent igloo
rotund pawn
#

Okay thanks, that is a really good point. So server-client tweening the same object won't conflict?

potent igloo
#

probably not cathello

rotund pawn
#

or what I could do is to create function that sends tween to client, if object is nil, it will skip the tween (State: object too far away) and server waits the tween duration, then moves object to Target CFrame. Sounds better

potent igloo
#

its better for bandwidth too

#

because if you tween on the server, it will be sending new cframe info every heartbeat to all clients

rotund pawn
#

Great, thank you for the help guys

shy mica
#

WHOS' LOOKING FOR A SCRIPTER?

zenith trellis
#

guys, what should i learn after advanced tutorial? Like if there any useful parameter out of tutorial

rotund pawn
zenith trellis
bitter harbor
#

who wanna be my friend im a scripter

raven holly
#

guys

frail wave
raven holly
#

is there any way to add like multiple skys? for different maps? like a black one for space themed one and a light blue for a snow themed one?

cunning chasm
#

guys

#

i have a question, this guy Flake, is trustable? there is no way he would do a whole game for 1k

summer aurora
cunning chasm
summer aurora
cunning chasm
#

if he does scam, how do i report him? hes from this server

undone plank
cunning chasm
summer aurora
#

dont expect ppl to do this btw

cunning chasm
#

that half i gave him, its half of all of my robux, that being 1k.

summer aurora
undone plank
cunning chasm
#

i jsut asked if its risky, not that i need robux

summer aurora
cunning chasm
summer aurora
icy bone
#

I mean

#

scamming over 500 robux

#

is like high tier broke ass

charred tendon
#

does anyone know how to fix the this item is not for sale error pls help...

summer aurora
#

being fr

icy bone
#

I hate doing UI

#

fucking pmo

summer aurora
icy bone
#

Bro i gotta link up this shit

#

with my hunger and thirst bs

#

i cant be asked

stiff saddle
#

Explain

#

. That could a problem of timezone

#

Like he could be sleeping

#

Or smt

#

For safety take ss and keep

#

And sign a contract

#

K

zenith trellis
#

second day learning on lua, writing generator logic, my head is abt 50 degree Celsius

dusky relic
#

Who is extremely good with CFrame and matricees?

peak jolt
#

chatgpt

strong cliff
#

i felt bad for him

#

XD

strong cliff
summer aurora
strong cliff
#

U giving me robux sue

summer aurora
#

im giving you money

strong cliff
#

i got the robux

summer aurora
#

i dont care im sitll gonna give you money

strong cliff
#

U dont need to

summer aurora
#

your loss

strong cliff
#

I usually get Comms for 100$ or above

strong cliff
#

Say less

#

How much SHould the gamepass be?

#

@summer aurora

#

?

#

Still waiting

#

@summer aurora

#

yo still waitng

zenith trellis
#
-- ModuleInfo
local GeneratorSystem = {
    GeneratorStatus = "On",
    generatorBrokeTime = math.random(3,10),
    ElapsedTimer = 0,
}

return GeneratorSystem
-- GeneratorVisual
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()

local CollectionService = game:GetService("CollectionService")    
local LightParts = CollectionService:GetTagged("LightPart")

local generator = workspace:FindFirstChild("Generator")
local clkickDetector = generator:WaitForChild("ClickDetector")
local highlight = generator:WaitForChild("Highlight")
local normalSize = generator.Size
local highlightsound = generator:WaitForChild("highlightSound")

local particlepart = generator:WaitForChild("Particle")
local particleEmmiter = particlepart:WaitForChild("ParticleEmitter")

local FixedSound = generator:WaitForChild("GeneratorFixed")

local isHovering = false -- flag

mouse.Move:Connect(function()
    if mouse.Target == generator then
        if not isHovering then 
            isHovering = true
            highlight.Enabled = true
            generator.Size = normalSize + Vector3.new(.5,.5,.5)
            highlightsound:Play()
        end
    else
        isHovering = false
        highlight.Enabled = false
        generator.Size = normalSize
    end
end)
clkickDetector.MouseClick:Connect(function()
    highlight.Enabled = false
    generator.Size = normalSize
    particleEmmiter.Enabled = true task.wait(.3) particleEmmiter.Enabled = false
    FixedSound:Play()
    task.wait(.2)
    highlight.Enabled = true
    generator.Size = normalSize + Vector3.new(.5,.5,.5)
    task.wait(.1)
end)
--GeneratorService
-- Services
local CollectionService = game:GetService("CollectionService")
--Other Stuff
local generator = workspace:FindFirstChild("Generator")
local clickDetector = generator:WaitForChild("ClickDetector")


local moduleInfo = require(game.ReplicatedStorage.ModuleInfo)
local GeneratorStatus = moduleInfo.GeneratorStatus
local generatorBrokeTime = moduleInfo.generatorBrokeTime
local alivetime = moduleInfo.ElapsedTimer
local lightEnabled = true
GeneratorStatus = "on"


local LightTag = CollectionService:GetTagged("LightPart")


print(generatorBrokeTime)

local function GeneratorDisable()
    task.wait(generatorBrokeTime)
    for _, parts in ipairs(LightTag) do
        parts.Color = Color3.fromRGB(63, 63, 63)
    end
    GeneratorStatus = "Off"    
    print(GeneratorStatus)
end


local function GeneratorFixing()

    clickDetector.MouseClick:Connect(function()
        if GeneratorStatus == "Off" then
            GeneratorStatus = "on"    
            for _, parts in ipairs(LightTag) do
                parts.Color = Color3.fromRGB(199, 199, 199)
            end
        else
            print("Generator Alredy Working")
            
        end
        
    end)
end


GeneratorDisable()
GeneratorFixing()

second day of learning scripting, 80% done, need rest xd

pastel pine
#

How do I stop exploiters from editing proximity buttons hold duration in client site

#

On client side*

broken talon
#

Whats the best way to go about making a flight system where passengers can walk around while its flying?

pastel pine
#

Shut up son

potent igloo
#

but you can do sanity checks

#

with prompt.PromptHoldBegin or something like that

cobalt yoke
#

peak throw script???

snow mulch
fervent karma
#

yo

#

why do people dislike when you use shared?

gritty brook
humble barn
gritty brook
#

Uhhh...first of all, WHO U? Second of all, why're you using that name ? ?

gritty brook
gritty brook
gritty brook
compact fossil
#

how do you guys remember what a table and all that stuff is

compact fossil
peak sphinx
#

give him his own username

#

i want to see ts

compact fossil
#

im not doing it cuddy

#

how do you guys remember what a table and all that stuff is

peak sphinx
#

@humble barn yo dox yourself

#

😭

#

lmfaooo

hexed falcon
#

Does anyone know where I could learn to script

gritty brook
peak sphinx
gritty brook
gritty brook
#

Like...why even???

marsh kelp
#

scammer, scamming stupid ppl

south bridge
gritty brook
gritty brook
peak sphinx
#

server in his bio

gritty brook
#

Ah, got it

compact fossil
#

do i really need to do the game part for brawl devs scripting toturial to learn scripting

compact fossil
#

he has a thing where he makes a game and you can follow along and make it

#

and i have trouble remembering what things do like functions and tables

marsh kelp
#

Imo it's better to not do something you don't fully understand ( don't just copy him )
but practice the basics to remember them in the future

compact fossil
#

so should i re look at all of them and then like partice them each day

#

like each day i look at a new video?

#

after praticing one

#

because i lowkey binged them

marsh kelp
#

Sure if that will help u remember
just don't make your goal is finishing the video, but understanding it

modern dagger
marsh kelp
#

like... at least make 3 things as a practice after each video
and play with them for a few minutes/hours

modern dagger
#

If you start binging, you won't be able to remember everything.

compact fossil
#

ok

modern dagger
#

You just gotta take it slow, learning takes time, there's absolutely no rushing, yk?

#

If you need help understanding something further, feel free to ask questions in HD.

#

Trust me, we will gladly help you.

compact fossil
#

so should i watch one of each video like one vfx video and learn that pratice and then do scripting

south bridge
compact fossil
#

ok

modern dagger
#

Get good at one thing first, and then start trying to learn other things that match with it.

#

If you start learning too many aspects at once, the rate you'll learn at will be very slow.

compact fossil
#

what would match with modeling

modern dagger
compact fossil
#

ok

#

because i want to mkae a game so i get a bit

#

like in a hurry but i know i shouldn't be

exotic helm
#

Yo can someone help me with my animation? I have a issue

supple ore
#

sure

supple ore
exotic helm
#

but keeps going back. Please help with this issue

supple ore
#

sorry i cant help you with that i use roblox animat

#

i dont use moon animater

exotic helm
#

dang 😭

hexed pollen
exotic helm
urban basalt
#

Anyone trying to make a game? we can partner

urban basalt
#

yes

keen bane
#

local CASH_TO_GIVE = 500 -- cash given on touch
local COOLDOWN = 5 -- touch cooldown

local part = script.Parent
local SSS = game:GetService("ServerScriptService")
local folder = SSS:WaitForChild("Data")
local PS = require(folder:WaitForChild("PlayerData"))

local target = workspace:WaitForChild("SpawnLocation")

local debounce = {}

local function teleporting(hit)
local character = hit.Parent
local humanoid = character:FindFirstChildOfClass("Humanoid")
local root = character:FindFirstChild("HumanoidRootPart")
local player = game:GetService("Players"):GetPlayerFromCharacter(character)

if humanoid and root and player and not debounce[player] then
    debounce[player] = true
    -- TP
    root.CFrame = target.CFrame + Vector3.new(0, 3, 0)

    PS.AddCash(player, CASH_TO_GIVE)

    task.delay(COOLDOWN, function()
        debounce[player] = nil
    end)
end

end

part.Touched:Connect(teleporting) this is (GiveCash) model under it is (Touchpart) and in touchpart is this code but when i go on touchpart i get no cash fix anyone?

keen bane
#

not local

stiff saddle
#

illl write it again for u but fixed

noble tartan
#

dashing into a wall, over a part will fling me i cant rlly think of a workaround someone save me

spiral jungle
lime glacier
raven oasis
upper pier
#

Yo

#

I need to get better at scripting

#

but all the tuts suck tbh

#

any suggestions?

regal salmon
#

docs, forums, tutorials for specific features will all help you
applying your knowledge to an actual project instead of just following along with someone else for the entire game is probably the best way to learn

blissful wharf
#

im making a sport game with my mates and we auto statistics and auto umpiring, is this something that is hard to do?

fading pollen
#

if i wanna make a tornado with flying parts around it, should i calculate the position of the parts on the server and then display only on client, or should i make the client calculate the position of the parts? it's kinda complex maths but the server will already be calculating a lot of stuff, and because technically the "parts" are a visual effect i don't know which instance should get this role

stiff saddle
vocal briar
#

guys, how do I make it so that then I press 'E' the camera, the character's orientation and the gravity shifts 90 degrees almost like the world rotated?

worldly spear
#

But I have seen a funny cheat that makes u walk on walls

#

So it should be possible

cunning chasm
#

can anyone borrow me with some robux until i get my game somehow working? ill pay em back i promise!

sacred ore
#

hello

#

anoyone knows a fix?

rocky basin
#

may be wrong

#

ask other ppl and do an aproximation

uneven mason
zenith trellis
somber vault
#

should I store reciept info for dev prodcuts cuz y not

#

i dont really have any reason to but uhhh

plucky urchin
#

What is the difference between ContextActionService and UIS?

somber vault
plucky urchin
#

So CAS is more optimal?

somber vault
#

idk about that but for shit like mobile you can add buttons like this

plucky urchin
#

I understood your point

rotund pawn
rocky basin
bitter ember
#

how do i make it show user and sip and head

runic forge
bitter ember
runic forge
#

use a local script:

local players = game:GetService(“Players”)
local player = players.LocalPlayer
local playerName = player.Name
local playerDisplay = player.DisplayName

runic forge
runic forge
#

I’m on mobile so expect spelling mistakes

somber vault
granite wyvern
#

how the hell yall are posting videos and images

#

i cant

somber vault
#

idk if thats good tho

#

do I just keep it like that

rotund pawn
#

I am missing something or since when you cant pass Dictionary to datastore?
All my projects have data = {Balance = 1,...}

somber vault
rotund pawn
#

No I use default data stores

somber vault
#

wait let me check

rotund pawn
#

I never had any issue with that

#

all my default player data are dictionaries

somber vault
#

wait

rotund pawn
#

Don't you have special characters there?

somber vault
#

{
["CurrencySpent"] = 0,
["CurrencyType"] = Robux,
["PlaceIdWherePurchased"] = 100561410169491,
["PlayerId"] = 6013432732,
["ProductId"] = 3311446179,
["ProductPurchaseChannel"] = InExperience,
["PurchaseId"] = "3c83e71af35cebdc68ae207959434dc6"
}

#

i dont think there is anything special here except the person making it

rotund pawn
#

InExperience is what? string?

somber vault
#

oh wait

#

is it a instance

#

let me check

rotund pawn
#

Yeah 😄 that explains it

#

Tbf you can only store few details and add datetime string

rough sierra
#

Can someone explain to me how we are supposed to create remoteevents, like pre made in studio or dynamically with a script?

rough sierra
cunning chasm
zenith trellis
zenith trellis
rotund pawn
# rough sierra why

Client would have to use WaitForChild for script to create the remoteevent, leading to way more possible errors

zenith trellis
#

and forums

somber vault
#

they are both enums

cunning chasm
#

i tried yt tuts and couldn't learn at all.

zenith trellis
rotund pawn
somber vault
rotund pawn
#

DiscordWebhooks can be unrealiable sometimes.

somber vault
#

yea thats the point of the save basically

#

and im also pcalling it like 3 times

rotund pawn
#

Just for dev product purchase?

somber vault
#

im logging for Gamepasses too but not saving anything

#

like ProcessReceipt can fail

#

but gamepasses cant really fail

rotund pawn
#

Can't you create funnel or economy or however its called? its one of roblox features to track player action

somber vault
#

ive never used it

#

if the game has a bug then developer products failing would kinda waste the products bought

#

it isnt so with gamepasses u can just change it

rotund pawn
#

oh you are creating logs for fails, I understand now

#

Other than messageservice command, is there any SIMPLE way to announce on all servers without joining one of servers? Like: Hotfix in 10 minutes > disable purchases, save data etc

#

Also how are games implementing updates that doesn't kick players?

rotund pawn
#

I do no think that allows me to broadcast without joining, I am too lazy to do whole http api

somber vault
remote valley
#
local renderStepped = RunService.RenderStepped:Connect(function(dt)
    if qteState["active"] == false then
        if QTE.Bar.BarStroke.Transparency ~= 1 then QTE.Bar.BarStroke.Transparency = 1 end
        if QTE.Bar.Size.X.Scale ~= 0.95 then UIChange.changeSize(QTE.Bar, 0.95, "both") end
        
    elseif qteState["active"] == true then
        if qteState["check"] == "none" then
            if QTE.Bar.Size.X.Scale == QTE.Middle.Size.X.Scale then qteState["check"] = "fail" return end
            if QTE.Bar.BarStroke.Transparency ~= 0 then QTE.Bar.BarStroke.Transparency = 0 end
            if qteState["pause"] then return end
            
            UIChange.changeSize(QTE.Bar, QTE.Bar.Size.X.Scale - QTE.Bar.Size.X.Scale * dt * 1.25, "both", QTE.Middle.Size.X.Scale, 0.95)
        else
            if qteState["check"] == "fail" then
                qteState["active"] = false
                tween1:Play()
                task.spawn(changeBool, cooldown, 2)
                print("fail")
                
            elseif qteState["check"] == "average" then 
                print("average")
                
            elseif qteState["check"] == "perfect" then 
                print("perfect")
            end
            
            UIChange.changeSize(QTE.Bar, 0.95, "both")
            qteState["check"] = "none"
        end
    end
end)

checks of doom

solemn pawn
#

i need a scripter thats good thats willing to worl for % (we have a team and server setup, dm me for info)

cosmic tartan
#

hello

twilit gale
#

use teleport service

late fog
#

anyone know why this doesnt work its inside textchatservice and its a normal script

`local Players = game:GetService("Players")
local TextChatService = game:GetService("TextChatService")

local Admins = {
["Jacobrysons"] = true
}

local function onPlayerAdded(player)
if Admins[player.Name] then

    local chatSettings = TextChatService.TextChatSettings
    local chatWindowSettings = chatSettings.ChatWindowSettings

    player.Chatted:Connect(function(message)
        
        TextChatService:SendSystemMessage("[OWNER] "..player.Name..": "..message, player)
    end)
end

end

Players.PlayerAdded:Connect(onPlayerAdded)`

proven knot
delicate shell
#

I have a sword in the game when I test the sword isn’t in my hand but I could use it SOMEONE HELP

solid rain
late fog
tame spindle
#
local ball = script.Parent

ball.Anchored = false
local RunService = game:GetService("RunService")

local initialForwardForce = 60
local initialUpForce = 30


local airDamping = 0.99 


local reboundFactor = 0.7 

local frictionFactor = 0.8 

ball.AssemblyLinearVelocity =
    ball.CFrame.LookVector * initialForwardForce
    + Vector3.new(0, initialUpForce, 0)


ball.Touched:Connect(function(hit)
    if not hit:IsA("BasePart") then return end


    if hit.Parent == ball.Parent then return end

    local Velocity = ball.AssemblyLinearVelocity

    local contacts = ball:GetTouchingParts()
    local Normal = Vector3.new(0, 1, 0)

    for _, part in ipairs(contacts) do
        if part == hit then
            local success, contacts = pcall(function() return ball:GetContacts() end)
            if success and #contacts > 0 then

                Normal = contacts[1].Normal
                break
            end
        end
    end


    local reflected = Velocity - 2 * Velocity:Dot(Normal) * Normal


    reflected = reflected * reboundFactor


    reflected = Vector3.new(
        reflected.X * frictionFactor,
        reflected.Y,
        reflected.Z * frictionFactor
    )

    ball.AssemblyLinearVelocity = reflected
end)



RunService.Heartbeat:Connect(function(deltaTime)
    local v = ball.AssemblyLinearVelocity


    ball.AssemblyLinearVelocity = Vector3.new(
        v.X * airDamping,
        v.Y * airDamping, 
        v.Z * airDamping
    )

end)

#

how can i make this better?

#

I want it to look like blue lock rivals ball.

tough meadow
#

GUYS how can i make a growing and planting systeme?WHYYYYY sad_hamster

tame spindle
#

uhh

tame spindle
#

scropt?

solid rain
#

Yis

tame spindle
tough meadow
#

scroptWHYYYYY

tame spindle
tough meadow
#

But howpraysob

solid rain
tough meadow
#

kinda

solid rain
#

If ur not then u need to hire

#

This is for problem fixing

tough meadow
#

im poorWHYYYYY

#

someone asked 1000 buck usd

solid rain
#

Or discussion

tough meadow
#

i aint mr beast

solid rain
#

Its not hard to make this

tame spindle
#

yea

#

u wanna do some type of grow a garden game?

solid rain
#

U js need to have progress bar and each flower grows at certain percentage

#

no

tough meadow
tame spindle
#

like bee swarming simulator?

tough meadow
tough meadow
tame spindle
#

uhh ok?

solid rain
#

Its a yes or no question

tame spindle
#

yes then

solid rain
#

good boy

tame spindle
#

🤨

solid rain
#

Sorry

tame spindle
#

its alr

#

lol

white dock
tame spindle
#

whats that?

#

A quest sys?

tough meadow
#

i cant send picture

solid rain
tough meadow
tame spindle
#

ok

white dock
tough meadow
#

if you want to see itsunglas

white dock
#

they are different

solid rain
#

Ohh theyre both super nice i would go for minimalistic which is 1 but its a kids game and kids love colors so 2

solid rain
tame spindle
#

but i honestly think the minimalistic is better too

static coral
#

showing reward constantly makes it more enticing to complete

solid notch
half dust
#

looking for a scripter dm me for more info and yes theres a payment.

somber vault
# white dock

well depends on your audience I think kids would like the 2nd one better

molten pond
#

someone wanna code for a game?

pallid prairie
#

can anyone give me scripting advice it is making me angry and i cant understand it, please and thank yous. dm pls

faint matrix
#

guys anyone who want to buy high quality games dm me if your intrsted

rose olive
#

should Knockback be applied on the server or local side?

iron vigil
rose olive
rocky basin
#

the part of the knockback

bold fable
#

anyone knows what level i need to get for image perms?

tall trail
#

Hey guys, I have been working on a remote event wrapper/network service system and I was wondering what yall think of my methodology. Server is in charge of creating remote event objects that store the event instance itself, as well as a "Schema" table. So, remote events are created at runtime and then a specified "Schema" table is attached to it. This schema table basically just assigns a type for each argument. Then, when the client sends data to the server, the server validates the data with the schema contained in that event. If success, then good to go, otherwise nothing. For instance, Schema on server within remote object: { Argument1 = "string", Argument2 = "number" } Then, the client fires a remote DropInventoryItem:FireServer("Sword", 2) So type checking, as well as having to have the same structure for the event. If there is a missing arg or wrong type it fails

stark delta
#

@fallen depot

lusty barn
supple spindle
#

guys i got ACS 2.0.1 and converted it into R15 by just changing a couple lines of code, now i got some guns and some guns are working fine but on some the echo is terrible, does anyone know how to fix this weird echo? the sound itself literally is normal and i have been playing with rolloff distances and all but i cant find the weird echo thing anywhere

cunning cypress
#

got a small problem with a for loop idk whats the problem so basicly the lamp goes on but dont turns off again, would be nice if someone could help me (i changed the v to b, still dont working)

timid mica
#

does anybody know how i can grab a player's hair accessories and skin color only and apply it to a startercharacter or their character ingame because i have a starter character but wanna apply the hair accessories and skin color

cunning cypress
robust beacon
cunning cypress
#
                while db == true do
                print("lol")
                for i,v in SealDoor:GetDescendants() do
                    if v:IsA("PointLight") then
                            v.Enabled = true
                    end
                end
                task.wait(3)
                for s,b in SealDoor:GetDescendants() do
                    if b:IsA("PointLight") then
                        b.Enabled = false
                    end
                end
                end
robust beacon
#
                while db == true do
                print("lol")
                for i,v in SealDoor:GetDescendants() do
                    if v:IsA("PointLight") then
                            v.Enabled = true
                          task.wait(10)
                           v.Enabled = false
                    end
                end
              end```

just make it like this, you don't need two loops to get the same thing
cunning cypress
fiery junco
#

Can someone please help i can't figure out why my script isn't working ```lua
local player = game:GetService("Players").LocalPlayer
local character = player.Character
local humanoid = character:WaitForChild("Humanoid")

local function dead()
script.Parent.ImageLabel.Visible = true
script.Parent.ImageLabel:TweenPosition(UDim2(0,0,0,0), Enum.EasingDirection.Out, Enum.EasingStyle.Bounce, 2, false)
workspace.Dead:Play()
wait(5)
script.Parent.ImageLabel:TweenPosition(UDim2(0,0,1,0), Enum.EasingDirection.Out, Enum.EasingStyle.Bounce, 2, false)
script.Parent.ImageLabel.Visible = false
end

humanoid.Died:Connect(function()
dead()
end)``` i don't understand what the error means

robust beacon
cunning cypress
robust beacon
cunning cypress
sage vapor
#

can someone just like look at it and see whats wrong with it bc i dont wanna type all that out

compact spoke
#

you're just doing udim2

fiery junco
#

what?

#

im sorry i am new to scripting

robust beacon
robust beacon
compact spoke
#

you need to do udim2.new(0, 0, 0, 0)

fiery junco
#

OH

#

OH MY GOODNESS

#

HOW DID I NOT NOTICE

compact spoke
#

dont yell

fiery junco
#

THANK YOU

compact spoke
#

its rude

fiery junco
#

I apologize

#

Thank you dearly 🙏

robust beacon
cunning cypress
vivid remnant
#

I just finished a beginner level scripting guide could anyone give me an idea on what to do next?

robust beacon
fiery junco
# compact spoke its rude

i am truly sorry to bother again but i must ask how i make it work everyime you die, not just once

compact spoke
compact spoke
#

So right now this is only referencing one character

robust beacon
compact spoke
#

Once that character dies everything inside of them (including the humanoid with the connection) is destroyed

vivid remnant
sage vapor
iron vigil
# rocky basin show code

i don’t think it’s an issue w my code bc I’ve done many other past things w physics before and it still does it

compact spoke
#

So you could set up a character added connection I believe

compact spoke
#

And then set up your humanoid connection in there

fiery junco
rocky basin
fiery junco
#

how do i do that

compact spoke
cunning cypress
iron vigil
karmic wadi
#

how to fix some models not loading in studio

#

pls help

robust beacon
fiery junco
vivid remnant
karmic wadi
#

deadass

#

how to fix some models not loading in studio

compact spoke
#

idk

rocky basin
cunning cypress
#
local    KWH        = game.Workspace["System/Circle"].KWHA

local    pc        = script.Parent.GridComputer.Screen.Screen.SurfaceGui
local    SealDoor= script.Parent.Seal

local    Seal    = false
local    db        = false

local    Status    = "STATUS: ▶"

KWH.Changed:Connect(function()
pc["KWH:"].Text = "KW/H: "..KWH.Value
end)

pc.TransPower.MouseButton1Click:Connect(function()
    pc.TransPower.BackgroundTransparency = 0
    wait(0.3)
    pc.TransPower.BackgroundTransparency = 1
    if db == false and Seal == false then
        db = true
        pc.Status.Text = Status.."Verifying energy..."
        wait(10)
        if KWH.Value >= 0 then
            pc.Status.Text = Status.."Verifying energy completed"
            wait(2)
            pc.Status.Text = Status.."Seal opening engaged"
                while db == true do
                print("lol")
                wait(1)
                for i,v in SealDoor:GetDescendants() do
                    if v:IsA("PointLight") then
                        v.Enabled = true
                        task.delay(1,function()
                        v.Enabled = false
                        end)
                    end
                end
                end
            wait(2)
            pc.Status.Text = Status.."unlocking Bolts..."
            wait(5)
            pc.Status.Text = Status.."Bolts unlocked"
            wait(2)
            pc.Status.Text = Status.."Rising Seal..."
            wait(10)
            pc.Status.Text = Status.."Seal opening finished"
            wait(2)
            pc.Status.Text = Status
        elseif KWH.Value < 10000 then
            pc.Status.Text = Status.."Seal opening failure"
            wait(2)
            pc.Status.Text = Status
        end
        db = false
    end
end)

sage vapor
robust beacon
fiery junco
cunning cypress
fiery junco
#

nevermind i didn't figure it out

cunning cypress
#

like the waiting, between on and off

robust beacon
somber vault
sage vapor
#
local function snapToGrid(coord)
    return math.floor(coord / GRID_SIZE + 0.5) * GRID_SIZE
end

local function updateGhostPart(dt)
    if not isBuilding then return end

    local mousePos = UserInputService:GetMouseLocation()
    local ray = Camera:ScreenPointToRay(mousePos.X, mousePos.Y)

    local raycastParams = RaycastParams.new()
    raycastParams.FilterType = Enum.RaycastFilterType.Exclude
    raycastParams.FilterDescendantsInstances = {GhostPart, LocalPlayer.Character}

    local result = Workspace:Raycast(ray.Origin, ray.Direction * 1000, raycastParams)

    if result then
        local hitPosition = result.Position
        local hitNormal = result.Normal
        local hitInstance = result.Instance

        local isBuildableSurface = (hitInstance.Name == "Baseplate" or hitInstance.Name == "PlacedPart" or hitInstance:IsA("Terrain"))

        if not isBuildableSurface then
            GhostPart.Color = BLOCKED_COLOR
            GhostPart.CFrame = CFrame.new(0, -1000, 0) 
            return
        end

        local targetCenter = hitPosition + (hitNormal * GhostPart.Size.Y / 2)

        local snappedX = snapToGrid(targetCenter.X)
        local snappedZ = snapToGrid(targetCenter.Z)

        local minCenterY = GRID_SIZE / 2
        local snappedY
#
if hitInstance.Name == "Baseplate" or (hitPosition.Y < 1 and hitNormal == Vector3.yAxis) then
            snappedY = minCenterY

        elseif hitNormal.Y > 0.9 then
            local surfaceY = snapToGrid(hitPosition.Y) 
            snappedY = surfaceY + minCenterY

        else 
            snappedY = snapToGrid(targetCenter.Y)
        end

        snappedY = math.max(snappedY, minCenterY)

        local finalPosition = Vector3.new(snappedX, snappedY, snappedZ)

        local isColliding = false

        local overlapParams = OverlapParams.new()
        overlapParams.FilterType = Enum.RaycastFilterType.Exclude

        overlapParams.FilterDescendantsInstances = {GhostPart, LocalPlayer.Character}

        local overlappingParts = Workspace:GetPartBoundsInBox(
            CFrame.new(finalPosition) * CFrame.Angles(0, math.rad(currentRotationY), 0),
            GhostPart.Size,
            overlapParams
        )

        for _, part in ipairs(overlappingParts) do
            if part.Name == "PlacedPart" and part.CanCollide and not part.Locked then
                isColliding = true
                break
            end
        end

        if isColliding then
            GhostPart.Color = BLOCKED_COLOR
        else
            GhostPart.Color = GHOST_COLOR
        end

        local tweenInfo = TweenInfo.new(0.08, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
        local propertyTable = {CFrame = CFrame.new(finalPosition) * CFrame.Angles(0, math.rad(currentRotationY), 0)}
        TweenService:Create(GhostPart, tweenInfo, propertyTable):Play()
    else

        GhostPart.Color = BLOCKED_COLOR
        GhostPart.CFrame = CFrame.new(0, -1000, 0)
    end
end
#

heres the rest of the code

#

idek whats happening or whats wrong with the script

#

but it wont let me place next to other blocks bc of the collisions

robust beacon
# cunning cypress like the waiting, between on and off

check if fixed

local    KWH        = game.Workspace["System/Circle"].KWHA

local    pc        = script.Parent.GridComputer.Screen.Screen.SurfaceGui
local    SealDoor= script.Parent.Seal

local    Seal    = false
local    db        = false

local    Status    = "STATUS: ▶"

KWH.Changed:Connect(function()
    pc["KWH:"].Text = "KW/H: "..KWH.Value
end)

pc.TransPower.MouseButton1Click:Connect(function()
    pc.TransPower.BackgroundTransparency = 0
    wait(0.3)
    pc.TransPower.BackgroundTransparency = 1
    if db == false and Seal == false then
        db = true
        pc.Status.Text = Status.."Verifying energy..."
        wait(10)
        warn("Waited 10 seconds")
        if KWH.Value >= 0 then
            pc.Status.Text = Status.."Verifying energy completed"
            wait(2)
            pc.Status.Text = Status.."Seal opening engaged"
            if db then
                print("lol")
                wait(1)
                for i,v in SealDoor:GetDescendants() do
                    if v:IsA("PointLight") then
                        v.Enabled = true
                        print("lamp is on")
                        task.delay(1,function()
                            v.Enabled = false
                            print("lamp is off")
                        end)
                    end
                end
            end
            wait(2)
            pc.Status.Text = Status.."unlocking Bolts..."
            wait(5)
            pc.Status.Text = Status.."Bolts unlocked"
            wait(2)
            pc.Status.Text = Status.."Rising Seal..."
            wait(10)
            pc.Status.Text = Status.."Seal opening finished"
            wait(2)
            pc.Status.Text = Status
        elseif KWH.Value < 10000 then
            pc.Status.Text = Status.."Seal opening failure"
            wait(2)
            pc.Status.Text = Status
        end
        db = false
    end
end)

if not then tell me if it printed the "lamp is on" and "lamp is off" or send me a clip so i can see what is happening

robust beacon
#

oh i see lol

cunning cypress
#

yh

robust beacon
# cunning cypress
local    KWH        = game.Workspace["System/Circle"].KWHA

local    pc        = script.Parent.GridComputer.Screen.Screen.SurfaceGui
local    SealDoor= script.Parent.Seal

local    Seal    = false
local    db        = false

local    Status    = "STATUS: ▶"

KWH.Changed:Connect(function()
    pc["KWH:"].Text = "KW/H: "..KWH.Value
end)

pc.TransPower.MouseButton1Click:Connect(function()
    pc.TransPower.BackgroundTransparency = 0
    wait(0.3)
    pc.TransPower.BackgroundTransparency = 1
    if db == false and Seal == false then
        db = true
        pc.Status.Text = Status.."Verifying energy..."
        wait(10)
        warn("Waited 10 seconds")
        if KWH.Value >= 0 then
            pc.Status.Text = Status.."Verifying energy completed"
            wait(2)
            pc.Status.Text = Status.."Seal opening engaged"
            if db then
        
                print("lol")
                wait(1)
                for _,v in ipairs(SealDoor:GetDescendants()) do
                    if v:IsA("PointLight") then
                        v.Enabled = true
                    end
                end

                task.wait(1)

                for _,v in ipairs(SealDoor:GetDescendants()) do
                    if v:IsA("PointLight") then
                        v.Enabled = false
                    end
                end
            end
            task.wait(2)
            pc.Status.Text = Status.."unlocking Bolts..."
            task.wait(5)
            pc.Status.Text = Status.."Bolts unlocked"
            task.wait(2)
            pc.Status.Text = Status.."Rising Seal..."
            task.wait(10)
            pc.Status.Text = Status.."Seal opening finished"
            task.wait(2)
            pc.Status.Text = Status
        elseif KWH.Value < 10000 then
            pc.Status.Text = Status.."Seal opening failure"
            task.wait(2)
            pc.Status.Text = Status
        end
        db = false
    end
end)

check now, if not fixed then send me a video

cunning cypress
sacred lily
#

My recently-created game has been unavailable for 20 minutes even though I've completed the questionnaire, why could this be?

cunning cypress
robust beacon
robust beacon
# cunning cypress yes

if you press the button again, do you want to set the db to false so the lamps won’t turn on and off?

cunning cypress
#

no

#

its going auto off after all the massages

robust beacon
#

ic

sacred lily
vocal forge
#

hi guys anyone want to help me with my server

robust beacon
# cunning cypress its going auto off after all the massages
local    KWH        = game.Workspace["System/Circle"].KWHA

local    pc        = script.Parent.GridComputer.Screen.Screen.SurfaceGui
local    SealDoor= script.Parent.Seal

local    Seal    = false
local    db        = false

local    Status    = "STATUS: ▶"

KWH.Changed:Connect(function()
    pc["KWH:"].Text = "KW/H: "..KWH.Value
end)

pc.TransPower.MouseButton1Click:Connect(function()
    pc.TransPower.BackgroundTransparency = 0
    task.wait(0.3)
    pc.TransPower.BackgroundTransparency = 1
    if db == false and Seal == false then
        db = true
        pc.Status.Text = Status.."Verifying energy..."
        task.wait(10)
        warn("Waited 10 seconds")
        if KWH.Value >= 0 then
            pc.Status.Text = Status.."Verifying energy completed"
            task.wait(2)
            pc.Status.Text = Status.."Seal opening engaged"
            while true do
                print("lol")
                for _,v in ipairs(SealDoor:GetDescendants()) do
                    if v:IsA("PointLight") then
                        v.Enabled = true
                    end
                end
                
                task.wait(1)
                
                for _,v in ipairs(SealDoor:GetDescendants()) do
                    if v:IsA("PointLight") then
                        v.Enabled = false
                    end
                end
                task.wait(1)
            end
            task.wait(2)
            pc.Status.Text = Status.."unlocking Bolts..."
            task.wait(5)
            pc.Status.Text = Status.."Bolts unlocked"
            task.wait(2)
            pc.Status.Text = Status.."Rising Seal..."
            task.wait(10)
            pc.Status.Text = Status.."Seal opening finished"
            task.wait(2)
            pc.Status.Text = Status
        elseif KWH.Value < 10000 then
            pc.Status.Text = Status.."Seal opening failure"
            task.wait(2)
            pc.Status.Text = Status
        end
        db = false
    end
end)
vocal forge
#

guys i want that i can start a song when you enter a building. is this possible?

cunning cypress
#

AM SO STUPID

#

OFFCURSE IT WASENT WORKING

cunning cypress
robust beacon
#

yeah, np

keen flame
#

Can someone help me? There's a bunch of Warnings (inside of Script Analysis) in my imported Libraries/Packages (such as Packet module), Is there a way to ignore every warning/error inside of specifics Folders?

I know there's "Display only currents", but I wanted to keep it disabled and know if there's a script that is currently problematic (I use --!strict in my whole project)

exotic dirge
#

just use ParticleEmitter:Emit()

tame pike
#

ty

vivid remnant
#

is learning/dissecting code from a game template good for experience?

sage vapor
vivid remnant
#

tbh i kinda don't want to read rn

sage vapor
#

then ur cooked

vivid remnant
#

my heads kinda fried rn thats why

sage vapor
#

well then

#

go to sleep

vivid remnant
#

i might read later after i get more sleep

vivid remnant
sage vapor
#

trying to dissect already made code js gonna make it hurt more

vivid remnant
#

whattt..you sure

#

i thought it was a good idea

vivid remnant
#

y got a better idea?

lusty barn
#

???

#

make a game

#

read docs

vivid remnant
#

...yeah am a stick with the adv tut guide i found

#

and read later

#

am js not feeling it rn

jaunty wolf
#

so long as youre doing that youre guaranteed to learn

#

also you probably want to do more making stuff than watching- watching should be 40% or less of your time i think

vivid remnant
#

I'll keep the 40 watch percentage in mind also

jaunty wolf
#

(giving up, only watching videos, only reading, etc)

#

so long as youre makin stuff you are basically guaranteed to learn. you just want to be in a loop of googling stuff, writing/copypasting code, getting errors and debugging

#

u better get used to getting errors btw cause everything breaks the first 15 times

vivid remnant
#

alright, will do

supple spindle
jaunty wolf
#

very very bad and mean you fucked up terribly

#

when in reality, its pretty normal to get lots of bugs and need to fix them

#

its just how it is when u make stuff

woeful plaza
#
local EMOTES_PER_PAGE = 5
local pages = {}
local emoteCount = 0
local uiPageLayout = emotesFrame:FindFirstChildOfClass("UIPageLayout")

local function createNewPage()
    local newPage = pageTemplate:Clone()
    newPage.Name = "Page_" .. tostring(#pages + 1)
    newPage.Visible = true
    newPage.Parent = emotesFrame
    for _, obj in ipairs(newPage:GetChildren()) do
        if obj:IsA("Frame") then obj.Visible = false end
    end
    table.insert(pages, newPage)
    return newPage
end

local activePage = createNewPage()

local function createPagedEmoteButton(name, anim, soundTemplate, category, folderRef)
    if emoteCount >= EMOTES_PER_PAGE then
        emoteCount = 0
        activePage = createNewPage()
    end
    emoteCount = emoteCount + 1
    local btn = createEmoteButton(name, anim, soundTemplate, category, folderRef)
    btn.Parent = activePage
    btn.Visible = true
end

local function rebuildPages(filteredList)
    for _, page in ipairs(pages) do
        if page and page ~= pageTemplate then page:Destroy() end
    end
    pages = {}
    emoteCount = 0
    activePage = createNewPage()
    for _, data in ipairs(filteredList) do
        createPagedEmoteButton(data.Name, data.Animation, data.Sound, data.Category, data.Folder)
    end
    if #pages > 0 and uiPageLayout then uiPageLayout:JumpTo(pages[1]) end
end

I'm having an issue with my EmoteUI page system, for context on what i'm talking about this is a snippet of the script to make the ui functional, I'm working on a emote game like ttd3 so you get the jist on how the ui works and stuff, the issue i'm having is that the pages spawn ontop of each other and not really being a list of pages

#

can someone help me with this?

fading egret
#

I need urgent help Ive just released my game and there is a huge invisible bug glitch I have no clue how to fix it or where to start Im willing to pay who can fix it

woeful mural
#

how to make a script that waits for a player to be in game to fire the rest of the script contents?

prisma aspen
#

anyone here know ecs can clarify me some stuff

prisma aspen
jaunty wolf
prisma aspen
jaunty wolf
#

oh is that what he wants?

prisma aspen
#

Oh nvm i js looked at his code u right

prisma aspen
prisma aspen
iron kraken
jaunty wolf
iron kraken
#

also that wont work at all btw

prisma aspen
#

bru

woeful mural
jaunty wolf
#

like "how do i get the player who just joined" or "how do i make X happen when you join:"

#

and tell it ofc that u need simplest code possible

prisma aspen
#

@woeful mural you should watch brawldev tutorials hes so goated

woeful mural
prisma aspen
#

@jaunty wolf do u know anything about ECS

woeful mural
jaunty wolf
jaunty wolf
prisma aspen
jaunty wolf
# woeful mural

your "if game.players.playeradded" is not the way to do that btw

prisma aspen
#

ive never worked with marketplace shit but

#

is that [] thing right

woeful mural
prisma aspen
woeful mural
#

💀

jaunty wolf
#

theres nothing u need to get started

#

most of us learn by just making games

woeful mural
jaunty wolf
#

(u can do tutorials if u like tho)

woeful mural
#

but copy tutorials

jaunty wolf
#

chatgpt + google

#

but u can do tutorials if u like them thats alright too

woeful mural
jaunty wolf
woeful mural
#

alr if thast what u suggest

#

i feel decently comfortable wit hmy scripting and these dev product vids make ZERO sense

jaunty wolf
woeful mural
#

ima try to make a game rn

prisma aspen
jaunty wolf
prisma aspen
#

its so inasne ohow much u learn

prisma aspen
woeful mural
#

ive never locked in rlly consistently on studio but i have like 7days of break

#

so im tryna learn a ton these coming days

woeful mural
prisma aspen
#

yo what th e hell im looking at old code my coedes suck

woeful mural
#

how yall find scri[t with no virus

jaunty wolf
# woeful mural ima try to make a game rn

most of the times it goes like

  1. "I want to do a backflip if i press space in the air"

  2. google/chatgpt/youtube/discord/devforum, find out how to detect player jumping in the air

  3. copy paste code, try to get something that detects jumping in the air, fix the bugs/errors (expect everything to break the first 15 times its normal btw)

  4. bam now you have it detecting you pressing space in the air. You then do the same for applying the flip backwards, boosting you in the air, etc etc you just google each part

#

u just do that over and over and you can literally make a game on your first day

woeful mural
jaunty wolf
#

if u are super stuck, discord is helpful

woeful mural
#

I avoided copy + paste so hard becuz i thought it woul curb my learning

jaunty wolf
#

the only issue is using tons of code that you dont understand- you gotta review things

#

chatgpt cannot generate everything for you

iron kraken
#

u shudnt be remembering how to code something exactly

jaunty wolf
#

you gotta review and try to understand a bit

jaunty wolf
#

the memorization of writing is actually not that useful

woeful mural
#

and i been trying to learn abt rblx studio scripting for atleast 6 yrs now 💀

jaunty wolf
#

knowing how to do something, or that you can do something, is useful

iron kraken
#

and u prob shudnt copy paste if u dont know what the code does

woeful mural
jaunty wolf
woeful mural
jaunty wolf
woeful mural
#

since im seeing so many young ppl set their future sup off of rblx studio and ik i cant waste the oppurtunity

jaunty wolf
#

for most skills, copying is actually super useful. its almost like a super power, to just copy someone and absorb knowledge

jaunty wolf
woeful mural
jaunty wolf
#

anyways if u wanna continue video tutorials its fine- you are basically guaranteed to learn quick so long as you are spending most of your time (probably around 60% or more?) actively making stuff and googling n shit

#

if you do this, usually within 1-3 months you can make a version of basically any game.

clever scroll
#

Best way to make custom admin commends?

woeful mural
#

that quick bro

jaunty wolf
# woeful mural that quick bro

every single person i know who scripts was surprised at how fast they learned once they actually managed to get into the loop of making stuff

iron kraken
#

nope

#

make phantom forces after 1-3 months

#

impossible

woeful mural
jaunty wolf
woeful mural
#

the afterschool days leading up[ to thi break and now

jaunty wolf
#

like u sauce the pizza and put toppings and cook it n stuff

woeful mural
prisma aspen
#
if  (hrp.Position.Y - throwPart.Position.Y) <= 0 then
                        veloY = 70
                    else
                        veloY = -70
                    end

what the hel was itrying to do w this

woeful mural
#

or mayb if hes not dumb like me idk

prisma aspen
#

anything but using * hrp.cframe.lookvector rbo

jaunty wolf
# woeful mural FIRST WEEK

if u just make stuff n get used to the idea of everything erroring the first 15 times im sure u will be very surprised at how fast u learn

prisma aspen
#

i also REALLY liked using "huh" to debug

print('huh1')
    if mouse.Target then
        local character = LocalPlayer.Character
        local hrp = character:FindFirstChild("HumanoidRootPart")
        print('huh2')
        print(mouse.Target)
        if mouse.Target.Name == "PartFollowHitbox" and canRun == true and hrp.Position.Y <= mouse.Target.Position.Y then 
            canRun = false
            print('huh3')
woeful mural
jaunty wolf
#

and dont be afraid to copy paste, ngl i was the biggest copy paster and it worked out for me

#

anytime i did things blindly tho they did not work so u do gotta review at least a bit

woeful mural
#

its kinda comical how alot of erros in scripting based off my experience is from a simple spelling mistake

#

all devs for sum reason love typin fast so i ca nsee why lol

jaunty wolf
#

when they dont break i dont even get happy i just get suspicious lol

slim smelt
#

hey im trying to improve my skill on scripting but idk how how

woeful mural
#

if its a oneshot smth MUSTVE gone wrong

jaunty wolf
woeful mural
slim smelt
woeful mural
#

or jst rawdogging and make projects

#

i think rawdogging is the method

#

ima highkey do that

jaunty wolf
vivid remnant
#

yeah it's impossible to find a game template Bruh 😭😭

slim smelt
#

rawdogging?

#

whats that

woeful mural
#

Raw

jaunty wolf
woeful mural
#

I ALR GOT MY GAME IDEA

#

mb caps lock

vivid remnant
#

yeah am a js make a simple skil scrpt today

novel heron
#

any recommended modules for ragdolling characters?

rose olive
#

should I apply knockback on local or server side?

vivid remnant
#

anyone got a summary on what module scripts are?

sage vapor
novel heron
vivid remnant
molten pond
#

yo superhuman

#

want to code for my game?

novel heron
#

usually its better to do it on the client so u get an instantaneous response

vivid remnant
ionic horizon
#

iss there any way to get all gamepasses, tshirts etc a player made with or without a proxy reliably

molten pond
#

its good

#

its alr

#

it will give u experience

#

if u want to learn

exotic dirge
molten pond
#

its rpg

#

its kindalike bloxfruits

#

the xp things and that

#

well

#

im trynna do that

#

so

#

what do u think?

#

dm me if ur in

exotic dirge
#

i have to many projects rn

#

if i am free ill dm u

molten pond
#

k

#

im a new dev so dont expect something big

rose olive
blazing mulch
#

hello

#

so i need some help on how i could solve this how i could script this

woeful mural
#

yea im fried im never making this game

#

i spent 5 mins making a leaderstats scirpt 💀

blazing mulch
#

so theres this ability i want in my game: when the player kills a certain amount of enemies, it fills up a bar that has a special ability of killing all enemies in front of the player in a line one by one

jaunty wolf
blazing mulch
#

and after doing so; the game speeds up

jaunty wolf
exotic dirge
jaunty wolf
#

u can be 10000 different versions of you but if you dont choose one, you will be nothing

blazing mulch
jaunty wolf
woeful mural
blazing mulch
#

i want to like know how they would script that how they would come across the problem so that i can script it

jaunty wolf
exotic dirge
woeful mural
#

and scripts are the true life sources of games

jaunty wolf
# blazing mulch so theres this ability i want in my game: when the player kills a certain amount...

theres tons of options in how to do this.
im gonna assume you want something that works with mutliplayer or keeps the door open to multiplayer. So you probably want the bar and stuff to be clientside, and for the server to track kills.

For now, id make a server script that tracks the kills. that would be the start. store the kills like you would anything with Leaderstats (u can google or ask chatgpt how to do that part) and increment when u get a kill

woeful mural
#

without scripting everything else is void

jaunty wolf
jaunty wolf
#

like an artist turned scripter is totally different from a builder turned scripter or someone who only knows programming