#code-discussion

1 messages · Page 53 of 1

sudden igloo
#

yes ofc it is im just wondering if there is a way that will be worth while rather than just events

#

sorta

sharp lagoon
#

Oh it was a joke?

karmic cobalt
#

just store this as values and send via event, I dont think it bad way to do it, its not using a lot of memory so you will be fine

sudden igloo
karmic cobalt
sudden igloo
#

do you think a system where i create a folder with string values of all the players in lobby work?

karmic cobalt
sudden igloo
sudden igloo
sudden igloo
karmic cobalt
#

You know rep storage its not a really safe place to store lobby

#

exploiter can acces to it

karmic cobalt
#

and can join private lobbies etc

#

like broke password

gleaming wolf
karmic cobalt
#

Imo better way store in server storage and send via event the values

gleaming wolf
#

you dont need to share a session/lobby password to any client

sudden igloo
gleaming wolf
karmic cobalt
#

or not

#

?

sudden igloo
#

not neccessarily just something that will work

karmic cobalt
#

but the santhegt idea its good, have a script in serverscripts, with tables of lobbies, and just inserting, deleting new lobbies with player etc eveyrthing as tables

sudden igloo
karmic cobalt
#

like if player create a lobby, inserting new lobby to lobby tables

#

and you dont need any folders

#

evyerthing will be stored in script not physical

#

in the table you can store lobby owner tho

brazen bramble
#

Ye mb

sudden igloo
#

and just pass it with events right?

brazen bramble
#

Cuz of the egg system

karmic cobalt
sharp lagoon
#

hubert

karmic cobalt
#

sup

sudden igloo
karmic cobalt
#

so for ui?

sudden igloo
#

yes

sharp lagoon
#

so it comes like a code

karmic cobalt
#

like that

sharp lagoon
#

like my issue is i want simple images instead of 3D rotating pets

#

on display

karmic cobalt
#

if you keep tables

sudden igloo
karmic cobalt
sharp lagoon
#

but i got some other codes connecting to this script idk if it will work

karmic cobalt
#

I know cuz its modules script

#

shhow me main module

#

where the script are required

sharp lagoon
#

lemme show you the hatch script

#

not mine btw

karmic cobalt
#

will be easier if you click ctrl + f and say Module3d and send me only this line

#

instead whole script

sharp lagoon
#

alright, i copy paste every line with module3D?

karmic cobalt
#

yes where the moudle3d are triggered

sharp lagoon
#

alright gimme 30 sec

#

oops

#

oke here

karmic cobalt
#

so the easier way its just create new module Module2D remove module3d and swap the module3d to module2d in these scripts, in module2d just make the same function Module2d.Attach3D(and send there pet name and pet module) in script do clone viewPort, for pet sended via the function, and change the camera view to the pet model, not adding the rotating script

sharp lagoon
#

but like

#

i want to add images instead to the shop display

karmic cobalt
#

like your own icons?

#

imagelables

sharp lagoon
#

yup

karmic cobalt
#

So clone imageLabels instead vewiport and send the roblox id image instead petModel

sharp lagoon
#

do i remove the whole 3Dmodule then?

karmic cobalt
#

yeah, it easier to create own than modify it

#

in my opinion

sharp lagoon
#

if i make the Module3D into 2D do i need to change anything to the... hatch thign yeah

#

hatch script

karmic cobalt
#

you need change all the lines who triggers function in moudle3d cuz module3d not be exist anymore

#

btw, I dont understand why you doing the same function for every pet instead store the pet in folder and just use in pairs to trigger function for every pet instead manually writring them like module3d.Attach3d(single pet)

#

for _, pets in pairs (Folder:GetChildrens()) do module3d.attach3d(pets)

#

so why you need these lines

#

liek pet3 pet2 etc

sharp lagoon
#

uhm ask the guy who made this tbh

karmic cobalt
#

he is not smart then

#

like i dont see sense, manually send every pet in the game instead do it in loop

sharp lagoon
#

no backbiting

#

alright i will see what i can do tho

karmic cobalt
#

gl

sharp lagoon
#

dont really believe in luck but

#

i will try to fix it

#

also thanks

rocky atlas
#

Someone can explain me what is the error on my script. The error is argument 1 missing or nil

rocky atlas
karmic cobalt
#

try before using teleportSerivce print the choosenplaceid and give me results

rocky atlas
#

Ok

karmic cobalt
#

wait I think I found problem

quaint pine
karmic cobalt
#

You doing something like that randomindex = placeid[randomNumber] and later you again try do local choosenRandomid = placeid[placeid[randomnumber]

#

the extra plceid its mistake

rocky atlas
#

Ok

karmic cobalt
#

random index

#

should be

#

only math random(1, #placeIds)

#

cuz you want get number only, not the argument of tables

#

and later choosenplaceId = placeIds[randomindex]

#

its work?

rocky atlas
#

I don't understand what I have to change

karmic cobalt
#

bruh

#

give me sec

karmic cobalt
#

@rocky atlas

rocky atlas
#

It works

karmic cobalt
#

cool

#

you understand what you did?

#

you instead get randomNumber first you picked random children of folder , and later you tried again get random children of children folder

#

and its gave you nil

#

cuz its not exist

rocky atlas
#

Ok

#

Thx bro

karmic cobalt
#

no problem

radiant island
#

np

sharp lagoon
#

Hubertus

#

@karmic cobalt do most games uses images for their display pets or 2D module thing?

karmic cobalt
#

and I dont think someone using viewport fdor 2d

karmic cobalt
#

viewport its using mostly for 3d

#

cuz as 2d its just wasting game memory

#

do it imagelabel

#

the best method its rendering image in blender

#

and do it as imagelabel

#

not veiwport

sharp lagoon
#

Or 99

karmic cobalt
#

dont played it

#

show me reference

#

so I tell you

#

I dont play shit games sorry

sharp lagoon
karmic cobalt
#

yes

sharp lagoon
#

Alright thank youuu

karmic cobalt
#

viewport need renders every part

sharp lagoon
#

So if I want that do I remove my module fully?

karmic cobalt
#

for otpimlization better is imagleabel

karmic cobalt
sharp lagoon
#

Like you know I got module3D thing instead of turning it 2D should I just remove it fully?

karmic cobalt
#

yes

sharp lagoon
#

Do I keep hatchclient thing?

karmic cobalt
#

i dont saw your client hatch

karmic coral
#

Lf someone to make death effects on my swords (ill show u reference to what i have) paying per task pref u do vfx

karmic cobalt
teal iris
#

hey guys how can i move primaryparts through script when i have perfectionweld?

#

i mean i have like 3 models and in one of those models i have a primpart i wanna move but when i try to move it the entire thing gets moved

karmic coral
#

u can do it with code or vfx

#

i said pref u do vfx

#

dm me @gleaming wolf

stable urchin
#

afaik you're just talking about the instance data being present, + a rendered 2D textured

karmic cobalt
#

the imagelables its better for optimqlization

#

if you have like 50 viewportframes dynamics rendering the every pet in your game

#

better option its render the pet in blender

#

and upload it as imaglebael

stable urchin
stable urchin
halcyon marsh
#

YOO I NEED QUICK HELP WITH MY CODE I WOULD PAY YOU IF YOU COULD HELP ME RN !!!
just voicechat api bugs please help me dm me

lofty belfry
#

anyone selling any simulator maps (MUST BE CUSTOM MADE NOT SOME SHIT ONE) i got 350k robux+

karmic cobalt
stable urchin
#

and this is for 50 pets/viewportframes?

karmic cobalt
#

no per viewport

#

the diffrence between them are insane big

stable urchin
#

and this is when those imagelabels/viewports are actually visible?

karmic cobalt
#

Wdym?

stable urchin
#

viewportframes only render when visible

karmic cobalt
#

yeah but for example if you have 50 pets in game and you want 3d shop for them like rotating pets in gui

#

doing a loop for 50 pets

#

rendering 50 pets in one time

#

its like 50k kb

#

and also, probably you gonna destroy the frames everytime when he close gui

#

and upload them again

stable urchin
#

should be negligible

karmic cobalt
#

right? when he open

stable urchin
karmic cobalt
#

I mean render them again* depends on your script for example if you have script with one background and you looping the pets, skins, trails etc always when player click other button

#

and destroy previously

stable urchin
#

I don't follow

#

you create the viewportframe when needed

#

and you can recycle it, choosing to only destroy its contents

#

even with 50 frames, the memory footprint should be negligible, and should be a lot easier to work with

#

for a game I worked on I used them for a dynamic hotbar icon system

karmic cobalt
stable urchin
#

saves a lot of hassle creating icons for fifty different items

stable urchin
#

they won't render anyway until they're shown

karmic cobalt
#

in module?

#

and just require the module

#

when you need?

karmic cobalt
#

but shop with like 100 rotating pets

#

just nah

#

better do render in blender

#

and imagelabel

stable urchin
#

you just leave them parented

karmic cobalt
#

so you creating every viewportframe on player loading, and later just change the camera pos of frame to show in shop when they click it?

stable urchin
stable urchin
#

and then won't touch it

#

set and forget

karmic cobalt
#

so where you store it

#

until player click shop

stable urchin
#

store what

karmic cobalt
#

the viewport frames

stable urchin
#

why would I store them

#

they just exist

karmic cobalt
#

i think you dont understand me

#

they need exist somewhere

#

so where they exist

#

like how you can later show them in store

stable urchin
#

on game load I set everything up, the viewportframes are parented under the hotbar, or in this context, under the shop grid frame

#

that's it

karmic cobalt
#

bur the viewport showing the renders instanlty when player loads?

stable urchin
#

it's no problem

atomic aspen
stiff stag
#

why is every scripter on this platform suddenly so bad... 💔

stiff stag
#

cant find any1 good

misty lodge
stiff stag
misty lodge
#

lol

atomic aspen
# stable urchin I'd say so

my model has this white outline which i can't get rid of
im pretty sure it isn't a lighting issue since I've messed with the lighting a lot and it hasn't changed

stable urchin
#

nvm

#

change BackgroundColor3 of viewportframe

atomic aspen
#

wtf that worked tysm

stable urchin
#

for some reason roblox doesn't allow you to change the outline width

stable urchin
atomic aspen
#

i made it black
any other things u recommend i do?

stable urchin
#

🤷‍♂️

#

what is your use case

atomic aspen
# stable urchin what is your use case

it's gonna be animated to bob up and down slightly and the propellers will spin
it's for a tutorial where the drone is guiding u telling u what to say

#

ignore the name i need to figure out smth better😭

stable urchin
#

oh

#

honestly nothing to say

#

looks good to me

atomic aspen
#

alr i appreciate ur help

raw hollow
#

whyyyyy

#

man i need to learn better coding

atomic aspen
raw hollow
stable urchin
#

trying to retrieve a value from nil

#

nil means nothing, air, nada, void, doesn't exist

stable urchin
#

so LocalPlayer property of Players service must be nil

#

if you look at docs it tells you it's only set for client

#

1 + 1 = 2, you cannot use it on server

raw hollow
#

a

mental zinc
# raw hollow whyyyyy

ClickDetector.MouseClick:Connect(function(plr)
local leaderstates = plr.leaderstats

stable urchin
mental zinc
#

in terms of getting leaderstats

stable urchin
#

the player that should be affected is local to clickdetector's click event

raw hollow
stable urchin
#

you must grab leaderstats from within clickdetector click event

raw hollow
stable urchin
# raw hollow whyyyyy

side notes

  1. please include code number lines so that it's easy for us to call out specific lines
  2. you can shorten line 9 down to Money.Value += 50
stable urchin
stable urchin
spare widget
#

Hey guys , how easy or difficult is it to create a script for a sphere to have real physics so that a player can push it uphill

mental zinc
# raw hollow so like a remote event?

basically when the function runs, player is retrieved, and you can pull it by adding it in the first parameter, note that you can call it anything. e.g.:

``Clickdetector.MouseClick:Connect(function(apple)` apple will be the player instance

karmic cobalt
spare widget
spare widget
#

With time and resistence

karmic cobalt
#

in part you have something called customphysics

spare widget
#

More than it is on flat land

karmic cobalt
raw hollow
#

AAAAA IT WORKSSSS, thanks to @stable urchin and @mental zinc for the help

#

and joey for the tip

mental zinc
raw hollow
#

thankss

stable urchin
stable urchin
#

@raw hollow I suggest you also train yourself in using documentation

#

just curiously scouring through it

#

you'll pick up on some stuff, at least I did

#

roblox devforum also contains a wealth of information, if you use the right keywords you may find your answer without asking a single question

karmic cobalt
#

@raw hollow no hate but, if you tried localplayer in server script, I recommend pausing developing and learn at least basicis in programming first

stable urchin
karmic cobalt
#

no its just like he cant script a whole game if he even dont know what works in local what on server

spare widget
stable urchin
#

initially the various properties and names can be meaningless, it takes time to build understanding

#

and getting bad code as example to go off of doesn't help in this process

raw hollow
stable urchin
#

having said that

#

@raw hollow you should learn about the client-server model that roblox uses

raw hollow
stable urchin
#

it's very important to fight back against exploiters

karmic cobalt
#

yeah experimetning and creating own script helps a lot for learns, but you cant make something good without good scripting i dont talk about low effort obby

sharp lagoon
#

@karmic cobalt when making a display system when getting near to the model to hatch it, should I put a billboardGUI in the model?

#

Like the display where pets show

#

And you can hatch

stable urchin
karmic cobalt
#

and always use scale size and scale position instead scale offset.

#

scale offset should be 0 always

#

in uis

stable urchin
#

^ offset doesn't account for screen size, which can vary wildly

sharp lagoon
stable urchin
#

roblox studio has a feature to display various screen sizes

sharp lagoon
#

Oke thank you

#

Okay another question is

karmic cobalt
#

can you show me reference what you trying do

sharp lagoon
#

If I have many eggs how do I like make it so this eggs knows what pets it should have

sharp lagoon
stable urchin
lofty belfry
#

i got 150k i wanna make a cowboy simulator dm me if yall wanna help , give me ideas i got art work on how i want it etc.

sharp lagoon
#

Okay imagine you have 3 models each have 3 pets right

#

How do I manage what pet goes in what model

#

Folders?

stable urchin
#

what models

karmic cobalt
#

um i still dont understand

karmic cobalt
#

XD

sharp lagoon
#

Aaaaa

karmic cobalt
#

we need more info

stable urchin
#

what pets, what models, what are the pets for

#

why is the concept 'pet' seperate from its model

sharp lagoon
#

Okay so imagine you have An egg and you go there and you see a gui and it shows the pets you can get if you hatch, each egg has 3 different pets

karmic cobalt
#

Okay I understand it

stable urchin
#

is it physical

#

is it a physical object in the workspace

karmic cobalt
#

so if you have one egg and player from that egg can get 3 diffrent pets

sharp lagoon
#

Yes

karmic cobalt
#

I recommend make table and modules for them

sharp lagoon
#

Modules so the scripts don’t repeat?

sharp lagoon
karmic cobalt
#

I mean i reocmmend make a EggModule and inside them make a table for eggs

#

like

stable urchin
stable urchin
#

oh

#

are the eggs comparable to lootboxes

sharp lagoon
#

Hahaha what

sharp lagoon
karmic cobalt
karmic cobalt
#

standard, premium, deluxe etc

#

forest, snow

#

idk whhat eggs you have

sharp lagoon
karmic cobalt
#

its works liek folders

#

If you put the eggs in the world you can add them attribute calls "type" = "standardEgg" later in script require the module egg, and do loop inside whole module table to find if the attribute find a match in the table

#

and if found

#

you just dowloand the folders childrens from stnadradEgg

sharp lagoon
#

But I also want the images of the pets on the gui wouldn’t that make it complicated?

#

Also the pets do they need humanoid?

#

Or just a good following script?

karmic cobalt
#

Sorry bro but if you want take eveyrthing from toolbox you cant make good game

#

you can add images to tables too

#

under chance

#

image = id

#

@stable urchin i have question

sharp lagoon
sharp lagoon
karmic cobalt
#

pets dont need humanoid

stable urchin
#

you can stick that string anywhere

#

either in a config module or directly onto the pet in question

stable urchin
lofty belfry
#

paying someone 10k-20k to make me a custom simulator game fully scripted or i can bring a scripted but fully custom map dm me !

karmic cobalt
#

what simulator

#

@lofty belfry

lofty belfry
#

i can show how u make it

karmic cobalt
pearl sundial
still bison
finite coral
#

@dense bluff

karmic cobalt
#

3k for full scripted game

#

offer of the day'

stable urchin
karmic cobalt
pearl sundial
tardy badge
#

can we close roblox Respawn manually from settings? so that players can't kill their character by their own (pressing R)

#

talking about this

karmic cobalt
karmic cobalt
#

give me sec

lofty belfry
#

u asked for 10k-20k 😂

#

to make one script

#

ur a neek

pearl sundial
karmic cobalt
#

good luck finding a scripter for 3k for full game XDD

tardy badge
karmic cobalt
#

maybe beginning junior

lofty belfry
#

nobody said for a full game mate

karmic cobalt
lofty belfry
#

u didn't even let me finish

#

that's why ur shit

karmic cobalt
#

yeah

tardy badge
karmic cobalt
tardy badge
#

sure lemme see it

wicked herald
#

hey can i get help with something?

still bison
pearl sundial
#

Like how is this fair

tardy badge
wicked herald
#

who is it

#

aight thanks

karmic cobalt
#

you can disable almost evberything created by roblox by setcore

#

like inventory, leaderboard etc

tardy badge
karmic cobalt
#

its need be localscript

karmic cobalt
#

I prefer put in localscript and in repfirst

#

so the script instanlty triggering

tardy badge
#

yeah best to do

karmic cobalt
#

we should report him adn he should get ban here

#

or you dont send him the model yet

pearl sundial
#

I didn't send the model, but I did it for his map only so no else wants it

#

Like I thought he was gonna pay

karmic cobalt
#

@stable urchin are you friendly with raycasting?

karmic cobalt
pearl sundial
#

He prepaid some else so I trusted like

tardy badge
karmic cobalt
#

did you put it as localscript?

tardy badge
karmic cobalt
#

Try move to repstorage for a moment

#

and test it

#

or wait

#

im idiot

#

put the script in StarterPlayerScripts

#

not repstorage not repfirst

karmic cobalt
#

you can also try add task.wait(1) and test it

tardy badge
#

just looked to forums, need a repeat so it doesn't fail looks like it can error sometimes, thanks tho

karmic cobalt
#

the resetbutton just need be loaded

#

in game

#

probably 1 seconds its enough

lofty plinth
#

There's times where it just completely fails to load so ur better off waiting till it registered via a loop or smth

tardy badge
#

yeah thats why i think repeat would help

karmic cobalt
#

do its keeps disable when they die by other thing on map?

#

like fall of the map

lofty plinth
#

it should

tardy badge
#

yeah

lofty plinth
#

I personally just do this:
then after it sets to false I load everything then set the bind

karmic cobalt
#

never saw pcall for setcore but its a nice idea to do it

stable urchin
lofty plinth
#

u could alternatively just do

#

just depends on the game

stable urchin
#

I don't blame your code

#

setcore is just that nice to use

lofty plinth
#

I've had core bogus not load at all so its the safest way I've had 2 do it

#

that includes the menu button

#

just not loading at all

#

it may of been fixed now but it was an issue when writing this

wicked herald
#

hey could i get some help?

lofty plinth
#

with?

wicked herald
karmic cobalt
wicked herald
#

okay so when i touch a part it teleports me to the place that i want to go to and makes the gui visible

karmic cobalt
# karmic cobalt I have problem with beam on my raycasting, like if player moves and shoots beams...
local ServerScriptService = game:GetService("ServerScriptService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local remote = ReplicatedStorage:WaitForChild("Remotes"):WaitForChild("ShootRemote")

local gunShooting = {}
local reloading = {}

local function createShotEffect(origin, hitPosition, tool)
    local beam = Instance.new("Part")
    beam.Anchored = true
    beam.CanCollide = false
    beam.Material = Enum.Material.Neon
    beam.BrickColor = BrickColor.new("White")
    local distance = (hitPosition - origin).Magnitude
    beam.Size = Vector3.new(0.1, 0.1, distance)
    beam.CFrame = CFrame.new(tool.BulletPos.Position, hitPosition) * CFrame.new(0, 0, -distance / 2)
    beam.Parent = workspace
    game:GetService("Debris"):AddItem(beam, 0.1)
end

remote.OnServerEvent:Connect(function(player, targetPosition)
    if reloading[player] then return end
    reloading[player] = true
    task.delay(0.5, function() reloading[player] = false end)

    local character = player.Character
    if not character then return end

    local tool = character:FindFirstChildOfClass("Tool")
    if not tool or tool.Name ~= "Classic" then return end

    local head = character:FindFirstChild("Head")
    if not head then return end

    local origin = head.Position
    local direction = (targetPosition - origin).Unit * 500

    local params = RaycastParams.new()
    params.FilterDescendantsInstances = {character}
    params.FilterType = Enum.RaycastFilterType.Exclude

    local result = workspace:Raycast(origin, direction, params)
    local hitPosition = result and result.Position or origin + direction

    createShotEffect(origin, hitPosition, tool)

    if result and result.Instance then
        local model = result.Instance:FindFirstAncestorOfClass("Model")
        local humanoid = model and model:FindFirstChildOfClass("Humanoid")
        if humanoid then
            humanoid:TakeDamage(100)
        end
    end
end)

return gunShooting
sharp lagoon
#

@karmic cobalt if I put a stringvalue in the pet model can I make it display image from that? And the rarity multiplayer etc? Is that a good idea?

stable urchin
#

if so, welcome to the world of networking

karmic cobalt
wicked herald
#

and when i get to that place i can press the gui to go back to where i came from and also the gui goes away

karmic cobalt
#

I keep thhem server to avoid exploits form client side

stable urchin
wicked herald
#

but when i die and spawn back it doesnt work

wicked herald
#

it gives me an error

karmic cobalt
#

god damn, i hate doing replication

sharp lagoon
#

Also is it better to use serverStorage than replicated storage?

karmic cobalt
#

just do table for it

#

in table store rarity, images, petName

karmic cobalt
sharp lagoon
stable urchin
# karmic cobalt I have problem with beam on my raycasting, like if player moves and shoots beams...

I don't want to write paragraphs so I'll keep it brief. It takes time for information to travel from server to client (victim position replication) and back (shooting at the victim). This time is called latency. The roundtrip (to + from) is called ping. You need to compensate for ping. You keep a record of past character locations, let's say every frame, up until 2 seconds in the past. When client tells server that it hit something, the server looks back in this record based on ping, and interpolates between the two frames that surround the given ping amount. Server then uses this past position to do hit verification.

#

This still isn't perfect though.

stable urchin
karmic cobalt
#

shit

stable urchin
#

also fun fact

#

that caused some players in my game

#

to think that there was an exploiter

#

because projectiles didnt visibly hit

#

because for the victim their murderer was aiming at their past location

stoic imp
#

for _, child in pairs(Building:GetDescendants()) do
if child:IsA("BasePart") and not string.match(string.lower(child.Name), "indestructible") and child.Name ~= "MainEngine" or child:IsA("Model") or child:IsA("MeshPart") and not string.match(string.lower(child.Name), "indestructible") and child.Name ~= "MainEngine"
then child:Destroy()
end
end
can someone PLEASE make the parts that are supposed to get destroyed go underground using cframe and turning off collision then getting deleted

karmic cobalt
#

i show you how it looks current

stoic imp
#

mb wrong channel

karmic coral
#

lf a scripter that does vfx dm me i pay per death effect dms ill discuss info

karmic cobalt
stable urchin
sharp lagoon
stable urchin
#

attribute

karmic cobalt
#

Which look better

stable urchin
#

íssue with left one is contrast

#

the red is very dark

#

with the right one I don't like the shimmer on the icon

fluid thicket
#

Yo has anyone here have ever made a td game?

oblique epoch
#

lf a scripter that does vfx dm me i pay per death effect dms ill discuss info

red snow
#

How do i add dynamic face to my dummy?

bleak glade
vestal pumice
#

but the right one would indeed be better if th text werew centered and the heart were darker

sharp lagoon
somber vault
#

just use objevtvalues

stable urchin
#

my solution isn't optimal

sharp lagoon
#

Thank you tho I appreciate it

halcyon marsh
#

Hey i need Quick a Dev for Hire dm me
Really fast work please

stable urchin
#

I'm just letting you know, as a developer, I'm not interrested if there is no info

halcyon marsh
#

Obby system

stable urchin
#

expected work, amount/type of payment, ...

halcyon marsh
#

paypal or robux

#

im going to send you all the info in my dm

stable urchin
gilded dagger
#

what y'all think abt attributes

stable urchin
lost pebble
# red snow **How do i add dynamic face to my dummy?**

just replace the dummy's head for a dynamic one. or you could do the easy route and equip it on your character, play test your game, copy your character, and paste it in your game after you stop play testing. make sure to unlock it after you paste it

nimble dawn
#

Anyone know how to fix ts

#

I can't drag select

#

I can't click anything unless I click ON select

#

Ts pmo

gloomy kraken
somber vault
#

Dear GOD what the fuck did google AI just say

final harness
terse hinge
#

Watching a yt playlist or just reading from the documentation

karmic coral
#

lf someone to make kill effect + script it ill pay per task.

tame echo
#

looking for a coder to help with me and my teams upcoming game. In development, we have general ideas but are offering to pay a % of our game. Please let me know if you are down to work with us, just send me a DM.

proper veldt
#

Why don't developer products work in Team Test?

somber vault
#

@flint shell You suck!

elder mica
#

how do i make a animation play when a player clicks the mouse button

flint shell
cursive forge
#

helo

#

Does anyone know how to change the roblox default walk animation ??

jolly harbor
#

inside the script it has a bunch of IDs for walking / running etc.. just replace that

cursive forge
jolly harbor
#

you even made sure to delete the old Animate?

cursive forge
#

Default keeps goin back for idk what reason

cursive forge
#

Should i also customize the humanoiddescription?

jolly harbor
#

ngl idk what HumanoidDescription is

cursive forge
#

Same

#

Just found out today

#

Idk why roblox makin it complicated to customize animation, weird

wide plover
#

yo anyone wanna be a scripter for a game ill be a gui designer and builder/modeler

cursive forge
#

Cause the copy and pastinng of the Animate script to startercharacter works back then

jolly harbor
wide plover
#

who tf u

cursive forge
meager lake
#

So, this is my spectating system for a game I'm working on. If a player dies during an active round, the script should wait for the player's character to respawn then send them to spectate mode. It was sending them to spectate immediately after they died and the camera would reset after the player's character respawns so I made it so that the script has to wait for the character to respawn then send them to spectate but now it's not even sending them to spectate. The respawntime in explorer is set to 0.5 seconds. Here's the script, any help is appreciated:

#

Please help

cursive forge
molten creek
#

.

gaunt delta
#

Does anyone know how you would go about making a car system

meager lake
cursive forge
#

just debug it first every function if print etc etc else etc etc

#

also make sure thee character is completely added before proceeding to whatever function it is

twilit cloud
#

did roblox deprecate renderstepped?

cosmic tinsel
#

guys how would i go about making a shop and inventory system like forsaken

compact hearth
#

if i play an animation locally will other people be able to see it?

frail yarrow
nimble dawn
#

Anyone know how to detect when a player sits on a seat

#

🙏

#

Stg if no one answers I'm js using a damn proximityprompt

vernal pawn
#

Hey - I am curious if anyone has thoughts about this.

I have a few services that need to be in a certain order when the game is compiled, but I am running into race conditions. My initial idea what that I could use InIt on my service (from flamework) for those processess; but, I also have event calls that need to be in the service but i am unsure where I should assign those.

Any advice is welcome. I tried to make a custom boot strapper but it is tricky to get everything in the correct order, although I could try again with more planning.

glass garden
twilit cloud
#

i heard bind to render stepped also has been limited to like 30-60 fps

glass garden
twilit cloud
#

yeah

glass garden
#

I may be doing a video with an engineer that can talk through all of those runservice things in the near future. Should hopefully clear up any of that stuff

twilit cloud
#

i will subscribe thanks

vernal pawn
twilit cloud
#

animations on the character

wet mauve
twilit cloud
#

humanoid:GetPropertyChangedSignal("SeatPart") maybe

twilit cloud
#

if its nil they arent sitting on something and if it isnt then they are

blissful wharf
#

yo would any1 be down to work of commision for me

#

dm me for me info

nimble dawn
#

I was helped a bit ago but thanks nonetheless

bleak glade
nimble dawn
#

The solution

#

Yea I named the part seat...

vernal pawn
vernal pawn
bleak glade
#

if they can be public just put them in replicatedstorage

nimble dawn
bleak glade
vernal pawn
#

I just was poking fun at Pascal for local variables

#

my friend uses snake case for literally everything

viral cliff
#

Can anyone here fix a UGC script for some $

nimble dawn
bleak glade
#

i use camel case

vernal pawn
nimble dawn
#

Oh I js googled it

vernal pawn
#

for local vairables i use camelCase

nimble dawn
#

I get wym

vernal pawn
#

ye its just a preference :)

nimble dawn
#

I just like

#

Do whatever I feel like 😭

bleak glade
#

full caps for constants

nimble dawn
bleak glade
#

it seems i use pascal more actually

vernal pawn
bleak glade
#

i need to learn roblox typescript

#

i love types

nimble dawn
bleak glade
nimble dawn
#

Which is like

bleak glade
#

it asserts something as it

#

so that now has the functionality of a screengui in the script

nimble dawn
#

Asserts in what manner

#

Oh

bleak glade
#

i can get its properties

#

like filled in

nimble dawn
#

Oh is that type script

#

exclusive

bleak glade
#

no its just declared at the top

nimble dawn
#

Which

bleak glade
#

its helpful to have

#

and its something i whished i learned how to use earlier

nimble dawn
#

Okay so is THAT type script

bleak glade
#

no

nimble dawn
#

.

bleak glade
#

its apart of my signalNET

#

you dont need a script that is just types

#

and honestly its kinda bad for organization to have, unless its for a framework

nimble dawn
#

I have

#

I no longer have

nimble dawn
bleak glade
nimble dawn
#

Like

bleak glade
#

it uses custom threads and custom remote events and functions

nimble dawn
#

No wonder I'm so confused

bleak glade
#

you havent heard of those yet?

somber vault
#

does anybody know how a Roblox Lua tool script for a "Hammer" tool it the Hammer is a tool, and I want to use raycasting. it can attach parts/models that have a "Placeable" Tag? because I have tried everything and nothing seems to work 😭

nimble dawn
#

Of frameworks?

bleak glade
nimble dawn
#

No I have

#

Just was trying to understand the code

bleak glade
#

frameworks are usually just a ton of modules that can be used across games that complete like a broad task to make it easier

#

its purpose is to make a normal roblox thing easier really

nimble dawn
#

Like react

#

?

bleak glade
stable verge
nimble dawn
nimble dawn
steel ferry
#

hello pls answer this qs why does a character act weird when hit and then reset it does not die but instead the health goes to 0 and again goes up

bleak glade
#

i need to learn more rust

graceful oxide
bleak glade
graceful oxide
bleak glade
frank quiver
#

I hate float point approximation

#

had to write all this just to get past float point approximation making the numbers on the GUI look ugly

#

😮‍💨

gleaming dagger
tacit tendon
#

Error:

ServerStorage.Modules.Managers.VoteManager:134: attempt to index nil with 'Option'  -  Server - VoteManager:134

Code:

task.delay(self.VoteTime, function()
        for i, v in pairs(self.ActiveVoters) do 
            if (v["Vote"] == self.Option1["Option"]) then 
                self.Option1["Votes"] += 1
            elseif (v["Vote"] == self.Option2["Option"]) then 
                self.Option2["Votes"] += 1 
            elseif (v["Vote"] == self.Option3["Option"]) then 
                self.Option3['Votes'] += 1
            end

        end


        if self.Interface then 
            self.Interface.LocalScript.Enabled = false
            self.Interface.Enabled = false

            task.defer(function()
                self.Interface = nil
            end)
        end

        if AssortedTable then 
            table.sort(AssortedTable, function(a, b)
                return a.Votes > b.Votes
            end)

            local FinalizedString = AssortedTable[1]["Option"]
                        print(FinalizedString) -- THIS PRINTS
            return FinalizedString
        else
            return "No Return Data"
        end
    end)

Im working on a voting script/system, why am I getting nothing in return when it is clearly there, and the script recognizes and prints the data. This makes no sense.

#

Assorted table and finalized string both print

frank quiver
frail yarrow
#

Im having an issue with announcing in the chat when players buy a developer product with their user with emojis

#

i have the script but in the output it doesnt say anything

bleak glade
frail yarrow
#

no.. where do i find that

bleak glade
#

check if the ID matches the product id

frail yarrow
#

The developer product works, its just the announcment of buying it in chat isnt working

#

like showing that the user bought it isnt working

#

Ex; 💥 EpicNoob42 unleashed Kill All!

wispy fulcrum
#

lol my npcs keep climbing into each other

shy carbon
#

Could I have a tutor for scripting? I know the basics but I csn’t pay I am broke as anything but I have always wanted to learn to script

#

Please DM if you can

#

I am going to dinner

wet mauve
warped mural
#

Building system with snapping is really difficult to write for some reason

I need help. I'm trying to write a building system with snapping. The snapping size is 4. I want it to work in a 4 by 4 grid. All parts' axes are multiples of the snap size (4, 8, 12, etc). I got it to work multiple times when the size is Vector3.new(4, 4, 4) but it was always offset in an odd way with different sizes, such as (4, 16, 4). I want it to work with normals as well.

I am a professional developer and have been for 6+ years, but I have been stuck on this for 2 weeks+ and AI is not helping either. Can you?

hardy pilot
#

Atp give up

#

How do you have 6 years of experience and cant make a grid WITH AI that can mostly do it by itself already

blissful wharf
wet mauve
wet mauve
#

And common doesnt mean the ai will get it right

hardy pilot
#

It mostly does

#

Because it has many references to copy from

dusky relic
#

Man needs to switch career fields

dusky relic
#

If you want a special grid you'll just need to use object space

wispy fulcrum
#

How can I make an "NPC" car? I want to have a car that simply moves along a surface (if it can it would be awesome if it can turn around corners and go up and down) and then do damage if a player or an NPC collide with it?

dusky relic
dusky relic
wispy fulcrum
dusky relic
#

There's hundreds of ways to do this

wispy fulcrum
#

if it just needs to be straight lines thats perfectly usable for me too

wispy fulcrum
#

anything scripting Im doing is reverse engineering or brute forcing scripts lol

#

I have the car model I want

dusky relic
wispy fulcrum
#

any examples?

dusky relic
wispy fulcrum
#

im braindead as shit but just barley enough to recognize...AI isnt good at ts?

dusky relic
#

Ts?

wispy fulcrum
#

this shit

#

¯_(ツ)_/¯

dusky relic
#

Just ask it how to use tween service to tween a models cframe

#

Just note that this is the worst way to do this

wispy fulcrum
#
local TweenService = game:GetService("TweenService")
local Players = game:GetService("Players")

local car = workspace:WaitForChild("Car")
local carPart = car.PrimaryPart or car:FindFirstChild("Body")

local startPoint = workspace:WaitForChild("StartPoint")
local endPoint = workspace:WaitForChild("EndPoint")

-- Tween settings
local tweenInfo = TweenInfo.new(
    5,                      -- Time (adjust speed here)
    Enum.EasingStyle.Linear,
    Enum.EasingDirection.Out,
    0,
    false,
    0
)

local goal = {}
goal.CFrame = endPoint.CFrame

-- Create the tween
local moveTween = TweenService:Create(carPart, tweenInfo, goal)

-- Damage on touch
local damage = 30
local touchedConnections = {}

local function onTouched(otherPart)
    local character = otherPart:FindFirstAncestorOfClass("Model")
    local humanoid = character and character:FindFirstChildWhichIsA("Humanoid")

    if humanoid and humanoid.Health > 0 then
        humanoid:TakeDamage(damage)
    end
end

-- Connect touch events for all parts of the car
for _, part in ipairs(car:GetDescendants()) do
    if part:IsA("BasePart") then
        local conn = part.Touched:Connect(onTouched)
        table.insert(touchedConnections, conn)
    end
end

-- Start the tween
car:SetPrimaryPartCFrame(startPoint.CFrame)
moveTween:Play()``` this is what ChatGPT gave me
dusky relic
wispy fulcrum
#

alr

wispy fulcrum
#

well you said to use ai

#

id prefer if there was some1 on yt that had a tutorial

#

but nah lol

#

i cant find one

dusky relic
#

Yeah, makes sense since what you want to do is quite difficult

wet mauve
dusky relic
dusky relic
wispy fulcrum
wet mauve
wet mauve
#

i tried to use tweens to move a character when the character uses an ability but the game crashes if i spam the ability

dusky relic
wet mauve
dusky relic
#

Custom physics engine

wispy fulcrum
#

ive got like 300 bobux I can withdraw from my group tmr if anyone can help- (i know that shits pennies to ppl but ive been getting scripts for 100 each and a few systems for 500)

dusky relic
#

Will always be the best solution

wet mauve
wispy fulcrum
#

i would be interested lol

wet mauve
#

how are you ever gonna learn

wispy fulcrum
#

Im not really trying to learn im just tryna make a game

#

if i pick up bits and bobs along the way then thats a great side effect

#

but i just want smth to work and dont always care how it happens

wet mauve
#

you cant make a game if you dont know how to implement the code you copy and paste

wispy fulcrum
#

thats why Ive been loving youtuber tutorials cus they tell you

#

or paying a couple other scripters for one or two odd scripts

wet mauve
wispy fulcrum
#

mate im just tryna make a game this week, I already have a guy who might agree to make me my lil dealership system where you buy a car and it spawns, and then if you already bought it once you own it so you dont gotta pay 60k every time to spawn it in

a money rob system

ACS has been...interesting to also implement

I just wanna get the game out, lowk the NPCs are just fancy atp, but it makes the game feel more "lived in" which is why if I can find a free way to do it, or something that works within my budget, I wanna do it

#

I think the last bits I need is the dealership car system, and to fix the gun store bug where if I have multiple gunstores it breaks LOL, but I can live with just 1 gun store

#

or I can brute force just making a new gun store, copying old scripts and pasting them in the same way they were there and changing the name/directory

#

ANYWAYS

#

@wet mauve even if theres documentation for this, or a written step by step, a link or sm would be nice, cus Idk where to look tbh

hardy pilot
#

💔

wet mauve
#

youtuube, dev forum

hardy pilot
#

Just learn scripting

wispy fulcrum
wispy fulcrum
#

I mean I have been

#

up to this point ive found a few ppl for the individual scripts so far, or at least a very small base to try my best to expand on

wet mauve
wispy fulcrum
#

not really even being sarcastic

#

besides the point tho

wispy fulcrum
hardy pilot
#

You cant hope to make a game with 500 robux and no special skill.

If youre so determined it shouldnt be much of an issue

wet mauve
#

you cant make a game if you dont wanna learn how to make one

#

unless you plan on throwing money at all your problems

wispy fulcrum
hardy pilot
#

Too bad I'm afraid

wispy fulcrum
#

ill be gone by mid may lol

#

took only 3 days to find it lol

#

i went to the 4th page of google 💀

wispy fulcrum
#

what

hardy pilot
#

FE!!
BEST WAY!!!

wispy fulcrum
#

if it works it works

#

¯_(ツ)_/¯

hardy pilot
#

Ill be the judge of that

wispy fulcrum
#

lmfao

hardy pilot
#

Yeah thats the most booty way Ive seen

#

Im questioning if its ironic

#

It uses a value to replicate a cframe from server to client ruining the whole point of doing it on the client

wispy fulcrum
#

https://www.youtube.com/watch?v=TgteWmiAweI found this other one that was shorter too and looking at it

📌 Links:
Download Roblox Studio: https://create.roblox.com
Discord Server: https://discord.gg/v9rsEjzwHU
Roblox Group: https://www.roblox.com/groups/14588047/EarlyDev
More Roblox Studio Tutorials: https://youtube.com/playlist?list=PLf8nztBmoaQN5Ms5uHMx423SK9wwnvLG0

Welcome to our latest tutorial on tweening models in Roblox Studio! In this v...

▶ Play video
hardy pilot
#

Well at least this one has no useless detour

wispy fulcrum
#

can I not weld MeshParts?

hallow crag
#

just do without the plugin

wispy fulcrum
#

what plugin

hallow crag
#

just do it manually

wispy fulcrum
#

OH

#

okay now it works

#

idk wtf happened

wispy fulcrum
hallow crag
#

yeah i thought u were using a plugin mb

wispy fulcrum
#

alg

stiff cave
#

Does anyone take % if they like the game?

stiff cave
#

Hopefully

thick sluice
lime relic
#

is there any reason other than version control to use rojo?? is it just for looking cool or smthn

dark coral
granite quarry
#

can i ask for surface gui help here?

lime relic
granite quarry
#

Kk

ornate needle
#

anyone have a ready skydiving script here

granite quarry
#

So when a player moves away from another player, you can see that their [ SURFACE GUIS ] move a bit away but when viewed directly from on top, they are in place

#

How do i make it so the surface guis don't move sideways like that

#

when you view it from far

granite quarry
#

that 71 and that colorful image on it is a surface gui

granite quarry
hallow crag
#

oh i see

#

is the surface gui position

#

changing?

#

in any way

granite quarry
granite quarry
hallow crag
#

have you tried comparing the position

hallow crag
#

between not in ur pov

humble flume
#

Don’t use offset

#

You can use plugins to auto convert offset to scale

hallow crag
#

in his pov

#

but not others

#

its not scaling issue

humble flume
#

If it isn’t then I am not sure

granite quarry
#

otherwise if you're close to them

#

it's fine

hallow crag
#

is the anchor point 0.5, 0.5

humble flume
#

Seems to be a scaling issue to me idk

hallow crag
#

not scale

granite quarry
#

It's in scale

humble flume
#

What about the surfacegui

#

I’m sure they have a property for that too

granite quarry
#

the surfacegui itself doesn't have any size property

#

the image does

humble flume
#

I must be confusing it with billboard gui then. I’ll be honest and say I have no idea about this then

#

I’m sorry I couldn’t help more

granite quarry
#

That's fine 👍

hallow crag
#

and the anchor point is 0.5, 0.5

gloomy kraken
next escarp
#
local partIsTouched = false

local touchPart = game.Workspace.TouchPart

touchPart.Touched:Connect(function(otherPart)
    if partIsTouched == false then
        partIsTouched = true
        print(otherPart)
    end    
end)

Whats wrong here

wet basalt
#

According to the doc an animator object in order to replicate must be instantiated on the server side. Which means you would have to play the tracks server side, right?

strange harbor
#

if i wanna send a webhook msg when my gamepass is bought this script would work right?

lofty plinth
#

Discord blocks it

#

u'd need to use smth like cloudflare

#

also u might wanna delete that as it has ur webhook url

strange harbor
#

its not the fulll

#

its more url

lofty plinth
#

its still a big giveaway

strange harbor
#

actually i wanted to create an automated middleman bot

hardy pilot
#

Sending all the requests!!

spring glade
#

how much yall think a horror game with 2-3 mechanics and a lobby coded should cost?

ionic oar
ionic oar
nimble skiff
#

after the print(otherPart.Name) put a task.wait(time before detecting the touch again) and then set the partIsTouched to false

#

thats ur choice tho

timber bramble
raw hollow
#

so, i have come here once again to ask for help.

i want to make it stop there (so it dont disapears) when u have full inv, how to i make that happen, what i need to put in the "else" section???

frigid thorn
#

If it's collected you want it to disappear?

raw hollow
#

yeah uhhh nvm, its too difficult even for the ai

frigid thorn
raw hollow
#

its like when u touch a chocolate u get it as collected item

#

and u can sell it by touching some pad

#

and i just want to make so when u have full inv it doesn't disappear

#

(cuz it disappears and respawn after 1 second)

frigid thorn
#

I'd make a new if statement

#

If collected.value is less than 5 then do the things it's supposed to do when collected

#

If collected.value == 5 then return end

#

Like that you mean?

raw hollow
#

can't i do like

#

else
return end

#

?

frigid thorn
#

Yeah sure

#

But place the transparency changing and all to the if collected statement

#

Where you add the +1

misty lodge
#

like little kid horror or actual horror

raw hollow
#

i tried the return thing but i added onTouch instead of end

frigid thorn
#

Did it work?

raw hollow
#

something like that?

frigid thorn
#

Try

#

But you have an extra end somewhere

misty lodge
#

its after the return

#

he dont need the end

frigid thorn
#

Yeah

raw hollow
#

after the first sell it doesn't give me the chocolate

#

taht happen with the return onTouch

frigid thorn
#

Reset the value

#

In the sell script

#

Cuz now I think the issue is when you sell, the value stays at 5

raw hollow
#

here the sell script

raw hollow
#

lemme check

#

a?

#

value inside the char

#

dont think it will work

frigid thorn
#

Hmm

#

It would work the same

raw hollow
#

so i think its trying to give me a 6th chocolate

#

so its stuck

#

cuz if i leave on time i can take again

#

another five

#

but if i sit there and try to take another one its just bugs

frigid thorn
#

Check the output or something

#

And add a print to the else return end

#

Something like ("full inv")

raw hollow
#

it doesn't repeat or start again

#

it jsut stuck on the return end

frigid thorn
#

I think the selling doesn't work

#

Neither the leaderstats

#

Idk if you sold it

#

But collected says 0

#

And add a print to the selling too

raw hollow
#

selling is good

#

now idk how to check for leaderstats

frigid thorn
#

Record a vid of the whole process

raw hollow
frigid thorn
#

Alr

#

@raw hollow

#

Where does the stack end

#

There's an error

raw hollow
#

aa

#

i got another 1 working with me

#

that is his work

frigid thorn
#

Do : wait for child

#

Ah

raw hollow
#

my workl is the one i send and i am working on rn

frigid thorn
#

Maybe try to remove the return

thick sluice
#

can someone rate this tutorial i made for the first time https://www.youtube.com/watch?v=PA7mhbDnQRk

today i will be teaching you how to code a roblox kill brick for obbys or whatever you are making

ignore:
roblox,roblox studio,roblox studio kill brick,how to make a kill brick in roblox,how to make a kill brick in roblox studio,make a kill brick in roblox studio,how to make a death brick in roblox,roblox studio how to make a kill brick,how to ...

▶ Play video