#anyone help me with the round system
1 messages · Page 1 of 1 (latest)
if you were to ask chatgpt what everything means as you're going, you would know how to fix things like this
if you ask chatgpt anything youre bound to fail and put your own face in the shit the ai made
pretty much
then the fuck ure saying bruh 🥀
learn how to script via human made resources (yt, roblox documentation, roblox dev forum)
done
if you just ask chatgpt shit and never understand or learn from it then this is true
chatgpt wont tell you shit in the first place, tf ure on abt
if you do it correctly and use humand made resources cuz ai screws up a lot then you can use it
aint nobody doing all that
a lot of people are doing that
waste of time
when i asked gpt how to change the player speed (propmt: How to make player walk faster in Roblox Studio) it told me to change gravity property of the workspace
atp just paste css code into roblox 😂
i disagree, goes over a lot of topics well in a way you understand
sure, fetching information from the internet about the topic, he can do that
but on god do not let it write scripts
its somehow fairly good at that too
but it needs
human intervention in a way
like you need to understand what its doing
to properly correct it and such
thats debugging
if you use it like the code co pilot from visual studio then i think its fine
and let me tell you, with ai scripts debugging takes years
im trying to do that right now and youre kinda right
it does
on certain topics that arent covered a lot it takes YEARS
like when a module ran twice
and the issue was that i ran it on a command bar
and even if the script works, it might end up be just a pile of glued and taped bs
and it didnt tell me it was on a different lua env
yeah thats why i feel like if you do write a script with it
you should ask how it works
you dont
but i feel like u should just
know how to structure code in the first place
and only ask if youre lost
about something
no man, the ai is not capable of doing this, not at this point of time
then look through several solutions
a simple script for like a .Touched event its okay
still itll make a function to literaly only call an existing function
youre right abt full scripts ngl
its good at giving ideas
id say
like youre confused how to go abt something so you ask and see what it says
and it might give you an idea
local function randomNumber(rangeBegin, rangeEnd)
math.random(rangeBegin, rangeEnd)
end
yeah thats okay but im talking about literaly scripting shit
like let me do it rn
im trying to do something like that rn because im in a territory that is not documented by literally anyone
aka moon animator's globals
so im feeding it very little scripts that DO use it to get an idea of how to do certain things
local part = script.Parent
local clickDetector = part:FindFirstChild("ClickDetector")
-- Function to generate a random color
local function getRandomColor()
return Color3.new(math.random(), math.random(), math.random())
end
-- Function to change color on click
local function onClick()
part.Color = getRandomColor()
end
-- Connect the click event
clickDetector.MouseClick:Connect(onClick)
like bro
because it detects functions for keyframes and such
bra
is that what it gave you
LMAO
YES
😭
local RunService = game:GetService("RunService")
local gui = script.Parent
local circle = gui:WaitForChild("ControlCircle")
RunService.RenderStepped:Connect(function()
local guiCenter = gui.AbsolutePosition + (gui.AbsoluteSize / 2)
local circleCenter = circle.AbsolutePosition + (circle.AbsoluteSize / 2)
local offset = circleCenter - guiCenter
print("Offset from center:", offset.X, offset.Y)
end)
this was just for an idea although
wasnt sure how to get how far away an ui is from the center and apply it to a 3d object
i feel like if you use chatgpt for coding you should only really use it for learning and ideas
its amazing at teaching
yeah that might work
should
local tool = script.Parent
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
local fireEvent = tool:WaitForChild("FireEvent")
local canShoot = true
local fireRate = 0.15 -- Time between shots
tool.Equipped:Connect(function()
mouse.Button1Down:Connect(function()
if not canShoot then return end
canShoot = false
-- Get mouse target
local origin = player.Character:FindFirstChild("Head").Position
local direction = (mouse.Hit.Position - origin).Unit * 500
fireEvent:FireServer(origin, direction)
task.wait(fireRate)
canShoot = true
end)
end)
another one it gave me
this would cause an issue as it keeps connecting the button1down over and over again everytime the tool is euipped
and its easily exploitable by players
wtf is this
😭
part of a modern gun system
it never gave me shit like this lemme try
** You are now Level 4! **
WTF
LMAO
-- LocalScript in GunTool
local tool = script.Parent
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
local event = tool:WaitForChild("RemoteEvent")
local canShoot = true
tool.Equipped:Connect(function()
mouse.Button1Down:Connect(function()
if canShoot then
event:FireServer(mouse.Hit.Position)
end
end)
end)
thats even fucking worse
what model did you use?
idk about you guys but the chatgpt i'm using is flawless and can do anything just fine
it's way fu##### complicate but i will try
look
** You are now Level 6! **
ik how dos the print work
sybau
but some parts of the script learning i just don't understand it
Your best way and luau aint that bad comoared to other languages
Use roblox documentation
there kinda ass but ok
fym ass theyre literaly the father source of all that is known about roblox lua
Still man
nah
The fuck you say
ok but do u have any video that i can learn lua easly without getting to the confusing stuff
i just wanted a video that can explane the code meanings and how thay function well without getting confessing
The videos won't confess anything to you
ok
but
the print
"yes ik how to use it"
some parts of the print like
if somthing fails
i want it to print that
but the script is just confusing
idk why
and if i know how the script how it works now
i will not even understand how it function
oh wait
i can use --
i was watching dat