Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Made by 552557
- local player = game:GetService("Players").LocalPlayer
- local mouse = player:GetMouse()
- repeat wait() until player.Character
- local character = player.Character
- character.Humanoid.MaxHealth = 1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- character.Humanoid.WalkSpeed = 100
- wait(.05)
- character.Humanoid.Health = character.Humanoid.MaxHealth
- character.Animate:Destroy()
- character.Humanoid.Animator:Destroy()
- character.Humanoid.JumpPower = 0
- local Damage = 1
- function sound(parent, id, playonremove, volume, speed)
- local audio = Instance.new("Sound", parent)
- audio.SoundId = id
- audio.PlayOnRemove = playonremove
- audio.PlaybackSpeed = speed
- audio.Volume = volume
- if playonremove then
- audio:Destroy()
- else
- audio.Looped = true
- audio.Playing = true
- end
- return audio
- end
- local theme = sound(character.Head, "rbxassetid://214315472", false, 1, 1)
- theme.MaxDistance = 1000000000
- function hitBox(object, offset, radius, damage, physical)
- for i, v in pairs(workspace:GetChildren()) do
- local humanoid = v:FindFirstChild("Humanoid")
- local torso = v:FindFirstChild("HumanoidRootPart")
- if torso and (torso.CFrame.p - (object.CFrame*offset).p).magnitude < radius then
- if humanoid then
- if not humanoid:IsDescendantOf(character) then
- humanoid:TakeDamage(damage*Damage)
- if physical then
- sound(torso, "rbxassetid://137579113", true, 1, 1)
- else
- return
- end
- end
- end
- end
- end
- end
- function clerp(a, b, t)
- return a:lerp(b, t)
- end
- character["Right Arm"].Size = character["Right Arm"].Size*8
- character["Left Arm"].Size = character["Left Arm"].Size*8
- character["Right Leg"].Size = character["Right Leg"].Size*8
- character["Left Leg"].Size = character["Left Leg"].Size*8
- character["Torso"].Size = character["Torso"].Size*8
- character["HumanoidRootPart"].Size = character["HumanoidRootPart"].Size*8
- character["Head"].Size = character["Head"].Size*8
- local rarm = Instance.new("Weld", character)
- rarm.Part0 = character.Torso
- rarm.Part1 = character["Right Arm"]
- rarm.C0 = CFrame.new(12, 0, 0)
- local larm = Instance.new("Weld", character)
- larm.Part0 = character.Torso
- larm.Part1 = character["Left Arm"]
- larm.C0 = CFrame.new(-12, 0, 0)
- local rleg = Instance.new("Weld", character)
- rleg.Part0 = character.Torso
- rleg.Part1 = character["Right Leg"]
- rleg.C0 = CFrame.new(4, -16, 0)
- local lleg = Instance.new("Weld", character)
- lleg.Part0 = character.Torso
- lleg.Part1 = character["Left Leg"]
- lleg.C0 = CFrame.new(-4, -16, 0)
- local torso = Instance.new("Weld", character)
- torso.Part0 = character.HumanoidRootPart
- torso.Part1 = character.Torso
- local head = Instance.new("Weld", character)
- head.Part0 = character.Torso
- head.Part1 = character.Head
- head.C0 = CFrame.new(0, 12.5, 0)
- local runDummyScript = function(f,scri)
- local oldenv = getfenv(f)
- local newenv = setmetatable({}, {
- __index = function(_, k)
- if k:lower() == 'script' then
- return scri
- else
- return oldenv[k]
- end
- end
- })
- setfenv(f, newenv)
- ypcall(function() f() end)
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- mas.Name = "CompiledModel"
- o1 = Instance.new("Model")
- o2 = Instance.new("Part")
- o3 = Instance.new("Script")
- o4 = Instance.new("Part")
- o1.Name = "Head"
- o1.Parent = mas
- o2.Name = "Head"
- o2.Parent = o1
- o2.Material = Enum.Material.DiamondPlate
- o2.Position = Vector3.new(-63.5000076, 5.42492008, -25.7004929)
- o2.CanCollide = false
- o2.Size = Vector3.new(11.4778709, 10.8499994, 12.0176134)
- o2.CFrame = CFrame.new(-63.5000076, 5.42492008, -25.7004929, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o2.BottomSurface = Enum.SurfaceType.Smooth
- o2.TopSurface = Enum.SurfaceType.Smooth
- o2.Position = Vector3.new(-63.5000076, 5.42492008, -25.7004929)
- o3.Name = "WeldScript"
- o3.Parent = o1
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- local function weldBetween(a, b)
- --Make a new Weld and Parent it to a.
- local weld = Instance.new("ManualWeld", a)
- weld.Part0 = a
- weld.Part1 = b
- --Get the CFrame of b relative to a.
- weld.C0 = a.CFrame:inverse() * b.CFrame
- --Return the reference to the weld so that you can change it later.
- return weld
- end
- local weld = weldBetween(script.Parent.Head, script.Parent.Visor)
- weld.C0 = CFrame.new(0, 3, -6)
- end,o3)
- end))
- o4.Name = "Visor"
- o4.Parent = o1
- o4.Material = Enum.Material.Neon
- o4.BrickColor = BrickColor.new("Dark indigo")
- o4.Position = Vector3.new(-63.5000381, 8.90021038, -20.0496864)
- o4.CanCollide = false
- o4.Size = Vector3.new(11.4778709, 0.61685288, 0.738020182)
- o4.CFrame = CFrame.new(-63.5000381, 8.90021038, -20.0496864, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o4.BottomSurface = Enum.SurfaceType.Smooth
- o4.TopSurface = Enum.SurfaceType.Smooth
- o4.Color = Color3.new(0.239216, 0.0823529, 0.521569)
- o4.Position = Vector3.new(-63.5000381, 8.90021038, -20.0496864)
- mas.Parent = character.Head
- mas:MakeJoints()
- local mas1 = mas:GetChildren()
- for i=1,#mas1 do
- mas1[i].Parent = character.Head
- ypcall(function() mas1[i]:MakeJoints() end)
- end
- mas:Destroy()
- for i=1,#cors do
- coroutine.resume(cors[i])
- --[[
- game:GetService("Lighting").Ambient = Color3.new(0, 0, 0)
- game:GetService("Lighting").Brightness = 1
- game:GetService("Lighting").ColorShift_Bottom = Color3.new(0, 0, 0)
- game:GetService("Lighting").ColorShift_Top = Color3.new(0, 0, 0)
- game:GetService("Lighting").GlobalShadows = true
- game:GetService("Lighting").OutdoorAmbient = Color3.new(0.5, 0.5, 0.5)
- game:GetService("Lighting").Outlines = true
- game:GetService("Lighting").GeographicLatitude = 41.733299255371
- game:GetService("Lighting").TimeOfDay = "14:00:00"
- game:GetService("Lighting").FogColor = Color3.new(0.75, 0.75, 0.75)
- game:GetService("Lighting").FogEnd = 100000
- game:GetService("Lighting").FogStart = 0
- --]]
- local helmet = Instance.new("Weld", character)
- helmet.Part0 = character.Head
- helmet.Part1 = o2
- end
- local Sine = 0
- local Change = 1
- local State = "Idle"
- local Footstep = "Right"
- debounces = {
- ["Attacking"] = false;
- ["Stomping"] = false
- }
- character["Right Leg"].Touched:connect(function(hit)
- if not hit:IsDescendantOf(character) and Footstep == "Right" then
- if hit:IsA("BasePart") then
- sound(character["Right Leg"], "rbxassetid://198360378", true, 1, 1)
- Footstep = "Left"
- end
- end
- end)
- character["Left Leg"].Touched:connect(function(hit)
- if not hit:IsDescendantOf(character) and Footstep == "Left" then
- if hit:IsA("BasePart") then
- sound(character["Left Leg"], "rbxassetid://198360378", true, 1, 1)
- Footstep = "Right"
- end
- end
- end)
- function laservision()
- if debounces["Attacking"] == false then
- debounces["Attacking"] = true
- for i = 1, 20 do
- game:GetService("RunService").Heartbeat:wait()
- rarm.C0 = clerp(rarm.C0, CFrame.new(12, 0, -3)*CFrame.Angles(math.rad(25), 0, math.rad(-10)), .3)
- larm.C0 = clerp(larm.C0, CFrame.new(-12, 0, -3)*CFrame.Angles(math.rad(25), 0, math.rad(10)), .3)
- torso.C0 = clerp(torso.C0, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(10), 0, 0), .3)
- head.C0 = clerp(head.C0, CFrame.new(0, 12.5, -1)*CFrame.Angles(math.rad(-10), 0, 0), .3)
- end
- for i = 1, 10 do
- game:GetService("RunService").Heartbeat:wait()
- rarm.C0 = clerp(rarm.C0, CFrame.new(13, 0, 1.5)*CFrame.Angles(math.rad(-25), 0, math.rad(10)), .3)
- larm.C0 = clerp(larm.C0, CFrame.new(-13, 0, 1.5)*CFrame.Angles(math.rad(-25), 0, math.rad(-10)), .3)
- torso.C0 = clerp(torso.C0, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(-10), 0, 0), .3)
- head.C0 = clerp(head.C0, CFrame.new(0, 12.5, -1)*CFrame.Angles(math.rad(10), 0, 0), .3)
- end
- sound(character.Head, "rbxassetid://228343271", true, 1, .7)
- local ray = Ray.new(o4 .CFrame.p,(mouse.Hit.p - o4.CFrame.p).unit*300)
- local part, position = workspace:FindPartOnRay(ray, player.Character, false, true)
- local beam = Instance.new("Part", character)
- beam.BrickColor = o4.BrickColor
- beam.FormFactor = "Custom"
- beam.Material = "Neon"
- beam.Transparency = .25
- beam.Anchored = true
- beam.Locked = true
- beam.CanCollide = false
- local distance = (o4.CFrame.p - position).magnitude
- beam.Size = Vector3.new(o4.Size.X, o4.Size.Y, distance)
- beam.CFrame = CFrame.new(o4.CFrame.p, position)*CFrame.new(0, 0, -distance/2)
- 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(15)
- end
- end
- for i = 1, 200 do
- game:GetService("RunService").Heartbeat:wait()
- local ray = Ray.new(o4 .CFrame.p,(mouse.Hit.p - o4.CFrame.p).unit*300)
- local part, position = workspace:FindPartOnRay(ray, player.Character, false, true)
- local distance = (o4.CFrame.p - position).magnitude
- beam.Size = Vector3.new(o4.Size.X, o4.Size.Y, distance)
- beam.CFrame = CFrame.new(o4.CFrame.p, position)*CFrame.new(0, 0, -distance/2)
- 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(15)
- end
- end
- end
- beam:Destroy()
- debounces["Attacking"] = false
- end
- end
- function stomp()
- if debounces["Attacking"] == false and debounces["Stomping"] == false then
- debounces["Attacking"] = true
- debounces["Stomping"] = true
- character.Humanoid.WalkSpeed = 0
- for i = 1, 60 do
- game:GetService("RunService").Heartbeat:wait()
- rarm.C0 = clerp(rarm.C0, CFrame.new(12, 0, 2)*CFrame.Angles(math.rad(-15), 0, math.rad(10)), .3)
- larm.C0 = clerp(larm.C0, CFrame.new(-12, 0, 2)*CFrame.Angles(math.rad(-15), 0, math.rad(-10)), .3)
- rleg.C0 = clerp(rleg.C0, CFrame.new(5, -9, -6)*CFrame.Angles(0, 0, 0), .3)
- lleg.C0 = clerp(lleg.C0, CFrame.new(-5, -16, 0)*CFrame.Angles(0, 0, 0), .3)
- torso.C0 = clerp(torso.C0, CFrame.new(0, 0, 0)*CFrame.Angles(0, 0, 0), .3)
- head.C0 = clerp(head.C0, CFrame.new(0, 12.5, -.5)*CFrame.Angles(math.rad(-10), 0, 0), .3)
- end
- sound(character["Right Arm"], "rbxassetid://610359442", true, 5, .6)
- hitBox(character.HumanoidRootPart, CFrame.new(5, -18, -6), 19, 50, true)
- for i = 1, 60 do
- game:GetService("RunService").Heartbeat:wait()
- rarm.C0 = clerp(rarm.C0, CFrame.new(12, 0, 2)*CFrame.Angles(math.rad(-15), 0, math.rad(10)), .3)
- larm.C0 = clerp(larm.C0, CFrame.new(-12, 0, 2)*CFrame.Angles(math.rad(-15), 0, math.rad(-10)), .3)
- rleg.C0 = clerp(rleg.C0, CFrame.new(5, -16, -6)*CFrame.Angles(0, 0, 0), .5)
- lleg.C0 = clerp(lleg.C0, CFrame.new(-5, -16, 0)*CFrame.Angles(0, 0, 0), .3)
- torso.C0 = clerp(torso.C0, CFrame.new(0, 0, 0)*CFrame.Angles(0, 0, 0), .3)
- head.C0 = clerp(head.C0, CFrame.new(0, 12.5, -.5)*CFrame.Angles(math.rad(-10), 0, 0), .3)
- end
- debounces["Attacking"] = false
- debounces["Stomping"] = false
- character.Humanoid.WalkSpeed = 100
- end
- end
- mouse.Button1Down:connect(function()
- laservision()
- end)
- mouse.KeyDown:connect(function(key)
- key = key:lower()
- if key == "c" then
- stomp()
- end
- end)
- game:GetService("RunService").Heartbeat:connect(function()
- Sine = tick() * Change * 60
- walkingMagnitude = Vector3.new(character.Torso.Velocity.X, 0, character.Torso.Velocity.Z).magnitude
- if walkingMagnitude > 2 and debounces["Stomping"] == false then
- rleg.C0 = clerp(rleg.C0, CFrame.new(5, -16+math.cos(Sine/5)/1.3*3.5, -math.sin(Sine/5)/1.3*17)*CFrame.Angles(math.sin(Sine/5)/1.3*1.8, 0, math.rad(5)), .15)
- lleg.C0 = clerp(lleg.C0, CFrame.new(-5, -16-math.cos(Sine/5)/1.3*3.5, math.sin(Sine/5)/1.3*17)*CFrame.Angles(-math.sin(Sine/5)/1.3*1.8, 0, math.rad(-5)), .15)
- if debounces["Attacking"] == false then
- rarm.C0 = clerp(rarm.C0, CFrame.new(12+math.sin(Sine/5)/1.3*8, 0, math.sin(Sine/5)/1.3*11.2)*CFrame.Angles(-math.sin(Sine/5)/1.3*1.8, 0, math.sin(Sine/5)/1.3), .15)
- larm.C0 = clerp(larm.C0, CFrame.new(-12+math.sin(Sine/5)/1.3*8, 0, -math.sin(Sine/5)/1.3*11.2)*CFrame.Angles(math.sin(Sine/5)/1.3*1.8, 0, math.sin(Sine/5)/1.3), .15)
- torso.C0 = clerp(torso.C0, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(-15), -math.sin(Sine/5)/1.3/3, 0), .15)
- head.C0 = clerp(head.C0, CFrame.new(0, 12.5, 1)*CFrame.Angles(math.rad(10), 0, 0), .15)
- end
- elseif walkingMagnitude < 2 and debounces["Stomping"] == false then
- rleg.C0 = clerp(rleg.C0, CFrame.new(5, -16, -1.5)*CFrame.Angles(math.rad(15), math.rad(-10), math.rad(5)), .15)
- lleg.C0 = clerp(lleg.C0, CFrame.new(-5, -16, 2.5)*CFrame.Angles(math.rad(-15), math.rad(10), math.rad(-5)), .15)
- if debounces["Attacking"] == false then
- rarm.C0 = clerp(rarm.C0, CFrame.new(12, 0, 1)*CFrame.Angles(math.rad(-10), math.rad(-10), math.rad(10)), .15)
- larm.C0 = clerp(larm.C0, CFrame.new(-12, 0, 1)*CFrame.Angles(math.rad(-10), math.rad(10), math.rad(-10)), .15)
- torso.C0 = clerp(torso.C0, CFrame.new(0, 0, 0)*CFrame.Angles(0, 0, 0), .15)
- head.C0 = clerp(head.C0, CFrame.new(0, 12.5, -.7)*CFrame.Angles(math.rad(-10), 0, 0), .15)
- end
- end
- end)
Add Comment
Please, Sign In to add comment