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

I have had some problems with my Script. Can I have some help?

Asked by 4 years ago

I'm trying to make a window that will slide down with the command ";CloseWindow" and open with the command ";OpenWindow"

Can someone help??

https://cdn.discordapp.com/attachments/692111214775631872/833527617868005396/unkno wn.png

01local GroupId = 5708827
02local MinimumRank = 60
03Local Window = game.Workspace.Window
04 
05game.Players.PlayerAdded:Connect(function(Player)
06    Player.Chatted:Connect(function(Message)
07        if.Player:GetRankInGroup(GroupId)>= MinimumRank then
08            if Message == ";CloseWindow" then
09                --CloseWindow
10local TweenService = game:GetService("TweenService")
11local blind1 = script.Parent.WaitForChild("Blind1")
12local blind2 = script.Parent.WaitForChild("Blind2")
13local blind3 = script.Parent.WaitForChild("Blind3")
14local tweeningInformation = TweenInfo.new(
15    0.5,
View all 52 lines...

1 answer

Log in to vote
0
Answered by 4 years ago

Could it be that in line 3 local is written as 'Local'? Other than that I see no problems.

0
I changed that, It didn't work SecretRelevation 5 — 4y
Ad

Answer this question