Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- by Robert666121, enjoy
- local mouse = game.Players.LocalPlayer:GetMouse()
- howmuch = 0
- function change(key)
- if key == "w" or key == "a" or key == "s" or key == "d" then
- howmuch = howmuch + 1
- end
- end
- function otherchange(key)
- if key == "w" or key == "a" or key == "s" or key == "d" then
- howmuch = howmuch - 1
- end
- end
- mouse.KeyDown:connect(change)
- mouse.KeyUp:connect(otherchange)
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Model0 = Instance.new("Model")
- Part1 = Instance.new("Part")
- Part2 = Instance.new("Part")
- Part3 = Instance.new("Part")
- Weld4 = Instance.new("Weld")
- Weld5 = Instance.new("Weld")
- Weld6 = Instance.new("Weld")
- Part7 = Instance.new("Part")
- Model0.Name = "Sawed Off"
- Model0.Parent = mas
- Part1.Parent = Model0
- Part1.BrickColor = BrickColor.new("Really black")
- Part1.Shape = Enum.PartType.Cylinder
- Part1.Size = Vector3.new(2.96000075, 0.449999958, 0.400000334)
- Part1.CFrame = CFrame.new(40.7499924, 151.548019, 156.470001, 1.0000006, -1.78813934e-07, 0, -1.78813934e-07, 1.00000024, 0, 0, 0, 1)
- Part1.Color = Color3.new(0.101961, 0.101961, 0.101961)
- Part1.Position = Vector3.new(40.7499924, 151.548019, 156.470001)
- Part1.Color = Color3.new(0.101961, 0.101961, 0.101961)
- Part2.Parent = Model0
- Part2.BrickColor = BrickColor.new("Really black")
- Part2.Shape = Enum.PartType.Cylinder
- Part2.Size = Vector3.new(2.96000075, 0.449999958, 0.400000334)
- Part2.CFrame = CFrame.new(40.7499962, 151.548035, 156.079056, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part2.Color = Color3.new(0.101961, 0.101961, 0.101961)
- Part2.Position = Vector3.new(40.7499962, 151.548035, 156.079056)
- Part2.Color = Color3.new(0.101961, 0.101961, 0.101961)
- Part3.Parent = Model0
- Part3.BrickColor = BrickColor.new("Cocoa")
- Part3.Rotation = Vector3.new(0, 0, -34)
- Part3.Size = Vector3.new(1.11000025, 0.519999921, 0.570000172)
- Part3.CFrame = CFrame.new(42.5974922, 150.98793, 156.274887, 0.829038441, 0.559192181, 0, -0.55919224, 0.829038203, 0, 0, 0, 1)
- Part3.Color = Color3.new(0.317647, 0.145098, 0)
- Part3.Position = Vector3.new(42.5974922, 150.98793, 156.274887)
- Part3.Orientation = Vector3.new(0, 0, -34)
- Part3.Color = Color3.new(0.317647, 0.145098, 0)
- Weld4.Name = "1"
- Weld4.Parent = Part3
- Weld4.C0 = CFrame.new(-1.84484863, -0.568756104, -0.195831299, 0.829038441, -0.55919224, 0, 0.559192181, 0.829038203, 0, 0, 0, 1)
- Weld4.Part0 = Part3
- Weld4.Part1 = Part2
- Weld5.Name = "3"
- Weld5.Parent = Part3
- Weld5.C0 = CFrame.new(-0.60994339, 0.0636444092, 0.00506591797, 0.866026163, 0.499997735, 0, -0.499997616, 0.866026044, 0, 0, 0, 1)
- Weld5.Part0 = Part3
- Weld5.Part1 = Part7
- Weld6.Name = "2"
- Weld6.Parent = Part3
- Weld6.C0 = CFrame.new(-1.84484482, -0.568771362, 0.195114136, 0.829038441, -0.55919224, 0, 0.559192181, 0.829038203, 0, 0, 0, 1)
- Weld6.Part0 = Part3
- Weld6.Part1 = Part1
- Part7.Parent = Model0
- Part7.BrickColor = BrickColor.new("Cocoa")
- Part7.Rotation = Vector3.new(0, 0, -64)
- Part7.Size = Vector3.new(0.440000623, 0.519999921, 0.759999931)
- Part7.CFrame = CFrame.new(42.1274147, 151.381775, 156.279953, 0.438374251, 0.898792326, 0, -0.898792267, 0.438373834, 0, 0, 0, 1)
- Part7.Color = Color3.new(0.317647, 0.145098, 0)
- Part7.Position = Vector3.new(42.1274147, 151.381775, 156.279953)
- Part7.Orientation = Vector3.new(0, 0, -64)
- Part7.Color = Color3.new(0.317647, 0.145098, 0)
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Character
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- for i,v in pairs(Model0:GetChildren()) do
- if v.ClassName == "Part" then
- v.CanCollide = false
- v.Transparency = 1
- end
- end
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Character.Torso
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- char = game.Players.LocalPlayer.Character
- 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 folder = Instance.new("Model")
- local signtop = Instance.new("Part")
- local signbottom = Instance.new("Part")
- local no = Instance.new("Part")
- local decal = Instance.new("Decal")
- local decal2 = Instance.new("Decal")
- local weld = Instance.new("Weld")
- local weld2 = Instance.new("Weld")
- local weld3 = Instance.new("Weld")
- folder.Parent = char
- folder.Name = "NoRobloxianSign"
- signtop.BrickColor = BrickColor.new("Really black")
- signtop.Size = Vector3.new(3.14, 2.5, 0.36)
- no.Transparency = 1
- decal.Parent = signtop
- decal.Face = "Back"
- decal.Texture = "http://www.roblox.com/asset/?id=117596823"
- decal2.Parent = no
- decal2.Texture = "http://www.roblox.com/asset/?id=264596039"
- decal2.Face = "Back"
- signbottom.BrickColor = BrickColor.new("Dark orange")
- signbottom.Size = Vector3.new(0.27, 2.19, 0.36)
- no.Size = Vector3.new(3.14, 2.5, 0.36)
- weld.Parent = signbottom
- weld.Part0 = signbottom
- weld.Part1 = char.Torso
- weld.C0 = CFrame.new(-0.301372528, 0.623102188, -0.677061081, 0.74218601, -0.67019397, 0, 0.67019397, 0.74218601, 0, 0, 0, 1)
- weld2.Parent = signtop
- weld2.Part0 = signtop
- weld2.Part1 = signbottom
- weld2.C0 = CFrame.new(-0.0247592926, -2.31497383, -0.0127334595, 1, -5.21543006e-06, 0, 5.21543052e-06, 1, 0, 0, 0, 1)
- weld3.Parent = no
- weld3.Part0 = no
- weld3.Part1 = signtop
- weld3.C0 = CFrame.new(3.43322754e-05, -1.90734863e-05, -0.000778198242, 0.99999845, 6.94394112e-06, 0, -3.48687172e-06, 0.999998093, 0, 0, 0, 1)
- signbottom.Parent = folder
- signtop.Parent = folder
- no.Parent = folder
- for i,v in pairs(folder:GetChildren()) do
- if v.ClassName == "Part" then
- v.CanCollide = false
- v.Material = "SmoothPlastic"
- end
- end
- music = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
- music.Volume = 10
- music.SoundId = "rbxassetid://324499479"
- music.Looped = true
- music:Play()
- local naeeym2 = Instance.new("BillboardGui",char)
- naeeym2.AlwaysOnTop = true
- naeeym2.Size = UDim2.new(5,35,2,35)
- naeeym2.StudsOffset = Vector3.new(0,2,0)
- naeeym2.Adornee = hed
- naeeym2.Name = "Name"
- local tecks2 = Instance.new("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.TextScaled = true
- tecks2.BorderSizePixel = 0
- tecks2.Text = "RAGE"
- tecks2.Font = "Garamond"
- tecks2.TextSize = 30
- tecks2.TextStrokeTransparency = 0
- tecks2.TextColor3 = BrickColor.new('Really red').Color
- tecks2.TextStrokeColor3 = BrickColor.new('Really red').Color
- tecks2.Size = UDim2.new(1,0,0.5,0)
- tecks2.Parent = naeeym2
- textfag = tecks2
- tecks2.Text = "Anti-American"
- coroutine.resume(coroutine.create(function()
- while textfag ~= nil do
- swait()
- textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))
- textfag.Rotation = math.random(-3,3)
- end
- end))
- 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 llegclone = game.Players.LocalPlayer.Character.Torso["Left Hip"]:Clone()
- game.Players.LocalPlayer.Character.Torso["Left Hip"]:Remove()
- 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)
- local rootjointclone = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone()
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Remove()
- local humanoidrootpart = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- humanoidrootpart.Part0 = game.Players.LocalPlayer.Character.HumanoidRootPart
- humanoidrootpart.Part1 = game.Players.LocalPlayer.Character.Torso
- local heed = game.Players.LocalPlayer.Character.Torso["Neck"]:Clone()
- local headweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- headweld.Part0 = game.Players.LocalPlayer.Character.Torso
- headweld.Part1 = game.Players.LocalPlayer.Character.Head
- headweld.C0 = headweld.C0 * CFrame.new(0,1.5,0)
- game.Players.LocalPlayer.Character.Torso.Neck:Remove()
- bullethitforclone = Instance.new("Sound")
- bullethitforclone.Volume = 4
- bullethitforclone.Parent = game.Players.LocalPlayer.Character.Head
- bullethitforclone.SoundId = "rbxassetid://144884872"
- weldf = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- weldf.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
- weldf.Part1 = Part3
- weldf.C0 = CFrame.new(-0.0861244202, -1.04447937, -0.182327271, -0.105800174, 0.219419539, -0.969882667, 0.973032475, -0.178225949, -0.146464914, -0.204995126, -0.959215224, -0.194644511)
- canwalk = true
- PlayerSize = 1
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Partgun = Instance.new("Part")
- SpecialMesh1 = Instance.new("SpecialMesh")
- Partgun.Name = "edgy gun"
- Partgun.Parent = mas
- Partgun.Rotation = Vector3.new(-180, 0, -180)
- Partgun.Size = Vector3.new(0.270000488, 1.03999996, 1.71999955)
- Partgun.CFrame = CFrame.new(9.57500267, 0.90746665, -4.25999546, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Partgun.BottomSurface = Enum.SurfaceType.Smooth
- Partgun.TopSurface = Enum.SurfaceType.Smooth
- Partgun.Position = Vector3.new(9.57500267, 0.90746665, -4.25999546)
- Partgun.Orientation = Vector3.new(0, 180, 0)
- SpecialMesh1.Parent = Partgun
- SpecialMesh1.MeshId = "rbxassetid://436697873"
- SpecialMesh1.Scale = Vector3.new(0.0299999993, 0.0299999993, 0.0299999993)
- SpecialMesh1.TextureId = "rbxassetid://436697889"
- SpecialMesh1.VertexColor = Vector3.new(1, 2, 3)
- SpecialMesh1.MeshType = Enum.MeshType.FileMesh
- SpecialMesh1.Scale = Vector3.new(0.0299999993, 0.0299999993, 0.0299999993)
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Character
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- local weldofgun = Instance.new("Weld", Partgun)
- weldofgun.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
- weldofgun.Part1 = Partgun
- weldofgun.C0 = CFrame.new(0.0550079346, -1.58780015, -0.449067354, -1, 5.6192453e-22, -1.70690163e-22, 2.65673535e-22, 0.173647001, -0.984807968, -5.23747954e-22, -0.984807968, -0.173647001)
- local gunshot = Instance.new("Sound", Partgun)
- gunshot.Volume = 7
- gunshot.SoundId = "rbxassetid://131070686"
- canwalk = true
- shooting = false
- using = false
- function grab(key)
- key = key:lower()
- if key == "q" and not using then
- if not shooting then
- canwalk = false
- shooting = true
- for i = 0,0.6 , 0.01 do
- weldofgun.C0 = weldofgun.C0:lerp(CFrame.new(0.0550079346, -1.66210365, -0.280470848, -1, 1.69529812e-08, 2.79396772e-09, 2.79396772e-09, -1.27684325e-06, -1.00000012, 9.38598532e-09, -1.00000012, 1.27870589e-06),i)
- headweld.C0 = headweld.C0:lerp(CFrame.new(-0.0641918182, 1.57706404, -0.0765023232, 0.173648775, 1.2086125e-06, -0.98480773, -1.11475492e-05, 1, -7.38364122e-07, 0.98480773, 1.11064101e-05, 0.17364879),i)
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(-4.76837158e-07, -2.38418579e-07, 4.76837158e-07, 1.86264515e-06, 1.11064055e-05, -1, 1.2086125e-06, 1, 1.11064101e-05, 1, -1.20863228e-06, 1.86264515e-06):inverse(),i)
- rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -2, -1.40129846e-45, 1, 2.80259693e-45, -2.80259693e-45, -2.80259693e-45, 1, -2.80259693e-45, 2.80259693e-45, 2.80259693e-45, 1),i)
- llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.790345192, -1.96068549, 0, 0.984807849, 0.173647985, -5.23747954e-22, -0.173647985, 0.984807849, 3.13253081e-22, 5.70186845e-22, -2.1754633e-22, 1),i)
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.88555717, 0.238665819, 9.53674316e-07, 0.866025448, 0.500000119, -7.4505806e-09, -0.500000119, 0.866025388, -7.09368919e-08, -2.60770321e-08, 7.07805157e-08, 1.00000012),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(2.03125596, 0.466423273, -0.0349578857, 0.0530674011, -0.998481572, -0.0147831338, -0.0627651066, 0.0114396075, -0.997962773, 0.996616483, 0.0538871512, -0.0620627441),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- while shooting do
- game.Players.LocalPlayer.Character.Torso.CFrame = CFrame.new(game.Players.LocalPlayer.Character.Torso.Position,Vector3.new(mouse.Hit.p.x, game.Players.LocalPlayer.Character.Torso.Position.y, mouse.Hit.p.z))
- game:GetService("RunService").RenderStepped:wait()
- end
- else
- for i = 0,0.5 , 0.03 do
- headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.49999976, 0, 0.939692736, 2.65673535e-22, -0.342019886, -1.42512683e-22, 1, 3.85227261e-22, 0.342019916, -3.13253081e-22, 0.939692736),i)
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.866025388, -3.86706633e-22, -0.500000238, 2.65673535e-22, 1, -3.13253081e-22, 0.500000238, 1.38448295e-22, 0.866025388):inverse(),i)
- rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -2, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i)
- llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.790345192, -1.96068549, 0, 0.984807849, 0.173647985, -5.23747954e-22, -0.173647985, 0.984807849, 3.13253081e-22, 5.70186845e-22, -2.1754633e-22, 1),i)
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.65210819, 0.0268206596, 0, 0.984807849, 0.173647985, -5.23747954e-22, -0.173647985, 0.984807849, 3.13253081e-22, 5.70186845e-22, -2.1754633e-22, 1),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.59805298, 0.00370526314, -0.166603565, 0.984807849, -0.173648134, -3.13053391e-07, 0.171009988, 0.969846368, -0.173648238, 0.0301539954, 0.171010062, 0.984807789),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- shooting = false
- canwalk = true
- end
- end
- end
- mouse.KeyDown:connect(grab)
- function shoot(key)
- if shooting and not using then
- using = true
- gunshot:Play()
- local bullet = Instance.new("Part", workspace)
- bullet.Size = Vector3.new(0.2,0.2,3)
- bullet.BrickColor = BrickColor.new("Tr. Flu. Yellow")
- bullet.Material = "Neon"
- bullet.Anchored = false
- bullet.CFrame = Partgun.CFrame * CFrame.new(0,0.3,3.5)
- bullet.CFrame = CFrame.new(bullet.Position, mouse.Hit.p)
- local velocityofbullet = Instance.new("BodyVelocity", bullet)
- velocityofbullet.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- velocityofbullet.Velocity = mouse.Hit.lookVector * 600
- bullet.CanCollide = false
- bullet:BreakJoints()
- local function hit(part)
- local hitval = math.random(25,40)
- local humanoid = part.Parent:findFirstChildOfClass("Humanoid")
- if humanoid then
- bullet:destroy()
- if humanoid.Health == math.huge or humanoid.Health >= 600 then
- humanoid.Health = 100
- end
- if humanoid.MaxHealth == math.huge or humanoid.MaxHealth >= 600 then
- humanoid.MaxHealth = 100
- end
- if humanoid.Parent.Name == game.Players.LocalPlayer.Name then
- else
- if humanoid.Health < hitval then
- for i,v in pairs(humanoid.Parent:GetChildren()) do
- if v.ClassName == "LocalScript" or v.ClassName == "Script" then
- v:Remove()
- end
- end
- humanoid.JumpPower = 0
- humanoid.PlatformStand = true
- humanoid.WalkSpeed = 0
- local findlefthip = humanoid.Parent.Torso:findFirstChild("Left Hip")
- if findlefthip then
- findlefthip:Remove()
- local glue = Instance.new("Glue", humanoid.Parent.Torso)
- glue.Part0 = humanoid.Parent.Torso
- glue.Part1 = humanoid.Parent["Left Leg"]
- glue.Name = "Left leg"
- local collider = Instance.new("Part", humanoid.Parent["Left Leg"])
- collider.Position = Vector3.new(0,999,0)
- collider.Size = Vector3.new(1.5, 1, 1)
- collider.Shape = "Cylinder"
- local weld = Instance.new("Weld", collider)
- weld.Part0 = humanoid.Parent["Left Leg"]
- weld.Part1 = collider
- weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
- collider.TopSurface = "Smooth"
- collider.BottomSurface = "Smooth"
- collider.formFactor = "Symmetric"
- glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- collider.Transparency = 1
- end
- --
- local findrighthip = humanoid.Parent.Torso:findFirstChild("Right Hip")
- if findrighthip then
- findrighthip:Remove()
- local glue = Instance.new("Glue", humanoid.Parent.Torso)
- glue.Part0 = humanoid.Parent.Torso
- glue.Part1 = humanoid.Parent["Right Leg"]
- glue.Name = "Right leg"
- local collider = Instance.new("Part", humanoid.Parent["Right Leg"])
- collider.Position = Vector3.new(0,999,0)
- collider.Size = Vector3.new(1.5, 1, 1)
- collider.Shape = "Cylinder"
- local weld = Instance.new("Weld", collider)
- weld.Part0 = humanoid.Parent["Right Leg"]
- weld.Part1 = collider
- weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
- collider.TopSurface = "Smooth"
- collider.BottomSurface = "Smooth"
- collider.formFactor = "Symmetric"
- glue.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- glue.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- collider.Transparency = 1
- end
- --
- local findrightshoulder = humanoid.Parent.Torso:findFirstChild("Right Shoulder")
- if findrightshoulder then
- findrightshoulder:Remove()
- local glue = Instance.new("Glue", humanoid.Parent.Torso)
- glue.Part0 = humanoid.Parent.Torso
- glue.Part1 = humanoid.Parent["Right Arm"]
- glue.Name = "Right arm"
- local collider = Instance.new("Part", humanoid.Parent["Right Arm"])
- collider.Position = Vector3.new(0,999,0)
- collider.Size = Vector3.new(1.5, 1, 1)
- collider.Shape = "Cylinder"
- local weld = Instance.new("Weld", collider)
- weld.Part0 = humanoid.Parent["Right Arm"]
- weld.Part1 = collider
- weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
- collider.TopSurface = "Smooth"
- collider.BottomSurface = "Smooth"
- collider.formFactor = "Symmetric"
- glue.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- collider.Transparency = 1
- end
- --
- local findleftshoulder = humanoid.Parent.Torso:findFirstChild("Left Shoulder")
- if findleftshoulder then
- findleftshoulder:Remove()
- local glue = Instance.new("Glue", humanoid.Parent.Torso)
- glue.Part0 = humanoid.Parent.Torso
- glue.Part1 = humanoid.Parent["Left Arm"]
- glue.Name = "Left arm"
- local collider = Instance.new("Part", humanoid.Parent["Left Arm"])
- collider.Position = Vector3.new(0,999,0)
- collider.Size = Vector3.new(1.5, 1, 1)
- collider.Shape = "Cylinder"
- local weld = Instance.new("Weld", collider)
- weld.Part0 = humanoid.Parent["Left Arm"]
- weld.Part1 = collider
- weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
- collider.TopSurface = "Smooth"
- collider.BottomSurface = "Smooth"
- collider.formFactor = "Symmetric"
- glue.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- collider.Transparency = 1
- end
- local findhead = humanoid.Parent:findFirstChild("Head")
- if findhead then
- local attachment = Instance.new("Attachment", humanoid.Parent.Head)
- attachment.Position = Vector3.new(0, -0.5, 0)
- attachment.Name = "lol"
- attachment.Visible = false
- humanoid.Parent.Torso.NeckAttachment.Visible = false
- humanoid.Parent.Torso.NeckAttachment.Position = humanoid.Parent.Torso.NeckAttachment.Position + Vector3.new(0,0,0)
- local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
- ball.Attachment0 = humanoid.Parent.Torso.NeckAttachment
- ball.Attachment1 = attachment
- ball.LimitsEnabled = true
- ball.TwistLimitsEnabled = true
- ball.UpperAngle = 90
- ball.Restitution = 0.5
- ball.TwistUpperAngle = 90
- ball.TwistLowerAngle = -90
- local collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
- collidepartofleftleg.Name = "Bone"
- collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
- collidepartofleftleg.Transparency = 1
- collidepartofleftleg:BreakJoints()
- local weeld = Instance.new("Weld", collidepartofleftleg)
- weeld.Part0 = collidepartofleftleg
- weeld.Part1 = humanoid.Parent["Head"]
- if humanoid.Parent.Torso:findFirstChild("Neck") then
- humanoid.Parent.Torso.Neck:destroy()
- end
- end
- wait(10)
- humanoid.Health = 0
- else
- humanoid.Health = humanoid.Health - hitval
- end
- end
- end
- end
- bullet.Touched:connect(hit)
- for i = 0,1 , 0.2 do
- weldofgun.C0 = weldofgun.C0:lerp(CFrame.new(0.0550060272, -1.49197721, -0.523540258, -1.00000024, -3.94356903e-09, 1.68802217e-09, 1.16415322e-10, 0.173647106, -0.984807968, 4.94765118e-09, -0.984808087, -0.173647076),i)
- headweld.C0 = headweld.C0:lerp(CFrame.new(-0.0641915798, 1.57706404, -0.0765023232, 0.173648775, -0.085830681, -0.981060207, -1.11475492e-05, 0.996194601, -0.0871567205, 0.98480767, 0.0151455933, 0.172987014),i)
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(-4.76837158e-07, -2.38418579e-07, 4.76837158e-07, 1.86264515e-06, 1.11064055e-05, -1, 1.2086125e-06, 1, 1.11064101e-05, 1, -1.20863228e-06, 1.86264515e-06):inverse(),i)
- rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -2, -1.40129846e-45, 1, 2.80259693e-45, -2.80259693e-45, -2.80259693e-45, 1, -2.80259693e-45, 2.80259693e-45, 2.80259693e-45, 1),i)
- llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.790345192, -1.96068549, 0, 0.984807849, 0.173647985, -5.23747954e-22, -0.173647985, 0.984807849, 3.13253081e-22, 5.70186845e-22, -2.1754633e-22, 1),i)
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.88555717, 0.238665819, 9.53674316e-07, 0.866025448, 0.500000119, -7.4505806e-09, -0.500000119, 0.866025388, -7.09368919e-08, -2.60770321e-08, 7.07805157e-08, 1.00000012),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(2.06728888, 0.656469345, -0.0372948647, 0.064117156, -0.985305488, 0.158310011, -0.063825123, -0.16236043, -0.984665155, 0.99589932, 0.0530297607, -0.0732973367),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- for i = 0,1 , 0.2 do
- weldofgun.C0 = weldofgun.C0:lerp(CFrame.new(0.0550079346, -1.66210365, -0.280470848, -1, 1.69529812e-08, 2.79396772e-09, 2.79396772e-09, -1.27684325e-06, -1.00000012, 9.38598532e-09, -1.00000012, 1.27870589e-06),i)
- headweld.C0 = headweld.C0:lerp(CFrame.new(-0.0641918182, 1.57706404, -0.0765023232, 0.173648775, 1.2086125e-06, -0.98480773, -1.11475492e-05, 1, -7.38364122e-07, 0.98480773, 1.11064101e-05, 0.17364879),i)
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(-4.76837158e-07, -2.38418579e-07, 4.76837158e-07, 1.86264515e-06, 1.11064055e-05, -1, 1.2086125e-06, 1, 1.11064101e-05, 1, -1.20863228e-06, 1.86264515e-06):inverse(),i)
- rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -2, -1.40129846e-45, 1, 2.80259693e-45, -2.80259693e-45, -2.80259693e-45, 1, -2.80259693e-45, 2.80259693e-45, 2.80259693e-45, 1),i)
- llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.790345192, -1.96068549, 0, 0.984807849, 0.173647985, -5.23747954e-22, -0.173647985, 0.984807849, 3.13253081e-22, 5.70186845e-22, -2.1754633e-22, 1),i)
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.88555717, 0.238665819, 9.53674316e-07, 0.866025448, 0.500000119, -7.4505806e-09, -0.500000119, 0.866025388, -7.09368919e-08, -2.60770321e-08, 7.07805157e-08, 1.00000012),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(2.03125596, 0.466423273, -0.0349578857, 0.0530674011, -0.998481572, -0.0147831338, -0.0627651066, 0.0114396075, -0.997962773, 0.996616483, 0.0538871512, -0.0620627441),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- using = false
- end
- end
- mouse.Button1Down:connect(shoot)
- while true do
- if howmuch <= -1 then
- howmuch = 0
- end
- if howmuch >= 4 then
- howmuch = 0
- end
- if canwalk and howmuch < 1 then
- for i = 0,1 , 0.03 do
- if canwalk and howmuch < 1 then
- weldf.C0 = weldf.C0:lerp(CFrame.new(-0.0861244202, -1.04447937, -0.182327271, -0.105800174, 0.219419539, -0.969882667, 0.973032475, -0.178225949, -0.146464914, -0.204995126, -0.959215224, -0.194644511),i)
- headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),i)
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),i)
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 0.999999881, 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)
- game:GetService("RunService").RenderStepped:wait()
- game:GetService("RunService").RenderStepped:wait()
- end
- end
- for i = 0,0.3 , 0.01 do
- if canwalk and howmuch < 1 then
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0.123552799, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0.110878944, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i)
- headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.4918499, 0, 1, 0, 0, 0, 0.982171893, -0.187984973, 0, 0.187984973, 0.982171893),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- end
- end
- if canwalk and howmuch >= 1 then
- if canwalk then
- for i = 0.1,0.3,0.008 do
- if canwalk and howmuch >= 1 then
- weldf.C0 = weldf.C0:lerp(CFrame.new(0.405254364, -0.770187378, -0.0317382813, 0.916420221, 0.388018847, -0.0981012359, 0.181092858, -0.183419436, 0.966214538, 0.356913, -0.90321666, -0.238354743),i)
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, -0.395210266, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1):inverse(),i)
- headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),i)
- 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)
- game:GetService("RunService").RenderStepped:wait()
- end
- end
- end
- if canwalk then
- for i = 0.1,0.3 , 0.008 do
- if canwalk and howmuch >= 1 then
- weldf.C0 = weldf.C0:lerp(CFrame.new(0.405254364, -0.770187378, -0.0317382813, 0.916420221, 0.388018847, -0.0981012359, 0.181092858, -0.183419436, 0.966214538, 0.356913, -0.90321666, -0.238354743),i)
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),i)
- headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),i)
- 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)
- game:GetService("RunService").RenderStepped:wait()
- end
- end
- end
- end
- game:GetService("RunService").RenderStepped:wait()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement