Universal Script 📌
958 Views
54.9k Executions

Universe tower spawner script

10K executions
Universal Script 📌
Pikangi*
Pikangi*10K executions
3 months ago

Reviewed by QueueSpeedDemonPaid revieweron How review works

Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Spawn towers in any Tower defense games but not all tower defense username (Tanner_v44)

Updates

  1. Script edited: Rolled back to version 9

  2. Script edited: Update script

  3. Script edited: Update script

  4. Script edited: Update script

  5. Script edited: Update script

View Raw
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local UserInputService = game:GetService("UserInputService")
local TweenService = game:GetService("TweenService")

local player = Players.LocalPlayer
if not player then
	warn("TowerHub must run as a LocalScript.")
	return
end

local playerGui = player:WaitForChild("PlayerGui", 15)

if not playerGui then
	warn("TowerHub: PlayerGui was not found.")
	return
end

print("TowerHub: script started")

local oldGui = playerGui:FindFirstChild("TowerHub")

if oldGui then
	oldGui:Destroy()
end

--==================================================
-- FIND UNIT / TOWER FOLDERS
--==================================================

local folderNames = {
	tower = true,
	towers = true,

	unit = true,
	units = true,

	troop = true,
	troops = true,



Comments

8
Log in to join the conversation. Login
User_57482967's profile picture
User_574829672 months ago

Gui won't show please fix it daddy pikangi

2
Pikangi*'s profile picture
Pikangi*Uploader3 months ago

My script got accidentally deleted or something

2
jp05gloria's profile picture
jp05gloria2 months ago

@Pikangi* i thought you delete your script(your script is W

2
User_57482967's profile picture
User_574829672 months ago

Omg bro gui won't show up again

1
Aizoaizowhoisnandel's profile picture
Aizoaizowhoisnandel2 months ago

gng like 3 hours ago the gui won't appear I'm absolutely sure this isn't an executor problem

1
jp05gloria's profile picture
jp05gloria2 months ago

Ohhh ok

1
jp05gloria's profile picture
jp05gloria2 months ago

Yo Pikangi The Gui Does not show up anymore could you Pls Fix It

1
Pikangi*'s profile picture
Pikangi*Uploader2 months ago

@jp05gloria bc the script is not Approved probably

1

Tags

More universal scripts

See all
Script hub
164.6k
562.3k
Bumped 3 hours ago
Key System

Script hub

Hall of Fame #6

Verified script badgeAcro Hub OP SCRIPT

Script hub
3.0k
3.8k
Bumped 4 hours ago
Script hub
271
1.2k
14 hours ago
Key System

Script hub

#9 today

Verified script badgeBlendHub | Easy + Quick

Universal Script 📌
168
86
Approved 6 hours ago
Script hub
174
886
Approved 6 hours ago
Script hub
93
193
Approved 7 hours ago
Universal Script 📌
118
238
Approved 7 hours ago