#code-discussion

1 messages · Page 24 of 1

solemn roost
#

wdym

olive pelican
#

@solemn roostwithout having to do a animation

solemn roost
#

yeah you can just change the rotation ive done that before

olive pelican
restive flicker
#

no here let me inv u

solemn roost
#

one last thing

#

if you want to do that you need to understand the difference between vector3 and cframe

#

since cframe is what you'd use to rotate

nova cloud
#

youtube and devforums 🙏

solemn roost
#

vector3 is just a point in 3D space. thats it, no rotation or anything

#

thats what the Position property on a part is

#

cframes have positions (Vector3) but also rotations and a lot of other stuff too

#

essentially thats what it is

restive flicker
#

I messaged u privetly

solemn roost
#

@olive pelican

inland bay
solemn roost
#

i would strongly recommend reading it

solemn roost
#

are those dms?

inland bay
#

msg requests

olive pelican
#

@solemn roost can you help me on one thing now

#

about the

#

ProximityPrompt

solemn roost
olive pelican
#

i wrote a code

solemn roost
#

this is a friendly article

last glacier
#

hey

#

did u fix it or still need help

#

local part = script.Parent
part:SetNetworkOwner(nil)

#

oops

olive pelican
#

@solemn roost how can i use the Orientation

restive flicker
spark wedge
#

Ive been working at this for a while now even with the help of chatgpt i cant figure it out, im not a scripter at any means, but i am trying to get a global countdown ui from 120 seconds when a play clicks a certain part. Anyone know how to do this?

bleak glade
spark wedge
#

ive got it to work

#

but the ui dissapears on players death

#

heres the code

#

-- Get the part and the ClickDetector
local part = script.Parent
local clickDetector = part:WaitForChild("ClickDetector") -- Get the ClickDetector
local countdownTime = 120 -- Set countdown time in seconds
local players = game:GetService("Players")

-- Function to start the countdown
local function startCountdown(player)
-- Check if the player already has a countdown UI and if it's still in PlayerGui
local playerGui = player:WaitForChild("PlayerGui")
local existingGui = playerGui:FindFirstChild("CountdownScreenGui")

-- If the UI doesn't exist, create it
if not existingGui then
    local screenGui = Instance.new("ScreenGui")
    screenGui.Name = "CountdownScreenGui"  -- Name it to easily find and manage it
    screenGui.Parent = playerGui

    local countdownLabel = Instance.new("TextLabel")
    countdownLabel.Parent = screenGui
    countdownLabel.Size = UDim2.new(0, 200, 0, 50)
    countdownLabel.Position = UDim2.new(0.5, -100, 0.5, -25)
    countdownLabel.TextSize = 40
    countdownLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
    countdownLabel.BackgroundTransparency = 1
    countdownLabel.Text = "Time: " .. tostring(countdownTime)

    -- Countdown loop
    while countdownTime > 0 do
        wait(1)  -- Wait for 1 second
        countdownTime = countdownTime - 1
        countdownLabel.Text = "Time: " .. tostring(countdownTime)
    end

    -- Countdown complete
    countdownLabel.Text = "Time's up!"
    wait(2)
end

end

-- Detect when a player clicks the part via the ClickDetector
clickDetector.MouseClick:Connect(function(player)
startCountdown(player) -- Start the countdown when the player clicks the part
end)

#

how would i stop it from dissapearing on death?

heavy sleet
#

It’s not that hard

#

Just think gang

spark wedge
#

Yeah i know..

heavy sleet
#

Yet you use ai

spark wedge
#

Im aware and i do need to learn

heavy sleet
#

So go learn

spark wedge
#

Been trying to

heavy sleet
#

Clearly not if you’re using ai

spark wedge
#

Im just getting into it

heavy sleet
#

Using ai to do the hard stuff for you isn’t learning

spark wedge
#

I dont have knowledge for making my own scrips yet

heavy sleet
heavy sleet
spark wedge
#

Im not tryna argue with you bro, im admitting your right and agreed with you

#

Why do you keep going on

heavy sleet
#

I’m not either

#

Because I’m giving you the solution

spark wedge
#

You dont need to keep repeating it im aware.

heavy sleet
#

So go learn then

spark wedge
#

Like i said i am trying to learn

heavy sleet
#

Then go do it bro

supple parcel
#

I am trying to replicate this ability to turn text to a seperate alphabet when you arent on the right team, anybody outside example team "red" will see the message in english to them, but anybody outside team red will see this dialect. Essentially a scrambler

supple parcel
#

thats what they used but idk how to implement it code wise

hardy pilot
#

Use TextChatService to see who's talking and their status

#

Then either use the default bubble method or your own respective to their status

hollow wind
#

im on the edge of a crashout

#

so my IT/computer technology teachers had a choice between teaching us python or some random ass language called lazarus

#

you wont believe what and why they chose

supple parcel
hardy pilot
hollow wind
#

and you know why???

#

BECUASE PYTHING "Isnt popular" AND "it's not used anywhere"

hardy pilot
#

It's an IT teacher

#

They are convinced of the most bullshit things

#

Probably because in order to become an IT teacher you have to

hollow wind
hardy pilot
#

Either retire or suck ass and fail in the industry

hollow wind
#

oh

daring hearth
#

Welcome to the tops

hollow wind
#

and probably not the 3o

balmy wedge
#

no human actually leaves comments like that 🙏

gloomy kraken
fair ridge
#

hey could anyone help me rq with something: for my battle grounds game i need almost like a knockback for each punch which stuns the player then after a combo of normal hits the player falls over?? idk.. PLS HELP

fair ridge
#

so

#

just kms

sterile summit
fair ridge
sterile summit
#

get your friend to do it

fair ridge
spark wedge
fair ridge
sterile summit
#

oh my god i just realized how to do stun for my combat

#

I have been blessed

fair ridge
#

.

sterile summit
#

this is perfect

#

I see nothing wrong with my plan

hushed forge
#

help its not working

formal meteor
formal meteor
#

Oh and also

#

Why tf do u have a goal

#

as empty table?

#

What is the goal?

hushed forge
formal meteor
#

uhm

#

what do u want to do with the tween

hushed forge
#

oh

formal meteor
#

yeah see

#

teehee

hushed forge
#

im dumb

formal meteor
#

u can also just do this

#
goal = {
Position = Vector3.new(10, 10, 10);
Color = Color3.new(0, 1, 0);
}
hushed forge
vocal tusk
#

Chat im kind of new to script is It safe to have a folder with values in the player's character
(I mean safe from exploiters)

soft vault
#

have u guys ever hated CFrame.LookAt()?

#
local function LookAt(oldCFrame, target)
    local position = oldCFrame.Position
    local forward = (target - position).unit

    local upVector = oldCFrame.UpVector

    if forward:FuzzyEq(Vector3.new(0, -1, 0)) then
        upVector = Vector3.new(0, 0, -1)
    end

    local right = forward:Cross(upVector).unit
    local up = right:Cross(forward).unit

    return CFrame.fromMatrix(position, right, up, -forward)
end
vocal tusk
soft vault
#

i made better look at

soft vault
#

the front face

vocal tusk
#

Oh didn't know about this festure thanks

hushed forge
#

WHAT AM I DOING WRONG

hasty cobalt
#

you're running :Play() on the variable that defines TweenService

hushed forge
hasty cobalt
#

wait im stupid

#

u didnt even make

#

a tweenservice

#

ugh give me ur script ill fix it for u

#

im half asleep sori

hushed forge
# hasty cobalt ugh give me ur script ill fix it for u

local part = game.Workspace.part
part.Color = Color3.new(1, 0, 0.0156863)

local goal = {}
goal.Color = Color3.new(0.14902, 1, 0.901961)

local tween = game:GetService("TweenService")
tweeninfo = TweenInfo.new(2, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut, -1, true, 0)

tweeninfo:Play()

median tree
#

on line 10

hasty cobalt
#
local part = game.Workspace.part
part.Color = Color3.new(1, 0, 0.0156863)

local goal = {}
goal.Color = Color3.new(0.14902, 1, 0.901961)

local tween = game:GetService("TweenService")
tweeninfo = TweenInfo.new(2, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut, -1, true, 0)

tween:Create(part, tweeninfo, goal):Play()```

@hushed forge
hushed forge
hasty cobalt
#

oops

#

do it again i edited the script

#

sorray i woke up rn 😊

hushed forge
#

god bless 😭

#

man scripting is so dumb

fading hull
#

Can anyone help me find out how volleyball legends makes there ball velocity

tiny obsidian
#

💀

#

my ass

gentle halo
#

anyone needs a script

worn sigil
#

yo wsp

gentle halo
worn sigil
#

you working for free?

#

or you want soemthing

gentle halo
worn sigil
#

so i need a customizable shop system

#

for my game

#

and this shop is made for characters

gentle halo
worn sigil
#

so i need it so it updates on servre too

#

thats all

gentle halo
#

not writing a full script

worn sigil
#

ohh ok

#

well i did make a shop system

#

but its a little broken

#

so friend me if i cant fix it i will ask you

gentle halo
eager night
#

Does anybody know if it is possible to make a part that are non colide with the player and invisible colliding with the player camera ?

molten plinth
#

-# because I’ve lowkey never used them

eager night
#

ama check it thanks

daring chasm
#

does anyone know a script that can be used for any animation?

#

and you can adjust new animation to it

#

for example you click e

#

then the animation happens

#

thats all

hot wraith
latent gust
#

sounds like a generic keybind script with a function to play an animation

daring chasm
latent gust
#
local Players = game:GetService("Players")

local function onAction(actionName, inputState, inputObject)
    if inputState == Enum.UserInputState.Begin then
        local player = Players:GetPlayerFromCharacter(inputObject.Parent)
        if player then
            local animation = Instance.new("Animation")
            animation.AnimationId = "rbxassetid://YOUR_ANIMATION_ID_HERE"
            local animationTrack = player.Character.Humanoid.Animator:LoadAnimation(animation)
            animationTrack:Play()
        end
    end
end

ContextActionService:BindAction("PlayAnimation", onAction, false, Enum.KeyCode.E)```
vale atlas
latent gust
#

doesnt matter

#

both produce the same result

local Players = game:GetService("Players")

local function onInput(input, gameProcessed)
    if input.KeyCode == Enum.KeyCode.E and not gameProcessed then
        local player = Players.LocalPlayer
        local animation = Instance.new("Animation")
        animation.AnimationId = "rbxassetid://YOUR_ANIMATION_ID_HERE"
        local animationTrack = player.Character.Humanoid.Animator:LoadAnimation(animation)
        animationTrack:Play()
    end
end

UserInputService.InputBegan:Connect(onInput)```
vale atlas
#

yea but there has to be a difference

latent gust
#

sure there is, but it doesnt matter

hot wraith
#

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

local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")

local animation = Instance.new("Animation")
animation.AnimationId = "rbxassetid://YOUR_ANIMATION_ID"

local track = humanoid:FindFirstChild("Animator") or Instance.new("Animator", humanoid)
local animationTrack = track:LoadAnimation(animation)

UserInputService.InputBegan:Connect(function(input, gameProcessed)
if not gameProcessed and input.KeyCode == Enum.KeyCode.E then
animationTrack:Play()
end
end)

latent gust
#

thats a lot of fluff

hot wraith
#

For the new API, but bit too long than tman

latent gust
#

i would generally point people to CAS just because inevitably i think he/they would expand beyond just press E and CAS has better support for different platforms/devices and such

#

its easier to extend CAS than to have to go and re-write it when you originally used uIS

hot wraith
latent gust
#

eh, simple doesnt mean use the dumbest option

#

as in most dumbed down

vale atlas
latent gust
#

at the end of the day, if he never programs anything beyond e to play an animation it still works as intended but if he progresses than the framework is already there

#

and we dont have to answer a second question about how to change it

hot wraith
#

After all, who cares? It meets demand in both cases, so there's no need to know.

latent gust
#

yeah not a biggie in the scheme of things

#

i have a more pressing question though, if there was a ball that made a clone of you when you touched it, what would the ball look like

ocean bane
#

can anyone help me with this mechanic

hot wraith
ocean bane
#

how they have it so parts are destroyable with physics

latent gust
#

i drop a ball, and when the ball touches it player it makes a clone of them. i need to design the balls appearance

hot wraith
latent gust
#

its how my game works, balls and logs and shit drop down slippery stairs

ocean bane
hot wraith
hot wraith
bitter slate
#

Code not running 🤔

hot wraith
# ocean bane sure
latent gust
shy bronze
#
--Services
local Players = game:GetService("Players")
local PathFindingService = game:GetService("PathfindingService")

--Instances
local character = script.Parent
local humanoid : Humanoid = character.Humanoid
local rootPart = character.HumanoidRootPart

--Variables
local Roots = {}
local yield = 0.1

function GetAllRoots()
    local result = {}
    for _, player : Player in ipairs(Players:GetChildren()) do
        local playerChar = player.CharacterAdded:Wait()
        local playerRoot = playerChar:WaitForChild("HumanoidRootPart")
        table.insert(result, playerRoot)
    end
    
    return result
end

function Move(currentPos, targetPos)
    print("reached")
    local path = PathFindingService:CreatePath()
    path:ComputeAsync(currentPos, targetPos)
    if not path then warn("no path found") end
    for _, wayPoint in ipairs(path:GetChildren()) do
        if wayPoint.Action == Enum.PathWaypointAction.Jump then
            humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
        end
        print("Should be moving now")
        humanoid:MoveTo(wayPoint.Position)
        humanoid.MoveToFinished:Wait()
    end
end

while task.wait(yield) do
    local roots = GetAllRoots()
    local currentPos = rootPart.Position
    local target
    for i, root :Part in ipairs(roots) do
        if i == 1 then target = root continue end
        if (root.Position - currentPos).Magnitude > (target.Position - currentPos).Magnitude then
            target = root
        end
    end
    print(target)
    Move(currentPos, target.Position)
end

help.

latent gust
#

?

severe sun
#

is there a way to make it so my face is invisible? (its a first person script and for some reason i see my face D:)

hot wraith
latent gust
#

yeah i can't really figure out what a clone ball would look like

shy bronze
hot wraith
latent gust
# shy bronze

you have to click on the text to give it permissions mine says none needed but yours might say permissiosn required or something

#

i stopped using that plugin though, some of the text i made kept disappearing for no obvious reason

molten plinth
shy bronze
hot wraith
shy bronze
severe sun
hot wraith
# severe sun how do i do it on the clientside

local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()

local function hideHead()
local head = character:WaitForChild("Head")
if head then
head.Transparency = 1 -- Rendre la tête invisible
head.CanCollide = false -- Empêcher la tête de collisionner avec d'autres objets
end
end

hideHead()

severe sun
#

Where do i put this

shy bronze
#

(help me later on modelling 😭 )

severe sun
hot wraith
#

I'll leave it to nobroo

#

@latent gust I have a few ideas

latent gust
#

hit me

hot wraith
# latent gust hit me

Before I say it, let's agree that the concept is a player touching the ball to make a clone, and you want a model that sticks to that principle?

hot wraith
#

Ok i'm on it, i go see wait

latent gust
#

there's different balls that do different things

shy bronze
# severe sun Bet howd u know i model 😭

i scan every profile anyways

local char = game.Players.LocalPlayer.Character or game.Players.LocalPlayer.CharacterAdded:Wait()
local head = char:WaitForChild("Head")
head:WaitForChild("face").Transparency = 1

lil script that should remove ur face let me test it lol

severe sun
#

Where should i put this

hot wraith
severe sun
#

in what starter 😭

hot wraith
#

Character

severe sun
#

Ah ok ty

hot wraith
#

np

hot wraith
severe sun
#

tyyyyyyyyyyyy it works

hot wraith
hot wraith
latent gust
#

ok maybe a white metal

hot wraith
#

Yes, and if it doesn't, organic can do it too

latent gust
#

looks like a giant pearl, not too bad

hot wraith
latent gust
#

gotta hop on a meeting brb

hot wraith
latent gust
red pelican
sour vine
#

i charge 31k for script

hot wraith
# latent gust

Like this, but would need some slightly chaotic blue neon stripes on it to complete.

latent gust
#

hmnn let me see if i find a good texture for that

#

i'm starting to add stat tracking for the ball hits now

worn sigil
#

yo wsg

#

is 45 percent good for scripting a game but robux tax applied

tiny obsidian
latent gust
hot wraith
#

Send me when u find a good one

tiny obsidian
latent gust
tiny obsidian
#

your darn mom

latent gust
outer bridge
#

game:GetService("HiddenDevs").ChatFilter:Destroy()

#

much needed

severe sun
#

can anyone here tell me why the "New item discovered" text doesnt show up

remote mirage
round ridge
#

can someone help me create a crate roll gui system like the one in superhero tycoon

carmine yacht
round ridge
#

do you need a reference?

carmine yacht
#

where did you get stuck

round ridge
#

like the actual tiles

remote mirage
#

yeah bro is cooked

carmine yacht
#

but whatever

#

where is the code tho

round ridge
carmine yacht
#

ok

round ridge
carmine yacht
#

where is the superhero tycoon ref

round ridge
#

thats the thing

#

i dont have the actual code but i have a reference photo

#

Im pretty sure it uses a tween animation

#

I could be wrong though

#

would this be easier with Team crate?

ionic yacht
#

What is the best way to learn scripting to be a full stack and get jobs

carmine yacht
round ridge
#

I’m more of a builder

#

Not a scripter lol

#

This is ultimately so close to what I need it to do

ionic yacht
#

What is the best way to learn scripting

summer vortex
#

guys im new to scripting, what should i script to start practecing

#

i know the basics like variable, printing, etc...

round ridge
#

🙏🥺

latent gust
round ridge
#

I think that’s what Roblox studio files are called anyway

bleak glade
summer vortex
#

wtf does that mean bro

tame finch
#

wat should i code

severe sun
tame finch
static sphinx
#

guys realistically

#

if i go here and look for someone to help me with a passion project no pay included am i going to get my shit rocked?

severe sun
# tame finch what is it

a code when you collect an oremesh for the first time apears with a text that says new item discovered and then never shows that text again even if you rejoin

static sphinx
rugged mist
#

finally found out how to do luckboost on weighted rarities yall are no help

latent gust
#

and you didnt even need our help

supple spear
#

print: (go shower)
if the user is on pc for 9 hours
then print "go shower"
is true

brisk citrus
#

how does one manage to fail something so simple

crystal olive
#

Someone said i shouldnt use elseifs what now? Do i quit?

brisk citrus
#

who and why

calm basalt
#

Hey if I’m new to scripting what are some beginner projects or things I can practice making ?

somber vault
turbid torrent
#

I know the gui isn't anything to write home about, but how do you guys like what I've scripted?

calm basalt
somber vault
#

clicker games

calm basalt
#

oh

rain pier
#

can anyone help me spoof a game animations I will some robux
if yes Dm me

somber vault
rain pier
#

Like I cant find them in the Files but in the game I can

somber raft
#

Yall

#

Does anyone know how to make the pick up system like in dead rails?

rain pier
thorny parcel
#

chat

#

why the fuck is my rig always hovering the floor

#

i cant fkin place it

honest shuttle
#

guys help me

frigid ferry
calm basalt
peak geyser
#

bru

#

Am i cooking

#

ive never scripted before and i made it for randomly a key will spawn in a drawer (random) and u can opebn the drawers

#

it only took my 5 hours but

wraith leaf
#

idk if this is good shall i restart?

peak geyser
#

as i do like the second one better though 🤓

wraith leaf
#

nyeah me too

#

but i think i am gonna change the name

peak geyser
peak geyser
#

do u know how to script

wraith leaf
#

my game is about russian roulette

peak geyser
#

are u good at scripting?

wraith leaf
#

ty

peak geyser
steel elm
#

Is it possible to detect if something is already inside of something else? (An image button inside a frame in my case)

wraith leaf
#

oh no i was replying of the sheesh

peak geyser
#

i need help thats all

frozen arch
#

i wanna make a lantern that is attached to a characters hip how should i go about attaching it

frozen arch
#

oh wrd?

past dagger
#

just need to open wait a sec

frozen arch
#

tysm bro

past dagger
#

server script

local function onPlayerAdded(plr)
    plr.CharacterAppearanceLoaded:Connect(function(char)
        local hat = game.ServerStorage.Lantern:Clone()
        local hum = char:FindFirstChild("LowerTorso") or char:FindFirstChild("Torso")
        
        local weld = Instance.new("Weld")
        weld.Part0 = hum
        weld.Part1 = hat.PrimaryPart
        weld.Parent = hat
        
        if char:FindFirstChild("Torso") then
            weld.C0 = CFrame.new(-1.1, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-10))
        else
            weld.C0 = CFrame.new(-1.1, 0, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-10))
        end
        hat:PivotTo(hum:GetPivot())
        hat.Parent = char
    end)
end

game.Players.PlayerAdded:Connect(onPlayerAdded)
#

and just put a model in serverstorage of the lantern

frozen arch
#

Alrighty!👍 Ill check the code out myself as well!

past dagger
cunning pagoda
#

If you need help finding a developer, managing a team, or managing a top-tier dev team, feel free to DM me!

clear pawn
#

Whats wrong with this?

local playerstats = {}
playerstats = {
score = 100,
name = "alwx",
}

for i,v in ipairs(playerstats) do
print(i,v.name)

end

spring fog
#

I need this to be like a carry a blank game but the part keeps moving weirdly

#

any help?

hearty trellis
#

just no.

#

first off

#

DARK MODE PLEASEEE

#

anyways besides that

#

you wanna use CFrame

#

local pos = player.Character.HumanoidRootPart.CFrame * CFrame.new(0,0,2) -- Replace 2 with how far infront

#

@spring fog

spring fog
#

Oh yeah I fixed it

#

Thanks

#

I also made it so when it gets unequip it disappears which will lead to a stash feature later

celest cipher
#

spot the difference ahh photo

#

why is there a fucking monster

bronze vigil
#

salaminconpelo or.. florecity_gaimer 😨

celest cipher
#

salamin

bronze vigil
#

i was leaning towars florecity i mean those realistic faces are horifying

bleak glade
#

best way to optimize this? i added a wait to the server updates but if the user spams makes brush strokes, frame times can jump, each stroke is a frame so i was wondering if its possible to combine them into one to limit creations somehow?

vale atlas
bleak glade
#

the main issue is the creation of frames, once you make a lot it gets a little laggy

#

it instances a new frame as each paint storke which causes the lag

vale atlas
bleak glade
#

ill check it out thx

crystal olive
#

i just found out about oop

somber vault
#

alley oop

agile fulcrum
#

guys i just bought a gun system from some guy
he sent me a game with all the models
and now idk why i cant contact him
but he gave me the game and it works
i wanna transfer it to my main game
but the game he gave has alot of extra stuff so i need help on know how to transfer only the gun models and the system

#

can anyone help

lost pebble
agile fulcrum
#

idk where they are

lost pebble
#

look in the explorer

agile fulcrum
#

in start player or smthn

#

models are alr

#

but wht abt scripts

lost pebble
#

look in StarterPack

agile fulcrum
#

if i send a script here can yall check and tell me if its a safe script??

#

i feel like he put smthn wrong in the script

lost pebble
#

like what?

agile fulcrum
#

idk

#

like those free models with sccripts that do bad things to ur game

lost pebble
#

well what part of the script do you think is malicious?

agile fulcrum
#

idk where it might be

#

but he has like 3 modals with 20 modals in them and each modal has like 20 more modals and each of those hase like 20 welds

lost pebble
#

an obvious thing that could be malicious is if it's requiring a module script by id

agile fulcrum
#

how do i check for it

lost pebble
#

go to view at the top of roblox studio and click on "Find All/Replace All" then search "require("

agile fulcrum
#

ok

lost pebble
#

if you see something like require(7383459), it could be malicious

hardy pilot
#

You're malicious!!

agile fulcrum
#

what

#

.

lost pebble
agile fulcrum
#

dj

#

zombie

lost pebble
#

hi

agile fulcrum
#

so many results 😭

lost pebble
#

those are modules within the game. that was expected

agile fulcrum
#

so its malicious??

lost pebble
#

no

agile fulcrum
#

oh

#

ok

#

good

lost pebble
#

unless the scripts themselves are. but you would have to check that manually

agile fulcrum
lost pebble
#

depends how you make it

agile fulcrum
#

btw the guns are in starter pack

#

vdoes a gun need this much code

lost pebble
#

if it's decked out in detail and stuff, yeah

#

this doesnt look like a simple gun

agile fulcrum
#

it will take hours to check if it isnt malicious or not

#

is there any weasy way

lost pebble
#

other than what i told you about a script requiring a module by id, no. not that ik of

agile fulcrum
#

but idk which scripts to transport

#

like i only need the guns system with the guns

lost pebble
#

it probably needs everything. and you can just wait for whoever gave you this to answer that for you

agile fulcrum
#

and i am just using it

#

because i quit at that time

#

idk his user id

#

i dont have his contacts

lean lance
#

yall just a quick question

lost pebble
#

damn

rancid stirrup
#

Wsp can someone tell me how I can correctly advertise my game

lean lance
#

for optimization's sake, would it be better to use a single module script for pathfinding or have the same function for pathfinding in one npc
for some more context: i got sum sorta horde stuff about npcs and it will follow a known goal

agile fulcrum
# lost pebble damn

can i add u to my main game , il copy paste the guns and everything , can u check if its all good??

gusty fog
lost pebble
lean lance
#

alright thanks yall

lost pebble
#

you're welcome

lean lance
#

oh yeah one more question, where should that module script be located in? i've seen it in replicated storage and sometimes server script service

copper apex
#

I put most of my modules in replicatedstorage

#

So i can use it for server and client

#

But that depends on the module ofc

lost pebble
lean lance
#

alright wonderful

#

thanks guys

lost pebble
#

you're welcome

agile fulcrum
lost pebble
#

idk

#

the script would probably tell you

agile fulcrum
#

what does this mean

#

like zooming in

lost pebble
#

did you chatgpt it?

agile fulcrum
#

yes :sobL

#

😭

lost pebble
#

yeah idk

worn sigil
#

what happend

agile fulcrum
lean lance
#

maybe you should use localtransparency modifier

agile fulcrum
lean lance
#

just a quick google search could be done

#

do you have any "first person arms" script?

agile fulcrum
#

i forgot i payed for it

#

and just found it

#

so i just copy pasted everything from there

#

on to the game

#

where would such a script me?

stark mason
inland bay
#

@sacred wagon guess the line count

sacred wagon
inland bay
#

ragh

#

double

lost pebble
somber vault
#

Any devs here familiar with making apps?

agile fulcrum
#

just first person arms?

agile fulcrum
round raven
#

Yo anyone needs to hire a dev or a dev studio?

lost pebble
agile fulcrum
lost pebble
#

idk what to tell you

ashen moat
#

yo guys

#

would i go about making feet flower trails with effects or by code and just spawn models as the character moves

turbid torrent
ashen moat
#

i need it to look good too

turbid torrent
turbid torrent
ashen moat
turbid torrent
#

If you're willing to hire somebody, just go with trails rather than cloning and later deleting a model object.

ashen moat
#

trails would look better right

#

?

turbid torrent
#

I don't know. Try it and see.

ashen moat
#

AH

#

alr bro thanks

balmy wedge
#

when she loading my string

hollow thicket
#

how to make a things like this G_think_neon

somber vault
turbid torrent
somber vault
tacit fox
#

How much should a pathfinding system be

balmy wedge
#

you can probably make one after 5 minutes of reading roblox docs

hardy pilot
#

What do you mean by pathfinding system

#

Like you calculate the paths yourself?

tacit fox
hardy pilot
#

Huh

tacit fox
#

ok to be specific, a system for the monster to attack you when you go near it

hardy pilot
#

So basic enemy AI

tacit fox
hardy pilot
#

shrug probably worthless with how common that is

hardy pilot
#

I mean yeah theres definitely free ones

#

And a kajillion tutorials with exact steps to make one

tacit fox
#

NO LIKE I WANNA HIRE A LONG TERM ONE FOR OTHER STUFF AS WELL

tacit fox
hardy pilot
#

Oh, in that case like 20$

agile fulcrum
#

5k

#

robux

tacit fox
tacit fox
agile fulcrum
#

no 5k bananas

hardy pilot
#

5k kiwis

#

Delivered to their home

tacit fox
#

no ik but 5k robux is so little

#

@hardy pilot can i ask u for pricing of things

#

scripting systems

hardy pilot
#

Hiring children is cheap

hardy pilot
#

Like
Can any bum do this
How long does it take
Has it been made before

#

So in the case of a basic enemy with pathfinding for example:

Pretty much anyone can make it. Takes below a hour and has many previous references.

tacit fox
hardy pilot
#

Sure Im stuck in a train anyways

vale atlas
vale atlas
#

so network matters

hardy pilot
#

Yeah

#

Comms you get from servers are most likely slave work

#

And have a high chance of getting ghosted anyways

vale atlas
#

appreciate the insight

hardy pilot
#

But, you might find someone that way or get refered to in the future

#

So it might be worth doing some

vale atlas
#

i get it, theres a good side to everything

sturdy bough
#

Hello guys

#

Does any know Island Resort Tycoon by any chance?

crystal pilot
#

local RmotorSpeed = BRmotor.AngularVelocity
will this work?

sleek rose
#

Whats the different between frontend and backebd

crystal pilot
#

or google if u want better response

#

some stuff is better to google

atomic geode
#

what do u guys think about this script? (i just hired a scripter) idk if this is ai or no

crystal pilot
#

100% AI

atomic geode
#

💀

#

wait

crystal pilot
#

i have used chatgpt engouth to know what is ai or not

atomic geode
#

did i just get scam?

crystal pilot
#

yup

atomic geode
#

lemme ask him

crystal pilot
#

before hiring anyone check chatgpt first

wise turtle
#

this guy didn't even try to hide it

crystal pilot
median tree
atomic geode
crystal pilot
#

tf

#

i thought timezones were per hour

atomic geode
#

...

vale atlas
atomic geode
#

he said it before

crystal pilot
#

how much u pay?

twilit viper
#

i! I’ve developed an advanced Tycoon script and I’m looking to sell it to serious studios or developers. The script includes automated price management, stock control, and dynamic inflation, making Tycoon games more engaging and profitable. ( i dont have the contact for ;.; )

crystal pilot
#

you cant just sell people

zenith night
#

whats the point of using knit? my head hurts trying to set it up especially knowing that i have to do it for each individual project

candid hare
#

I have made some maps with scripts for my game. Some scripts is in the model(map). And some are outside of it. But when I now decide to make a map voting system(following a tutorial), it gets pretty complicated for me. The map voting system stores the other maps in serverstorage, which messes up the scripts targeting specific map events and behavior, how do i solve this? And are there any easy way to?

kind mantle
atomic geode
kind mantle
#

like it's obviously ai

#

that's a simple script anyways so does it really matter though 😭

atomic geode
#

😭

kind mantle
#

he made it fully client side too? no remote events? 💔

atomic geode
#

ill see his work rn

winter anchor
#

only AI and psychopaths use "player" instead of "Player"

#

also all the useless comments he left

atomic geode
#

o

winter anchor
#

thats very common in AI

#

they leave grammatically correct errors that perfectly explain

#

the -- load combat stance animation comment

#

there is no reason to do that

#

comment

atomic geode
#

ill see if he scammed me or no cuz i gave him the fake animation of my game

winter anchor
#

ofc the script is hella basic, there is always a chance someone made it

#

but with the comments and "player" instead of "Player" i think it is unlikely

atomic geode
#

ill wait until he make me a combat

winter anchor
#

to be fair, if he makes a script that works, even if it is AI, at least u have to have some knowledge to produce something working with AI

#

AI isnt good at advanced tasks like combot systems

#

but still i would report him bc if he using AI, lowkey ur getting scammed bc u are paying the price for an authentic system

celest cipher
rain pier
#

can anyone help with a trigger bot system ?
in my game

#

I have the whole detect thing but its just does not press any thing on my mouse

frozen arch
#

💔

atomic geode
#

😭

charred kestrel
#

Yo

#

I need some other scripters opinions

somber vault
#

?

charred kestrel
#

So a transition function is properly defined

#

It works when there is a mainmenu transition, however when I am trying to get that same transition function to play when there is a workspace teleporter, it won’t play (I have the remoteevent properly toggled)

somber vault
#

or remotevent not firing

charred kestrel
#

I have it so it does

charred kestrel
#

So it appears that it plays

#

It’s just not showing it for the player

umbral spindle
#

Is there anyway to convert a humanoid description into a image simulair to a profile icon, or more indept like ropro sandbox has.

static coral
#

is it better to save playerdata as json encoded table in buffer or should i just save it as regular table and why

static coral
umbral spindle
#

Html

#
https://tr.rbxcdn.com/1DAY-Avatar-052E9E9F415DA45B10E7D3014602020B-Png/420/420/Avatar/Png/noFilter
#

Kinda like this that's what I wanna achieve

#

But that I can make my own one's with humanoid description

static coral
jagged swan
#

how do I get an idea of a thumbnail that actually attracts players.

latent gust
visual tree
winter anchor
#

i get it, the player variable represents an object, not the actual class

#

but still, Player is so much more comfortable

#

also AI always uses player no matter what, no shortening to plr or nun

charred kestrel
#

Can u look up at my message above

winter anchor
agile fulcrum
visual tree
vagrant prism
#

How do i through coding change things such as humanoid running animation or even add a humanoid event if thats possible?

fresh dirge
#

how do i open the error message thing at the bottom

#

and it also says stuff u printed

latent gust
#

F9?

silver verge
fresh dirge
mild hornet
#

Where can I hire a skilled scripter

twilit viper
turbid torrent
#

I know what it's supposed to be, but what is it actually set to?

charred kestrel
#

Uhhhh

#

I think it’s just like

#

The generic camera

#

Like based on what it functions as

#

Cause I know the transition plays

#

The player just can’t see it

vale atlas
#
game.Players.PlayerAdded:Connect(function(player)
    
    local leaderstats = player:FindFirstChild("leaderstats")
    if not leaderstats then
        leaderstats = Instance.new("Folder")
        leaderstats.Name = "leaderstats"
        leaderstats.Parent = player
    end

    local Points = leaderstats:FindFirstChild("Points")
    if not Points then
        Points = Instance.new("IntValue")
        Points.Name = "Points"
        Points.Value = 0  
        Points.Parent = leaderstats
    end

    local ballsvalue = 0

    for i = 1, 200 do
        local part = Instance.new("Part")
        part.Parent = workspace
        part.Position = Vector3.new(0.685, 5.704, -0.046)
        part.Anchored = false

        ballsvalue = ballsvalue + 1
        Points.Value = Points.Value + 1

        task.wait(0.1) 
    end

    Points.Value = ballsvalue
end)```
@quasi badge
vale atlas
#

idk if u set leader stats before but this works as a whole

quasi badge
#

the one i sent works as well

#
game.Players.PlayerAdded:Connect(function(player)
    
    local leaderstats = player:FindFirstChild("leaderstats")
    local Points = leaderstats:FindFirstChild("Points")



local part = Instance.new("Part")
part.Parent = workspace
local ballsvalue = 0

while true do
    task.wait()
    local part = Instance.new("Part")
    part.Parent = workspace
    part.Position = Vector3.new(0.685, 5.704, -0.046)
    part.Anchored = false
    ballsvalue = ballsvalue + 1
    Points.Value = Points.Value + 1
    if ballsvalue >= 200 then
        break
    end
end

    local leaderstats = player:FindFirstChild("leaderstats")
    local Points = leaderstats:FindFirstChild("Points")
    Points.Value = ballsvalue

end)
crystal pilot
summer plume
#

you know C stack overflow?

somber vault
#

who wants to learn how to steal game copy’s without it being Uncopylocked DM ME!

placid blaze
#

Anyone know why my leaderstats code isnt working

#

game.Players.PlayerAdded:Connect(function(player)
-- Create leaderstats folder
local leaderstats = Instance.new("Folder")
leaderstats.Name = "leaderstats"
leaderstats.Parent = player

-- Create Rebirth stat 
local rebirth = Instance.new("IntValue") 
rebirth.Name = "Rebirths" 
rebirth.Value = 0 -- Default value 
rebirth.Parent = leaderstats 

-- Create Clicks stat
local currency= Instance.new("IntValue")
currency.Name = "Clicks"
currency.Value = 0 -- Default value
currency.Parent = leaderstats

end)

outer notch
mild hornet
placid blaze
summer vortex
#

guys can some1 tell me what i means? Eg : local i,

sour vine
frigid thorn
placid blaze
sour vine
#

in script or local script

placid blaze
#

script

sour vine
#

where is the script

placid blaze
#

Serverscriptservice

sour vine
#

show output

placid blaze
#

im beginner to coding wdym with output

frigid thorn
sour vine
#

in view

placid blaze
#

what do you wanna know from output

sour vine
#

play game and screenshot it

frigid thorn
#

Then show output again

sour vine
#

it should work

#

do u even know what the script does

placid blaze
#

yeah its for leaderstats

supple spear
#

yo chat sm1 here can code an eafc25 system

#

freekick system

#

not the whole game 😭

sour vine
supple spear
#

yep

sour vine
#

dm

placid blaze
#

look its showing clicks and rebirths but when i click the clicks dont show up there

supple spear
#

i dmed u

placid blaze
#

why im confused

#

?

reef birch
#

my debounce never goes back to false, any help?

    local funcDebounce = false
    
    local function grabBananasHandle()
        print(funcDebounce)
        if funcDebounce then return end 
        funcDebounce = true
        local parts = workspace:GetPartsInPart(pickup.Hitbox)
        local pickupDebounce = false
        if table.find(parts, character:FindFirstChild("HumanoidRootPart")) then
            pickupDebounce = true
            local startTick = tick()
            while pickupDebounce do
                task.wait(.2)
                if not table.find(parts, character:FindFirstChild("HumanoidRootPart")) then 
                    funcDebounce = false
                    return
                end
                if tick() - startTick >= 1 then
                    break
                end                
            end
            local grabBananasCoro = coroutine.create(function()
                print('ababa')
                local nana = banana:Clone()
                nana.Parent = backpack
                nana:PivotTo(backpack.CFrame)
                local weld = Instance.new("WeldConstraint")
                weld.Parent = backpack
                weld.Part0 = nana
                weld.Part1 = backpack
            end)
            coroutine.resume(grabBananasCoro)
            print("coro")
            while task.wait(.25) do
                if not table.find(parts, character:FindFirstChild("HumanoidRootPart")) then
                    funcDebounce = false
                    coroutine.close(grabBananasCoro)
                    return
                end
            end
        else
            funcDebounce = false
        end
    end
    pickup.Touched:Connect(grabBananasHandle)
end)
vast hornet
#

i generated this with a script

muted lake
shadow oar
#

why does this happen?

crystal olive
#

Learn what oop is and how to utilize it in coding.

dark juniper
gloomy kraken
copper apex
gloomy kraken
#

you only showed us the leaderstats script not the script that gives clicks

chilly spire
#

is a trading system enough to get scripter role ?

#

i'm working on a currency system with trading,coins and shop, but i'm worried that's not enough

copper apex
#

Unless your system contains lots

gloomy kraken
#

i always wondered what single thing would take more than 200 lines without modules included

chilly spire
#

i made a coins framework module with a silver,bronze and gold in a table so it automatically converts the value u get into coins

chilly spire
#

just feels so unorganized

gloomy kraken
#

ikr

copper apex
gloomy kraken
vast hornet
#

did i just code a beizer curve

copper apex
vast hornet
chilly spire
#

my client sided script has no modules, so it has around 200 lines

gloomy kraken
#

my grid placement game took 100 lines :/

vast hornet
copper apex
vast hornet
#

i know someone who had like 5k lines for a grid placement game.

gloomy kraken
#

also because its really simple

copper apex
soft flower
#

hello i am working on a simulator game and i have it so the player walks ip to a object and it increases the counting variable, but it increases the value for all players when one player hits it, why is this happening

soft flower
young kettle
#

How do I offset camera's orientation while still being able to freely look around

dark juniper
#

If I’m not mistaken

young kettle
dark juniper
#

😭

#

wat scripts is bro touching….

young kettle
#

If you know viewmodel anims on youtube how the camera reacts to the movement, or when camera shakes because of an explosion, it moves but you can still look around

dark juniper
#

you want to shake the camera?

#

dude just get a camera shaker module

young kettle
#

No I want the animation to influence camera

dark juniper
#

Someone already made a module for that

young kettle
#

I dont want a spring explosion module

dark juniper
#

Explain

young kettle
#

hold on

#

skip a lil bit to the part where its in first person

#

the camera is attached to the head, so the rotations and shake moves the camera with it

young kettle
dark juniper
#

Just shake the camera

#

With a camera shaker

#

Why are U complicating it

#

😹

#

goofy ahh boy

young kettle
#

And if I make weapon inspection?

#

Shaking isnt gonna do it buddy

dark juniper
#

Look all I’m saying is there’s probably better stuff you can spend your time on for your rpg

#

Rather than “animation based camera shaking”

young kettle
#

Im doing it for the sake of learning

#

Making it works gives me dopamine

#

and expands my knowledge

#

Plus its super freaking cool buddy

dark juniper
#

this seems kinda complicated tho and you don’t seem allat with scripting

#

But it gives you dopamine tho

#

So I can’t really argue it

#

My best piece of advice for you is to read the docs

young kettle
young kettle
#

I cant even figure out what im looking for so i have to explain each time what I mean

dark juniper
#

your translating 3D movement to a 2D screen yea

young kettle
#

No

dark juniper
#

Well yea you want it to move the camera based on how the animation is moving

#

Is that not what you want?

young kettle
#

Camera orientation has 3 axis

dark juniper
#

wait wait wait

#

You want it to rotate the camera?

young kettle
#

Did u see the clip I sent

dark juniper
#

Watched the first part

#

not the second part

#

My thoughts are probably calculating its rate of change depending on its distance from the observer

#

So like if its moving at this speed, multiply it by the distance

#

Then apply that to the camera orientation

#

should probably give a similar effect

young kettle
#

I understand the principle

#

And I already told u the principle

dark juniper
#

I’m telling you how to code it

young kettle
#

you add the head orientation as an offset to the camera

dark juniper
#

Yea

#

Then youd group all the body parts

#

Of the character

#

And basically just set up observers to listen for their assembly linear velocity

young kettle
#

You are saying nonsense

dark juniper
#

lol no I’m not

#

this is nowhere near nonsense

dark juniper
#

You then wanna calculate their 3D offset from the head

#

And multiply it by their linear velocity

#

And apply that Vector3 or Cframe or whatever it is to the camera

#

That’s what I’d do

#

If you can’t do this, I’d personally just use a camera shaker module

#

@young kettle

young kettle
#

The principle is

#

Adding head orientation as an offset to the camera

#

what is allat u just spit out on me

dark juniper
#

You wanna shake the camera based on character movement

young kettle
#

There's a difference between animated camera and spring camera shake

#

which is random

dark juniper
#

So you naturally need to determine the limb speed

#

Yes?

#

When I move an arm quickly

#

Camera needs to shake a lot

#

Arm also moves in a direction too

#

Calculate the way the rotation and position changes

young kettle
#

Im not going to make a 20 like calculation which procedurally shakes camera depending on legs arms and ass speed

dark juniper
#

Well this is what you want Gng

#

Idk what to tell you

#

why don’t you wanna throw it back

#

Ingame

#

😂

#

just use the camera shaker if you don’t want it

#

thought you were lowkey more motivated than that…

young kettle
young kettle
#

that is right

dark juniper
#

Listen dude, I’m clearly way better at this than you

#

your choice to listen to me or not

young kettle
#

I choose to take the information however I want

winter anchor
#

i legit always put the player variables as Player

#

idc that it’s not a class

#

and it’s an object

#

when learning lua, everyone cool did Player

#

that i watched anyways

dark juniper
#

👍👍👍

spring fog
#

Do you guys know those carry a blank oboes and how when you spawn one player has a tray? How do you do that

shadow sphinx
#

Brand new at coding, W code?

local model = script.Parent
Part1 = model:WaitForChild("Part1")
Part2 = model:WaitForChild("Part2")
Part3 = model:WaitForChild("Part3")
while true do
    task.wait(0.5)
    Part1.BrickColor = BrickColor.Random()
    Part2.BrickColor = BrickColor.Random()
    Part3.BrickColor = BrickColor.Random()
end
trim dove
#

and hmm

shadow sphinx
ivory lark
shadow sphinx
#

Brand new to Roblox Studio programming, give me some feedback on my script.

KillBrick = script.Parent
KillBrick.BrickColor = BrickColor.new("Really red")
KillBrick.Touched:Connect(function(Kill)
    local humanoid = Kill.Parent:FindFirstChild("Humanoid")
    if humanoid then
        humanoid.Health = 0
    end
end)
game.Players.PlayerAdded:Connect(function(Joined)
    local Name = Joined.Name
    print(Name.." Has joined")
end)
ivory lark
ivory lark
#

this only works with luau iirc

#

also using local variables are generally the better option

#

so instead of KillBrick = script.Parent, do local KillBrick = script.Parent

shadow sphinx
ivory lark
shadow sphinx
#

alright thx @ivory lark

ivory lark
#

also as ive mentioned before, check out naming conventions and stick to one, it makes your code more readable

shadow sphinx
ivory lark
#

there are a few different ones but these are the most popular ones

brave island
#

HTD
Do you usually code everything from scratch or use community assets sometimes

#

Like raycast hitboxes

ivory lark
#

that could take way more time to figure than just writing it myself

brave island
#

I might need to relearn lua

#

I mostly be animating

#

Lua syntax is pretty simple to understand and it isn’t that hard to dissect code so idk if it’s that necessary though

ivory lark
#

codewars is an amazing site to improve your logical thinking when it comes to coding, i can recommend that

#

It helped me a lot w lua

shadow sphinx
#

im taking notes rn

brave island
#

All the basic tutorials be treating people like they’ve never seen coding which might be accurate

#

But I alr got some basic experience with JS and Java

ivory lark
brave island
#

Ion need to know what a variable is 😭

ivory lark
brave island
#

So I’m conflicted between just trying to find specific tutorials that I need and just dissecting the code and understanding it then using it

ivory lark
brave island
#

Is it free 👀

ivory lark
#

codewars isnt about teaching tho, its about practicing

ivory lark
shadow sphinx
#

I jst be using YT with a youtuber called Programming with Mosh. His good tutorials are for JavaScript and Python. I also use codecademy for HTML and CSS, also BrawlDev on YT for LuaU.

brave island
#

Honestly though if it’s just about variables and conditionals that are extremely basic or just logic in general idk if it’ll be that helpful

brave island
#

Most of my issues with luau is ion know the syntax or much about the engine

ivory lark
#

there are a bunch of exercises I cant do and Ive been doing lua for 6+ years

ivory lark
#

theres a youtuber, let me find him

#

Suphi Kaner

#

he makes technical tutorials

#

He taught me quite a few things

brave island
#

A while back I made hitboxes using modules and an npc dialogue system somewhat but I might have forgotten most of the specific syntax and code

brave island
#

I been wondering if I should try to learn raycastinf

ivory lark
brave island
#

But I can’t find any tutorials not already using a premade raycast asset for melee and such

shadow sphinx
#

im 2 episodes away from completing a full beginners series and I barely know anything, my best code is what I showed before.

brave island
#

It’s good especially if you have no former coding knowledge

ivory lark
brave island
#

Learning what I can from them

#

And moving on

shadow sphinx
brave island
#

Or I’m probably gonna drop the stuff because they’re unnecessary and forgot everything anyways

shadow sphinx