Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- warn[[
- Mr.Brick
- Made by projor22
- ]]
- local player = owner
- local old = nil
- local character = player.Character
- local mod = Instance.new("Model",workspace) mod.Name=">Mr.Brick<"
- local hed = Instance.new("FlagStand",mod) hed.Size = Vector3.new(2,1,1) hed.Name = "Head" hed.Transparency=0 hed.Anchored=false hed.CanCollide=false
- local mesh = Instance.new("SpecialMesh",hed) mesh.MeshId="rbxassetid://1104623876" mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
- local tor = Instance.new("FlagStand",mod) tor.Name = "Torso" tor.Size = Vector3.new(2,2,1) tor.Transparency=0 tor.Anchored=false tor.CanCollide=true
- local right_arm = Instance.new("FlagStand",mod) right_arm.Size=Vector3.new(1,2,1) right_arm.Transparency=0 right_arm.Name = "Right Arm" right_arm.Anchored=false
- local left_arm = Instance.new("FlagStand",mod) left_arm.Size=Vector3.new(1,2,1) left_arm.Transparency=0 left_arm.Name = "Left Arm" left_arm.Anchored=false
- local right_leg = Instance.new("FlagStand",mod) right_leg.Size=Vector3.new(1,2,1) right_leg.Transparency=0 right_leg.Name = "Right Leg" right_leg.Anchored=false
- local left_leg = Instance.new("FlagStand",mod) left_leg.Size=Vector3.new(1,2,1) left_leg.Transparency=0 left_leg.Name = "Left Leg" left_leg.Anchored=false
- local faker = Instance.new("FlagStand",mod) faker.Name = " " faker.Size = Vector3.new(2.001,2.001,1.001)
- local weld = Instance.new("Weld",faker) weld.Part0=faker weld.Part1=tor
- local old = nil
- old = tor
- local Torso = tor
- old=tor
- function makeJoint(limbName, jointName, c0, c1)
- local limb = limbName
- limb:BreakJoints()
- local joint = Instance.new"Motor"
- joint.Name = jointName
- joint.Part0 = Torso
- joint.Part1 = limb
- joint.C0 = c0
- joint.C1 = c1
- joint.MaxVelocity = 0.1
- joint.archivable = false
- joint.Parent = Torso
- return joint
- end
- local Neck = makeJoint(hed,"Neck", CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0))
- local RightShoulder = makeJoint(right_arm, "Right Shoulder", CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0), CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0))
- local LeftShoulder = makeJoint(left_arm, "Left Shoulder", CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0), CFrame.new(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0))
- local RightHip = makeJoint(right_leg, "Right Hip", CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0), CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0))
- local LeftHip = makeJoint(left_leg, "Left Hip", CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0), CFrame.new(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0))
- if character then
- local torsotest = character:FindFirstChild("Torso")
- if torsotest then
- tor.CFrame = torsotest.CFrame
- player.Character = mod
- else
- local headtest = character:FindFirstChild("Head")
- if headtest then
- hed.CFrame=headtest.CFrame
- player.Character = mod
- else
- local fake = workspace:FindFirstChild("fakerhead")
- if fake then
- hed.CFrame=fake.CFrame
- player.Character = mod
- else
- print("respawning")
- player:LoadCharacter()
- wait(.4)
- player.Character = mod
- end
- end
- end
- else
- print("respawning")
- player:LoadCharacter()
- wait(.4)
- player.Character = mod
- end
- local f = Instance.new("ForceField",mod) f.Visible=false f.Name=" "
- local remo = Instance.new("RemoteEvent",mod) remo.Name="guess"
- local ghostify = false
- hm=false
- remo.OnServerEvent:Connect(function(pl, attack)
- if hm == false then
- if ghostify == false then
- ghostify=true
- local motor = player.Character.Torso:FindFirstChild("Right Shoulder")
- local motor2 = player.Character.Torso:FindFirstChild("Left Shoulder")
- if motor then
- if motor2 then
- motor2.DesiredAngle=-1.56
- end
- motor.DesiredAngle=1.56
- local head = hed
- if head then
- local look = head:FindFirstChild("Decal")
- if look then
- else
- end
- end
- end
- else
- ghostify=false
- local motor = player.Character.Torso:FindFirstChild("Left Shoulder")
- local motor2 = player.Character.Torso:FindFirstChild("Right Shoulder")
- if motor2 then
- if motor then
- motor.DesiredAngle=0
- end
- motor2.DesiredAngle=0
- end
- end
- end
- end)
- function Kill(die)
- die:BreakJoints()
- for i,g in pairs(die:GetDescendants()) do
- if g:IsA("BasePart") then
- local lol = nil
- lol = g
- lol.Color = Color3.fromRGB()
- g:Destroy()
- local check = tor:FindFirstChild("mp3")
- if check then
- check:Play()
- else
- local sound = Instance.new("Sound",tor)
- sound.SoundId = "rbxassetid://224299497"
- sound.Volume = 2.3
- -- sound.PlayOnRemove=true
- sound.Name="mp3"
- end
- local bp = Instance.new("BodyVelocity",lol)
- bp.MaxForce = Vector3.new(0,math.huge,0)
- lol.Transparency=.6
- local died = Instance.new("FlagStand",workspace) died.CanCollide=false
- local mesher = died:FindFirstChildOfClass("SpecialMesh")
- if mesher then
- mesher.Parent=died
- end
- died.CFrame=lol.CFrame
- -- local particle1 = Instance.new("FlagStand",died) particle1.Size=Vector3.new(math.random(),math.random(),math.random()) particle1.Color=Color3.new() particle1.Transparency=.6 particle1.CFrame=died.CFrame
- died.Size=lol.Size
- died.Transparency=lol.Transparency
- died.BrickColor=lol.BrickColor
- died.Name='life'
- end
- end
- end
- tor.Touched:Connect(function(par)
- if ghostify==true then
- if par.Parent ~= workspace and par.Parent ~= workspace.Terrain then
- for i,g in pairs(par.Parent:GetDescendants()) do
- if g:IsA("BasePart") then
- if g.Name=="BasePlate" then
- else
- Kill(g)
- par:Destroy()
- local ch = player.Character.Torso:FindFirstChild("MP3")
- if ch then
- wait()
- ch:Play()
- else
- local sound = Instance.new("Sound",tor)
- sound.SoundId = "rbxassetid://177060375"
- sound.Volume = 2
- --sound.PlayOnRemove=true
- sound.Name="MP3"
- end
- end
- end
- end
- end
- end
- end)
- local rem = Instance.new("RemoteEvent",player.Character) rem.Name="yes"
- local tel = Instance.new("RemoteEvent",player.Character) tel.Name="tp"
- local killer = Instance.new("RemoteEvent",player.Character) killer.Name="lIIl"
- local wave = true
- rem.OnServerEvent:connect(function(plr, wav)
- if wav then
- if hm == false then
- if ghostify==false then
- if wave == true then
- wave=false
- local motor = player.Character.Torso:FindFirstChild("Right Shoulder")
- if motor then
- motor.DesiredAngle=3.144
- end
- else
- wave=true
- local motor2 = player.Character.Torso:FindFirstChild("Right Shoulder")
- if motor2 then
- motor2.DesiredAngle=0
- end
- end
- end
- end
- end
- end)
- tel.OnServerEvent:connect(function(plr, position)
- tor.Position=position + Vector3.new(0,3,0)
- end)
- killer.OnServerEvent:connect(function(plr, target)
- local mt=target
- if mt then
- if mt.Parent.ClassName == "Model" then
- Kill(mt.Parent)
- elseif mt.Parent.Parent.ClassName == "Model" then
- Kill(mt.Parent.Parent)
- end
- end
- end)
- local leftarm = Instance.new("CharacterMesh",mod)
- leftarm.BodyPart = Enum.BodyPart.LeftArm
- leftarm.MeshId= "1112256772"
- local righttarm = Instance.new("CharacterMesh",mod)
- righttarm.BodyPart = Enum.BodyPart.RightArm
- righttarm.MeshId = "1112244824"
- local leftleg = Instance.new("CharacterMesh",mod)
- leftleg.BodyPart = Enum.BodyPart.LeftLeg
- leftleg.MeshId = "1112275294"
- local rightleg = Instance.new("CharacterMesh",mod)
- rightleg.BodyPart = Enum.BodyPart.RightLeg
- rightleg.MeshId = "1112267576"
- local torso = Instance.new("CharacterMesh",mod)
- torso.BodyPart = Enum.BodyPart.Torso
- torso.MeshId = "1112228624"
- NLS([[
- local player = game:GetService("Players").LocalPlayer
- local hum = Instance.new("Humanoid",player.Character) hum.MaxHealth = -300 hum.Health=-300 hum.Name = "" hum.BreakJointsOnDeath=false hum.RequiresNeck=false hum.WalkSpeed=13
- workspace.CurrentCamera:Destroy()
- wait()
- workspace.CurrentCamera.CameraSubject = hum
- workspace.CurrentCamera.CameraType = "Custom"
- local mouse = player:GetMouse()
- local remote = player.Character:WaitForChild("guess")
- local r = player.Character:WaitForChild("yes")
- local teleport = player.Character:WaitForChild("tp")
- local kills = player.Character:WaitForChild("lIIl")
- mouse.KeyDown:connect(function(Key)
- Key = Key:lower()
- if Key == 'c' then
- remote:FireServer("attack")
- end
- end)
- mouse.KeyDown:connect(function(Key)
- Key = Key:lower()
- if Key == 'x' then
- r:FireServer("wav")
- end
- end)
- mouse.KeyDown:connect(function(Key)
- Key = Key:lower()
- if Key == 'z' then
- teleport:FireServer(mouse.Hit.p)
- end
- end)
- mouse.KeyDown:connect(function(Key)
- Key = Key:lower()
- if Key == 'e' then
- kills:FireServer(mouse.Target)
- end
- end)
- ]],player.Character)
- local RunService = game:GetService("RunService")
- local RATE_PER_SECOND = 2
- RunService.Heartbeat:Connect(function(step)
- local increment = RATE_PER_SECOND * step
- if tor then
- else
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement