Advertisement
Kaemi

Untitled

Apr 30th, 2018
531
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.31 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. Tool0 = Instance.new("Tool")
  20. Part1 = Instance.new("Part")
  21. SpecialMesh2 = Instance.new("SpecialMesh")
  22. Script3 = Instance.new("Script")
  23. Message4 = Instance.new("Message")
  24. SpecialMesh5 = Instance.new("SpecialMesh")
  25. LocalScript6 = Instance.new("LocalScript")
  26. ScreenGui7 = Instance.new("ScreenGui")
  27. TextLabel8 = Instance.new("TextLabel")
  28. ImageLabel9 = Instance.new("ImageLabel")
  29. Humanoid10 = Instance.new("Humanoid")
  30. LocalScript11 = Instance.new("LocalScript")
  31. BillboardGui12 = Instance.new("BillboardGui")
  32. ImageLabel13 = Instance.new("ImageLabel")
  33. TextLabel14 = Instance.new("TextLabel")
  34. Sound15 = Instance.new("Sound")
  35. Sound16 = Instance.new("Sound")
  36. Sound17 = Instance.new("Sound")
  37. Tool0.Name = "Za Wardo"
  38. Tool0.Parent = mas
  39. Part1.Name = "Handle"
  40. Part1.Parent = Tool0
  41. Part1.Rotation = Vector3.new(0, 90, 0)
  42. Part1.FormFactor = Enum.FormFactor.Symmetric
  43. Part1.Size = Vector3.new(0.650000095, 1, 0.75)
  44. Part1.CFrame = CFrame.new(-35.7350006, 1.97000003, 26.1450005, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  45. Part1.Position = Vector3.new(-35.7350006, 1.97000003, 26.1450005)
  46. Part1.Orientation = Vector3.new(0, 90, 0)
  47. SpecialMesh2.Parent = Part1
  48. SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=101060412 "
  49. SpecialMesh2.Offset = Vector3.new(0, 0, -0.25)
  50. SpecialMesh2.Scale = Vector3.new(2, 2, 2)
  51. SpecialMesh2.TextureId = "http://www.roblox.com/asset/?id=101060383 "
  52. SpecialMesh2.MeshType = Enum.MeshType.FileMesh
  53. SpecialMesh2.Scale = Vector3.new(2, 2, 2)
  54. Script3.Parent = Tool0
  55. table.insert(cors,sandbox(Script3,function()
  56. wait(0.1)
  57. amount = 144
  58. freez = true
  59. players = game:GetService("Players")
  60. local froze = {}
  61. local frozen = {}
  62. function VisualEffect(part)
  63. local EffectLength = 1.5
  64. local StartSphereScale = Vector3.new(.1,.1,.1)
  65. local EndSphereScale = Vector3.new(40,40,40)
  66.  
  67. local sphere = Instance.new('Part')
  68. sphere.CanCollide = false
  69. sphere.Anchored = true
  70. sphere.Transparency = 0.5
  71. sphere.Reflectance = 99
  72. sphere.FormFactor = Enum.FormFactor.Custom
  73. sphere.Shape = Enum.PartType.Ball
  74. sphere.Size = Vector3.new(0.2, 0.2, 0.2)
  75. sphere.CFrame = CFrame.new(part.CFrame.p)
  76. sphere.TopSurface = Enum.SurfaceType.Smooth
  77. sphere.BottomSurface = Enum.SurfaceType.Smooth
  78. sphere.Name = 'water' --LOL-CANO
  79. sphere.BrickColor=BrickColor.Gray()
  80. sphere.Transparency = 0.1
  81.  
  82. -- Add 0.2 for the wait below
  83. game.Debris:AddItem(sphere, EffectLength + 1)
  84. sphere.Parent = game.Workspace
  85.  
  86. local sphereMesh = script.Parent.SphereMesh:Clone()
  87. sphereMesh.VertexColor=Vector3.new(1,1,1)
  88. sphereMesh.Scale = Vector3.new(.1,.1,.1)
  89. sphereMesh.Parent = sphere
  90.  
  91.  
  92.  
  93. sphere.Transparency = 0
  94. local startTime=time()
  95. while time()-startTime<EffectLength do
  96. sphere.CFrame = CFrame.new(part.CFrame.p)
  97. sphereMesh.Scale=StartSphereScale:Lerp(EndSphereScale,(time()-startTime)/EffectLength)+Vector3.new(math.random(),math.random(),math.random())
  98. sphere.Transparency=(time()-startTime)/EffectLength
  99. wait()
  100. end
  101. end
  102. local function freeze(p)
  103. if p:IsA("Script") and p.Disabled == false then
  104. p.Disabled = true
  105.  
  106. table.insert(frozen,p)
  107. end
  108. if p:IsA("BasePart") and p.Anchored == false then
  109. p.Anchored = true
  110.  
  111. table.insert(froze,p)
  112. end
  113.  
  114. for key, value in pairs(game.Players:GetChildren()) do
  115. rl = value.Character:FindFirstChild("Right Leg") -- If you use Game.* I will be mad
  116. ll = value.Character:FindFirstChild("Left Leg")
  117. ra = value.Character:FindFirstChild("Right Arm")
  118. la = value.Character:FindFirstChild("Left Arm")
  119. t = value.Character:FindFirstChild("Torso")
  120.  
  121. rl.Anchored = true
  122. ll.Anchored = true
  123. ra.Anchored = true
  124. la.Anchored = true
  125. t.Anchored = true
  126. local Tool = script.Parent
  127. local character = Tool.Parent
  128. local player = game.Players.LocalPlayer
  129. local Torso = character:FindFirstChild("Torso")
  130. local RightArm = character:FindFirstChild("Right Arm")
  131. local LeftArm = character:FindFirstChild("Left Arm")
  132. local RightLeg = character:FindFirstChild("Right Leg")
  133. local LeftLeg = character:FindFirstChild("Left Leg")
  134. local Head = character:FindFirstChild("Head")
  135. if script.Parent.Parent.Name == "Backpack" then
  136. Torso = script.Parent.Parent.Parent.Character:FindFirstChild("Torso")
  137. RightArm = script.Parent.Parent.Parent.Character:FindFirstChild("Right Arm")
  138. LeftArm = script.Parent.Parent.Parent.Character:FindFirstChild("Left Arm")
  139. RightLeg = script.Parent.Parent.Parent.Character:FindFirstChild("Right Leg")
  140. LeftLeg = script.Parent.Parent.Parent.Character:FindFirstChild("Left Leg")
  141. Head = script.Parent.Parent.Parent.Character:FindFirstChild("Head")
  142. end
  143. if Torso ~= nil then
  144.  
  145. Torso.Anchored = false
  146. Head.Anchored = false
  147. RightArm.Anchored = false
  148. LeftArm.Anchored = false
  149. RightLeg.Anchored = false
  150. LeftLeg.Anchored = false
  151. end
  152. end
  153. if not game.Players:GetPlayerFromCharacter(p) then
  154. for _,v in pairs(p:GetChildren())do
  155. freeze(v)
  156. end
  157. end
  158. end
  159. local function unfreeze()
  160. for key, value in pairs(game.Players:GetChildren()) do
  161. rl = value.Character:FindFirstChild("Right Leg") -- If you use Game.* I will be mad
  162. ll = value.Character:FindFirstChild("Left Leg")
  163. ra = value.Character:FindFirstChild("Right Arm")
  164. la = value.Character:FindFirstChild("Left Arm")
  165. t = value.Character:FindFirstChild("Torso")
  166.  
  167. rl.Anchored = false
  168. ll.Anchored = false
  169. ra.Anchored = false
  170. la.Anchored = false
  171. t.Anchored = false
  172.  
  173. end
  174.  
  175. for _,v in pairs(froze)do
  176. v.Anchored = false
  177. end
  178. froze = {}
  179. for _,v in pairs(frozen)do
  180. v.Disabled = false
  181. end
  182. end
  183. frozen = {}
  184. local function freezing(s)
  185.  
  186. script.Parent.Humanoid:TakeDamage(0.02)
  187.  
  188. end
  189. script.Parent.Activated:connect(function()
  190. if freez == true then
  191. freez = false
  192.  
  193. if script.Parent.Parent.Head:FindFirstChild("BillBoardGui") == nil then
  194. local NERFTHIS = script.Parent.BillBoardGui:Clone()
  195. NERFTHIS.Parent = script.Parent.Parent.Head
  196. NERFTHIS.Enabled = true
  197. end
  198. script.Parent.Message.Text = "ザ・ワールド!"
  199. script.Parent.Handle.Transparency = 1
  200. script.Parent.Sound:Play()
  201. wait(1.45)
  202. script.Parent.Humanoid:TakeDamage(1.45)
  203. freeze(workspace)
  204. VisualEffect(script.Parent.Handle)
  205. script.Parent.Message.Text = ""
  206. wait(0.22)
  207. script.Parent.Humanoid:TakeDamage(0.22)
  208. wait(0.22)
  209. script.Parent.Humanoid:TakeDamage(0.22)
  210. wait(0.22)
  211. script.Parent.Humanoid:TakeDamage(0.22)
  212. wait(0.22)
  213. script.Parent.Humanoid:TakeDamage(0.22)
  214. wait(0.22)
  215. script.Parent.Humanoid:TakeDamage(0.22)
  216. wait(0.22)
  217. script.Parent.Humanoid:TakeDamage(0.22)
  218. wait(0.22)
  219. script.Parent.Humanoid:TakeDamage(0.22)
  220. wait(0.22)
  221. script.Parent.Humanoid:TakeDamage(0.22)
  222. while amount > 0 do
  223. freeze(workspace)
  224. freezing(workspace)
  225. amount = amount - 1
  226. wait(0.02)
  227. end
  228. local texty = Instance.new("Message",game.Workspace)
  229. script.Parent.TimeResume:Play()
  230. texty.Text = "時は動き出す."
  231. wait(1)
  232. script.Parent.Rez:Play()
  233. wait(0.24)
  234. script.Parent.Humanoid:TakeDamage(0.24)
  235. wait(0.24)
  236. script.Parent.Humanoid:TakeDamage(0.24)
  237. wait(0.24)
  238. script.Parent.Humanoid:TakeDamage(0.24)
  239. wait(0.24)
  240. script.Parent.Humanoid:TakeDamage(0.24)
  241. wait(0.24)
  242. script.Parent.Humanoid:TakeDamage(0.24)
  243. wait(0.24)
  244. script.Parent.Humanoid:TakeDamage(0.24)
  245. wait(0.23)
  246. script.Parent.Humanoid.Health = 0
  247. script.Parent.Handle.Transparency = 0
  248. texty:remove()
  249. unfreeze()
  250. amount = 144
  251. wait(1)
  252. script.Parent.Humanoid.Health = 8
  253. freez = true
  254. else return end
  255. end)
  256.  
  257. script.Parent.Parent.Parent.Character.Humanoid.Died:connect(function()
  258. unfreeze()
  259. script.Disabled = true
  260. end)
  261.  
  262. end))
  263. Message4.Parent = Tool0
  264. SpecialMesh5.Name = "SphereMesh"
  265. SpecialMesh5.Parent = Tool0
  266. SpecialMesh5.MeshId = "http://www.roblox.com/asset/?id=94736101"
  267. SpecialMesh5.MeshType = Enum.MeshType.FileMesh
  268. LocalScript6.Name = "GuiScript"
  269. LocalScript6.Parent = Tool0
  270. table.insert(cors,sandbox(LocalScript6,function()
  271. local Tool = script.Parent
  272. local Time = script.Parent.Humanoid.Health
  273. freez = true
  274. local player = game.Players.LocalPlayer
  275. local vPlayer
  276. local Gui
  277. local Alt
  278. local Coords
  279. local Ammo
  280. local ready = false
  281.  
  282.  
  283. function setUpGui()
  284. if vPlayer == nil or vPlayer:findFirstChild("PlayerGui") == nil then
  285. return
  286. end
  287. if vPlayer.PlayerGui:findFirstChild("ScreenGui1") == nil then
  288. Gui = script.ScreenGui:Clone()
  289. Gui.Name = "ScreenGui1"
  290. Gui.Parent = vPlayer.PlayerGui
  291. Gui.Enabled = true
  292. Gui.ImageLabel.Visible = true
  293. Gui.TextLabel.Visible = true
  294. else
  295. vPlayer.PlayerGui.ScreenGui1.Enabled = true
  296. end
  297. end
  298.  
  299. function onEquippedLocal(mouse)
  300. vPlayer = game.Players.LocalPlayer
  301.  
  302. setUpGui()
  303. ready = true
  304. end
  305.  
  306. function onUnequippedLocal(mouse)
  307. if Gui then
  308. Gui.Enabled = false
  309. end
  310.  
  311. Gui = nil
  312. Alt = nil
  313. Coords = nil
  314. Ammo = nil
  315. vPlayer = nil
  316. end
  317.  
  318.  
  319. Tool.Equipped:connect(onEquippedLocal)
  320. Tool.Unequipped:connect(onUnequippedLocal)
  321. end))
  322. ScreenGui7.Parent = LocalScript6
  323. TextLabel8.Parent = ScreenGui7
  324. TextLabel8.Transparency = 1
  325. TextLabel8.Size = UDim2.new(0.0250000004, 0, 0.100000001, 0)
  326. TextLabel8.Text = "8"
  327. TextLabel8.Position = UDim2.new(0.916999996, 0, 0.839999974, 0)
  328. TextLabel8.BackgroundColor3 = Color3.new(1, 1, 1)
  329. TextLabel8.BackgroundTransparency = 1
  330. TextLabel8.ZIndex = 2
  331. TextLabel8.FontSize = Enum.FontSize.Size18
  332. ImageLabel9.Parent = ScreenGui7
  333. ImageLabel9.Transparency = 1
  334. ImageLabel9.Size = UDim2.new(0.125, 0, 0.25, 0)
  335. ImageLabel9.Position = UDim2.new(0.870000005, 0, 0.74000001, 0)
  336. ImageLabel9.BackgroundColor3 = Color3.new(1, 1, 1)
  337. ImageLabel9.BackgroundTransparency = 1
  338. ImageLabel9.Image = "rbxassetid://820031960"
  339. Humanoid10.Parent = Tool0
  340. Humanoid10.Health = 8
  341. Humanoid10.MaxHealth = 8
  342. LocalScript11.Parent = Humanoid10
  343. table.insert(cors,sandbox(LocalScript11,function()
  344. local player = game.Players.LocalPlayer
  345. local character = player.Character
  346.  
  347. script.Parent.HealthChanged:connect(function()
  348. if script.Parent.Health < 8 and script.Parent.Health > 7 then
  349. game.Players.LocalPlayer.PlayerGui.ScreenGui1.TextLabel.Text = "8"
  350. character.Head.BillBoardGui.ImageLabel.TextLabel.Text = "8"
  351. elseif script.Parent.Health < 7 and script.Parent.Health > 6 then
  352. game.Players.LocalPlayer.PlayerGui.ScreenGui1.TextLabel.Text = "7"
  353. character.Head.BillBoardGui.ImageLabel.TextLabel.Text = "7"
  354. elseif script.Parent.Health < 6 and script.Parent.Health > 5 then
  355. game.Players.LocalPlayer.PlayerGui.ScreenGui1.TextLabel.Text = "6"
  356. character.Head.BillBoardGui.ImageLabel.TextLabel.Text = "6"
  357. elseif script.Parent.Health < 5 and script.Parent.Health > 4 then
  358. game.Players.LocalPlayer.PlayerGui.ScreenGui1.TextLabel.Text = "5"
  359. character.Head.BillBoardGui.ImageLabel.TextLabel.Text = "5"
  360. elseif script.Parent.Health < 4 and script.Parent.Health > 3 then
  361. game.Players.LocalPlayer.PlayerGui.ScreenGui1.TextLabel.Text = "4"
  362. character.Head.BillBoardGui.ImageLabel.TextLabel.Text = "4"
  363. elseif script.Parent.Health < 3 and script.Parent.Health > 2 then
  364. game.Players.LocalPlayer.PlayerGui.ScreenGui1.TextLabel.Text = "3"
  365. character.Head.BillBoardGui.ImageLabel.TextLabel.Text = "3"
  366. elseif script.Parent.Health < 2 and script.Parent.Health > 1 then
  367. game.Players.LocalPlayer.PlayerGui.ScreenGui1.TextLabel.Text = "2"
  368. character.Head.BillBoardGui.ImageLabel.TextLabel.Text = "2"
  369. elseif script.Parent.Health < 1 and script.Parent.Health > 0 then
  370. game.Players.LocalPlayer.PlayerGui.ScreenGui1.TextLabel.Text = "1"
  371. character.Head.BillBoardGui.ImageLabel.TextLabel.Text = "1"
  372. elseif script.Parent.Health <= 0 then
  373. game.Players.LocalPlayer.PlayerGui.ScreenGui1.TextLabel.Text = "0"
  374. character.Head.BillBoardGui.ImageLabel.TextLabel.Text = "0"
  375. end
  376. end)
  377. end))
  378. BillboardGui12.Name = "BillBoardGui"
  379. BillboardGui12.Parent = Tool0
  380. BillboardGui12.Size = UDim2.new(2, 0, 2, 0)
  381. BillboardGui12.Enabled = false
  382. BillboardGui12.Active = true
  383. BillboardGui12.StudsOffset = Vector3.new(0, 1.25, 0)
  384. ImageLabel13.Parent = BillboardGui12
  385. ImageLabel13.Transparency = 1
  386. ImageLabel13.Size = UDim2.new(0.800000012, 0, 1, 0)
  387. ImageLabel13.Position = UDim2.new(0.100000001, 0, -0.800000012, 0)
  388. ImageLabel13.Active = true
  389. ImageLabel13.BackgroundColor3 = Color3.new(0, 0, 0)
  390. ImageLabel13.BackgroundTransparency = 1
  391. ImageLabel13.Image = "rbxassetid://820031960"
  392. TextLabel14.Parent = ImageLabel13
  393. TextLabel14.Transparency = 1
  394. TextLabel14.Size = UDim2.new(1, 0, 1, 0)
  395. TextLabel14.Text = "8"
  396. TextLabel14.Position = UDim2.new(0, 0, 0.100000001, 0)
  397. TextLabel14.BackgroundColor3 = Color3.new(1, 1, 1)
  398. TextLabel14.BackgroundTransparency = 1
  399. TextLabel14.Font = Enum.Font.SourceSans
  400. TextLabel14.FontSize = Enum.FontSize.Size14
  401. TextLabel14.TextScaled = true
  402. TextLabel14.TextWrapped = true
  403. Sound15.Name = "Rez"
  404. Sound15.Parent = Tool0
  405. Sound15.SoundId = "rbxassetid://864569342"
  406. Sound15.Volume = 2
  407. Sound16.Name = "TimeResume"
  408. Sound16.Parent = Tool0
  409. Sound16.SoundId = "rbxassetid://1054568598"
  410. Sound16.Volume = 2
  411. Sound17.Parent = Tool0
  412. Sound17.SoundId = "rbxassetid://1571597070"
  413. Sound17.TimePosition = 0.8
  414. Sound17.Volume = 1
  415. for i,v in pairs(mas:GetChildren()) do
  416. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  417. pcall(function() v:MakeJoints() end)
  418. end
  419. mas:Destroy()
  420. for i,v in pairs(cors) do
  421. spawn(function()
  422. pcall(v)
  423. end)
  424. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement