#code-discussion

1 messages · Page 8 of 1

still condor
#

10k rbx -15k rbz a day

#

Guaranteed

viscid willow
#

little footfetishist

#

Shut the fuck up

still condor
#

I'll dm u

inland bay
#

brother stop disturbing mods

#

just ignore me

#

💔

lilac cosmos
#

theres another problem

#

i want to script the no fucntion but

#

it keeps saying that

#

permit is not a valid member of backpack

#

idk why

eager wave
#

why do you not use variables and keep writing the same lines of code

lilac cosmos
#

oh nvm

#

its just how i script

#

i feel like its better

eager wave
#

dang

lilac cosmos
#

but its not working

#

can u help

#

yea the script isnt working

somber vault
lilac cosmos
#

its not in explorer

#

its in replicated storage

#

you need it to get to a different part of the game

topaz swan
#

can anyone help me with my code

lost wadi
#

i made this ascii shader on roblox but its super unoptimized does anyone have any ideas?

#

heres the code

#

woah not sure why it did that

#

man

fleet yacht
#

can someone tell me why people avoid Knit?

glossy swan
#
glossy swan
#

i made my own version of knit

#

Fabric

fleet yacht
# glossy swan Its old

I understand its old but after using it for some time I don't see anything wrong with it

glossy swan
#

idk how

#

probably task library messing up something

#

because it wouldnt emit vfx or play sounds when i used knit for my combat game

fleet yacht
#

I think they are mad Knit can break if one of the scripts' knitstart or knitinit function breaks

#

but by editing it I managed to avoid such errors

glossy swan
#

i have an idea of what to make

#

make custom --!strict mode

latent herald
#

Hiring dm me for info

zenith drift
rain crow
#

is there a way to only blur a certain part of the player's screen?

open yarrow
rain crow
open yarrow
#

I can get you an example if I can do it in the next 1 minute before my rivals game tarts

#

nevermind im an idiot

#

it looks like shit lmfao

strong valve
latent gust
sturdy turtle
#

im struggling to make the phone active on my screen so i can edit it

sage stirrup
sturdy turtle
#

nah i want it visible on my roblox studio

#

so i can edit the phone

sage stirrup
#

so u can see it lol

candid kestrel
#

AlignOrientation to make it face the player, and depending on specific checks, just do Humanoid:MoveTo()

sturdy turtle
#

yh

sage stirrup
#

ok so make sure that the property enabled is on for the phone gui

sturdy turtle
#

can i screenshare?

sage stirrup
#

and make sure that the property visible is on for the bg frame

#

im sorry but if you dont know how to change properties i think you should go back to studio basics before using free models lol

sturdy turtle
lavish python
#

the ScreenGui has to be enabled too

#

and then make sure that the frame is positioned properly

sage stirrup
sturdy turtle
carmine siren
#

Hello is it possible to send webhooks from a roblox game to discord? and is it possible to track a roblox group's activity such as changes in roles? Im also trying to change a players rank within a group in game when a particular event happens rather a person manually doing it

if someone who is familiar with these topics could guide me a little i'd appreciate it

latent gust
candid kestrel
#

well it checks what the player is doing, and bases its movements/actions off of that

next pecan
#

anyone know what best way to make upgrades is

stuck radish
#

its possible through a proxy

#

roblox -> proxy -> discord

carmine siren
upbeat nymph
#

should i learn java script or python first

rugged trail
#

Ask them AIs they smart

twilit parcel
#

Hello everyone, question pls. I want to make an inventory system that is usually found in farming simulators (with stackable/non stackable items, moving items from slots to slot, ect...) but dont know where to start. Could someone give me a rough sketch of how to make an inventory system?

lilac cosmos
#

yo i need help

twilit parcel
#

a player table?

lilac cosmos
#

i need help

twilit parcel
#

Oooo ill look into it, thanks for the suggestion!

lavish python
#

what should I make for my scripting application, low on ideas rn

latent gust
#

farting simulator

rugged trail
lilac cosmos
#

CAN SOMEONE HELP ME

random comet
#

for a mining game if i reset the mine which script should i use the system in like if block mined count is 100 then it resets the mine3

robust beacon
#
local Pathfindingservice = game:GetService("PathfindingService")
local rig2 = game.Workspace.rig2

local human = rig2:WaitForChild("Humanoid")
local torso = rig2:WaitForChild("Torso")

local path = Pathfindingservice:CreatePath()
path:ComputeAsync(torso.Position, game.Workspace.waypoint.Position)

human:MoveTo(game.Workspace.waypoint.Position)

how can i make it so when the human reached to waypoint its gonna print something
idk what i need to write in if statement

static coral
#

is it possible/is there a function to check how much memory a specific variable or data is using

karmic plank
#

Bro wants to check how much memory

rugged trail
static coral
#

im making memorys

plucky juniper
#

Can someone help me, I'm a programmer but I don't know how this server works

#

Is there a platform to write codes in Roblox, or do I do it on any platform?

static coral
#

you write code for roblox on roblox

#

or you can get rojo plugin to connect to server with visual studio and edit from there

plucky juniper
#

Got it, thanks

warped fern
#

Hey, I have a content creator sponsorship offer for your game!
Let me elaborate, I came across your game in the sponsored section of roblox and was impressed by its quality and potential. I work for a promotions manager which is in contact with great content creators to help drive growth and engagement.

I know 2 great content creators which could bring your game to success.

  1. Zeeplays - 140k followers on TikTok
  2. Neccolov - 1.2 million followers on TikTok and 300k followers on Instagram.

Sponsorships from these content creators are proven to be successful. As an example, zeeplays recently advertised a new game with 0 CCU and 100 visits which managed to reach 600 CCU and it reached over 450k visits after his sponsorship, all without additional advertising.

Would you like to find out the prices or put you in contact with the contacts guy?

regal reef
#

aye if im trynna make a combat like sbg shoujld i handle all my velocities and anims on client

latent gust
#

no

regal reef
#

why

latent gust
#

desyncs, exploits, etc

sharp trellis
#

how do i do a local function

latent gust
#

local function x()

neon surge
#

I just found out the roblox Luger gun gear does not have mobile support. How would I add mobile support?

neon surge
#
mouse.Button1Down:connect(function() script.Parent.Input:FireServer('Mouse1', true, mouse.Hit.p, mouse.Target) end)
mouse.Button1Up:connect(function() script.Parent.Input:FireServer('Mouse1', false, mouse.Hit.p) end)
#

these are what the current roblox gear use

neon surge
latent gust
#

Enum.UserInputType.Touch

#

make onTouchBegan and onTouchEnded

neon surge
#

eh

#

and for getting the position?

latent gust
#

input.Position

urban palm
#

Why is my gamepass not giving me the tool when I first buy the pass but it gives me it when I rejoin?
I've tried a lot of different things but at the moment I'm having the tool in the script

latent gust
#

UserOwnsGamePassAsync only works on rejoin

#

use PromptGamePassPurchaseFinished then re-check UserOwnsGamePassAsync

latent gust
#

PGPPF is an event not a function

urban palm
#

oh

