#code-discussion
1 messages ยท Page 21 of 1
I dont think thatd do much for you
Oh man I suck at scripting anything related to code
it's just a 'basic' anti cheat
not anything big, making an advanced one could take time
Id probably look at how theyre managing to have "autokill"
i just love rojo
can someone help me with my tower defense game? I broke the scipt and yea..
No
then dont answer bruh
Whats the best way to change a table in a module globally using a local script?
u cant

I just wanted to make sure you know no one is helping you ๐
Oh if thats so if you have no respect then I have to tell you something too I just wanna make sure that no one loves you and that youre gonna die aloneโค๏ธ
Yeah what are you on buddy ๐ฅ
Iam ON nothing but iam IN something and we can both Imagine what it is (your Mom)
Me
i smell arch
nah
can any scripters help with a game, we hv everything on board expect a proper scripter.
pls dm me if interested
iโm new to coding but since they ask for how long iโve been doing coding, they decline me
if ur pro make portfolio
This is a simple runtime type checker that works for modules. Hereโs a test script that will allow you to test and see how module works: local StrictModule = require(game:GetService("ReplicatedStorage"):WaitForChild("strict")) -- Define a module with functions to test local TestModule = {} -- Function 1: Add two numbers function TestModule.a...
C++ is harder
So it's up to so you want to learn the easier or harder one first
i learned python so i think i wont really struggle that much when i learn it
except pointers i have a bad feeling about it
A
Learn C++
More widely used as well as more resources to use it
learn rust
One valid reason.
Give me one valid reason to learn rust in the big 25
oka
Guy who can help me make a game i will pay rubux and no links
C is great for learning core fundamentals of programming. I recommend everyone learn it. C++ is notoriously difficult to learn as you get into the weeds with it, but is popular still, especially in the video game industry. Both are powerful languages that don't hold your hand, so they can often shoot you in the foot if you're not careful
When did you guys start scripting?
@somber vault yes very trustworthy name
K wait
hi sleitnick
i got a few questions to ask about scripting if u dont mind
love the plugin you released
or albino monkey if u know how lol
If it's Roblox luau I can help
lua
like the generic scripting right?
I know a lot about studio and luau you can DM me questions
@cedar mica Yo ready
Anyone know a good example of what runservice.heartbeat could be used for in gaming?
just general loops used on the server like updating the position of a NPC and you can use delta time to get the difference between the time it takes to get the next replication frame on the server which can be better if the server starts to get laggy. It can also be used on client as a loop too, it's similar to a while loop but it fires after every frame ends
Ok, i like that answer thx
NPC position, update a countdown timer, control variables that need to be updated on the server so everyone sees everything the same
has a lot of uses, you can use RunService.Heartbeat:Wait() too instead of task.wait() in some cases
Oo alr thx
allbeenomonkeh
Hey, i just started and didnt understand what FindFirstChild and WaitForChild applies for.. anyone care to elaborate?
Here's some code I wrote for VFX controls that have been pretty useful when scripting spells. It's not groundbreaking or anything but figured I'd share for free
local Debris = game:GetService("Debris")
local EmitterControls = {}
EmitterControls.disableAllEmitters = function(parent)
for _, child in parent:GetChildren() do
if child:IsA("Attachment") then
child.Visible = false
elseif child:IsA("ParticleEmitter") or child:IsA("Beam") then
child.Enabled = false
end
EmitterControls.disableAllEmitters(child)
end
end
EmitterControls.enableAllEmitters = function(parent, timeToWait: number?)
for _, child in parent:GetChildren() do
if child:IsA("Attachment") then
child.Visible = true
elseif child:IsA("ParticleEmitter") or child:IsA("Beam") then
child.Enabled = true
if timeToWait then task.wait(timeToWait) end
end
EmitterControls.enableAllEmitters(child, timeToWait)
end
end
-- Destroys the emitters only after their particle lifetime has been reached, leading to a more natural phase out
EmitterControls.destroyEmittersGradual = function(parent: Object)
for _, child in parent:GetChildren() do
if child:IsA("ParticleEmitter") then
Debris:AddItem(child, child.Lifetime.Max)
end
if child:IsA("Beam") then
child = child :: Beam
Debris:AddItem(child, child:GetAttribute("EmitDuration"))
end
EmitterControls.destroyEmittersGradual(child)
end
end
-- Emit <amount> particles for each child Emitter, with <timeToWait> seconds between each emitter.
EmitterControls.emitAll = function(parent, amount: number, timeToWait: number?)
for _, child in parent:GetChildren() do
if child:IsA("ParticleEmitter") then
task.spawn(function()
child:Emit(amount)
end)
if timeToWait then task.wait(timeToWait) end
end
EmitterControls.emitAll(child, amount, timeToWait)
end
end
return EmitterControls
i dmed u
Why do a tables indexes become strings after saving them to data store?
so when i do:
print(Table)
DataStore:SetAsync(i, Table)
print(DataStore:GetAsync(i))
i see this in the output:
{
[1] = "Something"
}
{
["1"] = "Something"
}
function AddFloor(Player)
if debounce == false then
debounce = true
local Plot = findPlayerPlot(Player)
local FloorStat = Player.leaderstats.Floors
local Floor = Objects.Floor
local FloorsFolder = BuildingPlots[Plot]:WaitForChild("Floors")
local PlayerCharacter = workspace:FindFirstChild(Player.Name)
local HumanoidRootPart = PlayerCharacter:WaitForChild("HumanoidRootPart")
local PreviousFloor = BuildingPlots[Plot]
local TopFloor = FloorsFolder:FindFirstChild("TopFloor")
PlayerCharacter:MoveTo(HumanoidRootPart.Position + Vector3.new(0, 30, 0))
local NewFloor = Floor:Clone()
TopFloor:MoveTo(TopFloor.PrimaryPart.Position + Vector3.new(0, TopFloor.PrimaryPart.Size.Y/2 + NewFloor.PrimaryPart.Size.Y/2, 0))
NewFloor.Parent = FloorsFolder
NewFloor:MoveTo(PreviousFloor.PrimaryPart.Position)
NewFloor.Name = "Floor"..FloorStat.Value
task.wait(2)
debounce = false
end
end
attempt to index nil with 'Position' on line TopFloor:MoveTo(TopFloor.PrimaryPart.Position + Vector3.new(0, TopFloor.PrimaryPart.Size.Y/2 + NewFloor.PrimaryPart.Size.Y/2, 0))
no its garbage
someone know a bit how to do uis
What's your question?
I can try to help u with this
anybody have an idea on how to tween vfx cause particle emmitters are not supported by tween service?
Set vfx parent to basepart, and tween basepart itself
how can i solve a problem with a infinite yield while waiting for a child in replicatedstorage?
can some kind hearted person slide me 1$? ๐ญ ๐
๐ญ
local Announcement = game.ReplicatedStorage.Announce
local playerArray = {}
local firstplayer = false
game.Players.PlayerAdded:Connect(function(player)
if firstplayer == false then
table.insert(playerArray, player)
print(playerArray)
firstplayer = true
end
if firstplayer == true then
table.freeze(playerArray)
end
end)
game.Players.PlayerRemoving:Connect(function(player)
table.remove(playerArray, table.find(playerArray, player))
local firstplayer = false
end)```
is my script good
im only 1 month into luau
anybody know how to turn shift lock into ctrl lock?
what are you trying to create?
https://devforum.roblox.com/t/remapping-shift-lock-key/626370/4
https://devforum.roblox.com/t/changing-shift-lock-keybind/337910/5
You can remap the shift lock key very easily. Clone the scripts in starter player > starter player scripts > player module (or copy, whatever suits you) and paste them in studio where the script would originally be. After so, when pasted, go the scripts under player module inside of CameraModule then open MouseLockController. On line 28 there...
Trying to look inside StarterPlayer.StarterPlayerScripts for BoundKeys doesnโt work as the object is created at runtime inside Players.LocalPlayer.PlayerScripts. You also donโt need to fork PlayerModule and opt out of future updates. The best approach is to change the bound keys at runtime from your own LocalScript: local Players = game:GetSer...
thank you!!!๐ญ ๐ญ ๐ญ
essentially I just wanted it to save the first player in the server to show the oldest player in the server, but now I have realized that won't work or update properly after the first player leaves so now I am thinking of re writing it again and whenever first player becomes nil again other players in the server move down an index so the second becomes first and third become second and so on, forgive me if some stuff is wrong here I am new.
i think you should just have a timer for each player that joins the game
so when a player joins, keep incrementing that timer by 1 second every second theyre in the game
and the person with the largest timer value would be the player that stayed in the game the longest
then you can sort it by descending to see which player has the largest -> smallest
c++ better
Does anyone know why I dont receive the event on the client
it didnt work
ill make something for you
oh, ok
youre trying it in a local script by the way?
i guess
is there a different color script?
no noo, it should be in a local
local Players = game:GetService("Players")
local KEY = "LeftControl"
local mouseLockController = Players.LocalPlayer
:WaitForChild("PlayerScripts")
:WaitForChild("PlayerModule")
:WaitForChild("CameraModule")
:WaitForChild("MouseLockController")
local obj = mouseLockController:WaitForChild("BoundKeys")
obj.Value = KEY
i am, i think
try that one
ok
you only need the first waitforchild
local mouseLockController = Players.LocalPlayer:WaitForChild("PlayerScripts").PlayerModule.CameraModule.MouseLockController
local obj = mouseLockController.BoundKeys
i dont get it, cuz im a beginner
yea, i suck
nvm
i figured it out
gun to your head
alr
i need a professional scripter with 8 years of experience to print hello world in the most abstract way possible
thx
eh guys i might sound very stupid but what could be cause of my proximity prompt not showing up?
Try to parent proximity prompt to model
go to properties and disable requireslineofsight
Anyone want to help me on my horror game, I already got a concept and lore being made. My friend and me are the only devs so far.
anyone knows how to fix this
wait fallen survival has made almost 5b robux from game purchase only???
Looking for a Roblox scripter with experience in OOP for a project. Must be proficient in Lua.
What's wrong
thank you!
`will a day ban i just got affect me joining the dev ex program?
Workspace.SarusTheDuck.Client:43: attempt to call missing method 'Equip' of table - Client - Client:43
?????
Can someone help me make a simple roblox game please
I would like the billboard to be stationairy
how much you pay
nothing it should be easy cause its a game about pushing a ball
gl finding someone who can do it for nothing
step 1. get money to pay
ok so you make map then make a unanchored sphere
devforum teaches you how to dev
Hey guys
where
if anyone wanna help me make a script dm me ill pay robux!
dang i thought i teaches how to cook
Do not try to be hired outside of the marketplace.
local UserInputService = game:GetService("UserInputService")
local GameModel = game.Workspace.Game
UserInputService.InputBegan:Connect(function(input)
if input.KeyCode == Enum.KeyCode.L then
local gametable = GameModel:GetChildren()
gametable.Transparency = 1
wait(10)
gametable.Transparency = 0
end
end)
why this code doesnt working(this runs in local script)
You're trying to set the Transparency property of an array
yeah
You need to iterate over that array to get the Instance objects
Ok
Did you manage to sort it?
where did you hear this
Hello, I am working on this first person dynamic model thingy for the FPS game I am working on. The code is working fine, I am here to actually ask if there is any way I can improve it, because I feel like there might be a service that I am missing that would make my like so much easier or something like that.
the code:
local RunS = game:GetService('RunService')
local offset = Vector3.new(3.5, -1.5, -4)
local player = game.Players.LocalPlayer
local camera = workspace.Camera
local mouse = player:GetMouse()
local FPSmodule_ = {}
FPSmodule_.__index = FPSmodule_
local FPSmodule = {}
FPSmodule.__index = FPSmodule
function FPSmodule_.new(followPart: BasePart)
local self = setmetatable({}, FPSmodule)
self.followPart = followPart
self.moveOffset = Vector3.zero
self.lastX, self.lastY = 0, 0
self.followConnection = nil
return self
end
function FPSmodule.StartFollowing(self)
local char = player.Character or player.CharacterAdded:Wait()
self.followConnection = RunS.RenderStepped:Connect(function()
if not self.followPart then return end
-- I couldnt find a better whay to check if player is in first person except of just checking how far the camera from 'first person' position of camera
if ((char:WaitForChild('HumanoidRootPart').Position + Vector3.new(0,1.5,0)) - camera.CFrame.Position).Magnitude > 1 then return end
local newX, newY = camera.CFrame:ToOrientation()
local diffX, diffY = newX - self.lastX, newY - self.lastY
self.lastX, self.lastY = newX, newY
--Checks when the orientation changes from -3.14 to 3.14 and vice versa, and fixes it to prevent teleportation of the model
if diffY > math.pi*2 - 1 then
diffY -= math.pi*2
elseif diffY < -math.pi*2 + 1 then
diffY += math.pi*2
end
self.moveOffset += Vector3.new(diffY, -diffX)
self.followPart.CFrame = camera.CFrame * CFrame.new(offset) * CFrame.new(self.moveOffset)
self.moveOffset *= 0.95
end)
end
function FPSmodule.StopFollowing(self)
self.followConnection:Disconnect()
end
return FPSmodule_
Okay, good to know
bruhh
its coming great
darkest dm me
i think for the math.pi bs here you can just use a unit circle
so if the radians is bigger than 180
then you just do math.rad(math.pi - angle)
remove the :WaitForChild('HumanoidRootPart')
make it just 1 constant
you realize you can lock the player in first person tho right @red pelican
Thats right, now that I think of it, I didnt need to do that check lol
Thanks for the help!
wut am i doing with my life
I made a script so where my item floats around my character, I wanna make it where when I press a key the character can ride on the same item thats floating around em
Can anyone help me
whats up guys, anyone good with roblox api
There are a lot of Roblox APIs
yes but is anyone here good at it
I'm looking for the new version of https://economy.roblox.com/v1/purchases/products/ as this doesnt seem to work anymore
for what I'm trying to do
Are you trying to track purchases?
Like off platform?
Yeah
I know it's possible because I'm trying to copy what someone else has done
@spiral jungle if you're knowledgable on the api I can try to show you what we're doing in a dm
it would be greatly appreciated ๐
Nah Iโm busy with other stuff and I donโt really do off platform stuff for Roblox
no problem
buy something from the catalog with the network tab open
When you learn how to code:
https://apis.roblox.com/marketplace-sales/v1/item/{collectibleProductId}/purchase-item works for catalog items
uh
do you need something?
Who can help me make a game
@somber vault
can you help me work on my naruto game
Yeah
Also, why did you pinged hao?
Also uh, don't ping me. I'm also kind of a retired scripter so not really
I mostly do proofreading of scripts, that's all
Who can help me make a game
i wll pay
pls
I can help you
Nah, I'm sorry
bet
ah, nvm then
Yeah but how are you gonna help me
i do
ui animation lil and effects
Uhh i want to be pay
Did you need help with code?
No i know how to code
Oh ok
hm?
how do like you know those naruto games and they do sharingan on eyes
how they do that?
For my group i told you i know how to make code but building the pormblem
hack someone for me hacker
than do my shit
NOW DONKEY
Hell no
i can help you broo
if you help me
thats win win
Wait you send you can animaitai
yea
so is it deal?
You help me in my game i will help you
bet
yea
yo hacker
whwat you want me do?
@somber vault
how do I generate a UUID
โ ๏ธ
hey guys, does anyone know why i fall through terrain when spawning in? I used preload async and nothing seemed to work.
i tested it with 10 people and some people who are laggy seem to "fall" under the map. its kinda weird
maybe ground aint anchored
nvm nth
Guys. Is there any dev that can help me fixing my autoteamassigner and set up an announcement system and making an admin system? I will provide every script ( I bought)
try using request stream around async
if that doesnt work replication focus
guys, I wanna make an equip and unequip button I did all that but when i click it, It just buys the item
Hi iam looking for a good scriper my budget is 20$ for anyone who is interested dm me
how can i make a roblox game communicate with my javascript program?
Use an API

HTTP service
And just send a message to your computer
Something like that
Get a server
alr thanks ๐
can a clone function clone an object twice?
guys how do I give teams using code
local a = {"hello"}
local b = a
b = {"something"}
Wouldn't this code change the table a?
No
Because youโre reassigning b
hb
b[1] = โsomethingโ
Hi chat I'm new to scripting I'm watching the dev kings tutorials and learning a lot but I don't understand parameters
Can anyone explain them for me
Functions have parameters which are basically inputs into the function
Ty
When you call a function you pass in arguments which need to correspond to the parameters of the function
Damn
I made this script are there any places I need to adjust it no
Yes put it on a computer
I did
I just to lazy to take a picture
I usually write scripts down on my book when I make them so I don't forget
And if I do I can recap it
Donโt you have a phone
I do

I'm using it rn
Just type it into the notes app
i am using roblox stock datastores for my inventory system, i tried changing my userid for fun(tesing) and the game added a couple items to my inventory with the userid i put
weird anomaly ๐ญ
Damn I don't understand anything
Can you teach me scripting
I only know some basics
Like prints while loops
And a little bit in events
wow
LOOOOOL
local TweenService = game:GetService('TweenService')
local function TweenModel <A>(model: Model, Goal: CFrame, time: number, EasingStyle: Enum.EasingStyle?, EasingDirection: Enum.EasingDirection?, callback: ((A...) -> ())?, ...: A...?)
EasingStyle = EasingStyle or Enum.EasingStyle.Linear
EasingDirection = EasingDirection or Enum.EasingDirection.In
local start = model:GetPivot()
time /= 100
coroutine.wrap(function(...)
for t = 0, 1, 0.01 do
local alpha = TweenService:GetValue(t, EasingStyle, EasingDirection)
model:PivotTo(start:Lerp(Goal, alpha))
task.wait(time)
end
if callback then callback(...) end
end)(...)
end
Is this good?
print("Hello, World!")
is this good?
is this good?
what the fuck
๐ญ
pro
while true do
Instance.new("Part",workspace)
end
is this good?
what am I witnessing ๐ญ
masterpiece
guys why is this breaking randomly
Send the error too
no error
What is CL?
Could it be that the collection service is returning an empty table
why is bro writing it down on paper
I usually write scripts I dint fully understand or the ones I forget in paper or in my phone
if you forget something just search it up again
I learn scripting at school too and at our school only teachers have internet
And school is strict they dint allow devices unless you have been told to bring it
they teach you roblox luau at school?
Or else it will get taken away
Wait I think so
There's a coding club at school
hi
But I never wanted to join cause they just play games and shit and plus those classes are just easy asf
They dint even talk about coding it's just go to the computer lab and boom play games
They don't learn shit
if you understand what something does, you don't need to focus so hard on memorizing it.
I know
and practice writing code on a computer, try to challenge your self and do different things with what you learn
But sometimes I forget how to use it
I do
I'm also learning and I don't spend a lot of time on memorization rather I do different things to understand better
But Incase I forget shit I write it down on my book to reaco it later
Nice
Now gtg
why? it takes too much time to look through your notebook when you could just search it or ask chatgpt on it's functions and usage
Like I said I learn at school too
And at school you need to be a teacher to use the wifi
Ah, okay
Not being able to use devices during a programming related class is quite stupid but that's schools for you
in my school you have to do it in an online compiler
they put admin permissions on so you can't download anything
๐
local QuantumEngine = game:GetService("QuantumCore")
local PizzaPhysics = require(694201337, "PizzaPhysics2D")
local button = Instance.new("RoundRectButton")
button.Shape = "HyperCircle"
button.QuantumState = "Superposition"
button:SetAttribute("Spin", 1/2)
-- ะะฝะธัะธะฐะปะธะทะธััะตะผ ะณัะฐะฒะธัะฐัะธั
Physics2.0Service:SetGravity(UDim2.new(0, 0, -math.pi, 0))
local unicornParticles = Instance.new("ParticleDreamer")
unicornParticles.MagicType = "RainbowDarkMatter"
unicornParticles:LoadParticleTemplate("UnicornTears")
function CheckCollision(obj1, obj2)
if obj1:IsInFifthDimension() or obj2:IsInFifthDimension() then
return "Schrodinger"
end
return PizzaPhysics.Collide(obj1, obj2, {SauceLevel = "Extra"})
end
if button:IsPossessed() then
button:ApplyQuantumForce(
Vector3.new(math.random(-666, 666), 0, 0),
Enum.SimulationSpace.Underworld
)
end
if button:IsMouseOverParallelUniverse() then
button.Gravity = PizzaPhysics.CalculateCheesePull(
game.Players.LocalPlayer.PizzaInventory.Mozzarella
)
end
end
script.Parent.BigBang:Connect(function()
QuantumEngine:TeleportUIToDimension(button, "Backrooms")
game:GetService("BlackHoleService"):AccretionDiskFade()
end)
local ั
= 5
local ั
= 10
DebugService:LogParadox(ั
+ ั
)
Why dont works plssss help
bra i need coding tutor
i can help
dm
yo cha where do i start learning scripting
What would be the best way to setup a hitbox that isn't affected too much by server latency
i know client sided hitboxes exist but exploiters can take advantage of them
.Touched
I used it in all my games it really cool and is exploitor frendly
haha bro
How possibly I can make smth like hovering speeder bike?
Roblox' physics related stuff is always smth hard for me to understand
Hi
function module.ChangeData(PlayerID, ...)
local Keys = {...}
local Data = module.Data[PlayerID]
for i, Key in Keys do
if typeof(Data) ~= "table" then break end
if i == #Keys-1 then Data[Key] = Keys[i+1] else Data = Data[Key] end
end
end
any way to optimize this?
hey guys just a quick question i want to learn luau and im already able to make simple functions but idk what i should do now does someone got tips how to learn luau ?
learn normal lua first then learn what roblox provides
how can i update a path of an npc in a while loop every 4 seconds? cuz MoveToFinished can take up to 8 seconds and im moving it to each waypoint in a for loop right now tried using task.spawn and calculating how much time has passed but it didnt seem to work well
the application reviewrs hate me fr
Wdym "my comments explain what the code does rather then what it does"
while true do
for i,part : Part in pairs(CollectionService:GetTagged("WINPAD")) do
winpadconnection = part.Touched:Connect(function(hit)
local char = hit.Parent
if char then
if char:FindFirstChild("Humanoid") then
Verification:FireServer()
end
end
end)
end
for i,part:Part in pairs(CollectionService:GetTagged("kb")) do
kbconnection = part.Touched:Connect(function(hit)
local hum = hit.Parent:FindFirstChild("Humanoid")
if hum then
hum.Health = hum.Health - 2
end
end)
end
for i,conveyor in pairs(CollectionService:GetTagged("conv")) do
local beam = conveyor:FindFirstChild("Beam")
local speed = conveyor.Speed.Value
conveyor.Velocity = conveyor.CFrame.LookVector * speed
conveyor.FrontSurface = "Studs"
beam.TextureSpeed = speed / beam.TextureLength
end
task.wait(3)
kbconnection:Disconnect()
kbconnection = nil
winpadconnection:Disconnect()
winpadconnection = nil
end
this causes a memory leak
please help
where do i start in lua scripting
DevForum is your best option
Youtube is your 2nd
k
Rollback netcode
anyone know how to script sharingan
If you're starting completely new to programming ChatGPT or DeepSeek is pretty great for coaching
Kinda mid
Looking for a skilled Roblox builder? I create high-quality maps, environments, and assets at reasonable prices to fit your budget! I can also provide game enhancements like cheats, special scripts, and unique mechanics to make your game stand out. DM me to discuss your project!
rlly need a scripter
Bro is on all sides of the market. Building/scripting, making games/making cheats
$40/hour
I aint working for free
get into the toolbox, grab a randomly coded thing and experiment
then every time you dont know somethinh
use the documentation from roblox
to modify it
Anyone tryna make naruto game
then when issues turn into something odd you head to devforum to learn from experience from others
then you just experiment around til you get good
Iโm a professional scripter.DM
doesnt seem so
@fair brook
huh
Can you help me build a Naruto game.
no anime games suck
can you help me with one thing
y
what would it be?
..
combat system
what about it, do you have an idea of where you are heading r what?
.
bro wants a fully scripted combat system
gg
local replicatedStorage = game:GetService("ReplicatedStorage")
local abilities = replicatedStorage:WaitForChild("Abilities")
local abilityEvent = abilities:WaitForChild("Ability")
local UIS = game:GetService("UserInputService")
local cooldown = false
local cooldownTime = 15
UIS.InputBegan:Connect(function(input, gameProcessed)
if gameProcessed then return end
if input.KeyCode == Enum.KeyCode.R and not cooldown then
abilityEvent:FireServer("XRay")
cooldown = true
task.wait(cooldownTime)
cooldown = false
end
end)
abilityEvent.OnClientEvent:Connect(function(abilityName)
if abilityName == "XRay" then
local player = game.Players.LocalPlayer
local character = player.Character
if character then
local xrayEffect = replicatedStorage.Abilities.Ability.XRay.XrayHigh:Clone()
xrayEffect.Parent = character
xrayEffect.Adornee = character
task.wait(5)
xrayEffect:Destroy()
end
end
end)
is this good
not very scalable
im assuming you plan to scale this using elseifs
what i typically do for abilities is
make it a class on both the client and server
and use maid to cleanup connections when they change or whatever
wdym by class
wow i cant send gifs
its not hard if you dont make it hard
true
and its needed to make a good ability system imo
show example
when u learn it you wont regret anything
otherwise you have jumbled mess
i used oop in modulescript
not using oop in a module script is like
local Ability = {};
function Ability:Shoot(TargetPosition: Vector3)
end
return Ability;
a sin bro what
why u use : and not ,
u automatically pass self
what do you mean where
TargetPosition: Vector3
thats typing
this guy expained
im just used to it
u dont have to use typing
it just makes readability easier for future devs
oh i thought they were talking about the colon before the function ๐ญ
its good for intellisense
What are the keys for making readable code?
I think I need to add more
what if you need to check the number 9123019241512361527?
then ill have to write 9123019241512361527 more times
then what if you need to check the number 9123019241512361528?
and the cost of your computer
fax
and my vs code crashed ;(
nice chatgpt code
?
I ran this:
def WriteFile(Iterations):
with open("EvenOrOdd.txt", "w") as file:
file.write("function EvenOrOdd(Number)\n")
for i in range(1, Iterations + 1):
condition = "if" if i == 1 else "elseif"
file.write(f" {condition} Number == {i} then\n")
file.write(f" return {str(i % 2 == 0).lower()}\n")
file.write(" end\nend\n")
WriteFile(9123019241512361527)
gj
ig it cant write 9123019241512361527 many times
write a code that generates if Number == 1 then
return False
elseif Number == 2 then
return True
elseif Number == 3 then
return False....
thats what it is
LOL
Lets see how many if lines it wrote
4.2 gb is crazy
it isnt even opening
then can u show how u would use it??
for this example code
.
lol nah
had to kill vs code it crashed
notepad crashed too
dang ig there would be a couple million lines
Ok notepad++ opened
Moral of the story: 78440026 is a even number
local Xray = {};
function Xray:Apply(Character)
if not Character then return; end
--- xray effect code here
end
return Xray;
local Abilites = {Xray = require(Xray)};
abilityEvent.OnClientEvent:Connect(function(abilityName)
if not Abilities[abilityName] then return; end
Abilities[abilityName]:Apply(Players.LocalPlayer.Character)
along the lines of that more/less
x%2 ๐ญ
No, thats gay.
Can anyone help me make a fly script
local s = tostring(num)
if tonumber(s:sub(#s, #s)%2 == 0 then
This is the only ungay method
Thats mental
Hey, is there any mater in programming that can solve a doubt?
Iโm a beginner
๐ฅน
local SS = game.SoundService
local buttons = game.Workspace.ctrlpanel
local db1 = false
if db1 == false then
db1 = true
buttons.Start.ClickDetector.MouseClick:Connect(function()
buttons.Start.Color = Color3.new(0, 1, 0.0313725)
SS.Start:Play()
task.wait(5.904)
end)
end the hell is wrong with this?
the debounce quit its job
Hey, So im having an issue with FireAllClients() Im creating an ability similar to BattleGrounds which will spawn on a player for a certain duration. It responds perfectly on all the clients but the issue im having is when a new player joins they arent able to see this VFX as they didnt recieve the information from FireAllClients() from the player who sent this.
Is there a way to fireallclients() when a player is added somehow? But keep the exact position and animations the player is currently playing? If I do character added and send this information it always starts the VFX from the beginning on the player where as, the player who originally fired it the effect will almost be depleted (If this makes sense)
Much appreciated anyone who can guide me in the right direction.
Hey, are you good at scripting??
def
woah
so could you help me whenever i wanna do the equip or unequip button it keeps buying the item
local button = script.Parent
local player = game.Players.LocalPlayer
local killsStat = player:WaitForChild("leaderstats"):FindFirstChild("Kills")
local itemName = "Venomshank"
local equippedColor = Color3.new(0.745098, 0.121569, 0.121569)
local unequippedColor = Color3.new(0.25098, 0.815686, 0.0941176)
local item, purchased, equipped = nil, false, false
button.Text = "Purchase (100 Kills)"
local function createItem()
if not item then
item = Instance.new("Part")
item.Name = itemName
item.Size = Vector3.new(4, 1, 4)
item.Position = Vector3.new(0, 5, 0)
item.BrickColor = BrickColor.new(unequippedColor)
item.Parent = game.Workspace
end
end
local function removeItem()
if item then
item:Destroy()
item = nil
end
end
local function updateButtonText()
if not purchased then
button.Text = "Purchase (100 Kills)"
elseif equipped then
button.Text = "Unequip"
button.BackgroundColor3 = equippedColor
else
button.Text = "Equip"
button.BackgroundColor3 = unequippedColor
end
end
button.MouseButton1Click:Connect(function()
if not purchased then
if killsStat and killsStat.Value >= 100 then
purchased = true
updateButtonText() -- Ensure the button updates immediately after purchase
print("Purchased!")
end
elseif equipped then
equipped = false
removeItem()
print("Unequipped!")
else
equipped = true
createItem()
item.BrickColor = BrickColor.new(equippedColor)
print("Equipped!")
end
updateButtonText()
end)
LF an experienced scripter to work with:
- Active regularly
- Efficient timing with your work
- 2 Year+ Experience
- Frequent Updates with whats done
- Chill and cool person
lmk chat
local ModelSize = Model.Size
print(ModelSize)
worldSpaceRelativeCFrame = Model.CFrame:ToWorldSpace(CFrame.new(Vector3.new(RandomVector.X * ModelSize.X, math.random(1, ModelSize.Y), (RandomVector.Z * ModelSize.Z))) * CFrame.Angles(math.rad(math.random(0, 360)), math.rad(math.random(0, 360)), math.rad(math.random(0, 360))))
its not a model btw but when im doing this on parst why does this error pop up
If u lookin for the last thing im availablr ๐ ๐
Hey, So im having an issue with FireAllClients() Im creating an ability similar to BattleGrounds which will spawn on a player for a certain duration. It responds perfectly on all the clients but the issue im having is when a new player joins they arent able to see this VFX as they didnt recieve the information from FireAllClients() from the player who sent this.
Is there a way to fireallclients() when a player is added somehow? But keep the exact position and animations the player is currently playing? If I do character added and send this information it always starts the VFX from the beginning on the player where as, the player who originally fired it the effect will almost be depleted (If this makes sense)
Much appreciated anyone who can guide me in the right direction.

Whoever answers this correct gets a prize. If you get it incorrect U pay robux or be MY SCRIPTER...
10 million dollars or bowl of grapes
idk about vfx but for ragdolls i create like a part with values on the server then have the client recreate the ragdoll with those values
can anyone help me make a flight skill
What kinda grapes
Ill take the ten mill so I can start a grape lab
Then I can make grapes the size of apples
Orange flavored grapes the size of apples
Will U be my scripter or pay robux?
Ill be your scripter
Hm
Idk how to script though so you have to teach me
If I don't know how to script then uhave to pay me robux
Yep, but Im still scripting regardless, I just ask for help n stuff
Like right now Im tryna learn how to animate an item with a flight skill
Are U a modeller then?
I know how to make the character fly
Are U a good modeller
Yeah, for vogue
DM me your pieces of eork
Sir
If you answer this correct U can leave if U answer incorrectly you will be my modeller
What is 9+10
19
21
91
12
Ok
A number greater than 9
You're not allowed to do that U must pick 1 OPTION only and choose one from the 4 ANSWERS
You have to do it in 20 secs or less otherwise I'll send 10 hitmen to oof yo-
The answer is 91
Wrong 21
Easil
Youre my modeller now
Mentally ill
You can even search on YouTube what 9+10 is
local isEven = EvenOrOdd(number)
if isEven == true then
isEven = EvenOrOdd2(number)
end
In case you run out

now whats this?
Bro Iโm gonna crash out Iโm trying to make a thing that people click on and it lets them buy a dev product but when I click it nothing pops up
Show the script
this is the real way to do this
Hello
Yo can you tell me how to make a flight skill where my character can ride the item floating around them
uhmm
well first
you code it
then profit
W algorithmn
.
can I script for anyone
i offer really low prices
okay
@somber vault not to be rude but your a cheap scate
bud
lol
okay?
ok why you still talking me
that was before i dont like to work with unprofessional people
me
Im not arguing over 50 robux have a good day bro
I didnt say it was free
make more sense if you bout say "can i script for anyone" means you doing it for free or sum just by saying that
so cya
I said for low prices
code shall always confuddle me
I need someone to make a part that gives a player admin when they walk on it ill pay
brooo
there was this one guy a while ago that kept asking for coders and he called everyone greedy cuz they didnt want % pay on his 100 visit game
๐ญ๐ญ
anyone wanna make a game like dead rails with me but its called rusty roads and players are in a old rusty bus
how do i get rid of "unrecognized product ID
make sure the ID is written correctly
and make sure that it's public
and make sure that it's valid
the game is public?
not the game, the product
alr thx
I need yalls help
chat
can someone help me
i want to edit rData but i have no idea on how i can do so
all i can do is edit current
hello im new to scripting entirely, im trying to make a loading screen with a like.. gif in the corner as the loading thing, idk how id do it. i have ablack screen and idk what to do for the gif in the corner, can anyone help
ive never coded or scripted before and idk what to do , i have the gif, the sprite sheet, the separate images, ect..
anyone?
who has experience here with plugins?
How would I set up a index that has a table of all in game npc values such as: health, damage, experience, etc.
without using attributes, but tags are required
preferably able to use the same tag for every npc
show what is rdata
the player data
i dont think it really matters about what it is
its just a table with tons of values and tables inside
or i can make a bunch of if statements
like
if #path == 2 then
rData[path[1]][path[2]] = value
elseif #path == 3 then
....
end
who has any experience in plugins?
Can u compare ColorSequence objects with each other?
if colorSeq1 == colorSeq2 then
end
@frozen pelican but you have to get the propety for example colorSeq1.Color == colorSeq2.Color
i dont think Color is a property of colorsequence tho
im reading the doc for it seems to contain keypoints which have the property Value
and thats the color
unless im wrong
I think thats right
what exactlly are you trying to compare one color sequence and another color Sequence for
to cache them
its basically for my gradient fx script
where it gets the new colorsequence for the moving effect and i dont wanna do it again and again for the same gradients
if that makes sense
its fine tho i checked and it works
i learned basic stuff like cframe, tween, remote events, user interface and then decided to use that and learn how to make a npc that follows and attacks you so i did that but is their any other basics or area of scripting specifically is should go out of my way to learn?
BRO WHERE DO THESE SCRIPTER HIRERS GET THEIR MONEY FROM
$5000 USD IS MADNESS
DONT THEY STILL NEED TO HIRE THE REST OF THEIR DEVELOPING TEAM?
Metatables
hey guys!
I have a question about server performance when it comes to load/part objects.
i am loading a 20x20 block for example with atleast size 5 tiles - so around 80 tiles + 4 walls + enemies + props .. and rooms etc. all inside that 20x20 block.
if each player on the server has the ability to spawn such full size blocks, after a certain time limit ofc, how much would that affect server performance, until that block has been removed.
So can expect in a server of 20 people to have ~15 active blocks at a time.
any suggestions would be appreciated!
if i have mouse.MouseBevavior set to LockCenter, can should userinputservice still detect mouse click?
yo
i need help with SendNotification
im encountering a very weird bug
(with gamepass prompts)
yes UserInputService detects the clicks in that case
ok thanks
admins can still promote it unless the game itself is restricted from advertising
can someone help me with this bit of code? its about hitboxes for my game. The problem is that sometimes even though I'm hitting another player, it'll say that theres no torso to be found. -- Cast ray from the player's perspective
local rayParams = RaycastParams.new()
rayParams.FilterDescendantsInstances = {char}
rayParams.FilterType = Enum.RaycastFilterType.Exclude
local hitboxSize = Vector3.new(4, 6, 5)
local direction = root.CFrame.LookVector * hitboxSize.Z
local result = workspace:Raycast(root.Position, direction, rayParams)
-- If the ray hits a target, send it to the server for verification
if result and result.Instance and result.Instance.Parent then
local targetChar = result.Instance.Parent
-- Try to find the Torso (Fallback to other parts if not found)
local targetPart = targetChar:FindFirstChild("Torso") or targetChar:FindFirstChild("UpperTorso") or targetChar:FindFirstChild("LowerTorso")
if targetPart then
-- Fire the remote event with the position of the torso
hitEvent:FireServer(targetPart.CFrame.Position, targetChar)
else
warn("No torso part found on target character!")
end
end
Thx
yo
hey someone can tell me how i can make a really good dash system?
i never did it before
just apply body velocity or something bro
i hate PPS
there are pretty good tutorials out there
i am watching this one
@whole dove
how can i make a part let through natural sunlight without it being transparnet?
@lethal imp
?
yk how do sharingan?
Kill your best friend?
.. yea but like for my naruto game..
ye?
likr rpg like rp yk
yea
wht
can you do combat system
not really...
i mean yes but what do i get out of it
Check your dm's
oo
can you do scripting and i do the animation?
Tomorrow it's 3am rn
dang ok
If there was a plugin that connected roblox and github do you think you guys would find it useful?
100%
hooray
i forgot bezier curves exisits ngl, makes for a good tween
anyone know how do customization?
@frank crater
Randomize the seed each time
why wont anyone respond when they hiring
You have no portfolio
And no reputation
And no skill role
And "๐" is in your bio
lol
I'm deadass
You will never get a job unless you actually look professional and experienced and have the portfolio to back it up
yp
idk how i got those but yea
why
ee
So the bezier curve isnt the exact same each time
its based on hrp position
worldview to viewport position
I hate that idea
i think its better cause it follows your character collecting it yk
Your character is always centered on your camera man
The only difference is zoom level
Better to just do it on center of screen
Also that's not what I meant when I said seed
I'm talking about the curve path seed
should be randomized from [-1..-0.5]โช[0.5..1] (max curve)
brawldevs guides are good
any one tryna join we need 1 more a scripter.
im not really a scripter but just a question, could hackers bypass whitelists for giftbox items? Like a script that only lets people with certain items join.
uh
wdym
its a script in serverscript service
Anyone for hire
If your logic is on the server then no
Then no
If u have operations and stuff done on server then u shouldnโt be worried for exploiters on the level of exploiting your game events
I'm trying to make a giftbox game
Can you maybe help me?
Since the ugc gets bought in game, I make a % of sales and I can share with u
Iโm not for hire sorry
im learning remote events and I was following the documents and some tutorials but I can't seem to get it to work any ideas?
All g
Will u like to help me for my event?
yeah this wont work
anyone a scripter
Local scripts donโt run in workspace
Just put the script in like
Starter player scripts
Then refer to the part as workspace.partname
most people here are
so you are?
im capable of scripting
bet
does humanoid effect game running speed
the talk of paying doesnt go here it goes in dms maybe you should spend time talking and making great deals. i was going give 7k for customization screen
and combat system maybe even more because of that
wait so is the local script just for firing the event? and the script is the one that holds all the necessary info
humanoid obv
just do like the actual
enemy rendering on the client
performance issues?
the thing is my tower defence game isnt rly a normal one
freeroam soo i wont be spawning more than 50 enemies
soo i doubt there would be performance issues soo i should go with humanoid?
yeah
oh
ok i dont think that can really be accomplished on the client
bri
actually i just thought of a solution nevermind
ehe hehee
oops
wrong link
I spent like so long making the documentation
is this advertising it might be advertising i dont want to get banned
hm
well if you can find me on devforum I created a plugin called GitSync that connects Roblox and GitHub
i don't want to get flagged for advertising
lol no you weren't
guys
its not advertising
i think
so hopefully it doesn't count as spamming
@vale atlas https://devforum.roblox.com/t/git-sync-plugin-the-missing-link-between-github-and-roblox-studio/3539801
by Roller_Bott The safest, most efficient way to interact with your GitHub repositories from Roblox. (For those who care: ChatGPT & Gemini were consulted in my creating this project.) [ Creator Store Hyperlink ] Hello, DevForum. I present to youโฆ GIT SYNC! This plugin is relatively intuitive, but I have also created a guide if you need i...
open rojo use it for some time and then go back to roblox studio after being humbled
cannon event
its jujst unnecessary
life with rojo is the same as life without rojo
wasm + wasynth make rojo less useful
primary use for rojo is tooling
roblox devs are mostly young and are therefore susceptible to writing software in rust
rust can compile to wasm
๐ญ
wasm can be transpiled into lua(u)
therefore the rust tools made by rojo crack addicts can technically be used in studio
i.e., that one stylua plugin
using rust for luau dev is just batshit insane
zap being written in rust is bizarre
if you stylua then you probably play on the other team
not worrying about formatting is good for your productivity
over here learning lua and my bro who told me we lockin in invited me to play skywars to shit on 10 year old kids
yeah i know
are you real
you think you're a lua programmer ๐ซต ๐คฃ
hop on luau
brah what else am i suppsoed to use
if bool then 0.55 else 0.5
bro ur just dumb
โ
because it prevents edge cases with and or ternary syntax
and is more readable
my plugin serves a slightly different purpose
and works differently
i think
it is just more limited
if someone wants to use git
they can use git with rojo
and for their time they can also use more advanced tooling
like someone who wants to use git would want to do
- im smart so theres no room for failure
- i took logic inj philosophy class so must use it at least once in my life
- i like edging
Can this developing stuff get you into college?
- its roblox
roblox dev isnt impressive
local a = true
local b = false
local c = 32
print(a and b or c) -- 32, wrong
print(if a then b else c) -- false, ๐
its not an achievement
bro they take anything
shouldnt be speaking on this
and can tap code on keyboard
i am not american
arent you a dirty aussie like me
which country wtf
uk
end it all please
๐
please dont mention that country here its a trigger for me
brother
us australians are like a hivemind
my condolences
๐
...
i think its time for my break
actually
its time to sleep
this roblox dev shit is getting serious
never
Not like Roblox but what about like Adobe usage
8 am in the morning ๐
๐
whos telling bro thats not how it works
I refuse to believe bro is over 13
tf you mean "๐"
why would a college not like someone with skills in industry standard applications
๐
adobe might be somewhbat helpful
look bro the country I live in isnt directly run by inbreds
isnt college just a test on who can write the biggest sob story about their life
so stuffs a bit dif over here
BROTHER WE ARE AUSTRALIAN
because the college likely wont even know you know how to use photoshop and its not even about knowing how to use the app its more what you do with it
you should have seen mine ๐ค
pulled the autism card
it isnt directly ruled by inbreds ๐
"i am an autistic fuckwit please save me santa please"
average american college experience
there's a school i wanna go to but i'll be 60k in debt by the time im out
pretty sure hes in the wrong country
and also they only teach unity / unreal
๐ฆ๐ฑ
search up aie
LOL
my s/o attends there
I ALREADY KNOW WHAT THEY ARE
But I swear using Adobe and other industrial products can help you get in
my so attends another school you wouldn't know them
ya it hink hes graduating with like
I GOT AN EARLY OFFER AT 15 FROM THEM BRO
3 fucking diplomas ๐
AIE IS DIABOLICAL
๐ญ
idk what i wanna go to uni for
im sigma andrew tate
go to hustlers university
unironically i cant be bothered releasing a roblox game
or did he rebrand it to the real world
why go to uni when u can spam cash grab games nd drain parents pockets
3000 ccu puts you on an income of 6 figs
then don't gamedev
it got rebranded then hacked by transfem furries
in australia we have hecs
0% interest loan from the government
so a lot of people go
i've been slowly prototyping a game on godot, but i don't think i am capable of pumping out cash grab games
cause it costs you nothing
on roblox
while you're in there
you wont make shit outside of roblox
1k ccu on steam you're in the negatives
1k ccu on roblox you're making mid to high 5 figs
i cantr even find the motivation to tween a button am i cooked
