Advertisement
Guest User

Untitled

a guest
Mar 21st, 2019
310
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.74 KB | None | 0 0
  1. plr = game:GetService("Players").LocalPlayer
  2. hum = plr.Character.Humanoid
  3.  
  4. local GoldSwords = {
  5. game.Workspace.GoldWeaponStandScimitar.StandClicker.CFrame,
  6. game.Workspace.GoldWeaponStandHero.StandClicker.CFrame,
  7. game.Workspace.GoldWeaponStandFirelance.StandClicker.CFrame,
  8. game.Workspace.GoldWeaponStandCyber.StandClicker.CFrame,
  9. game.Workspace.GoldWeaponStandVanquisher.StandClicker.CFrame,
  10. game.Workspace.GoldWeaponStandBreaker.StandClicker.CFrame,
  11. game.Workspace.GoldWeaponStandKatana.StandClicker.CFrame,
  12. game.Workspace.GoldWeaponStandTribal.StandClicker.CFrame
  13. }
  14.  
  15. -- Instances:
  16. local MainGui = Instance.new("ScreenGui")
  17. local Frame = Instance.new("Frame")
  18. local Exit = Instance.new("TextButton")
  19. local AutoTrain = Instance.new("TextButton")
  20. local ToggleOrb = Instance.new("TextButton")
  21. local Heading = Instance.new("TextLabel")
  22. local OrbLabel = Instance.new("TextLabel")
  23. local TrainLabel = Instance.new("TextLabel")
  24. local Status = Instance.new("TextLabel")
  25. local SpawnLabel = Instance.new("TextLabel")
  26. local ToSpawn = Instance.new("TextButton")
  27. local AutoRespawnLabel = Instance.new("TextLabel")
  28. local Respawn = Instance.new("TextButton")
  29. local TextButton = Instance.new("TextButton")
  30.  
  31.  
  32. --Properties:
  33. MainGui.Name = "MainGui"
  34. MainGui.Parent = game.CoreGui
  35.  
  36. Frame.Parent = MainGui
  37. Frame.BackgroundColor3 = Color3.new(1, 0, 1)
  38. Frame.BackgroundTransparency = 0.60000002384186
  39. Frame.Position = UDim2.new(0.402554691, 0, 0.184810162, 0)
  40. Frame.Selectable = true
  41. Frame.Size = UDim2.new(0, 226, 0, 250)
  42. Frame.Active = true
  43. Frame.Draggable = true
  44.  
  45. Exit.Name = "Exit"
  46. Exit.Parent = Frame
  47. Exit.BackgroundColor3 = Color3.new(1, 1, 1)
  48. Exit.BackgroundTransparency = 1
  49. Exit.Position = UDim2.new(0.866306543, 0, 0.0364282131, 0)
  50. Exit.Size = UDim2.new(0, 25, 0, 21)
  51. Exit.Font = Enum.Font.SourceSans
  52. Exit.Text = "X"
  53. Exit.TextColor3 = Color3.new(1, 0, 0.0156863)
  54. Exit.TextScaled = true
  55. Exit.TextSize = 14
  56. Exit.TextWrapped = true
  57.  
  58. Exit.MouseButton1Click:Connect(function()
  59. MainGui:Destroy()
  60. end)
  61.  
  62.  
  63. AutoTrain.Name = "AutoTrain"
  64. AutoTrain.Parent = Frame
  65. AutoTrain.BackgroundColor3 = Color3.new(1, 0, 0)
  66. AutoTrain.Position = UDim2.new(0.760002077, 0, 0.282138348, 0)
  67. AutoTrain.Size = UDim2.new(0, 23, 0, 21)
  68. AutoTrain.Font = Enum.Font.SourceSans
  69. AutoTrain.Text = ""
  70. AutoTrain.TextColor3 = Color3.new(0, 0, 0)
  71. AutoTrain.TextSize = 14
  72.  
  73. trainToggle = false
  74. AutoTrain.MouseButton1Click:Connect(function()
  75. if trainToggle then
  76. trainToggle = false
  77. AutoTrain.BackgroundColor3 = Color3.fromRGB(255,0,0)
  78. else
  79. trainToggle = true
  80. AutoTrain.BackgroundColor3 = Color3.fromRGB(0,255,0)
  81. end
  82. local sword = game.Players.LocalPlayer.Character.TrainingSword
  83. local count = 0
  84. while trainToggle do
  85. wait()
  86. if sword ~= nil then
  87. sword._TrainingSword:FireServer()
  88. count = count+1
  89. if count==1 then
  90. Status.Text = "You can unequip Training Sword now!!"
  91. end
  92. elseif sword==nil and trainToggle==true then
  93. count = 0
  94. Status.Text = "Equip Training Sword!!!"
  95. AutoTrain.BackgroundColor3 = Color3.fromRGB(255,0,0)
  96. trainToggle = false
  97. wait(1)
  98. end
  99. end
  100. end)
  101.  
  102.  
  103. ToggleOrb.Name = "ToggleOrb"
  104. ToggleOrb.Parent = Frame
  105. ToggleOrb.BackgroundColor3 = Color3.new(1, 0, 0)
  106. ToggleOrb.Position = UDim2.new(0.760002196, 0, 0.191543877, 0)
  107. ToggleOrb.Size = UDim2.new(0, 23, 0, 20)
  108. ToggleOrb.Font = Enum.Font.SourceSans
  109. ToggleOrb.Text = ""
  110. ToggleOrb.TextColor3 = Color3.new(0, 0, 0)
  111. ToggleOrb.TextSize = 14
  112.  
  113. orbToggle = false
  114. ToggleOrb.MouseButton1Click:Connect(function()
  115. if orbToggle then
  116. orbToggle = false
  117. ToggleOrb.BackgroundColor3 = Color3.fromRGB(255,0,0)
  118. else
  119. orbToggle = true
  120. Status.Text = "Teleporting Orbs to you..."
  121. ToggleOrb.BackgroundColor3 = Color3.fromRGB(0,255,0)
  122. end
  123. while orbToggle do
  124. wait()
  125. workspace:WaitForChild("XpOrb"):WaitForChild("Part").CFrame = plr.Character.HumanoidRootPart.CFrame
  126. end
  127. end)
  128.  
  129.  
  130. Heading.Name = "Heading"
  131. Heading.Parent = Frame
  132. Heading.BackgroundColor3 = Color3.new(1, 1, 1)
  133. Heading.BackgroundTransparency = 1
  134. Heading.Position = UDim2.new(0.179882258, 0, 0.0379248261, 0)
  135. Heading.Size = UDim2.new(0, 134, 0, 26)
  136. Heading.Font = Enum.Font.SourceSans
  137. Heading.Text = "Ninja Wizard GUI"
  138. Heading.TextColor3 = Color3.new(1, 0, 0)
  139. Heading.TextScaled = true
  140. Heading.TextSize = 14
  141. Heading.TextStrokeTransparency = 0.20000000298023
  142. Heading.TextWrapped = true
  143.  
  144. OrbLabel.Name = "OrbLabel"
  145. OrbLabel.Parent = Frame
  146. OrbLabel.BackgroundColor3 = Color3.new(0, 0.266667, 1)
  147. OrbLabel.BackgroundTransparency = 0.40000000596046
  148. OrbLabel.Position = UDim2.new(0.0701510012, 0, 0.187564999, 0)
  149. OrbLabel.Size = UDim2.new(0, 128, 0, 23)
  150. OrbLabel.Font = Enum.Font.SourceSans
  151. OrbLabel.Text = "ORBS Teleport"
  152. OrbLabel.TextColor3 = Color3.new(0, 0, 0)
  153. OrbLabel.TextScaled = true
  154. OrbLabel.TextSize = 14
  155. OrbLabel.TextWrapped = true
  156.  
  157. TrainLabel.Name = "TrainLabel"
  158. TrainLabel.Parent = Frame
  159. TrainLabel.BackgroundColor3 = Color3.new(0, 0.266667, 1)
  160. TrainLabel.BackgroundTransparency = 0.40000000596046
  161. TrainLabel.Position = UDim2.new(0.0701510012, 0, 0.278384477, 0)
  162. TrainLabel.Size = UDim2.new(0, 128, 0, 24)
  163. TrainLabel.Font = Enum.Font.SourceSans
  164. TrainLabel.Text = "Auto-Train"
  165. TrainLabel.TextColor3 = Color3.new(0, 0, 0)
  166. TrainLabel.TextScaled = true
  167. TrainLabel.TextSize = 14
  168. TrainLabel.TextWrapped = true
  169.  
  170. Status.Name = "Status"
  171. Status.Parent = Frame
  172. Status.BackgroundColor3 = Color3.new(0.92549, 1, 0.0784314)
  173. Status.BackgroundTransparency = 0.40000000596046
  174. Status.Position = UDim2.new(0.0611939505, 0, 0.725567043, 0)
  175. Status.Size = UDim2.new(0, 185, 0, 58)
  176. Status.Font = Enum.Font.SourceSans
  177. Status.Text = ""
  178. Status.TextColor3 = Color3.new(0, 0, 0)
  179. Status.TextScaled = true
  180. Status.TextWrapped = true
  181.  
  182. SpawnLabel.Name = "SpawnLabel"
  183. SpawnLabel.Parent = Frame
  184. SpawnLabel.BackgroundColor3 = Color3.new(0, 0.266667, 1)
  185. SpawnLabel.BackgroundTransparency = 0.40000000596046
  186. SpawnLabel.Position = UDim2.new(0.0745757818, 0, 0.374384463, 0)
  187. SpawnLabel.Size = UDim2.new(0, 128, 0, 24)
  188. SpawnLabel.Font = Enum.Font.SourceSans
  189. SpawnLabel.Text = "To Spawn at low health"
  190. SpawnLabel.TextColor3 = Color3.new(0, 0, 0)
  191. SpawnLabel.TextScaled = true
  192. SpawnLabel.TextSize = 14
  193. SpawnLabel.TextWrapped = true
  194.  
  195. ToSpawn.Name = "ToSpawn"
  196. ToSpawn.Parent = Frame
  197. ToSpawn.BackgroundColor3 = Color3.new(1, 0, 0)
  198. ToSpawn.Position = UDim2.new(0.760002136, 0, 0.378138363, 0)
  199. ToSpawn.Size = UDim2.new(0, 23, 0, 21)
  200. ToSpawn.Font = Enum.Font.SourceSans
  201. ToSpawn.Text = ""
  202. ToSpawn.TextColor3 = Color3.new(0, 0, 0)
  203. ToSpawn.TextSize = 14
  204.  
  205. spawnToggle = false
  206. spawnDebounce = false
  207. ToSpawn.MouseButton1Click:Connect(function()
  208. if spawnToggle then
  209. spawnToggle = false
  210. ToSpawn.BackgroundColor3 = Color3.fromRGB(255,0,0)
  211. else
  212. spawnToggle = true
  213. ToSpawn.BackgroundColor3 = Color3.fromRGB(0,255,0)
  214. end
  215. end)
  216.  
  217. hum.HealthChanged:Connect(function(health)
  218. if spawnDebounce then
  219. if (health>30) then
  220. spawnDebounce = false
  221. end
  222. wait(1)
  223. if health == 0 then
  224. Status.Text = "Failed Teleport!!"
  225. AutoTrain.BackgroundColor3 = Color3.fromRGB(255,0,0)
  226. trainToggle = false
  227. end
  228. else
  229. if health<=30 and spawnToggle then
  230. plr.Character.HumanoidRootPart.CFrame = CFrame.new(-584,100,-8)
  231. Status.Text = "Low Health!! Teleported to Spawn"
  232. spawnDebounce = true
  233. elseif health == 0 then
  234. AutoTrain.BackgroundColor3 = Color3.fromRGB(255,0,0)
  235. trainToggle = false
  236. end
  237. end
  238. end)
  239.  
  240.  
  241. AutoRespawnLabel.Name = "AutoRespawnLabel"
  242. AutoRespawnLabel.Parent = Frame
  243. AutoRespawnLabel.BackgroundColor3 = Color3.new(0, 0.266667, 1)
  244. AutoRespawnLabel.BackgroundTransparency = 0.40000000596046
  245. AutoRespawnLabel.Position = UDim2.new(0.0745757818, 0, 0.46638453, 0)
  246. AutoRespawnLabel.Size = UDim2.new(0, 128, 0, 24)
  247. AutoRespawnLabel.Font = Enum.Font.SourceSans
  248. AutoRespawnLabel.Text = "Auto-Respawn"
  249. AutoRespawnLabel.TextColor3 = Color3.new(0, 0, 0)
  250. AutoRespawnLabel.TextScaled = true
  251. AutoRespawnLabel.TextSize = 14
  252. AutoRespawnLabel.TextWrapped = true
  253.  
  254. Respawn.Name = "Respawn"
  255. Respawn.Parent = Frame
  256. Respawn.BackgroundColor3 = Color3.new(1, 0, 0)
  257. Respawn.Position = UDim2.new(0.760002136, 0, 0.478138298, 0)
  258. Respawn.Size = UDim2.new(0, 23, 0, 21)
  259. Respawn.Font = Enum.Font.SourceSans
  260. Respawn.Text = ""
  261. Respawn.TextColor3 = Color3.new(0, 0, 0)
  262. Respawn.TextSize = 14
  263.  
  264. AutoRespawnToggle = false
  265. Respawn.MouseButton1Click:Connect(function()
  266. if AutoRespawnToggle then
  267. AutoRespawnToggle = false
  268. Respawn.BackgroundColor3 = Color3.fromRGB(255,0,0)
  269. else
  270. AutoRespawnToggle = true
  271. Respawn.BackgroundColor3 = Color3.fromRGB(0,255,0)
  272. end
  273. end)
  274. plr.Character.Humanoid.Died:Connect(function()
  275. if AutoRespawnToggle then
  276. if game.Lighting.DeathBlur~=nil then
  277. game.Lighting.DeathBlur:Destroy()
  278. game.Lighting.DeathColorCorrection:Destroy()
  279. plr.PlayerGui.GuiRoot.DeathScreen:Destroy()
  280. end
  281. game:GetService("ReplicatedStorage")["_ActionRemote"]:FireServer("RequestRespawn", "RANDOM")
  282. end
  283. end)
  284.  
  285. TextButton.Parent = Frame
  286. TextButton.BackgroundColor3 = Color3.new(1, 1, 0.0235294)
  287. TextButton.BackgroundTransparency = 0.5
  288. TextButton.Position = UDim2.new(0.14159292, 0, 0.560000002, 0)
  289. TextButton.Size = UDim2.new(0, 162, 0, 31)
  290. TextButton.Font = Enum.Font.Highway
  291. TextButton.Text = "Unlock All Gold Swords"
  292. TextButton.TextColor3 = Color3.new(0.0745098, 0.0117647, 1)
  293. TextButton.TextScaled = true
  294. TextButton.TextSize = 14
  295. TextButton.TextStrokeTransparency = 0.89999997615814
  296. TextButton.TextWrapped = true
  297.  
  298. TextButton.MouseButton1Click:Connect(function()
  299. for i,v in pairs(GoldSwords) do
  300. wait(.5)
  301. plr.Character.HumanoidRootPart.CFrame = v
  302. end
  303. end)
  304.  
  305.  
  306. print("Loaded Ninja Wizard Gui!! \n By Arcane (Discord : Arcane#1735)")
  307.  
  308. Status.Text = "WELCOME to Ninja Wizard Gui!! By Arcane (Discord : Arcane#1735)"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement