hawoody

Untitled

Mar 30th, 2018
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.72 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Humanoid0 = Instance.new("Humanoid")
  20. LocalScript1 = Instance.new("LocalScript")
  21. Script2 = Instance.new("Script")
  22. SpecialMesh3 = Instance.new("SpecialMesh")
  23. LocalScript4 = Instance.new("LocalScript")
  24. ScreenGui5 = Instance.new("ScreenGui")
  25. TextLabel6 = Instance.new("TextLabel")
  26. ImageLabel7 = Instance.new("ImageLabel")
  27. Part8 = Instance.new("Part")
  28. Sound9 = Instance.new("Sound")
  29. Sound10 = Instance.new("Sound")
  30. SpecialMesh11 = Instance.new("SpecialMesh")
  31. Message12 = Instance.new("Message")
  32. BillboardGui13 = Instance.new("BillboardGui")
  33. ImageLabel14 = Instance.new("ImageLabel")
  34. TextLabel15 = Instance.new("TextLabel")
  35. Tool16 = Instance.new("Tool")
  36. Part17 = Instance.new("Part")
  37. Sound18 = Instance.new("Sound")
  38. Sound19 = Instance.new("Sound")
  39. SpecialMesh20 = Instance.new("SpecialMesh")
  40. Script21 = Instance.new("Script")
  41. Message22 = Instance.new("Message")
  42. SpecialMesh23 = Instance.new("SpecialMesh")
  43. LocalScript24 = Instance.new("LocalScript")
  44. ScreenGui25 = Instance.new("ScreenGui")
  45. TextLabel26 = Instance.new("TextLabel")
  46. ImageLabel27 = Instance.new("ImageLabel")
  47. Humanoid28 = Instance.new("Humanoid")
  48. LocalScript29 = Instance.new("LocalScript")
  49. BillboardGui30 = Instance.new("BillboardGui")
  50. ImageLabel31 = Instance.new("ImageLabel")
  51. TextLabel32 = Instance.new("TextLabel")
  52. Humanoid28.Parent = Tool16
  53. Humanoid28.Health = 8
  54. Humanoid28.MaxHealth = 8
  55. LocalScript29.Parent = Humanoid28
  56. table.insert(cors,sandbox(LocalScript29,function()
  57. local player = game.Players.LocalPlayer
  58. local character = player.Character
  59.  
  60. script.Parent.HealthChanged:connect(function()
  61. if script.Parent.Health < 8 and script.Parent.Health > 7 then
  62. game.Players.LocalPlayer.PlayerGui.ScreenGui1.TextLabel.Text = "8"
  63. character.Head.BillBoardGui.ImageLabel.TextLabel.Text = "8"
  64. elseif script.Parent.Health < 7 and script.Parent.Health > 6 then
  65. game.Players.LocalPlayer.PlayerGui.ScreenGui1.TextLabel.Text = "7"
  66. character.Head.BillBoardGui.ImageLabel.TextLabel.Text = "7"
  67. elseif script.Parent.Health < 6 and script.Parent.Health > 5 then
  68. game.Players.LocalPlayer.PlayerGui.ScreenGui1.TextLabel.Text = "6"
  69. character.Head.BillBoardGui.ImageLabel.TextLabel.Text = "6"
  70. elseif script.Parent.Health < 5 and script.Parent.Health > 4 then
  71. game.Players.LocalPlayer.PlayerGui.ScreenGui1.TextLabel.Text = "5"
  72. character.Head.BillBoardGui.ImageLabel.TextLabel.Text = "5"
  73. elseif script.Parent.Health < 4 and script.Parent.Health > 3 then
  74. game.Players.LocalPlayer.PlayerGui.ScreenGui1.TextLabel.Text = "4"
  75. character.Head.BillBoardGui.ImageLabel.TextLabel.Text = "4"
  76. elseif script.Parent.Health < 3 and script.Parent.Health > 2 then
  77. game.Players.LocalPlayer.PlayerGui.ScreenGui1.TextLabel.Text = "3"
  78. character.Head.BillBoardGui.ImageLabel.TextLabel.Text = "3"
  79. elseif script.Parent.Health < 2 and script.Parent.Health > 1 then
  80. game.Players.LocalPlayer.PlayerGui.ScreenGui1.TextLabel.Text = "2"
  81. character.Head.BillBoardGui.ImageLabel.TextLabel.Text = "2"
  82. elseif script.Parent.Health < 1 and script.Parent.Health > 0 then
  83. game.Players.LocalPlayer.PlayerGui.ScreenGui1.TextLabel.Text = "1"
  84. character.Head.BillBoardGui.ImageLabel.TextLabel.Text = "1"
  85. elseif script.Parent.Health <= 0 then
  86. game.Players.LocalPlayer.PlayerGui.ScreenGui1.TextLabel.Text = "0"
  87. character.Head.BillBoardGui.ImageLabel.TextLabel.Text = "0"
  88. end
  89. end)
  90. end))
  91. Script21.Parent = Tool16
  92. table.insert(cors,sandbox(Script21,function()
  93. wait(0.1)
  94. amount = 144
  95. freez = true
  96. players = game:GetService("Players")
  97. local froze = {}
  98. local frozen = {}
  99. function VisualEffect(part)
  100. local EffectLength = 1.5
  101. local StartSphereScale = Vector3.new(.1,.1,.1)
  102. local EndSphereScale = Vector3.new(40,40,40)
  103.  
  104. local sphere = Instance.new('Part')
  105. sphere.CanCollide = false
  106. sphere.Anchored = true
  107. sphere.Transparency = 0.5
  108. sphere.Reflectance = 99
  109. sphere.FormFactor = Enum.FormFactor.Custom
  110. sphere.Shape = Enum.PartType.Ball
  111. sphere.Size = Vector3.new(0.2, 0.2, 0.2)
  112. sphere.CFrame = CFrame.new(part.CFrame.p)
  113. sphere.TopSurface = Enum.SurfaceType.Smooth
  114. sphere.BottomSurface = Enum.SurfaceType.Smooth
  115. sphere.Name = 'water' --LOL-CANO
  116. sphere.BrickColor=BrickColor.Gray()
  117. sphere.Transparency = 0.1
  118.  
  119. -- Add 0.2 for the wait below
  120. game.Debris:AddItem(sphere, EffectLength + 1)
  121. sphere.Parent = game.Workspace
  122.  
  123. local sphereMesh = script.Parent.SphereMesh:Clone()
  124. sphereMesh.VertexColor=Vector3.new(1,1,1)
  125. sphereMesh.Scale = Vector3.new(.1,.1,.1)
  126. sphereMesh.Parent = sphere
  127.  
  128.  
  129.  
  130. sphere.Transparency = 0
  131. local startTime=time()
  132. while time()-startTime<EffectLength do
  133. sphere.CFrame = CFrame.new(part.CFrame.p)
  134. sphereMesh.Scale=StartSphereScale:Lerp(EndSphereScale,(time()-startTime)/EffectLength)+Vector3.new(math.random(),math.random(),math.random())
  135. sphere.Transparency=(time()-startTime)/EffectLength
  136. wait()
  137. end
  138. end
  139. local function freeze(p)
  140. if p:IsA("Script") and p.Disabled == false then
  141. p.Disabled = true
  142.  
  143. table.insert(frozen,p)
  144. end
  145. if p:IsA("BasePart") and p.Anchored == false then
  146. p.Anchored = true
  147.  
  148. table.insert(froze,p)
  149. end
  150.  
  151. for key, value in pairs(game.Players:GetChildren()) do
  152. rl = value.Character:FindFirstChild("Right Leg") -- If you use Game.* I will be mad
  153. ll = value.Character:FindFirstChild("Left Leg")
  154. ra = value.Character:FindFirstChild("Right Arm")
  155. la = value.Character:FindFirstChild("Left Arm")
  156. t = value.Character:FindFirstChild("Torso")
  157.  
  158. rl.Anchored = true
  159. ll.Anchored = true
  160. ra.Anchored = true
  161. la.Anchored = true
  162. t.Anchored = true
  163. local Tool = script.Parent
  164. local character = Tool.Parent
  165. local player = game.Players.LocalPlayer
  166. local Torso = character:FindFirstChild("Torso")
  167. local RightArm = character:FindFirstChild("Right Arm")
  168. local LeftArm = character:FindFirstChild("Left Arm")
  169. local RightLeg = character:FindFirstChild("Right Leg")
  170. local LeftLeg = character:FindFirstChild("Left Leg")
  171. local Head = character:FindFirstChild("Head")
  172. if script.Parent.Parent.Name == "Backpack" then
  173. Torso = script.Parent.Parent.Parent.Character:FindFirstChild("Torso")
  174. RightArm = script.Parent.Parent.Parent.Character:FindFirstChild("Right Arm")
  175. LeftArm = script.Parent.Parent.Parent.Character:FindFirstChild("Left Arm")
  176. RightLeg = script.Parent.Parent.Parent.Character:FindFirstChild("Right Leg")
  177. LeftLeg = script.Parent.Parent.Parent.Character:FindFirstChild("Left Leg")
  178. Head = script.Parent.Parent.Parent.Character:FindFirstChild("Head")
  179. end
  180. if Torso ~= nil then
  181.  
  182. Torso.Anchored = false
  183. Head.Anchored = false
  184. RightArm.Anchored = false
  185. LeftArm.Anchored = false
  186. RightLeg.Anchored = false
  187. LeftLeg.Anchored = false
  188. end
  189. end
  190. if not game.Players:GetPlayerFromCharacter(p) then
  191. for _,v in pairs(p:GetChildren())do
  192. freeze(v)
  193. end
  194. end
  195. end
  196. local function unfreeze()
  197. for key, value in pairs(game.Players:GetChildren()) do
  198. rl = value.Character:FindFirstChild("Right Leg") -- If you use Game.* I will be mad
  199. ll = value.Character:FindFirstChild("Left Leg")
  200. ra = value.Character:FindFirstChild("Right Arm")
  201. la = value.Character:FindFirstChild("Left Arm")
  202. t = value.Character:FindFirstChild("Torso")
  203.  
  204. rl.Anchored = false
  205. ll.Anchored = false
  206. ra.Anchored = false
  207. la.Anchored = false
  208. t.Anchored = false
  209.  
  210. end
  211.  
  212. for _,v in pairs(froze)do
  213. v.Anchored = false
  214. end
  215. froze = {}
  216. for _,v in pairs(frozen)do
  217. v.Disabled = false
  218. end
  219. end
  220. frozen = {}
  221. local function freezing(s)
  222.  
  223. script.Parent.Humanoid:TakeDamage(0.02)
  224.  
  225. end
  226. script.Parent.Activated:connect(function()
  227. if freez == true then
  228. freez = false
  229.  
  230. if script.Parent.Parent.Head:FindFirstChild("BillBoardGui") == nil then
  231. local NERFTHIS = script.Parent.BillBoardGui:Clone()
  232. NERFTHIS.Parent = script.Parent.Parent.Head
  233. NERFTHIS.Enabled = true
  234. end
  235. script.Parent.Message.Text = "Za Wardo! (The World!)"
  236. script.Parent.Handle.Transparency = 1
  237. script.Parent.Handle.Sound:Play()
  238. wait(1.45)
  239. script.Parent.Humanoid:TakeDamage(1.45)
  240. freeze(workspace)
  241. VisualEffect(script.Parent.Handle)
  242. script.Parent.Message.Text = ""
  243. wait(0.22)
  244. script.Parent.Humanoid:TakeDamage(0.22)
  245. wait(0.22)
  246. script.Parent.Humanoid:TakeDamage(0.22)
  247. wait(0.22)
  248. script.Parent.Humanoid:TakeDamage(0.22)
  249. wait(0.22)
  250. script.Parent.Humanoid:TakeDamage(0.22)
  251. wait(0.22)
  252. script.Parent.Humanoid:TakeDamage(0.22)
  253. wait(0.22)
  254. script.Parent.Humanoid:TakeDamage(0.22)
  255. wait(0.22)
  256. script.Parent.Humanoid:TakeDamage(0.22)
  257. wait(0.22)
  258. script.Parent.Humanoid:TakeDamage(0.22)
  259. while amount > 0 do
  260. freeze(workspace)
  261. freezing(workspace)
  262. amount = amount - 1
  263. wait(0.02)
  264. end
  265. local texty = Instance.new("Message",game.Workspace)
  266. script.Parent.Handle.TimeResume:Play()
  267. texty.Text = "Tokiro Tomare (Time flows again...)"
  268. wait(0.24)
  269. script.Parent.Humanoid:TakeDamage(0.24)
  270. wait(0.24)
  271. script.Parent.Humanoid:TakeDamage(0.24)
  272. wait(0.24)
  273. script.Parent.Humanoid:TakeDamage(0.24)
  274. wait(0.24)
  275. script.Parent.Humanoid:TakeDamage(0.24)
  276. wait(0.24)
  277. script.Parent.Humanoid:TakeDamage(0.24)
  278. wait(0.24)
  279. script.Parent.Humanoid:TakeDamage(0.24)
  280. wait(0.24)
  281. script.Parent.Humanoid:TakeDamage(0.24)
  282. wait(0.23)
  283. script.Parent.Humanoid.Health = 0
  284. script.Parent.Handle.Transparency = 0
  285. texty:remove()
  286. unfreeze()
  287. amount = 144
  288. wait(1)
  289. script.Parent.Humanoid.Health = 8
  290. freez = true
  291. else return end
  292. end)
  293.  
  294. script.Parent.Parent.Parent.Character.Humanoid.Died:connect(function()
  295. unfreeze()
  296. script.Disabled = true
  297. end)
  298.  
  299. end))
  300. SpecialMesh23.Name = "SphereMesh"
  301. SpecialMesh23.Parent = Tool16
  302. SpecialMesh23.MeshId = "http://www.roblox.com/asset/?id=94736101"
  303. SpecialMesh23.MeshType = Enum.MeshType.FileMesh
  304. LocalScript24.Name = "GuiScript"
  305. LocalScript24.Parent = Tool16
  306. table.insert(cors,sandbox(LocalScript24,function()
  307. local Tool = script.Parent
  308. local Time = script.Parent.Humanoid.Health
  309. freez = true
  310. local player = game.Players.LocalPlayer
  311. local vPlayer
  312. local Gui
  313. local Alt
  314. local Coords
  315. local Ammo
  316. local ready = false
  317.  
  318.  
  319. function setUpGui()
  320. if vPlayer == nil or vPlayer:findFirstChild("PlayerGui") == nil then
  321. return
  322. end
  323. if vPlayer.PlayerGui:findFirstChild("ScreenGui1") == nil then
  324. Gui = script.ScreenGui:Clone()
  325. Gui.Name = "ScreenGui1"
  326. Gui.Parent = vPlayer.PlayerGui
  327. Gui.Enabled = true
  328. Gui.ImageLabel.Visible = true
  329. Gui.TextLabel.Visible = true
  330. else
  331. vPlayer.PlayerGui.ScreenGui1.Enabled = true
  332. end
  333. end
  334.  
  335. function onEquippedLocal(mouse)
  336. vPlayer = game.Players.LocalPlayer
  337.  
  338. setUpGui()
  339. ready = true
  340. end
  341.  
  342. function onUnequippedLocal(mouse)
  343. if Gui then
  344. Gui.Enabled = false
  345. end
  346.  
  347. Gui = nil
  348. Alt = nil
  349. Coords = nil
  350. Ammo = nil
  351. vPlayer = nil
  352. end
  353.  
  354.  
  355. Tool.Equipped:connect(onEquippedLocal)
  356. Tool.Unequipped:connect(onUnequippedLocal)
  357. end))
  358. ScreenGui25.Parent = LocalScript24
  359. TextLabel26.Parent = ScreenGui25
  360. TextLabel26.Transparency = 1
  361. TextLabel26.Size = UDim2.new(0.0250000004, 0, 0.100000001, 0)
  362. TextLabel26.Text = "8"
  363. TextLabel26.Position = UDim2.new(0.916999996, 0, 0.839999974, 0)
  364. TextLabel26.BackgroundColor3 = Color3.new(1, 1, 1)
  365. TextLabel26.BackgroundTransparency = 1
  366. TextLabel26.ZIndex = 2
  367. TextLabel26.FontSize = Enum.FontSize.Size18
  368. ImageLabel27.Parent = ScreenGui25
  369. ImageLabel27.Transparency = 1
  370. ImageLabel27.Size = UDim2.new(0.125, 0, 0.25, 0)
  371. ImageLabel27.Position = UDim2.new(0.870000005, 0, 0.74000001, 0)
  372. ImageLabel27.BackgroundColor3 = Color3.new(1, 1, 1)
  373. ImageLabel27.BackgroundTransparency = 1
  374. ImageLabel27.Image = "rbxassetid://820031960"
  375. Part17.Name = "Handle"
  376. Part17.Parent = Tool16
  377. Part17.Rotation = Vector3.new(0, 90, 0)
  378. Part17.FormFactor = Enum.FormFactor.Symmetric
  379. Part17.Size = Vector3.new(0.650000095, 1, 0.75)
  380. Part17.CFrame = CFrame.new(-123.735001, 14.7000856, 52.6450005, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  381. Part17.Position = Vector3.new(-123.735001, 14.7000856, 52.6450005)
  382. Part17.Orientation = Vector3.new(0, 90, 0)
  383. Sound18.Parent = Part17
  384. Sound18.SoundId = "rbxassetid://274698941"
  385. Sound19.Name = "TimeResume"
  386. Sound19.Parent = Part17
  387. Sound19.SoundId = "rbxassetid://274699177"
  388. SpecialMesh20.Parent = Part17
  389. SpecialMesh20.MeshId = "http://www.roblox.com/asset/?id=101060412 "
  390. SpecialMesh20.Offset = Vector3.new(0, 0, -0.25)
  391. SpecialMesh20.Scale = Vector3.new(2, 2, 2)
  392. SpecialMesh20.TextureId = "http://www.roblox.com/asset/?id=101060383 "
  393. SpecialMesh20.MeshType = Enum.MeshType.FileMesh
  394. SpecialMesh20.Scale = Vector3.new(2, 2, 2)
  395. Message22.Parent = Tool16
  396. BillboardGui30.Name = "BillBoardGui"
  397. BillboardGui30.Parent = Tool16
  398. BillboardGui30.Size = UDim2.new(2, 0, 2, 0)
  399. BillboardGui30.Enabled = false
  400. BillboardGui30.Active = true
  401. BillboardGui30.StudsOffset = Vector3.new(0, 1.25, 0)
  402. ImageLabel31.Parent = BillboardGui30
  403. ImageLabel31.Transparency = 1
  404. ImageLabel31.Size = UDim2.new(0.800000012, 0, 1, 0)
  405. ImageLabel31.Position = UDim2.new(0.100000001, 0, -0.800000012, 0)
  406. ImageLabel31.Active = true
  407. ImageLabel31.BackgroundColor3 = Color3.new(0, 0, 0)
  408. ImageLabel31.BackgroundTransparency = 1
  409. ImageLabel31.Image = "rbxassetid://820031960"
  410. TextLabel32.Parent = ImageLabel31
  411. TextLabel32.Transparency = 1
  412. TextLabel32.Size = UDim2.new(1, 0, 1, 0)
  413. TextLabel32.Text = "8"
  414. TextLabel32.Position = UDim2.new(0, 0, 0.100000001, 0)
  415. TextLabel32.BackgroundColor3 = Color3.new(1, 1, 1)
  416. TextLabel32.BackgroundTransparency = 1
  417. TextLabel32.Font = Enum.Font.SourceSans
  418. TextLabel32.FontSize = Enum.FontSize.Size14
  419. TextLabel32.TextScaled = true
  420. TextLabel32.TextWrapped = true
  421. Tool16.Name = "Za Wardo"
  422. Tool16.Parent = mas
  423. Part17.Name = "Handle"
  424. Part17.Parent = Tool16
  425. Part17.Rotation = Vector3.new(0, 90, 0)
  426. Part17.FormFactor = Enum.FormFactor.Symmetric
  427. Part17.Size = Vector3.new(0.650000095, 1, 0.75)
  428. Part17.CFrame = CFrame.new(-123.735001, 14.7000856, 52.6450005, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  429. Part17.Position = Vector3.new(-123.735001, 14.7000856, 52.6450005)
  430. Part17.Orientation = Vector3.new(0, 90, 0)
  431. Sound18.Parent = Part17
  432. Sound18.SoundId = "rbxassetid://274698941"
  433. Sound19.Name = "TimeResume"
  434. Sound19.Parent = Part17
  435. Sound19.SoundId = "rbxassetid://274699177"
  436. SpecialMesh20.Parent = Part17
  437. SpecialMesh20.MeshId = "http://www.roblox.com/asset/?id=101060412 "
  438. SpecialMesh20.Offset = Vector3.new(0, 0, -0.25)
  439. SpecialMesh20.Scale = Vector3.new(2, 2, 2)
  440. SpecialMesh20.TextureId = "http://www.roblox.com/asset/?id=101060383 "
  441. SpecialMesh20.MeshType = Enum.MeshType.FileMesh
  442. SpecialMesh20.Scale = Vector3.new(2, 2, 2)
  443. Script21.Parent = Tool16
  444. table.insert(cors,sandbox(Script21,function()
  445. wait(0.1)
  446. amount = 144
  447. freez = true
  448. players = game:GetService("Players")
  449. local froze = {}
  450. local frozen = {}
  451. function VisualEffect(part)
  452. local EffectLength = 1.5
  453. local StartSphereScale = Vector3.new(.1,.1,.1)
  454. local EndSphereScale = Vector3.new(40,40,40)
  455.  
  456. local sphere = Instance.new('Part')
  457. sphere.CanCollide = false
  458. sphere.Anchored = true
  459. sphere.Transparency = 0.5
  460. sphere.Reflectance = 99
  461. sphere.FormFactor = Enum.FormFactor.Custom
  462. sphere.Shape = Enum.PartType.Ball
  463. sphere.Size = Vector3.new(0.2, 0.2, 0.2)
  464. sphere.CFrame = CFrame.new(part.CFrame.p)
  465. sphere.TopSurface = Enum.SurfaceType.Smooth
  466. sphere.BottomSurface = Enum.SurfaceType.Smooth
  467. sphere.Name = 'water' --LOL-CANO
  468. sphere.BrickColor=BrickColor.Gray()
  469. sphere.Transparency = 0.1
  470.  
  471. -- Add 0.2 for the wait below
  472. game.Debris:AddItem(sphere, EffectLength + 1)
  473. sphere.Parent = game.Workspace
  474.  
  475. local sphereMesh = script.Parent.SphereMesh:Clone()
  476. sphereMesh.VertexColor=Vector3.new(1,1,1)
  477. sphereMesh.Scale = Vector3.new(.1,.1,.1)
  478. sphereMesh.Parent = sphere
  479.  
  480.  
  481.  
  482. sphere.Transparency = 0
  483. local startTime=time()
  484. while time()-startTime<EffectLength do
  485. sphere.CFrame = CFrame.new(part.CFrame.p)
  486. sphereMesh.Scale=StartSphereScale:Lerp(EndSphereScale,(time()-startTime)/EffectLength)+Vector3.new(math.random(),math.random(),math.random())
  487. sphere.Transparency=(time()-startTime)/EffectLength
  488. wait()
  489. end
  490. end
  491. local function freeze(p)
  492. if p:IsA("Script") and p.Disabled == false then
  493. p.Disabled = true
  494.  
  495. table.insert(frozen,p)
  496. end
  497. if p:IsA("BasePart") and p.Anchored == false then
  498. p.Anchored = true
  499.  
  500. table.insert(froze,p)
  501. end
  502.  
  503. for key, value in pairs(game.Players:GetChildren()) do
  504. rl = value.Character:FindFirstChild("Right Leg") -- If you use Game.* I will be mad
  505. ll = value.Character:FindFirstChild("Left Leg")
  506. ra = value.Character:FindFirstChild("Right Arm")
  507. la = value.Character:FindFirstChild("Left Arm")
  508. t = value.Character:FindFirstChild("Torso")
  509.  
  510. rl.Anchored = true
  511. ll.Anchored = true
  512. ra.Anchored = true
  513. la.Anchored = true
  514. t.Anchored = true
  515. local Tool = script.Parent
  516. local character = Tool.Parent
  517. local player = game.Players.LocalPlayer
  518. local Torso = character:FindFirstChild("Torso")
  519. local RightArm = character:FindFirstChild("Right Arm")
  520. local LeftArm = character:FindFirstChild("Left Arm")
  521. local RightLeg = character:FindFirstChild("Right Leg")
  522. local LeftLeg = character:FindFirstChild("Left Leg")
  523. local Head = character:FindFirstChild("Head")
  524. if script.Parent.Parent.Name == "Backpack" then
  525. Torso = script.Parent.Parent.Parent.Character:FindFirstChild("Torso")
  526. RightArm = script.Parent.Parent.Parent.Character:FindFirstChild("Right Arm")
  527. LeftArm = script.Parent.Parent.Parent.Character:FindFirstChild("Left Arm")
  528. RightLeg = script.Parent.Parent.Parent.Character:FindFirstChild("Right Leg")
  529. LeftLeg = script.Parent.Parent.Parent.Character:FindFirstChild("Left Leg")
  530. Head = script.Parent.Parent.Parent.Character:FindFirstChild("Head")
  531. end
  532. if Torso ~= nil then
  533.  
  534. Torso.Anchored = false
  535. Head.Anchored = false
  536. RightArm.Anchored = false
  537. LeftArm.Anchored = false
  538. RightLeg.Anchored = false
  539. LeftLeg.Anchored = false
  540. end
  541. end
  542. if not game.Players:GetPlayerFromCharacter(p) then
  543. for _,v in pairs(p:GetChildren())do
  544. freeze(v)
  545. end
  546. end
  547. end
  548. local function unfreeze()
  549. for key, value in pairs(game.Players:GetChildren()) do
  550. rl = value.Character:FindFirstChild("Right Leg") -- If you use Game.* I will be mad
  551. ll = value.Character:FindFirstChild("Left Leg")
  552. ra = value.Character:FindFirstChild("Right Arm")
  553. la = value.Character:FindFirstChild("Left Arm")
  554. t = value.Character:FindFirstChild("Torso")
  555.  
  556. rl.Anchored = false
  557. ll.Anchored = false
  558. ra.Anchored = false
  559. la.Anchored = false
  560. t.Anchored = false
  561.  
  562. end
  563.  
  564. for _,v in pairs(froze)do
  565. v.Anchored = false
  566. end
  567. froze = {}
  568. for _,v in pairs(frozen)do
  569. v.Disabled = false
  570. end
  571. end
  572. frozen = {}
  573. local function freezing(s)
  574.  
  575. script.Parent.Humanoid:TakeDamage(0.02)
  576.  
  577. end
  578. script.Parent.Activated:connect(function()
  579. if freez == true then
  580. freez = false
  581.  
  582. if script.Parent.Parent.Head:FindFirstChild("BillBoardGui") == nil then
  583. local NERFTHIS = script.Parent.BillBoardGui:Clone()
  584. NERFTHIS.Parent = script.Parent.Parent.Head
  585. NERFTHIS.Enabled = true
  586. end
  587. script.Parent.Message.Text = "Za Wardo! (The World!)"
  588. script.Parent.Handle.Transparency = 1
  589. script.Parent.Handle.Sound:Play()
  590. wait(1.45)
  591. script.Parent.Humanoid:TakeDamage(1.45)
  592. freeze(workspace)
  593. VisualEffect(script.Parent.Handle)
  594. script.Parent.Message.Text = ""
  595. wait(0.22)
  596. script.Parent.Humanoid:TakeDamage(0.22)
  597. wait(0.22)
  598. script.Parent.Humanoid:TakeDamage(0.22)
  599. wait(0.22)
  600. script.Parent.Humanoid:TakeDamage(0.22)
  601. wait(0.22)
  602. script.Parent.Humanoid:TakeDamage(0.22)
  603. wait(0.22)
  604. script.Parent.Humanoid:TakeDamage(0.22)
  605. wait(0.22)
  606. script.Parent.Humanoid:TakeDamage(0.22)
  607. wait(0.22)
  608. script.Parent.Humanoid:TakeDamage(0.22)
  609. wait(0.22)
  610. script.Parent.Humanoid:TakeDamage(0.22)
  611. while amount > 0 do
  612. freeze(workspace)
  613. freezing(workspace)
  614. amount = amount - 1
  615. wait(0.02)
  616. end
  617. local texty = Instance.new("Message",game.Workspace)
  618. script.Parent.Handle.TimeResume:Play()
  619. texty.Text = "Tokiro Tomare (Time flows again...)"
  620. wait(0.24)
  621. script.Parent.Humanoid:TakeDamage(0.24)
  622. wait(0.24)
  623. script.Parent.Humanoid:TakeDamage(0.24)
  624. wait(0.24)
  625. script.Parent.Humanoid:TakeDamage(0.24)
  626. wait(0.24)
  627. script.Parent.Humanoid:TakeDamage(0.24)
  628. wait(0.24)
  629. script.Parent.Humanoid:TakeDamage(0.24)
  630. wait(0.24)
  631. script.Parent.Humanoid:TakeDamage(0.24)
  632. wait(0.24)
  633. script.Parent.Humanoid:TakeDamage(0.24)
  634. wait(0.23)
  635. script.Parent.Humanoid.Health = 0
  636. script.Parent.Handle.Transparency = 0
  637. texty:remove()
  638. unfreeze()
  639. amount = 144
  640. wait(1)
  641. script.Parent.Humanoid.Health = 8
  642. freez = true
  643. else return end
  644. end)
  645.  
  646. script.Parent.Parent.Parent.Character.Humanoid.Died:connect(function()
  647. unfreeze()
  648. script.Disabled = true
  649. end)
  650.  
  651. end))
  652. Message22.Parent = Tool16
  653. SpecialMesh23.Name = "SphereMesh"
  654. SpecialMesh23.Parent = Tool16
  655. SpecialMesh23.MeshId = "http://www.roblox.com/asset/?id=94736101"
  656. SpecialMesh23.MeshType = Enum.MeshType.FileMesh
  657. LocalScript24.Name = "GuiScript"
  658. LocalScript24.Parent = Tool16
  659. table.insert(cors,sandbox(LocalScript24,function()
  660. local Tool = script.Parent
  661. local Time = script.Parent.Humanoid.Health
  662. freez = true
  663. local player = game.Players.LocalPlayer
  664. local vPlayer
  665. local Gui
  666. local Alt
  667. local Coords
  668. local Ammo
  669. local ready = false
  670.  
  671.  
  672. function setUpGui()
  673. if vPlayer == nil or vPlayer:findFirstChild("PlayerGui") == nil then
  674. return
  675. end
  676. if vPlayer.PlayerGui:findFirstChild("ScreenGui1") == nil then
  677. Gui = script.ScreenGui:Clone()
  678. Gui.Name = "ScreenGui1"
  679. Gui.Parent = vPlayer.PlayerGui
  680. Gui.Enabled = true
  681. Gui.ImageLabel.Visible = true
  682. Gui.TextLabel.Visible = true
  683. else
  684. vPlayer.PlayerGui.ScreenGui1.Enabled = true
  685. end
  686. end
  687.  
  688. function onEquippedLocal(mouse)
  689. vPlayer = game.Players.LocalPlayer
  690.  
  691. setUpGui()
  692. ready = true
  693. end
  694.  
  695. function onUnequippedLocal(mouse)
  696. if Gui then
  697. Gui.Enabled = false
  698. end
  699.  
  700. Gui = nil
  701. Alt = nil
  702. Coords = nil
  703. Ammo = nil
  704. vPlayer = nil
  705. end
  706.  
  707.  
  708. Tool.Equipped:connect(onEquippedLocal)
  709. Tool.Unequipped:connect(onUnequippedLocal)
  710. end))
  711. ScreenGui25.Parent = LocalScript24
  712. TextLabel26.Parent = ScreenGui25
  713. TextLabel26.Transparency = 1
  714. TextLabel26.Size = UDim2.new(0.0250000004, 0, 0.100000001, 0)
  715. TextLabel26.Text = "8"
  716. TextLabel26.Position = UDim2.new(0.916999996, 0, 0.839999974, 0)
  717. TextLabel26.BackgroundColor3 = Color3.new(1, 1, 1)
  718. TextLabel26.BackgroundTransparency = 1
  719. TextLabel26.ZIndex = 2
  720. TextLabel26.FontSize = Enum.FontSize.Size18
  721. ImageLabel27.Parent = ScreenGui25
  722. ImageLabel27.Transparency = 1
  723. ImageLabel27.Size = UDim2.new(0.125, 0, 0.25, 0)
  724. ImageLabel27.Position = UDim2.new(0.870000005, 0, 0.74000001, 0)
  725. ImageLabel27.BackgroundColor3 = Color3.new(1, 1, 1)
  726. ImageLabel27.BackgroundTransparency = 1
  727. ImageLabel27.Image = "rbxassetid://820031960"
  728. Humanoid28.Parent = Tool16
  729. Humanoid28.Health = 8
  730. Humanoid28.MaxHealth = 8
  731. LocalScript29.Parent = Humanoid28
  732. table.insert(cors,sandbox(LocalScript29,function()
  733. local player = game.Players.LocalPlayer
  734. local character = player.Character
  735.  
  736. script.Parent.HealthChanged:connect(function()
  737. if script.Parent.Health < 8 and script.Parent.Health > 7 then
  738. game.Players.LocalPlayer.PlayerGui.ScreenGui1.TextLabel.Text = "8"
  739. character.Head.BillBoardGui.ImageLabel.TextLabel.Text = "8"
  740. elseif script.Parent.Health < 7 and script.Parent.Health > 6 then
  741. game.Players.LocalPlayer.PlayerGui.ScreenGui1.TextLabel.Text = "7"
  742. character.Head.BillBoardGui.ImageLabel.TextLabel.Text = "7"
  743. elseif script.Parent.Health < 6 and script.Parent.Health > 5 then
  744. game.Players.LocalPlayer.PlayerGui.ScreenGui1.TextLabel.Text = "6"
  745. character.Head.BillBoardGui.ImageLabel.TextLabel.Text = "6"
  746. elseif script.Parent.Health < 5 and script.Parent.Health > 4 then
  747. game.Players.LocalPlayer.PlayerGui.ScreenGui1.TextLabel.Text = "5"
  748. character.Head.BillBoardGui.ImageLabel.TextLabel.Text = "5"
  749. elseif script.Parent.Health < 4 and script.Parent.Health > 3 then
  750. game.Players.LocalPlayer.PlayerGui.ScreenGui1.TextLabel.Text = "4"
  751. character.Head.BillBoardGui.ImageLabel.TextLabel.Text = "4"
  752. elseif script.Parent.Health < 3 and script.Parent.Health > 2 then
  753. game.Players.LocalPlayer.PlayerGui.ScreenGui1.TextLabel.Text = "3"
  754. character.Head.BillBoardGui.ImageLabel.TextLabel.Text = "3"
  755. elseif script.Parent.Health < 2 and script.Parent.Health > 1 then
  756. game.Players.LocalPlayer.PlayerGui.ScreenGui1.TextLabel.Text = "2"
  757. character.Head.BillBoardGui.ImageLabel.TextLabel.Text = "2"
  758. elseif script.Parent.Health < 1 and script.Parent.Health > 0 then
  759. game.Players.LocalPlayer.PlayerGui.ScreenGui1.TextLabel.Text = "1"
  760. character.Head.BillBoardGui.ImageLabel.TextLabel.Text = "1"
  761. elseif script.Parent.Health <= 0 then
  762. game.Players.LocalPlayer.PlayerGui.ScreenGui1.TextLabel.Text = "0"
  763. character.Head.BillBoardGui.ImageLabel.TextLabel.Text = "0"
  764. end
  765. end)
  766. end))
  767. BillboardGui30.Name = "BillBoardGui"
  768. BillboardGui30.Parent = Tool16
  769. BillboardGui30.Size = UDim2.new(2, 0, 2, 0)
  770. BillboardGui30.Enabled = false
  771. BillboardGui30.Active = true
  772. BillboardGui30.StudsOffset = Vector3.new(0, 1.25, 0)
  773. ImageLabel31.Parent = BillboardGui30
  774. ImageLabel31.Transparency = 1
  775. ImageLabel31.Size = UDim2.new(0.800000012, 0, 1, 0)
  776. ImageLabel31.Position = UDim2.new(0.100000001, 0, -0.800000012, 0)
  777. ImageLabel31.Active = true
  778. ImageLabel31.BackgroundColor3 = Color3.new(0, 0, 0)
  779. ImageLabel31.BackgroundTransparency = 1
  780. ImageLabel31.Image = "rbxassetid://820031960"
  781. TextLabel32.Parent = ImageLabel31
  782. TextLabel32.Transparency = 1
  783. TextLabel32.Size = UDim2.new(1, 0, 1, 0)
  784. TextLabel32.Text = "8"
  785. TextLabel32.Position = UDim2.new(0, 0, 0.100000001, 0)
  786. TextLabel32.BackgroundColor3 = Color3.new(1, 1, 1)
  787. TextLabel32.BackgroundTransparency = 1
  788. TextLabel32.Font = Enum.Font.SourceSans
  789. TextLabel32.FontSize = Enum.FontSize.Size14
  790. TextLabel32.TextScaled = true
  791. TextLabel32.TextWrapped = true
  792. for i,v in pairs(mas:GetChildren()) do
  793. v.Parent = workspace
  794. pcall(function() v:MakeJoints() end)
  795. end
  796. mas:Destroy()
  797. for i,v in pairs(cors) do
  798. spawn(function()
  799. pcall(v)
  800. end)
  801. end
Add Comment
Please, Sign In to add comment