#Why my script does not work for several partsIt only works for one part

44 messages · Page 1 of 1 (latest)

ornate canyon
#

pls help me in script my script have bug

spare ether
#

Hey

#

I will run some testing on it and try help you

#
while task.wait() do
    if game.Lighting.ClockTime >= 7 and game.Lighting.ClockTime <= 18 then
        game.Workspace.light.PointLight.Enabled = false
    else
        game.Workspace.light.PointLight.Enabled = true
    end
end```
#

alr give me a minute

ornate canyon
ornate canyon
spare ether
#

What do you want it to do exactly?

#

When its getting darker, enable a torch type of thing?

#

@ornate canyon

#

Can you send me a screenshot

ornate canyon
#

I want to light up several trees at night
This script works but only if it is a tree

spare ether
#

of the parts you're on about

ornate canyon
#

can i sterem for you?

spare ether
#

sure

#

make it fast

ornate canyon
#

ah i cant

spare ether
#

why not?

ornate canyon
#

i dont know

#

pls give me time

spare ether
#

im tryna call u

#

try it rq

ornate canyon
sharp snow
#

what is the problem

ornate canyon
#

.

spare ether
#

Illusion

cold mirageBOT
#

studio** You are now Level 12! **studio

spare ether
#

help me I can't get it working

ornate canyon
#

The script only works for one part, not for all

spare ether
#

I'll quickly explain

spare ether
#

Have fun

sharp snow
#

@ornate canyon can you vc ?

ornate canyon
sharp snow
#

join general 2

spare ether
#

shit was confusing me

sharp snow
#

i think i know where the problem is

spare ether
#

i know where it is

#

fuck knows how to fix it

sharp snow
#

i kinda fixed it

#

it works

#

but

#

really really unoptimized

#

if i show the script in #📜︱scripting im just getting racial hate at this point 💀