XskillyX

hakaishin

Apr 10th, 2020
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.02 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2.  
  3. local Player,game,owner = owner,game
  4.  
  5. local RealPlayer = Player
  6.  
  7. do local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
  8.  
  9.  
  10. plr = game.Players.LocalPlayer
  11. char = plr.Character
  12. ff = Instance.new('ForceField', char)
  13. ff.Visible = false
  14. mouse = plr:GetMouse()
  15. human = char.Humanoid
  16. torso = char.Torso
  17. root = char.HumanoidRootPart
  18. lleg = char["Left Leg"]
  19. rleg = char["Right Leg"]
  20. larm = char["Left Arm"]
  21. rarm = char["Right Arm"]
  22. head = char.Head
  23. lshold = torso["Left Shoulder"]
  24. rshold = torso["Right Shoulder"]
  25. neck = torso.Neck
  26. lhip = torso["Left Hip"]
  27. rhip = torso["Right Hip"]
  28. lscf = lshold.C0
  29. rscf = rshold.C0
  30. ncf = neck.C0
  31. lhcf = lhip.C0
  32. rhcf = rhip.C0
  33. rad = math.rad
  34. random = math.random
  35. sin = math.sin
  36. cos = math.cos
  37. floor = math.floor
  38. lsho = lshold.C0
  39. rsho = rshold.C0
  40. cd1 = true
  41. cd2 = true
  42.  
  43. function harmlessexplo()
  44. sph = Instance.new('Part', char)
  45. sph.Anchored = true
  46. sph.CFrame = char.Torso.CFrame
  47. sph.CanCollide = false
  48. sph.Anchored = true
  49. sph.Transparency = 0
  50. sph.Material = "Neon"
  51. sph.Shape = "Ball"
  52. sph.Size = Vector3.new(0.2,0.2,0.2)
  53. for i = 1,50 do
  54. wait()
  55. sph.Size = sph.Size + Vector3.new(4,4,4)
  56. sph.Transparency = sph.Transparency + 0.05
  57. sph.CFrame = char.Torso.CFrame
  58. end
  59. sph:Destroy()
  60. end
  61.  
  62. function entrance()
  63.  
  64. for _,q in pairs(char:GetChildren()) do
  65. if q:IsA('Accessory') then
  66. q:Destroy()
  67. end
  68.  
  69. a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character)
  70. a.MeshId = "279174949"
  71. a.BodyPart = "LeftArm"
  72.  
  73. a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character)
  74. a.MeshId = "319336109"
  75. a.BodyPart = "LeftLeg"
  76.  
  77. a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character)
  78. a.MeshId = "279174886"
  79. a.BodyPart = "RightArm"
  80.  
  81. a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character)
  82. a.MeshId = "319336155"
  83. a.BodyPart = "RightLeg"
  84.  
  85. a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character)
  86. a.MeshId = "376169183"
  87. a.BodyPart = "Torso"
  88.  
  89. if q:IsA('Shirt') then
  90. q.ShirtTemplate = "rbxassetid://1179287335"
  91. end
  92.  
  93. if q:IsA('Pants') then
  94. q.PantsTemplate = "rbxassetid://1179287166"
  95. end
  96.  
  97. char["Left Arm"].BrickColor = BrickColor.new('Cyan')
  98. char["Right Arm"].BrickColor = BrickColor.new('Cyan')
  99.  
  100. if q.Name ~= "HumanoidRootPart" and q:IsA('Part') then
  101. q.Transparency = 1
  102. end
  103. end
  104.  
  105. char.Humanoid.HipHeight = 60
  106. wait(.05)
  107. char.Torso.Anchored = true
  108.  
  109. sph = Instance.new('Part', char)
  110. sph.Anchored = true
  111. sph.CFrame = char.Torso.CFrame
  112. sph.CanCollide = false
  113. sph.Anchored = true
  114. sph.Transparency = 0
  115. sph.Material = "Neon"
  116. sph.Shape = "Ball"
  117. sph.Size = Vector3.new(0.2,0.2,0.2)
  118. sp = Instance.new('SpecialMesh', sph)
  119. sp.MeshId = "http://www.roblox.com/Asset/?id=9982590"
  120. sp.Scale = Vector3.new(0.2,0.2,0.2)
  121. a = 0
  122.  
  123. for i = 1, 25 do
  124. sph.Color = Color3.new(math.random(1,255),math.random(1,255),math.random(1,255))
  125. sp.Scale = sp.Scale + Vector3.new(0.3,0.3,0.3)
  126. sph.Rotation = Vector3.new( a, a, a)
  127. wait()
  128. a = a+3
  129. end
  130. for _,e in pairs(char:GetChildren()) do
  131. if e:IsA('Accessory') then
  132. e.Handle.Transparency = 0
  133. end
  134. if e.Name ~= "HumanoidRootPart" and e:IsA('Part') then
  135. e.Transparency = 0
  136. end
  137. end
  138. for i = 1, 115 do
  139. sph.Color = Color3.new(math.random(1,255),math.random(1,255),math.random(1,255))
  140. sph.Transparency = sph.Transparency + 0.01
  141. sph.Rotation = Vector3.new( a, a, a)
  142. wait()
  143. a = a+15
  144. end
  145. char.Torso.Anchored = false
  146. char.Humanoid.HipHeight = 0
  147. end
  148.  
  149. function chat(chatt)
  150. local text = Instance.new("BillboardGui", game.Players.LocalPlayer.Character)
  151. text.Size = UDim2.new(0,100,0,40)
  152. text.StudsOffset = Vector3.new(0,3,0)
  153. text.Adornee = game.Players.LocalPlayer.Character.Head
  154. text.Name = "1"
  155. local text1 = Instance.new("TextLabel",text)
  156. text1.BackgroundTransparency = 1
  157. text1.TextStrokeTransparency = 1
  158. text1.TextTransparency = 1
  159. text1.BorderSizePixel = 0
  160. text1.Text = chatt
  161. text1.Font = "Fantasy"
  162. text1.FontSize = "Size36"
  163. text1.TextStrokeTransparency = 0
  164. text1.TextColor3 = Color3.new(1,1,1)
  165. text1.TextStrokeColor3 = Color3.new(0,0,0)
  166. text1.Size = UDim2.new(1,0,0.5,0)
  167. for i=1,15 do
  168. wait()
  169. text1.TextStrokeTransparency = text1.TextStrokeTransparency - 0.1
  170. text1.TextTransparency = text1.TextTransparency - 0.1
  171. end
  172. wait(1)
  173. for i=1,25 do
  174. wait()
  175. text1.TextStrokeTransparency = text1.TextStrokeTransparency + 0.1
  176. text1.TextTransparency = text1.TextTransparency + 0.1
  177. end
  178. end
  179.  
  180. function explo()
  181. sph = Instance.new('Part', char)
  182. sph.Touched:connect(function(hit)
  183. if hit.Parent:FindFirstChild('Humanoid') then
  184. if hit.Parent.Name ~= plr.Name then
  185. hit.Parent:Destroy()
  186. else
  187. end
  188. end
  189. end)
  190. sph.Anchored = true
  191. sph.CFrame = char.Torso.CFrame
  192. sph.CanCollide = false
  193. sph.Anchored = true
  194. sph.Transparency = 0
  195. sph.Material = "Neon"
  196. sph.Shape = "Ball"
  197. sph.Size = Vector3.new(0.2,0.2,0.2)
  198. for i = 1,50 do
  199. wait()
  200. sph.Size = sph.Size + Vector3.new(4,4,4)
  201. sph.Transparency = sph.Transparency + 0.03
  202. sph.CFrame = char.Torso.CFrame
  203. end
  204. sph:Destroy()
  205. end
  206.  
  207. --// Main script, don't touch if you don't know how to script or you might ruin the script.
  208.  
  209. entrance()
  210.  
  211. mouse.Button1Down:connect(function()
  212. if cd1 then
  213. if mouse.Target.Parent:FindFirstChild('Humanoid') then
  214. cd1 = false
  215. local target = mouse.Target.Parent
  216. target:FindFirstChild('Torso').Anchored = true
  217. for i=0,1,0.1 do
  218. rshold.C0 = rshold.C0:lerp(CFrame.new(0.9,0.5,-0.1)*CFrame.Angles(rad(-90),rad(90),rad(-180)),i)
  219. wait()
  220. end
  221. chat("Hakai!")
  222. wait(.5)
  223. particle = Instance.new('Part', workspace)
  224. particle.Anchored = true
  225. particle.CFrame = target:FindFirstChild('Torso').CFrame
  226. particle.CanCollide = false
  227. particle.Anchored = true
  228. particle.Transparency = 1
  229. particle.Size = Vector3.new(6.52, 10.36, 6.34)
  230. local pe = Instance.new("ParticleEmitter")
  231. pe.Acceleration = Vector3.new(7, 7, 7)
  232. pe.Lifetime = NumberRange.new(1, 4)
  233. pe.Rate = 500
  234. pe.RotSpeed = NumberRange.new(7, 7)
  235. pe.LightEmission = 0.700
  236. pe.Rotation = NumberRange.new(0, 0)
  237. pe.Size = NumberSequence.new({
  238. NumberSequenceKeypoint.new(0, 1, 0),
  239. NumberSequenceKeypoint.new(1, 10, 0),
  240. NumberSequenceKeypoint.new(1, 10, 0)
  241. })
  242. pe.Texture = "http://www.roblox.com/asset/?id=242996110"
  243. pe.Transparency = NumberSequence.new({
  244. NumberSequenceKeypoint.new(0, 0, 0),
  245. NumberSequenceKeypoint.new(0.4, 0.3, 0),
  246. NumberSequenceKeypoint.new(1, 1, 1)
  247. })
  248. pe.ZOffset = 5
  249. pe.VelocitySpread = 360
  250. pe.Parent = particle
  251. pe.Enabled = true
  252. wait(1)
  253. pe.Enabled = false
  254. target:Destroy()
  255. for i=0,1,0.1 do
  256. rshold.C0 = rshold.C0:lerp(rsho,i)
  257. wait()
  258. end
  259. wait(1)
  260. cd1 = true
  261. end
  262. end
  263. end)
  264.  
  265. mouse.KeyDown:connect(function(key)
  266. if key == "t" then
  267. if cd1 then
  268. cd1 = false
  269. particle = Instance.new('Part', workspace)
  270. particle.Anchored = true
  271. particle.CFrame = char:FindFirstChild('Torso').CFrame
  272. particle.CanCollide = false
  273. particle.Anchored = true
  274. particle.Transparency = 1
  275. particle.Size = Vector3.new(6.52, 10.36, 6.34)
  276. local pe = Instance.new("ParticleEmitter")
  277. pe.Acceleration = Vector3.new(7, 7, 7)
  278. pe.Lifetime = NumberRange.new(1, 4)
  279. pe.Rate = 500
  280. pe.RotSpeed = NumberRange.new(7, 7)
  281. pe.LightEmission = 0.700
  282. pe.Rotation = NumberRange.new(0, 0)
  283. pe.Size = NumberSequence.new({
  284. NumberSequenceKeypoint.new(0, 1, 0),
  285. NumberSequenceKeypoint.new(1, 10, 0),
  286. NumberSequenceKeypoint.new(1, 10, 0)
  287. })
  288. pe.Texture = "http://www.roblox.com/asset/?id=242996110"
  289. pe.Transparency = NumberSequence.new({
  290. NumberSequenceKeypoint.new(0, 0, 0),
  291. NumberSequenceKeypoint.new(0.4, 0.3, 0),
  292. NumberSequenceKeypoint.new(1, 1, 1)
  293. })
  294. pe.ZOffset = 5
  295. pe.VelocitySpread = 360
  296. pe.Parent = particle
  297. pe.Enabled = true
  298. wait(.3)
  299. char.Torso.CFrame = mouse.Hit
  300. pe.Enabled = false
  301. harmlessexplo()
  302. wait(3)
  303. cd1 = true
  304. end
  305. end
  306.  
  307. if key == "q" then
  308. if cd2 then
  309. cd2 = false
  310. for i=0,1,0.1 do
  311. lshold.C0 = lshold.C0:lerp(CFrame.new(-1.3,0.7,-0.1)*CFrame.Angles(rad(25),-rad(20),-rad(90)),i)
  312. rshold.C0 = rshold.C0:lerp(CFrame.new(1.3,0.7,-0.1)*CFrame.Angles(rad(25),rad(20),rad(90)),i)
  313. wait()
  314. end
  315.  
  316. local pe = Instance.new("ParticleEmitter")
  317. pe.Acceleration = Vector3.new(3, 3, 3)
  318. pe.Lifetime = NumberRange.new(0.1, 0.5)
  319. pe.Rate = 4000
  320. pe.RotSpeed = NumberRange.new(0, 0)
  321. pe.LightEmission = 0.700
  322. pe.Rotation = NumberRange.new(0, 0)
  323. pe.Size = NumberSequence.new({
  324. NumberSequenceKeypoint.new(0, 1, 0),
  325. NumberSequenceKeypoint.new(0.1, 1, 0),
  326. NumberSequenceKeypoint.new(1, 1, 0)
  327. })
  328. pe.Texture = "http://www.roblox.com/asset/?id=242996110"
  329. pe.Transparency = NumberSequence.new({
  330. NumberSequenceKeypoint.new(0, 0, 0),
  331. NumberSequenceKeypoint.new(0.4, 0.3, 0),
  332. NumberSequenceKeypoint.new(1, 1, 1)
  333. })
  334. pe.ZOffset = 5
  335. pe.VelocitySpread = 360
  336. pe.Parent = char["Right Arm"]
  337. pe1 = pe:Clone()
  338. pe1.Parent = char["Left Arm"]
  339. wait(.05)
  340. pe.Enabled = true
  341.  
  342. wait(.05)
  343.  
  344. for i= 1, 100 do
  345. char.Humanoid.HipHeight = char.Humanoid.HipHeight + 0.5
  346. wait()
  347. end
  348.  
  349. wait(.03)
  350.  
  351. chat("This planet is bad, Lets destroy it")
  352. wait(.07)
  353. explo()
  354. wait(.04)
  355. for i=0,1,0.1 do
  356. lshold.C0 = lshold.C0:lerp(lsho,i)
  357. rshold.C0 = rshold.C0:lerp(rsho,i)
  358. wait()
  359. end
  360. pe.Enabled = false
  361. pe1.Enabled = fasle
  362. char.Humanoid.HipHeight = 0
  363. wait(5)
  364. cd2 = true
  365. end
  366. end
  367. end)
  368.  
  369. while wait() do
  370. char.Humanoid.MaxHealth = 99999
  371. char.Humanoid.Health = char.Humanoid.MaxHealth
  372. end
Add Comment
Please, Sign In to add comment