#code-discussion

1 messages Β· Page 246 of 1

solemn sierra
#

i mean, buggy as shit

urban sonnet
#

CAN SOMEONE PLEASE

graceful sierra
#

i do feel like you would get alot more satisfaction making it urself everytime

graceful sierra
solemn sierra
#

but i could spend 2 hours and make this work

urban sonnet
#

IM PRETTY SURE NOTHING IS WRONG

solemn sierra
#

but that wasnt what i was testing

urban sonnet
#

WHY IS DICITONARY NOT CASTING

graceful sierra
urban sonnet
#

yeas the oh that will tell me theres actually smth wrong

graceful sierra
#

hold on

urban sonnet
#

i held

solemn sierra
#

opus 4.5 keeps crashing

graceful sierra
#

lemme check how i do my tweens

sturdy knoll
#
game.Players.PlayerAdded:Connect(function(player)
    local leaderStats = Instance.new("Folder")
    leaderStats.Name = "leaderstats"
    leaderStats.Parent = player
    
    local coins = Instance.new("IntValue")
    coins.Name = "Seconds"
    coins.Value = 0
    coins.Parent = leaderStats
    
    while true do
        task.wait(1)
        coins.Value = coins.Value + 1
    end
end) 
``` i dont like coding, ts too hard
sturdy knoll
#

NO

urban sonnet
#

then stop complaining

graceful sierra
sturdy knoll
#

damn

urban sonnet
#

MF

#

CHECK YOUR TWEENS

graceful sierra
#

IM OPENING STUIDO

#

SHUSHY

urban sonnet
#

i bet you my last 2 steam dollars that i will find the issue before u find your tweens

graceful sierra
#

oh

frail plaza
#

how do i fix this?

graceful sierra
#

i got it ["Value you wanna change"] = actualvalue

frail plaza
#
    if NewHealth == 0 then
        if not Character:FindFirstChild("Dead_"..LimbSelected) then
            local RealLimb = Character[LimbSelected]:: BasePart

            if RealLimb:FindFirstChild("Mesh") then
                RealLimb.Mesh:Destroy()
            end

            local Replacement = ReplicatedStorage.Game.Assets.Gore.Skeleton[LimbSelected]:Clone():: BasePart

            Replacement.CanCollide = false
            Replacement.Anchored = false

            Replacement.Parent = Character
            Replacement.CFrame = RealLimb.CFrame

            RealLimb.Name = "Dead_"..RealLimb.Name

            RealLimb.Transparency = 1
            
            for _, Accecory in Character:GetChildren() do
                if Accecory:IsA("Accessory") then
                    if Accecory.AccessoryType == Enum.AccessoryType.Hat and LimbSelected == "Head" then
                        Accecory:Destroy()
                    end
                end
            end
            
            for _, obj in RealLimb:GetChildren() do
                if not RealLimb:FindFirstChild(obj.Name) then
                    obj.Parent = Replacement
                else
                    obj:Destroy()
                end
            end

            local Torso = Character.Torso:: BasePart

            for _, Motor6d in Character:GetDescendants() do
                if Motor6d:IsA("Motor6D") then
                    if Motor6d.Part1 == RealLimb then
                        Motor6d.Part1 = Replacement
                    end
                end
            end
        end
    end
graceful sierra
#

on the third argument of the tween

sturdy knoll
#

what's a tween

graceful sierra
frail plaza
graceful sierra
#

just weld the torso to the humanoid rootpart

#

and you should be good to go

frail plaza
#

alright thanks

urban sonnet
frail plaza
#

way simpler then what i thought lol

graceful sierra
graceful sierra
urban sonnet
#

oh

#

oh

frail plaza
#

btw one more question

graceful sierra
frail plaza
#

why do character controls become so delayed

#

when replacing the head

graceful sierra
iron kraken
graceful sierra
graceful sierra
urban sonnet
#

i TOLD U it was ==

frail plaza
graceful sierra
frail plaza
graceful sierra
#

and just making custom logic

median tiger
#
workspace ❌
local workspace = workspace βœ…
median tiger
graceful sierra
#

game.workspace is too slow

frail plaza
graceful sierra
urban sonnet
# urban sonnet i TOLD U it was ==

wait MF @graceful sierra THATS THE FUCKIN SAME AS BEFORE BUT THE FIRST HALF IS NOW NOT IN THE LOCAL AND INSTEAD MANULLY WRITTEN. IT TURNS OUT MY STUDIO WASNT UPDATING AT ALL

median tiger
frail plaza
iron kraken
#

imagine if i was rich af

graceful sierra
frail plaza
graceful sierra
#

never

iron kraken
#

then i wouldnt need to get a job

#

dam

graceful sierra
#

is require neck on or off on the humanoid

frail plaza
#

should i turn it off

graceful sierra
#

ye

frail plaza
#

instantly

#

alright

graceful sierra
#

if you change the neck motor6d at ALL

#

then yea

frail plaza
#

yup

#

thats the problem

graceful sierra
#

so for ragdolls it needs to be off

frail plaza
#

lol

graceful sierra
frail plaza
#

i change all the motor6ds when replacing torso

graceful sierra
#

makes sense

frail plaza
#

didnt know that instantly killed ya

graceful sierra
#

roblox at its finest

urban sonnet
#

YES BRO BECAUSE

#

YOU TOLD ME TO DELETE THE FIRST HALF

graceful sierra
#

eww

urban sonnet
#

WDYM WHAT DATA

graceful sierra
#

that looked terrible

#

hold on

urban sonnet
#

LIKE BUTTON.TEXTCOLOR3?

#

i held on

frail plaza
#

like this i guess?

#

idk why roblox even does this

#

kinda stupid

graceful sierra
#

but that works if it works

graceful sierra
frail plaza
#

i love the destruction

#

very satisfying

urban sonnet
#

BRO

#

STOP DELETINING

#

GIMME DAT

graceful sierra
#

IT LOOKS BAD

#

HOLD ON

urban sonnet
#

I DONT CARE BRO MY WHOLE SCRIPT LOOKS BAD ANYWAYS

frail plaza
#

has not been fixed

#

the torso is still seperating

urban sonnet
graceful sierra
urban sonnet
#

what it do what it mean

graceful sierra
#

atleast for them

frail plaza
graceful sierra
#

all it is is bacially saying which item the object is in a list

urban sonnet
#

so i use _, for stuff idc abt

graceful sierra
#

which :getDecendants or :GetChild produces

frail plaza
#

yea

#

if you have a table

#

tablename = {
["NameOfItem"] = 14
}

#

i would mean "NameOfItem"

#

or whatever you put there

urban sonnet
#

not

#

useless stuff = use for _,

graceful sierra
#

i use i because you deal with i in math and it means the same thing

frail plaza
#

ok so uh

#

i got NO clue

#

how to fix this

graceful sierra
urban sonnet
#

fuck easing styles i just want the time atp

graceful sierra
#

this is part of a module script

#

ill expand the screenshot hold on

frail plaza
frail plaza
#

that doesnt happen on death

#

it happens on individual limb death

#

each limb has its own health

graceful sierra
frail plaza
#

once that reaches 0

#

replaced by bones

graceful sierra
#

also check the rootjoint for me

#

on the torso when that happens

frail plaza
#

rootjoint

#

alr

graceful sierra
#

if its active, then it will do that

frail plaza
#

already do that i think

#

so should i disable it?

graceful sierra
#

oh god this scares me

urban sonnet
#

@graceful sierra IT SAYS LINE 17

#

WHY IT NOT TWEEN BRO PLEEEEEEEEASE....

frail plaza
#

what

#

😭

graceful sierra
#

so bascially you NEVER really wanna replace the root joint, the humanoid should stay universal most of the time

frail plaza
urban sonnet
frail plaza
#

{TextColor = buttonglow1}

#

like this

graceful sierra
frail plaza
#

put the whatever value u wanna change

graceful sierra
frail plaza
#

and what it equal

graceful sierra
#

a

#

WAIT

#

NO YOU ARE RIGHT

frail plaza
#

yea

#

its a tween

graceful sierra
urban sonnet
graceful sierra
#

how about this

frail plaza
#

just the part1 of it is

graceful sierra
#

i

frail plaza
#

should i make it so that

#

its not altered

graceful sierra
#

i dont have a scope of your code

frail plaza
#

whatsoever

#

i can send the pastebin

#

if u want

graceful sierra
#

cause if there are two constraints on a part

#

they both wont work

frail plaza
#

ok

#

ill send pastebin

graceful sierra
#

oki

frail plaza
frail plaza
#

i wrote ts in a random afternoon

#

not done formatting and organizing

graceful sierra
#

ok, are you SURE none of the replacement parts have constraints on them

iron kraken
graceful sierra
#

because your problem is caused by constraints just NOT working

urban sonnet
#

it does NOT work.

graceful sierra
#

its cause

#

YOUR

#

==

#

AND ITS NOT

#

button.TEXTCOLOR

#

its just TEXTCOLOR

frail plaza
#

yes

urban sonnet
#

mf you literally cant =

frail plaza
#

i struggled with this too

#

WTF

#

==

urban sonnet
#

OH

frail plaza
#

😭

urban sonnet
#

OH O HO HO HO OH

graceful sierra
#

there he goes.

frail plaza
#

== is a check

graceful sierra
#

yeh

frail plaza
#

= is a declaration

#

learn this quick

graceful sierra
#

OH

urban sonnet
#

idk what a check means

graceful sierra
#

hold on, so on your code you are changing the motor6d of the rootjoint aswell

frail plaza
graceful sierra
#

when creating the weld for the torso part

#

disable the rootpart

#

that is two constraints

frail plaza
#

hm

#

i was thinking

urban sonnet
#

so i cant use color 3 in tweens??

frail plaza
#

what if i dont change anything about the torso

#

leave it as is

#

just make it invis

graceful sierra
#

uhhh

frail plaza
#

nvm

#

doesnt work

graceful sierra
#

do whatever you wants

frail plaza
#

lmfao

urban sonnet
#

OH I WROTE TEXT COLOR

#

FORGOT THE 3

graceful sierra
#

there you go

frail plaza
#

k so i should disable the motor6d before welding?

graceful sierra
#

actually

urban sonnet
#

@graceful sierra >:(

graceful sierra
#

try either

#

sigh..

frail plaza
#

do i re enable at any point

graceful sierra
#

your syntax is gonna kill me dude.

frail plaza
graceful sierra
graceful sierra
frail plaza
#

what?

graceful sierra
#

hes doing :Once() (data here)

#

when its supposed to be :Once(Stuff here)

frail plaza
#

yea ik

#

i see that

#

i was gonna say that afterward

graceful sierra
frail plaza
#

but once is also wrong in this use case

graceful sierra
#

it just disables the connection after its used

frail plaza
#

im guessing he wants the buttons to glow after every hover?

urban sonnet
#

oh too many brackets

#

mb all

graceful sierra
urban sonnet
#

I SENT THAT MESSAGE AT 5:32 AM GMT +3, I ALEADY FIGURED IT OUT.

graceful sierra
#

atleast

frail plaza
#

he could just use :wait()

graceful sierra
#

i think?

urban sonnet
graceful sierra
urban sonnet
#

Too many brackets

graceful sierra
#

idk if he wants to do that

urban sonnet
#

TOO MANY BRACKETS IT WAS

#

GUYS STARE

graceful sierra
frail plaza
#

πŸ₯€

urban sonnet
#

no i figured it out

frail plaza
#

ur tip didnt work 😒

urban sonnet
#

im the best scripter

graceful sierra
#

WHAT DID YOU DO BRO

frail plaza
#

stupid ass torso

graceful sierra
#

does the rootjoint just go, Nah id ball

frail plaza
#

i dont fucking know 😭

#

this shit so stupid man

#

πŸ₯€

graceful sierra
#

lemme check

frail plaza
#

1 single part of the body

graceful sierra
#

what i did on the server

#

hold on

frail plaza
#

roblox lwk pmo

graceful sierra
#

so i never disabled the rootjoint

sturdy knoll
#

LOOKING FOR A PARTNER TO MAKE ANY GAME/ WORK ON ANY GAME WITH, I DON'T CARE ABOUT SKILL LEVEL

abstract flame
#

ok

graceful sierra
#

hmmm

#

i created the weld first, enabled it first, then disabled the rootjoint

stable verge
#

how would i make a fishing system detect if the fishing rod's bobber enters the water? should i use the original water or should i use a part?

graceful sierra
#

or like when it goes below a certian point?

graceful sierra
#

although i have no idea if raycasts work on roblox water

#

id assume they do

frail plaza
#

uh

#

you can make

#

fake invisible

#

water

graceful sierra
#

true

frail plaza
#

that hovers just above water

graceful sierra
#

that the raycase can detect

#

but thats pretty beefy.

#

consider fisch for instance

#

i think raycast can detect roblox water, ive just never tested it

abstract flame
#

it can

abstract flame
#

but i dont know if it is thatreliable

graceful sierra
#

so i mean it must be

stable verge
stable verge
graceful sierra
#

like my fellow sirs have said

frail plaza
#

super accurate?

#

im pretty sure raycasts are always accurate

graceful sierra
#

yea..

#

if they arent

stable verge
#

not with water

graceful sierra
#

then likely something has .qeary that shouldnt

abstract flame
graceful sierra
abstract flame
#

i think i read something about this

graceful sierra
#

so roblox being wacky

#

when should we be surpirsed

stable verge
#

because when the part is inside the water, its spinning really fast when messes up the direction the raycast will shoot

graceful sierra
#

you can make the direction always down

#

no need for a upvector

abstract flame
graceful sierra
#

thats so silly

#

but the thing they mentioned there might work

frail plaza
graceful sierra
#

apparently theres a method to understand terrain

#

which water is

frail plaza
#

?

graceful sierra
#

"technically"

frail plaza
#

never heard of it

graceful sierra
#

neither have i

frail plaza
#

invisible block sounds easier though

graceful sierra
#

i just saw it, with what daniel showed

graceful sierra
#

varing heights.

#

and other variables

stable verge
graceful sierra
echo belfry
#

what are some fun things i could script and also learn from

abstract flame
#

vehicles

#

and/or guns

echo belfry
#

ill try that, its something new

abstract flame
#

what's ur programming level you'd say?

echo belfry
#

i think at least πŸ’”

abstract flame
#

yeah go for it then

echo belfry
#

thank u twin

frail plaza
#

guh

#

still havent fixed

abstract flame
abstract flame
frail plaza
#

basicaly

#

when i replace the player's head

#

the movement becomes really delayed

#

ragdolls become weird

#

etc

graceful sierra
#

it should always be the player

#

SHOULD

#

sometimes it may not be

frail plaza
#

i did that

graceful sierra
#

what did it return

frail plaza
#

im trying primary part rn

#

it was player

#

cus i set it to player

graceful sierra
#

hm...

abstract flame
#

are u destroying the head?

graceful sierra
#

how odd.

frail plaza
#

HOORAY

#

i was right

#

it was the fact that the head wasnt the primary part

#

that fixed it

frail plaza
graceful sierra
abstract flame
#

niiiiiice

frail plaza
abstract flame
#

what game is this?

frail plaza
#

realistic gore sim

#

working on it for me and my friends to play

graceful sierra
#

oo

frail plaza
#

also cus theres no gore sims on roblox 😑

graceful sierra
#

and there was one a while back

frail plaza
#

neighborhood wars?

graceful sierra
frail plaza
#

i am tryna find some models

#

for the halfway point

#

until i find those

#

ill prolly just need to stick with what i got

graceful sierra
#

perhaps

#

i love raycasts

#

they are so effecient, raycast my beloved

frail plaza
#

is this good structuring?

frail plaza
#

raycats are the solution to most problems related to math

frail plaza
tacit fox
#

not using module loaders?

frail plaza
graceful sierra
tacit fox
graceful sierra
#

so kinda like pcalls?

tacit fox
#

show me the client and servr side

broken grove
tacit fox
graceful sierra
#

damn

frail plaza
tacit fox
frail plaza
#

was just stuffin scriupts in there

#

ill prolly organize it when im done

abstract flame
#

have you ever tried mvc?

glossy wave
#

personally i'd rather modulize everything

#

have services and shit

glossy wave
frail plaza
glossy wave
frail plaza
#

πŸ₯€

frail plaza
#

how do i make them go onto walls?

stable verge
#

math

frail plaza
#

should i use raycasts in all directions?

#

rn i only check downwards

#

and adjust rotation for slopes

#

how would i do raycasts in all directions

stable verge
frail plaza
#

ill send the raycast apart

#
local function CheckFloor(Character: Model,Ball: BasePart)
    local params = RaycastParams.new()

    params.FilterType = Enum.RaycastFilterType.Exclude
    params.FilterDescendantsInstances = {Character, workspace.obstacles}

    local Origin = Ball.Position
    local Direction = Vector3.new(0,-1,0)

    local Raycast = workspace:Raycast(Origin,Direction,params)

    if Raycast then
        if Raycast.Instance.Name ~= "BloodPuddle" then
            return Raycast
        else
            return false
        end
    else
        return false
    end
end

#
local function BloodEvent(Origin,Character)
    local New_Ball = BloodBall:Clone()

    New_Ball.Parent = workspace

    New_Ball.Position = Origin.Position

    local Bv = Instance.new("BodyVelocity", New_Ball)
    Bv.Name = "BloodVelocity"

    Bv.MaxForce = Vector3.new(100000,100000,100000)

    Bv.Velocity = Vector3.new(math.random(-50,50),math.random(-20,20),math.random(-50,50))

    local Con



    local function Physics(NewPuddle: BasePart,TargetPos,Orientation)
        NewPuddle.Parent = workspace

        NewPuddle.Position = TargetPos
        NewPuddle.Orientation = Orientation

        local RandomSize = math.random(Settings.BloodSplatterSize.R1,Settings.BloodSplatterSize.R2)

        local Ntween = TweenService:Create(NewPuddle,TweenInfo.new(0.4),{Size = Vector3.new(RandomSize,0.1,RandomSize)})

        Ntween:Play()

        Ntween.Completed:Wait()

        task.wait(math.random(Settings.DecayTime/2,Settings.DecayTime))

        local Nt2 = TweenService:Create(NewPuddle,TweenInfo.new(1.5,Enum.EasingStyle.Quart),{Size = Vector3.new(0,0,0)})

        Nt2:Play()

        Nt2.Completed:Wait()

        NewPuddle:Destroy()
    end

    task.spawn(function()
        Con = RunService.Heartbeat:Connect(function()
            local Floor = CheckFloor(Character,New_Ball)

            if Floor then
                local NewPuddle = BloodPuddle:Clone()
                New_Ball:Destroy()

                local FloorInstance = Floor.Instance:: BasePart

                local Rotation = FloorInstance.Rotation

                task.spawn(function()
                    Physics(NewPuddle,Floor.Position,Rotation)
                end)

                Con:Disconnect()
            end
        end)
    end)


    game.Debris:AddItem(Bv,0.2)
end
stable verge
#

wouldn't you use a raycast to get the normal?

frail plaza
#

what?

stable verge
#

then depending on the normal, you would rotate the blood stain

#

hold up

frail plaza
#

i've never done that

#

wait

#

i have an idea

#

can i do this?

#

i take the random direction

#

turn it into a unit

#

and make a raycast in that direction

#

?

stable verge
#

i think so yea

#

what random direction tho?

frail plaza
#

also just make the y vector always look down

#

maybe i can try up

#

if i want for cieling

#

ceiling*

echo belfry
#

for gun scripts that shoot where the mouse is, how do they get the forward direction?

#

ive been stuck on this for so long πŸ’” its the last thing i need

echo belfry
# frail plaza wdym

im struggling on trying to explain it but i want the orientation of the bullet to face where the mouse is

#

when i shoot it, it just goes sideways

frail plaza
#

hm

#

i dont reccomend using physical objects for bullets

#

you can just change the lookat to be the end point

echo belfry
# frail plaza you can just change the lookat to be the end point

i was gonna do that but MousePos is a vector3

local Players = game:GetService("Players")
local player = Players.LocalPlayer
local mouse = player:GetMouse()
local char = player.CharacterAdded:Wait()
local HRP = char:WaitForChild("HumanoidRootPart")
local rockets = game.Workspace:WaitForChild("rocket")
local RunService = game:GetService("RunService")
local Camera = game.Workspace.CurrentCamera
input.InputBegan:Connect(function(hit)
    
    if hit.KeyCode == Enum.KeyCode.E then
        local rocket = rockets:Clone()
        local rocketPos = HRP.Position
        local MousePos = mouse.Hit.Position
        rocket.CFrame = CFrame.new(rocketPos, MousePos)
        RunService.Heartbeat:Connect(function()
            print("placeholder")
        end)
        
    end
end)```
wanton igloo
#

What is heartbeat(old roblox user not new)

spiral monolith
#

I forgor da order tho

wanton igloo
#

Thanks πŸ™πŸ½

frail plaza
#

how do orient these properly

tired remnant
frail plaza
#
    task.spawn(function()
        Con = RunService.Heartbeat:Connect(function()
            local Floor = CheckFloor(Character,New_Ball)

            if Floor then
                local NewPuddle = BloodPuddle:Clone()
                New_Ball:Destroy()

                local FloorInstance = Floor.Instance:: BasePart
                
                local Normal = Floor.Position + Floor.Normal
                
                local Pos = Floor.Position
                
                local NewFrame = CFrame.new(Pos,Normal)

                task.spawn(function()
                    Physics(NewPuddle,NewFrame)
                end)

                Con:Disconnect()
            end
        end)
    end)

#
local function CheckFloor(Character: Model,Ball: BasePart)
    local params = RaycastParams.new()

    params.FilterType = Enum.RaycastFilterType.Exclude
    params.FilterDescendantsInstances = {Character, workspace.obstacles}

    local Origin = Ball.Position
    local Direction = Vector3.new(0,-1,0)

    local Raycast = workspace:Raycast(Origin,Direction,params)

    if Raycast then
        if Raycast.Instance.Name ~= "BloodPuddle" then
            return Raycast
        else
            return false
        end
    else
        return false
    end
end

cyan lantern
#

do yall think people should be able to understand and utilize type casting to get luau scripter role

#

yes i know the criteria i just want your opinion on levels

echo belfry
# tired remnant Change your CFrame.new to CFrame.lookAt. Same parameters
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local mouse = player:GetMouse()
local char = player.CharacterAdded:Wait()
local HRP = char:WaitForChild("HumanoidRootPart")
local rockets = game.Workspace:WaitForChild("rocket")
local RunService = game:GetService("RunService")
local Camera = game.Workspace.CurrentCamera
input.InputBegan:Connect(function(hit)
    
    if hit.KeyCode == Enum.KeyCode.E then
        local rocket = rockets:Clone()
        local rocketPos = HRP.Position
        local MousePos = mouse.Hit.Position
        
        rocket.CFrame = CFrame.lookAt(rocketPos, MousePos)
        rocket.Parent = game.Workspace
        
        RunService.Heartbeat:Connect(function()
            
            rocket.CFrame = rocket.CFrame * CFrame.new(0,0,-1)
        end)
    
    end
end)``` it didnt work unfortunatly πŸ’”
#

also apologies for the late reply i had to take a small break

cyan lantern
#

whats this

echo belfry
# cyan lantern whats this

im just trying to spawn a rocket out of the player, but i cant get the orientation of the rocket to be correct

#

its going sideways

cyan lantern
#

very cool

#

wait hold on

cyan lantern
#

by the way i would like you to add a print inside the heartbeat cause i want you to experience something that im not sure if you know or not

frail plaza
#

how do i orient these properly

echo belfry
#

ive only been programming for about 4 days

sullen yarrow
#

Do someone has experience with roblox Ads , is the new one or old one better for cost per play

cyan lantern
nimble bear
steep horizon
#

Does anyone have a good artical/document on a combat system Logic like whats needed in a combat system and How i could string The functionalitys together

iron kraken
#

and set it to be facing the normal of the face of the part that u raycast

cyan lantern
deft coral
cyan lantern
#

oh yeah i forgot

deft coral
#

linearvelo or just a basic vectorforce

stiff saddle
# echo belfry ```local input = game:GetService("UserInputService") local Players = game:GetSer...
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")

local player = Players.LocalPlayer
local mouse = player:GetMouse()
local char = player.Character or player.CharacterAdded:Wait()
local HRP = char:WaitForChild("HumanoidRootPart")
local rocketTemplate = workspace:WaitForChild("rocket")

UserInputService.InputBegan:Connect(function(input, gameProcessed)
    if gameProcessed then return end
    if input.KeyCode == Enum.KeyCode.E then
        local rocket = rocketTemplate:Clone()
        rocket.CFrame = CFrame.lookAt(HRP.Position, mouse.Hit.Position)
        rocket.Parent = workspace
        local connection
        connection = RunService.Heartbeat:Connect(function()
            if not rocket.Parent then
                connection:Disconnect()
                return
            end
            rocket.CFrame = rocket.CFrame * CFrame.new(0, 0, -1)
        end)
    end
end)```
#

script waited for character that already existed so it froze

@echo belfry so i fixed it

echo belfry
tacit fox
#

hi

timid bramble
#

otherwise it'll move at 240 stud/s at 240 FPS and 60 at 60 FPS

tacit fox
#

chat what is build service

strange umbra
#

Anyone wanna make a volley ball game for fun

#

U must be good with physic 😭

frozen gazelle
#

e = mc2

#

I'm good alright

wraith ingot
#

I have a glitch where if a player is taller than 100m they fall through the baseplate and continuously die...how to fix

jovial crown
supple spindle
mental grove
supple spindle
#

u can convert studs into meters

jovial crown
supple spindle
#

ye

jovial crown
#

built in?

supple spindle
#

no

jovial crown
#

Exactly

supple spindle
#

gotta calculate it urself

jovial crown
#

EXACTLY

supple spindle
#

that doesnt mean it doesnt exist

jovial crown
#

thays like saying guganoturms

#

It does

supple spindle
#

no

jovial crown
#

Gugamnoturms is 100 studs

#

Now ill be saying I create 10 gugamnoturms by 10 ugamnoturms map

supple spindle
#

just because americans use feet doesnt mean meters dont exist

jovial crown
#

Would it make any sense

#

Meters is not studs

#

And conversion is innaccurate

mental grove
#

2 nerds just arguing with each other instead of helping the guy 😑

supple spindle
jovial crown
#

But since you work in roblox studio use its measuerements

mental grove
#

shut up bro

jovial crown
#

Thats like using feet in math class in Eu

supple spindle
#

i just checked u made that up

#

πŸ’€

jovial crown
#

Ik i made it up

supple spindle
#

are u dense

jovial crown
#

But since I named it and gave it proportions it exists

mental grove
supple spindle
#

no u didnt gave it proportions

jovial crown
#

1 gugamnoturms is 100 studs

supple spindle
mental grove
#

he wants to be right

jovial crown
#

I am right

#

U should be using studs if ur talking about roblox studio lol

supple spindle
#

that would be 1 hectostud

#

moron

mental grove
#

but u dont know how so u just try to look cool

jovial crown
mental grove
#

tuff

abstract flame
compact echo
#

what's the best things that make the battleground game looks beautifulcathello

compact echo
compact echo
compact echo
#

...

somber quarry
#

Anyone got a portolio example up [for coding]

abstract flame
somber quarry
cold marten
#

im working on a weight system like gag fruit but when weight get bigger then player equip its look kinda weird. How to put it in player's hand when it bigger than player

abstract flame
#

is it a tool?

remote root
#

whats the point of modulescripts

cold marten
abstract flame
abstract flame
ornate needle
abstract flame
#

prob because it hits the point then recalculate before start moving again

tired remnant
wraith ingot
supple spindle
#

make sure its all calculated on clientside

#

the networkowner should calculate the pathfinding

spice minnow
#

hey if i make around deepwoken size i'm doing scripting, vfx, managing game, finding ideas, paying comissions (building) and the other do modelling mid poly for most and 1 or 2 high poly, and some mid quality animation
i'm the first case i take 70% and he 30% is it fair or should i make more or less?

stiff saddle
#

stuttering

ornate needle
#

thanks @abstract flame @tired remnant @supple spindle and @stiff saddle

ornate needle
#

any of yall willing to help me fix it for rbx payment?

abstract flame
#

what’s wrong?

ornate needle
ornate needle
#

and its bugging and my scritper doesnt got enough experience in this field

abstract flame
#

did you try any pathfind module?

ornate needle
abstract flame
#

oh fr u just said mb

ornate needle
ornate needle
abstract flame
#

i’m not on my pc rn but yeah sure

prisma aspen
#

he trying to bag the code huzz

quartz wing
#

hey so why this sometimes work and sometimes it wont render the hair etc or wont render clothes or anything

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

local player = Players.LocalPlayer
local viewport = script.Parent

viewport:ClearAllChildren()

local cam = Instance.new("Camera")
cam.Parent = viewport
viewport.CurrentCamera = cam

local clonedChar
local cloned = false

local function tryClone()
    if cloned then return end

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

    char.Archivable = true

    local ok, clone = pcall(function()
        return char:Clone()
    end)
    if not ok or not clone then return end

    clonedChar = clone
    clonedChar.Name = "ViewportCharacter"

    
    clonedChar.Parent = viewport
    cloned = true
    
local humanoid = clonedChar:FindFirstChildOfClass("Humanoid")
    if humanoid then
        local desc = Players:GetHumanoidDescriptionFromUserIdAsync(player.UserId)
        humanoid:ApplyDescription(desc)
    end

    task.wait(0.2)

    for _, part in ipairs(clonedChar:GetDescendants()) do
        if part:IsA("BasePart") then
            part.Anchored = true
        end
    end
end

RunService.RenderStepped:Connect(function()
    if not cloned then
        tryClone()
        return
    end

    local hrp = clonedChar:FindFirstChild("HumanoidRootPart")
    if not hrp then return end

    cam.CFrame = CFrame.new(
        hrp.Position + (hrp.CFrame.LookVector * 7.5) + Vector3.new(0, 2, 0),
        hrp.Position + Vector3.new(0, 2, 0)
    )
end)
abstract flame
#

maybe racing condition with the apply description

#

consider parenting after applying the description

#

and maybe test it by using task.wait with some good amount to check if you’re waiting enough

stiff saddle
# quartz wing hey so why this sometimes work and sometimes it wont render the hair etc or won...
local RunService = game:GetService("RunService")

local player = Players.LocalPlayer
local viewport = script.Parent

viewport:ClearAllChildren()

local cam = Instance.new("Camera")
cam.Parent = viewport
viewport.CurrentCamera = cam

local rig
local created = false

local function createRig()
    if created then return end

    local ok, model = pcall(function()
        return Players:CreateHumanoidModelFromUserId(player.UserId)
    end)
    if not ok or not model then return end

    rig = model
    rig.Name = "ViewportCharacter"
    rig.Parent = viewport
    created = true

    for _, v in ipairs(rig:GetDescendants()) do
        if v:IsA("BasePart") then
            v.Anchored = true
        end
    end
end

RunService.RenderStepped:Connect(function()
    if not created then
        createRig()
        return
    end

    local hrp = rig:FindFirstChild("HumanoidRootPart")
    if not hrp then return end

    cam.CFrame = CFrame.new(
        hrp.Position + (hrp.CFrame.LookVector * 7.5) + Vector3.new(0, 2, 0),
        hrp.Position + Vector3.new(0, 2, 0)
    )
end)```
#

Go ahead

modern moat
#

Yo

torn jasper
#

anyone know if facecontrols can be accessed yet? or if theyre still blocking developers from accessing it? i saw in dev forum in november they still were but i cant find anything else anywhere

iron kraken
#

and the player is constantly moving in and out of range

#

what i do to have constant movement is not to have a hard limit on the stop range

#

but have a stop range and a must stop range

#

so now there is a buffer zone between stop range and jmustsotprange where the npc just matches the walkspeed of the player

lapis parrot
#

how long does it take to get all the stats of like retetion aver playtime player conversion rate

deft coral
lavish geyser
#

hello world("print")

granite bison
lapis parrot
#

where do i find investors

granite bison
#

unless you get lucky

odd nova
#

Does anyone knows how does the JJK Shenanigans hitbox (for m1) works??

remote root
#

whats the difference between task.wait() and wait()

jolly marsh
#

is scripting easy once u learn it

peak jolt
#

Yes

peak jolt
jolly marsh
peak jolt
#

Well watch standing then

remote root
tribal meadow
#

guys any suggestion on what I can make with polynomial or linear regression, I would like smth game dev related

tribal meadow
peak jolt
azure jay
karmic delta
#

What command would delete a PDF file named ComLineAssignment?
bruh someone help plzz

frail plaza
#

anyone can help me out?

#

i have a fall damage script

#

local btw

#

for some reason it just stops functioning

#

after the player dies

#

my script

narrow warren
#

so what u wanna do is make it function after the player dies

abstract flame
# frail plaza

aren’t u disconnecting ur thing that checks for the falling?

frail plaza
#

the local script calling the module

abstract flame
#

do you get any errors?

frail plaza
#

nope

#

tried this

#

doesnt work

idle mason
#

what are basic lua globals

frail plaza
idle mason
abstract flame
#

i’d make some checks in the code to make sure that you’re not trying to access character’s instances of a dead character

#

and maybe making a cleanup function

frail plaza
#

a cleanup function? what should it do

#

in this instance there is only a connection and a function

abstract flame
#

like

local function cleanup()
        isActive = false
        LastRag = false
        Elapsed = 0
        DoneBleeding = true
        RagdollEvent:FireServer(false)
    end
#
local con2 = Character.Humanoid.Died:Connect(cleanup)
#

and for referencing the character and setting up connections you can maybe use .CharacterAdded

idle mason
ornate needle
#
-- LocalScript (StarterPlayerScripts)

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

local player = Players.LocalPlayer

-- πŸ”§ CHANGE THIS TO YOUR EVENT ID
local EVENT_ID = 1234567890

-- Delay time in seconds
local PROMPT_DELAY = 15

-- Safety check: ensure player exists
if not player then
    return
end

task.delay(PROMPT_DELAY, function()
    -- Extra safety checks
    if player.Parent == nil then
        return
    end

    -- Prompt Event Interest
    pcall(function()
        MarketplaceService:PromptEventInterest(player, EVENT_ID)
    end)
end)
#

is this how it works

#

i generated using AI

#

the main idea is to prompt event for player after joining

timid bramble
terse ivy
#

I need some help. Its not normal for a pass called HD ADMIN to pop up in my game every so often is it? Does that mean there is a virus? What would be the best way of getting rid of it.

frail plaza
frail plaza
#

i tried this

#

it did NOT work

#

😒

abstract flame
#

fireServer β‰  FireServer

#

also you have to make sure that you’re implementing it in the right way

abstract flame
ornate needle
# timid bramble "ai is replacing programmers" they said no, that's not how it works: https://cre...
local SocialService = game:GetService("SocialService")

local EVENT_ID = "YOUR_EVENT_ID"

local followPrompt: ProximityPrompt = script.Parent.FollowProximityPrompt
local unFollowPrompt: ProximityPrompt = script.Parent.UnfollowProximityPrompt

local function updatePrompt(rsvpStatus: Enum.RsvpStatus)
    if rsvpStatus == Enum.RsvpStatus.Going then
        unFollowPrompt.Enabled = true
        followPrompt.Enabled = false
    else
        unFollowPrompt.Enabled = false
        followPrompt.Enabled = true
    end
end

local success, currentRsvpStatus = pcall(function()
    return SocialService:GetEventRsvpStatusAsync(EVENT_ID)
end)

if not success then
    -- Could not retrieve RSVP status; don't enable either proximity prompt
    warn("Failed to get RSVP status:", currentRsvpStatus)
    return
end

print("CurrentRsvpStatus:", currentRsvpStatus)

updatePrompt(currentRsvpStatus)

unFollowPrompt.Triggered:Connect(function(player)
    local rsvpStatus = SocialService:PromptRsvpToEventAsync(EVENT_ID)
    updatePrompt(rsvpStatus)
end)

followPrompt.Triggered:Connect(function(player)
    local rsvpStatus = SocialService:PromptRsvpToEventAsync(EVENT_ID)
    updatePrompt(rsvpStatus)
end)
abstract flame
#

nerdHD βœ…

shut sorrel
terse ivy
#

In game?

abstract flame
#

in roblox studio

terse ivy
frail plaza
#

it keeps "correcting" me and doing things that dont make sense

terse ivy
#

perfect tysm

frail plaza
#

im lwk disabling cus atp its just annoying

terse ivy
#

Will it be called HD OWNDER or something like that

frail plaza
#

didnt work

#

πŸ₯€

shut sorrel
# terse ivy perfect tysm

sometimes things use getfenv, press Ctrl+shift+f and loof for getfenv, since hackers obfuscate code

terse ivy
#

okay okay thank you

shut sorrel
# terse ivy Oh joy okay

Turn off marketapi in game settings too, script will error when it can't use marketplace service

#

and will error in the script using it, could be hidden in coregui too

#

Just all the common stuff

abstract flame
#

maybe searching for loadstring too

terse ivy
#

like this?

abstract flame
#

put marketplace service inside β€œβ€

abstract flame
#

don’t u sell any other products or gamepasses in your game?

granite bison
#

how to get better at coding without learning

pastel tangle
granite bison
terse ivy
abstract flame
terse ivy
#

So im just trying to find the virus

abstract flame
#

search for PromptPurchase

#

loadstring

abstract flame
#

getfenv

pastel tangle
granite bison
#

alr time to drag my ass off to go and learn module scripts

abstract flame
#

PromptGamepassPurchase

abstract flame
terse ivy
abstract flame
#

and sonnet is 1x

pastel tangle
abstract flame
#

but def crazy ass AIs fr

#

i’ll check this ide u said amarde

pastel tangle
#

i mean its roblox your code is prolly not that long

abstract flame
#

never tested this one

abstract flame
terse ivy
pastel tangle
#

try is:Script in ur explorer

#

and look for weird scripts

pastel tangle
terse ivy
pastel tangle
#

disable third party sales or whatever it’s called. do u need it?

#

if u cant find it

frail plaza
#

i genuinely cant figure this bs out

tired remnant
# terse ivy

Search for PromptPurchase using the Find All tool. Should be Ctrl Shift F I believe

pure python
#

hi

remote root
#

what's the most very very very hardestest thing in scripting

orchid sorrel
remote root
glass dust
#

who want to work in cyberpunk game theme

ember fractal
#

where do yall find trusted wally packages. the website dosent really help me

twin bramble
ember fractal
twin bramble
#

usually i would just use the wally package the original poster post on their github

#

I don't use that website

ember fractal
#

hm alright thanks

twin bramble
#

np

hollow crypt
#

i've been stressing for so long, why is it when I create a surface gui with a button in, it works if the ui spawns in when the player spawns but if it spawns in after it stops working?! how do I fix this?!

carmine dragon
#

ive made an inventory system that sends a web request for each item

#

am i cooked

iron kraken
#

?

regal salmon
iron kraken
#

the script shudnt be inside the surface gui

north dagger
median tree
regal salmon
twin bramble
lunar viper
#

yo

sturdy knoll
#

LOOKING FOR A SCRIPTING FRIEND, IT DOESN'T MATTER WHAT GAME WE MAKE/WORK ON, I AM A BEGGINER BUT I CAN ANIMATE, CODE, AND SOMEWHAT MAKE MAPS

iron kraken
# regal salmon why

makes ur code more complicated cuz when u make a script ur basically making its own thread more threads/starting point of code the more starting points u have the more complex ur code going to be also ur making more instances by cloning scripts which can also cause more lag

copper heart
#

yoo who can do scripting stuff like dealerships, car customziation, and alot of stuff to do with vehicles but not scripting a whole chassis

tired remnant
copper heart
#

πŸ€·β€β™‚οΈ

regal salmon
brazen pelican
copper heart
#

asking a question is using the wrong channel

#

ok

brazen pelican
copper heart
#

hmm

#

i didnt ask for people to code stuff for me

iron kraken
dark hawk
#

its always a require

#

can also buy the pass to see where it is from

median tree
#

he prob has hundreds of those

#

Finding a needle in a haystack

dark hawk
wild veldt
#

Stay away from Pls Donate guys

#

Very addicting

pseudo girder
#

you donating πŸ‘€

worn ridge
#

Talking abt addicting

wild veldt
#

touch some grass

worn ridge
#

very addicting

#

and wasting electricity

wild veldt
worn ridge
#

lmao that’s what you do in pls donate

#

me

pseudo girder
quartz wing
#

how can i highlight a specific body part in viewport displaying the character of local player

worn ridge
#

I donated Robux during a commission

quartz wing
# dark hawk wdym highlight

soo im tryna display a body part injury with a red glowing effect and i assume its prob done with highlights?, i tried it and it works in workspace tho wont show up in viewport

#

and no i cant just change the color of the body, cuz that wont work with having clothes etc

quartz wing
wild veldt
worn ridge
#

Where’s my Robux

#

I ain’t see a single donation

wild veldt
young crystal
#

πŸ™ 😭

polar heart
warped ivy
#

Whos down to be in a 3 devs 1 game vid?

subtle stag
#

Hey I’m looking for someone to work on a simple new cash grab u get 35% if u work good I’ll take care of all the other domains I animate and build and draw Ui

lean ocean
#

nice how about u give 3.5m robux for a game instead

crimson wraith
#

need a tester anyone down? 500 robux

vocal forge
#

anyone that has time and that can dm me im stuggling to make my game

azure carbon
#

hello im a scripter new to this server, just posted my application, its pending, but hi πŸ‘‹

vocal forge
#

anyone maybe interested to work with me on my new game im solo dev and i would really appreciate the time and support. i think well make great work together. please feel free to dm me so i can open up about the game to you

