#code-discussion
1 messages Β· Page 246 of 1
CAN SOMEONE PLEASE
i do feel like you would get alot more satisfaction making it urself everytime
har?
but i could spend 2 hours and make this work
IM PRETTY SURE NOTHING IS WRONG
but that wasnt what i was testing
WHY IS DICITONARY NOT CASTING
oh.
yeas the oh that will tell me theres actually smth wrong
hold on
i held
opus 4.5 keeps crashing
lemme check how i do my tweens
game.Players.PlayerAdded:Connect(function(player)
local leaderStats = Instance.new("Folder")
leaderStats.Name = "leaderstats"
leaderStats.Parent = player
local coins = Instance.new("IntValue")
coins.Name = "Seconds"
coins.Value = 0
coins.Parent = leaderStats
while true do
task.wait(1)
coins.Value = coins.Value + 1
end
end)
``` i dont like coding, ts too hard
then quit already
NO
then stop complaining
oh hey its visous bee
damn
i bet you my last 2 steam dollars that i will find the issue before u find your tweens
oh
how do i fix this?
i got it ["Value you wanna change"] = actualvalue
if NewHealth == 0 then
if not Character:FindFirstChild("Dead_"..LimbSelected) then
local RealLimb = Character[LimbSelected]:: BasePart
if RealLimb:FindFirstChild("Mesh") then
RealLimb.Mesh:Destroy()
end
local Replacement = ReplicatedStorage.Game.Assets.Gore.Skeleton[LimbSelected]:Clone():: BasePart
Replacement.CanCollide = false
Replacement.Anchored = false
Replacement.Parent = Character
Replacement.CFrame = RealLimb.CFrame
RealLimb.Name = "Dead_"..RealLimb.Name
RealLimb.Transparency = 1
for _, Accecory in Character:GetChildren() do
if Accecory:IsA("Accessory") then
if Accecory.AccessoryType == Enum.AccessoryType.Hat and LimbSelected == "Head" then
Accecory:Destroy()
end
end
end
for _, obj in RealLimb:GetChildren() do
if not RealLimb:FindFirstChild(obj.Name) then
obj.Parent = Replacement
else
obj:Destroy()
end
end
local Torso = Character.Torso:: BasePart
for _, Motor6d in Character:GetDescendants() do
if Motor6d:IsA("Motor6D") then
if Motor6d.Part1 == RealLimb then
Motor6d.Part1 = Replacement
end
end
end
end
end
on the third argument of the tween
what's a tween
ive had a similar issue
how'd ya fix it?
alright thanks
oh so you told me to remove the WHOLE TING, when i was only supposed to remove one of the =
way simpler then what i thought lol
yeh
local tween = TweenService:Create(What, tweenInfo, {[WhatData] = value})
btw one more question
wsp
because the humanoid need the head, is "require Neck" enabled
the player prob lost network owner
this is a very dumbed down answer
oh yea
i TOLD U it was ==
a;r thanks
id recommend not using the dead humanoid state
and just making custom logic
wdym?
workspace β
local workspace = workspace β
erm.
What
game.workspace is too slow
there have been multiple times i tried to do this
like typing google chrome in google chrome
wait MF @graceful sierra THATS THE FUCKIN SAME AS BEFORE BUT THE FIRST HALF IS NOW NOT IN THE LOCAL AND INSTEAD MANULLY WRITTEN. IT TURNS OUT MY STUDIO WASNT UPDATING AT ALL
Localize gloabl variables!!
now i just died π
imagine if i was rich af
hmmmmmm
never
should i turn it off
ye
so for ragdolls it needs to be off
lol
i figured as much
i change all the motor6ds when replacing torso
makes sense
didnt know that instantly killed ya
roblox at its finest
and you blame ME?
eww
WDYM WHAT DATA
i think so
then that is the first half that im talking about
BRO
STOP DELETINING
GIMME DAT
I DONT CARE BRO MY WHOLE SCRIPT LOOKS BAD ANYWAYS
whats for _,
i solved it on the client
what it do what it mean
?
all it is is bacially saying which item the object is in a list
so i use _, for stuff idc abt
which :getDecendants or :GetChild produces
yea
if you have a table
tablename = {
["NameOfItem"] = 14
}
i would mean "NameOfItem"
or whatever you put there
ohooohooh you mean goes through all its kids
not
useless stuff = use for _,
pretty much
i use i because you deal with i in math and it means the same thing
uhhh do you do anything on the client saying "hey this guy perished"
[type]?? whats that it not work for mes
fuck easing styles i just want the time atp
bascially "out", or "Linear"
this is part of a module script
ill expand the screenshot hold on
wdym?
that doesnt happen on death
it happens on individual limb death
each limb has its own health
huh.
if its active, then it will do that
oh god this scares me
so bascially you NEVER really wanna replace the root joint, the humanoid should stay universal most of the time
brackets
brackets? brackets maybe holdon
yeh
put the whatever value u wanna change
no its
and what it equal
ive used a module ive made for so long ive forgotten
the rootjoing isnt replaced?
OH OH
just the part1 of it is
i
i dont have a scope of your code
oki
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
ok, are you SURE none of the replacement parts have constraints on them
because your problem is caused by constraints just NOT working
it does NOT work.
yes
mf you literally cant =
OH
π
OH O HO HO HO OH
there he goes.
== is a check
yeh
OH
the problem is i use it everywhere and it doesnt give me errror so i go
idk what a check means
hold on, so on your code you are changing the motor6d of the rootjoint aswell
like if 1 == 2 then do whatever
when creating the weld for the torso part
disable the rootpart
that is two constraints
so i cant use color 3 in tweens??
uhhh
do whatever you wants
lmfao
k so i should disable the motor6d before welding?
@graceful sierra >:(
do i re enable at any point
your syntax is gonna kill me dude.
:Connect()
does the character respawn after their
no.
what?
once is completely viable
but once is also wrong in this use case
it just disables the connection after its used
im guessing he wants the buttons to glow after every hover?
id assume so, but hes making the tween every time
I SENT THAT MESSAGE AT 5:32 AM GMT +3, I ALEADY FIGURED IT OUT.
atleast
he could just use :wait()
i think?
no
true, but that halts the current thread
Too many brackets
idk if he wants to do that
WE KNOW
π₯
no i figured it out
ur tip didnt work π’
im the best scripter
WHAT DID YOU DO BRO
stupid ass torso
does the rootjoint just go, Nah id ball
lemme check
1 single part of the body
roblox lwk pmo
so i never disabled the rootjoint
LOOKING FOR A PARTNER TO MAKE ANY GAME/ WORK ON ANY GAME WITH, I DON'T CARE ABOUT SKILL LEVEL
ok
but i did create a weld on the server
hmmm
i created the weld first, enabled it first, then disabled the rootjoint
how would i make a fishing system detect if the fishing rod's bobber enters the water? should i use the original water or should i use a part?
like when casting a rod?
or like when it goes below a certian point?
raycasts
ykw fair cause if it was the latter you would already know
although i have no idea if raycasts work on roblox water
id assume they do
true
that hovers just above water
that the raycase can detect
but thats pretty beefy.
consider fisch for instance
i think raycast can detect roblox water, ive just never tested it
it can
but i dont know if it is thatreliable
raycasts are super reliable
so i mean it must be
yea when i cast a rod, i made the bobber move to the water area and i was wondering how i would detect if the bobber is inside the water instantly like in fisch
then yea raycasts
its not always accurate
wdym?
like my fellow sirs have said
not with water
then likely something has .qeary that shouldnt
i mean the water
ah
i think i read something about this
because when the part is inside the water, its spinning really fast when messes up the direction the raycast will shoot
vector3.new (0,1,0)
you can make the direction always down
no need for a upvector
Iβm making antiexploits atm and ran into a super annoying issue with raycasting. It completely refuses to pick up any sort of water and mistakes me for βflyingβ in my testing place while swimming in water. IgnoreWater is disabled (by default). I canβt send my entire code here but these are the parameters and the actual raycast itself: l...
yup, just use an invisible block
not exactly.
apparently theres a method to understand terrain
which water is
?
"technically"
never heard of it
neither have i
invisible block sounds easier though
i just saw it, with what daniel showed
eh....
varing heights.
and other variables
ty!
yeh ;-;
what are some fun things i could script and also learn from
ill try that, its something new
what's ur programming level you'd say?
intermediate
i think at least π
yeah go for it then
thank u twin
np g
what's the problem? i didnt read
basicaly
when i replace the player's head
the movement becomes really delayed
ragdolls become weird
etc
check the :GetNetworkOwner
it should always be the player
SHOULD
sometimes it may not be
i did that
what did it return
hm...
are u destroying the head?
how odd.
HOORAY
i was right
it was the fact that the head wasnt the primary part
that fixed it
HE DID IT CHAT
niiiiiice
what game is this?
oo
also cus theres no gore sims on roblox π‘
gee i WONDER WHY
and there was one a while back
neighborhood wars?
ion remember ;p
i am tryna find some models
for the halfway point
until i find those
ill prolly just need to stick with what i got
ikr
raycats are the solution to most problems related to math
si.
also is this good structuring?
idk what that is
id say its ok
its just a technique to load modules so if one doesnt load it doesn't crash the game
so kinda like pcalls?
show me the client and servr side
looks fine
unrelated
damn
Yea server and client sided is a bit messy
ik
was just stuffin scriupts in there
ill prolly organize it when im done
have you ever tried mvc?
i mean it works
personally i'd rather modulize everything
have services and shit
()()()(()(()
?
hi
π₯
math
should i use raycasts in all directions?
rn i only check downwards
and adjust rotation for slopes
how would i do raycasts in all directions
can i see ur script?
alright
ill send the raycast apart
local function CheckFloor(Character: Model,Ball: BasePart)
local params = RaycastParams.new()
params.FilterType = Enum.RaycastFilterType.Exclude
params.FilterDescendantsInstances = {Character, workspace.obstacles}
local Origin = Ball.Position
local Direction = Vector3.new(0,-1,0)
local Raycast = workspace:Raycast(Origin,Direction,params)
if Raycast then
if Raycast.Instance.Name ~= "BloodPuddle" then
return Raycast
else
return false
end
else
return false
end
end
local function BloodEvent(Origin,Character)
local New_Ball = BloodBall:Clone()
New_Ball.Parent = workspace
New_Ball.Position = Origin.Position
local Bv = Instance.new("BodyVelocity", New_Ball)
Bv.Name = "BloodVelocity"
Bv.MaxForce = Vector3.new(100000,100000,100000)
Bv.Velocity = Vector3.new(math.random(-50,50),math.random(-20,20),math.random(-50,50))
local Con
local function Physics(NewPuddle: BasePart,TargetPos,Orientation)
NewPuddle.Parent = workspace
NewPuddle.Position = TargetPos
NewPuddle.Orientation = Orientation
local RandomSize = math.random(Settings.BloodSplatterSize.R1,Settings.BloodSplatterSize.R2)
local Ntween = TweenService:Create(NewPuddle,TweenInfo.new(0.4),{Size = Vector3.new(RandomSize,0.1,RandomSize)})
Ntween:Play()
Ntween.Completed:Wait()
task.wait(math.random(Settings.DecayTime/2,Settings.DecayTime))
local Nt2 = TweenService:Create(NewPuddle,TweenInfo.new(1.5,Enum.EasingStyle.Quart),{Size = Vector3.new(0,0,0)})
Nt2:Play()
Nt2.Completed:Wait()
NewPuddle:Destroy()
end
task.spawn(function()
Con = RunService.Heartbeat:Connect(function()
local Floor = CheckFloor(Character,New_Ball)
if Floor then
local NewPuddle = BloodPuddle:Clone()
New_Ball:Destroy()
local FloorInstance = Floor.Instance:: BasePart
local Rotation = FloorInstance.Rotation
task.spawn(function()
Physics(NewPuddle,Floor.Position,Rotation)
end)
Con:Disconnect()
end
end)
end)
game.Debris:AddItem(Bv,0.2)
end
wouldn't you use a raycast to get the normal?
what?
i've never done that
wait
i have an idea
can i do this?
i take the random direction
turn it into a unit
and make a raycast in that direction
?
also just make the y vector always look down
maybe i can try up
if i want for cieling
ceiling*
for gun scripts that shoot where the mouse is, how do they get the forward direction?
ive been stuck on this for so long π its the last thing i need
wdym
im struggling on trying to explain it but i want the orientation of the bullet to face where the mouse is
when i shoot it, it just goes sideways
hm
i dont reccomend using physical objects for bullets
you can just change the lookat to be the end point
i was gonna do that but MousePos is a vector3
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local mouse = player:GetMouse()
local char = player.CharacterAdded:Wait()
local HRP = char:WaitForChild("HumanoidRootPart")
local rockets = game.Workspace:WaitForChild("rocket")
local RunService = game:GetService("RunService")
local Camera = game.Workspace.CurrentCamera
input.InputBegan:Connect(function(hit)
if hit.KeyCode == Enum.KeyCode.E then
local rocket = rockets:Clone()
local rocketPos = HRP.Position
local MousePos = mouse.Hit.Position
rocket.CFrame = CFrame.new(rocketPos, MousePos)
RunService.Heartbeat:Connect(function()
print("placeholder")
end)
end
end)```
What is heartbeat(old roblox user not new)
Step in rendering
I forgor da order tho
Thanks ππ½
Change your CFrame.new to CFrame.lookAt. Same parameters
task.spawn(function()
Con = RunService.Heartbeat:Connect(function()
local Floor = CheckFloor(Character,New_Ball)
if Floor then
local NewPuddle = BloodPuddle:Clone()
New_Ball:Destroy()
local FloorInstance = Floor.Instance:: BasePart
local Normal = Floor.Position + Floor.Normal
local Pos = Floor.Position
local NewFrame = CFrame.new(Pos,Normal)
task.spawn(function()
Physics(NewPuddle,NewFrame)
end)
Con:Disconnect()
end
end)
end)
local function CheckFloor(Character: Model,Ball: BasePart)
local params = RaycastParams.new()
params.FilterType = Enum.RaycastFilterType.Exclude
params.FilterDescendantsInstances = {Character, workspace.obstacles}
local Origin = Ball.Position
local Direction = Vector3.new(0,-1,0)
local Raycast = workspace:Raycast(Origin,Direction,params)
if Raycast then
if Raycast.Instance.Name ~= "BloodPuddle" then
return Raycast
else
return false
end
else
return false
end
end
do yall think people should be able to understand and utilize type casting to get luau scripter role
yes i know the criteria i just want your opinion on levels
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local mouse = player:GetMouse()
local char = player.CharacterAdded:Wait()
local HRP = char:WaitForChild("HumanoidRootPart")
local rockets = game.Workspace:WaitForChild("rocket")
local RunService = game:GetService("RunService")
local Camera = game.Workspace.CurrentCamera
input.InputBegan:Connect(function(hit)
if hit.KeyCode == Enum.KeyCode.E then
local rocket = rockets:Clone()
local rocketPos = HRP.Position
local MousePos = mouse.Hit.Position
rocket.CFrame = CFrame.lookAt(rocketPos, MousePos)
rocket.Parent = game.Workspace
RunService.Heartbeat:Connect(function()
rocket.CFrame = rocket.CFrame * CFrame.new(0,0,-1)
end)
end
end)``` it didnt work unfortunatly π
also apologies for the late reply i had to take a small break
whats this
im just trying to spawn a rocket out of the player, but i cant get the orientation of the rocket to be correct
its going sideways
but it works now right
probably just rotate the model by 90 degrees or so
by the way i would like you to add a print inside the heartbeat cause i want you to experience something that im not sure if you know or not
it prints a bunch of times, i was aware but is that not okay?
ive only been programming for about 4 days
Do someone has experience with roblox Ads , is the new one or old one better for cost per play
oh that wont be fine
because you have created a runservice.heartbeat when you press e, it will print something every frame, it is going to lag very much if you print alot every frame
but focus on the other things first you can fix this later
uhhh maybe rotate it 90 deggree i think idk
Does anyone have a good artical/document on a combat system Logic like whats needed in a combat system and How i could string The functionalitys together
use cframe big dawg
and set it to be facing the normal of the face of the part that u raycast
wait
Dont use RunService for moving rockets
use BodyVelocity instead
dont use bodyvelocity either its deprecated
oh yeah i forgot
linearvelo or just a basic vectorforce
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local player = Players.LocalPlayer
local mouse = player:GetMouse()
local char = player.Character or player.CharacterAdded:Wait()
local HRP = char:WaitForChild("HumanoidRootPart")
local rocketTemplate = workspace:WaitForChild("rocket")
UserInputService.InputBegan:Connect(function(input, gameProcessed)
if gameProcessed then return end
if input.KeyCode == Enum.KeyCode.E then
local rocket = rocketTemplate:Clone()
rocket.CFrame = CFrame.lookAt(HRP.Position, mouse.Hit.Position)
rocket.Parent = workspace
local connection
connection = RunService.Heartbeat:Connect(function()
if not rocket.Parent then
connection:Disconnect()
return
end
rocket.CFrame = rocket.CFrame * CFrame.new(0, 0, -1)
end)
end
end)```
script waited for character that already existed so it froze
@echo belfry so i fixed it
tyty I canβt open studio rn and check it but I appreciate it
hi
compensate for frame dT
otherwise it'll move at 240 stud/s at 240 FPS and 60 at 60 FPS
chat what is build service
I have a glitch where if a player is taller than 100m they fall through the baseplate and continuously die...how to fix
there is no such thing as meters in roblox studio btw
there is?
why does bro want to be tuff
u can convert studs into meters
Really?
ye
built in?
no
Exactly
gotta calculate it urself
EXACTLY
that doesnt mean it doesnt exist
no
Gugamnoturms is 100 studs
Now ill be saying I create 10 gugamnoturms by 10 ugamnoturms map
just because americans use feet doesnt mean meters dont exist
look in workspace properties and check if changing fallenpartsdestroyheight fixes it
2 nerds just arguing with each other instead of helping the guy π‘
all 3 of them are length measurements
Correct gagurmqntorn is too
But since you work in roblox studio use its measuerements
shut up bro
Thats like using feet in math class in Eu
no since it doesnt exist
i just checked u made that up
π
are u dense
But since I named it and gave it proportions it exists
dont even bother with this guy
no u didnt gave it proportions
1 gugamnoturms is 100 studs
yeah but like how can anyone be so dumb
he wants to be right
u should just assume he's talking about studs and help the guy
but u dont know how so u just try to look cool
Sure bud
tuff
did you try spawning your character slightly higher?
what's the best things that make the battleground game looks beautiful
if anyone has creative idea tell me ill add it 
Me
nice what is it
Anyone got a portolio example up [for coding]
check #scripter-hirable i think there are sum
Thank uu
im working on a weight system like gag fruit but when weight get bigger then player equip its look kinda weird. How to put it in player's hand when it bigger than player
is it a tool?
whats the point of modulescripts
yea
did you check tool grip editor?
organization, preventing code duplication, sharing variables and functions between multiple scripts/modules, etc
anyone knows why is the pathfinding lagging ( moves, stops, moves stops, ) when its close to the player?
prob because it hits the point then recalculate before start moving again
Known and common problem Try using simple path. Or, if youβre using heartbeat, use stepped instead. Supposed to be better. And make sure ownership is on the server
Damn I think this might fix the issue
because of networkownership
make sure its all calculated on clientside
the networkowner should calculate the pathfinding
hey if i make around deepwoken size i'm doing scripting, vfx, managing game, finding ideas, paying comissions (building) and the other do modelling mid poly for most and 1 or 2 high poly, and some mid quality animation
i'm the first case i take 70% and he 30% is it fair or should i make more or less?
stuttering
Network Ownership
thanks @abstract flame @tired remnant @supple spindle and @stiff saddle
no problem friend
any of yall willing to help me fix it for rbx payment?
whatβs wrong?
mainly its not me who scritped it
np
and its bugging and my scritper doesnt got enough experience in this field
dm
oh i see
did you try any pathfind module?
im not a scritper lol
oh fr u just said mb
ye lol
u willing to take a look?
iβm not on my pc rn but yeah sure
he trying to bag the code huzz
hey so why this sometimes work and sometimes it wont render the hair etc or wont render clothes or anything
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local player = Players.LocalPlayer
local viewport = script.Parent
viewport:ClearAllChildren()
local cam = Instance.new("Camera")
cam.Parent = viewport
viewport.CurrentCamera = cam
local clonedChar
local cloned = false
local function tryClone()
if cloned then return end
local char = player.Character
if not char then return end
char.Archivable = true
local ok, clone = pcall(function()
return char:Clone()
end)
if not ok or not clone then return end
clonedChar = clone
clonedChar.Name = "ViewportCharacter"
clonedChar.Parent = viewport
cloned = true
local humanoid = clonedChar:FindFirstChildOfClass("Humanoid")
if humanoid then
local desc = Players:GetHumanoidDescriptionFromUserIdAsync(player.UserId)
humanoid:ApplyDescription(desc)
end
task.wait(0.2)
for _, part in ipairs(clonedChar:GetDescendants()) do
if part:IsA("BasePart") then
part.Anchored = true
end
end
end
RunService.RenderStepped:Connect(function()
if not cloned then
tryClone()
return
end
local hrp = clonedChar:FindFirstChild("HumanoidRootPart")
if not hrp then return end
cam.CFrame = CFrame.new(
hrp.Position + (hrp.CFrame.LookVector * 7.5) + Vector3.new(0, 2, 0),
hrp.Position + Vector3.new(0, 2, 0)
)
end)
maybe racing condition with the apply description
consider parenting after applying the description
and maybe test it by using task.wait with some good amount to check if youβre waiting enough
local RunService = game:GetService("RunService")
local player = Players.LocalPlayer
local viewport = script.Parent
viewport:ClearAllChildren()
local cam = Instance.new("Camera")
cam.Parent = viewport
viewport.CurrentCamera = cam
local rig
local created = false
local function createRig()
if created then return end
local ok, model = pcall(function()
return Players:CreateHumanoidModelFromUserId(player.UserId)
end)
if not ok or not model then return end
rig = model
rig.Name = "ViewportCharacter"
rig.Parent = viewport
created = true
for _, v in ipairs(rig:GetDescendants()) do
if v:IsA("BasePart") then
v.Anchored = true
end
end
end
RunService.RenderStepped:Connect(function()
if not created then
createRig()
return
end
local hrp = rig:FindFirstChild("HumanoidRootPart")
if not hrp then return end
cam.CFrame = CFrame.new(
hrp.Position + (hrp.CFrame.LookVector * 7.5) + Vector3.new(0, 2, 0),
hrp.Position + Vector3.new(0, 2, 0)
)
end)```
Go ahead
Yo
anyone know if facecontrols can be accessed yet? or if theyre still blocking developers from accessing it? i saw in dev forum in november they still were but i cant find anything else anywhere
same issue
ur script automatically stops when its in range im guessing
and the player is constantly moving in and out of range
what i do to have constant movement is not to have a hard limit on the stop range
but have a stop range and a must stop range
so now there is a buffer zone between stop range and jmustsotprange where the npc just matches the walkspeed of the player
how long does it take to get all the stats of like retetion aver playtime player conversion rate
U can just its moreso to read from iirc
hello world("print")
illegal to do in the uk btw π
where do i find investors
Does anyone knows how does the JJK Shenanigans hitbox (for m1) works??
whats the difference between task.wait() and wait()
is scripting easy once u learn it
Yes
One of them you aren't supposed to use
i cant sit down and watch vidoes on how to
Well watch standing then
wwwwwwwww
guys any suggestion on what I can make with polynomial or linear regression, I would like smth game dev related
i want code huzz aswell ng
make an npc with a slow travelling projectile weapon predict player movement based on xyz(t) or xy(t) ("screen space" for the npc)
Try making a dev project using polynomial or linear regression like predicting player scores enemy behavior or procedural level difficulty
What command would delete a PDF file named ComLineAssignment?
bruh someone help plzz
anyone can help me out?
i have a fall damage script
local btw
for some reason it just stops functioning
after the player dies
my script
so what u wanna do is make it function after the player dies
arenβt u disconnecting ur thing that checks for the falling?
its parented under character
the local script calling the module
do you get any errors?
what are basic lua globals
?
yea idk too
iβd make some checks in the code to make sure that youβre not trying to access characterβs instances of a dead character
and maybe making a cleanup function
alr
a cleanup function? what should it do
in this instance there is only a connection and a function
like
local function cleanup()
isActive = false
LastRag = false
Elapsed = 0
DoneBleeding = true
RagdollEvent:FireServer(false)
end
local con2 = Character.Humanoid.Died:Connect(cleanup)
and for referencing the character and setting up connections you can maybe use .CharacterAdded
idk how to use all of them
-- LocalScript (StarterPlayerScripts)
local Players = game:GetService("Players")
local MarketplaceService = game:GetService("MarketplaceService")
local player = Players.LocalPlayer
-- π§ CHANGE THIS TO YOUR EVENT ID
local EVENT_ID = 1234567890
-- Delay time in seconds
local PROMPT_DELAY = 15
-- Safety check: ensure player exists
if not player then
return
end
task.delay(PROMPT_DELAY, function()
-- Extra safety checks
if player.Parent == nil then
return
end
-- Prompt Event Interest
pcall(function()
MarketplaceService:PromptEventInterest(player, EVENT_ID)
end)
end)
is this how it works
i generated using AI
the main idea is to prompt event for player after joining
"ai is replacing programmers" they said
no, that's not how it works: https://create.roblox.com/docs/reference/engine/classes/SocialService
I need some help. Its not normal for a pass called HD ADMIN to pop up in my game every so often is it? Does that mean there is a virus? What would be the best way of getting rid of it.
ai is a tool but even then its still shit
i tried this
it did NOT work
π’
fireServer β FireServer
also you have to make sure that youβre implementing it in the right way
yeah i donβt think thatβs normal friend
local SocialService = game:GetService("SocialService")
local EVENT_ID = "YOUR_EVENT_ID"
local followPrompt: ProximityPrompt = script.Parent.FollowProximityPrompt
local unFollowPrompt: ProximityPrompt = script.Parent.UnfollowProximityPrompt
local function updatePrompt(rsvpStatus: Enum.RsvpStatus)
if rsvpStatus == Enum.RsvpStatus.Going then
unFollowPrompt.Enabled = true
followPrompt.Enabled = false
else
unFollowPrompt.Enabled = false
followPrompt.Enabled = true
end
end
local success, currentRsvpStatus = pcall(function()
return SocialService:GetEventRsvpStatusAsync(EVENT_ID)
end)
if not success then
-- Could not retrieve RSVP status; don't enable either proximity prompt
warn("Failed to get RSVP status:", currentRsvpStatus)
return
end
print("CurrentRsvpStatus:", currentRsvpStatus)
updatePrompt(currentRsvpStatus)
unFollowPrompt.Triggered:Connect(function(player)
local rsvpStatus = SocialService:PromptRsvpToEventAsync(EVENT_ID)
updatePrompt(rsvpStatus)
end)
followPrompt.Triggered:Connect(function(player)
local rsvpStatus = SocialService:PromptRsvpToEventAsync(EVENT_ID)
updatePrompt(rsvpStatus)
end)
do ctrl + shift + f to check for promptgamepasspurchase in all of your codes
β
scam investigator installed a virus 
In game?
in roblox studio
(Its a commission)
stupid ahh ai
it keeps "correcting" me and doing things that dont make sense
perfect tysm
im lwk disabling cus atp its just annoying
Will it be called HD OWNDER or something like that
sometimes things use getfenv, press Ctrl+shift+f and loof for getfenv, since hackers obfuscate code
Oh joy okay
okay okay thank you
Turn off marketapi in game settings too, script will error when it can't use marketplace service
and will error in the script using it, could be hidden in coregui too
Just all the common stuff
maybe searching for loadstring too
like this?
put marketplace service inside ββ
donβt u sell any other products or gamepasses in your game?
how to get better at coding without learning
one time iβve seen a βvirusβ code and it was something likeβrβ βeβ βqβ βuβ βiβ βrβ βeβ
so try looking up βrβ lol

no this is what someone has built us
buying github copilot and asking it everything with claude sonnet 4.5 
So im just trying to find the virus

getfenv
claude opus 4.5 is better
antigravity (google ide) is giving it to you for free
alr time to drag my ass off to go and learn module scripts
PromptGamepassPurchase
yeah but atleast in copilot its cost is 3x
and sonnet is 1x
i mean its roblox your code is prolly not that long
never tested this one
lmk
disable third party sales or whatever itβs called. do u need it?
if u cant find it
i genuinely cant figure this bs out
Search for PromptPurchase using the Find All tool. Should be Ctrl Shift F I believe
hi
what's the most very very very hardestest thing in scripting
talking to people in real life
agree
who want to work in cyberpunk game theme
where do yall find trusted wally packages. the website dosent really help me
usually the op would post it
what
usually i would just use the wally package the original poster post on their github
I don't use that website
hm alright thanks
np
i've been stressing for so long, why is it when I create a surface gui with a button in, it works if the ui spawns in when the player spawns but if it spawns in after it stops working?! how do I fix this?!
what r u trying to fix
?
is the script in the surfacegui?
the script shudnt be inside the surface gui
are you creating the UI with the script?
you parent the surface gui in player gui and set adornee to the part
why
This is a common problem , your surface gui is probably inside a ScreenGui with the property ResetOnSpawn enabled so disable it
yo
LOOKING FOR A SCRIPTING FRIEND, IT DOESN'T MATTER WHAT GAME WE MAKE/WORK ON, I AM A BEGGINER BUT I CAN ANIMATE, CODE, AND SOMEWHAT MAKE MAPS
makes ur code more complicated cuz when u make a script ur basically making its own thread more threads/starting point of code the more starting points u have the more complex ur code going to be also ur making more instances by cloning scripts which can also cause more lag
yoo who can do scripting stuff like dealerships, car customziation, and alot of stuff to do with vehicles but not scripting a whole chassis
Iβm sure you could ask in #scripter-hiring or check #scripter-hirable like a normal person
trying to make it faster for me
π€·ββοΈ
pretty sure in this scenario the difference would be negligible
by using the wrong channel?
ur question is looking for people to code stuff for u so u want someone to work for u so u need to hire someone π
reread?
ain know way
it can cause lag when u delete a script idk why that happens but ur still overcomplicating ur code
just search for "require" bro
its always a require
can also buy the pass to see where it is from
Back door π

he prob has hundreds of those
Finding a needle in a haystack
free model
hundreds of require ? thats crazy
you donating π
Standing there afk wow
very addicting
and wasting electricity
Why would I stand there AFK?

K
how can i highlight a specific body part in viewport displaying the character of local player
wdym highlight
soo im tryna display a body part injury with a red glowing effect and i assume its prob done with highlights?, i tried it and it works in workspace tho wont show up in viewport
and no i cant just change the color of the body, cuz that wont work with having clothes etc
view port frames are limited
ohh so any other approach i can use?
Glad you recognise my kindnessπ
If itβs really kindness
Whereβs my Robux
I ainβt see a single donation
π
π π
vegeta
Whos down to be in a 3 devs 1 game vid?
Hey Iβm looking for someone to work on a simple new cash grab u get 35% if u work good Iβll take care of all the other domains I animate and build and draw Ui
nice how about u give 3.5m robux for a game instead
need a tester anyone down? 500 robux
anyone that has time and that can dm me im stuggling to make my game
hello im a scripter new to this server, just posted my application, its pending, but hi π
gaf
anyone maybe interested to work with me on my new game im solo dev and i would really appreciate the time and support. i think well make great work together. please feel free to dm me so i can open up about the game to you
ur clearly not old enough for discord
why that answer?
every 12 yr old child wants free work
yea true
but i kinda explained the situation and im sure some really fanatic developers are around here that love new experiences maybe hehe
its always fun to work with new people and new projects?
true!
but what if we eat from the fruits of it
im 100% willing to bet its not an original game idea
we build something from nothing
stop trying to get poetic
well it includes brainrots :3
bro lets be real
itll get nowhere buddy
why not make usage of whats populair now
u spelt popular wrong
they have funding
its not as simple as making a game
u have to advertise it
thats not free kid
maybe they are friends who build it free?
no buddy
how do you know
not everyone does something for money i think
they do
every developer there is getting paid
otherwise they would sue
for asset infringement
what if he created the came with me
or wtvtf its called i forget
then he would also bet paid
i mean we both eat
i wont leave the scripter with nothing
if thats what nyour saying
sad
this server is where people work professionally
how old r u
i am
how do i import a plugin from file ?
do i need to use big number modules if players can have over quintillions of dollars? or is it only important to be ultra precise
Do you want to format the number?
yea
Like with commas, or like β 5.21QA?
is it possible to replicate irl servo motors inside roblox studio and calculate forward & inverse kinematics for them like it would be for a irl robotic arm?
I know it's possible but idk what it would be for the joints
what the actually fuck I wrote robotic arm here and it started appearing robotic arm videos in youtube
I mean yea
i'd say so
thats crazy
π
hi guys im a new dev still learning, was wondering how people use root motion, or like whether the moves in like jujutsu shenanigans (the flying kinds), were using root motion since if i used physics to make these moves it would mean i had to animate in place, which is very limiting? any advice? ive been stuck on root motion for 2 months cuz theres like no tutorial in yt
have u tried using chatgpt/ai
ai can get you far if you have persistence
can anyone help me with my script it doesnt work for some reason no errors nothing
dont listen to that goober
@mellow stream
i mean ive tried ai to understand it but yt tutorials usually help more if anyone got exp in battlegrounds game please advice me heh
I don't think root motion is possible
0 experience in battlegrounds but my semi-bg is going good so far I started it last week :p
I call it semi cuz you donβt just click on the character thereβs item spawns and randomness and eventually there will be evolution into different characters
youre following tutorials too right>
I usually watch a few and then go and do my own thing
Iβm already half decent so
When Iβm free tonight Iβll prob hire an animator and then change my m1 script from 4 β> 5
because 5 m1s are clearly better
thing is ive seen ONE video of a demo of root motion and i have a root motion module but its very wonky and doesnt work as i want it to
What do you guys think of my terrain generator
I've spent a few weeks working on it
I think its working pretty well
wow so cool
yeah its voxel based with extensive use of buffers and multithreading to make it run very fast
and the best part about it is just how well it works
looks very performant
ai is super useful
it helped me make a WeaponController module + handled edgecases. i got to understand the code + ai did the hard work for me
im using ai rn to make a TPS
Blocked
So you are right - the problem is its a two sided coin. When AI is used for education and given PHYSICALLY to people - it does wonders, BUT if you're a greedy corporation you will use it to manipulate and control people. Its a two sided coin right now flipped in favor for the greedy companies - so the outrage is justified. BUT if people shut down individuals who work with AI (out of passion and ethical consideration) they are DESTROYING the only weapon they have against greedy corporations AND UNETHICAL AI.
If you want to know more slide in my DMs, I recently saw a video about Elon Musk and Grok - its hillarious how sideways things went for him and uh, the world.
yea i mean if ur just a solo game dev chatGPT is super useful
its a simpler devforum or can just outright help you solve problems a lot faster
can i copy your initializer script
pls
^^
selling systems of games like gun system (with GUNS) , plot system , pet system etc. for cheap
DM me for offers
guys I'm new in module shit is there a way that i can put parameters inside functions
try claude
itβs even better
but expensive
message written by ai btw
anyone here use react lua?
me
wdym no
hes a scammer
hey somone have basic script to obby (+-100lvl) ??
What do you mean by this? Do you mean a script to setup an obby a script to make an obby or etc?
I'm new to programming but I'd like to make my own map and I'd need a script for it just some simplest (ready done obby) I asked AI but it doesn't work out well
you have sth?
cuz it wont u need to make map on ur own i assume, wat u can prob do is make obby parts and make simple script to maybe auto generate obby for inf length but im sure it will be pretty tedious
I don't but it's pretty simple to make, low-key forgot how to make a checkpoint system but for kill bricks put them all in a folder then get all the parts in that folder detect when any of them touched and if touched kill player who touched it
There's also YouTube tutorials for this
I recommend those and the dev forum