Advertisement
Nightmaare420

HD scripts

Oct 9th, 2019
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.23 KB | None | 0 0
  1. --Serv
  2. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  3. local UserInputService = game:GetService("UserInputService")
  4.  
  5. --Vars
  6. local plr = game.Players.LocalPlayer
  7. local Char = plr.Character or plr.CharacterAdded:Wait()
  8. local Remote = ReplicatedStorage.PikaBeam
  9. local Mouse = plr:GetMouse()
  10.  
  11. --The yeets
  12. local Debounce = true
  13. local Key = 'Z'
  14.  
  15. UserInputService.InputBegan:Connect(function(Input, IsTyping)
  16.  if IsTyping then return end
  17.  local KeyPressed = Input.KeyCode
  18.  if KeyPressed == Enum.KeyCode[Key] and Debounce and Char then
  19.   Debounce = false
  20.   Remote:FireServer(Mouse.Hit)
  21.   wait(1)
  22.   Debounce = true
  23.  end
  24. end)
  25.  
  26.  
  27.  
  28.  
  29.  
  30. --Service
  31. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  32. local BeanService = game:GetService("TweenService")
  33.  
  34. --Vars
  35. local Remote = ReplicatedStorage.PikaBeam
  36. local TI = TweenInfo.new(
  37.     0.4,
  38.     Enum.EasingStyle.Linear,
  39.     Enum.EasingDirection.Out,
  40.     0,
  41.     false,
  42.     0
  43. )
  44. local PP = {
  45.     Size = Vector3.new(100,100,100);
  46.     Transparency = 1
  47.     }
  48.  
  49. --THE INFINITE GAY
  50. local Damage = 30
  51.  
  52.  
  53. Remote.OnServerEvent:Connect(function(plr, Mouse)
  54. local Char = plr.Character or plr.CharacterAdded:Wait()
  55.  
  56. local ray = Ray.new(Char.HumanoidRootPart.CFrame.p, (Mouse.p - Char.HumanoidRootPart.CFrame.p).unit * 200)
  57. local part, position = workspace:FindPartOnRay(ray, plr.Character, false, true)
  58. local beam = Instance.new("Part")
  59. beam.BrickColor = BrickColor.new("New Yeller")
  60. beam.FormFactor = "Custom"
  61. beam.Material = "Neon"
  62. beam.Transparency = 0.25
  63. beam.Anchored = true
  64. beam.Locked = true
  65. beam.CanCollide = false
  66. beam.Parent = workspace
  67.  
  68. local distance = (Char.HumanoidRootPart.CFrame.p - position).magnitude
  69. beam.Size = Vector3.new(0.3, 0.3, distance)
  70. beam.CFrame = CFrame.new(Char.HumanoidRootPart.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  71.  
  72. game:GetService("Debris"):AddItem(beam, 0.1)
  73.  
  74. local Explo = game.ReplicatedStorage.PikaExplosion:Clone()
  75. Explo.Parent = part
  76. Explo.CFrame = CFrame.new(Char.HumanoidRootPart.CFrame.p,position)*CFrame.new(0,0,-distance)
  77.  local Debounce = true
  78. Explo.Touched:Connect(function(h)
  79.   if h.Parent:FindFirstChild('Humanoid') and h.Parent.Name ~= plr.Name and Debounce then
  80.    Debounce = false  
  81.    local Enemy = h.Parent.Humanoid
  82.    Enemy:TakeDamage(Damage)
  83. Damage = 0
  84. wait(0.5)
  85. Damage = 30
  86. end
  87. end)
  88.  
  89. local Tween = BeanService:Create(Explo,TI,PP)
  90. Tween:Play()
  91. if part then
  92.     local humanoid = part.Parent:FindFirstChild("Humanoid")
  93.            
  94.     if not humanoid then
  95.         humanoid = part.Parent.Parent:FindFirstChild("Humanoid")
  96.     end
  97.            
  98.     if humanoid then
  99.         humanoid:TakeDamage(30)            
  100.       end
  101.     wait(0.5)
  102.     Explo:Destroy()
  103.  end
  104. end)
  105.  
  106. --Serv
  107. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  108. local TS = game:GetService("TweenService")
  109.  
  110. --// Variables \\--
  111. local Remote = ReplicatedStorage.PikaTP
  112.  
  113. --// Settings \\--
  114. local Damage = 30
  115.  
  116.  
  117. Remote.OnServerEvent:Connect(function(plr, Mouse)
  118. local Char = plr.Character or plr.CharacterAdded:Wait()
  119.  
  120. local ray = Ray.new(Char.HumanoidRootPart.CFrame.p, (Mouse.p - Char.HumanoidRootPart.CFrame.p).unit * 200)
  121. local part, position = workspace:FindPartOnRay(ray, plr.Character, false, true)
  122. local beam = Instance.new("Part")
  123. beam.BrickColor = BrickColor.new("New Yeller")
  124. beam.FormFactor = "Custom"
  125. beam.Material = "Neon"
  126. beam.Transparency = 0.25
  127. beam.Anchored = true
  128. beam.Locked = true
  129. beam.CanCollide = false
  130. beam.Parent = workspace
  131.  
  132. local distance = (Char.HumanoidRootPart.CFrame.p - position).magnitude
  133. beam.Size = Vector3.new(0.3, 0.3, distance)
  134. beam.CFrame = CFrame.new(Char.HumanoidRootPart.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  135. Char.HumanoidRootPart.CFrame = CFrame.new(position)
  136. game:GetService("Debris"):AddItem(beam, 0.1)
  137.  
  138. end)
  139.  
  140. local RS = game:GetService("ReplicatedStorage")
  141. local Remote = RS.Combo
  142.  
  143. Remote.OnServerEvent:Connect(function(plr, Mouse)
  144.     local Char = plr.Character or plr.CharacterAdded:Wait()
  145.    
  146.     local ray = Ray.new(Char.HumanoidRootPart.CFrame.p, (Mouse.p - Char.HumanoidRootPart.CFrame.p).unit * 100)
  147.    
  148.     local part, position = workspace:FindPartOnRay(ray, plr.Character, false, true)
  149.  
  150. beam.BrickColor = BrickColor.new("New Yeller")
  151. beam.FormFactor = "Custom"
  152. beam.Material = "Neon"
  153. beam.Transparency = 0.25
  154. beam.Anchored = true
  155. beam.Locked = true
  156. beam.CanCollide = false
  157. beam.Parent = workspace
  158. game:GetService("Debris"):AddItem(beam, 0.1)
  159.    
  160.     if part then
  161.     local humanoid = part.Parent:FindFirstChild("Humanoid")
  162.            
  163.     if not humanoid then
  164.         humanoid = part.Parent.Parent:FindFirstChild("Humanoid")
  165.     end
  166.         local yeet = humanoid.Parent:FindFirstChild("HumanoidRootPart")
  167.     if humanoid then
  168.         Char.HumanoidRootPart.CFrame = yeet.CFrame*CFrame.new(0,0,2)
  169.         humanoid.WalkSpeed = 0
  170.         humanoid.JumpPower = 0
  171.         humanoid:TakeDamage(30)
  172.         wait(1)
  173.         humanoid.WalkSpeed = 15
  174.         humanoid.JumpPower = 30        
  175.       end
  176.     end
  177. end)
  178.  
  179. local SS = game:GetService('ServerStorage')
  180. local DS = game:GetService('DataStoreService')
  181. local UMG = DS:GetDataStore('UMG')
  182.  
  183. game.Players.PlayerAdded:Connect(function(plr)
  184. local yeet = Instance.new('Folder')
  185. yeet.Parent = SS
  186.  
  187. local lol = Instance.new('BoolValue')
  188. lol.Parent = yeet
  189. lol.Value = UMG:GetAsync(plr.userId) or false
  190.  
  191. if lol.Value = true then
  192. game.Players.plr:Kick("ur mom gay lol")
  193. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement