Run it
Copy the script and paste it into your executor.
ReplicatedStorage = :()
Players = :()
(name)
_, descendant (ReplicatedStorage:())
descendant:() descendant:()
descendant.Name == name
descendant
towers = (ReplicatedStorage:())
getDataFunc = ()
interactItemFunc = ()
player = Players.LocalPlayer
playerGui = player:()
screenGui = .()
screenGui.Name =
screenGui.ResetOnSpawn =
screenGui.Parent = playerGui
frame = .()
frame.Name =
frame.Size = .(, , , )
frame.Position = .(, -, , )
frame.BackgroundColor3 = .(, , )
frame.BorderSizePixel =
frame.Parent = screenGui
corner = .()
corner.CornerRadius = .(, )
corner.Parent = frame
title = .()
title.Name =
title.Size = .(, -, , )
title.Position = .(, , , )
title.BackgroundTransparency =
title.Font = .Font.GothamBold
title.TextSize =
title.TextColor3 = .(, , )
title.TextXAlignment = .TextXAlignment.Left
title.Text =
title.Parent = frame
starsLabel = .()
starsLabel.Name =
starsLabel.Size = .(, -, , )
starsLabel.Position = .(, , , )
starsLabel.BackgroundTransparency =
starsLabel.Font = .Font.Gotham
starsLabel.TextSize =
starsLabel.TextColor3 = .(, , )
starsLabel.TextXAlignment = .TextXAlignment.Left
starsLabel.Text =
starsLabel.Parent = frame
textBox = .()
textBox.Name =
textBox.Size = .(, -, , )
textBox.Position = .(, , , )
textBox.BackgroundColor3 = .(, , )
textBox.BorderSizePixel =
textBox.Font = .Font.Gotham
textBox.TextSize =
textBox.TextColor3 = .(, , )
textBox.PlaceholderText =
textBox.Text =
textBox.Parent = frame
textBoxCorner = .()
textBoxCorner.CornerRadius = .(, )
textBoxCorner.Parent = textBox
buyButton = .()
buyButton.Name =
buyButton.Size = .(, -, , )
buyButton.Position = .(, , , )
buyButton.BackgroundColor3 = .(, , )
buyButton.BorderSizePixel =
buyButton.Font = .Font.GothamBold
buyButton.TextSize =
buyButton.TextColor3 = .(, , )
buyButton.Text =
buyButton.Parent = frame
buyCorner = .()
buyCorner.CornerRadius = .(, )
buyCorner.Parent = buyButton
statusLabel = .()
statusLabel.Name =
statusLabel.Size = .(, -, , )
statusLabel.Position = .(, , , -)
statusLabel.BackgroundTransparency =
statusLabel.Font = .Font.Gotham
statusLabel.TextSize =
statusLabel.TextColor3 = .(, , )
statusLabel.TextXAlignment = .TextXAlignment.Left
statusLabel.Text =
statusLabel.Parent = frame
toggleButton = .()
toggleButton.Name =
toggleButton.Size = .(, , , )
toggleButton.Position = .(, -, , )
toggleButton.BackgroundColor3 = .(, , )
toggleButton.BorderSizePixel =
toggleButton.Font = .Font.GothamBold
toggleButton.TextSize =
toggleButton.TextColor3 = .(, , )
toggleButton.Text =
toggleButton.Visible =
toggleButton.Parent = screenGui
toggleCorner = .()
toggleCorner.CornerRadius = .(, )
toggleCorner.Parent = toggleButton
()
getDataFunc
data = getDataFunc:()
data
starsLabel.Text = .. (data.Stars)
data
(text, color)
statusLabel.Text = text
statusLabel.TextColor3 = color .(, , )
()
interactItemFunc
(, .(, , ))
towerName = textBox.Text
towerName ==
(, .(, , ))
towerData = towers[towerName]
towerData
( .. towerName .. , .(, , ))
getDataFunc
(, .(, , ))
playerData = getDataFunc:()
playerData
(, .(, , ))
.(playerData.OwnedTowers, towerName)
(, .(, , ))
result = interactItemFunc:(towerName)
result
starsLabel.Text = .. (result.Stars)
( .. towerName .. , .(, , ))
textBox.Text =
(, .(, , ))
buyButton.Activated:(buyTower)
toggleButton.Activated:(()
frame.Visible =
toggleButton.Visible =
()
)
()
()You Can Buy Towers from the TowerShop (work on tower defense games that use gnome code ONLY) if the game allows you can buy hidden towers in the shop that are 0 price or idk How I Know if a Game uses Gnome Code kit?: Load up Infinite Yeld and Put "Dex" its a recriation of Roblox Studio's Explorer (you cant see SSS and SS (ServerScriptService and ServerStorage) look in the Replicated Storage and try to Find something like "TowerShop" or "GetData" and "InteractItem" if theres these 3 in the Game it supports the Script (if the game has a different currency the star count might bug) the star count says how much currency you have.

Universal