Advertisement
Dark_EccentricYT

Untitled

Oct 20th, 2020 (edited)
21,159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.12 KB | None | 0 0
  1. local function DoChanges(v)
  2. local A_1 = "ToggleParticles"
  3. local A_2 = {
  4. [1] = false,
  5. [2] = {
  6. [1] = v,
  7. [2] = v,
  8. [3] = v,
  9. [4] = v
  10. }
  11. }
  12. local Event = game:GetService("ReplicatedStorage").ONEJetpackEvent
  13. Event:FireServer(A_1, A_2)
  14. end
  15. local function GetFatPlayer(CharacterPart)
  16. for _, Player in next, game:GetService("Players"):GetChildren() do
  17. if Player.Character then
  18. for _, Descendant in next, Player.Character:GetDescendants() do
  19. if CharacterPart == Descendant and Player ~= game:GetService("Players").LocalPlayer then
  20. return Player
  21. end
  22. end
  23. end
  24. end
  25. end
  26. spawn(function()
  27. local settings = settings();
  28. settings.Lua.DefaultWaitTime = 0
  29. while wait() do
  30. for i = 1, 100 do
  31. sethiddenproperty(game.Players.LocalPlayer, "SimulationRadius", math.pow(math.huge,math.huge))
  32. end
  33. end
  34. end)
  35. local Accessoryies = {215718515, 74891470, 1744060292}
  36. local Holding
  37. local RePosition = false
  38. local Debounce = false
  39. local Character = game:GetService("Players").LocalPlayer.Character
  40. local A_1 = "Hat"
  41. local A_2 = 1055299
  42. local Event = game:GetService("ReplicatedStorage").ClothingService
  43. Event:FireServer(A_1, A_2)
  44. local Hammer = Character:WaitForChild("TeapotTurret"):WaitForChild("GravityHammer")
  45. Hammer.Parent = Character
  46. Hammer.Parent = workspace.Terrain
  47. Hammer.Handle.Rotation = Character.Head.Rotation
  48. Hammer.Name = "Gun"
  49. Character:WaitForChild("TeapotTurret"):Destroy()
  50. local Attachment = Instance.new("Attachment", Hammer.Handle)
  51. Attachment.WorldCFrame = Hammer.Handle.CFrame + Hammer.Handle.CFrame.LookVector * -5
  52. local Attachment4 = Instance.new("Attachment", Hammer.Handle)
  53. Attachment4.WorldCFrame = Hammer.Handle.CFrame + Hammer.Handle.CFrame.LookVector * 5
  54. Hammer.Handle.Position = Hammer.Handle.Position - Vector3.new(1,1,0)
  55. local Mouse = game:GetService("Players").LocalPlayer:GetMouse()
  56. for _, WorkspaceInstance in next, game:GetService("Workspace"):GetDescendants() do
  57. if WorkspaceInstance:IsA("Part") then
  58. if WorkspaceInstance.Transparency == 1 then
  59. Mouse.TargetFilter = WorkspaceInstance
  60. end
  61. end
  62. end
  63. for _, Teleporter in next, game:GetService("Workspace"):GetChildren() do
  64. if Teleporter.Name == "Teleporter" then
  65. Teleporter:Destroy()
  66. end
  67. end
  68. game:GetService("UserInputService").InputEnded:Connect(function(Input, Chat)
  69. if Input.UserInputType == Enum.UserInputType.MouseButton1 then
  70. Holding = false
  71. end
  72. end)
  73. game:GetService("ReplicatedStorage").ClothingService:FireServer("Hat", 33070696)
  74. local Sound = Character:WaitForChild("Harmonica")
  75. Sound.Handle.Harm2:Play()
  76. game:GetService("UserInputService").InputBegan:Connect(function(Input, Chat)
  77. if Input.UserInputType == Enum.UserInputType.MouseButton1 and Hammer.Parent ~= nil then
  78. Holding = true
  79. while Holding do wait()
  80. spawn(function()
  81. if RePosition == false then
  82. RePosition = true
  83. spawn(function()
  84. wait(1)
  85. local Animation = Instance.new("Animation")
  86. Animation.AnimationId = "rbxassetid://1323151362"
  87. local Track = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(Animation)
  88. Track = game.Players.LocalPlayer.Character:WaitForChild("Humanoid"):LoadAnimation(Animation)
  89. Track:Play(0, 5, 1)
  90. wait(.4)
  91. Track:AdjustSpeed(0)
  92. end)
  93. end
  94. for _, Players in next, game:GetService("Players"):GetChildren() do
  95. for _, Instances in next, Players.Character:GetDescendants() do
  96. if Instances:IsA("Accessory") then
  97. Mouse.TargetFilter = Instances
  98. end
  99. end
  100. end
  101. game:GetService("ReplicatedStorage").ClothingService:FireServer("Hat", Accessoryies[math.random(1,#Accessoryies)])
  102. local Bullet = Character:WaitForChild("FlamingHorns")
  103. pcall(function()
  104. Bullet.Handle:FindFirstChildOfClass("SpecialMesh"):Destroy()
  105. Bullet.Handle.CanCollide = false
  106. Bullet.Handle.AccessoryWeld:Destroy()
  107. Bullet.Handle.CFrame = Attachment.WorldCFrame
  108. Bullet.Name = "Bullet"
  109. if Character:FindFirstChild("FlamingHorns") then
  110. Character:FindFirstChild("FlamingHorns"):Destroy()
  111. end
  112. local Attachment2 = Instance.new("Attachment", workspace.Part)
  113. local Attachment3 = Instance.new("Attachment", Bullet.Handle)
  114. Bullet.Handle.CanCollide = true
  115. local Distance = (Mouse.Hit.Position - Attachment3.WorldPosition).magnitude/25
  116. Attachment2.WorldPosition = Mouse.Hit.Position + Vector3.new(Distance * math.random(-1000,1000)/750, Distance * math.random(-1000,1000)/750, Distance * math.random(-1000,1000)/750)
  117. Attachment2.WorldPosition = Attachment2.WorldPosition + Mouse.Hit.LookVector * 200
  118. local AlignPosition = Instance.new("AlignPosition", Bullet.Handle)
  119. AlignPosition.MaxForce = 99999999999999999
  120. AlignPosition.MaxVelocity = math.huge
  121. AlignPosition.Attachment0 = Attachment3
  122. AlignPosition.Attachment1 = Attachment2
  123. Mouse.TargetFilter = Bullet.Handle
  124. Mouse.TargetFilter = Hammer.Handle
  125. wait(.125)
  126. AlignPosition:Destroy()
  127. spawn(function()
  128. wait(2)
  129. Bullet:Destroy()
  130. end)
  131. end)
  132. local Hit = GetFatPlayer(Mouse.Target)
  133. if Hit then
  134. Sound.Handle.Harm3:Play()
  135. for _, j in next, Hit.Character:GetDescendants() do
  136. pcall(function()
  137. if j.Enabled == true then
  138. DoChanges(j)
  139. end
  140. end)
  141. end
  142. end
  143. Bullet.Handle.Touched:Connect(function(PlayerDescendant)
  144. local Hit = GetFatPlayer(PlayerDescendant)
  145. if Hit then
  146. Sound.Handle.Harm3:Play()
  147. for _, j in next, Hit.Character:GetDescendants() do
  148. pcall(function()
  149. if j.Enabled == true then
  150. DoChanges(j)
  151. end
  152. end)
  153. end
  154. end
  155. end)
  156. end)
  157. end
  158. end
  159. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement