Ad
Log in to vote
0

Can Some One Help Me To Fix This Gui Script?

Asked by 7 years ago
tshirt=("")
gamepassid=0
playersallowed={"MrGameMasters1"}

function check(name) 
    for i = 1,#playersallowed do 
        if (string.upper(name) == string.upper(playersallowed[i])) then return true end 
    end 
    return false 
end 

function click()
if  script.Parent.Parent.Parent.Parent:IsInGroup(224388) and script.Parent.Parent.Parent.Parent:GetRankInGroup(224388) >= 250) then

script.Parent.Parent.Parent.Parent.Character.Torso.CFrame = CFrame.new(Vector3.new(217.482, 4.961, -209.63))
end
end
script.Parent.MouseButton1Down:connect(click)

error on line 13 i want a you have to be in a certain goup rank to get this gui

0
Also for me to answer fully what was the output. HexC3D 830 — 7y
0
this is for a teleport gui mrpoliceman2004 20 — 7y

1 answer

Log in to vote
0
Answered by
HexC3D 830 Moderation Voter
7 years ago
if script.Parent.Parent.Parent.Parent:IsInGroup(224388) and script.Parent.Parent.Parent.Parent:GetRankInGroup(224388) >= 250 then -- Removed the parenthesis.

That is one mistake.

Ad

Answer this question