Advertisement
memberhero

test2 with health bar

Mar 21st, 2018
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 35.22 KB | None | 0 0
  1. ---Converted By basstracker1970
  2. ---Orginal Script By Huge_Nazo
  3. --Converted with ttyyuu12345's model to script plugin v4
  4.  
  5. --Converted with ttyyuu12345's model to script plugin v4
  6. function sandbox(var,func)
  7. local env = getfenv(func)
  8. local newenv = setmetatable({},{
  9. __index = function(self,k)
  10. if k=="script" then
  11. return var
  12. else
  13. return env[k]
  14. end
  15. end,
  16. })
  17. setfenv(func,newenv)
  18. return func
  19. end
  20. cors = {}
  21. mas = Instance.new("Model",game:GetService("Lighting"))
  22. Part0 = Instance.new("Part")
  23. SurfaceGui1 = Instance.new("SurfaceGui")
  24. TextLabel2 = Instance.new("TextLabel")
  25. TextLabel3 = Instance.new("TextLabel")
  26. TextLabel4 = Instance.new("TextLabel")
  27. LocalScript5 = Instance.new("LocalScript")
  28. SurfaceGui6 = Instance.new("SurfaceGui")
  29. TextLabel7 = Instance.new("TextLabel")
  30. TextLabel8 = Instance.new("TextLabel")
  31. TextLabel9 = Instance.new("TextLabel")
  32. LocalScript10 = Instance.new("LocalScript")
  33. BlockMesh11 = Instance.new("BlockMesh")
  34. Script12 = Instance.new("Script")
  35. Part0.Name = "HealthBar"
  36. Part0.Parent = mas
  37. Part0.Material = Enum.Material.Slate
  38. Part0.BrickColor = BrickColor.new("Fossil")
  39. Part0.CanCollide = false
  40. Part0.Size = Vector3.new(2, 0.400000006, 0.200000003)
  41. Part0.CFrame = CFrame.new(-39, 5.80001211, -46, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  42. Part0.Color = Color3.new(0.623529, 0.631373, 0.67451)
  43. Part0.Position = Vector3.new(-39, 5.80001211, -46)
  44. Part0.Color = Color3.new(0.623529, 0.631373, 0.67451)
  45. SurfaceGui1.Name = "FrontHealth"
  46. SurfaceGui1.Parent = Part0
  47. SurfaceGui1.CanvasSize = Vector2.new(200, 50)
  48. TextLabel2.Name = "Border2"
  49. TextLabel2.Parent = SurfaceGui1
  50. TextLabel2.Size = UDim2.new(1, 0, 1, 0)
  51. TextLabel2.Text = ""
  52. TextLabel2.Active = true
  53. TextLabel2.BackgroundColor3 = Color3.new(1, 0, 0)
  54. TextLabel2.BorderColor3 = Color3.new(0.223529, 0.223529, 0.223529)
  55. TextLabel2.BorderSizePixel = 13
  56. TextLabel2.ZIndex = 2
  57. TextLabel2.Font = Enum.Font.SourceSans
  58. TextLabel2.FontSize = Enum.FontSize.Size14
  59. TextLabel3.Name = "Border1"
  60. TextLabel3.Parent = SurfaceGui1
  61. TextLabel3.Size = UDim2.new(1, 0, 1, 0)
  62. TextLabel3.Text = ""
  63. TextLabel3.Active = true
  64. TextLabel3.BackgroundColor3 = Color3.new(1, 0, 0)
  65. TextLabel3.BorderColor3 = Color3.new(0.313726, 0.313726, 0.313726)
  66. TextLabel3.BorderSizePixel = 15
  67. TextLabel3.Font = Enum.Font.SourceSans
  68. TextLabel3.FontSize = Enum.FontSize.Size14
  69. TextLabel4.Name = "Health"
  70. TextLabel4.Parent = SurfaceGui1
  71. TextLabel4.Size = UDim2.new(1, 0, 1, 0)
  72. TextLabel4.Text = ""
  73. TextLabel4.Active = true
  74. TextLabel4.BackgroundColor3 = Color3.new(0, 1, 0)
  75. TextLabel4.BorderColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  76. TextLabel4.BorderSizePixel = 0
  77. TextLabel4.ZIndex = 3
  78. TextLabel4.Font = Enum.Font.SourceSans
  79. TextLabel4.FontSize = Enum.FontSize.Size14
  80. LocalScript5.Name = "HealthScript"
  81. LocalScript5.Parent = TextLabel4
  82. table.insert(cors,sandbox(LocalScript5,function()
  83. local Humanoid = script.Parent.Parent.Parent.Parent.Humanoid
  84. local HealthMath = Humanoid.Health / (Humanoid.MaxHealth)
  85.  
  86. -- script.Parent:TweenSize(UDim2.new(HealthMath,0,1,0), "Out", "Shine", .5)
  87.  
  88. Humanoid.HealthChanged:connect(function()
  89.  
  90. local HealthMath = Humanoid.Health / (Humanoid.MaxHealth)
  91. script.Parent:TweenSize(UDim2.new(HealthMath,0,1,0), Enum.EasingDirection.Out, Enum.EasingStyle.Bounce, 0.1)
  92.  
  93.  
  94. end)
  95.  
  96. end))
  97. SurfaceGui6.Name = "BackHealth"
  98. SurfaceGui6.Parent = Part0
  99. SurfaceGui6.Face = Enum.NormalId.Back
  100. SurfaceGui6.CanvasSize = Vector2.new(200, 50)
  101. TextLabel7.Name = "Border2"
  102. TextLabel7.Parent = SurfaceGui6
  103. TextLabel7.Size = UDim2.new(1, 0, 1, 0)
  104. TextLabel7.Text = ""
  105. TextLabel7.Active = true
  106. TextLabel7.BackgroundColor3 = Color3.new(1, 0, 0)
  107. TextLabel7.BorderColor3 = Color3.new(0.223529, 0.223529, 0.223529)
  108. TextLabel7.BorderSizePixel = 13
  109. TextLabel7.ZIndex = 2
  110. TextLabel7.Font = Enum.Font.SourceSans
  111. TextLabel7.FontSize = Enum.FontSize.Size14
  112. TextLabel8.Name = "Border1"
  113. TextLabel8.Parent = SurfaceGui6
  114. TextLabel8.Size = UDim2.new(1, 0, 1, 0)
  115. TextLabel8.Text = ""
  116. TextLabel8.Active = true
  117. TextLabel8.BackgroundColor3 = Color3.new(1, 0, 0)
  118. TextLabel8.BorderColor3 = Color3.new(0.313726, 0.313726, 0.313726)
  119. TextLabel8.BorderSizePixel = 15
  120. TextLabel8.Font = Enum.Font.SourceSans
  121. TextLabel8.FontSize = Enum.FontSize.Size14
  122. TextLabel9.Name = "Health"
  123. TextLabel9.Parent = SurfaceGui6
  124. TextLabel9.Size = UDim2.new(1, 0, 1, 0)
  125. TextLabel9.Text = ""
  126. TextLabel9.Active = true
  127. TextLabel9.BackgroundColor3 = Color3.new(0, 1, 0)
  128. TextLabel9.BorderColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  129. TextLabel9.BorderSizePixel = 0
  130. TextLabel9.ZIndex = 3
  131. TextLabel9.Font = Enum.Font.SourceSans
  132. TextLabel9.FontSize = Enum.FontSize.Size14
  133. LocalScript10.Name = "HealthScript"
  134. LocalScript10.Parent = TextLabel9
  135. table.insert(cors,sandbox(LocalScript10,function()
  136. local Humanoid = script.Parent.Parent.Parent.Parent.Humanoid
  137. local HealthMath = Humanoid.Health / (Humanoid.MaxHealth)
  138.  
  139. -- script.Parent:TweenSize(UDim2.new(HealthMath,0,1,0), "Out", "Shine", .5)
  140.  
  141. Humanoid.HealthChanged:connect(function()
  142.  
  143. local HealthMath = Humanoid.Health / (Humanoid.MaxHealth)
  144. script.Parent:TweenSize(UDim2.new(HealthMath,0,1,0), Enum.EasingDirection.Out, Enum.EasingStyle.Bounce, 0.1)
  145.  
  146.  
  147. end)
  148.  
  149. end))
  150. BlockMesh11.Parent = Part0
  151. BlockMesh11.Scale = Vector3.new(1.14999998, 1.62, 1)
  152. BlockMesh11.Scale = Vector3.new(1.14999998, 1.62, 1)
  153. Script12.Name = "FloatAboveHead"
  154. Script12.Parent = Part0
  155. table.insert(cors,sandbox(Script12,function()
  156. wait(0.01)
  157. local weld = Instance.new("Weld", script.Parent)
  158. weld.Part0 = script.Parent.Parent.Head
  159. weld.Part1 = script.Parent
  160. weld.C0 = script.Parent.Parent.Head.CFrame:inverse()
  161. weld.C1 = (script.Parent.Parent.Head.CFrame + Vector3.new(0,2,0)):inverse()
  162. end))
  163. for i,v in pairs(mas:GetChildren()) do
  164. v.Parent = game:GetService("Players").LocalPlayer.Character
  165. pcall(function() v:MakeJoints() end)
  166. end
  167. mas:Destroy()
  168. for i,v in pairs(cors) do
  169. spawn(function()
  170. pcall(v)
  171. end)
  172. end
  173.  
  174. function sandbox(var,func)
  175. local env = getfenv(func)
  176. local newenv = setmetatable({},{
  177. __index = function(self,k)
  178. if k=="script" then
  179. return var
  180. else
  181. return env[k]
  182. end
  183. end,
  184. })
  185. setfenv(func,newenv)
  186. return func
  187. end
  188. cors = {}
  189. mas = Instance.new("Model",game:GetService("Lighting"))
  190. Tool0 = Instance.new("Tool")
  191. StringValue1 = Instance.new("StringValue")
  192. Folder2 = Instance.new("Folder")
  193. NumberValue3 = Instance.new("NumberValue")
  194. LocalScript4 = Instance.new("LocalScript")
  195. NumberValue5 = Instance.new("NumberValue")
  196. LocalScript6 = Instance.new("LocalScript")
  197. NumberValue7 = Instance.new("NumberValue")
  198. LocalScript8 = Instance.new("LocalScript")
  199. ScreenGui9 = Instance.new("ScreenGui")
  200. Frame10 = Instance.new("Frame")
  201. TextLabel11 = Instance.new("TextLabel")
  202. LocalScript12 = Instance.new("LocalScript")
  203. TextLabel13 = Instance.new("TextLabel")
  204. LocalScript14 = Instance.new("LocalScript")
  205. TextLabel15 = Instance.new("TextLabel")
  206. LocalScript16 = Instance.new("LocalScript")
  207. LocalScript17 = Instance.new("LocalScript")
  208. NumberValue18 = Instance.new("NumberValue")
  209. Script19 = Instance.new("Script")
  210. Folder20 = Instance.new("Folder")
  211. NumberValue21 = Instance.new("NumberValue")
  212. Script22 = Instance.new("Script")
  213. NumberValue23 = Instance.new("NumberValue")
  214. Script24 = Instance.new("Script")
  215. Folder25 = Instance.new("Folder")
  216. Animation26 = Instance.new("Animation")
  217. Animation27 = Instance.new("Animation")
  218. Animation28 = Instance.new("Animation")
  219. Animation29 = Instance.new("Animation")
  220. Animation30 = Instance.new("Animation")
  221. Animation31 = Instance.new("Animation")
  222. Folder32 = Instance.new("Folder")
  223. ParticleEmitter33 = Instance.new("ParticleEmitter")
  224. ParticleEmitter34 = Instance.new("ParticleEmitter")
  225. Script35 = Instance.new("Script")
  226. Part36 = Instance.new("Part")
  227. Script37 = Instance.new("Script")
  228. Script38 = Instance.new("Script")
  229. Part39 = Instance.new("Part")
  230. Sound40 = Instance.new("Sound")
  231. Sound41 = Instance.new("Sound")
  232. SpecialMesh42 = Instance.new("SpecialMesh")
  233. Sound43 = Instance.new("Sound")
  234. Sound44 = Instance.new("Sound")
  235. Folder45 = Instance.new("Folder")
  236. Script46 = Instance.new("Script")
  237. ScreenGui47 = Instance.new("ScreenGui")
  238. Frame48 = Instance.new("Frame")
  239. TextLabel49 = Instance.new("TextLabel")
  240. LocalScript50 = Instance.new("LocalScript")
  241. TextLabel51 = Instance.new("TextLabel")
  242. LocalScript52 = Instance.new("LocalScript")
  243. TextLabel53 = Instance.new("TextLabel")
  244. TextLabel54 = Instance.new("TextLabel")
  245. TextLabel55 = Instance.new("TextLabel")
  246. TextLabel56 = Instance.new("TextLabel")
  247. Tool0.Name = "Sword"
  248. Tool0.Parent = mas
  249. Tool0.TextureId = "rbxgameasset://Images/meleeicon"
  250. Tool0.GripForward = Vector3.new(0.999995828, -3.05171125e-05, 0.00287951133)
  251. Tool0.GripPos = Vector3.new(-3.63797881e-11, -1.44320107, 3.99325017e-12)
  252. Tool0.GripRight = Vector3.new(-0.00287950388, 3.05180438e-05, 0.999995828)
  253. Tool0.GripUp = Vector3.new(3.06048642e-05, 1, -3.04300429e-05)
  254. Tool0.ToolTip = "[Sword]"
  255.  
  256. Tool0.CanBeDropped = false
  257. StringValue1.Name = "WeaponType"
  258. StringValue1.Parent = Tool0
  259. StringValue1.Value = "Melee"
  260. Folder2.Name = "Stats"
  261. Folder2.Parent = Tool0
  262. NumberValue3.Name = "Defense"
  263. NumberValue3.Parent = Folder2
  264. NumberValue3.Value = 1
  265. LocalScript4.Parent = NumberValue3
  266. LocalScript4.Disabled = true
  267. table.insert(cors,sandbox(LocalScript4,function()
  268. local val = script.Parent
  269. local plr = game.Players.LocalPlayer
  270. local char = workspace:WaitForChild(plr.Name)
  271. local hum = char:WaitForChild("Humanoid")
  272.  
  273. while true do
  274. val.Value = char.Defense.Value
  275. wait()
  276. end
  277. end))
  278. NumberValue5.Name = "Power"
  279. NumberValue5.Parent = Folder2
  280. LocalScript6.Parent = NumberValue5
  281. LocalScript6.Disabled = true
  282. table.insert(cors,sandbox(LocalScript6,function()
  283. local val = script.Parent
  284. local plr = game.Players.LocalPlayer
  285. local char = workspace:WaitForChild(plr.Name)
  286. local hum = char:WaitForChild("Humanoid")
  287.  
  288. while true do
  289. val.Value = char.Power.Value
  290. wait()
  291. end
  292. end))
  293. NumberValue7.Name = "Speed"
  294. NumberValue7.Parent = Folder2
  295. LocalScript8.Parent = NumberValue7
  296. LocalScript8.Disabled = true
  297. table.insert(cors,sandbox(LocalScript8,function()
  298. local val = script.Parent
  299. local plr = game.Players.LocalPlayer
  300. local char = workspace:WaitForChild(plr.Name)
  301. local hum = char:WaitForChild("Humanoid")
  302.  
  303. while true do
  304. val.Value = math.floor(hum.WalkSpeed/16*10)/10
  305. wait()
  306. end
  307. end))
  308. ScreenGui9.Name = "StatGui"
  309. ScreenGui9.Parent = Tool0
  310. Frame10.Name = "Stats"
  311. Frame10.Parent = ScreenGui9
  312. Frame10.Size = UDim2.new(0.150000006, 1, 0.150000006, 1)
  313. Frame10.Style = Enum.FrameStyle.RobloxRound
  314. Frame10.Position = UDim2.new(0.845000029, 0, 0.845000029, 0)
  315. Frame10.BackgroundColor3 = Color3.new(1, 1, 1)
  316. Frame10.BorderSizePixel = 0
  317. TextLabel11.Name = "Power"
  318. TextLabel11.Parent = Frame10
  319. TextLabel11.Size = UDim2.new(0.333000004, 1, 1, 1)
  320. TextLabel11.Text = "Pow:(#)"
  321. TextLabel11.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  322. TextLabel11.BorderSizePixel = 0
  323. TextLabel11.Font = Enum.Font.ArialBold
  324. TextLabel11.FontSize = Enum.FontSize.Size14
  325. TextLabel11.TextColor3 = Color3.new(1, 1, 1)
  326. TextLabel11.TextScaled = true
  327. TextLabel11.TextStrokeTransparency = 0
  328. TextLabel11.TextWrapped = true
  329. LocalScript12.Parent = TextLabel11
  330. table.insert(cors,sandbox(LocalScript12,function()
  331. local tg = script.Parent
  332. local plr = game.Players.LocalPlayer
  333. local char = workspace:WaitForChild(plr.Name)
  334. local hum = char:WaitForChild("Humanoid")
  335.  
  336. while true do
  337. tg.Text = ("Pow:("..tostring(char:WaitForChild("Sword").Stats.Power.Value)..")")
  338. wait()
  339. end
  340.  
  341. end))
  342. TextLabel13.Name = "Defense"
  343. TextLabel13.Parent = Frame10
  344. TextLabel13.Size = UDim2.new(0.333000004, 1, 1, 1)
  345. TextLabel13.Text = "Def:(#)"
  346. TextLabel13.Position = UDim2.new(0.333000004, 0, 0, 0)
  347. TextLabel13.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  348. TextLabel13.BorderSizePixel = 0
  349. TextLabel13.Font = Enum.Font.ArialBold
  350. TextLabel13.FontSize = Enum.FontSize.Size14
  351. TextLabel13.TextColor3 = Color3.new(1, 1, 1)
  352. TextLabel13.TextScaled = true
  353. TextLabel13.TextStrokeTransparency = 0
  354. TextLabel13.TextWrapped = true
  355. LocalScript14.Parent = TextLabel13
  356. table.insert(cors,sandbox(LocalScript14,function()
  357. local tg = script.Parent
  358. local plr = game.Players.LocalPlayer
  359. local char = workspace:WaitForChild(plr.Name)
  360. local hum = char:WaitForChild("Humanoid")
  361.  
  362. while true do
  363. tg.Text = ("Def:("..tostring(char:WaitForChild("Sword").Stats.Defense.Value)..")")
  364. wait()
  365. end
  366.  
  367. end))
  368. TextLabel15.Name = "Speed"
  369. TextLabel15.Parent = Frame10
  370. TextLabel15.Size = UDim2.new(0.333000004, 1, 1, 1)
  371. TextLabel15.Text = "Spd:(#)"
  372. TextLabel15.Position = UDim2.new(0.666000009, 0, 0, 0)
  373. TextLabel15.BackgroundColor3 = Color3.new(1, 1, 0)
  374. TextLabel15.BorderSizePixel = 0
  375. TextLabel15.Font = Enum.Font.ArialBold
  376. TextLabel15.FontSize = Enum.FontSize.Size14
  377. TextLabel15.TextColor3 = Color3.new(1, 1, 1)
  378. TextLabel15.TextScaled = true
  379. TextLabel15.TextStrokeTransparency = 0
  380. TextLabel15.TextWrapped = true
  381. LocalScript16.Parent = TextLabel15
  382. table.insert(cors,sandbox(LocalScript16,function()
  383. local tg = script.Parent
  384. local plr = game.Players.LocalPlayer
  385. local char = workspace:WaitForChild(plr.Name)
  386. local hum = char:WaitForChild("Humanoid")
  387.  
  388. while true do
  389. tg.Text = ("Spd:("..tostring(char:WaitForChild("Sword").Stats.Speed.Value)..")")
  390. wait()
  391. end
  392.  
  393.  
  394. end))
  395. LocalScript17.Name = "ToolScript"
  396. LocalScript17.Parent = Tool0
  397. table.insert(cors,sandbox(LocalScript17,function()
  398. local tool = script.Parent
  399. local plr = game.Players.LocalPlayer
  400. local char = workspace:WaitForChild(plr.Name)
  401. local hum = char:WaitForChild("Humanoid")
  402. local r = game:service("RunService")
  403. local isclicking = false
  404. local Clicknumb = 1 -- this needs to be here
  405. local mouse = plr:GetMouse()
  406. local CanCast = 1
  407.  
  408. function Equipped()
  409. print('Equipped')
  410. local gooey = tool.StatGui:Clone()
  411. gooey.Parent = plr.PlayerGui
  412.  
  413. tool.Stats.Power.LocalScript.Disabled = false
  414. tool.Stats.Defense.LocalScript.Disabled = false
  415. tool.Stats.Speed.LocalScript.Disabled = false
  416.  
  417. local gooey2 = tool.SkillGui:Clone()
  418. gooey2.Parent = plr.PlayerGui
  419. gooey2.Skills.XSkill.LocalScript.Disabled = false
  420. gooey2.Skills.ZSkill.LocalScript.Disabled = false
  421.  
  422. end
  423.  
  424. function UnEquipped()
  425. print('UnEquipped')
  426.  
  427. plr.PlayerGui.StatGui:Destroy()
  428. plr.PlayerGui.SkillGui:Destroy()
  429. tool.Stats.Power.LocalScript.Disabled = true
  430. tool.Stats.Defense.LocalScript.Disabled = true
  431. tool.Stats.Speed.LocalScript.Disabled = true
  432.  
  433. end
  434.  
  435. function Attack1()
  436. CanCast = 0
  437. if tool.Enabled == true then return end
  438. local anim1 = tool.Animations.Slash1
  439. local example = hum:LoadAnimation(anim1)
  440. example:Play(0,1,1)
  441. tool.Handle.S1:Play()
  442. tool.Hitbox.Damage.Disabled = false
  443. wait(.45)
  444. tool.Hitbox.Damage.Disabled = true
  445. CanCast = 1
  446. end
  447. tool.Handle.Touched:connect(function(hit)
  448. if hit.Parent:FindFirstChild("Humanoid") then
  449. hit.Parent.Humanoid:TakeDamage(5)
  450. end
  451. end)
  452.  
  453. function Attack2()
  454. CanCast = 0
  455. if tool.Enabled == true then return end
  456. local anim2 = tool.Animations.Slash2
  457. local example = hum:LoadAnimation(anim2)
  458. example:Play(0,1,1)
  459. tool.Handle.S1:Play()
  460. tool.Hitbox.Damage.Disabled = false
  461. wait(.45)
  462. tool.Hitbox.Damage.Disabled = true
  463. CanCast = 1
  464. end
  465.  
  466. function Attack3()
  467. CanCast = 0
  468. if tool.Enabled == true then return end
  469. local anim3 = tool.Animations.Spin
  470. local example = hum:LoadAnimation(anim3)
  471. example:Play(0,1,1)
  472.  
  473. wait(.6)
  474. tool.Handle.S2:Play()
  475. tool.Hitbox.Damage.Disabled = false
  476. wait(.15)
  477. tool.Hitbox.Damage.Disabled = true
  478. CanCast = 1
  479. end
  480.  
  481. local lastattack = 0
  482. tool.Enabled = true
  483.  
  484. function Activated()
  485.  
  486. if not tool.Enabled then
  487. return
  488. end
  489.  
  490. tool.Enabled = false
  491.  
  492. local character = tool.Parent;
  493. local humanoid = character.Humanoid
  494. if humanoid == nil then
  495. print("No humanoid!")
  496. return
  497. end
  498.  
  499. local t = r.Stepped:wait()
  500. if script.Timer.Value == 0 then
  501. Clicknumb = 1
  502. end
  503.  
  504. if Clicknumb == 1 then -- copy all this, change the functions for attacks.
  505. Clicknumb = 2
  506. Attack1()
  507. wait(0.05)
  508. script.Timer.Value = 2.5
  509. elseif Clicknumb == 2 then
  510. Clicknumb = 3
  511. Attack2()
  512. wait(0.05)
  513. script.Timer.Value = 2.5
  514. elseif Clicknumb == 3 then
  515. Clicknumb = 1
  516. Attack3()
  517. wait(0.05)
  518. script.Timer.Value = 2.5
  519. end -- thats about it.
  520.  
  521.  
  522. lastattack = t
  523.  
  524. tool.Enabled = true
  525.  
  526. end
  527.  
  528. function UnActivated()
  529.  
  530. end
  531.  
  532. -- KEY SKILLS --------------------------------------------------------------------------
  533. function KeyDown(key)
  534. key = key:lower()
  535. local casting = false
  536. if CanCast == 1 then
  537. if tool.Parent ~= plr.Backpack then
  538.  
  539. if (key == "z") then -- Z : Kick
  540. if casting == false then
  541. casting = true
  542. if script.Cooldowns.Z.Value == 0 then
  543. script.Cooldowns.Z.Value = 1.5
  544. tool.Enabled = false
  545.  
  546. local kick = tool.Animations.Kick
  547. local example = hum:LoadAnimation(kick)
  548. example:Play(0,1,2)
  549. tool.Handle.S3:Play()
  550. local dmgclone = tool.ExtraScripts.DamageFEO:Clone()
  551. dmgclone.Parent = char["Right Leg"]
  552. dmgclone.Disabled = false
  553.  
  554. hum.WalkSpeed = hum.WalkSpeed - 16
  555.  
  556. wait(.45)
  557. dmgclone:Remove()
  558. hum.WalkSpeed = hum.WalkSpeed + 16
  559.  
  560. end
  561. casting = false
  562. tool.Enabled = true
  563. end
  564. end
  565.  
  566. if (key == "x") then -- X : Lunge
  567. if casting == false then
  568. casting = true
  569. if script.Cooldowns.X.Value == 0 then
  570. script.Cooldowns.X.Value = 12
  571. tool.Enabled = false
  572.  
  573. local lunge = tool.Animations.Lunge
  574. local example2 = hum:LoadAnimation(lunge)
  575.  
  576. local charge = tool.Animations.Charge
  577. local example3 = hum:LoadAnimation(charge)
  578.  
  579. local PEClone1 = tool.ParticleEmitters.Shine:Clone()
  580. PEClone1.Parent = tool.Hitbox
  581. char.Humanoid.WalkSpeed = hum.WalkSpeed - 16
  582. char.Humanoid.JumpPower = hum.JumpPower - 50
  583.  
  584. tool.Handle.S4:Play()
  585. example3:Play(0,1,0.25)
  586. PEClone1.Enabled = true
  587. wait(2)
  588. PEClone1.Enabled = false
  589. PEClone1:Destroy()
  590. tool.Hitbox.Damage2.Disabled = false
  591. example2:Play(0,1,1)
  592. local PEClone2 = tool.ParticleEmitters.Smoke:Clone()
  593. PEClone2.Parent = tool.Handle
  594. PEClone2.Enabled = true
  595.  
  596. local motor = Instance.new("BodyVelocity", char.HumanoidRootPart)
  597.  
  598. motor.Velocity = char.HumanoidRootPart.CFrame.lookVector*60
  599. motor.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  600.  
  601.  
  602. for i = 1,5 do
  603.  
  604. local effect = tool.Handle:Clone()
  605. effect.Parent = workspace
  606. effect.Name = "Effect"
  607. effect.Mesh.Scale = effect.Mesh.Scale * 1.25
  608. effect.S1:Destroy() ; effect.S2:Destroy() ; effect.S3:Destroy()
  609. effect.Mesh.TextureId = ""
  610. effect.BrickColor = char.Torso.BrickColor
  611. effect.Transparency = .4
  612. effect.CanCollide = false
  613. effect.Anchored = true
  614. effect.Rotation = tool.Handle.Rotation
  615. wait(.2) ; effect:Remove()
  616. end
  617.  
  618. motor:Destroy()
  619. PEClone2:Destroy()
  620. tool.Hitbox.Damage2.Disabled = true
  621. char.Humanoid.WalkSpeed = hum.WalkSpeed + 16
  622. char.Humanoid.JumpPower = hum.JumpPower + 50
  623. wait(.1)
  624.  
  625. end
  626. end
  627. casting = false
  628. tool.Enabled = true
  629. end
  630.  
  631. end
  632.  
  633. end
  634. end
  635. -- KEY SKILLS --------------------------------------------------------------------------
  636. tool.Equipped:connect(Equipped)
  637. tool.Unequipped:connect(UnEquipped)
  638. tool.Activated:connect(Activated)
  639. tool.Deactivated:connect(UnActivated)
  640. mouse.KeyDown:connect(KeyDown)
  641. end))
  642. NumberValue18.Name = "Timer"
  643. NumberValue18.Parent = LocalScript17
  644. Script19.Parent = NumberValue18
  645. table.insert(cors,sandbox(Script19,function()
  646. while true do
  647. wait(0.5)
  648. if script.Parent.Value >= 0.5 then
  649. script.Parent.Value = script.Parent.Value - 0.5
  650. end
  651. end
  652. end))
  653. Folder20.Name = "Cooldowns"
  654. Folder20.Parent = LocalScript17
  655. NumberValue21.Name = "Z"
  656. NumberValue21.Parent = Folder20
  657. Script22.Parent = NumberValue21
  658. table.insert(cors,sandbox(Script22,function()
  659. while true do
  660. wait(0.5)
  661. if script.Parent.Value >= 0.5 then
  662. script.Parent.Value = script.Parent.Value - 0.5
  663. end
  664. end
  665. end))
  666. NumberValue23.Name = "X"
  667. NumberValue23.Parent = Folder20
  668. Script24.Parent = NumberValue23
  669. table.insert(cors,sandbox(Script24,function()
  670. while true do
  671. wait(0.5)
  672. if script.Parent.Value >= 0.5 then
  673. script.Parent.Value = script.Parent.Value - 0.5
  674. end
  675. end
  676. end))
  677. Folder25.Name = "Animations"
  678. Folder25.Parent = Tool0
  679. Animation26.Name = "Slash1"
  680. Animation26.Parent = Folder25
  681. Animation26.AnimationId = "rbxassetid://186934753"
  682. Animation27.Name = "Slash2"
  683. Animation27.Parent = Folder25
  684. Animation27.AnimationId = "rbxassetid://186934753"
  685. Animation28.Name = "Spin"
  686. Animation28.Parent = Folder25
  687. Animation28.AnimationId = "https://www.roblox.com/item.aspx?id=452321869"
  688. Animation29.Name = "Kick"
  689. Animation29.Parent = Folder25
  690. Animation29.AnimationId = "https://www.roblox.com/item.aspx?id=428420299"
  691. Animation30.Name = "Charge"
  692. Animation30.Parent = Folder25
  693. Animation30.AnimationId = "https://www.roblox.com/item.aspx?id=437820400"
  694. Animation31.Name = "Lunge"
  695. Animation31.Parent = Folder25
  696. Animation31.AnimationId = "rbxassetid://186934753"
  697. Folder32.Name = "ParticleEmitters"
  698. Folder32.Parent = Tool0
  699. ParticleEmitter33.Name = "Shine"
  700. ParticleEmitter33.Parent = Folder32
  701. ParticleEmitter33.Transparency = NumberSequence.new(1,1,0.31874996423721,0.5,0)
  702. ParticleEmitter33.Rotation = NumberRange.new(-360, 360)
  703. ParticleEmitter33.Size = NumberSequence.new(3,3,0)
  704. ParticleEmitter33.Color = ColorSequence.new(Color3.new(1, 1, 0.498039),Color3.new(1, 0.803922, 0.482353))
  705. ParticleEmitter33.Enabled = false
  706. ParticleEmitter33.LightEmission = 0.44999998807907
  707. ParticleEmitter33.Texture = "http://www.roblox.com/asset/?id=244221535"
  708. ParticleEmitter33.Lifetime = NumberRange.new(0.40000000596046, 0.40000000596046)
  709. ParticleEmitter33.Rate = 40
  710. ParticleEmitter33.RotSpeed = NumberRange.new(-300, 300)
  711. ParticleEmitter33.Speed = NumberRange.new(0, 0)
  712. ParticleEmitter33.Color = ColorSequence.new(Color3.new(1, 1, 0.498039),Color3.new(1, 0.803922, 0.482353))
  713. ParticleEmitter34.Name = "Smoke"
  714. ParticleEmitter34.Parent = Folder32
  715. ParticleEmitter34.Transparency = NumberSequence.new(0,1)
  716. ParticleEmitter34.Rotation = NumberRange.new(-360, 360)
  717. ParticleEmitter34.Color = ColorSequence.new(Color3.new(0.184314, 0.184314, 0.184314),Color3.new(0.368627, 0.368627, 0.368627),Color3.new(0.207843, 0.207843, 0.207843),Color3.new(0.262745, 0.262745, 0.262745),Color3.new(0.454902, 0.454902, 0.454902))
  718. ParticleEmitter34.Enabled = false
  719. ParticleEmitter34.Texture = "http://www.roblox.com/asset/?id=290833005"
  720. ParticleEmitter34.Acceleration = Vector3.new(0, 3, 0)
  721. ParticleEmitter34.Lifetime = NumberRange.new(2, 2)
  722. ParticleEmitter34.Rate = 30
  723. ParticleEmitter34.RotSpeed = NumberRange.new(-300, 300)
  724. ParticleEmitter34.Speed = NumberRange.new(2, 2)
  725. ParticleEmitter34.VelocitySpread = 180
  726. ParticleEmitter34.Color = ColorSequence.new(Color3.new(0.184314, 0.184314, 0.184314),Color3.new(0.368627, 0.368627, 0.368627),Color3.new(0.207843, 0.207843, 0.207843),Color3.new(0.262745, 0.262745, 0.262745),Color3.new(0.454902, 0.454902, 0.454902))
  727. Script35.Name = "UltimateWeld"
  728. Script35.Parent = Tool0
  729. table.insert(cors,sandbox(Script35,function()
  730. --DO NOT USE BOTH WELDING SCRIPTS PROVIDED BY THIS MODEL
  731. --The regular script is recommended
  732.  
  733.  
  734.  
  735. --[[
  736. Prevents welds from breaking/transforming when player uses the tool
  737. This recreates the EXACT weld every time
  738. This also prevents lag build up by clearing old welds, the tradition weld script just keeps making new
  739. ones, which can lead to weapons have crazy amounts of welds that dont work (I saw 6000 in a weapon once)
  740. ]]
  741.  
  742. --[[Usage
  743. 1. Remove Old welding script (optional, only if updating a weapon and that weapon does not rely on that script)
  744. 2. Anchor all parts of tool and put inside of a tool object
  745. 3. Place this script in that tool (make sure you do this AFTER step 2, otherwise it may fail)
  746. 4. Treat like normal tool, nothing special has to be done with it
  747. ]]
  748.  
  749. --[[The local script included in this model can only be used if
  750. 1. The weapon is being placed in the players backpack first (i.e. the weapon is in starterpack and moves to player backpack)
  751. OR
  752. 2. The weapon is previously welded (weapon can be placed in workspace and picked up then)
  753. ]]
  754. repeat wait() until script.Parent:FindFirstChild("Handle")
  755. local welds={}
  756. function ClearOldWelds(tbl)
  757. for _,v in pairs(tbl) do
  758. if v:IsA('Weld') then
  759. v:Destroy()
  760. end
  761. end
  762. end
  763.  
  764. function Equipped()
  765. local handle=script.Parent:FindFirstChild('Handle')
  766. if not handle then return end
  767. local tble=handle:GetChildren()
  768. for _,v in pairs(script.Parent:GetChildren()) do
  769. if v:IsA('BasePart') and v~=handle then
  770. local c1
  771. for _1,v1 in pairs(welds) do
  772. if _1==v then
  773. c1=v1
  774. break
  775. end
  776. end
  777. if not c1 then
  778. welds[v]=v.CFrame:inverse()*handle.CFrame
  779. v.Anchored=false
  780. c1=welds[v]
  781. end
  782. local weld=Instance.new('Weld')
  783. weld.Part0=handle
  784. weld.Part1=v
  785. weld.C0=CFrame.new()
  786. weld.C1=c1
  787. weld.Parent=handle
  788. end
  789. end
  790. ClearOldWelds(tble)
  791. handle.Anchored=false
  792. end
  793. Equipped()
  794. script.Parent.Equipped:connect(Equipped)
  795.  
  796. --Made by DonnyTheDemented
  797.  
  798. end))
  799. Part36.Name = "Hitbox"
  800. Part36.Parent = Tool0
  801. Part36.Transparency = 1
  802. Part36.Rotation = Vector3.new(0, 90, 0)
  803. Part36.Anchored = true
  804. Part36.CanCollide = false
  805. Part36.Size = Vector3.new(1, 4.29999971, 1)
  806. Part36.CFrame = CFrame.new(-20.0999966, 24.1000004, -3.899997, 3.05180438e-05, -3.05171161e-05, 1, -3.05171106e-05, 1, 3.05180438e-05, -1, -3.05180438e-05, 3.05171125e-05)
  807. Part36.Position = Vector3.new(-20.0999966, 24.1000004, -3.899997)
  808. Part36.Orientation = Vector3.new(0, 90, 0)
  809. Script37.Name = "Damage"
  810. Script37.Parent = Part36
  811. Script37.Disabled = true
  812. table.insert(cors,sandbox(Script37,function()
  813. ---local examp = require(game.Workspace.DamageFunc)
  814. local tool = script.Parent.Parent
  815. local debounce = false
  816.  
  817. function OnTouch(hit)
  818. local i = math.random(10,26)
  819. local human = hit.Parent:FindFirstChild("Monster")
  820. if (human ~= nil ) then
  821. if debounce == false then
  822. debounce = true
  823. examp.SubtractionHealth(human,i,human.Parent.Defense.Value,tool.Stats.Power.Value,tool.Parent)
  824. script.Disabled = true
  825. end
  826. end
  827. end
  828.  
  829. script.Parent.Touched:connect(OnTouch)
  830. end))
  831. Script38.Name = "Damage2"
  832. Script38.Parent = Part36
  833. Script38.Disabled = true
  834. table.insert(cors,sandbox(Script38,function()
  835. ---local examp = require(game.Workspace.DamageFunc)
  836. local tool = script.Parent.Parent
  837. local debounce = false
  838.  
  839. function OnTouch(hit)
  840. local i = math.random(20,50)
  841. local human = hit.Parent:FindFirstChild("Monster")
  842. if (human ~= nil ) then
  843. if debounce == false then
  844. debounce = true
  845. examp.SubtractionHealth(human,i,human.Parent.Defense.Value,tool.Stats.Power.Value,tool.Parent)
  846. end
  847. end
  848. end
  849.  
  850. script.Parent.Touched:connect(OnTouch)
  851. end))
  852. Part39.Name = "Handle"
  853. Part39.Parent = Tool0
  854. Part39.BrickColor = BrickColor.new("Smoky grey")
  855. Part39.Rotation = Vector3.new(0, 90, 0)
  856. Part39.CanCollide = false
  857. Part39.Size = Vector3.new(0.5, 4.4000001, 0.5)
  858. Part39.CFrame = CFrame.new(-20.0999279, 24.2000103, -3.89998746, 3.92483344e-08, -9.88477041e-07, 1, -1.4239723e-05, 1, 9.88477609e-07, -1, -1.4239723e-05, 3.92342585e-08)
  859. Part39.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  860. Part39.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  861. Part39.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  862. Part39.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  863. Part39.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  864. Part39.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  865. Part39.Color = Color3.new(0.356863, 0.364706, 0.411765)
  866. Part39.Position = Vector3.new(-20.0999279, 24.2000103, -3.89998746)
  867. Part39.Orientation = Vector3.new(0, 90, 0)
  868. Part39.Color = Color3.new(0.356863, 0.364706, 0.411765)
  869. Sound40.Name = "S1"
  870. Sound40.Parent = Part39
  871. Sound40.Pitch = 1.1000000238419
  872. Sound40.SoundId = "rbxasset://sounds//swordslash.wav"
  873. Sound40.Volume = 0.25
  874. Sound41.Name = "S2"
  875. Sound41.Parent = Part39
  876. Sound41.Pitch = 1.1000000238419
  877. Sound41.SoundId = "rbxasset://sounds//swordlunge.wav"
  878. Sound41.Volume = 0.25
  879. SpecialMesh42.Parent = Part39
  880. SpecialMesh42.MeshId = "http://www.roblox.com/asset/?id=94746028"
  881. SpecialMesh42.Scale = Vector3.new(1.20000005, 1.20000005, 1.20000005)
  882. SpecialMesh42.TextureId = "http://www.roblox.com/asset/?ID=94746105"
  883. SpecialMesh42.MeshType = Enum.MeshType.FileMesh
  884. SpecialMesh42.Scale = Vector3.new(1.20000005, 1.20000005, 1.20000005)
  885. Sound43.Name = "S4"
  886. Sound43.Parent = Part39
  887. Sound43.Pitch = 0.55000001192093
  888. Sound43.SoundId = "http://www.roblox.com/asset/?id=2101137"
  889. Sound43.Volume = 0.25
  890. Sound44.Name = "S3"
  891. Sound44.Parent = Part39
  892. Sound44.Pitch = 0.89999997615814
  893. Sound44.SoundId = "rbxasset://sounds/swoosh.wav"
  894. Sound44.Volume = 0.25
  895. Folder45.Name = "ExtraScripts"
  896. Folder45.Parent = Tool0
  897. Script46.Name = "DamageFEO"
  898. Script46.Parent = Folder45
  899. Script46.Disabled = true
  900. table.insert(cors,sandbox(Script46,function()
  901. -- Damage script F.E.O( For External Object )
  902. -- Basically if you want to make damage on a arm, leg, head, etc.
  903. ---local examp = require(game.Workspace.DamageFunc)
  904. local tool = script.Parent.Parent
  905. local debounce = false
  906.  
  907. function OnTouch(hit)
  908. local i = math.random(5,20)
  909. local human = hit.Parent:FindFirstChild("Monster")
  910. if (human ~= nil ) then
  911. if debounce == false then
  912. debounce = true
  913. human.PlatformStand = true
  914. examp.SubtractionHealth(human,i,human.Parent.Defense.Value,script.Parent.Parent.Sword.Stats.Power.Value,script.Parent.Parent)
  915. script.Disabled = true
  916. end
  917. end
  918. end
  919.  
  920. script.Parent.Touched:connect(OnTouch)
  921. end))
  922. ScreenGui47.Name = "SkillGui"
  923. ScreenGui47.Parent = Tool0
  924. Frame48.Name = "Skills"
  925. Frame48.Parent = ScreenGui47
  926. Frame48.Size = UDim2.new(0.150000006, 1, 0.125, 1)
  927. Frame48.Style = Enum.FrameStyle.RobloxRound
  928. Frame48.Position = UDim2.new(0.845000029, 0, 0.625, 0)
  929. Frame48.BackgroundColor3 = Color3.new(1, 1, 1)
  930. Frame48.BorderSizePixel = 0
  931. TextLabel49.Name = "ZSkill"
  932. TextLabel49.Parent = Frame48
  933. TextLabel49.Size = UDim2.new(0.5, 0, 1, 1)
  934. TextLabel49.Text = ""
  935. TextLabel49.BackgroundColor3 = Color3.new(0.333333, 1, 0)
  936. TextLabel49.BorderSizePixel = 0
  937. TextLabel49.Font = Enum.Font.ArialBold
  938. TextLabel49.FontSize = Enum.FontSize.Size14
  939. TextLabel49.TextColor3 = Color3.new(1, 1, 1)
  940. TextLabel49.TextScaled = true
  941. TextLabel49.TextStrokeTransparency = 0
  942. TextLabel49.TextWrapped = true
  943. LocalScript50.Parent = TextLabel49
  944. LocalScript50.Disabled = true
  945. table.insert(cors,sandbox(LocalScript50,function()
  946. max = 1
  947. cd = 1
  948. local tg = script.Parent
  949. local plr = game.Players.LocalPlayer
  950. local char = workspace:WaitForChild(plr.Name)
  951. local hum = char:WaitForChild("Humanoid")
  952. wait()
  953. for _, child in pairs(char:GetChildren()) do
  954. if child.ClassName == 'Tool' then
  955. tool = child
  956. end
  957. end
  958.  
  959. while true do
  960. if tool.ToolScript.Cooldowns.Z.Value > max then max = tool.ToolScript.Cooldowns.Z.Value
  961. end
  962. tg.Size = UDim2.new((( 0.5 / max ) * ( max - tool.ToolScript.Cooldowns.Z.Value)),0,1,1)
  963. if tool.ToolScript.Cooldowns.Z.Value == 0 and cd == 0 then
  964. cd = 1
  965. script.Parent.Parent.ZF.BackgroundTransparency = 0.8
  966. wait()
  967. script.Parent.Parent.ZF.BackgroundTransparency = 0.6
  968. wait()
  969. script.Parent.Parent.ZF.BackgroundTransparency = 0.4
  970. wait()
  971. script.Parent.Parent.ZF.BackgroundTransparency = 0.2
  972. wait()
  973. script.Parent.Parent.ZF.BackgroundTransparency = 0.0
  974. wait()
  975. script.Parent.Parent.ZF.BackgroundTransparency = 0.2
  976. wait()
  977. script.Parent.Parent.ZF.BackgroundTransparency = 0.4
  978. wait()
  979. script.Parent.Parent.ZF.BackgroundTransparency = 0.6
  980. wait()
  981. script.Parent.Parent.ZF.BackgroundTransparency = 0.8
  982. wait()
  983. script.Parent.Parent.ZF.BackgroundTransparency = 1
  984. else if tool.ToolScript.Cooldowns.Z.Value ~= 0 then
  985. cd = 0
  986. end
  987. end
  988. wait()
  989. end
  990.  
  991.  
  992. end))
  993. TextLabel51.Name = "XSkill"
  994. TextLabel51.Parent = Frame48
  995. TextLabel51.Size = UDim2.new(0.5, 0, 1, 1)
  996. TextLabel51.Text = ""
  997. TextLabel51.Position = UDim2.new(0.5, 0, 0, 0)
  998. TextLabel51.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  999. TextLabel51.BorderSizePixel = 0
  1000. TextLabel51.Font = Enum.Font.ArialBold
  1001. TextLabel51.FontSize = Enum.FontSize.Size14
  1002. TextLabel51.TextColor3 = Color3.new(1, 1, 1)
  1003. TextLabel51.TextScaled = true
  1004. TextLabel51.TextStrokeTransparency = 0
  1005. TextLabel51.TextWrapped = true
  1006. LocalScript52.Parent = TextLabel51
  1007. LocalScript52.Disabled = true
  1008. table.insert(cors,sandbox(LocalScript52,function()
  1009. max = 1
  1010. cd = 1
  1011. local tg = script.Parent
  1012. local plr = game.Players.LocalPlayer
  1013. local char = workspace:WaitForChild(plr.Name)
  1014. local hum = char:WaitForChild("Humanoid")
  1015. wait()
  1016. for _, child in pairs(char:GetChildren()) do
  1017. if child.ClassName == 'Tool' then
  1018. tool = child
  1019. end
  1020. end
  1021.  
  1022. while true do
  1023. if tool.ToolScript.Cooldowns.X.Value > max then max = tool.ToolScript.Cooldowns.X.Value
  1024. end
  1025. tg.Size = UDim2.new((( 0.5 / max ) * ( max - tool.ToolScript.Cooldowns.X.Value)),0,1,1)
  1026. if tool.ToolScript.Cooldowns.X.Value == 0 and cd == 0 then
  1027. cd = 1
  1028. script.Parent.Parent.XF.BackgroundTransparency = 0.8
  1029. wait()
  1030. script.Parent.Parent.XF.BackgroundTransparency = 0.6
  1031. wait()
  1032. script.Parent.Parent.XF.BackgroundTransparency = 0.4
  1033. wait()
  1034. script.Parent.Parent.XF.BackgroundTransparency = 0.2
  1035. wait()
  1036. script.Parent.Parent.XF.BackgroundTransparency = 0.0
  1037. wait()
  1038. script.Parent.Parent.XF.BackgroundTransparency = 0.2
  1039. wait()
  1040. script.Parent.Parent.XF.BackgroundTransparency = 0.4
  1041. wait()
  1042. script.Parent.Parent.XF.BackgroundTransparency = 0.6
  1043. wait()
  1044. script.Parent.Parent.XF.BackgroundTransparency = 0.8
  1045. wait()
  1046. script.Parent.Parent.XF.BackgroundTransparency = 1
  1047. else if tool.ToolScript.Cooldowns.X.Value ~= 0 then
  1048. cd = 0
  1049. end
  1050. end
  1051. wait()
  1052. end
  1053.  
  1054.  
  1055. end))
  1056. TextLabel53.Name = "X"
  1057. TextLabel53.Parent = Frame48
  1058. TextLabel53.Transparency = 1
  1059. TextLabel53.Size = UDim2.new(0.5, 0, 1, 1)
  1060. TextLabel53.Text = "X"
  1061. TextLabel53.Position = UDim2.new(0.5, 0, 0, 0)
  1062. TextLabel53.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  1063. TextLabel53.BackgroundTransparency = 1
  1064. TextLabel53.BorderSizePixel = 0
  1065. TextLabel53.Font = Enum.Font.ArialBold
  1066. TextLabel53.FontSize = Enum.FontSize.Size14
  1067. TextLabel53.TextColor3 = Color3.new(1, 1, 1)
  1068. TextLabel53.TextScaled = true
  1069. TextLabel53.TextStrokeTransparency = 0
  1070. TextLabel53.TextWrapped = true
  1071. TextLabel54.Name = "Z"
  1072. TextLabel54.Parent = Frame48
  1073. TextLabel54.Transparency = 1
  1074. TextLabel54.Size = UDim2.new(0.5, 0, 1, 1)
  1075. TextLabel54.Text = "Z"
  1076. TextLabel54.BackgroundColor3 = Color3.new(0.333333, 1, 0)
  1077. TextLabel54.BackgroundTransparency = 1
  1078. TextLabel54.BorderSizePixel = 0
  1079. TextLabel54.Font = Enum.Font.ArialBold
  1080. TextLabel54.FontSize = Enum.FontSize.Size14
  1081. TextLabel54.TextColor3 = Color3.new(1, 1, 1)
  1082. TextLabel54.TextScaled = true
  1083. TextLabel54.TextStrokeTransparency = 0
  1084. TextLabel54.TextWrapped = true
  1085. TextLabel55.Name = "ZF"
  1086. TextLabel55.Parent = Frame48
  1087. TextLabel55.Transparency = 1
  1088. TextLabel55.Size = UDim2.new(0.5, 0, 1, 1)
  1089. TextLabel55.Text = ""
  1090. TextLabel55.BackgroundColor3 = Color3.new(1, 1, 1)
  1091. TextLabel55.BackgroundTransparency = 1
  1092. TextLabel55.BorderSizePixel = 0
  1093. TextLabel55.Font = Enum.Font.ArialBold
  1094. TextLabel55.FontSize = Enum.FontSize.Size14
  1095. TextLabel55.TextColor3 = Color3.new(1, 1, 1)
  1096. TextLabel55.TextScaled = true
  1097. TextLabel55.TextStrokeTransparency = 0
  1098. TextLabel55.TextWrapped = true
  1099. TextLabel56.Name = "XF"
  1100. TextLabel56.Parent = Frame48
  1101. TextLabel56.Transparency = 1
  1102. TextLabel56.Size = UDim2.new(0.5, 0, 1, 1)
  1103. TextLabel56.Text = ""
  1104. TextLabel56.Position = UDim2.new(0.5, 0, 0, 0)
  1105. TextLabel56.BackgroundColor3 = Color3.new(1, 1, 1)
  1106. TextLabel56.BackgroundTransparency = 1
  1107. TextLabel56.BorderSizePixel = 0
  1108. TextLabel56.ZIndex = 4
  1109. TextLabel56.Font = Enum.Font.ArialBold
  1110. TextLabel56.FontSize = Enum.FontSize.Size14
  1111. TextLabel56.TextColor3 = Color3.new(1, 1, 1)
  1112. TextLabel56.TextScaled = true
  1113. TextLabel56.TextStrokeTransparency = 0
  1114. TextLabel56.TextWrapped = true
  1115. for i,v in pairs(mas:GetChildren()) do
  1116. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  1117. pcall(function() v:MakeJoints() end)
  1118. end
  1119. mas:Destroy()
  1120. for i,v in pairs(cors) do
  1121. spawn(function()
  1122. pcall(v)
  1123. end)
  1124. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement