Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- owner.Character.Humanoid:RemoveAccessories()
- part1 = Instance.new("Part", owner.Character.Torso)
- part1.Size = Vector3.new(4,5,4)
- part1.Transparency = 1
- part1.CanCollide = false
- local leftarm2 = Instance.new("Weld", owner.Character["Left Arm"])
- leftarm2.Part0 = part1
- leftarm2.Part1 = owner.Character["Left Arm"]
- leftarm2.part1 = owner.Character["Left Arm"]
- part2 = Instance.new("Part", owner.Character.Torso)
- part2.Size = Vector3.new(0.61,1.8,1.11)
- part2.CanCollide = false
- part2.BottomSurface = Enum.SurfaceType.Smooth
- part2.BrickColor = BrickColor.new("Really black")
- part2.TopSurface = Enum.SurfaceType.Smooth
- part2.brickColor = BrickColor.new("Really black")
- part8 = Instance.new("Part", owner.Character.Torso)
- part8.Size = Vector3.new(2.1,1.1,1.1)
- part8.CanCollide = false
- part8.BottomSurface = Enum.SurfaceType.Smooth
- part8.BrickColor = BrickColor.new("Really black")
- part8.TopSurface = Enum.SurfaceType.Smooth
- part8.brickColor = BrickColor.new("Really black")
- part5 = Instance.new("Part", owner.Character.Head)
- part5.Size = Vector3.new(2,1,1)
- part5.CanCollide = false
- part5.BottomSurface = Enum.SurfaceType.Smooth
- part5.BrickColor = BrickColor.new("Really black")
- part5.TopSurface = Enum.SurfaceType.Smooth
- part5.brickColor = BrickColor.new("Really black")
- local mesh = Instance.new("SpecialMesh", part5)
- mesh.MeshType = Enum.MeshType.Head
- mesh.Scale = Vector3.new(1.251, 1.251, 1.251)
- part3 = Instance.new("Part", owner.Character.Torso)
- part3.Size = Vector3.new(1.111,0.25,1.111)
- part3.CanCollide = false
- part3.BottomSurface = Enum.SurfaceType.Smooth
- part3.BrickColor = BrickColor.new(0.49, 0.041, 0.79)
- part3.TopSurface = Enum.SurfaceType.Smooth
- part3.brickColor = BrickColor.new(0.49, 0.041, 0.79)
- part4 = Instance.new("Part", owner.Character.Torso)
- part4.Shape = Enum.PartType.Cylinder
- part4.Size = Vector3.new(0.25,0.8,0.8)
- part4.CanCollide = false
- part4.BottomSurface = Enum.SurfaceType.Smooth
- part4.BrickColor = BrickColor.new("Dark grey")
- part4.TopSurface = Enum.SurfaceType.Smooth
- part4.brickColor = BrickColor.new("Dark grey")
- part6 = Instance.new("Part", owner.Character.Torso)
- part6.Size = Vector3.new(0.25,0.5,0.25)
- part6.CanCollide = false
- part6.BottomSurface = Enum.SurfaceType.Smooth
- part6.BrickColor = BrickColor.new(0.49, 0.041, 0.79)
- part6.TopSurface = Enum.SurfaceType.Smooth
- part6.brickColor = BrickColor.new(0.49, 0.041, 0.79)
- local mesh2 = Instance.new("SpecialMesh", part6)
- mesh2.MeshType = Enum.MeshType.Sphere
- mesh2.Scale = Vector3.new(0.25, 0.5, 0.15)
- part7 = Instance.new("Part", owner.Character.Torso)
- part7.Size = Vector3.new(0.25,0.5,0.25)
- part7.CanCollide = false
- part7.BottomSurface = Enum.SurfaceType.Smooth
- part7.BrickColor = BrickColor.new(0.49, 0.041, 0.79)
- part7.TopSurface = Enum.SurfaceType.Smooth
- part7.brickColor = BrickColor.new(0.49, 0.041, 0.79)
- local mesh3 = Instance.new("SpecialMesh", part7)
- mesh3.MeshType = Enum.MeshType.Sphere
- mesh3.Scale = Vector3.new(0.25, 0.5, 0.15)
- local leftarm3 = Instance.new("Weld", owner.Character["Left Arm"])
- leftarm3.Part0 = part2
- leftarm3.Part1 = owner.Character["Left Arm"]
- leftarm3.part1 = owner.Character["Left Arm"]
- leftarm3.C0 = CFrame.new(0.25,0,0)
- local leftarm7 = Instance.new("Weld", owner.Character.Head)
- leftarm7.Part0 = part6
- leftarm7.Part1 = owner.Character.Head
- leftarm7.part1 = owner.Character.Head
- leftarm7.C0 = CFrame.new(0.125,-0.15,0.6)
- local leftarm8 = Instance.new("Weld", owner.Character.Head)
- leftarm8.Part0 = part7
- leftarm8.Part1 = owner.Character.Head
- leftarm8.part1 = owner.Character.Head
- leftarm8.C0 = CFrame.new(-0.125,-0.15,0.6)
- local leftarm9 = Instance.new("Weld", owner.Character.Torso)
- leftarm9.Part0 = part8
- leftarm9.Part1 = owner.Character.Torso
- leftarm9.part1 = owner.Character.Torso
- leftarm9.C0 = CFrame.new(0,-0.5,0)
- local leftarm6 = Instance.new("Weld", owner.Character.Head)
- leftarm6.Part0 = part5
- leftarm6.Part1 = owner.Character.Head
- leftarm6.part1 = owner.Character.Head
- local leftarm4 = Instance.new("Weld", owner.Character["Left Arm"])
- leftarm4.Part0 = part3
- leftarm4.Part1 = owner.Character["Left Arm"]
- leftarm4.part1 = owner.Character["Left Arm"]
- leftarm4.C0 = CFrame.new(0,0.9,0)
- local leftarm5 = Instance.new("Weld", owner.Character["Left Arm"])
- leftarm5.Part0 = part4
- leftarm5.Part1 = owner.Character["Left Arm"]
- leftarm5.part1 = owner.Character["Left Arm"]
- leftarm5.C0 = CFrame.new(-0.925,0,0) * CFrame.Angles(0,0,math.rad(90))
- part1again = Instance.new("Part", owner.Character.Torso)
- part1again.Size = Vector3.new(1.111,0.25,1.111)
- part1again.CanCollide = false
- part1again.BottomSurface = Enum.SurfaceType.Smooth
- part1again.BrickColor = BrickColor.new(0.49, 0.041, 0.79)
- part1again.TopSurface = Enum.SurfaceType.Smooth
- part1again.brickColor = BrickColor.new(0.49, 0.041, 0.79)
- local leftarm2again = Instance.new("Weld", owner.Character["Left Leg"])
- leftarm2again.Part0 = part1again
- leftarm2again.Part1 = owner.Character["Left Leg"]
- leftarm2again.part1 = owner.Character["Left Leg"]
- leftarm2again.C0 = CFrame.new(0,0.9,0)
- part2again = Instance.new("Part", owner.Character.Torso)
- part2again.Size = Vector3.new(1.11,1.8,0.61)
- part2again.CanCollide = false
- part2again.BottomSurface = Enum.SurfaceType.Smooth
- part2again.BrickColor = BrickColor.new("Really black")
- part2again.TopSurface = Enum.SurfaceType.Smooth
- part2again.brickColor = BrickColor.new("Really black")
- local leftarm3again = Instance.new("Weld", owner.Character["Left Leg"])
- leftarm3again.Part0 = part2again
- leftarm3again.Part1 = owner.Character["Left Leg"]
- leftarm3again.part1 = owner.Character["Left Leg"]
- leftarm3again.C0 = CFrame.new(0,0,0.25)
- myhum = owner.Character.Humanoid
- function thinghere(otherPart)
- if owner.Character.Humanoid.WalkSpeed > 1 then
- local partParent = otherPart.Parent
- local humanoid = partParent:FindFirstChildWhichIsA("Humanoid")
- local head = partParent:findFirstChild("Head")
- if humanoid ~= "myhum" and humanoid then
- local velocity = Instance.new("BodyVelocity", head)
- velocity.Velocity = owner.Character.Head.CFrame.lookVector * math.random(100,125)
- velocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- humanoid.PlatformStand = true
- wait(0.5)
- velocity:Destroy()
- wait(0.25)
- humanoid.PlatformStand = false
- end
- end
- end
- local Music = Instance.new("Sound", owner.character.Head)
- Music.SoundId = "rbxassetid://7222685440"
- Music.Volume = 0.5
- Music.Looped = true
- Music:Play()
- local Active = Instance.new("Sound", owner.character.Head)
- Active.SoundId = "rbxassetid://2102117497"
- Active.Volume = 1
- local Deactive = Instance.new("Sound", owner.character.Head)
- Deactive.SoundId = "rbxassetid://7140290174"
- Deactive.Volume = 1
- part1.Touched:Connect(thinghere)
- local E2 = Instance.new("RemoteEvent", owner.Character)
- E2.Name = "The"
- local E = Instance.new("RemoteEvent", owner.Character)
- E.Name = "The2"
- on = false
- local function isOn()
- if not on then
- on = true
- part4.BrickColor = BrickColor.new(74, 7, 123)
- part4.brickColor = BrickColor.new(74, 7, 123)
- Music:Pause()
- Active:Play()
- Active.Ended:Wait()
- Music:Resume()
- elseif on then
- on = false
- part4.BrickColor = BrickColor.new("Dark grey")
- part4.brickColor = BrickColor.new("Dark grey")
- Music:Pause()
- Deactive:Play()
- Deactive.Ended:Wait()
- Music:Resume()
- end
- end
- NLS([[
- local mouse = owner:GetMouse()
- local leftarm = Instance.new("Weld", owner.Character.Torso)
- leftarm.Part0 = owner.Character.Torso
- leftarm.Part1 = owner.Character["Left Arm"]
- local leftarm2 = Instance.new("Weld", part1)
- leftarm.C0 = CFrame.new(-1.5,-0.5,0)
- leftarm.C1 = CFrame.new(0,0.5,0)
- leftarm.Name = "LeftArmWeld"
- local rightarm = Instance.new("Weld", owner.Character.Torso)
- rightarm.Part0 = owner.Character.Torso
- rightarm.Part1 = owner.Character["Right Arm"]
- rightarm.C0 = CFrame.new(1.5,0.5,0)
- rightarm.C1 = CFrame.new(0,0.5,0)
- rightarm.Name = "RightArmWeld"
- local rightleg = Instance.new("Weld", owner.Character.Torso)
- rightleg.Part0 = owner.Character.Torso
- rightleg.Part1 = owner.Character["Right Leg"]
- rightleg.C0 = CFrame.new(0.5,-2,0)
- rightleg.C1 = CFrame.new(0,1,0)
- rightleg.Name = "RightLegWeld"
- local leftleg = Instance.new("Weld", owner.Character.Torso)
- leftleg.Part0 = owner.Character.Torso
- leftleg.Part1 = owner.Character["Left Leg"]
- leftleg.C0 = CFrame.new(-0.5,-2,0)
- leftleg.C1 = CFrame.new(0,1,0)
- leftleg.Name = "LeftLegWeld"
- local head = Instance.new("Weld", owner.Character.Torso)
- head.Part0 = owner.Character.Torso
- head.Part1 = owner.Character.Head
- head.C0 = CFrame.new(0,1.5,0)
- head.C1 = CFrame.new(0,-0.1,0)
- head.Name = "HeadWeld"
- local humanoidrootpart = Instance.new("Weld", owner.Character.HumanoidRootPart)
- humanoidrootpart.Part0 = owner.Character.HumanoidRootPart
- humanoidrootpart.Part1 = owner.Character.Torso
- humanoidrootpart.Name = "HumanoidRootPartWeld"
- walkpressed = 0
- mouse.KeyDown:connect(function(key)
- key = key:lower()
- if key == "w" or key == "a" or key == "s" or key == "d" then
- walkpressed = walkpressed + 1
- end
- end)
- mouse.KeyUp:connect(function(key)
- key = key:lower()
- if key == "w" or key == "a" or key == "s" or key == "d" then
- walkpressed = walkpressed - 1
- end
- end)
- coroutine.wrap(function()
- while true do
- task.wait()
- if walkpressed > 0 and owner.Character.Humanoid.WalkSpeed < 259.2 then
- owner.Character.Humanoid.WalkSpeed = owner.Character.Humanoid.WalkSpeed + 2.7
- elseif walkpressed == 0 and owner.Character.Humanoid.WalkSpeed > 0 then
- owner.Character.Humanoid.WalkSpeed = 0
- end
- end
- end)()
- on2 = false
- onAmmount = 0.00001
- onAmmount2 = 0.00001
- local function isOn2()
- if not on2 then
- on2 = true
- onAmmount = 1.5
- onAmmount2 = 0.75
- elseif on2 then
- on2 = false
- onAmmount = 0.00001
- onAmmount2 = 0.00001
- end
- end
- coroutine.wrap(function()
- while true do
- task.wait()
- if walkpressed > 0 then
- for i = 0,0.6 , 0.07 do
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.Angles(-0.3,0,0),i)
- head.C0 = head.C0:lerp(CFrame.Angles(0.1,0,0) * CFrame.new(0,1.4,0),i)
- leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0.5,-0.25) * CFrame.Angles(1.25,0.00001,1.15),i)
- rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0.5,0.125) * CFrame.Angles(-0.25,0.00001,0.125),i)
- leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-1,-0.00001) * CFrame.Angles(-0.75,0.00001,0),i)
- rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-1,-0.5) * CFrame.Angles(0.00001,0.00001,0),i)
- task.wait()
- end
- wait()
- for i = 0,0.6 , 0.07 do
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.Angles(-0.3,0,0),i)
- head.C0 = head.C0:lerp(CFrame.Angles(0.1,0,0) * CFrame.new(0,1.4,0),i)
- leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0.5,-0.25) * CFrame.Angles(1.25,0.00001,1.15),i)
- rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0.5,-0.25) * CFrame.Angles(1.25,0.00001,-0.125),i)
- leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-1,-0.5) * CFrame.Angles(0.00001,0.00001,0),i)
- rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-1,-0.00001) * CFrame.Angles(-0.75,0.00001,0),i)
- task.wait()
- end
- elseif walkpressed == 0 and owner.Character.Humanoid.WalkSpeed >= 0 then
- for i = 0,0.6 , 0.07 do
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.Angles(0.00001,0.75,0),i)
- head.C0 = head.C0:lerp(CFrame.Angles(0,-0.75,0) * CFrame.new(0,1.4,0),i)
- leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0.5,-0.125) * CFrame.Angles(onAmmount,-0.25,onAmmount2),i)
- rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0.5,0.125) * CFrame.Angles(0.00001,-0.25,0.00001),i)
- leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-1,-0.1) * CFrame.Angles(0.00001,-0.35,0.00001),i)
- rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-1,0) * CFrame.Angles(0.00001,-0.25,0.00001),i)
- task.wait()
- end
- end
- end
- end)()
- local attachment0 = Instance.new("Attachment", owner.Character.Torso)
- attachment0.Position = Vector3.new(-0.5, -2, -0.5)
- local attachment1 = Instance.new("Attachment", owner.Character.Torso)
- attachment1.Position = Vector3.new(-0.5, -1, -0.5)
- Trail3 = Instance.new("Trail")
- Trail3.Name = "trail"
- Trail3.Parent = owner.Character.Torso
- Trail3.Attachment0 = attachment0
- Trail3.Attachment1 = attachment1
- Trail3.MinLength = 0.1
- Trail3.MaxLength = math.huge
- Trail3.Lifetime = 3.5
- Trail3.LightInfluence = 1
- Trail3.Color = ColorSequence.new(Color3.new(0.49, 0.041, 0.79),Color3.new(0.49, 0.041, 0.79))
- local attachment3 = Instance.new("Attachment", owner.Character.Torso)
- attachment3.Position = Vector3.new(-0.9, 0.25, -0.5)
- local attachment4 = Instance.new("Attachment", owner.Character.Torso)
- attachment4.Position = Vector3.new(-0.9, 0.5, -0.5)
- Trail = Instance.new("Trail")
- Trail.Name = "trailagain"
- Trail.Parent = owner.Character.Torso
- Trail.Attachment0 = attachment3
- Trail.Attachment1 = attachment4
- Trail.MinLength = 0.1
- Trail.MaxLength = math.huge
- Trail.Lifetime = 3.5
- Trail.LightInfluence = 1
- Trail.Color = ColorSequence.new(Color3.new(0.49, 0.041, 0.79),Color3.new(0.49, 0.041, 0.79))
- local attachment5 = Instance.new("Attachment", owner.Character.Torso)
- attachment5.Position = Vector3.new(1, 0.25, -0.5)
- local attachment6 = Instance.new("Attachment", owner.Character.Torso)
- attachment6.Position = Vector3.new(1, 0.5, -0.5)
- Trail4 = Instance.new("Trail")
- Trail4.Name = "trailagain2"
- Trail4.Parent = owner.Character.Torso
- Trail4.Attachment0 = attachment5
- Trail4.Attachment1 = attachment6
- Trail4.MinLength = 0.1
- Trail4.MaxLength = math.huge
- Trail4.Lifetime = 3.5
- Trail4.LightInfluence = 1
- Trail4.Color = ColorSequence.new(Color3.new(0.49, 0.041, 0.79),Color3.new(0.49, 0.041, 0.79))
- local attachment2 = Instance.new("Attachment", owner.Character.Torso)
- attachment2.Position = Vector3.new(0.75, -2, -0.5)
- local attachment3 = Instance.new("Attachment", owner.Character.Torso)
- attachment3.Position = Vector3.new(0.75, -1, -0.5)
- Trail2 = Instance.new("Trail")
- Trail2.Name = "trail2"
- Trail2.Parent = owner.Character.Torso
- Trail2.Attachment0 = attachment2
- Trail2.Attachment1 = attachment3
- Trail2.MinLength = 0.1
- Trail2.MaxLength = math.huge
- Trail2.Lifetime = 3.5
- Trail2.LightInfluence = 1
- Trail2.Color = ColorSequence.new(Color3.new(0.49, 0.041, 0.79),Color3.new(0.49, 0.041, 0.79))
- Trail3.Enabled = false
- Trail.Enabled = false
- Trail4.Enabled = false
- Trail2.Enabled = false
- Trail3.Transparency = NumberSequence.new(0.2, 0.65, 1)
- Trail4.Transparency = NumberSequence.new(0.2, 0.65, 1)
- Trail2.Transparency = NumberSequence.new(0.2, 0.65, 1)
- Trail.Transparency = NumberSequence.new(0.2, 0.65, 1)
- coroutine.wrap(function()
- while true do
- task.wait()
- if owner.Character.Humanoid.WalkSpeed <= 20 then
- Trail3.Enabled = false
- Trail2.Enabled = false
- Trail.Enabled = false
- Trail4.Enabled = false
- else
- Trail3.Enabled = true
- Trail2.Enabled = true
- Trail.Enabled = true
- Trail4.Enabled = true
- end
- end
- end)()
- local E = owner.Character:WaitForChild("The2")
- mouse.Button1Down:Connect(function()
- local Location = mouse.Hit.p
- E:FireServer(Location)
- end)
- local E2 = owner.Character:WaitForChild("The")
- function KeyDownlol(key)
- key = key:lower()
- if key == "q" then
- isOn2()
- E2:FireServer("Down")
- end
- end
- mouse.KeyDown:Connect(KeyDownlol)
- ]],owner.PlayerGui)
- local Root = owner.Character["Left Arm"]
- local function onCreateLASERR(player, Location)
- if on then
- local rng = Random.new()
- local LASERR = Instance.new("Part")
- LASERR.Name = "LASERR"
- LASERR.TopSurface = Enum.SurfaceType.Smooth
- LASERR.BottomSurface = Enum.SurfaceType.Smooth
- LASERR.Size = Vector3.new(1, 1, 2.5)
- LASERR.BrickColor = BrickColor.new(0.49, 0.041, 0.79)
- LASERR.Material = Enum.Material.Neon
- LASERR.Anchored = true
- LASERR.CanCollide = false
- LASERR.Locked = true
- LASERR.CFrame = Root.CFrame
- LASERR.Parent = workspace
- local maxDistance = 500
- local curDistance = 0
- local stepDistance = 4
- local stepWait = 0
- local currentPos = Root.Position
- local currentNormal = CFrame.new(Root.CFrame.p, Location).lookVector
- local function Step(overrideDistance)
- local params = RaycastParams.new()
- local direction = currentNormal * (overrideDistance or stepDistance)
- params.FilterType = Enum.RaycastFilterType.Blacklist
- params.FilterDescendantsInstances = {script.Parent.Parent}
- local result = workspace:Raycast(currentPos, direction)
- local pos
- if result then
- pos = result.Position
- else
- pos = currentPos + direction
- end
- LASERR.Size = Vector3.new(1, 1, (pos - currentPos).Magnitude)
- LASERR.CFrame = CFrame.new(currentPos:Lerp(pos, 0.5), pos)
- local oldPos = currentPos
- currentPos = pos
- if result then
- local norm = result.Normal
- local reflect = (currentNormal - (2 * currentNormal:Dot(norm) * norm))
- currentNormal = reflect
- Step(stepDistance - (pos - oldPos).Magnitude)
- return
- end
- curDistance = (curDistance + (pos - oldPos).Magnitude)
- if curDistance > (maxDistance - 175) then
- local d = (curDistance - (maxDistance - 175)) / 175
- LASERR.Transparency = d
- end
- if curDistance < maxDistance then
- wait(stepWait)
- Step()
- end
- end
- LASERR.Touched:connect(function(hit)
- if hit.Parent.Name ~= owner.Character.Name then
- local humanoid = hit.Parent:FindFirstChild("Humanoid")
- if humanoid then
- humanoid.Health = humanoid.Health - math.random(55,1000)
- LASERR:Destroy()
- end
- end
- end)
- Step()
- LASERR:Destroy()
- end
- end
- E.OnServerEvent:Connect(onCreateLASERR)
- E2.OnServerEvent:Connect(isOn)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement