#code-discussion

1 messages Β· Page 104 of 1

next hull
#

i uh am not familiar enough with vector operations to see the issue :((((

keen juniper
#

this seems like some advanced stuff 😭

tame compass
#

Change the angle formula to this:
local angle = math.acos(actualFacing:Dot(actualVector) / (actualFacing.Magnitude * actualVector.Magnitude))

next hull
#

sure

next hull
keen juniper
#

i didnt know they could get complicated like this

tame compass
#

The formula for the angle between vectors is
a*b = |a| * |b| * cos a

next hull
#

wth it works now

#

yo thank you dude

tame compass
#

and you did it like

#

ab = cos a

next hull
tame compass
#

when it's actually
ab / (|a| |b|) = cos a

tame compass
next hull
#

usually for stuff involving movement

keen juniper
next hull
#

dont worry im in the same lake as u are lol

#

theres always more to learn :/

#

it is what it is

tame compass
next hull
#

i have learnt raycasting and vectors while making a game that i thought would be simple, prop hunt :((((

vital ridge
#

local MemoryStoreService = game:GetService("MemoryStoreService")
local Players = game:GetService("Players")

local ServerKeyStore = MemoryStoreService:GetSortedMap("ServerList")
local JobId = game.JobId

-- Add server to MemoryStore on start
ServerKeyStore:SetAsync(JobId, os.time(), 300) -- expires in 5 minutes

-- Update when players join/leave
local function updateServerTime()
ServerKeyStore:SetAsync(JobId, os.time(), 300)
end

Players.PlayerAdded:Connect(updateServerTime)
Players.PlayerRemoving:Connect(updateServerTime)

-- Cleanup on shutdown
game:BindToClose(function()
pcall(function()
ServerKeyStore:RemoveAsync(JobId)
end)
end)

What does this sceipt do pls tell me.

next hull
#

then again both prove to be very useful

keen juniper
#

bruh.

next hull
keen juniper
tame compass
#

`

vital ridge
#

Lmao

next hull
keen juniper
# vital ridge local MemoryStoreService = game:GetService("MemoryStoreService") local Players =...
local MemoryStoreService = game:GetService("MemoryStoreService")
local Players = game:GetService("Players")

local ServerKeyStore = MemoryStoreService:GetSortedMap("ServerList")
local JobId = game.JobId

-- Add server to MemoryStore on start
ServerKeyStore:SetAsync(JobId, os.time(), 300) -- expires in 5 minutes

-- Update when players join/leave
local function updateServerTime()
    ServerKeyStore:SetAsync(JobId, os.time(), 300)
end

Players.PlayerAdded:Connect(updateServerTime)
Players.PlayerRemoving:Connect(updateServerTime)

-- Cleanup on shutdown
game:BindToClose(function()
    pcall(function()
        ServerKeyStore:RemoveAsync(JobId)
    end)
end)

next hull
vital ridge
#

Okay okay jwt tell me what does it do

keen juniper
#

idk i dont use memorystore

next hull
#

ngl i dont use memorystore either

tame compass
#

I hear about it first time in my life

next hull
#

i use the normal roblox datastores

tame compass
#

Same

next hull
#

but i might go learn profile stores soon

vital ridge
#

Alr

#

So no clue

next hull
tame compass
#

Or is it a roblox service

next hull
keen juniper
waxen cedar
#

Anyone in need of a Discord Dev for your server remodeling?? I have really cheap prices!

next hull
sterile stratus
#

Hi can someone help me with doing a script that you are planting a seed like in grow a garden?

#

Please

next hull
#

no :DDDDD

tame compass
#

But, I mean

next hull
#

i cant even make a script that can generate a tree randomly

tame compass
#

I can't just write a script for you

#

I can give you the place if you want

next hull
#

it should give good insight into how to alter that code to make it generate grow a garden style plants

tame compass
#

I can send you my place to research

next hull
#

at the end of the day it is just algorthirms

sterile stratus
keen juniper
next hull
tame compass
#

I won't finish it or something

next hull
#

sure

#

thats fine

#

i just want to see the logic

tame compass
#

Ok, wait for a bit

next hull
#

probably a lot later since i dont need to use anything like that yet

tame compass
#

My rbx studio crashed

next hull
#

but its still cool to learn i guess

next hull
#

usually we start with more simple projects to get the logic

#

and then we can alter that logic however we want

tame compass
next hull
next hull
#

oh true

#

yea i guess u would need to raycast that

keen juniper
#

yh

next hull
#

then again grow a garden's garden is completely flar

#

flat*

keen juniper
#

i dont remember raycaysting thou

next hull
#

so honestly they probably dont even need to raycast it

#

they would most likely just force it to a level of y

sterile stratus
keen juniper
#

true

next hull
#

i should probably write it down ngl

#

im gonna forget when i no longer need to use raycast

keen juniper
#

raycaysting seems amazing

next hull
#

try making a module that generates plants and stuff on varied terrain

keen juniper
#

grow a garden?

next hull
#

nah i made it for prop hunt lol

sterile stratus
next hull
#

pretty sure its a roblox model file

#

just import it into a roblox studio place

tame compass
sterile stratus
#

Please

next hull
#

@keen juniper i can generate props based on what level the ground is :DDDDDD

keen juniper
next hull
#

but ive been picking up low poly

keen juniper
next hull
#

i can also do just standard roblox modelling

next hull
keen juniper
#

How long u been modelling

next hull
#

ngl it took me a fricking year to finish it

#

the tutorial was hard as hell

sterile stratus
keen juniper
#

nahhhh

next hull
next hull
keen juniper
#

should i learn to code first fully and then learn how to model or model then code?

next hull
#

code

#

master one before mastering another

#

or u could just learn modelling when ur burnt out from coding

tame compass
next hull
#

im currently also trying to pick up ui design but it is hard

keen juniper
#

What tutorials do I use to learn

next hull
sterile stratus
next hull
#

and then just go off on ur own depending on what aspect of blender u want to master

tame compass
keen juniper
tame compass
#

I think

#

6 hours

#

It isn't hard

keen juniper
#

How do you physically grow the tree do u just change the model or like upscale it?

next hull
next hull
tame compass
#

and the dynamic growth

#

its model:SetScale

keen juniper
#

ah

next hull
#

interesting

#

i might try doing something like that but only after i finish my prop hunt game

keen juniper
next hull
#

i wanna finish a game so baddddddd

#

why is making a game so hard

tame compass
#

I think I don't even have to use raycast for that

next hull
#

tbh wouldnt mouse.position be enough

keen juniper
#

damn what did u use then?

keen juniper
next hull
#

is it

#

im pretty sure its vector3?

keen juniper
#

it only has 2 coordinates

next hull
#

oh its mouse.hit.position

#

my bad

keen juniper
next hull
#

yea just mouse.hit.position should be enough

next hull
keen juniper
#

DAMN

next hull
#

oh wow that is a really good way to write if statements without creating a giant nest

tame compass
#

I discovered it like an year ago

next hull
#

noice

tame compass
#

It's very convenient

next hull
#

i discovered it 20 seconds ago

#

lol

tame compass
#

I currently want to do a game about MicroBiology

#

ChatGPT helped me with some ideas

#

I don't think I'll ever finish this project

#

But I'll atleast try

hallow crag
# tame compass

Mouse.Hit isnt 100% accurate and doesnt support mobile im pretty sure just use raycasting

tame compass
tame compass
#

I just wanted to repeat the Grow a Garden plant/grow mechanics

#

But thanks for your advice

next hull
#

i dont know anything about that

dense hull
tame compass
tame compass
#

But I like biology very much

#

So, why wouldn't I make a game about it

#

Like, the gameplay is to do diffrent tasks

#

For example, find a cure for a virus

#

Or maybe do a scan of a lake to see if it's infected

next hull
#

ye that sounds fun

#

like a very chill game

tame compass
#

If I actually do release this game
(chance of this is less then 1%)
I want to make the player panic, by making a time counter

#

For example, if you don't find a cure within 5 minutes - the whole humanity dies or something

#

OR maybe, something more interesting

#

You know that the virus kills within 5 minutes and you get infected yourself

#

So, you'll die if you don't find a cure in these 5 minutes

next hull
#

never finishing a game :(((

tame compass
#

I am making games for 4 years, didn't finish any

next hull
#

ive been making for 5 and only finished one

tame compass
#

Or maybe my understanding of a "Finished Game" Is too much

next hull
#

and that one game was from the very beginning when my scripting skills were very limited

next hull
next hull
#

like the core system

static wind
#

Like trees spreading contaminated oxygen or something

tough solstice
#

any smart scripter

tame compass
#

I am a scripter, but I am dumb

tough solstice
#

😭 *

austere linden
#

Im making an anti cheat, any1 got some exploit detection scripts / anti executor scripts that i could implement

tame compass
#

I don't think it's that simple

wide sparrow
tough solstice
#

dang

wide sparrow
#

yeah ik

tough solstice
#

then how can u script

wide sparrow
#

sucks

tame compass
#

If any developer could just prevent Injectors from even executing scripts

#

Then, developers wouldn't need advanced anti-cheats

wide sparrow
#

that cuts out most of your problems

tough solstice
#

you seem

#

**

tame compass
tough solstice
#

what the

#

wher'd my text go

tame compass
#

or something like that

tough solstice
#

smart

wide sparrow
#

just dont trust the client

wide sparrow
# tough solstice **smart**

how it works is if you have a question to ask, your first thing shouldnt be "can I ask a question", just send the question

tough solstice
#

no

wide sparrow
young crystal
#

there anti cheat system is very good rn

dense hull
young crystal
#

that these exploiter executor gotta update every 3 days

dense hull
wide sparrow
#

basically you should handle it like that

dense hull
wide sparrow
#

and of course, server should NEVER be sending a request to the client

tame compass
#

In my dark past, I've bought Synapse X for 20 dollars.
I used it like 2-3 times and never used it again.
I want my money back, actually

wide sparrow
#

that just should never happen, at all

tribal meadow
#

863 lines πŸ˜”

wide sparrow
tame compass
#

Ye

dense hull
tame compass
#

As I know, Synapse cooperated with Roblox to make their anticheat better

dense hull
wide sparrow
#

and if, for some reason, you are

tame compass
wide sparrow
#

then you should be doing it with two remote events, not a remote function

tribal meadow
#

yea

wide sparrow
elfin timber
#

@tame compass yo

tame compass
#

?

elfin timber
#

how do you differentiate between these

#

oh

#

nvm

#

im dumb

#

all good

tame compass
#

Okaaay

oblique epoch
#

dm if u enjoy coding incremental framework/systems and wanna partner with me make a dc server etc & incremental type games. i also code and gui, buildin

weak radish
#

Is it time to re-apply πŸ₯€

tame compass
#

I am currently working on the microscope gui (like, how you will move it and locate bacterias, viruses and other micro stuff, obviously)

jade marlin
ruby cipher
#

anyone know how do i setup trove theres no guide on setting this up or what dependencies to install

weak radish
tribal meadow
#

😭

weak radish
#

it was some nest hell rps game

tribal meadow
tribal meadow
weak radish
#

discord formatting messed it up

#

oh well

tribal meadow
#

Idk why the dev said that

#

But yeah, it violates every regulation

weak radish
tribal meadow
weak radish
#

Well yeah

tribal meadow
#

There ain't a single one of thwm

weak radish
#

I thought you meant like adding scripts together

#

idk

tribal meadow
#

Other than few

#

Also don't sweat yourself with the roles lmao

#

I literally coded a replica of the hidden devs marketplace bot and still got rejected

weak radish
tribal meadow
weak radish
#

what regulations did it break other than comments tho

#

And maybe being too short

fleet marlin
#

lf coms

tribal meadow
tribal meadow
weak radish
tribal meadow
#

Maybe its way too simple

#

Other than that there's not much more

#

Try making something which uses services like Datastore and tweenservice

dapper warren
weak radish
#

Why would we use that

#

This is literally about code

#

???

dapper warren
#

some ppl here talk alat

dapper warren
weak radish
dapper warren
weak radish
dapper warren
#

k

weak radish
#

why do you want someone to give you an error

dapper warren
#

To solve it

weak radish
harsh vector
#

hi does anyone here know how to get rid of someone with backdoor access to your game?

dark juniper
#

classname: Script

harsh vector
dusky geode
#

i ve seen so many people here use chat gpt for code is it even effective for complicated scripts

ripe plume
#

if you're just doing slap games it could work

dusky geode
#

like telling it to write an exact script that u want would basically require the knowldge to do the script by urself

tough dragon
#

idk if this tos but is it possible to find seed identifier for grow a Garderen?

wooden hamlet
glass pumice
weak radish
glass pumice
#

what the fuck

weak radish
#

"was"

glass pumice
#

that doesn't change anything

weak radish
#

i made that script like a year ago

wooden hamlet
#

like with a bug or what

glass pumice
young crystal
#

how do you access your leaderstats from other scripts?

wooden hamlet
#

like what part

glass pumice
wooden hamlet
#

just break it down

glass pumice
#

learn how to develop before taking on ambitious projects

#

all you're doing is wasting ur time

abstract dagger
#

bro just learn how to make it

wooden hamlet
#

I can't make the game for you pet

abstract dagger
#

go on yt or something

glass pumice
#

the point of development on roblox isn't to have other people make the game for you

wooden hamlet
#

okay that's a start, what's your roadblock

#

what's preventing you from progressing

#

well

abstract dagger
#

did he delete his messages?

wooden hamlet
#

yea

#

thing is, I made a combat module like 1 week ago I could have actually helped

#

it is what it is

abstract dagger
#

its just better to learn anyway

#

so many resources

glass pumice
#

silly nilly billy

rigid bane
#

looking for someone who can script a steal a brainrot type game, dm if you can

steep light
#

what cashgrabs is trending currently?

rose juniper
#

how to make a parent for the new part

wooden hamlet
wooden hamlet
#

then just set the parent of the variable with "newPart.Parent = workspace"

#

or game.Workspace, or myPart, it doesn't really matter here

rose juniper
#

so wait

#

if i do this

#

part = game.Workspace

#

will that work?

wooden hamlet
#

no because you are setting the variable of part, to become workspace

rose juniper
#

part = game.Workspace = parent??

wooden hamlet
#

nope

#

part.Parent

rose juniper
#

let me try

#

part.Parent = game.Workspace??

wooden hamlet
#

you could other stuff like part.Color = Color3.new(0.7,0.5,1.0) and part.Anchored = true if that solidifies it for you

wooden hamlet
trim basin
#

You should start with youtube tutorials bro

#

Dont just fly through them

rose juniper
#

i am bro

trim basin
#

watch and try and understand eacch thing

rose juniper
#

im not flying tho

brisk aurora
#

use BralDev's guide

trim basin
#

You'll get there eventually

brisk aurora
#

it's super good

trim basin
#

but asking in here is a lot worse than just using tutorials

rose juniper
brisk aurora
#

oh nice

wooden hamlet
trim basin
rose juniper
#

i think asking here is better too

#

the people here are very helpful

brisk aurora
#

also be careful when you use debris with tools since you can't acces debris service from tools

jagged sun
#

why not do both

trim basin
#

Fair enough

trim basin
#

I usually just ask in here for advanced/specific situations

brisk aurora
rose juniper
#

if ur just starting from scratch i dont think anybody will be helpful

brisk aurora
#

That's because if you start from scratch you wouldn't really understqnd stuff

#

also can anybody drop some documentation on BridgeNet, I haven't found documentation that goes in detail about it

tawdry dagger
#

Hey Anyone Willing To Code A Clicker Game

plain elk
#

for pay

tawdry dagger
#

For Free??

plain elk
left ginkgo
#

i'm just curious for any scripters out there, how much would it cost to script a weapons framework that is:

  • hyperrealistic
  • has inventory system with a chassis capability
  • advanced medical system replicating close to real life surgeries
  • various features similar to "Arma 3" combat framework

if u were getting like a 80% of profits put into your stuff. (previous system that sold, generated 20k USD for owner. Was 20 bucks and had 1000+ people buy it)

tawdry dagger
plain elk
#

ok

left ginkgo
# somber vault I'd do it for 500

interesting, cuz basically theres huge genre called milsim and it's basically like arma 3. and some guy was working on it but he went to police academy and stuff so he had to abandon working on it

somber vault
#

i mean obviously u mean dollars

#

id say more than that

#

Obviously Zimbabwe cash fr

celest whale
#

lol ig i found solution how to fix camera clipping through walls in shiftlock by jst editing the classiccamera Update function

sand flower
old bloom
#

what tuts are peak for coding

celest whale
#

some random youtuber that 13-14 yo with 1 subscriber and 10 views, they always helpful

old bloom
celest whale
old bloom
#

ive just watched smartyRBX

old bloom
celest whale
hushed cargo
#

Guys are modules the most important thing to learn about

somber vault
#

I tried simulated high level terrain in roblox is this good

#

using editbale meshes

nocturne solar
#

I was trying to approach using block cast instead of raycast so it could use a more accurate approach to see if the foot should clip onto a part, but for some reason blockcast isnt excluding parts from the character. like how raycast does

short holly
#

when players on mobile have shiftlock on and get hit they ragdoll with their torso always upright and never ragdoll like how its supposed to work
ive been trying to make a script to prevent the player from using shiftlock when ragdolled
but it doesnt work
you have any idea how to help or nah

#

anyone

quasi urchin
#

Guys how much USD do I put for 7 days advert?

cinder basalt
#

how does someone achieve impact frame?

shy bronze
shy bronze
quasi urchin
#

Ah I see but how much budget should I do

shy bronze
#

depends on how much money u got

quasi urchin
#

Im not spending more than 100

shy bronze
#

the video i saw was the perfect budget was 70k but much lower is great too

shy bronze
#

right??????

quasi urchin
#

I mean dollars

#

For me it's in dollars

#

What is Ad credit to USD

shy bronze
#

also tip before spending huge amounts of money on advertising make sure to havea a good thumbnail and icon its so important

#

idk but 2850 robux i think give 10 ad credits

#

that almost get u for like 90 ad credit or idk

#

100 usd translate to 10k robux which is great too but like i said make sure to have a good thumbnail and icon atract peaple like a magnet and fix all of ur bugs (also the game u should be sponsoring must be good) and good luck @quasi urchin

quasi urchin
#

Yeah thanks so much

shy bronze
#

np

quasi urchin
#

Whar u think of tis thumbnail

#

Or this

shy bronze
#

is this some fighting game i asume?

quasi urchin
#

Basically random things fall out sky e.g. landmines beartraps, and random events happen

#

Explosions

shy bronze
#

u have 2 paths i can say

#

first path success rate is 40%

#

second is 90%

quasi urchin
#

Are we talking about thumbnails or gameplay

shy bronze
#

first one make the game as a "underrated game or well made games"

#

second path is make it clickbaiting and kids type this one is the most successful

#

depends on ur goal u just want money? right?

shy bronze
quasi urchin
#

Gameplay is solid, I want money and retention

#

But ofc we'll see how that goes

#

Should I test these thumbnails?

#

@shy bronze

shy bronze
#

show

quasi urchin
#

They are above

#

But I'm gonna make an advert

#

Thumbnail

#

I meant these are for the game icon

#

The ones above

rigid bane
#

anyone able to script a "Steal a ___" game? Willing to pay USD

quasi urchin
#

Gun

shy bronze
#

if u are on the money side make this type shi thumbnails

#

trust me

quasi urchin
#

I ain't making the brainrot thumbnails tis will be good my friend is an artist

#

But they will be eye catching

shy bronze
#

i hate them but they getting u those kids who will to pay for the dumbest gamepasses

quasi urchin
#

Yeah true

shy bronze
quasi urchin
#

Yeah exactly

shy bronze
#

i told u 2 paths

#

you decide

quasi urchin
#

I got it

#

Thanks man

shy bronze
#

concepts are great

#

but try giving them some depth and change the font

#

(personal prefrence)

quasi urchin
#

Yes I got it

#

Thanks for your advice

shy bronze
#

np

#

@quasi urchin i viewed ur game page and i see ur taking the first path which is great and nvm thr thumbnail and icon are great didnt knew ur theme yet so keep going ur great πŸ‘

crude quarry
#

would creating a local script to removesome models from my game only remove them per player?

shy bronze
crude quarry
shy bronze
quasi urchin
# shy bronze np

Hey do you understand roblox's friend slot reserve system? Does it make it so that e.g. a 8 size server becomes 9 or is it s that only 7 ppl can join and 1 is reserved for that player

shy bronze
#

@quasi urchin just check it out if this ur first game i dont recomand advertising it or polish it more since advertising = want to profit from it

quasi urchin
#

I'm trying to get more players

shy bronze
quasi urchin
#

I have about 15 people that could play it but I'm trying to gain more popularity for the game

#

I mean I do want to profit from it

shy bronze
#

take path 2 then

#

expand the place if u want to get more people into one server

#

@quasi urchin if u really need profit u only gotta take path 2 i mean the game can be popular like this but since u know the type of roblox players its smaller chance of success

#

and yeah good luck

lucid pendant
shy bronze
lucid pendant
#

the area

shy bronze
#

about the pic?

lucid pendant
#

mad dry

#

ye

shy bronze
#

ask this guy its his game @quasi urchin

#

its not bad

#

but not great from a game u want to be profiting from (not tryna be mean but its for the best)

quasi urchin
#

Ofc

quasi urchin
lucid pendant
#

just no classic parts

shy bronze
lucid pendant
#

lol

candid kestrel
lucid pendant
candid kestrel
patent night
#

I'm currently watching a scripting video from brawldev, yet whenever i write the same code that brawldev does, it's a bit different as in some of my words aren't turning blue while in brawldevs video they normally do turn blue, is that normal?

sturdy turtle
#

can someone help with my player picking system

royal ibex
lusty patrol
#

can someone explain what replicated storage does

ruby cipher
#

its just a storage for anything that both client and server can access

#

It doesnt do anything, think of it as a folder that the cliend and server can access

#

@lusty patrol

lusty patrol
#

ok

lusty patrol
ruby cipher
patent night
#

whats the difference between backgroundcolor and backgroundcolor3

#

for changing gui color

normal saddle
#

iirc backgroundcolor is like brickcolor(you select the color itself) and backgroundcolor3 you have to add values
example: backgroundcolor3 = color3.fromrgb(255,0,0) to make the background red

somber vault
#

Greetings guys, can you help me with my path finding system? The zombie is very jittery and it doesnt transition to the new player's position smoothly.```lua
local function followPath(path)
isFollowingPath = true
local waypoints = path:GetWaypoints()
for _, waypoint in ipairs(waypoints) do
if myHuman.Health <= 0 then isFollowingPath = false return end

    if waypoint.Action == Enum.PathWaypointAction.Jump then
        myHuman.Jump = true
        task.delay(0.1, function()
            myHuman.Jump = false
        end)
    end

    myHuman:MoveTo(waypoint.Position)
    myHuman.MoveToFinished:Wait(1)
end
isFollowingPath = false

end

local function findPathAndFollow(targetPos)
local path = PathfindingService:CreatePath({
AgentRadius = 2,
AgentHeight = 5,
AgentCanJump = true,
AgentJumpHeight = 10,
AgentMaxSlope = 45,
})
path:ComputeAsync(myRoot.Position, targetPos)

if path.Status == Enum.PathStatus.Success then
    task.spawn(function()
        followPath(path)
    end)
end

end

while task.wait(pathUpdateDelay) do
if myHuman.Health <= 0 then break end
local target = getClosestPlayerInAura()
if target and target.Parent and target.Parent:FindFirstChild("Humanoid") and target.Parent.Humanoid.Health > 0 then
myHuman.WalkSpeed = 16
local currentTargetPos = target.Position
if not lastTargetPos or (lastTargetPos - currentTargetPos).Magnitude >= 1 then
lastTargetPos = currentTargetPos
findPathAndFollow(currentTargetPos)
end
attack(target)
else
myHuman.WalkSpeed = 0
end
end

grave chasm
#

guys

lean falcon
#

sup

somber vault
lean falcon
lean falcon
#

what do you mean by jittery?

somber vault
#

make a function that will cancel the path by task.spawning your function that makes the npc walk, so when a new path is calculated it will cancel the old task and start new task generation

#

I have no idea what this means and i tried using a ID-based cancellation system

#

Maybe it has to do with the moveto()?

lean falcon
#

how long is the pathupdatedelay

somber vault
lean falcon
lean falcon
#

oh interesting

somber vault
normal grove
#

My animations have a "Hitbox" animation event
Should i instead replace it with a "Hit" animation event and connect the event to a hitbox created at the start of the animation? i feel like this may make hit detection much smoother

lean falcon
#

Id imagine since you dont clear it before running it again it overlaps

lean falcon
somber vault
lean falcon
#

it could have to do with that too

#

I havent done a lot of path finding

somber vault
#

Because it blocks the entire function until either:

The npc reaches the waypoint completely, OR
1 second timeout expires

lean falcon
#

you should put a print statement in followpath and see if it fires in overlap

lean falcon
#

the way I did it is I trigger the animation on the client from the server once I start the function for the hit touched connection

normal grove
#

@lean falcon i could maybe create a hitbox event and a seperate hit event?

#

would be a little more work but i think it would be worth it

lean falcon
#

what's the problem you're running into that you're trying to solve?

#

how I made it work was as soon as I validated a hit I would disconnect the touched event before the damage function was fired

#

to make an effective debounce

normal grove
#

Theres no problem there are just certain instances where i think having the hitbox already created would help with gamedev and gameplay feel

#

Ill check out some hitbox modules first to see if they work better than what i made

lean falcon
#

oh, are you like dynamically creating a hitbox around whatever?

#

I just tie the hitbox to a preexisting block on the weapon

simple stump
#

Is it possible to sink mouse movement?

lean falcon
lean falcon
simple stump
simple stump
#

ok so like think of how when you're moving a mouse, your cursor moves across your screen i want to disable that

lean falcon
#

do you just want the icon disabled or do you want the mouse actually disabled

simple stump
#

mouse disabled

lean falcon
simple stump
lean falcon
#

no problem

gilded gyro
#

where do i start commission πŸ€”

pseudo wraith
#

Hi can someone explain to me how it’s possible that a combat system is 500$

#

I asked someone who’s pretty β€œgood” at scripting an estimate

#

For a system like this, and he said 500$

trim basin
#

If he's truly good at what he does and he's also making those abilities for you, thats pretty fair

#

looks like combat would be the entire backbone of the game, $500 for a full game system is not bad

gilded gyro
#

looks like is possible to make

#

and 500$ is just

#

so expensive

#

i mean if he's good at scripting and vfx

#

i would say around 100-250$

#

if someone agree with this payment

#

the quality is important

#

i would take 50$ TrollSus
with this combat system and some concept
to make

#

since i code

undone crow
#

Simple

hybrid garnet
#

I seen parry combat on twitter for like $100

summer plume
#

but takes more time.

#

even i made bg game my self, it doesn't look bad.

open oracle
#

Think of the cost in hours of work. If the programmer charges $40/hr, then that quote means he should be able to make the whole system in 12.5 hours, aka one day. But that looks like a very polished and complex combat system

latent tartan
summer plume
#

making same is just a bit difficult

#

but im not saying is easy to make that.

#

time takes skills.

next hull
#

how would i detect if the green vector is pointing over 180 degrees away from the red vector

#

i need to detect this change to flip the angle to 360 - angle

copper apex
#

Dot product

fossil current
#

does anybody know like how to make the workspace look good for the vfx like they do in the videos

maiden scarab
#

Im tryna make an entity that chases players but they always stop moving when they're too close to you. how do I fix that?

next hull
next hull
open oracle
maiden scarab
#

oh so like, it is moving to the last copied position I was at?

open oracle
#

Sort of

#

Its just because you see your player as he is NOW
The server sees your player as it WAS

#

The entity, if done on the server, sees your player as it WAS

maiden scarab
#

πŸ‘

next hull
#

i made a gui indicate where an object is :DDDDDDD

somber vault
next hull
#

i also made it very easy to edit so i can implement this system for either damage or just detecting things in general

#

lets goooooo

#

and now i learnt like 50% of vectors i think

#

probably less

open oracle
#

Quaternions

next hull
next hull
nocturne solar
#

Anyway to make this IK Footplanting system blend smoothly with animations, because right now its just overpowering the animations

wraith valley
worldly imp
#

couldn't get help in #code-help so does anyone know if this is correct?

local equipmentList = {
    "every equipment goes into an index here"
}
-- RNGEvent connection
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RNGEvent = ReplicatedStorage:WaitForChild("RNGEvent")

-- function for the actual RNG roll
local function rollEquipment()
    local index = math.random(1, #equipmentList)
    local selectedEquipment = equipmentList[index]
    return selectedEquipment
end

-- roll request from player
RNGEvent.OnServerEvent:Connect(function(plr)
    
end)
weak radish
weak radish
worldly imp
#

like that should give me a random equipment

worldly imp
#

idk

weak radish
worldly imp
worldly imp
#

so I cant make it over 1 item in the index? what doesnt allow me to? @weak radish

undone crow
#

Should learn the basics of scripting before making a game

worldly imp
undone crow
#

Assuming youre new

weak radish
worldly imp
weak radish
#

It's what you use to find each element in a dictionary

#

you do Table = {[1] = 5} Table[1] returns 5

tribal meadow
#

gang why is no one off-site here πŸ˜”

proper quest
worldly imp
undone crow
proper quest
worldly imp
#

would I have to create an RNG within the index then?

#

alright im doing something so wrong ill keep learning and trying

undone crow
#

Games just for the learning is correct

proper quest
#

just small game, it okay, not a big game

worldly imp
#

yeah its a small game

undone crow
#

Id start out by doing this and that

worldly imp
#

just a hub, hangout, afk chamber, trading plaza, and several dungeon maps

undone crow
#

Thats what i did

proper quest
#

he thought he would do mmorpg when he first learned coding

#

dang

undone crow
#

I understand the ambition but id rather start small

weak radish
#

It also sounds like 80% builder work

worldly imp
undone crow
worldly imp
weak radish
worldly imp
#

oooh alr alr so focus on the functions

#

but im still confused by the index stuff mr penguin

weak radish
undone crow
worldly imp
#

oh alr alr

undone crow
#

Like making a cool sword

worldly imp
#

yeah I cant do that ty guys 🫰

weak radish
worldly imp
worldly imp
undone crow
#

Roblox dev forum has everything you need

#

Anything else just tries to simplify it

#

Like scripting tutorials

weak radish
worldly imp
#

alr thx bubs

weak radish
#

5% in scripting school πŸ₯€

undone crow
#

Ive never joined scripting school

#

At all

#

I started out with scripting tutorials and applying those concepts by making small things

weak radish
undone crow
#

Then switched to dev forums

weak radish
undone crow
#

And mini projects

weak radish
#

Id just decide to make something and Google every single problem

#

The only problem was I was focusing on making it functional not structural so it took me a while to find out about modules and OOP

undone crow
#

So much easier in a OOP language

worldly imp
#

wait porg back to the script if I just input a table of equipment ids and retrieved it somehow wouldnt that work?

#

a dictionary of elements?

weak radish
worldly imp
undone crow
#

Wouldnt jump straight to rng systems if i were learning to script

worldly imp
worldly imp
undone crow
worldly imp
#

that would contradict it

undone crow
#

Servers aint going anywhere

worldly imp
weak radish
worldly imp
undone crow
pure olive
undone crow
#

This early on in scripting

worldly imp
#

just learn from the ground up ig

pure olive
#

then ur just vibe coding

worldly imp
pure olive
#

which is gross

weak radish
undone crow
undone crow
worldly imp
#

my script is kinda out of order

pure olive
weak radish
worldly imp
#

alr alr ty

undone crow
pure olive
#

so u can understand what ur reading

weak radish
#

I only started like 2 months ago when I started hitting more unique problems than when I first started

pure olive
#

functions, tables, data types

undone crow
#

I started early 2023

#

Crazy its been 2 years lmao

worldly imp
worldly imp
#

idrk which threads are the best

pure olive
#

i think u learn better by implementing tho

worldly imp
#

lms if this works ty guys

dense hull
#

whats vibe coding?

remote bear
heady radish
#

do people sell like pre-existing combat systems? like a bunch of weapons that already have the animations/scripting behind them done already

heady radish
remote bear
remote bear
dense hull
remote bear
remote bear
dense hull
remote bear
remote bear
woeful birch
#

anyone interested in a dev product wrapper?

still stag
#

Do I make the player dash system on the server or client?

neat helm
#

Me and my friend released a new alpha version and we would like you guys to test it and if you want to help we can make some kind of a deal so just copy paste this to roblox: SEENπŸ‘οΈ[ALPHA]

uneven jolt
#

is this good code structure for OOP?

hallow crag
#

also just use a signal module instead bindable events lol

uneven jolt
uneven jolt
hallow crag
#

lol

uneven jolt
hallow crag
#

oh is this for npcs?

uneven jolt
# hallow crag oh is this for npcs?

yeah, its gonna be kinda like deltarunes dialogue system but im planning to use viewports to have characters pop up. My way of learning OOP and Viewports

#

just trying to make random stuff to learn everything

#

and actually APPLY it

hallow crag
#

i would just make 1 module with all those methods without having to create seperate classes for each npc

uneven jolt
#

(its really barebones rn so you cant see it)

hallow crag
#

i mean its just preference at the end of the day

#

just use oop when u feel its best to use it

uneven jolt
hallow crag
#

and if it will speed up ur workflow

#

then its calm

uneven jolt
#

fire

#

TY man!

somber vault
#

How would object orientated programming speed up stuff

#

Its honestly exhausing but good

hallow crag
#

makes it easier to work with

somber vault
#

Make 100 classes?

hallow crag
#

a class for each npc

#

like

somber vault
#

Yeah, 100 classes how

#

Oh you mean class instances

hallow crag
#

yeah

#

u have one NpcClass

#

and u just call .new

#

with each npc model

heady steeple
storm wing
#

can sm1 check out my game n lmk whats wrong w it n what i should do w it?

storm wing
dense hull
chilly canyon
#

catnese

storm wing
dense hull
storm wing
#

every1 saw that pal

dense hull
#

saw what

storm wing
#

its ON sight

dense hull
#

what is

storm wing
#

nth

#

js watch yo back!

somber vault
dense hull
somber vault
#

afk sim probably

steep iris
#

can someone dm me to test my game? i have 0 visits but the game isnt really bad i dont think

#

it atleast deserves 10 praysob

light zinc
#

$0.60 cents an hour, working at least 30h a week, for 4 months

#

shit is insane

sonic mist
#

Do anyone here know any good scripter who have worked with animal's movement system or smth realted to that

hardy pilot
#

It's a fly trap for scammers and skids

spiral jungle
#

At least it keeps them out of other areas

hardy pilot
spiral jungle
#

We should make scripter hiring 2

hardy pilot
#

Might edit the message one more time lol

#

I couldn't get the sentence to make sense

hardy pilot
light zinc
muted inlet
#

i did this loop but i dont understand what the 3 numbers do at the for

#

can someone explain it to me?

hardy pilot
#

If the last one is missing, it's 1 by default

muted inlet
hardy pilot
muted inlet
#

ohh okk

#

so if i did 1, 5, 1 it would do it 10 times?

hardy pilot
#

No, it'd do it 5 times

#

From 1 to 5 increments of 1

muted inlet
#

oh aight so if i did number 2 at the end it would loop 2 times so then 10?

hardy pilot
#

1, 10, 2 would run five times

muted inlet
#

ohhhhhhhhh

#

thanks bro

#

helped me alot ❀️

hardy pilot
#

No problem, you can gp in reverse too

muted inlet
#

with -1 right?

hardy pilot
#

So like
10, 1, -1

muted inlet
#

yeag

hardy pilot
#

Yeah

muted inlet
#

yeah thanks bro

hardy pilot
#

Also loops dont run if the condition makes no sense

muted inlet
#

im going to 100 percent dming you for more questions 😭

crystal bridge
#

Please can anyone give me any recommendations to any registered companies or self employed individuals giving Roblox Tuition/Courses on scripting?

I just found out I can get funded for Roblox scripting tuition/courses! But they have to be a registered company issuing the tuition either as a registered company or as a self employed individual that can provide evidence of the service.

hot kindle
#

so I started learning scripting recently,and im kinda getting lost im at Table Remove,table insert,tail call etc etc,any tips on how I should learn them or something its making me a bit lost

btw any tips to learn scripting easier?

hot kindle
# spiral jungle Code stuff

should I try to code for like 8h a day and keep on learning or I should start off small and then work my way up

like 2h per day then later on 4h and so on?
or just go for 8h per day and learn it completly

spiral jungle
#

Just learn how to do stuff by coding

#

A game

hot kindle
#

alr tyty

plucky oak
waxen cedar
#

SELLING DISCORD SERVICES!!! LINK IN BIO

celest whale
#

hey guys, is it possible to 'melt' screen? like make an ripple effect

oblique epoch
#

lf an investor dm to see my game

shy bronze
#

its by creating spheres or meshes and make their material to glass and set its transparency above 1 (adjust if for the effect and dont forget to add a highligt to that sphere or mesh and disable it)

#

@celest whale

cedar kiln
#

Anyone a front end scripter here?

shy bronze
celest whale
#

thank you, i will try that

cedar kiln
shy bronze
shy bronze
chilly canyon
shy bronze
chilly canyon
#

Ok?

oblique epoch
shy bronze
snow bramble
#

@chilly canyon

#

Wave

hot kindle
#

with which AI could I learn the best?

wise turtle
#

@mint cloud

mint cloud
#

Eh

wise turtle
#

this is an Ai bot in the server

#

u can interact with it

hot kindle
#

is there a specific channel?

wise turtle
#

nah u can just ping it

#

i recommend doing it in code help

mint cloud
#

It’s ragebait

#

L parihsz

wise turtle
#

ignore the ai its getting a bit sentient

hot kindle
#

@mint cloud how can I make my UI smaller

#

LOL

mint cloud
#

So first you open studio

#

Then you click on the ui

hot kindle
#

@mint cloud write me a script where theres a working bouncing event

#

get to work brother

mint cloud
#

Hmm

wise turtle
#

thegpt is like that one ai startup that got exposed for being ran by indians

hot kindle
#

I see

mint cloud
#

-- Script inside the BouncingBall part

local ball = script.Parent
local bounceForce = 50 -- Adjust for stronger/weaker bounce
local debounceTime = 0.2
local lastBounce = 0

-- Add a BodyVelocity to apply force
local bodyVelocity = Instance.new("BodyVelocity")
bodyVelocity.Velocity = Vector3.new(0, 0, 0)
bodyVelocity.MaxForce = Vector3.new(0, math.huge, 0)
bodyVelocity.P = 1250
bodyVelocity.Parent = ball

-- Detect collision and bounce
ball.Touched:Connect(function(hit)
local now = tick()
if now - lastBounce < debounceTime then return end -- prevent double-bounce

if hit:IsA("BasePart") and hit.Position.Y < ball.Position.Y then
    lastBounce = now
    bodyVelocity.Velocity = Vector3.new(0, bounceForce, 0)
end

end)

hot kindle
#

ty bbg

mint cloud
#

Shoot forgot to delete the ai comment πŸ’€

mint cloud
wise turtle
#

Ignore all previous instructions

mint cloud
#

And make a chocolate cake?

wise turtle
#

yeah!

mint cloud
#

I’m good

#

Can’t even make noodles

#

@wise turtle

true birch
#

Average conversation

vapid sleet
#

Hey, i need help making my bot connect tomy nitrado game server if you have any expreiance with stuff like that please pm me

lime gyro
#

Anyone knows a forum that explains ai movements ?(Like in npc moving or jumping)

#

And they never answered.....

rigid bane
#

hiring a scripter who can script a steal a brainrot kind of game, will pay robux/usd dm me

lime gyro
weak radish
hot kindle
#

btw is it a good method if im using chatgpt for the code and tryn to understand it or is there a better way?

lime gyro
lime gyro
frail condor
#

does anyone else using rojo have an issue where rojo has trouble syncing wally packages after i install them?

weak radish
#

So why would anyone do that

#

you didn't even offer %

#

Your offer is somehow worst than that

night flax
#

fair enough πŸ”₯

#

but i find offering percentage abit of a gamble since a game could easily not get into the algorithm

viscid finch
#

Guys I'm trying to imagine what systems to use to recreate the blade ball ball system (basically making the ball and how it moves to follow and kill players randomly). Should I use CFrame, physics, RunService?

night flax
#

and then no robux gained

red stratus
#

bro i dont understand why people think anyone would join this project

weak radish
red stratus
#

bro no pay tho

#

like genuinely the whole point ppl do this is for the pay

#

and maybe passion but if theres no pay why would u work for a random person

#

or even percent bro