#Help me please.

1 messages · Page 1 of 1 (latest)

teal tapir
#

look theres some thing like it has a chance and stuff like normal day blood moon and night like that ok theres also a countdown and there's a day counter every day it chooses one of the things ok?
i want it to stay the same stored ok stored kinda like scp 3008 because
the problem is
if someone resets it resets for everyone thats the problem i want it unchangable

ember wing
#

You gotta be more specific and provide some code mate

fading zinc
lime salmon
#

had a hard time reading that, but i think he wants datatores?

fading zinc
#

i think he wants the full script for his game

teal tapir
#

ok

#

please help

#

its in the ui

#

this is the ui

#

@ember wing

#

it works

#

but

#

when

#

someone resets it resets

#

and glitches

#

i want it to be same for everyone

#

ping me if u come

peak heart
#

HOLY ELSEIFFFFFFFFFFFFFFFFFFFFF

#
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local incrementDayEvent = ReplicatedStorage:WaitForChild("IncrementDay")
fog = game.Lighting
script.Parent.Parent.Count.Text = 0 

while true do
    local time = 5
    for i = 1, 5 do
        wait(1) 
        time = time - 1 
        script.Parent.Text = tostring(time) 
    end 
    script.Parent.Text = "New Day"
    -- Instead of incrementing the label directly, fire the event to increment the day
    script.Parent.Parent.Count.Text = script.Parent.Parent.Count.Text + 1
    
local function choose()
        return math.random(1, 1000)
    end

    wait(1)
    local randomNumber = choose()
end```
#
--elseif part
    if randomNumber < 50 and randomNumber > 0 then
        script.Parent.Parent.Parent.Frame.Event.Text = "Normal Day"
    elseif randomNumber < 100 and randomNumber > 50 then
        fog.Foggy.Color = Color3.new(0, 0, 0)
        script.Parent.Parent.Parent.Frame.Event.Text = "Normal Night"
    elseif randomNumber > 100 and randomNumber < 105 then
        script.Parent.Parent.Parent.Frame.Event.Text = "Weird Day??"
    elseif randomNumber < 10 and randomNumber > 0 then
        script.Parent.Parent.Parent.Frame.Event.Text = "..."
    elseif randomNumber < 500 and randomNumber > 450 then
        script.Parent.Parent.Parent.Frame.Event.Text = "Bloodmoon"
    elseif randomNumber < 600 and randomNumber > 550 then
        script.Parent.Parent.Parent.Frame.Event.Text = "Safe Day"
    elseif randomNumber < 1001 and randomNumber > 999 then
        script.Parent.Parent.Parent.Frame.Event.Text = "TUNG TUNG SAHUR DAY!!"
    elseif randomNumber < 0 and randomNumber > 0 then
        script.Parent.Parent.Parent.Frame.Event.Text = "DEVELOPER DAYY!!"
    elseif randomNumber < 700 and randomNumber > 690 then
script.Parent.Parent.Parent.Frame.Event.Text = "Sunny Day"
fog.Foggy.Color = Color3.new(0.780392, 0.67451, 0.0862745)
    elseif randomNumber < 400 and randomNumber > 375 then
script.Parent.Parent.Parent.Frame.Event.Text = "Moon Day"
fog.Foggy.Color = Color3.new(0, 0, 0)
    end```
peak heart
#

it doesn't help that you used gpt for your code

peak heart
#

your code doesn't even work

#

this is made by ai but you changed it and it probably doesn't work anymore

#

wasted 18 minutes trying to fix it

peak heart
#

@lime salmon ??

lime salmon
#

if it's not working because you reset it's probably just because the script is in startercharacterscripts and not starterplayerscripts

#

blatantly ai code though

peak heart
#

it ain't my code

#

why react to mine

lime salmon
#

ik its not

#

there's so many elseif statements

peak heart
#

react his

lime salmon
#

ok??

teal tapir
#

Its in a gui in starter gui