latent gust
#
    if passId == GamepassID and wasPurchased then
        local player = Players:GetPlayerByUserId(playerId)
        if player then
            giveTool(player) -- Give tool immediately after purchase
        end
    end```
scenic cove
#

i wanna get better at scripting but dont know how

#

can anyone give me tips or help

#

like?

latent gust
#

just make stuff man

hasty crane
# scenic cove i wanna get better at scripting but dont know how

It’s about remembering what words do. Watch some tutorials and read over each line of code trying to figure out exactly what everything does. Eventually you can memorize stuff and use it. Another important thing is research. If you don’t know why something works or doesn’t you HAVE to learn.

#

It will take time but will come together eventually

toxic cave
smoky fjord
#

Does anyone have a best practice when it comes to creating and adding objects with a touch event attached to it? I want to create a simple currency pickup where the currency (simple basepart) can be spawned into the world, the player can pick it up by touching it and the part is destroyed or disabled.

Initially I read to just attach a script to the part and just paste it around but thats so ghetto and would make refactoring or changes such a pain. I was thinking to just tag the currency, use a collection service on the items existing and when added, just attach a Touched event to it from one script on the service script service. I am still new to roblox dev so I was hoping to hear some better approaches to this if anyone has one.

valid sentinel
#

Whats the best way to learn

#

Like tutorial (free)

bleak glade
#

you could try attributes over tags too if youre not a fan of collectionservice

bleak glade
smoky fjord
#

Okay sweet, I'll give that folder implementation a go, thank you!

bleak glade
lavish python
quartz scroll
#

Does anyone knows how i can make a countdown system that i can cancel if the player leave

somber vault
tepid mulch
jolly aurora
#

how do I make a dynamic stack system like this, if item is picked from middle of the stack, it reorganises it

patent mirage
jolly aurora
#

how is the plank thing gonna work

patent mirage
#

i hope that makes sense

jolly aurora
#

the inventory system

patent mirage
#

hm

jolly aurora
#

like player carrying

patent mirage
#

I'm also quite new at scripting, and the people here aren't very good

#

don't go to #code-help , it's an absolute clown show

tight dagger
patent mirage
#

you should probably DM a scripter who is online@jolly aurora

quartz scroll
#

idk how to make the countdown when the players enter bc idk how to cancel it when the player leaves

bleak glade
patent mirage
# jolly aurora like player carrying

maybe do a thing where when you do touch the plank, it will check for a plank in your inventory like this

   plr.BackBack:FindFirstChild("Plank").Parent=game.Workspace
   script.parent.parent = plr.BackPack```
quartz scroll
bleak glade
#

i made it months ago so its trash but it works

heavy bronze
#

Anyone know how i can make a swing animation like for example whenever i smack the cactus with the rock, the arm raises and hits it then goes back to the original position

bleak glade
#

this is the teleport manager

quartz scroll
#

yeah but how you cancel the countdown when the player leave

tight dagger
bleak glade
bleak glade
quartz scroll
#

Oof

quartz scroll
quartz scroll
bleak glade
quartz scroll
#

yeah

tight dagger
#

they're like a fake version

bleak glade
#

i havent really noticed tbh

#

is it because manual inheritance

jovial whale
jovial whale
#

oop wrong reply

jovial whale
spice summit
weak ravine
#

how do those "longest answer wins" games work? do they have a predetermined answer list?

hardy pilot
#

Yeah

#

They probably rip it off some website

teal bloom
#

guys give me sometyhing to script rq

#

very simple cus i just learned

hollow lance
#

does anyone know how to make a ball starter character is able to jump, roll kinda like a marble and have a kind of like whenever you move the camera the face moves too

spice summit
spice summit
hollow lance
#

yeah I already tried but it’s not what I’m looking for

#

I’m trying to make it easy to use because the ones that they have in toolbox are pretty bad and don’t have the jump, nor the type of roll I’m looking for

spice summit
hollow lance
#

do you know how to make it?

spice summit
#

probabably, but mine would be over complicated and shit. 4 years of this and ive never actually tried anything like that

hollow lance
#

hmm u don’t think u could try? If you want I can pay you like 300 Robux since I gotta pay other devs for the maps and stuff

spice summit
hollow lance
#

let’s me see rq

spice summit
#

just slap a decal face on it and lower the jump power

weak ravine
weak ravine
spice summit
fluid vale
#

how to make a script were multiple parts thats already set up for animation play a animation at once.

weak ravine
spice summit
copper apex
#

Made a module as the way to configurate things

weak ravine
spice summit
#

dude thats sick, you should also a lil dev symbol next to, well, devs

weak ravine
#

?

weak ravine
spice summit
weak ravine
#

how much it cost

spice summit
weak ravine
spice summit
molten plinth
#

Easier? Commissions
More? Probably games

smoky depot
#

problem im facing is the amount of coins not saving, literally nothing saves

surreal flower
#

When making a daily gift gui, should it be under serverscriptservice or no

smoky depot
#

HELP ME PLS

#

I NEED ASSISTANCE NOW!

proud idol
surreal flower
#

Thank you sir

proud idol
smoky depot
#

im still new idk what data store is, all i did was ask chatgpt for a coin saving script which i put in serverscript

smoky depot
#

OH IT WORKED

proud idol
#

anyway sending the code would prob be helpful isntead of just saying it doesnt work

smoky depot
#

it saved

forest violet
#
local Tween = game:GetService("TweenService")

local Platform = workspace.Platform

-- Settings --
local NormalSize = Vector3.new(0,1,0)
local GoalSize = Vector3.new(10, 100, 10)
local CoolDownTimer = 5
local isTweening = false

-- Tween --
local tweenInfo = TweenInfo.new(
    1,
    Enum.EasingStyle.Sine,
    Enum.EasingDirection.Out,
    0,
    false,
    0
)

-- Tweens --
local tween1 = Tween:Create(Platform, tweenInfo, {Size = GoalSize}) 
local tween2 = Tween:Create(Platform, tweenInfo, {Size = NormalSize})

-- UIS --
local function OnInputBegan(input, gameProcessed)
    if gameProcessed then return end
    
    if input.KeyCode == Enum.KeyCode.F and not isTweening then
        isTweening = true
        tween1:Play()
        
        task.delay(CoolDownTimer, function()
            isTweening = false
            tween2:Play()
        end)
    end
end

UIS.InputBegan:Connect(OnInputBegan)

why is this not working?

misty geyser
#

Because you did something wrong

hollow comet
#

it's supposed to set the rotation of z to -45 or 45 degrees but always sets it to -135 or 135 when trying to play the tween, why? im kinda confused

hollow comet
#

what?

urban dawn
slate marsh
stable verge
dry hamlet
#

i have 1 day of exp

#

time to make punch system

tawny hawk
#

How can i make it so that whenever the player dies / joins it doesn't let them spawn in until PlayButton is pressed then it will allow them spawn in. ?

copper apex
#

Can someone tell me why my imagelabel aren't showing during runtime? It's supposed to show up in the circle but its not, I have tried testing with other ID's it also doesnt show up with them

copper apex
fading onyx
latent gust
# tawny hawk How can i make it so that whenever the player dies / joins it doesn't let them s...
local Players = game:GetService("Players")

-- Disable Character Auto-Spawning
Players.CharacterAutoLoads = false

-- Function to spawn the player when Play is pressed
local function spawnPlayer(player)
    if player and player.Parent then
        player:LoadCharacter() -- Manually spawn the character
    end
end

-- Store players who are waiting to press Play
local waitingPlayers = {}

-- Prevent spawning when a player joins
Players.PlayerAdded:Connect(function(player)
    waitingPlayers[player] = true -- Mark player as waiting
    player.CharacterAdded:Connect(function()
        if waitingPlayers[player] then
            player.Character:Destroy() -- Prevent spawning
        end
    end)
end)

-- If the player dies, return them to the waiting state
Players.PlayerRemoving:Connect(function(player)
    waitingPlayers[player] = nil -- Cleanup when player leaves
end)

-- Remote Event to allow spawning
game.ReplicatedStorage:WaitForChild("AllowSpawnEvent").OnServerEvent:Connect(function(player)
    if waitingPlayers[player] then
        waitingPlayers[player] = nil -- Remove from waiting list
        spawnPlayer(player) -- Spawn the player
    end
end)
fading onyx
latent gust
#

yeah bro no one writes comments in code

#

totally

fading onyx
#

totally 100%

latent gust
#

totally 100% bro

fading onyx
#

word bro

latent gust
#

for sure bro

hazy roost
#

So many talented individuals here.

regal reef
#

my ragdolls interfering with my linearvelocity and making it weird how do i fix

latent gust
prime tartan
#

guys

#

got problem with /ban /unban systeme

#

local Players = game:GetService("Players")

-- List of banned players
local bannedPlayers = {}

-- Function to handle chat commands
local function onPlayerChatted(player, message)
local args = string.split(message, " ")
local command = args[1]
local targetName = args[2]

-- Find the target player
local targetPlayer = nil
for _, p in pairs(Players:GetPlayers()) do
    if p.Name:lower() == targetName:lower() then
        targetPlayer = p
        break
    end
end

-- Check if the command is from an admin (change this as needed)
local function isAdmin(plr)
    return plr.UserId == 123456789  -- Replace with your UserId
end

if not isAdmin(player) then return end

if command == "/ban" then
    if targetPlayer then
        bannedPlayers[targetPlayer.UserId] = true
        targetPlayer:Kick("You have been banned from the game!")
    end
elseif command == "/unban" then
    local userId = tonumber(targetName)
    if userId and bannedPlayers[userId] then
        bannedPlayers[userId] = nil
    end
elseif command == "/kick" then
    if targetPlayer then
        targetPlayer:Kick("You have been kicked from the game!")
    end
end

end

-- Connect the chat event to the function
Players.PlayerChatted:Connect(onPlayerChatted)

#

is this good ?

rustic torrent
#

if u got a problem prolly now

prime tartan
#

i made one but wasnt unbanning

rustic torrent
#

not*

prime tartan
rustic torrent
#

or

prime tartan
#

yes

rustic torrent
#

yep guessed it

prime tartan
#

rn

#

ofc

rustic torrent
#

these ais hella predictable

main root
#

could someone give me a random easyish task to do im trying to improving my coding skills im pretty new to it

prime tartan
rustic torrent
#

never heard of it before

rustic torrent
#

send me the output

prime tartan
rustic torrent
#

so i can see errors

prime tartan
distant hawk
#

if i were to play a combat cutscene between two people, do i export two different animations then copy the camera cframe from the person using it and just play it for the enemy aswell?

tawny hawk
#

can anyone help for 100 robux or 5% of my almost completed game. All i need is for you're help to fix a script i made basically it puts you on another team when playbutton is pressed and teleports to a spawnlocation but the issue is when i die i want it to make the UI show back up and put u back at a random location then when pressed puts u back on that team and tp to spawn location and its done.

bleak glade
#

won’t even turn on my computer for 100 robux

bleak glade
robust aspen
#

hello can someone explain me this whenever i create a gui, it will not let me click any part and when i restart the studio it will delete the gui I have roblox studio completely updated

summer aurora
#

my game is stable

tacit moss
#

should i try knit framework? thoughts on it?

woeful gate
#

this guys game has 500 players

#

sleepy

#

bye

somber vault
potent stone
#

Hey guys any suggestions on what I gonna do after watching youtube tutorial scripting?

livid sandal
#

Someone selling roblox groups with ugc, or buying, I have 2 to sell

glacial nacelle
elder thicket
#

Guys is Scripting easy?

#

To learn

glacial nacelle
#

Depends on your background in coding

elder thicket
#

0

#

Complete 0

glacial nacelle
#

then lua is a good language to start on

elder thicket
#

Ye

glacial nacelle
#

it'll still be hard since youre completely new but its one of the easier languages

elder thicket
#

But idk the basics too

#

Of lua Or any languages

#

Like completely new bou

#

Boi*

glacial nacelle
#

watch some basic tutorials on lua, copy them in a testing place, and change a few things around and test to see what changed

#

once you get a bit more comfortable you can start to read api documentation

elder thicket
glacial nacelle
elder thicket
#

Who is that now

#

Which is better UI designing or scripting?

glacial nacelle
#

it's technically called "application programming interface" but its just a webpage that tells you how to do different things on a more usable level

elder thicket
#

Oo

glacial nacelle
elder thicket
#

Is my ultimate goal

#

Overall

glacial nacelle
#

the ui market is flooded from what I've seen, so scripting would probably be your best bet. if it's just for money you'll probably burn out tho

elder thicket
#

Being famous, talented, rich, successful is yk my goal

elder thicket
#

Where to start

#

In scripting

#

But i am confused again

glacial nacelle
#

Learn the difference between the client and server, and how they interact with eachother

elder thicket
#

3d modeling or scripting

elder thicket
glacial nacelle
#

Do what you want to do

elder thicket
#

It's so difficult to decide

#

3d modeling is difficult too

gloomy kraken
prime tartan
#

ik this one is bad

#

since it ban only on server

#

sounds logic after all

potent stone
#

any suggestions on what to do next?

smoky fjord
#

like if you made a button that onClick make the player faster, try making another button that makes the player jump higher from the script

potent stone
#

ohh I see so basically just making small projects?

smoky fjord
#

exactly

potent stone
#

because I’m trying to gain more experience and practicing

smoky fjord
#

and once you feel comfortable enough with how roblox works from a top-down structue, you can start working on a bigger project

#

all projects are just a cluster of small problems you have to solve

#

When I felt like I had a clue of what was going on I just made small minigames. You'll see that as you go on you'll be looking up examples and documentation and learning a lot more. For example if you made a simple idle coin pick up game, youll have to make stats, use the datastore, make a UI that shows the player points, create a coin spawner system, handle touch events for the coins when the player interacts w them, etc.

#

Solving smaller problems is what gains you the most experience

balmy zenith
elder thicket
balmy zenith
#

roblox dev aint gon make you rich ong

#

well getting rich isnt easy anyway so 🤷

#

stop focusing so much on the goal ig, develop yourself first

dusk hare
#

Hmm if y'all made a wall run script (like Titanfall 2)
What way would you use to keep the player on the wall?

#

How do you use body forces or something
To keep player char floating?

idle gorge
#

with runservice

#

there are probably a gazillion better ways

gray frost
#

Yall think a npc system would get me the lua role

#

😫

dusk hare
broken talon
#

Hey i am having an issue with getting a players headshot in pyhton any know how?

distant hawk
#

if i were to play a combat cutscene between two people, do i export two different animations then copy the camera cframe from the person using it and just play it for the enemy aswell?

white tangle
#
forest violet
#
local TweenService = game:GetService("TweenService")

local Platform = workspace:WaitForChild("Platform")
local RockEffect = Platform:WaitForChild("Rocks")
local SoundEffect = script.Parent.RockDebris

-- Settings --
local NormalSize = Vector3.new(10, 0.1, 10)
local GoalSize = Vector3.new(10, 200, 10)

local NormalPosition = CFrame.new(3.606, -2.325, 15.531)
local GoalPosition = CFrame.new(3.606, -0.416, 15.531)

local CoolDownTime = 5
local isTweening = false

RockEffect.Transparency = 1
RockEffect.CanCollide = false

-- Tween Info Platform --
local tweenInfoUP = TweenInfo.new(
    2.3,
    Enum.EasingStyle.Linear,
    Enum.EasingDirection.Out)

local tweenInfoDOWN = TweenInfo.new(
    0.7,
    Enum.EasingStyle.Linear,
    Enum.EasingDirection.Out)

-- Tween Info RockEffect --
local tweenInfoRockEffectUP = TweenInfo.new(
    0.4,
    Enum.EasingStyle.Linear,
    Enum.EasingDirection.Out
)

local tweenInfoRockEffect = TweenInfo.new(
    0.4,
    Enum.EasingStyle.Linear,
    Enum.EasingDirection.Out
)

-- Create Tweens --
local tween1 = TweenService:Create(Platform, tweenInfoUP, {Size = GoalSize}) 
local tween2 = TweenService:Create(Platform, tweenInfoDOWN, {Size = NormalSize})

local tween3 = TweenService:Create(RockEffect, tweenInfoRockEffect, {CFrame = GoalPosition})
local tween4 = TweenService:Create(RockEffect, tweenInfoRockEffect, {CFrame = NormalPosition})



-- Detect Key Press --
local function OnInputBegan(input, gameProcessed)
    if gameProcessed or isTweening then return end
    if input.KeyCode == Enum.KeyCode.F then    
        Platform.CanCollide = true
        Platform.Transparency = 0
        RockEffect.CanCollide = true
        RockEffect.Transparency = 0
        
        SoundEffect:Play()
        isTweening = true
        tween1:Play()
        tween3:Play()
        tween1.Completed:Wait()
        
        task.wait(CoolDownTime)
        
        tween2:Play()
        tween4:Play()
        tween2.Completed:Wait()
        
        Platform.CanCollide = false
        Platform.Transparency = 1
        RockEffect.CanCollide = false
        RockEffect.Transparency = 1
        
        isTweening = false
    end
end

UIS.InputBegan:Connect(OnInputBegan)

Now for the rock effect it makes the orientation 0,0,0 but i wanna keep it as it normally is. How can I solve this problem?

kind beacon
#

Does anybody here use Basic Admin Essentials?

marble fossil
#

im a builder but my employer just told me this:

The scripter is currently working, but he said that he won't be able to script it because it can't have union and textures. Could you maybe replace those?

could someone help me plz 😭

inland bay
#

what sorta game isit

patent mirage
#

hi

#

how do I fix desync on a killer npc?

#

just a little tip, if you want help, don't ask anyone here. literally no one replies. It might seem like i'm being impatient, but that's because this is the 4th time that this has happened

patent mirage
hardy pilot
patent mirage
#

ik

hardy pilot
#

Yeah how is anyone meant to know

patent mirage
#

I'm just being a baby

slate marsh
# forest violet ``` local UIS = game:GetService("UserInputService") local TweenService = game:Ge...
     if gameProcessed or isTweening then return end
     if input.KeyCode == Enum.KeyCode.F then    
        Platform.CanCollide = true
        Platform.Transparency = 0
        RockEffect.CanCollide = true
        RockEffect.Transparency = 0
        
        SoundEffect:Play()
        isTweening = true
        tween1:Play()

        local currentRotation = RockEffect.CFrame - RockEffect.Position
        local goalCFrame = GoalPosition * currentRotation
        tween3 = TweenService:Create(RockEffect, tweenInfoRockEffect, {CFrame = goalCFrame})
        tween3:Play()

        tween1.Completed:Wait()
        
        task.wait(CoolDownTime)
        
        tween2:Play()

        local normalCFrame = NormalPosition * currentRotation
        tween4 = TweenService:Create(RockEffect, tweenInfoRockEffect, {CFrame = normalCFrame})
        tween4:Play()

        tween2.Completed:Wait()
        
        Platform.CanCollide = false
        Platform.Transparency = 1
        RockEffect.CanCollide = false
        RockEffect.Transparency = 1
      
        isTweening = false
    end
end```
tawdry elk
#

is this many remotes good..

winged niche
#

I have a script for spawning objects but the problem is the only objects can spawn is meshpart and i have a model and inside the model is 3 meshpart, if i add the model to the drop section the script will dont work bcs it cant modify the position, how can i make so i can use the model to spawn?

slate marsh
winged niche
slate marsh
#

gpt work like gods hand

spice fern
#

I CAN TALK IN DEV FORUM NOW FUCK YEAH

somber vault
#

I'm concerned whether i should be happy or scared

light thorn
#

Guys anyone help me please how to shiw the image of an accessory or wtv it’s called

light thorn
#

Show this

#

for exemple

#

because only thing i have rn is that :

winged niche
somber vault
#

it works perfectly

winged niche
#

No like after some time you cant talk with him anymore

#

You need to wait a time to use again gpt

light thorn
#

please guys

somber vault
light thorn
somber vault
#

I can like make him fix my scripts 4 times before the limit

proven violet
#

Did I add an extra "end"

#

Or something

flat phoenix
#

send script rq

#

@proven violet

proven violet
# flat phoenix <@846809669426872350>

game.Players.PlayerAdded:Connect(function(player)
    local leaderstats = Instance.new ("Folder")
    leaderstats.Name = "leaderstats"
    leaderstats.Parent = player
    
    local Gems = Instance.new("IntValue")
    Gems.Name = "Gems"
    Gems.Value = 0
    Gems.Parent = leaderstats
    for i, n in pairs(game.Workspace:GetChildren()) do
        if n.Name == "W" then
            n.Touched:Connect(function(part)
                Gems.Value += 10
                local hum = part.Parent:FindFirstChild("Humanoid")
                if hum then
                    n:Remove()
                    print("Coin has been claimed")
        end
        if n.Name == "Coin" then
            n.Touched:Connect(function(part)
                Gems.Value += 1
                local hum = part.Parent:FindFirstChild("Humanoid")
                if hum then
                    n:Remove()
                    print("Coin has been claimed")
                end
            end)
        end
    end)
end)
#

Gosh, just realised I sent in the wrong channel

proven violet
#

Removed it

#

And I get this now

rugged owl
rugged owl
flat phoenix
#

@proven violet

#

i fixed it

#

Add another end for the if statement in the for loops

#

i realised when i was debugging it didnt have a end for it and was sharing the same end for the function

keen zephyr
#

yo how can I get rid of that AI auto generated thing that keeps coming up whenever I write a line of code

thorn coral
keen zephyr
#

bruh

proven violet
flat phoenix
#

these arrows

#

when u click them it groups them to the end

#

so u can hide the inside of te script

#

the

#

anything that uses ends has a arrow on the line

#

drop down or wtv

fallow blaze
#
local camera = game.Workspace.CurrentCamera
local player = game.Players.LocalPlayer

local function setAspectRatio(ratio)
    if ratio == "16:9" then
        camera.FieldOfViews = 68 -- Default FOV
    elseif ratio == "4:3" then
        camera.FieldOfView = 120 -- Stretched 4:3
    elseif ratio == "5:4" then
        camera.FieldOfView = 115 -- Stretched 5:4
    elseif ratio == "16:10" then
        camera.FieldOfView = 105 -- Stretched 16:10
    end
    player:SetAttribute("AspectRatio", ratio) -- Save setting
end

-- Button connections
script.Parent.RatioSelectionFrame.DefaultButton.MouseButton1Click:Connect(function()
    setAspectRatio("16:9")
end)

script.Parent.RatioSelectionFrame.FourThreeButton.MouseButton1Click:Connect(function()
    setAspectRatio("4:3")
end)

script.Parent.RatioSelectionFrame.FiveFourButton.MouseButton1Click:Connect(function()
    setAspectRatio("5:4")
end)

script.Parent.RatioSelectionFrame.SixteenTenButton.MouseButton1Click:Connect(function()
    setAspectRatio("16:10")
end)

-- Apply saved setting when player spawns
player.CharacterAdded:Connect(function()
    local savedRatio = player:GetAttribute("AspectRatio") or "16:9"
    setAspectRatio(savedRatio)
end)

Is it possible to make this? Ive tried to use FOV but didnt work since its doing it longer instead of wider

proven violet
#

So do I add an end

#

Or remove one ?

flat phoenix
#

as i said

flat phoenix
#

theres no end

#

for u

#

i put it there

proven violet
flat phoenix
#

yes

proven violet
#

Like this ?

#

But then the end

#

of the script

flat phoenix
#

send script

proven violet
#

game.Players.PlayerAdded:Connect(function(player)
    local leaderstats = Instance.new ("Folder")
    leaderstats.Name = "leaderstats"
    leaderstats.Parent = player
    
    local Gems = Instance.new("IntValue")
    Gems.Name = "Gems"
    Gems.Value = 0
    Gems.Parent = leaderstats
    for i, n in pairs(game.Workspace:GetChildren()) do
        if n.Name == "W" then
            end
        end
            n.Touched:Connect(function(part)
                Gems.Value += 10
                local hum = part.Parent:FindFirstChild("Humanoid")
                if hum then
                    n:Remove()
                    print("Coin has been claimed")
                    
                end
        if n.Name == "Coin" then
            n.Touched:Connect(function(part)
                Gems.Value += 1
                local hum = part.Parent:FindFirstChild("Humanoid")
                if hum then
                    n:Remove()
                    print("Coin has been claimed")
                end
            end)
        end
    end) 
end)
#

ty for helping btw

pure furnace
flat phoenix
#

cause its not showing on my end

#

question what is n

proven violet
#

uh

#

n

#

Basically

#

I've got like 20 coins and they all use the same script

#

just copied it from a tutorial

flat phoenix
#

can u send me a copy link of ur game

#

im tryna see what exactly you're doing

proven violet
#

gotcha

#

btw

#

the script was working perfectly before i added uh

#
 for i, n in pairs(game.Workspace:GetChildren()) do
        if n.Name == "W" then
            end
        end
            n.Touched:Connect(function(part)
                Gems.Value += 10
                local hum = part.Parent:FindFirstChild("Humanoid")
                if hum then
                    n:Remove()
                    print("Coin has been claimed")
                    
                end
#

As soon as I added this

#

the script stopped working

proven violet
bright yarrow
#

Why does Bezier Curve keep returning to its starting position??

proven violet
flat phoenix
proven violet
#

oh mb

proven violet
flat phoenix
#

so i can edit it in my studios

#

uncopylinked

#

locked*

#

bro

proven violet
#

oh

flat phoenix
#

My bad

#

im tired

#

i was saying linked this whole time

proven violet
#

How do I make it uncopylocked ?

#

oh nvm

proven violet
#

Btw, "W" is basically legendary

flat phoenix
#

@proven violet can u join the vc or no

#

i wanna show u something

proven violet
#

uh

#

I can't talk

#

but yh

#

i can join

flat phoenix
#

ight

#

join private 2a

#

3b*

proven violet
#

OHH

#

yhh

#

break
?

#

yhh

#

green

proven violet
#

yh

#

it always happens

#

tysm bro

umbral geode
#

look up roblox camera distortion

proven violet
#

@flat phoenix

#

there's 4 coins in that one lmao

#

@flat phoenix 😭

proven violet
cyan spindle
#

my game is fully done and js needs 6 bugs fixed is there a good scripter that can fix them like today, dm me

devout gale
#

i have a pathfinding problem, npcs dont ignore cancollide off parts, cant turn off canquery since im using the parts for zones

devout gale
#

gonna behave the same the second player goes out of view

humble shard
#

so you want them to ignore the can collide off parts?

devout gale
#

yes

#

i set pathfindingmodifiers n everything

#

they ignore it when canquery is off, btu the zonemodule im using doesnt work with it off

#

i tried changing collisiongroups didnt work

glad arch
#

hhow to get the player's camera c frame?

remote perch
#

local tool = script.Parent
local Handle = tool.Handle
tool.Activated:Connect(function()
print("Activate works")
while true do

    Handle.Color = Color3.fromRGB(234, 122 , 200)
    Handle.Color = Color3.fromRGB(134, 022 , 50)
    Handle.Color = Color3.fromRGB(234, 122 , 200)
    task.wait(0.5)
    print("Loop working")
    if tool.Deactivated == true then
        break
    end
    

tool.Deactivated:Connect(function()
    
    while true do
    print("Deactivate works")
    Handle.Color = Color3.fromRGB(77, 255, 0)
    task.wait(0.5)
            if tool.Activated == true then
                break
            end
    
    end
end)
end

end)
For some reason the break doesnt work

#

Like when i click it shows the colors correctly but when i remove the click

#

the loop still goes for the first one

graceful cairn
#

can someone turn this script into a local one, cause if i put this into a local one it doesnt work

local part = script.Parent

local info = TweenInfo.new(1)

local goal = {
    Size = Vector3.new(0, 0, 0)
}

local goal2 = {
    Size = Vector3.new(4,1,4)
}

local disappear = tweenService:Create(part,info,goal)
local appear = tweenService:Create(part,info,goal2)

local touched = false

part.Touched:Connect(function(hit)
    task.wait(0.2)
    if touched == false then
        touched = true
        
        local hum = hit.Parent:FindFirstChild('Humanoid')
        if hum then
            disappear:Play()
        end
    end
    
    disappear.Completed:Wait()
    task.wait(0.5)

    appear:Play()
    appear.Completed:Connect(function()
        task.wait(0.5)
        touched = false
    end)
    
end) ```
bright venture
#

Who here can script?

#

It's like a mini game

#

Should take like 2 days

#

I don't know a good price

obsidian lintel
tall flame
# graceful cairn can someone turn this script into a local one, cause if i put this into a local ...
local part = workspace.yourpart

local info = TweenInfo.new(1)

local goal = {
    Size = Vector3.new(0, 0, 0)
}

local goal2 = {
    Size = Vector3.new(4,1,4)
}

local disappear = tweenService:Create(part,info,goal)
local appear = tweenService:Create(part,info,goal2)

local touched = false

part.Touched:Connect(function(hit)
    task.wait(0.2)
    if touched == false then
        touched = true

        local hum = hit.Parent:FindFirstChild('Humanoid')
        if hum then
            disappear:Play()
        end
    end

    disappear.Completed:Wait()
    task.wait(0.5)

    appear:Play()
    appear.Completed:Connect(function()
        task.wait(0.5)
        touched = false
    end)

end) ```
#

just do this??

tribal mango
#

Where can I practice lua coding

dry hamlet
#

on my low taper fade

#

were do you think

#

where

sturdy turtle
#

can someone help me link messaging to this phone

south roost
#

does anybody know how to stop a rig or any player from flinging when being ragdolled

lost ether
#

I need a scripter DM me

tacit moss
#

thoughts on knit ? anyone

smoky depot
#

i added spawns, and everytime i test the game out i die for some reason? is there a fix to this

gray frost
gray frost
south roost
#

i guiess it doessuck but i made it work eventually

gray frost
young rock
#

Any ideas about what to make for my scripting portfolio? (systems, games etc.)

pure tulip
#

Hello guys, I am a UI Designer and I want to learn lua can anyone tell me how they learned lua and what they did.

graceful cairn
tall flame
#

What did you do

#

Did you add a local script and put it on the client?

#

@graceful cairn

quaint meadow
#

how to make it working

pseudo ether
#

bro what IS THIS BAR

tall flame
tall flame
pseudo ether
teal bloom
#

i think that might be why its warning you that it is a global variable instead of local

tall flame
#

There is lol

#

It's just hidden i think

pseudo ether
#

no i fixed it

#

i had a beta feature on

#

new type solver thingy

hot nest
#

is it normal for Roblox to take around a minute for some of the physics to work properly? My vehicles will be buggy for around a minute after server start but after that they work fine

graceful cairn
#

i put the local script inside of the part

hot nest
#

im not sure if thats a issue with my code

tall flame
#

Not inside of the part lol

#

Inside of the client

royal lake
#

looking for a quick scripter that can make a collectible coin currency in an RNG game which can be also used for purchasing stuff, (the currency & purchasing is already made just need collectables now)

tall flame
#

Put it in starterplayer

#

@graceful cairn

graceful cairn
#

this will do it for every part in the game tho

tall flame
#

No

#

Local part = workspace.yourpart

graceful cairn
#

thats where i put the script

tall flame
#

You need a loop to acess all the parts in the game

#

?

graceful cairn
#

holdon

#

its like this rn

#

what do i do

tall flame
#

I said

#

Put the script in starterplayer

#

Locapscripts don't work in workspace

graceful cairn
#

then

tall flame
#

Then it should work

graceful cairn
#

doesnt work

tall flame
#

Any errors?

graceful cairn
#

i have to go rn ill check when im back

urban palm
#

why is my skip stage thing doing the EXACT same thing as my kill all thing?

hardy pilot
#

collectables is nice and all but god knows what they do

#

or how you collect them

royal lake
#

on the floor nd u interect with them

ancient halo
#

is thers a way to put this into a single variable?

controllers[plr.Name] = ProjectileService.new(data)
tall flame
urban palm
tall flame
#

That's not how purchases should be done

#

You don't need a remote for them

gleaming ore
lament dirge
#

The LUA hurts my eyes

urban palm
gleaming ore
lament dirge
lament dirge
gleaming ore
#

yeah

lament dirge
#

so its named

#

lua?

gleaming ore
#

yes

#

like the moon

lament dirge
#

aah

viscid breach
#

i might be called a fake developer but tbh deep seek and chatgpt genuinely CARRYY

tacit moss
vestal vine
#

any1 know a way to make a rolling world/cylindrical world effect in roblox studio? sort of like how animal crossing works

#

i know it’s fairly easy in unity, but doesn’t seem to be as easy in roblox unless i’m missing something

deep parcel
#

Guys I’m trying to learn scripting . Any tips? Or how you learnt it?

subtle adder
#

i just got a bug caused by physics formulas

#

how do i fix physics

soft trout
#

is coding good for comms

#

i feel like animation makes a lot more 😭

supple heart
#

Just use ChatGPT for scripting comms

latent gust
humble sequoia
#

Anyone here scripts combat systems? I wanna ask about smth

mighty sand
#

Hey guys I just got the studio and is trying to learn to code can someone link me to a free way to learn of something

humble sequoia
signal pewter
#

no it doesnt work for anyone

bold stream
#

are there any methods that i can optimize applying physics to thousands of parts? currently im just using AssemblyLinearVelocity to move the models, but it starts to lag at around 1000 being spawned

shrewd goblet
#

O nvm

#

would smth like this be skewed to postiive side (im copied part of the code) plr.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(-100, 100)+x, y, math.random(-100, 100)+z)

dry hamlet
#

anyone wanna work with me im a scripter and modeler.

hard mulch
#

lol this kid thought he could scam me but i put a while true statement in the game so now his game keeps crashing everytime he uses the code

#

now he unblocked me and is asking why his code is crashing

dry hamlet
#

lol

hard mulch
# dry hamlet lol

I created it as bool val and hid it in the workspace so now even chat gpt can't save bro🙏

dry hamlet
#

thats crazy

#

thats why its better to just learn scripting

#

it really isnt that hard

#

especially lua

#

unless your like under 10 lol

#

i mean i think your average 11 year old could learn lua

#

you jsut vibing

#

would you like to work together

#

@hard mulch

hard mulch
dry hamlet
#

@hard mulch what you working on?

hard mulch
dry hamlet
#

oh alr your animate?

hard mulch
#

I just like to code so I learnt a shit ton in a small amount of time

dry hamlet
#

what yk

plush meadow
#

Yo

fading onyx
#

bro actually thinks ts is gonna work 🙏

latent geyser
#

guys writing framework is hard?

hard mulch
open python
#

Failed to load animation with sanitized ID <error: missing assetid>: Animation failed to load, assetId** (i keep getting this error, the group own the animation there is nothing with the script, is it roblox?)**

fading onyx
dry hamlet
#

ok'

ember dagger
#

yo im making a horror game can someone help me with like a passive currency system

so you get for example 500 Bucks every 5 minutes
and then that can be used to purchase tools

#

im not a coder

#

so idrk how to do that

lilac gale
#

hey guys, what networking libraries are currently maintaned and reliable?

drowsy nimbus
#

how does data store 2 even work

stuck radish
#

datastore2 is severely outdated

#

use profilestore

drowsy nimbus
#

profile store??

stuck radish
#

yes

drowsy nimbus
#

don't know what that is

stuck radish
drowsy nimbus
#

telling me to google it is crazy 😭

tawdry goblet
#

who here can invest on our project

somber vault
#

can anyone help me with a script im struggling to debug?

#

please dm me

lofty plinth
#

make ur own PDS EVIL

signal pewter
#

its a overhead gui script

civic garnet
signal pewter
civic garnet
rain hound
#

can module scripts in replicatedstorage require module scripts in serverscriptservice?

frail peak
# ember dagger yo im making a horror game can someone help me with like a passive currency syst...

local CASH_AMOUNT = 500 -- Amount of cash given per cycle
local INTERVAL = 300 -- 300 seconds = 5 minutes

game.Players.PlayerAdded:Connect(function(player)
-- Create leaderstats if not already present
local leaderstats = player:FindFirstChild("leaderstats")
if not leaderstats then
leaderstats = Instance.new("Folder")
leaderstats.Name = "leaderstats"
leaderstats.Parent = player
end

-- Create "Cash" stat if not present
local cash = leaderstats:FindFirstChild("Cash")
if not cash then
    cash = Instance.new("IntValue")
    cash.Name = "Cash"
    cash.Value = 0  -- Start at 0 cash
    cash.Parent = leaderstats
end

-- Give passive cash every 5 minutes
while player and player.Parent do
    task.wait(INTERVAL)  -- Wait 5 minutes
    if player and player.Parent then
        cash.Value = cash.Value + CASH_AMOUNT
    end
end

end)

frail peak
#

😢

storm peak
#

Is it possible to make a player flip while in mid air

signal pewter
shrewd goblet
shrewd goblet
shrewd goblet
civic garnet
#

it gives out wrong code

shrewd goblet
glossy radish
#

Anyone a scripter I’m paying 1k robux each code you do

shrewd goblet
glossy radish
finite oar
shrewd goblet
glossy radish
signal pewter
ember dagger
#

serverstorage?

frail peak
#

server script service as a normal script

ember dagger
#

oh

#

okay thank you

frail peak
#

idk if it works tho lowkey i js asked chat gpt

shrewd goblet
ember dagger
#

well chat gpt is a w bc it works great

shrewd goblet
#

for basic stuff

ember dagger
#

yea its a basic script soo

#

im not a developer im just trying to make a game cryingdead

#

it looks decent its a horror

#

but ive bought like 2 asset packs already

#

since im not good

#

at modelling

shrewd goblet
#

t

ember dagger
#

also how do i get good lighting

proper violet
#

make it

shrewd goblet
ember dagger
#

erm how

ember dagger
shrewd goblet
ember dagger
#

like bro i dont know if the parent is meeting the child

#

okay thanks guys

ember dagger
#

i have watched a few tutorials already

#

il keep trying

shrewd goblet
#

if u do you would save so much money

ember dagger
#

yea

frail peak
#

coding is too

#

too much work

ember dagger
#

lol

storm peak
signal pewter
shrewd goblet
#

ok time to make m first roblxo game any1 have ideas pls sad_hamster

signal pewter
#

moon animator is a plugin

shrewd goblet
#

cryingdead bros message got sent to shadow realm

dry hamlet
#

looking to make a game wiht someone im a scripter myself

bronze path
#

@bleak flame lets speak here

shrewd goblet
dry hamlet
#

..

bleak flame
dry hamlet
#

i i have a quarter of an hour of experience

shrewd goblet
dry hamlet
#

fr

#

lets make an mmorpg game

#

with our years of experience

shrewd goblet
#

who said i have years of expirenec i have aproximanly 2.3 minutes of expirenece'

shrewd goblet
dry hamlet
#

idk any

tawdry trout
#

anyone know how to make voxel destruction like jujustu shennanigans

dry hamlet
#

we gotta make a W game

shrewd goblet
tawdry trout
#

anyone know how to make voxel destruction like jujustu shennanigans

shrewd goblet
dry hamlet
#

@shrewd goblet real

bronze path
#

@bleak flame This is what you should do

Server

part.Touched:Connect(function(touchedPart)
    local character = touchedPart:FindFirstAncestorWhichIsA("Model")
    if not character then
        return 
    end

    local player = Players:GetPlayerFromCharacter(character)
    if not player then
        return 
    end

    remoteEvent:FireClient(player)
end)

Client

remoteEvent.OnClientEvent:Connect(function()
    -- Play the tween just for the client who touched the part
end)

Since you just asked for something simple, the Touched event is alright
You'd probably wanna implement a debounce too

bleak flame
#

oh ok

somber vault
#

can any scripter literitally tell me why my animation isnt working in a script, if you actually figure it out, ill give you 500 robux straight off the bat, dm me

bleak flame
#

sorry i was typin and also lookin at it

bronze path
#

If you don't know what a debounce is, just google Creator Hub Docs Debounce. It's just a cooldown

bleak flame
bronze path
#

it's just a way to put a cooldown on your code, doesn't exactly have to deal with bools, but it's most simple that way

bronze path
#

yea

royal ibex
#

nvm i thought u were asking

bronze path
somber vault
bronze path
#

First things first, tell me the type of game you're working under (group game or your own game), send me snippets of your code and show me what you've done so far to debug

somber vault
#

can i dm?

bleak flame
#

which i also need to make client sided

bronze path
# somber vault can i dm?

Well I don't mind, but if someone else has an animation issue and comes across these messages in the search tool, it might be helpful

bronze path
somber vault
#

just a notice, got this script from an okay scripter friend, i have 0 experience so please bare with me

local Players = game:GetService("Players")
local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local gui = player:WaitForChild("PlayerGui"):FindFirstChild("SlipperyGui")
local animationId = "rbxassetid://96223968248497"  -- Update with your animation ID

-- Animation Setup
local animation = Instance.new("Animation")
animation.AnimationId = animationId
local animator = humanoid:WaitForChild("Animator")
local slippingAnimation = animator:LoadAnimation(animation)

-- GUI Setup (Ensure this is in StarterGui)
if not gui then
    gui = Instance.new("ScreenGui")
    gui.Name = "SlipperyGui"
    gui.Parent = player.PlayerGui

    -- Warning Label setup
    local warningLabel = Instance.new("TextLabel")
    warningLabel.Name = "SlipperyWarning"
    warningLabel.Text = "STOP! IT'S GETTING SLIPPERY!"
    warningLabel.Size = UDim2.new(0, 300, 0, 50)
    warningLabel.Position = UDim2.new(0.5, -150, 0, 50)  -- Centered in the middle of the screen
    warningLabel.TextColor3 = Color3.fromRGB(255, 0, 0)  -- Red text
    warningLabel.BackgroundTransparency = 1
    warningLabel.TextScaled = true
    warningLabel.Visible = false  -- Make sure it's hidden at first
    warningLabel.Parent = gui
end

local warningLabel = gui:FindFirstChild("SlipperyWarning")

-- Variables to control the ragdoll state and GUI state
local isInRagdoll = false  -- Track if we are in ragdoll state
local canTriggerWarning = true  -- Flag to ensure the event is not triggered multiple times

-- Event Handling from Server
game.ReplicatedStorage.SlipperyWarningEvent.OnClientEvent:Connect(function()
    -- Prevent multiple invocations if the event is triggered rapidly
    if not canTriggerWarning then return end
    canTriggerWarning = false

    -- Wait for a random delay before showing the warning
    local delayTime = math.random(2, 9)
    wait(delayTime)

    -- Show the warning GUI
    warningLabel.Visible = true

    -- Use a coroutine to hide the warning after 2 seconds, independent of ragdoll/movement
    coroutine.wrap(function()
        wait(4)  -- wait for exactly 2 seconds
        warningLabel.Visible = false
    end)()

    -- After the warning is shown, check if the player is still moving
    wait(1)  -- Give the player a little time to adjust before checking movement again
    if humanoid.MoveDirection.Magnitude > 0 then
        -- Prevent repeated ragdolling if we're already in ragdoll
        if not isInRagdoll then
            -- Start the slipping animation if the player is still moving
            slippingAnimation:Play()  -- Play slipping animation
            humanoid.PlatformStand = true  -- Enable ragdoll-like behavior
            isInRagdoll = true  -- Track that we are in ragdoll

            -- Change the material to ice
            workspace.IceTrack.Material = Enum.Material.Ice

            wait(2)  -- Rag-doll for 2 seconds

            humanoid.PlatformStand = false  -- Disable ragdoll after 2 seconds
            isInRagdoll = false  -- Track that we are no longer in ragdoll

            -- Reset material to smooth plastic after ragdoll
            workspace.IceTrack.Material = Enum.Material.SmoothPlastic
        end
    end

    -- Allow the event to trigger again
    canTriggerWarning = true
end)```
#

again i have no experience in scripting only building so please it may have to be specific

bleak flame
bronze path
#

like that

somber vault
#

there sorry

bronze path
#

And if you get any errors regarding GUI indexing, you'd probably need to use WaitForChild

bronze path
somber vault
bronze path
#

And you have the animatons published to your account?

somber vault
bronze path
#

Fix that

somber vault
#

My game is made as ownership of my group.

bronze path
#

So it is a group game?

somber vault
#

Yes.

bronze path
#

Okay just to clarify, your game is a group game, and your animations are under the same group? Can you confirm this with a screenshot?

bronze path
#

Is this script a LocalScript inside of starter player scripts

#

or a script with its RunContext set to client or whatever

#

Just confirming

somber vault
bronze path
#

The comments are a bit distracting (all of the lines preceded with -- since you said you don't know how to script)

somber vault
#

i apologize

#

he just did that so i could understand

bronze path
#

Can you ask him to come here?

#

Or is he unavailable?

thick mulch
#

That comment is defo AI generated

somber vault
#

i think hes unavaiable its 2am in his time

#

i can ask though

#

my concern is that he may have given me an ai generated script bc it looks tacky

thick mulch
#

the names of variables are so weird

bronze path
#

Is this someone you hired?

somber vault
somber vault
bronze path
#

So the warning label- does it get set up properly

#

Like do you see it when you playtest

somber vault
#

yes, its published if u want me to link the game

bronze path
#

Also, this can't be the only script available

#

Your animations may work fine however you're using a remote event

somber vault
#
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")

-- Create the RemoteEvent if it doesn't exist
local slipperyWarningEvent = ReplicatedStorage:FindFirstChild("SlipperyWarningEvent")
if not slipperyWarningEvent then
    slipperyWarningEvent = Instance.new("RemoteEvent")
    slipperyWarningEvent.Name = "SlipperyWarningEvent"
    slipperyWarningEvent.Parent = ReplicatedStorage
end

-- Ice Track Detection
local iceTrack = workspace:FindFirstChild("IceTrack")

if iceTrack then
    iceTrack.Touched:Connect(function(otherPart)
        -- Check if the player touched the ice track
        local character = otherPart.Parent
        local player = Players:GetPlayerFromCharacter(character)

        if player then
            -- Fire the event to the client, triggering the warning and animation
            slipperyWarningEvent:FireClient(player)
        end
    end)
else
    warn("IceTrack not found in the workspace.")
end```
#

server script service

bronze path
#

Which means you should be using or should have a server script that calls RemoteEvent:FireClient or FireAllClients

#

Do you get- any- errors in the ouput window at any point in your playtesting?

somber vault
#

No.

#

So I had a designer make my animations, and I assked about the scripting part,she said...

bronze path
#

did you make sure to have an object exactly named IceTrack inside of the workspace?

#

If you don't, the Touched event listener would never be connected

#

Names are case sensitive

somber vault
#

"its a little complicated, just ask him to use BallSocketJoints"

somber vault
bronze path
#

For each if statement, can you add debug prints?

#

And then show me the output?

#

Both client and server side

somber vault
#

can i run that through an ai program, idk how to really do that, can i just ask to add debug prints

bronze path
#

At that point, why not just ask the AI itself for what's wrong with the code

#

Seems a bit ridiculous but I can't stop you

somber vault
#

well how do i add debug prints

#

i just dont know how to do that

bronze path
#

This is how you'd do it

print("Hello world")
print(20)

if --[[some condition ]] then
    print("Hello universe")
    -- ...
end

I just have one issue. It makes it really hard to help without spoonfeeding since you aren't the one who's scripting this- And it's not like your goal is to learn how to script, is it? It'd be better if the scripter friend who "wrote" this script to come on here when he's online

somber vault
#

yeah im sorry man

bronze path
#

It's just not fair to you to be trying to work this out when the original code author isn't even there, and when this thing is most likely AI generated

somber vault
#

thats why i offered robux just bc i wanted to get this done

#

i may just ask someone and pay for someone to remake the script

bronze path
#

At that point, you should make a post in scripter-hiring

#

That's another reason this server exists

#

It's fine to not know

#

But don't force yourself to debugging someone else's probably ai generated mess

somber vault
#

issue is, i dont have more then 3,000 robux

bronze path
#

There's also scripter-hirable

#

The other way around

somber vault
#

issue is nobody takes percentages and ive gotten 1 offer for someone to script for 40 dollars

dawn crow
#

is anyone else here in studio having an "unstable connection" in their script editor? roblox isn't allowing me to edit my code anymore

bronze path
#

Just imagine if you were on the other side

dawn crow
#

problem with this server is 99% of hiring people are delusional with their pricing LOL

#

$10 for 10 hours of work

somber vault
# bronze path People aren't going to take percentages because percentages are an unreliable fo...

here just tell me what i should best do, here is my description for the system...

‣ This system is the main part of the game and is the most complex system of them all. As players are climbing up the hill, at random times, anywhere from three seconds to nine seconds, a Text Label should appear in the top middle of the characters screen and say “STOP! IT’S GETTING SLIPPERY!”. When this comes on the screen, an animation of slipping should enact on the character, if the player stops within two seconds of the warning being displayed, the slipping animation should stop and the warning of slipperiness should disappear, then this cycle continues all the way until they reach the end of the track. If the player continues to walk for more then two seconds after the warning is prompted, the player should ragdoll, and the material of the track should go from Smooth Plastic (the default texture set), to ice, only for that specific player who is falling. The slippery warning should disappear as soon as the player starts ragdolling for two seconds. When the player gets back up, the timer should then start at random of another ‘slippery area’ within 2-9 seconds. Please note that when the ragdolling is completed (2 seconds), the material of the track goes from ice to smooth plastic (back to default).

dawn crow
#

minimum wage pays more

somber vault
#

whatever u think is best to put this or do with

#

ill go do that

dawn crow
somber vault
dawn crow
#

break it down into small pieces

#

look up how to code textlabels

#

then look up how to code animations

#

then look up how to do ragdolls

#

etc

somber vault
#

but i have to work on the building part of my game, we have an expected release date, i thought my friend knew how to script

dawn crow
#

then hire someone

somber vault
dawn crow
#

this is the wrong channel to ask for hiring dude

#

there's literally a designated channel

#

don't beg people to do it here

somber vault
quick owl
spare reef
#

Who can help me with a short little scripting for my game to help with ur portfolio

somber vault
quick owl
dawn crow
lofty plinth
quick owl
#

If your having issues try a better AI model if you aren’t getting results

dawn crow
#

whoops

#

you should format it though

somber vault
spare reef
#

Who can help me with a short little scripting for my game to help with ur portfolio

dawn crow
#

this is also only a tiny portion of what you need to complete it

#

mmmmm

#

if you want to continue with your current code, you need to put that code in a normal script (the blue one), and use a localscript for the next piece (to handle the textlabel)

#

i can't directly help you here, there's too much to do

#

lol, sorry man

somber vault
#

thats fine man ima just pay someone

dawn crow
#

definitely do that

somber vault
#

i dont mind

dawn crow
#

no

#

thanks though

#

well

#

maybe

lofty plinth
dawn crow
#

i don't have that big of a portfolio, but i can give it a try

dawn crow
#

sounds like something i can easily do

#

i can show you what i've done

lofty plinth
#

because I just tested it with my animation and its worked fine under those conditions

spare reef
#

Who can help me with a short little scripting for my game to help with ur portfolio

somber vault
#

maybe my anim isnt set up correct idk

#

im so lost

quick owl
#

I mean if the code works it works

lofty plinth
dawn crow
lofty plinth
#

anim is kinda dookie but its what I had on hand

somber vault
dawn crow
#

lol

somber vault
lofty plinth
#

nah im good I was just wasting time seeing what was up with it

#

reupload ur anim

#

if u want it looped make sure its looped

dawn crow
#

there might be nothing wrong with his animation

#

he's just not playing it in his script

#

right?

lofty plinth
#

its playing

spare reef
#

Who can help me with a short little scripting for my game to help with ur portfolio

somber vault
#

so what did u do differently or what can i do

lofty plinth
#

I changed the animation ID with my own 1 that was looped

dawn crow
#

oh i didn't see the bigger block of code above

lofty plinth
#

maybe Priority 2 but idk what u set it 2

somber vault
#

so @lofty plinth , what do u recommend me try?

lofty plinth
#

Send me the properties of the animation ur using

somber vault
#

what is that 💀

dawn crow
somber vault
#

yes ah gotcvha

lofty plinth
#

the actual animation

#

the 1 u uploaded to roblox

dawn crow
#

oh oops

lofty plinth
#

or well anim save or whatever they call it now since they changed it

somber vault
spare reef
#

Who can help me with a short little scripting for my game to help with ur portfolio

lofty plinth
#

Change it to looped

#

and reupload it

dawn crow
spare reef
#

I don’t have the money

#

I’m looking for people to do it for portfolio

#

I was recommended to do that

dawn crow
#

by who

somber vault
#

@lofty plinth , looped it and nothing happened

spare reef
#

An experienced scripter

lofty plinth
#

send me it

#

lemme test it

somber vault
#

how do i sent u it

#

i dont think it is for sale

lofty plinth
#

save it as an rbxl and send in dms so I can test it locally

dawn crow
#

is _G really less performant?