dire haven
vocal forge
#

why that answer?

dire haven
#

every 12 yr old child wants free work

vocal forge
#

yea true

#

but i kinda explained the situation and im sure some really fanatic developers are around here that love new experiences maybe hehe

dire haven
#

no kid

#

this is peoples job

vocal forge
#

its always fun to work with new people and new projects?

#

true!

#

but what if we eat from the fruits of it

dire haven
#

im 100% willing to bet its not an original game idea

vocal forge
#

we build something from nothing

dire haven
vocal forge
#

well it includes brainrots :3

dire haven
#

yeah so ur a literal child

#

with a game thats already been done

vocal forge
#

bro lets be real

dire haven
#

itll get nowhere buddy

vocal forge
#

this tsunami game even over 1mil visits

#

in a month max?

dire haven
#

yeah

#

because they some something called money

vocal forge
#

why not make usage of whats populair now

dire haven
#

u spelt popular wrong

vocal forge
#

bro its so basic

#

i mean

#

tsunamibrainrots all over the map

dire haven
#

they have funding

#

its not as simple as making a game

#

u have to advertise it

#

thats not free kid

vocal forge
#

maybe they are friends who build it free?

dire haven
vocal forge
#

how do you know

dire haven
#

because im not stupid

#

and have been in this field for awhile

vocal forge
#

not everyone does something for money i think

dire haven
#

every developer there is getting paid

#

otherwise they would sue

#

for asset infringement

vocal forge
#

what if he created the came with me

dire haven
#

or wtvtf its called i forget

vocal forge
#

then he would also bet paid

dire haven
#

yeah

#

u just proved my point?

vocal forge
#

i mean we both eat

#

i wont leave the scripter with nothing

#

if thats what nyour saying

dire haven
#

if ur not paying someone

#

theyre not gonna work with u

#

this isnt robuilders

vocal forge
#

sad

dire haven
#

this server is where people work professionally

vocal forge
#

ok understandable

#

i wont ask here then :))

dire haven
#

how old r u

vocal forge
#

27 wbu

#

from holland

dire haven
#

😭

#

u are not 27

vocal forge
#

i am

compact echo
#

how do i import a plugin from file ?

azure granite
#

do i need to use big number modules if players can have over quintillions of dollars? or is it only important to be ultra precise

bold hound
azure granite
#

yea

bold hound
#

Like with commas, or like β‰ˆ 5.21QA?

copper grotto
#

is it possible to replicate irl servo motors inside roblox studio and calculate forward & inverse kinematics for them like it would be for a irl robotic arm?

#

I know it's possible but idk what it would be for the joints

#

what the actually fuck I wrote robotic arm here and it started appearing robotic arm videos in youtube

craggy niche
#

is profilestore the best thing to use for storing data

#

like player related data

regal salmon
azure carbon
#

πŸ’€

mellow stream
#

hi guys im a new dev still learning, was wondering how people use root motion, or like whether the moves in like jujutsu shenanigans (the flying kinds), were using root motion since if i used physics to make these moves it would mean i had to animate in place, which is very limiting? any advice? ive been stuck on root motion for 2 months cuz theres like no tutorial in yt

broken whale
#

ai can get you far if you have persistence

wintry iris
#

can anyone help me with my script it doesnt work for some reason no errors nothing

orchid sorrel
#

dont listen to that goober

#

@mellow stream

mellow stream
#

i mean ive tried ai to understand it but yt tutorials usually help more if anyone got exp in battlegrounds game please advice me heh

vague phoenix
wet fern
orchid sorrel
#

I call it semi cuz you don’t just click on the character there’s item spawns and randomness and eventually there will be evolution into different characters

mellow stream
orchid sorrel
#

I’m already half decent so

#

When I’m free tonight I’ll prob hire an animator and then change my m1 script from 4 β€”> 5
because 5 m1s are clearly better

mellow stream
normal widget
#

I've spent a few weeks working on it

#

I think its working pretty well

wise turtle
#

wow so cool

normal widget
#

yeah its voxel based with extensive use of buffers and multithreading to make it run very fast

#

and the best part about it is just how well it works

wise turtle
#

looks very performant

broken whale
#

it helped me make a WeaponController module + handled edgecases. i got to understand the code + ai did the hard work for me

#

im using ai rn to make a TPS

sick sandal
# broken whale ai is super useful

So you are right - the problem is its a two sided coin. When AI is used for education and given PHYSICALLY to people - it does wonders, BUT if you're a greedy corporation you will use it to manipulate and control people. Its a two sided coin right now flipped in favor for the greedy companies - so the outrage is justified. BUT if people shut down individuals who work with AI (out of passion and ethical consideration) they are DESTROYING the only weapon they have against greedy corporations AND UNETHICAL AI.

#

If you want to know more slide in my DMs, I recently saw a video about Elon Musk and Grok - its hillarious how sideways things went for him and uh, the world.

broken whale
#

its a simpler devforum or can just outright help you solve problems a lot faster

vocal relic
#

pls

waxen osprey
#

selling systems of games like gun system (with GUNS) , plot system , pet system etc. for cheap
DM me for offers

dense depot
#

guys I'm new in module shit is there a way that i can put parameters inside functions

pastel tangle
#

it’s even better

#

but expensive

thorn arch
#

anyone here use react lua?

iron kraken
dark hawk
dark hawk
#

@cloud marsh

iron kraken
#

wdym no

dark hawk
#

hes a scammer

stable shell
#

hey somone have basic script to obby (+-100lvl) ??

fading bronze
stable shell
#

I'm new to programming but I'd like to make my own map and I'd need a script for it just some simplest (ready done obby) I asked AI but it doesn't work out well

quartz wing
fading bronze
# stable shell you have sth?

I don't but it's pretty simple to make, low-key forgot how to make a checkpoint system but for kill bricks put them all in a folder then get all the parts in that folder detect when any of them touched and if touched kill player who touched it

#

There's also YouTube tutorials for this

#

I recommend those and the dev forum

glossy pivot
#

Or copy the scripts from the roblox obby template

#

use the classic one tho