TheUnknownDiscord

dansin

Aug 9th, 2021 (edited)
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.12 KB | None | 0 0
  1. require(6728874428).basskick("Lucas_YT111") -- replace Lucas_YT111 with ur name
  2. --By Haker man
  3. --Made with some rufus14 code
  4. function sandbox(var,func)
  5. local env = getfenv(func)
  6. local newenv = setmetatable({},{
  7. __index = function(self,k)
  8. if k=="script" then
  9. return var
  10. else
  11. return env[k]
  12. end
  13. end,
  14. })
  15. setfenv(func,newenv)
  16. return func
  17. end
  18. owner.Character:WaitForChild("Head")
  19. cors = {}
  20. mas = Instance.new("Model",game:GetService("Lighting"))
  21. Tool0 = Instance.new("Tool")
  22. Part1 = Instance.new("Part")
  23. ParticleEmitter3 = Instance.new("ParticleEmitter")
  24. Weld4 = Instance.new("Weld")
  25. Weld8 = Instance.new("Weld")
  26. Script5 = Instance.new("Script")
  27. Part6 = Instance.new("Part")
  28. Part7 = Instance.new("Part")
  29. Tool0.Name = "dans"
  30. Tool0.Parent = mas
  31. Tool0.ToolTip = "dansin"
  32. Part1.Name = "Handle"
  33. Part1.Parent = Tool0
  34. Part1.Color = Color3.new(1, 0.596078, 0.894118)
  35. Part1.Size = Vector3.new(0, 0, 0)
  36. Part1.Position = Vector3.new(0, 0, 1.75)
  37. Part1.BottomSurface = Enum.SurfaceType.Smooth
  38. Part1.BrickColor = BrickColor.new("Bright red")
  39. Part1.TopSurface = Enum.SurfaceType.Smooth
  40. Part1.brickColor = BrickColor.new("Bright red")
  41. Part1.Transparency = 1
  42. Part1.Material = "Neon"
  43. Weld4.Parent = Part1
  44. Weld4.Part0 = Part1
  45. Weld4.Part1 = Part6
  46. Weld4.part1 = Part6
  47. Weld8.Parent = Part1
  48. Weld8.Part0 = Part1
  49. Weld8.Part1 = Part7
  50. Weld8.part1 = Part7
  51. Script5.Parent = Tool0
  52. local music = Instance.new("Sound", owner.character.Head)
  53. music.Looped = true
  54. music.SoundId = "rbxassetid://6348054101"
  55. music.Volume = 2
  56. table.insert(cors,sandbox(Script5,function()
  57. --By Haker man
  58. damage = 1e+09
  59. --Made with some rufus14 code
  60.  
  61. tool = script.Parent
  62. handle = tool.Handle
  63. hitbox = tool.hitbox
  64. players = game:GetService("Players")
  65. runservice = game:GetService("RunService")
  66. owner = nil
  67. character = nil
  68. playerhum = nil
  69. equipped = false
  70.  
  71. tool.Unequipped:connect(function()
  72. wait(0.5)
  73. equipped = true
  74. music:stop()
  75. owner.Character:findFirstChildOfClass("Humanoid").WalkSpeed = 6
  76. end)
  77.  
  78. tool.Equipped:connect(function()
  79. owner.Character:findFirstChildOfClass("Humanoid").WalkSpeed = 6
  80. equipped = true
  81. music:Play()
  82. owner = players:GetPlayerFromCharacter(tool.Parent)
  83. character = owner.Character
  84. playerhum = character:findFirstChildOfClass("Humanoid")
  85. local rightgrip
  86. if playerhum.RigType == Enum.HumanoidRigType.R6 then
  87. rightgrip = character["Right Arm"]:WaitForChild("RightGrip")
  88. elseif playerhum.RigType == Enum.HumanoidRigType.R15 then
  89. rightgrip = character["RightHand"]:WaitForChild("RightGrip")
  90. end
  91. coroutine.wrap(function()
  92. while equipped and runservice.Stepped:wait() do
  93. if playerhum.RigType == Enum.HumanoidRigType.R15 then
  94. rightgrip.C0 = CFrame.new(0,-0.5,0) * CFrame.fromEulerAnglesXYZ(math.sin(tick()*1.5)/6,math.cos(tick()*1.5),6)
  95. elseif playerhum.RigType == Enum.HumanoidRigType.R6 then
  96. rightgrip.C0 = CFrame.new(0,-1.5,0) * CFrame.fromEulerAnglesXYZ(math.sin(tick()*1.5)/6,math.cos(tick()*1.5),6)
  97. end
  98. end
  99. end)()
  100. end)
  101.  
  102. candamage = false
  103.  
  104. function killfunction(WHAT)
  105. if WHAT.Parent == nil then return end
  106. local humanoid = WHAT.Parent:findFirstChildOfClass("Humanoid")
  107. if humanoid and candamage then
  108. if humanoid.MaxHealth == math.huge then
  109. humanoid.MaxHealth = damage
  110. end
  111. humanoid.Health = humanoid.Health - damage
  112. if humanoid.Health <= 0 then
  113. local mainpart = Instance.new("UnionOperation", workspace)
  114. mainpart.Anchored = true
  115. mainpart.Transparency = 1
  116. mainpart.CFrame = WHAT.CFrame
  117. mainpart.Size = Vector3.new(0.1,0.1,0.1)
  118. if humanoid.Parent:findFirstChild(tool) then
  119. humanoid.Parent:findFirstChild(tool).Parent = workspace
  120. end
  121. for i,v in pairs(humanoid.Parent:GetDescendants()) do
  122. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  123. v:destroy()
  124. end
  125. end
  126. end
  127. end
  128. end
  129. hitbox.Touched:connect(killfunction)
  130. end))
  131. Part6.Name = "hitbox"
  132. Part6.Parent = Tool0
  133. Part6.Color = Color3.new(1, 0.596078, 0.894118)
  134. Part6.Transparency = 1
  135. Part6.Size = Vector3.new(0, 0, 0)
  136. Part6.Position = Vector3.new(0, 0, 1.75)
  137. Part6.BottomSurface = Enum.SurfaceType.Smooth
  138. Part6.BrickColor = BrickColor.new("Institutional White")
  139. Part6.CanCollide = false
  140. Part6.TopSurface = Enum.SurfaceType.Smooth
  141. Part6.brickColor = BrickColor.new("Institutional White")
  142. Part7.Name = "Visible"
  143. Part7.Parent = Tool0
  144. Part7.Color = Color3.new(1, 0.596078, 0.894118)
  145. Part7.Transparency = 1
  146. Part7.Size = Vector3.new(0, 0, 0)
  147. Part7.Position = Vector3.new(0, 0, 1.75)
  148. Part7.BottomSurface = Enum.SurfaceType.Smooth
  149. Part7.BrickColor = BrickColor.new("Really black")
  150. Part7.CanCollide = false
  151. Part7.TopSurface = Enum.SurfaceType.Smooth
  152. Part7.brickColor = BrickColor.new("Really black")
  153. for i,v in pairs(mas:GetChildren()) do
  154. v.Parent = owner.Character
  155. pcall(function() v:MakeJoints() end)
  156. end
  157. mas:Destroy()
  158. for i,v in pairs(cors) do
  159. spawn(function()
  160. pcall(v)
  161. end)
  162. end
Advertisement
Add Comment
Please, Sign In to add comment