Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plr = game.Players.LocalPlayer
- repeat wait() until plr.Character
- char = plr.Character
- local music = Instance.new("Sound",char)
- music.SoundId = "rbxassetid://1108121844"
- music.Volume = 4
- music.Name = "Flee the Beast"
- music.Looped = true
- music:Play()
- local glitch = Instance.new("Sound",char)
- glitch.SoundId = "rbxassetid://1846449729"
- glitch.Volume = 10
- gLiTcHiNg = false
- cantwitch2 = true
- local PlayerSize = 1
- local FT,RA,LA,RL,LL = Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh")
- FT.MeshId,FT.Scale = "rbxasset://fonts/torso.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
- RA.MeshId,RA.Scale = "rbxasset://fonts/rightarm.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
- LA.MeshId,LA.Scale = "rbxasset://fonts/leftarm.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
- RL.MeshId,RL.Scale = "rbxasset://fonts/rightleg.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
- LL.MeshId,LL.Scale = "rbxasset://fonts/leftleg.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
- tors = char.Torso
- ra = char["Right Arm"]
- la = char["Left Arm"]
- rl = char["Right Leg"]
- ll = char["Left Leg"]
- unknown = false
- VALUE1 = false
- function swait(num)
- if num==0 or num==nil then
- game:service'RunService'.Stepped:wait(0)
- else
- for i=0,num do
- game:service'RunService'.Stepped:wait(0)
- end
- end
- end
- local hammer = Instance.new("Part",char)
- hammer.Name = "=)"
- hammer.BrickColor = BrickColor.new("Burnt Sienna")
- hammer.CanCollide = false
- local mesh = Instance.new("FileMesh",hammer)
- mesh.MeshId = "rbxassetid://441777476"
- local weld = Instance.new("Weld",hammer)
- weld.Part0 = hammer
- weld.Part1 = char["Right Arm"]
- weld.C0 = CFrame.new(0.53427887, 0.0824890137, 0.828866005, -0.0282820072, 0.0527296551, 0.998208225, 0.999409139, 0.0210088696, 0.0272062402, -0.0195367821, 0.998380959, -0.0532930307)
- death = Instance.new("Sound",char)
- death.SoundId = "rbxassetid://1007368252"
- death.Volume = 4
- attacking = false
- hammer.Touched:connect(function(hit)
- local human = hit.Parent:FindFirstChildOfClass("Humanoid")
- if human and human.Parent.Name ~= plr.Name then
- human.Health = 0
- death:Play()
- else
- end
- end)
- coroutine.wrap(function()
- while true do
- wait()
- local chance = math.random(0,10000)/10
- if chance <= 5 and cantwitch2 and not unknown then
- gLiTcHiNg = true
- for i = 1, math.random(25,75) do
- swait()
- FT.Parent = tors
- RA.Parent = ra
- LA.Parent = la
- RL.Parent = rl
- LL.Parent = ll
- music:Pause()
- glitch:Resume()
- for _,v in next, char:GetDescendants() do
- if(v:IsA'DataModelMesh')then
- v.Offset = Vector3.new(math.random(-20,20)/100,math.random(-20,20)/100,math.random(-20,20)/100)
- end
- if (v:IsA'Part') then
- v.Material = Enum.Material.Neon
- v.BrickColor = BrickColor.Random()
- end
- end
- end
- VALUE1 = false
- glitch:Pause()
- music:Resume()
- FT.Parent = nil
- RA.Parent = nil
- LA.Parent = nil
- RL.Parent = nil
- LL.Parent = nil
- for _,v in next, char:GetDescendants() do
- if(v:IsA'DataModelMesh')then
- v.Offset = Vector3.new(0,0,0)
- end
- if (v:IsA'Part') then
- v.Material = Enum.Material.Plastic
- end
- end
- ra.BrickColor = char["Body Colors"].RightArmColor
- la.BrickColor = char["Body Colors"].LeftArmColor
- ll.BrickColor = char["Body Colors"].LeftLegColor
- rl.BrickColor = char["Body Colors"].RightLegColor
- char.Head.BrickColor = char["Body Colors"].HeadColor
- char.Torso.BrickColor = char["Body Colors"].TorsoColor
- hammer.BrickColor = BrickColor.new("Burnt Sienna")
- end
- end
- end)()
- local player = game.Players.LocalPlayer
- local chara = workspace:WaitForChild(player.Name)
- local human = chara.Humanoid
- local neck = Instance.new("Weld",char)
- neck.Part0 = char.Torso
- neck.Part1 = char.Head
- neck.C0 = CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- local human2 = Instance.new("Weld",char)
- human2.Part0 = char.HumanoidRootPart
- human2.Part1 = char.Torso
- human2co = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- necc = CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
- local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
- rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
- rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
- local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone()
- local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
- lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
- lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
- local llegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- llegweld.Part0 = game.Players.LocalPlayer.Character.Torso
- llegweld.Part1 = game.Players.LocalPlayer.Character["Left Leg"]
- llegweld.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-1,0)
- local rlegclone = game.Players.LocalPlayer.Character.Torso["Right Hip"]:Clone()
- game.Players.LocalPlayer.Character.Torso["Right Hip"]:Remove()
- local rlegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- rlegweld.Part0 = game.Players.LocalPlayer.Character.Torso
- rlegweld.Part1 = game.Players.LocalPlayer.Character["Right Leg"]
- rlegweld.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) * CFrame.new(0,-1,0)
- mouse = plr:GetMouse()
- cananimate = true
- pose = "Standing"
- local speed = 0
- char.Humanoid.Running:connect(function(s)
- speed = s
- end)
- local update = game:GetService("RunService")
- update.RenderStepped:connect(function()
- local ray = Ray.new(chara.Torso.Position, (chara.Torso.Position - Vector3.new(0,9999999,0)).unit * 300)
- local p, position = game.Workspace:FindPartOnRay(ray, char, true, false)
- local dis = (chara.Torso.Position - position).magnitude
- if dis > 3.8 and chara.Torso.Velocity.Y > 0 then
- pose = "Jumping"
- end
- if dis> 3.8 and chara.Torso.Velocity.Y < 0 then
- pose = "Falling"
- end
- if dis < 3.8 and speed == 0 then
- pose = "Standing"
- end
- if dis < 3.8 and speed > 0 then
- pose = "Walking"
- end
- end)
- canuse = true
- -- Attacks
- function HammerSmack()
- if canuse then
- canuse = false
- cananimate = false
- for i = 0,1 ,0.03 do
- human2.C0 = human2.C0:lerp(CFrame.new(0, 0, 0, 0.850277185, 0, -0.52633512, 0, 0.999997854, 0, 0.52633512, 0, 0.850277185),i)
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.47769165, 0.137271881, -1.80979156, 0.687817335, -0.725883842, 0.000350162387, -0.327454954, -0.310713172, -0.892317593, 0.647827566, 0.613636792, -0.451408178),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.908752441, 0.236808777, -1.1756897, 0.773740709, 0.445976228, -0.449919999, -0.445980161, -0.120929226, -0.886835814, -0.449919194, 0.88683027, 0.10532935),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- attacking = true
- for i = 0,1 ,0.07 do
- human2.C0 = human2.C0:lerp(CFrame.new(0, 0, 0, 0.850277185, 0, -0.52633512, 0, 0.999997854, 0, 0.52633512, 0, 0.850277185):inverse(),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(-0.0469970703, 0.329731941, -1.36965942, 0.351205111, 0.933510959, 0.0721143931, 0.615108013, -0.171972081, -0.769459128, -0.705901742, 0.314593941, -0.634611845),i)
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.49530029, 0.0581922531, -1.65426636, 0.687817276, -0.725883722, 0.000350162387, -0.327454925, -0.310713112, -0.892317533, 0.647827506, 0.613636732, -0.451408029),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- cananimate = true
- attacking = false
- canuse = true
- end
- end
- targetted = nil
- crosshair = Instance.new("BillboardGui",char)
- crosshair.Size = UDim2.new(10,0,10,0)
- crosshair.Enabled = false
- crosshair.AlwaysOnTop = true
- imgl = Instance.new("ImageLabel",crosshair)
- imgl.Position = UDim2.new(0,0,0,0)
- imgl.Size = UDim2.new(1,0,1,0)
- imgl.Image = "rbxassetid://1165138836"
- imgl.BackgroundTransparency = 1
- imgl.ImageColor3 = Color3.new(1,0,0)
- function TargetSelect(person)
- local dd=coroutine.wrap(function()
- if targetted ~= person then
- targetted = person
- crosshair.Adornee = targetted.Torso or targetted.HumanoidRootPart
- crosshair.Enabled = true
- for i = 0,9,1 do
- wait(.01)
- crosshair.Size = UDim2.new(13-i,0,13-i,0)
- end
- end
- end)
- dd()
- end
- -- Thanks CK! :)
- function LockOn()
- if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
- TargetSelect(mouse.Target.Parent)
- print("You have targetted as your enemy:")
- print(mouse.Target.Parent)
- lock=Instance.new("Sound",targetted.Head)
- lock.Pitch = .8
- lock.Volume = .3
- lock.Name = "lock"
- lock:Play()
- else end
- end
- local bloody = Instance.new("Sound",char)
- bloody.SoundId = "rbxassetid://429400881"
- bloody.Volume = 4
- function TeleportBehindAPlayer()
- char.Torso.CFrame = targetted.Torso.CFrame + Vector3.new(0,0,-5)
- end
- function HeadSmash()
- if canuse then
- char.Torso.CFrame = targetted.Torso.CFrame + Vector3.new(0,0,-3)
- cananimate = false
- canuse = false
- for i,v in pairs(targetted:GetChildren()) do
- if v.ClassName == "Part" or v.ClassName == "MeshPart" then
- v.Anchored = true
- end
- end
- for i = 0,1 ,0.03 do
- human2.C0 = human2.C0:lerp(CFrame.new(0, 0, 0, 0.850277185, 0, -0.52633512, 0, 0.999997854, 0, 0.52633512, 0, 0.850277185),i)
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.47769165, 0.137271881, -1.80979156, 0.687817335, -0.725883842, 0.000350162387, -0.327454954, -0.310713172, -0.892317593, 0.647827566, 0.613636792, -0.451408178),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.908752441, 0.236808777, -1.1756897, 0.773740709, 0.445976228, -0.449919999, -0.445980161, -0.120929226, -0.886835814, -0.449919194, 0.88683027, 0.10532935),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- local decal = Instance.new("Decal",targetted.Torso)
- decal.Texture = "http://www.roblox.com/asset/?id=1242655587"
- decal.Face = "Top"
- targetted:BreakJoints()
- targetted.Head:Destroy()
- bloody:Play()
- for i = 0,1 ,0.07 do
- human2.C0 = human2.C0:lerp(CFrame.new(0, 0, 0, 0.850277185, 0, -0.52633512, 0, 0.999997854, 0, 0.52633512, 0, 0.850277185):inverse(),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(-0.0469970703, 0.329731941, -1.36965942, 0.351205111, 0.933510959, 0.0721143931, 0.615108013, -0.171972081, -0.769459128, -0.705901742, 0.314593941, -0.634611845),i)
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.49530029, 0.0581922531, -1.65426636, 0.687817276, -0.725883722, 0.000350162387, -0.327454925, -0.310713112, -0.892317533, 0.647827506, 0.613636732, -0.451408029),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- for i,v in pairs(targetted:GetChildren()) do
- if v.ClassName == "Part" or v.ClassName == "MeshPart" then
- v.Anchored = false
- end
- end
- canuse = true
- cananimate = true
- end
- end
- mouse.Button1Down:connect(function()
- HammerSmack()
- end)
- mouse.KeyDown:connect(function(k)
- if k == "t" then
- LockOn()
- end
- if k == "q" and targetted ~= nil then
- TeleportBehindAPlayer()
- end
- if k == "r" and targetted ~= nil then
- HeadSmash()
- end
- end)
- local BODY = {}
- LeftArm = char["Left Arm"]
- RightLeg = char["Right Leg"]
- LeftLeg = char["Left Leg"]
- for _, c in pairs(char:GetDescendants()) do
- if c:IsA("BasePart") and c.Name ~= "Handle" then
- if c ~= char.HumanoidRootPart and c ~= char.Torso and c ~= char.Head and c ~= char["Right Arm"] and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
- c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
- end
- table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
- elseif c:IsA("JointInstance") then
- table.insert(BODY,{c,c.Parent,nil,nil,nil})
- end
- end
- for e = 1, #BODY do
- if BODY[e] ~= nil then
- local STUFF = BODY[e]
- local PART = STUFF[1]
- local PARENT = STUFF[2]
- local MATERIAL = STUFF[3]
- local COLOR = STUFF[4]
- local TRANSPARENCY = STUFF[5]
- if PART.ClassName == "Part" and PART ~= char.HumanoidRootPart then
- PART.Material = MATERIAL
- PART.Color = COLOR
- PART.Transparency = TRANSPARENCY
- end
- PART.AncestryChanged:Connect(function()
- PART.Parent = PARENT
- end)
- end
- end
- function refit()
- char.Parent = workspace
- for e = 1, #BODY do
- if BODY[e] ~= nil then
- local STUFF = BODY[e]
- local PART = STUFF[1]
- local PARENT = STUFF[2]
- local MATERIAL = STUFF[3]
- local COLOR = STUFF[4]
- local TRANSPARENCY = STUFF[5]
- if PART.ClassName == "Part" and PART ~= char.HumanoidRootPart then
- PART.Material = MATERIAL
- PART.Color = COLOR
- PART.Transparency = TRANSPARENCY
- end
- if PART.Parent ~= PARENT then
- char:FindFirstChildOfClass("Humanoid"):remove()
- PART.Parent = PARENT
- Humanoid = Instance.new("Humanoid",char)
- end
- end
- end
- end
- char.Humanoid.Died:connect(function()
- refit()
- end)
- -- Animations
- while true do
- wait()
- refit()
- if pose == "Standing" and cananimate then
- walking = false
- for i = 0,1 , 0.05 do
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i)
- llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.499999523, -2.00000048, -9.53674316e-07, 0.970465422, 0, -0.241240621, 0, 1, 0, 0.241240621, 0, 0.970465422),i)
- rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.499999523, -2.00000048, 0, 0.825716197, -3.35415825e-06, -0.564085841, -0.00202200096, 0.999993622, -0.00296577741, 0.564082265, 0.00358947273, 0.825710893),i)
- human2.C0 = human2.C0:lerp(human2co,i)
- neck.C0 = neck.C0:lerp(necc,i)
- update.RenderStepped:wait()
- end
- end
- if pose == "Walking" and cananimate then
- walking = true
- for i = 0,1 ,0.05 do
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0.168842316, -0.374614239, 1, 0, 0, 0, 0.662306964, -0.74923259, 0, 0.74923259, 0.662307084),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0.12597847, 0.331827164, 1, 0, 0, 0, 0.748035073, 0.663659215, 0, -0.663659275, 0.748035014),i)
- rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.67391682, -0.738807678, 0.99999994, 0, 0, 0, 0.673916757, -0.738807261, 0, 0.738807321, 0.673916817),i)
- llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.67705727, 0.735931396, 1, 0, 0, 0, 0.677056909, 0.735930681, 0, -0.735930741, 0.677056968),i)
- human2.C0 = human2.C0:lerp(human2co,i)
- neck.C0 = neck.C0:lerp(necc,i)
- game:GetService("RunService").RenderStepped:wait()
- end
- walking = true
- for i = 0,1 ,0.05 do
- rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.69855976, 0.715551376, 1, 0, 0, 0, 0.698559642, 0.715551734, 0, -0.715551794, 0.698559701),i)
- llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.80723953, -0.590223312, 1, 0, 0, 0, 0.807239354, -0.590224087, 0, 0.590224147, 0.807239413),i)
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0.216003418, 0.411518574, 1, 0, 0, 0, 0.567983389, 0.823040009, 0, -0.823040009, 0.567983389),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0.215018272, -0.41083622, 1, 0, 0, 0, 0.569954693, -0.821676135, 0, 0.821676135, 0.569954753),i)
- human2.C0 = human2.C0:lerp(human2co,i)
- neck.C0 = neck.C0:lerp(necc,i)
- game:GetService("RunService").RenderStepped:wait()
- end
- walking = true
- end
- if pose == "Jumping" and cananimate then
- walking = false
- for i = 0,1 , 0.05 do
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.66472816, 0.166806221, 0, 0.840905726, -0.541181803, 0, 0.541181803, 0.840905726, 0, 0, 0, 1),i)
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.69600487, 0.110276461, 0, 0.871529698, 0.490342826, 0, -0.490342826, 0.871529698, 0, 0, 0, 1),i)
- llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.3247503, -0.419755459, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i)
- rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.99999988, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i)
- human2.C0 = human2.C0:lerp(human2co,i)
- neck.C0 = neck.C0:lerp(CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 0.917574883, -0.397562951, 0, 0.397562951, 0.917574883),i)
- update.RenderStepped:wait()
- end
- end
- if pose == "Falling" and cananimate then
- walking = false
- for i = 0,1 , 0.05 do
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(2.00721169, 0.966965914, 0, -0.554754853, -0.832013845, 0, 0.832013845, -0.554754853, 0, 0, 0, 1),i)
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.87815094, 0.913155079, 0, -0.494452, 0.869204998, 0, -0.869204998, -0.494452, 0, 0, 0, 1),i)
- llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.99999988, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i)
- rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.99999988, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i)
- human2.C0 = human2.C0:lerp(human2co,i)
- neck.C0 = neck.C0:lerp(CFrame.new(0, 1.50154519, -0.248991966, 1, 0, 0, 0, 0.852542579, 0.522657752, 0, -0.522657752, 0.852542579),i)
- update.RenderStepped:wait()
- char.Humanoid.Health = math.huge
- char.Humanoid.MaxHealth = math.huge
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement