#Problems with gui

33 messages · Page 1 of 1 (latest)

grim skiff
#

Gui script:

script.Parent.MouseButton1Click:Connect(function()
    script.Parent.Parent:Destroy()
end)
#

Physical page script (badge included but irrelevant):

local ClickerDetector = script.Parent.ClickDetector
local badgeservice = game:GetService("BadgeService")
local id = 1871762446630590

ClickerDetector.MouseClick:Connect(function(plr)
    if badgeservice:UserHasBadgeAsync(plr.UserId,id) then
        if not plr.PlayerGui:FindFirstChild("PageUI") then
            local guiclone = script.Parent.PageUI:Clone()
            guiclone.Parent = plr.PlayerGui
        end
    else
        badgeservice:AwardBadge(plr.UserId,id)
        local sound = plr.PlayerGui.badgesound:Play()
        if not plr.PlayerGui:FindFirstChild("PageUI") then
            local guiclone = script.Parent.PageUI:Clone()
            guiclone.Parent = plr.PlayerGui
        end
    end
end)
still lance
grim skiff
grim skiff
#

yes

still lance
#

Why?

grim skiff
#

because why not

#

its easier

still lance
#

No its not

grim skiff
#

how

still lance
grim skiff
#

its better to simply have one then like 5000 that control everything

still lance
#

No

#

Its not

grim skiff
#

i want my page script to be more dynamic

#

wait one sec

still lance
#

Instances doesnt inherit the same events on both server and client

#

Client is where all input and gui should be handled. Local progress should be shown used local scripts too

#

Server is where all data and server wide things should be handled. But dont handle animations and such on the server. Use a remote to tell all clients to play the anim instead

#

One script containing a full games logic is simply not possible

grim skiff
#

Prepare to be amazed as I embark on an extraordinary coding experiment in Roblox Studio! In 'I Made a ROBLOX Game With 1 LINE of Code!', I push the boundaries of Roblox Studio game development to the extreme. Witness the power of concise programming as I create a fully functional and entertaining Roblox game using just one line of code. From con...

▶ Play video
still lance
#

Does these games have any gui?

#

No

#

.

#

Does these games require custom input systems?

#

No

#

.

#

Are all the systems for these games able to run on server?

#

Yes

#

@grim skiff

grim skiff
#

no i fixed it