#code-discussion

1 messages · Page 12 of 1

proper violet
#

pls lebon jams i need

#

🎰

undone vector
#

mb

proper violet
undone vector
#

lol

sudden hill
rugged smelt
#

I am trying to make a 2 player obby, how do I go about making the little chamber thing that most games have, where one person becomes one morph, and the other becomes the other morph?

shell gale
#

i was making a script and was wondering whats the most amount of variables yall have used before

shell gale
fluid dagger
sacred knot
#

ive been debugging for 11 hours now, god give me mercy

somber vault
#

is the joke like that does nothing or

#

someone pmo(put me on) fr(for real)

inland bay
#

💔

spare reef
#

Can you help me

#

@untold sigil

silver verge
stray dock
#

only ai would explain what clone does bro 💔

rugged smelt
karmic pumice
#

ello guys

median tree
solemn cloak
#

i made a replicator with a friend and i'm not sure if there is anything else it needs, i would not mind some critisism

#

when you call GetName it fires an inbuild event that sends the data back to all players

zenith cloud
#

im making this unboxing system, using a scrollframe and stuff but for some reason whenever i check how much it would take for it to reach the very end and then implement it to the code, it quad tweens but then randomly pauses 60% the way to the end, idk what to do or why its happening. can someone help?

supple heart
#

how do you create a vercel app

elfin sail
#

Anyone know how i can make custom cars using the roblox racing car template?

ruby anchor
#

like im tryna add a Quickroll gamepass button which rolls 2x the speed of normal roll system, but it keeps breaking all the roll system when i trioed addding it? any help?

shell gale
bleak glade
shell gale
wise nimbus
#

how hard would it be to code a entire fishing system like fisch

shell gale
wise nimbus
brittle topaz
twilit parcel
#

Hello everyone, quick question pls. How do you make mimic the fill of playing in a single player game inside roblox?

#

Like have a map but with just you in it

hardy pilot
earnest schooner
#

hey guys so i have a huge of points to check in my game so im using a recursive function but i dont want to check the places i already checked so what's the best way to avoid that

hasty juniper
elfin sail
frosty elm
#

yo

twilit parcel
#

I miss spelled that sorry 💀

sacred wagon
#

GET OTU OF MY HEADDD

umbral carbon
twilit parcel
#

💀💀💀

#

brain fart moment

#

tho i havent figure it out yet, can somone help me pls?

celest venture
#

yeah

#

when they spawn

#

and then the client runs the enemy's walk cycle

sudden python
#

How much monies

latent herald
#

Lf devs

#

Lf devs

vast kite
#

guys

#

-- For this to save you must go to Game Settings, Security, and enable Acess to API Services --

local DataStoreService = game:GetService("DataStoreService")
local DataStore = DataStoreService:GetDataStore("TimeStats")

game.Players.PlayerAdded:Connect(function(Player)
    local Leaderstats = Instance.new("Folder")
    Leaderstats.Name = "leaderstats"
    Leaderstats.Parent = Player
    local Cash = Instance.new("IntValue")
    Cash.Name = "Cash"
    Cash.Value = 0
    Cash.Parent = Leaderstats
    
    local Data = DataStore:GetAsync(Player.UserId)
    if Data then
        Cash.Value = Data
    end
    
    coroutine.resume(coroutine.create(function()
        while true do
            wait(300) -- Time until cash given.
            Cash.Value = Cash.Value + 100 -- Cash amount given.
        end
    end))
end)

game.Players.PlayerRemoving:Connect(function(Player)
    DataStore:SetAsync(Player.UserId, Player.leaderstats.Cash.Value)
end)```
#

why does this not show up

#

after i press tab

hoary copper
vast kite
#

when i try iopen it

hoary copper
#

copy pasted ur entire script and it works

vast kite
#

its for my game

hoary copper
#

datastores, but i didnt use them and it showed leaderstats. maybe u have disabled the leaderboard?

#

can you show me in a screenshare

vast kite
#

sure

waxen vapor
vast kite
waxen vapor
#

bro WHY

gilded granite
#

can someone give me smth to code?

vast kite
gilded granite
vast kite
gilded granite
waxen vapor
#

lol!

gilded granite
# waxen vapor

if u do a . it means you first gotta add the self which is the instance you are trying to wait, but in that case if you REALLY want to place the . and not : use the character and then the name

waxen vapor
gilded granite
waxen vapor
#

i cant reach the hrp

#

bro its a local script

gilded granite
waxen vapor
#

ight

gilded granite
#
local Player = game:GetService("Players").LocalPlayer
local Char = Player.Character or Player.CharacterAdded:Wait()
local Humanoid = Char:WaitForChild("Humanoid")
waxen vapor
#

yea i got it

#

that works

gilded granite
#

what do we say?

waxen vapor
#

gg youre a king

gilded granite
waxen vapor
#

HOW IS THIS A TABLE VALUE

#

HOOOW

hoary copper
hoary copper
waxen vapor
hoary copper
hasty gulch
hoary copper
#

idk but tostring will fix it since its checking as a string

waxen vapor
gray hollow
#

who can help me with a scripting problem dm

hoary copper
#

print DashDirection

waxen vapor
hoary copper
#

show us line 19

waxen vapor
#

yo if its because of Direction imma start tweaking

hoary copper
#

delete = nil

#

make it local Direction

hasty gulch
hoary copper
waxen vapor
#

oh wait dash script?

hoary copper
waxen vapor
#

this is both scripts line 19

hoary copper
#

wrong script

waxen vapor
#

bro i showed you both

hoary copper
#

Ah

#

i see it Vector3.new

hasty gulch
#

The script is InputHandler.Dash.Dash

hasty gulch
waxen vapor
#

i see

hoary copper
hoary copper
waxen vapor
#

yepö

errant leaf
#

Anyone intrested in meme game?

#

If you are dm me

inland bay
#

idk?

inland bay
#

sure whats the pay

gray hollow
#

who could help me with a scripting problem in dm

inland bay
#

just send it here

severe cobalt
cunning tundra
#

I do percent but i got contracts

#

n games gon be real goodio

inland bay
cunning tundra
inland bay
#

oh

#

mb

cunning tundra
#

2 games

inland bay
#

my brain remembered the blue ig

cunning tundra
#

lol

inland bay
#

and I thought you were the same person

cunning tundra
#

bro people need to work together more for free tho

#

like people could make a good game with 0 funds and get investor

#

it’s just yall need that chemistry

#

and need to be actually experienced

#

or it turns into a disaster

gray hollow
#

yg i got animation spoofer how do i open it

cunning tundra
#

u don’t

gray hollow
#

how do i use it then

cunning tundra
#

learn animation or pay

gray hollow
#

?

#

what is bro on abt

#

how do i use animation spoof

inland bay
#

💀

inland bay
#

if you're that incompetent that you need to steal anims

#

just quit lol

cunning tundra
#

or learn animation

#

only takes about a year +

inland bay
#

💀

cunning tundra
#

yea long time

#

i learned tho

#

i want learn modeling too but i doubt i’ll be able to

gray hollow
inland bay
#

if its free

#

then just use it?

cunning tundra
#

from some open source thing

fringe knot
rocky holly
#

looking for scripters and developers for my game 75% commision

inland bay
lofty plinth
inland bay
small sun
#

let me know if there’s anything i should fix, i’m working on the map after i make sure the gamepass looks appealing and everything works good

rocky holly
frozen swift
#

How do i do commissions

dusky relic
#

.

umbral briar
#

need some help with this, why when I put this custom r15 character into StarterPlayer it doesn't change the players normal r15? I'm pretty sure I did the joints correctly

gleaming wolf
small sun
#

anyone is a ugc uploaders?

molten plinth
gleaming wolf
molten plinth
#

How do I know to trust someone :p

#

I’m terrible at reading people

south spruce
#

chat am i cooking or what

flint tusk
peak oak
flint tusk
south spruce
#

thats what people have told me

flint tusk
south spruce
peak oak
#

task.wait is better

flint tusk
silk tartan
#

help when i touch the button it doesnt open anything

peak oak
heavy rover
#

why does changing a parts velocity make it act as conveyor?

Part.AssemblyLinearVelocity = Vector3.new(100, 0, 0)

peak oak
heavy rover
peak oak
#

position I mean

peak oak
#

use this

heavy rover
#

isnt it kind of a bug then

#

because its anchored

#

nothing should happen

#

it doesnt move

peak oak
#

@silk tartan did it wkrk

silk tartan
sacred wagon
heavy rover
#

it moves the player on top of it

peak oak
#

in the scrkpt

silk tartan
#

the button works

#

i tried it using print

peak oak
silk tartan
#

the door just doesnt do anything

sacred wagon
#

Idk why anchoring doesnt force tbe velocity to 0

silk tartan
#

value exists

sacred wagon
#

But this is how it is

silk tartan
#

i have it

heavy rover
peak oak
#

because it's already in a function

twilit parcel
#

anyone knows how to change the image button by expanding it on all 4 sides using TweenService?

sinful carbonBOT
twilit parcel
#

i tried to change it using size but it keeps expanding only on the positive axis of x and y

sinful carbonBOT
twilit parcel
rare bronze
charred shore
twilit parcel
#

Yooooo thats so cool

#

i thought you needed to change the position too to match with the size 💀

#

thanks @rare bronze and @charred shore

charred shore
#

np

rare bronze
#

np

humble sequoia
# south spruce chat am i cooking or what

Use this instead

local wall = script.Parent

for i = 0, 1, 0.25 do
    wall.Transparency = i
    task.wait(1)

    if wall.Transparency == 1 then
        wall.CanCollide = false
    else
        wall.CanCollide = true
    end
end
spare nacelle
#

Yo,this ain't gonna be Abt Roblox Luau but if you can help me I could rly use it,so basically I'm very new in css and html and I made a basic code redeeming website,but when I center the div all of the buttons and text inputs get messed up,how do I fix it?

livid nimbus
silk cargo
#

local door = script.Parent
door.Material = Enum.Material.Wood

local openAngle = 90
local openSpeed = 2
local isOpen = false

local function openDoor ()
if isOpen then return end
isOpen = true

for i = 0, openAngle, openSpeed do
door .CFrame = door .CFrame * CFrame.Angles (0, math.rad (i) , 0)

end

end

door . Touched : Connect ( function (hit)
local character = hit.Parent
local humanoid = character = hit.Parent
if humanoid then
openDoor ()

end
end)

am i cooking chat or what?

#

my script for a game, i wanna see if i have any mistakes done before i create it

humble sequoia
normal grove
#

I'm going to create ragdoll for my fighting game soon, I want it to be in the same vain as jiujitsu shenanigans as it allows for some accurate collisions while doing things like welding the head to an enemy players hand. I also want it to be smooth visually on both the player client and other players client, anyone have any pointers or know anything that I should know before starting?

normal grove
ruby anchor
#

why isnt this working -> trying to add a 2x speed gamepass where the roll speed is 2x faster than normal roll if the player owns the gamepass

warm pumice
#

print debug to see if it gets past the return

odd sinew
#

In the game jam event are we allowed to use certain frameworks like ProfileService or Warp?

ruby anchor
# warm pumice print debug to see if it gets past the return

HasGamePass is not a valid member of Player "Players.wonking123" - Server - ServerScript:244
10:05:09.068 Stack Begin - Studio
10:05:09.069 Script 'ServerScriptService.ServerScript', Line 244 - function regularRoll - Studio - ServerScript:244
10:05:09.069 Script 'ServerScriptService.ServerScript', Line 364 - Studio - ServerScript:364
10:05:09.069 Stack End - Studio
10:05:10.901 Roll button clicked! - Client - Roll Click Sound:10

this is the output, the roll button is clicking but the visuals rnt shoiwing

lofty plinth
#

ur trying to check if the player has a gamepass using the player instance rather than using the correct service

bleak glade
#

your code is weirdly setup for a roll system

#

youre handling speed on the server?

#

ill just show you my code...

#

handle it on the client by checking if they own a gamepass value, then like i said divide your tweens by that value

dusky tundra
#

Every time I open a new game in Studios I got a strange Dubble Jump system in my game and i cant remove. Can anyone say what it is or how I can remove it?

rugged yew
#

Hey uhhh since you all are like a scripers is it there a way to like have the dummy to play my animation that ive like made?

#

Beacuse im like making it to just get the skill role

bleak glade
rugged yew
bleak glade
#

ok

rugged yew
#

Not a scripter

bleak glade
#

use an animation controller, then have animations in it

rugged yew
#

Ok thanks

bleak glade
#

ply the animations based on an event

rugged yew
#

Ok then

bleak glade
rugged yew
#

Thank you for the help

toxic cave
rocky holly
granite peak
#

im new to developing and i am making a dco game and i only really just started getting into roblox studio around 6-ish days ago, does anyone know how to code this sort of thing because i honestly have no idea how to and it would be much help

south spruce
south spruce
toxic cave
#

for i = 1, 3 do
print(i)
end

#

it will print 1 2 3

#

in new lines ofc

south spruce
#

so if i did i = 1, 100, it would print all the numbers between 1 and 100?

toxic cave
#

yeah

#

1 and 100 included not between

south spruce
#

ok i see

azure ledge
#

how do i check if the player clicks in a local script, not on a button or anything, just left mouse button click anywhere on the screen

toxic cave
#

or

south spruce
toxic cave
#

userInputService.InputBegan:Connect(function(input, gameProcessed)
if gameProcessed then
return
end

if input.UserInputType.Name == "MouseButton1" then
--placeholder
end
end)

azure ledge
#

thank you

toxic cave
tiny obsidian
#

chat

granite peak
bleak glade
rustic wharf
#
module.playerInventory[player.UserId] = {
  Apple = {Name = 'Apple', Amount = 5, Type = 'Food'}
}```
#

Anyone got any ideas on what else to put inside the table

#

I'm also adding Equipped but only for weapons

humble sequoia
azure ledge
gleaming wolf
wary pollen
#

I am not going to be a CS major

#

💀

gleaming wolf
wary pollen
#

Sometimes I hire ppl bc my luau is to 💩

#

or I dont have the time

gleaming wolf
#

whats ur skillzz

wary pollen
#

I can code more basic stuff

#

I cannot code something that involves a significant portion of tables

#

such as a very advanced inventory

gleaming wolf
#

well simple tables is not very advanced luau stuff

#

but I gotchu

wary pollen
#

I am not talking ab simple tables

#

well I am but I am not

#

In this video I cover the change that CIG has made to player inventory and how to quickly navigate it. Enjoy!

▶New to Star Citizen? Use this referral code to receive 5,000 in game currency once you signup instantly. https://robertsspaceindustries.com/enlist?referral=STAR-ZJ5V-F7PL

▶Interested in North American Industrial Org? Check mine out se...

▶ Play video
#

I want to recreate this

#

I don't have the skills unfortunately

gleaming wolf
#

thats mostly frontend animations

#

the core inventory system is not so advanced

wary pollen
#

Fair, I recently came to learn LUAU after knowing web development.

#

Its a bit different

gleaming wolf
sacred prairie
#

cap

gleaming wolf
#

not cap

sacred prairie
#

games development is easier

wary pollen
gleaming wolf
#

video games development is harder than web dev even worst if the game is multiplayer

sacred prairie
#

no

#

you're just bad at games development

wary pollen
#

💀

wary pollen
gleaming wolf
sacred prairie
#

you're welcome

wary pollen
#

I code but I don't indent

sacred prairie
#

loser

wary pollen
sacred prairie
#

unreal loser

warm mulch
#

Does anyone know how to create a character selection?

stiff mesa
#

And working with databases

#

Not fun

bleak glade
warm mulch
warm mulch
drifting goblet
#

im not a scripter but im curious; how do scripters showcase themselves? obviously they don't show the raw code for people who don't even understand

bleak glade
barren vault
warm mulch
#

I need someone who knows how to select a character for my game, if you know and can help me you can become a sub owen for my game

barren vault
quasi whale
#

i want to make a script that makes it so once
coins(leaderstats value is over 0 the gate open)

local mainGame = game.Workspace:WaitForChild("MainGame")

local gates = mainGame:WaitForChild("Gates")
local gatem = mainGame.Gates.Stage2

local function opengate()
gatem.CanCollide = false
gatem.Transparency = 0.6
end

#heres the problem idk how to do this properly#
local leaderstats = game.Players.PlayerAdded.leaderstats
local points = player.leaderstats:WaitForChild("coins")

if points > 0 then
opengate()
end

bleak glade
#

youre also referencing leaderstats wrong

#

game.Players.LocalPlayer.leaderstats

lunar charm
#

whats the formula to work out EPOCH from year month and day

#

my brain buggin atm

bleak glade
#

os.time() + 86400

lunar charm
#
local codes = {
        ["destrodevs"] = {
                Reward = {
                        --[[
                        Leaderstats dependent on your game
                        ]]
                },
                expires = {
                        Year = 2025,
                        Month = 2,
                        Day = 28,
                }
        }
}
bleak glade
#

oh i see what you mean

lunar charm
#

tryna make it easier to create codes

bleak glade
#

so you want to find the expire time in epoch

lunar charm
#

basically date to epoch

bleak glade
#

another table i believe

#

that stores years to seconds

spark swallow
#

why is my chat disappearing?

quartz vortex
#

Is it disabled

spark swallow
#

no 💔

lunar charm
quartz vortex
#

Did you mess with core guis

lunar charm
#

u cant put a constant value on the days in a year

barren vault
# quasi whale i want to make a script that makes it so once coins(leaderstats value is over 0...

try this local mainGame = game.Workspace:WaitForChild("MainGame")
local gates = mainGame:WaitForChild("Gates")
local gatem = mainGame.Gates.Stage2

local function opengate()
gatem.CanCollide = false
gatem.Transparency = 0.6
end

-- This function will check a player's coins
local function checkCoins(player)
-- Wait for leaderstats and coins to be created
local leaderstats = player:WaitForChild("leaderstats")
local coins = leaderstats:WaitForChild("coins")

-- Check initial value
if coins.Value > 0 then
    opengate()
end

-- Connect to value changes
coins.Changed:Connect(function(newValue)
    if newValue > 0 then
        opengate()
    end
end)

end

-- Connect to PlayerAdded to handle new players joining
game.Players.PlayerAdded:Connect(function(player)
checkCoins(player)
end)

-- Optional: Check existing players when script starts
for _, player in ipairs(game.Players:GetPlayers()) do
checkCoins(player)
end

bleak glade
#

do % 4 to find a leap year

lunar charm
#

so its basically just a bunch of math

#

😭

bleak glade
lunar charm
#

it would just save me alot of time when creating codes

#

which is a minor part of the game

bleak glade
#
local codes = {
    ["destrodevs"] = {
        Reward = {
        },
        expires = {
            Year = 2025,
            Month = 2,
            Day = 28,
        }
    }
}

local function getExpireEpoch(codesTable, code)
    local expiryDate = codesTable[code].expires
    if expiryDate.Year % 4 == 0 then
        expiryDate.Day = 29
    else
        expiryDate.Day = 28
    end
    local dateTable = {
        year = expiryDate.Year,
        month = expiryDate.Month,
        day = expiryDate.Day,
    }

    return os.time(dateTable)
end

#

try that

#

i dont think that works for leap years

lunar charm
bleak glade
lunar charm
#

i was just over thinking it

#
 
 v0["Convert_Time"] = function(ExpiresTable)
        return os.time({
                year = ExpiresTable.Year,
                month = ExpiresTable.Month,
                day = ExpiresTable.Day,
                hour = 0, 
                min = 0,
                sec = 0
        })
 end
 
cursive lotus
#

do item welds get destroyed when a player dies?

#

because i have this drop items on death scripts and every time the player dies the to the handle welded parts fly away from the handle and the welds are gone:

player.CharacterAdded:Connect(function(char)
        char.HumanoidRootPart.CFrame = room.spawnpoint.CFrame + Vector3.new(0,3,0)
        local humanoid = char:WaitForChild("Humanoid")
        humanoid.Died:Connect(function()
            -- Drop all items
            for i, v in pairs(player.Backpack:GetChildren()) do
                if v:FindFirstChild("Handle") then
                    v.Parent = game.Workspace.Dropped
                    v.Handle.CFrame = char.HumanoidRootPart.CFrame
                    v.Handle.CanCollide = true
                    
                    for i, d in ipairs(v:GetDescendants()) do
                        if d:IsA("MeshPart") then
                            d.CanCollide = true
                        end
                    end
                end
            end
            -- Drop equipped tool
            if char:FindFirstChildWhichIsA("Tool") and char:FindFirstChildWhichIsA("Tool"):FindFirstChild("Handle") then
                local tool = char:FindFirstChildWhichIsA("Tool")
                tool.Parent = game.Workspace.Dropped
                tool.Handle.CFrame = char.HumanoidRootPart.CFrame
                tool.Handle.CanCollide = true
                for i, d in ipairs(tool:GetDescendants()) do
                    if d:IsA("MeshPart") then
                        d.CanCollide = true
                    end
                end
            end
        end)
    end)
#

please ping when responding, thanks

#

hm true

#

this happens when im holding the weapon

#

oh okay

#

alr i will do it like this, thanks

stone wren
#

does anyone know any tips on how i can start scripting?

barren vault
stone wren
#

okay thanks!

bleak glade
barren vault
#

lol

bleak glade
#

to me thats where i learned

barren vault
#

yeah true i would suggest watching a tutorial and trying to do the same thing without looking at the video

bleak glade
glass garden
#

If anyone uses my Require Autocomplete plugin, I pushed an update to it today. It now supports require-by-string if you prefix with two "::" now. And many QoL improvements.

#

looks like I don't have permission to post there

nova cloud
#

is there anyway i can apply humanoid description via client side?

Humanoid::ApplyDescription() can only be called by the backend server

im trying to market it like blade ball has it where it shows YOUR avatar on a NPC

local function setRig(Rig, UserId)
    task.spawn(function()
        local EmptyDesc = Instance.new("HumanoidDescription")
        local PlayerDesc = players:GetHumanoidDescriptionFromUserId(UserId)

        local RigHumanoid = Rig:FindFirstChild("Humanoid")
        RigHumanoid:ApplyDescription(EmptyDesc)
        task.wait()
        RigHumanoid:ApplyDescription(PlayerDesc)
    end)
end
errant glacier
true drum
#

Where you guys all learn to code im tryna learn

rustic torrent
#

Looking for people with a good pc to help a 1k member server.

spice cypress
astral escarp
#

can someone tell me how the hell to check if a player selected the UserDialog in a DialogChoice

latent gust
steep eagle
#

How do I fix this? The person thats blocking my spike is correctly doing it, but the ball is already past his body before it registers to move a different direction so it ends up hitting the net. How do I fix this?

rich cave
#

1+1=2 solve equation

lime zinc
#

guy is splash effects in water a scripting or terrain job? (like physics, for example rain drops falling onto the water then a splash appears)

supple heart
#

is python easier to code discord bots than java

clear stone
#

can someone help me with coding the Classification using a spectral index. I’ve already coded the calculation of a spectralindex (im using ndvi and ndmi)

spare nacelle
#

Bro I quit scripting for 5 months to learn website development and I've already lost some of my juice😭

spare nacelle
remote perch
#

``game.Players.PlayerAdded:Connect(function(PLR)
local leaderstat = Instance.new("Folder")
leaderstat.Name = "leaderstats"
leaderstat.Parent = PLR

local Deaths = Instance.new("IntValue")
local Gold = Instance.new("IntValue")
Deaths.Name = "Kills"
Deaths.Value = 0
Deaths.Parent = leaderstat
Gold.Name = "Gold"
Gold.Value = 0
Gold.Parent = leaderstat

end)

local Cl = game.ReplicatedStorage.ClassicSwordShop
local Fallensword = game.StarterPack.FallenSword

Cl.OnServerInvoke = function(player)
local PLR = player
local leaderstats = PLR.leaderstats
local Deaths = leaderstats.Deaths
local purchaseSuccesful = false
if Deaths.Value >= 0 then

    local cloneSW = Fallensword:Clone()
    cloneSW.Parent = PLR.Backpack
    purchaseSuccesful = true



else
    print("Purchase notwork!!!!")



end
return purchaseSuccesful

end``

Its a shop script its not working ):

bleak glade
remote perch
supple heart
#

ok

signal pewter
#

can someone test this for me its supposed to grant you a badge and a ugc item when you get 100 kills

lofty plinth
#

Ai WHYYYYY

wooden void
#

How do I make a code that gives +1 JumpPower every second and saves?

eager anchor
#

Is anyone really good at building and scripting in here ?

#

I’m making this new game and I’m gonna promote it on my yt

#

It will def go viral I just need ppl to help make the game

somber vault
#

am I crazy or is this for literally nothing

lofty plinth
summer scarab
supple heart
willow bear
#

is it the same performance to make two runservice.heartbeat connections as one connection with the same logic combined?

#

or if not how much slower is two

supple heart
#

can you guys like tell me the current user count, cuz idk if its working

candid helm
#

to me says 1

next knoll
#

Need a full time scripter, will pay 1k a week (hopefully) must be able to complete every task for payment

candid helm
#

this took too much and still doesnt work

spare reef
#

Can someone make a datastore for my game rq? It should be pretty simple

regal bolt
#

WHO IS A SCRIPTER

pastel slate
#

Is constant Raycasting on the server heavy(Performance wise)? Like for spamming sniper bullets?

supple heart
regal bolt
supple heart
#

alr unc

candid helm
supple heart
#

hat is it

#

what is it

candid helm
#

if u refresh the website it adds a visitor and stacks

supple heart
#

yeah ik

#

idk how to fix it

candid helm
#

ow

supple heart
#

does anyone know how to make animated ascii objects

stone plaza
#

does data save globally through different places within an experience? If so, is it just a matter of setting up the leaderstat again in the new place or what i’m so lost

coral apex
#

Someone help me fix

local prox = script.Parent.Buttonmodel.Button.ProximityPrompt
local spawnZone = script.Parent.SpawnPlatform
local firegui = script.Parent.FireGui

local function spawnCoins()

    local newCoin = Instance.new("Part")
    newCoin.Size = Vector3.new(2, 2, 2)
    newCoin.BrickColor = BrickColor.new("Yellow flip/flop")
    newCoin.Material = Enum.Material.Neon

    local x = math.random(-spawnZone.Size.X / 2, spawnZone.Size.X / 2)
    local y = 5
    local z = math.random(-spawnZone.Size.Z / 2, spawnZone.Size.Z / 2)

    newCoin.CFrame = CFrame.new(spawnZone.Position + Vector3.new(x, y, z))
    newCoin.Parent = game.Workspace
    
    newCoin.Touched:Connect(function(hit)
        local hum = hit.Parent:FindFirstChild("Humanoid")
        if hum then
            game.Debris:AddItem(newCoin)
        end
    end)
end


prox.Triggered:Connect(function(plr)
    firegui:FireClient(plr)

    while task.wait(1) do
        spawnCoins()
    end
end)
wild veldt
stable verge
#

when i try to print profile.Data.Kills, it returns nil```
--//Servies
local profileService = require(game.ReplicatedStorage.Modules.ProfileService)

local profileTemplate = {
Kills = 0,
}

local profileStore = profileService.GetProfileStore(
"PlayerData",
profileTemplate
)
local profiles = {}

local function saveData(player)
local profile = profiles[player]

profile.Data.Kills = player.leaderstats.Kills.Value

end

local function playerAdded(player)
local profile = profileStore:LoadProfileAsync("Player_" .. player.UserId)

profile:AddUserId(player.UserId)
profile:Reconcile()
profile:ListenToRelease(function()
    profiles[player] = nil
    player:Kick()
end)
if player:IsDescendantOf(game.Players) == true then
    profiles[player] = profile
    
    local leaderstats = Instance.new('Folder', player)
    leaderstats.Name = "leaderstats"

    local Kills = Instance.new("IntValue", leaderstats)
    Kills.Name = "Kills"
    Kills.Value = profile.Data.Kills
    
    saveData(player)
else
    profile:Release()
end
print(profile.Data.Kills)

end

for i, player in ipairs(game.Players:GetPlayers()) do
task.spawn(playerAdded, player)
end

game.Players.PlayerRemoving:Connect(function(player)
local profile = profiles[player]
if profile ~= nil then
saveData(player)
profile:Release()
end
end)

game.Players.PlayerAdded:Connect(playerAdded)

dusty kettle
regal bolt
#

what do u do

dusty kettle
regal bolt
#

well how much have u been scripting

dusty kettle
regal bolt
#

same idk

dusty kettle
regal bolt
#

bro tell me the 2

dusty kettle
#

I’ve been scripting for 4 years very consistently

regal bolt
#

noice

#

well im hiring u for my friend

#

but firstly

#

are you experianced with battlegrounds?

dusty kettle
regal bolt
#

show me what u made

#

in dms

#

are you still here @dusty kettle ?

tidal peak
weak ravine
#

why does my developer product work in local testing but not in team test?

regal bolt
queen yarrow
#

wordddddddddddd

sour tusk
#

@sacred wagon @sacred wagon hey

sacred wagon
#

NONO I ON ON ON ON O

snow burrow
#

is it possible to register a key press that wasnt pressed?

#

for example make a player hold shift for one second

sour tusk
sour tusk
sacred wagon
snow burrow
formal crescent
#

is there anyway to display on the server a player's capture (via capture service)?

sour tusk
sacred wagon
snow burrow
#

i will look into it thank you

#

can i dm you if i have an issue? sorry im trying to learn

sour tusk
light niche
#

Technically you’re trying to do a holdable keybind right?

snow burrow
#

okay thank you, can i maybe just send the part of the code thats having an issue? no errors pop up

#

well

#

i was trying to spoof a shift hold for one second

#

cause my gui run button only works after the player runs with shift

sacred wagon
snow burrow
#

but you cant run w shift on mobile and thats the problem, it only happens in this game and it works in others and im not too sure whats happening cause theres no errors in my console

light niche
#

so in mobile the issue it’s happening only?

snow burrow
#

yeah

light niche
#

Are you using InputBegan / InputEnded on the holdable button?

#

I guess this is an event for buttons as well

snow burrow
#
    input.KeyCode = RunKey
    if input.KeyCode == RunKey then 
        if Stamina >= 0 then

            Player.Character.Humanoid.WalkSpeed = SprintSpeed


        end
    end
end)
UIS.InputEnded:Connect(function(input, process)
    input.KeyCode = RunKey
    if input.KeyCode == RunKey then 
        Player.Character.Humanoid.WalkSpeed = WalkSpeed
    end
end)```
light niche
#

Or I might be crazy rn

light niche
#

For mobile you can also use ContextAction instead maybe because you can make a button linked to the action function

#

Or either a normal button anyways

snow burrow
#
local WalkSpeed = 12 --How fast the player will go when not sprinting (16 is the default speed in roblox)

local RunKey = Enum.KeyCode.LeftShift -- The key you press to sprint
local StaminaEnabled = true --If true, stamina will be enabled. If false stamina will be disabled.
local MaxStamina = 7 --Max stamina
local StaminaDrain = 1 --How much stamina the player will lose per second while sprint
local SprintSpeed = 22 --How fast the player will go while sprinting
local StaminaRegen = 0.5 --How much stamina the player will gain per second while not sprint


local Player = game.Players.LocalPlayer
local UIS = game:GetService("UserInputService")
local TextLabel = script.Parent.Stamina
local RunButton = script.Parent.RunButton

TextLabel.Text = MaxStamina

local Stamina = tonumber(TextLabel.Text)
TextLabel.Visible = StaminaEnabled


TextLabel:GetPropertyChangedSignal("Text"):Connect(function()
    Stamina = tonumber(TextLabel.Text)

end)

if UIS.TouchEnabled then

    RunButton.Visible = true
    

end


UIS.InputBegan:Connect(function(input, process)
    input.KeyCode = RunKey
    if input.KeyCode == RunKey then 
        if Stamina >= 0 then

            Player.Character.Humanoid.WalkSpeed = SprintSpeed


        end
    end
end)
UIS.InputEnded:Connect(function(input, process)
    input.KeyCode = RunKey
    if input.KeyCode == RunKey then 
        Player.Character.Humanoid.WalkSpeed = WalkSpeed
    end
end)

RunButton.MouseButton1Click:Connect(function()
    if Player.Character.Humanoid.WalkSpeed == WalkSpeed and Stamina >= 0 then 
        Player.Character.Humanoid.WalkSpeed = SprintSpeed

    elseif Player.Character.Humanoid.WalkSpeed == SprintSpeed then
        Player.Character.Humanoid.WalkSpeed = WalkSpeed

    end
end)```
#
    wait(0.5)

    if Player.Character.Humanoid.WalkSpeed == SprintSpeed and StaminaEnabled then
        local Stamina = tonumber(TextLabel.Text)
            TextLabel.Text = tostring(TextLabel.Text - StaminaDrain)
                if Stamina <= StaminaDrain + 1 then 
                    Player.Character.Humanoid.WalkSpeed = WalkSpeed 
    end
    elseif Player.Character.Humanoid.WalkSpeed == WalkSpeed and StaminaEnabled then    
        local Stamina = tonumber(TextLabel.Text)
            if Stamina <= MaxStamina - 0.5 then
                TextLabel.Text = tostring(TextLabel.Text + StaminaRegen) 

            end
        end
end```
#

thats the code @light niche

#

i just wanna see if anything pops out to you

#

as whats causing the issue

light niche
#

I’m on mobile now, a bit hard to see

snow burrow
#

cause i think i sent the wrong part before

#

oh shoot okay

snow burrow
light niche
#

Because its inherently from engine GuiButton

#

But maybe it doesn’t work as I’m thinking on

ruby iron
#

touch started and touch ended

snow burrow
ruby iron
#

swap for what

snow burrow
#

i dont know this issue is really confusing me lol i do very simple scripts not much with players

#

def not mobile

ruby iron
#

you got sprinting to work on pc and now you're typing to make it work on mobile?

snow burrow
#

yes

snow burrow
#

thats the issue cause people on mobile arent gonna be able to use shift to run first

#

but then after you use shift

#

the run button works just find

#

i can send you a streamable link in dms

ruby iron
#

df

snow burrow
#

but im not allowed here

ruby iron
#

sure

snow burrow
#

okay tysm sorry

ruby iron
snow burrow
#

no like

ruby iron
#

because lmao

snow burrow
#

im using the roblox studio mobile emulator

ruby iron
#

ooo

#

got it

#

did you try publishing your game

#

and playing it on your phone

#

emulator lowkey sucks on mobile

snow burrow
#

yes

light niche
#

You need a button

#

For mobile

ruby iron
#

he has a button

light niche
#

Use InputBegan on button

snow burrow
#

i dmed u the vid @ruby iron

ruby iron
#

kk

snow burrow
#

RunButton.MouseButton1Click:Connect(function()
if Player.Character.Humanoid.WalkSpeed == WalkSpeed and Stamina >= 0 then
Player.Character.Humanoid.WalkSpeed = SprintSpeed

elseif Player.Character.Humanoid.WalkSpeed == SprintSpeed then
    Player.Character.Humanoid.WalkSpeed = WalkSpeed

end

end)

#

oh wait

#

is that it?

ruby iron
#

were you not doing that

snow burrow
light niche
#

And also doesn’t work on mobile

#

Should be Activated

snow burrow
#

well im not trying to do holdable i want it to be a press

ruby iron
#

are you making a hold to run button or a toggable run button

snow burrow
#

togglable

#

it presses

#

and it runs out of stamina

#

and then regens

#

then u press again

ruby iron
snow burrow
#

okay hold up

ruby iron
#

i dont think

#

mobile has a mouse button

snow burrow
#

yeahhh

#

just saw that

#

i couldve sworn there was a mobile input area tho

ruby iron
#

oh wait

ruby iron
#

like have both the UIS.InputBegan and the RunButton.MouseButton1Click connection

#

because they will fire at the same time

#

like when you tap on mobile on the button, it will also fire the InputBegan connection

snow burrow
#

okay so i cant have a run script for both mobile and keyboard?

ruby iron
#

but on pc there's no ui so it doesn't fire

#

you can

#

but if it's on mobile, dont connect the InputBegan connection

#

like check the players device

#

or use

#

ContextActionService

snow burrow
#

let me try and see if i can fix it

#

idk if ill be able to though ngl

ruby iron
# snow burrow let me try and see if i can fix it

local ContextActionService = game:GetService("ContextActionService")
local UIS = game:GetService("UserInputService")

local WalkSpeed = 12 --How fast the player will go when not sprinting (16 is the default speed in roblox)
local RunKey = Enum.KeyCode.LeftShift -- The key you press to sprint
local StaminaEnabled = true --If true, stamina will be enabled. If false stamina will be disabled.
local MaxStamina = 7 --Max stamina
local StaminaDrain = 1 --How much stamina the player will lose per second while sprint
local SprintSpeed = 22 --How fast the player will go while sprinting
local StaminaRegen = 0.5 --How much stamina the player will gain per second while not sprint

local Player = game.Players.LocalPlayer
local TextLabel = script.Parent.Stamina
local RunButton = script.Parent.RunButton

TextLabel.Text = MaxStamina

local Stamina = tonumber(TextLabel.Text)
TextLabel.Visible = StaminaEnabled

TextLabel:GetPropertyChangedSignal("Text"):Connect(function()
    Stamina = tonumber(TextLabel.Text)
end)

if UIS.TouchEnabled then
    RunButton.Visible = true
end

local function runButton(actionName, inputState, inputObject)
    if actionName == "run" then
        if inputState == Enum.UserInputState.Begin then
            if Player.Character.Humanoid.WalkSpeed == WalkSpeed and Stamina >= 0 then 
                Player.Character.Humanoid.WalkSpeed = SprintSpeed
            elseif Player.Character.Humanoid.WalkSpeed == SprintSpeed then
                Player.Character.Humanoid.WalkSpeed = WalkSpeed
            end
        end
    end
end

ContextActionService:BindAction("run", runButton, true, RunKey)
#

i think this might work

#

haven't even ran the code tho so lmk

snow burrow
#

oh shoot thank you so much

#

okay let me try rn

ruby iron
#

there's going to be a different button tho

#

and its not going to look like the one you have but that's ok because you can change it later

#

but press on that one to test

snow burrow
#

and it still does the gui?

ruby iron
#

it's supposed to create a mobile gui yeah

snow burrow
#

shift to run is gone tho

#

wait let me see i have to join on my phone

#

for the button

snow burrow
#

it removed the other functions in the script

ruby iron
#

omg wait

#
RunButton.MouseButton1Click:Connect(function()
    if Player.Character.Humanoid.WalkSpeed == WalkSpeed and Stamina >= 0 then 
        Player.Character.Humanoid.WalkSpeed = SprintSpeed

    elseif Player.Character.Humanoid.WalkSpeed == SprintSpeed then
        Player.Character.Humanoid.WalkSpeed = WalkSpeed

    end
end)
#

i don't think this ever runs

#

because your default speed is 16 when you spawn in

#

and it's checking if the players walkspeed is 12 so it fails the first if statement and then sprint speed is 22 so it fails the second too

snow burrow
#

but shift works

#

oh wait

#

holdup

ruby iron
#

and it will work 😭

snow burrow
#

that sucks tho highkey wanted them to be slow

ruby iron
#

it worked after you clicked shift because shift actually set it to 12

snow burrow
#

is there a workaround?

ruby iron
#

yeah

snow burrow
#

oh waiat

#

i changed it tho

ruby iron
#

make the default 12 instead of 16

snow burrow
#

i did

#

wait lemme check one more time

#

ima crashout bruh

ruby iron
#

did it work

snow burrow
#

IM SO MF DUMB

#

LMAOOOO

ruby iron
#

yuh

#

rip

snow burrow
#

ive been trynna figure this out

#

for like

#

2-3 hours

#

every day getting no where

ruby iron
#

yeah sometimes its stupid lol

snow burrow
#

cause there wasnt anything wrong with the damn script

ruby iron
#

yeah ik

#

was a weird bug

snow burrow
#

i just messed up i mustve changed something else to 12

#

🥲

ruby iron
#

on StarterPlayer there is a CharacterWalkSpeed property

#

you can just set that to 12

#

like, StarterPlayer in the explorer tab

idle gorge
ruby iron
#

yeah but he doesn't so

#

it will work

zenith cloud
#

I'm working on an unboxing system but one of the main issues I'm experiencing is the scrollframe, whenever I tween to the end via a server script, it doesn't go all the way to the end, I thought this may be due to my scrollframe properties and my suspicion is that its caused by the fact that changing the size of my client window affects the end of canvas position, example:
https://cdn.discordapp.com/attachments/737841854875435129/1342022680685056086/Project_A_-_Roblox_Studio_2025-02-19_22-38-04.mp4?ex=67b8c844&is=67b776c4&hm=98799d32d28c8aeac6f30c49c7173a72729d49854a52daf6219d86c26d51c7b4&

--

What should I do to stop that from happening so I can make my unboxing system?

snow burrow
prime cave
#

is it just me or does everyone stop getting A’s in math during middle school

proper flicker
#

What is the best way to check the players devices, like if they are mobile etc

half fulcrum
proper flicker
#

how could I calculate how long a drop would travel on an conveyor depending on its assemblylinearvelocity

crisp path
#

guys, to handle big number of "zombies" should I render them all on the client?
for example:
local NPCs = {
npc = {
position = vector3.zero
rotation = vector3.zero
}
}

crisp path
#

no better way to do this?

hardy pilot
#

There is no objective better way

#

You could use a part and a custom controller in place od zombies

#

And add all the other parts on the client

crisp path
#

okay, thanks

fresh hawk
#

nothing runs from line 11 down, how do i fix it?

hardy pilot
fresh hawk
hardy pilot
#

How do you know it halts at line 11

#

I don't see any breakpoint or print there

tepid willow
#

hello

#

so I've learned scripting but I don't know what to do next

unique flint
#

how do I code a wind script like this in my roblox game?

unique flint
# hardy pilot Trail

can you please elaborate if you have the time. I am very new to coding so I have no idea what that is

cyan oyster
#

does anyone have a devforum post about Snapshot Interpolation? i'm trying to make a football system and i think this is the way to go about doing it

unique flint
hardy pilot
hardy pilot
#

So just recording movements?

unique flint
cyan oyster
hardy pilot
#

Do you mean rollback netcode or something like that

cyan oyster
#

yeah

hardy pilot
#

And replicate them yourself

#

Then you let players do the same while waiting for the next replication job or whatever youd call it

rugged frost
#

i used pcall for storing the questes for 24hrs is that a bad data store to use pcall

lilac gale
#

make games

#

best way 2 learn

chilly spire
#

is it worth it making a module library on your code or just use something like knit or some other framework/libraries ?

peak sphinx
#

I don't think anyone ever stops learning scripting as an active dev, and sneakypete learned it all?

chilly spire
#

i think it's almost impossible to learn it all,ot atleast to remember it without re-looking on dev forum

chilly spire
digital oak
#

based

chilly spire
#

but is a framework needed in most cases or its just opcional

digital oak
#

depends what you call a framework

chilly spire
#

like knit

outer bridge
#

guys im new to scripting and i kinda forgot how to get a ui elements position.. 😬

digital oak
#

or if u mean UDim2.new(0,5,0,5)

unique flint
#

how do I make a gui like this?

digital oak
unique flint
digital oak
#

create a gui library for that

unique flint
#

okok

outer bridge
outer bridge
digital oak
#

noo

#

udim2 is like vector3 but for uis basically

#

frame.position will give u udim2

outer bridge
#

ik but i kinda forgot how to use it

outer bridge
digital oak
#

if u want to set a pos to something udim2 u just say frame.position = UDim2.new(0,5,0,5) this will set it to the center of the screen

outer bridge
#

ok tysm

#

@digital oak why wont this work?

#

in my eyes it should

digital oak
#

sec

outer bridge
#

i didnt follow a tutorial so i cant go in the comments to check

#

😭

digital oak
#

can u paste it here

outer bridge
#

yah

digital oak
#

im too lazy to type it

outer bridge
#
local framebg = script.Parent
local originalpos = framebg.Position == UDim2.new(0, 0, 0.41, 0)
local moving = true

framebg.Position = UDim2.new(0, 0, 0.41, 0)
wait(2)
while moving do
    framebg.Position += UDim2.new(0.02, 0, 0, 0)
    wait(0.02)
end

wait(0.7)
moving = false
#

do i put moving = false higher up?

#

before the while true

digital oak
#
local framebg = script.Parent
local moving = true

framebg.Position = UDim2.new(0, 0, 0.41, 0)
wait(2)
while moving do
    framebg.Position += UDim2.new(0.02, 0, 0, 0)
    wait(0.02)
end

wait(0.7)
moving = false
outer bridge
#

i dont even need original pos

#

i didnt use it

digital oak
#

like that then

#

did it error or what went wrong btw

outer bridge
#

but it keeps moving

digital oak
#

ahh

#

u want it to stop?

outer bridge
#

yes

digital oak
#

cant u just use tweenservice?

#

look it up

outer bridge
#

too much work

#

im not used to tweening

digital oak
#

nope its easier

outer bridge
#

its impossible to navigate

#

most tutorials are 5 years old and just dont work in general

digital oak
#

local framebg = script.Parent
local tweenService = game:GetService("TweenService")

local goal = {}
goal.Position = UDim2.new(1, 0, 0.41, 0)

local tweenInfo = TweenInfo.new(2)

local tween = tweenService:Create(framebg, tweenInfo, goal)
tween:Play()

twilit parcel
#

hello everyone, question pls, for some reason my module scrip seems to run slower then when i just use the code inside a local script

twilit parcel
#

uhh how do you make the text becomes code agian

chilly wraith
#

` 3 times i think

digital oak
#

```lua
code
```

twilit parcel
#
local module = {
    expand = function(button,sizeDif)
        ---Control variables
        local tweenService = game:GetService("TweenService")
        local allowClick = true

        ---Tweening
        local tweenInfo = TweenInfo.new(
            0.5, --time
            Enum.EasingStyle.Exponential, --Easing style
            Enum.EasingDirection.Out,
            0,
            false,
            0
        )
        local propertiesIn ={
            ["BackgroundColor3"] = Color3.fromRGB(180,180,180),
            ["Size"] = UDim2.new(0,button.Size.X.Offset + sizeDif,0,button.Size.Y.Offset + sizeDif),
        }
        
        ---Activation
        tweenService:Create(button,tweenInfo,propertiesIn):Play()
        if allowClick then
            allowClick = false
            tweenService:Create(button,tweenInfo,propertiesIn):Play()
            allowClick = true
        end
    end
}

return module
#

this is one of the functions inside the module

digital oak
#

yeah and whats wrong w it

twilit parcel
#

it gets abit choppy

#

my method of activation is just this

#

im not sure why it isnt as smooth as when i just insert the code inside the mouse enter function

digital oak
#

 local tweenInfo = TweenInfo.new(
            0.5, --time
            Enum.EasingStyle.Exponential, --Easing style
            Enum.EasingDirection.Out,
            0,
            false,
            0
        )
  local tweenService = game:GetService("TweenService")
local module = {
    expand = function(button,sizeDif)
        ---Control variables
      
        local allowClick = true

        ---Tweening
       
        local propertiesIn ={
            ["BackgroundColor3"] = Color3.fromRGB(180,180,180),
            ["Size"] = UDim2.new(0,button.Size.X.Offset + sizeDif,0,button.Size.Y.Offset + sizeDif),
        }
        
        ---Activation
        tweenService:Create(button,tweenInfo,propertiesIn):Play()
        if allowClick then
            allowClick = false
            tweenService:Create(button,tweenInfo,propertiesIn):Play()
            allowClick = true
        end
    end
}

return module
#

probably wont change shit

#

but test this

#

doesnt set it many times

twilit parcel
#

huh you can put local outside of module?

digital oak
#

yeah?

twilit parcel
#

oooo thats cool

#

first time using module thats all lol

#

mb mb

digital oak
#

nah its okay

twilit parcel
#

nope, its still choppy

#

althought it did make my code looks much cleaner

digital oak
#

iik whyy

#

its because its firing expand many times

#

and not only once

#

its trying to tween the same thing alot of times

outer bridge
#

why wont this work

digital oak
#

u didnt add ,

#

after 2

outer bridge
#

ohhh

#

ty

twilit parcel
#

that makes alot of sense

#

huh doesnt mouse enter only account for once instance tho?

digital oak
#

nope

#

create a connection and disconnect it after it has been entered

twilit parcel
#

uhhh can you elaborate more pls

digital oak
#

yeah

#

after firing expand

#

or even before

silver gale
#

guys should i learn scripting?

digital oak
#

no

#

its hell

#

also u will be stealing my customers

silver gale
#

learn*

digital oak
#

i've been coding since 2019, still shit at it

silver gale
#

but should i?

digital oak
#

i mean if u want to start developing in roblox or any other engine yes

#

even if ure a builder/ui designer

silver gale
#

yea but i cant ssit still and type super long things so i dont think its gone be it i will be stuck at moddeling

#

okay thanks!

glossy ridge
#

how to know when player cliks esc or windows on pc to know if he is afk. Is there any functions for this?

twilit parcel
#

And compare the two together

#

That way if the player were to change the screen in anyway, it would do the comparison

arctic plaza
#

Use window focused event

#

Typically used for when the user has the window active or minimized

#

UIS.WindowFocused and UIS.WindowFocusReleased

neon surge
#

I'm currently making a require script (require(0000000).load("username")). However, I've ran into an issue. When using animations, they won't work in every game due to Roblox's permission thing for animations. How would I make animations work in every game that I run the require script in?

lofty plinth
#

u dont

arctic plaza
neon surge
arctic plaza
#

I think it should work if you own the animation and use it across different games that you own too

#

Is it the sanitized ID issue

neon surge
#

E.G. games that my friends own

arctic plaza
#

Oh they would have to own the animation

#

You can upload the animation as under the group so the group owns the animation as well

glossy ridge
#

how to detect clicks on home button?

neon surge
arctic plaza
#

You can tell your friend to spoof the animation and upload it as their own and edit the module script to use that animation

#

Which would take about a minute

arctic plaza
#

Assuming it’s a image or text button

#

homeButton.Mouse1Clicked:connect()

wide flax
#

um guys why my roblox studio says no internet connection but i am connected to the internet

arctic plaza
wide flax
#

ok ill try

trail turtle
#

What name better Attack on Titan : Surge or Attack on Titan : Shadow Fall

digital oak
#

surge

trail turtle
cunning harness
#

only thing that id allow ai to replace is scripting

neon surge
steep eagle
#

How come when I switch the network ownership to the player, my raycast result returns nil and the shadow freezes? Funny enough it works again whenever it touches the ground?

function moveShadow(Part)
    local Shadow = Part.Shadow
    local ray_origin = Part.Position
    local raycast_params = RaycastParams.new()
    raycast_params.FilterType = Enum.RaycastFilterType.Include
    raycast_params.FilterDescendantsInstances = CourtSurfaces
    local raycast_result = workspace:Raycast(ray_origin, Vector3.yAxis * -1000, raycast_params)
    
    if raycast_result then
        Shadow.Position = raycast_result.Position
    end
end
somber vault
peak oak
#

the part might not be fully replicated to the server

steep eagle
#

i have visualizers on

#

for the network ownership

#

in the video

#

if thats what you mean

peak oak
steep eagle
somber vault
peak oak
peak oak
#

local ray_origin = Part.Position + Vector3.new(0, 1, 0) @steep eagle

somber vault
#

you

somber vault
#

also you

peak oak
#

@steep eagle raycastparams might be over filtering

steep eagle
somber vault
#

me

#

because im cute

peak oak
steep eagle
#

i think it has to do with something related to the switch of ownership

peak oak
#

are u using render stepped

steep eagle
#

heartbeat

peak oak
#

oh

steep eagle
#

this weird asf

peak oak
# steep eagle no

Part:SetNetworkOwner(game.Players.LocalPlayer)

task.wait(0.1)

game:GetService("RunService").RenderStepped:Connect(function()
moveShadow(Part)
end)

steep eagle
#

that wouldnt work tho

#

u only change the network ownership on the server

#

i do moveshadow() on the client

peak oak
#

edited it

steep eagle
#

no but u dont understand

#

u cant change network ownership

#

on the client

peak oak
#

use a remote veent

#

event

steep eagle
#

i already do

peak oak
weak ravine
#

why does my developer product work in local testing but not in team test or roblox?

weak ravine
lunar vector
#
local _, OnScreen = checkingCamera:WorldToScreenPoint(newPlayerDetector.Position)

if OnScreen then
    if #checkingCamera:GetPartsObscuringTarget({checkingCamera.CFrame.Position,newPlayerDetector.Position},{newPlayerDetector}) == 0 then
        -- its on screen and its not obstructed
        skipWaiting = true
    end
end```
if i have this will this work on the server?
lunar vector
# peak oak no

thx but if you know a way to do it on the server pls tell me

peak oak
#

-- Client-side script
local remote = game.ReplicatedStorage:WaitForChild("VisibilityRemote")
local checkingCamera = workspace.CurrentCamera
local newPlayerDetector = workspace.NewPlayerDetector

local function checkVisibility()
local _, OnScreen = checkingCamera:WorldToScreenPoint(newPlayerDetector.Position)
local isObstructed = #checkingCamera:GetPartsObscuringTarget({checkingCamera.CFrame.Position, newPlayerDetector.Position}, {newPlayerDetector}) > 0
remote:FireServer(OnScreen, isObstructed)
end

checkVisibility()

#

-- Server-side script
local remote = game.ReplicatedStorage:WaitForChild("VisibilityRemote")

remote.OnServerEvent:Connect(function(player, OnScreen, isObstructed)
if OnScreen and not isObstructed then
-- do something based on visibility
end
end)

lunar vector
spiral ice
#

is there any good public anti cheat for noclip/flying/ aimbot any of these?

twilit parcel
#

Hello, its me again, question pls

#

after you have disconnected an event, how do you reconnect it?

digital oak
#

@spiral ice dms

#

if u dont understand anything just get some random one

rustic torrent
#

Looking for people with good computers, need help with something for a 1k server dm me

twilit parcel
#

uhh my brain is being dumb rn can someone help pls

local function connection()
    rescale.expand(button,2.5)
end
local enter = button.MouseEnter:Connect(connection)
if enter then
    enter:Disconnect()
    enter = button.MouseEnter:Connect(connection)
end
stuck radish
#

uh

#

what is the point of all those lines

#

its equivalent to just connecting it 💀

sour solstice
#

Is that a good way to use tween or nah? 🤔

twilit parcel
#

so im trying to disconnect and reconnect it

stuck radish
#

the script above won't solve anything

twilit parcel
#

althought ive never done this before so its abit confusing to me

stuck radish
#

or a loop that connects events

twilit parcel
#

i dont think so?

stuck radish
#

disable your scripts one by one

#

until no more memory leak

twilit parcel
#

theres only a module script and a local script that is connected rn

stuck radish
#

send both scripts

twilit parcel
#
local button = script.Parent
local rescale = require(button.Parent:WaitForChild("ReScale"))

local function connection()
    rescale.expand(button,2.5)
end
local function disconnect()
    rescale.shrink(button,2.5)
end
local function clicked()
    rescale.clicked(button,2.5)
end

local enter = button.MouseEnter:Connect(connection)
if enter then
    enter:Disconnect()
    enter = button.MouseEnter:Connect(connection)
end


local leaves = button.MouseLeave:Connect(disconnect)
if leaves then
    leaves:Disconnect()
    leaves = button.MouseLeave:Connect(disconnect)
end

local click = button.MouseButton1Click:Connect(clicked)
if click then
    click:Disconnect()
    click = button.MouseButton1Click:Connect(clicked)
end
#
local tweenService = game:GetService("TweenService")

---Tweening infos
local tweenInfo = TweenInfo.new(
    0.5, --time
    Enum.EasingStyle.Exponential, --Easing style
    Enum.EasingDirection.Out,
    0,
    false,
    0
)

local tweenInfoOther = TweenInfo.new(
    0.08,
    Enum.EasingStyle.Bounce,
    Enum.EasingDirection.Out,
    0,
    true,
    0
)
        
local module = {
    expand = function(button,sizeDif)
        ---Control variables
        local allowClick = true
        
        ---Tweening
        local propertiesIn ={
            ["BackgroundColor3"] = Color3.fromRGB(180,180,180),
            ["Size"] = UDim2.new(0,button.Size.X.Offset + sizeDif,0,button.Size.Y.Offset + sizeDif),
        }

        ---Activation
        tweenService:Create(button,tweenInfo,propertiesIn):Play()
        if allowClick then
            allowClick = false
            tweenService:Create(button,tweenInfo,propertiesIn):Play()
            allowClick = true
        end
    end,
}
return module
twilit parcel
#

the module script has several functions inside of it

#

but they are rather simular so i cropped it out for convinience

warm mulch
#

Does anyone know how to create a character selection?

carmine siren
#

Yo is it impossible to send a players profile picture thru a discord webhook wihtout using a proxy?

signal pewter
somber vault
#

do you guys have any tips to get better at scripting? im working on an easy tycoon game to get better, and i try to understand code when i can..

median tree
somber vault
#

alr thnx

median tree
#

Don’t work on passion project

#

waste of time

somber vault
#

watt

median tree
#

make small things practice

#

join random games and try making some of their systems

somber vault
#

that makes sense

#

i js dont wanna get all exited to make it then i cant

sage phoenix
#

If you can’t people can always point you in the right direction

somber vault
#

ye

#

i allways try to read the roblox web pages about stuff

median tree
#

Yes it is

somber vault
#

but theyre hard to understand

inland bay
#

^hasnt made anything

median tree
#

You’ve never made anything stop

sage phoenix
#

🍿 🧋

median tree
#

don’t work on passion shit you aren’t ready for that yet

somber vault
median tree
#

He wants to practice

#

Don’t be dip shit

#

He can’t make a passion project

open yarrow
#

a nice tip is instead of looking for an entire tutorial about a mechanic you want to implement try to look for the things behind that mechanic (e.g a gun system look up stuff about raycasts)

somber vault