Self check in tools not work

  1. What do you want to achieve? I want to fix the sci.

  2. What is the issue? It gives the tools but it doesnt work. Like there is menu GUI on tool but it doesnt work.

  3. What solutions have you tried so far? Yes. But not work.

local TweenService = game:GetService("TweenService")

local ScreenUI = script.Parent.Parent.Parent.Parent
local ClassFrame = ScreenUI.ClassFrame
local FlightInfo = ScreenUI.FlightInfoFrame
local RS = game.ReplicatedStorage
local Player = game.Players.LocalPlayer
local Button = script.Parent
local Information = ClassFrame.Information
local OrignialText = Information.Text
local PlayerHasTicket = true

Button.MouseButton1Click:Connect(function()
	if PlayerHasTicket == true then
		Information.Text = "Checking." 
		wait(0.5)
		Information.Text = "Checking.." 
		wait(0.5)
		Information.Text = "Checking..." 
		wait(0.8)
		Information.Text = "Comfirmation Completed."
		wait(0.5)
		Information.Text = "Printing Ticket & Menu."
		wait(0.5)
		Information.Text = "Printing Ticket & Menu.."
		wait(0.5)
		Information.Text = "Printing Ticket & Menu..."
		wait(0.8)
		local clone = RS.Tickets.EC:Clone()
		clone.Parent = Player.Backpack 
		wait(0.5)
		local clone = RS.Menu:Clone()
		clone.Parent = Player.Backpack
		wait(1)
		Information.Text = OrignialText
		TweenService:Create(ClassFrame, TweenInfo.new(0.9, Enum.EasingStyle.Back, Enum.EasingDirection.In), {Position = UDim2.new(0.125, 0, 1.131, 0)}):Play()
		task.wait(0.9)
		TweenService:Create(FlightInfo, TweenInfo.new(0.9, Enum.EasingStyle.Back, Enum.EasingDirection.Out), {Position = UDim2.new(0.125, 0, 0.131, 0)}):Play()
	end
end)




Do you mean you want to archive a system that player must have boarding ticket so they can pass? and the tool must show GUI when equipped?

1 Like