Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do i make another code like from simulators because it underlines elseif? [closed]

Asked by 4 years ago

Hello, im new here so here is a twiiter code script but how do i add another code because it underlines elseif Script:

01-- variables
02local player = game.Players.LocalPlayer
03local event = game.ReplicatedStorage.Code
04local code = player:FindFirstChild("Codes")
05local codetable = {
06    code1 = "Welcome",
07    code2 = "Release",
08}
09 
10-- optional code if you want your codes to expire after a time
11local date = os.date("*t", os.time())
12 
13script.Parent.MouseButton1Click:Connect(function()
14    if script.Parent.Parent.Parent.CodeHandle.Text ~= "code1" then
15        -- example of a code that can expire
View all 66 lines...
0
Could you please explain it a bit better, i am not quite sure what do you mean, errors in output? what color is underline? imKirda 4491 — 4y

Closed as Not Constructive by JesseSong

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?