Jump to content

Welcome to Gaming On Steroids Forums
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account
Photo

[Patch 10.X] Twisted Fate - Card Selector

card selector twisted fate card key press tf script twisted fate gos gos tf

  • Please log in to reply
2 replies to this topic

#1
Ark223

Ark223

    Advanced Member

  • Members
  • 394 posts
Simple card selector for Twisted Fate:
+ select a card by pressing key (menu config)
+ always picks the golden card on teleport with R

Create a file in Scripts folder, name it as
CardSelector.lua and copy-paste the code below.
Mark it in a GoS loader and start the game. Enjoy!

__ Code __

Callback.Add("Load", function()
	local card, timer = 0, 0
	local function HasGate()
		for i = 0, myHero.buffCount do local buff = myHero:GetBuff(i)
			if buff.name == "Gate" and buff.count > 0 then return true end
		end; return false
	end
	local site = "https://raw.githubusercontent.com/Ark223/LoL-Icons/master/TwistedFate"
	local menu = MenuElement({id = "CardSelector", name = "Card Selector", type = MENU, leftIcon = site .. "W.png"})
	menu:MenuElement({id = "Gold", name = "Gold Card", key = string.byte("W"), leftIcon = site .. "GoldCard.png"})
	menu:MenuElement({id = "Red", name = "Red Card", key = string.byte("E"), leftIcon = site .. "RedCard.png"})
	menu:MenuElement({id = "Blue", name = "Blue Card", key = string.byte("Z"), leftIcon = site .. "BlueCard.png"})
	Callback.Add("Tick", function()
		if Game.CanUseSpell(_W) ~= 0 then return end
		local name = myHero:GetSpellData(_W).name
		if name == "PickACard" and Game.Timer() - timer > 0.25 then
			local m1, m2, m3 = menu.Gold:Value() or HasGate(),
				menu.Red:Value(), menu.Blue:Value()
			card = m1 and 1 or m2 and 2 or m3 and 3 or 0
			if card ~= 0 then
				_G.Control.CastSpell(HK_W)
				timer = Game.Timer()
			end
		elseif card == 1 and name == "GoldCardLock"
			or card == 2 and name == "RedCardLock"
			or card == 3 and name == "BlueCardLock"
			then _G.Control.CastSpell(HK_W)
		end
	end)
end)

  • 3

#2
Aristo

Aristo

    You donut

  • Moderator
  • 13,009 posts
  • LocationSomewhere over the rainbow

ARK SCRIPTS

 avatars-000472781076-h5gx9u-t500x500.jpg


  • 0

#3
Yamato

Yamato

    Advanced Member

  • Members
  • 42 posts

Sweet


  • 0





Also tagged with one or more of these keywords: card selector, twisted fate, card key press, tf script, twisted fate gos, gos tf

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users