Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Serv
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- local UserInputService = game:GetService("UserInputService")
- --Vars
- local plr = game.Players.LocalPlayer
- local Char = plr.Character or plr.CharacterAdded:Wait()
- local Remote = ReplicatedStorage.PikaBeam
- local Mouse = plr:GetMouse()
- --The yeets
- local Debounce = true
- local Key = 'Z'
- UserInputService.InputBegan:Connect(function(Input, IsTyping)
- if IsTyping then return end
- local KeyPressed = Input.KeyCode
- if KeyPressed == Enum.KeyCode[Key] and Debounce and Char then
- Debounce = false
- Remote:FireServer(Mouse.Hit)
- wait(1)
- Debounce = true
- end
- end)
- --Service
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- local BeanService = game:GetService("TweenService")
- --Vars
- local Remote = ReplicatedStorage.PikaBeam
- local TI = TweenInfo.new(
- 0.4,
- Enum.EasingStyle.Linear,
- Enum.EasingDirection.Out,
- 0,
- false,
- 0
- )
- local PP = {
- Size = Vector3.new(100,100,100);
- Transparency = 1
- }
- --THE INFINITE GAY
- local Damage = 30
- Remote.OnServerEvent:Connect(function(plr, Mouse)
- local Char = plr.Character or plr.CharacterAdded:Wait()
- local ray = Ray.new(Char.HumanoidRootPart.CFrame.p, (Mouse.p - Char.HumanoidRootPart.CFrame.p).unit * 200)
- local part, position = workspace:FindPartOnRay(ray, plr.Character, false, true)
- local beam = Instance.new("Part")
- beam.BrickColor = BrickColor.new("New Yeller")
- beam.FormFactor = "Custom"
- beam.Material = "Neon"
- beam.Transparency = 0.25
- beam.Anchored = true
- beam.Locked = true
- beam.CanCollide = false
- beam.Parent = workspace
- local distance = (Char.HumanoidRootPart.CFrame.p - position).magnitude
- beam.Size = Vector3.new(0.3, 0.3, distance)
- beam.CFrame = CFrame.new(Char.HumanoidRootPart.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
- game:GetService("Debris"):AddItem(beam, 0.1)
- local Explo = game.ReplicatedStorage.PikaExplosion:Clone()
- Explo.Parent = part
- Explo.CFrame = CFrame.new(Char.HumanoidRootPart.CFrame.p,position)*CFrame.new(0,0,-distance)
- local Debounce = true
- Explo.Touched:Connect(function(h)
- if h.Parent:FindFirstChild('Humanoid') and h.Parent.Name ~= plr.Name and Debounce then
- Debounce = false
- local Enemy = h.Parent.Humanoid
- Enemy:TakeDamage(Damage)
- Damage = 0
- wait(0.5)
- Damage = 30
- end
- end)
- local Tween = BeanService:Create(Explo,TI,PP)
- Tween:Play()
- if part then
- local humanoid = part.Parent:FindFirstChild("Humanoid")
- if not humanoid then
- humanoid = part.Parent.Parent:FindFirstChild("Humanoid")
- end
- if humanoid then
- humanoid:TakeDamage(30)
- end
- wait(0.5)
- Explo:Destroy()
- end
- end)
- --Serv
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- local TS = game:GetService("TweenService")
- --// Variables \\--
- local Remote = ReplicatedStorage.PikaTP
- --// Settings \\--
- local Damage = 30
- Remote.OnServerEvent:Connect(function(plr, Mouse)
- local Char = plr.Character or plr.CharacterAdded:Wait()
- local ray = Ray.new(Char.HumanoidRootPart.CFrame.p, (Mouse.p - Char.HumanoidRootPart.CFrame.p).unit * 200)
- local part, position = workspace:FindPartOnRay(ray, plr.Character, false, true)
- local beam = Instance.new("Part")
- beam.BrickColor = BrickColor.new("New Yeller")
- beam.FormFactor = "Custom"
- beam.Material = "Neon"
- beam.Transparency = 0.25
- beam.Anchored = true
- beam.Locked = true
- beam.CanCollide = false
- beam.Parent = workspace
- local distance = (Char.HumanoidRootPart.CFrame.p - position).magnitude
- beam.Size = Vector3.new(0.3, 0.3, distance)
- beam.CFrame = CFrame.new(Char.HumanoidRootPart.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
- Char.HumanoidRootPart.CFrame = CFrame.new(position)
- game:GetService("Debris"):AddItem(beam, 0.1)
- end)
- local RS = game:GetService("ReplicatedStorage")
- local Remote = RS.Combo
- Remote.OnServerEvent:Connect(function(plr, Mouse)
- local Char = plr.Character or plr.CharacterAdded:Wait()
- local ray = Ray.new(Char.HumanoidRootPart.CFrame.p, (Mouse.p - Char.HumanoidRootPart.CFrame.p).unit * 100)
- local part, position = workspace:FindPartOnRay(ray, plr.Character, false, true)
- beam.BrickColor = BrickColor.new("New Yeller")
- beam.FormFactor = "Custom"
- beam.Material = "Neon"
- beam.Transparency = 0.25
- beam.Anchored = true
- beam.Locked = true
- beam.CanCollide = false
- beam.Parent = workspace
- game:GetService("Debris"):AddItem(beam, 0.1)
- if part then
- local humanoid = part.Parent:FindFirstChild("Humanoid")
- if not humanoid then
- humanoid = part.Parent.Parent:FindFirstChild("Humanoid")
- end
- local yeet = humanoid.Parent:FindFirstChild("HumanoidRootPart")
- if humanoid then
- Char.HumanoidRootPart.CFrame = yeet.CFrame*CFrame.new(0,0,2)
- humanoid.WalkSpeed = 0
- humanoid.JumpPower = 0
- humanoid:TakeDamage(30)
- wait(1)
- humanoid.WalkSpeed = 15
- humanoid.JumpPower = 30
- end
- end
- end)
- local SS = game:GetService('ServerStorage')
- local DS = game:GetService('DataStoreService')
- local UMG = DS:GetDataStore('UMG')
- game.Players.PlayerAdded:Connect(function(plr)
- local yeet = Instance.new('Folder')
- yeet.Parent = SS
- local lol = Instance.new('BoolValue')
- lol.Parent = yeet
- lol.Value = UMG:GetAsync(plr.userId) or false
- if lol.Value = true then
- game.Players.plr:Kick("ur mom gay lol")
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement