Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local char = owner.Character
- local BillboardGui = Instance.new("BillboardGui")
- local TextLabel = Instance.new("TextLabel")
- BillboardGui.Name = "tag"
- BillboardGui.Parent = char.Head
- BillboardGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- BillboardGui.AlwaysOnTop = false
- BillboardGui.ExtentsOffset = Vector3.new(0, 3, 0)
- BillboardGui.LightInfluence = 1
- BillboardGui.Size = UDim2.new(0, 200, 0, 50)
- TextLabel.Parent = BillboardGui
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Size = UDim2.new(0, 200, 0, 50)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.Text = "Normal"
- TextLabel.TextColor3 = Color3.new(6, 127, 0)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14
- TextLabel.TextWrapped = true
- local pe = Instance.new("ParticleEmitter", char["Left Arm"])
- pe.Size = NumberSequence.new(1)
- pe.EmissionDirection = "Bottom"
- pe.Lifetime = NumberRange.new(0.1)
- pe.Rate = 1000
- pe.Speed = NumberRange.new(0)
- char["Left Arm"].Transparency = 1
- local p = Instance.new("Part",char)
- p.Name = "Arm"
- p.Size = char["Left Arm"].Size
- p.BrickColor = BrickColor.new("Really black")
- p.BottomSurface = Enum.SurfaceType.Smooth
- p.TopSurface = Enum.SurfaceType.Smooth
- local w = Instance.new("Weld",char)
- w.Part1 = char["Left Arm"]
- w.Part0 = p
- local a = Instance.new("Part",char)
- a.Shape = "Cylinder"
- a.Size = Vector3.new(0.2, 1, 1)
- a.BrickColor = BrickColor.new("Really red")
- a.BottomSurface = Enum.SurfaceType.Smooth
- a.TopSurface = Enum.SurfaceType.Smooth
- local w1 = Instance.new("Weld",char)
- w1.C1 = CFrame.new(0.932784796, 0, 0, 4.47034836e-08, 0.99999994, 0, -0.99999994, 4.47034836e-08, 0, 0, 0, 1)
- w1.Part0 = char["Left Arm"]
- w1.Part1 = a
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Accessory" then
- if not(v.Handle == nil) then
- local h = v.Handle
- local p1 = h.AccessoryWeld.Part0
- local p2 = h.AccessoryWeld.Part1
- local w = Instance.new("Weld",char)
- w.C0 = h.AccessoryWeld.C0
- w.C1 = h.AccessoryWeld.C1
- h.Parent = char
- wait(0.000000000000000000001)
- w.Part0 = p1
- w.Part1 = p2
- end
- end
- end
- char.Animate:Destroy()
- local mus = nil
- local hum = char:FindFirstChildOfClass("Humanoid")
- local idleanim = Instance.new("Animation")
- idleanim.Name = "Roblox Idle Animation"
- idleanim.AnimationId = "http://www.roblox.com/asset/?id=180435571"
- local idleanimplay = hum:LoadAnimation(idleanim)
- idleanimplay:Play()
- local shota = Instance.new("Animation")
- shota.Name = "shot"
- shota.AnimationId = "http://www.roblox.com/asset/?id=128853357"
- local sp = hum:LoadAnimation(shota)
- if not(char:FindFirstChild("Animate") == nil) then
- char.Animate:Destroy()
- end
- hum.WalkSpeed = 13
- warn("Script made by Subaru112")
- warn("Moves in output soon")
- mus = Instance.new("Sound",char)
- mus.SoundId = "rbxassetid://"
- mus.Volume = 1
- mus.Pitch = 1.1
- mus2 = Instance.new("Sound",char)
- mus2.SoundId = "rbxassetid://"
- mus2.Volume = 1
- mus2.Pitch = 0.3
- mus3 = Instance.new("Sound",char)
- mus3.Volume = 1
- mus3.Pitch = 1
- local transforming = false
- --This script is made by Subaru112.
- local plr = owner
- local char = plr.Character
- local hum = char:FindFirstChildOfClass("Humanoid")
- local remote = Instance.new("RemoteEvent", char)
- remote.Name = "ReplicationEvent"
- local client = NLS([==[
- local mouse = game:GetService("Players").LocalPlayer:GetMouse()
- local remote = game:GetService("Players").LocalPlayer.Character:WaitForChild("ReplicationEvent")
- spawn(function()
- while game:GetService("RunService").Heartbeat:Wait() do
- remote = game:GetService("Players").LocalPlayer.Character:WaitForChild("ReplicationEvent")
- end
- end)
- game:GetService("UserInputService").InputBegan:Connect(function(input, isTyping)
- if isTyping == false and input.UserInputType == Enum.UserInputType.Keyboard then
- remote:FireServer(1, input.KeyCode)
- end
- end)
- mouse.Button1Down:Connect(function()
- remote:FireServer(2)
- end)
- remote.OnClientEvent:Connect(function()
- game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position, Vector3.new(mouse.Hit.Position.X, game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position.Y, mouse.Hit.Position.Z))
- end)
- ]==], char)
- local RS = char.Torso["Right Shoulder"]
- local LS = char.Torso["Left Shoulder"]
- local RH = char.Torso["Right Hip"]
- local LH = char.Torso["Left Hip"]
- local rootj = char.HumanoidRootPart.RootJoint
- local throwbutton = false
- local throw = false
- local normalanim = true
- local attackd = false
- local animpose = "Idle"
- local timepos = 0
- local timepos2 = 0
- local sine = 0
- local RSnor = RS.C0
- local LSnor = LS.C0
- local RHnor = RH.C0
- local LHnor = LH.C0
- local RSnor2 = RS.C1
- local LSnor2 = LS.C1
- local RHnor2 = RH.C1
- local LHnor2 = LH.C1
- local rootjnor = rootj.C0
- local song = 614032233
- local move = Instance.new("StringValue",char)
- move.Value = "true"
- local mode = Instance.new("StringValue",char)
- mode.Value = "normal"
- local shotid = 1311235374
- ---------------------------------
- -------------Attacks-------------
- ---------------------------------
- remote.OnServerEvent:Connect(function(Player, number, key)
- if number == 1 and plr.Name == Player.Name and attackd == false then
- if key == Enum.KeyCode.N then
- mode.Value = "normal"
- song = 614032233
- TextLabel.Text = "Normal"
- TextLabel.TextColor3 = Color3.new(6, 127, 0)
- end
- if key == Enum.KeyCode.M then
- mode.Value = "insane"
- song = 227076986
- TextLabel.Text = "Insane"
- TextLabel.TextColor3 = Color3.new(255, 255, 255)
- end
- if key == Enum.KeyCode.P then
- mode.Value = "murderer"
- song = 407749940
- TextLabel.Text = "Murderer"
- TextLabel.TextColor3 = Color3.new(255, 0, 0)
- end
- if key == Enum.KeyCode.L then
- mode.Value = "funnyguy"
- song = 1165415989
- TextLabel.Text = "Funny guy xd"
- TextLabel.TextColor3 = Color3.new(114, 199, 255)
- end
- if key == Enum.KeyCode.K then
- mode.Value = "gone"
- song = 601069330
- TextLabel.Text = "You are gone!"
- TextLabel.TextColor3 = Color3.new(0, 0, 0)
- end
- if key == Enum.KeyCode.J then
- mode.Value = "ftd"
- song = 474074203
- mus3.TimePosition = 0
- TextLabel.Text = "I'll never forget this day"
- TextLabel.TextColor3 = Color3.new(170, 34, 255)
- attackd = true
- normalanim = false
- hum.WalkSpeed = 0
- hum.JumpPower = 0
- sp:play()
- wait(0.5)
- char["Left Arm"].Transparency = 0
- p.Transparency = 1
- a.Transparency = 1
- local p2 = Instance.new("Part",workspace)
- p2.Name = "Arm"
- p2.Size = char["Left Arm"].Size
- p2.BrickColor = BrickColor.new("Really black")
- p2.BottomSurface = Enum.SurfaceType.Smooth
- p2.TopSurface = Enum.SurfaceType.Smooth
- p2.CFrame = char["Left Arm"].CFrame
- p2.CanCollide = false
- local a2 = Instance.new("Part",workspace)
- a2.Shape = "Cylinder"
- a2.Size = Vector3.new(0.2, 1, 1)
- a2.BrickColor = BrickColor.new("Really red")
- a2.CanCollide = false
- a2.BottomSurface = Enum.SurfaceType.Smooth
- a2.TopSurface = Enum.SurfaceType.Smooth
- local w12 = Instance.new("Weld",char)
- w12.C1 = CFrame.new(0.932784796, 0, 0, 4.47034836e-08, 0.99999994, 0, -0.99999994, 4.47034836e-08, 0, 0, 0, 1)
- w12.Part0 = p2
- w12.Part1 = a2
- p2.CFrame = char["Left Arm"].CFrame
- p2.Velocity = char.HumanoidRootPart.CFrame.LookVector * 70
- wait(0.1)
- p2.CanCollide = true
- a2.CanCollide = true
- wait(3)
- a.Size = Vector3.new(1.2, 0.7, 0.7)
- p2:Destroy()
- a2:Destroy()
- wait(0.1)
- p.BrickColor = BrickColor.new("White")
- a.BrickColor = BrickColor.new("Alder")
- char["Left Arm"].Transparency = char["Left Arm"].Transparency + 0.1
- p.Transparency = p.Transparency - 0.1
- a.Transparency = a.Transparency - 0.1
- wait(0.1)
- char["Left Arm"].Transparency = char["Left Arm"].Transparency + 0.1
- p.Transparency = p.Transparency - 0.1
- a.Transparency = a.Transparency - 0.1
- wait(0.1)
- char["Left Arm"].Transparency = char["Left Arm"].Transparency + 0.1
- p.Transparency = p.Transparency - 0.1
- a.Transparency = a.Transparency - 0.1
- wait(0.1)
- char["Left Arm"].Transparency = char["Left Arm"].Transparency + 0.1
- p.Transparency = p.Transparency - 0.1
- a.Transparency = a.Transparency - 0.1
- wait(0.1)
- char["Left Arm"].Transparency = char["Left Arm"].Transparency + 0.1
- p.Transparency = p.Transparency - 0.1
- a.Transparency = a.Transparency - 0.1
- wait(0.1)
- char["Left Arm"].Transparency = char["Left Arm"].Transparency + 0.1
- p.Transparency = p.Transparency - 0.1
- a.Transparency = a.Transparency - 0.1
- wait(0.1)
- char["Left Arm"].Transparency = char["Left Arm"].Transparency + 0.1
- p.Transparency = p.Transparency - 0.1
- a.Transparency = a.Transparency - 0.1
- wait(0.1)
- char["Left Arm"].Transparency = char["Left Arm"].Transparency + 0.1
- p.Transparency = p.Transparency - 0.1
- a.Transparency = a.Transparency - 0.1
- wait(0.1)
- char["Left Arm"].Transparency = char["Left Arm"].Transparency + 0.1
- p.Transparency = p.Transparency - 0.1
- a.Transparency = a.Transparency - 0.1
- wait(0.1)
- char["Left Arm"].Transparency = 1
- p.Transparency = 0
- a.Transparency = 0
- attackd = false
- normalanim = true
- hum.WalkSpeed = 13
- hum.JumpPower = 50
- end
- if key == Enum.KeyCode.H then
- mode.Value = "radio"
- transforming = true
- song = 723652641
- mus3.TimePosition = 0
- TextLabel.Text = "Glitchy"
- TextLabel.TextColor3 = Color3.new(0, 0, 0)
- attackd = true
- normalanim = false
- hum.WalkSpeed = 0
- hum.JumpPower = 0
- wait(0.5)
- char["Left Arm"].Transparency = 0
- p.Transparency = 1
- a.Transparency = 1
- local p2 = Instance.new("Part",char)
- p2.Name = "Arm"
- p2.Size = char["Left Arm"].Size
- p2.BrickColor = BrickColor.new("Really black")
- p2.BottomSurface = Enum.SurfaceType.Smooth
- p2.TopSurface = Enum.SurfaceType.Smooth
- p2.CFrame = char["Left Arm"].CFrame
- p2.CanCollide = false
- local a2 = Instance.new("Part",char)
- a2.Shape = "Cylinder"
- a2.Size = Vector3.new(0.2, 1, 1)
- a2.BrickColor = BrickColor.new("Really red")
- a2.CanCollide = false
- a2.BottomSurface = Enum.SurfaceType.Smooth
- a2.TopSurface = Enum.SurfaceType.Smooth
- local w12 = Instance.new("Weld",char)
- w12.C1 = CFrame.new(0.932784796, 0, 0, 4.47034836e-08, 0.99999994, 0, -0.99999994, 4.47034836e-08, 0, 0, 0, 1)
- w12.Part0 = p2
- w12.Part1 = a2
- p2.CFrame = char["Left Arm"].CFrame
- local bd = Instance.new("BodyPosition",p2)
- bd.Position = p2.Position + Vector3.new(0,4,0)
- wait(3)
- local mesh = Instance.new("BlockMesh",char.Head)
- local mesh2 = Instance.new("BlockMesh",char.Torso)
- local mesh3 = Instance.new("BlockMesh",char["Left Arm"])
- local mesh4 = Instance.new("BlockMesh",char["Right Arm"])
- local mesh5 = Instance.new("BlockMesh",char["Left Leg"])
- local mesh6 = Instance.new("BlockMesh",char["Right Leg"])
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Part" then
- v.Material = "Neon"
- end
- end
- for i = 1,10 do
- wait(0.0001)
- local num1 = math.random(-1,1)
- local num2 = math.random(-1,1)
- local num3 = math.random(-1,1)
- local num4 = math.random(-1,1)
- local num5 = math.random(-1,1)
- local num6 = math.random(-1,1)
- mesh.Offset = mesh.Offset + Vector3.new(num1,num2,num3)
- mesh2.Offset = mesh2.Offset + Vector3.new(num4,num5,num6)
- mesh3.Offset = mesh.Offset + Vector3.new(num1,num2,num3)
- mesh4.Offset = mesh2.Offset + Vector3.new(num4,num5,num6)
- mesh5.Offset = mesh.Offset + Vector3.new(num1,num2,num3)
- mesh6.Offset = mesh2.Offset + Vector3.new(num4,num5,num6)
- end
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Part" then
- v.Material = "Plastic"
- end
- end
- mesh:Destroy()
- mesh2:Destroy()
- mesh3:Destroy()
- mesh4:Destroy()
- mesh5:Destroy()
- mesh6:Destroy()
- wait(0.1)
- bd.Position = p2.Position + Vector3.new(0,1000,0)
- wait(0.1)
- a.Size = Vector3.new(0.5, 0.7, 0.7)
- p2:Destroy()
- a2:Destroy()
- wait(0.1)
- p.BrickColor = BrickColor.new("Lime green")
- a.BrickColor = BrickColor.new("Really black")
- char["Left Arm"].Transparency = char["Left Arm"].Transparency + 0.1
- p.Transparency = p.Transparency - 0.1
- a.Transparency = a.Transparency - 0.1
- wait(0.1)
- char["Left Arm"].Transparency = char["Left Arm"].Transparency + 0.1
- p.Transparency = p.Transparency - 0.1
- a.Transparency = a.Transparency - 0.1
- wait(0.1)
- char["Left Arm"].Transparency = char["Left Arm"].Transparency + 0.1
- p.Transparency = p.Transparency - 0.1
- a.Transparency = a.Transparency - 0.1
- wait(0.1)
- char["Left Arm"].Transparency = char["Left Arm"].Transparency + 0.1
- p.Transparency = p.Transparency - 0.1
- a.Transparency = a.Transparency - 0.1
- wait(0.1)
- char["Left Arm"].Transparency = char["Left Arm"].Transparency + 0.1
- p.Transparency = p.Transparency - 0.1
- a.Transparency = a.Transparency - 0.1
- wait(0.1)
- char["Left Arm"].Transparency = char["Left Arm"].Transparency + 0.1
- p.Transparency = p.Transparency - 0.1
- a.Transparency = a.Transparency - 0.1
- wait(0.1)
- char["Left Arm"].Transparency = char["Left Arm"].Transparency + 0.1
- p.Transparency = p.Transparency - 0.1
- a.Transparency = a.Transparency - 0.1
- wait(0.1)
- char["Left Arm"].Transparency = char["Left Arm"].Transparency + 0.1
- p.Transparency = p.Transparency - 0.1
- a.Transparency = a.Transparency - 0.1
- wait(0.1)
- char["Left Arm"].Transparency = char["Left Arm"].Transparency + 0.1
- p.Transparency = p.Transparency - 0.1
- a.Transparency = a.Transparency - 0.1
- wait(0.1)
- char["Left Arm"].Transparency = 1
- p.Transparency = 0
- a.Transparency = 0
- attackd = false
- normalanim = true
- hum.WalkSpeed = 13
- hum.JumpPower = 50
- transforming = false
- end
- if key == Enum.KeyCode.Z then
- if attackd == false then
- if mode.Value == "radio" then
- attackd = true
- normalanim = false
- hum.WalkSpeed = 4
- sp:play()
- wait(0.5)
- mus:Play()
- mus.TimePosition = 0.1
- local bull5 = Instance.new("Part",workspace)
- bull5.Shape = "Ball"
- bull5.Name = "Bullet"
- bull5.BrickColor = BrickColor.new("Really blue")
- bull5.Size = Vector3.new(2,2,2)
- bull5.Transparency = 0.5
- bull5.CanCollide = false
- bull5.CFrame = char.Torso.CFrame
- bull5.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 600
- bull5.Touched:Connect(function(hit)
- if hit.Parent then
- local character = hit.Parent
- if not(character == char or hit.Name == "Bullet") then
- if not(hit.Name == "Base" or hit.Name == "Baseplate") then
- for i,hit in pairs(character:GetChildren()) do
- if hit.ClassName == "Part" or hit.ClassName == "MeshPart" then
- if not(hit.Name == "Base" or hit.Name == "Baseplate") then
- hit.CanCollide = false
- hit.BrickColor = BrickColor.new("Really black")
- end
- end
- end
- for i,hit in pairs(character:GetChildren()) do
- if hit.ClassName == "MeshPart" or hit.ClassName == "Part" then
- if not(hit.Parent == workspace) then
- for i,v in pairs(hit:GetChildren()) do
- if v.ClassName == "Decal" then
- v:Destroy()
- end
- end
- if hit.ClassName == "MeshPart" then
- hit.TextureID = ""
- end
- for i,v in pairs(hit:GetChildren()) do
- for i,s in pairs(v:GetChildren()) do
- if s.ClassName == "FileMesh" or s.ClassName == "SpecialMesh" then
- s.TextureId = ""
- end
- end
- if v.ClassName == "FileMesh" or v.ClassName == "SpecialMesh" then
- v.TextureId = ""
- end
- end
- for i,v in pairs(hit:GetChildren()) do
- if v.ClassName == "Decal" then
- v:Destroy()
- end
- end
- hit.Parent = workspace
- hit.CanCollide = false
- hit.Anchored = true
- hit.BrickColor = BrickColor.new("Really black")
- for i = 1,100 do
- game:GetService("RunService").Heartbeat:Wait()
- local num1 = math.random(-1,1)
- local num2 = math.random(-1,1)
- hit.CFrame = hit.CFrame + Vector3.new(num1,0,num2)
- hit.Transparency = hit.Transparency + 0.010
- end
- hit:Destroy()
- if not(hit.Name == "Base" or hit.Name == "Baseplate") then
- if hit.ClassName == "MeshPart" then
- hit.TextureID = ""
- end
- for i,v in pairs(hit:GetChildren()) do
- if v.ClassName == "Decal" then
- v:Destroy()
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end)
- wait(0.5)
- normalanim = true
- hum.WalkSpeed = 13
- attackd = false
- sp:Stop()
- end
- end
- if attackd == false then
- if mode.Value == "ftd" then
- attackd = true
- normalanim = false
- hum.WalkSpeed = 4
- sp:play()
- wait(0.5)
- mus:Play()
- mus.TimePosition = 0.1
- local bull5 = Instance.new("Part",workspace)
- bull5.Shape = "Ball"
- bull5.Name = "Bullet"
- bull5.BrickColor = BrickColor.new("Really blue")
- bull5.Size = Vector3.new(2,2,2)
- bull5.Transparency = 0.5
- bull5.CanCollide = false
- bull5.CFrame = char.Torso.CFrame
- bull5.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 600
- bull5.Touched:Connect(function(hit)
- if hit.Parent then
- local character = hit.Parent
- if not(character == char or hit.Name == "Bullet") then
- if not(hit.Name == "Base" or hit.Name == "Baseplate") then
- hit.Parent = workspace
- hit.BrickColor = BrickColor.new("Alder")
- hit.Anchored = true
- hit.CanCollide = false
- for i,v in pairs(hit:GetChildren()) do
- if v.ClassName == "Decal" then
- v:Destroy()
- end
- end
- for i = 1,20 do
- game:GetService("RunService").Heartbeat:Wait()
- hit.CFrame = hit.CFrame + Vector3.new(math.random(-1,1), math.random(-1,1), math.random(-1,1))
- hit.Transparency = hit.Transparency + 0.05
- end
- hit:Destroy()
- for i,hit in pairs(character:GetChildren()) do
- if hit.ClassName == "MeshPart" or hit.ClassName == "Part" then
- if not(hit.Parent == workspace) then
- for i,v in pairs(hit:GetChildren()) do
- if v.ClassName == "Decal" then
- v:Destroy()
- end
- end
- if hit.ClassName == "MeshPart" then
- hit.TextureID = ""
- end
- for i,v in pairs(hit:GetChildren()) do
- for i,s in pairs(v:GetChildren()) do
- if s.ClassName == "FileMesh" or s.ClassName == "SpecialMesh" then
- s.TextureId = ""
- end
- end
- if v.ClassName == "FileMesh" or v.ClassName == "SpecialMesh" then
- v.TextureId = ""
- end
- end
- for i,v in pairs(hit:GetChildren()) do
- if v.ClassName == "Decal" then
- v:Destroy()
- end
- end
- hit.Parent = workspace
- hit.BrickColor = BrickColor.new("Alder")
- hit.Anchored = true
- hit.CanCollide = false
- for i = 1,20 do
- game:GetService("RunService").Heartbeat:Wait()
- hit.CFrame = hit.CFrame + Vector3.new(math.random(-1,1), math.random(-1,1), math.random(-1,1))
- hit.Transparency = hit.Transparency + 0.05
- end
- hit:Destroy()
- if not(hit.Name == "Base" or hit.Name == "Baseplate") then
- if hit.ClassName == "MeshPart" then
- hit.TextureID = ""
- end
- for i,v in pairs(hit:GetChildren()) do
- if v.ClassName == "Decal" then
- v:Destroy()
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end)
- wait(0.5)
- normalanim = true
- hum.WalkSpeed = 13
- attackd = false
- sp:Stop()
- end
- end
- if attackd == false then
- if mode.Value == "gone" then
- attackd = true
- normalanim = false
- hum.WalkSpeed = 4
- sp:play()
- wait(0.5)
- mus:Play()
- mus.TimePosition = 0.1
- local bull5 = Instance.new("Part",workspace)
- bull5.Shape = "Ball"
- bull5.Name = "Bullet"
- bull5.BrickColor = BrickColor.new("Really red")
- bull5.Size = Vector3.new(2,2,2)
- bull5.Transparency = 0.5
- bull5.CanCollide = false
- bull5.CFrame = char.Torso.CFrame
- bull5.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 600
- bull5.Touched:Connect(function(hit)
- if hit.Parent then
- local character = hit.Parent
- if not(character == char or hit.Name == "Bullet") then
- if not(hit.Name == "Base" or hit.Name == "Baseplate") then
- hit.Parent = workspace
- local num1 = math.random(-50,50)
- local num2 = math.random(1,50)
- local num3 = math.random(-50,50)
- hit:BreakJoints()
- hit.Anchored = false
- hit.CanCollide = true
- hit.Material = "Neon"
- hit.BrickColor = BrickColor.new("Really red")
- hit.Transparency = 0.7
- hit.Reflectance = 0.9
- hit.Velocity = Vector3.new(num1, num2, num3)
- for i,hit in pairs(character:GetChildren()) do
- if hit.Parent.ClassName == "Accessory" then
- for i,v in pairs(hit:GetChildren()) do
- if v.ClassName == "Part" then
- v.Parent = workspace
- local num1 = math.random(-50,50)
- local num2 = math.random(1,50)
- local num3 = math.random(-50,50)
- v.Parent = workspace
- v:BreakJoints()
- v.Anchored = false
- v.CanCollide = true
- v.Material = "Neon"
- v.BrickColor = BrickColor.new("Really red")
- v.Transparency = 0.7
- v.Reflectance = 0.9
- v.Velocity = Vector3.new(num1, num2, num3)
- end
- for i,s in pairs(v:GetChildren()) do
- if s.ClassName == "FileMesh" or s.ClassName == "SpecialMesh" then
- s.TextureId = ""
- end
- end
- if v.ClassName == "FileMesh" or v.ClassName == "SpecialMesh" then
- v.TextureId = ""
- end
- end
- end
- if hit.ClassName == "MeshPart" or hit.ClassName == "Part" then
- if not(hit.Parent == workspace) then
- local num1 = math.random(-50,50)
- local num2 = math.random(1,50)
- local num3 = math.random(-50,50)
- if hit.ClassName == "MeshPart" then
- hit.TextureID = ""
- end
- for i,v in pairs(hit:GetChildren()) do
- for i,s in pairs(v:GetChildren()) do
- if s.ClassName == "FileMesh" or s.ClassName == "SpecialMesh" then
- s.TextureId = ""
- end
- end
- if v.ClassName == "FileMesh" or v.ClassName == "SpecialMesh" then
- v.TextureId = ""
- end
- end
- hit.Parent = workspace
- hit:BreakJoints()
- hit.Anchored = false
- hit.CanCollide = true
- hit.Material = "Neon"
- hit.BrickColor = BrickColor.new("Really red")
- hit.Transparency = 0.7
- hit.Reflectance = 0.9
- hit.Velocity = Vector3.new(num1, num2, num3)
- if not(hit.Name == "Base" or hit.Name == "Baseplate") then
- if hit.ClassName == "MeshPart" then
- hit.TextureID = ""
- end
- hit.Parent = workspace
- local num1 = math.random(-50,50)
- local num2 = math.random(1,50)
- local num3 = math.random(-50,50)
- hit:BreakJoints()
- hit.Anchored = false
- hit.CanCollide = true
- hit.Material = "Neon"
- hit.BrickColor = BrickColor.new("Really red")
- hit.Transparency = 0.7
- hit.Reflectance = 0.9
- hit.Velocity = Vector3.new(num1, num2, num3)
- end
- end
- end
- end
- end
- end
- end
- end)
- wait(0.5)
- normalanim = true
- hum.WalkSpeed = 13
- attackd = false
- sp:Stop()
- end
- end
- if mode.Value == "funnyguy" then
- if attackd == false then
- attackd = true
- normalanim = false
- hum.WalkSpeed = 4
- sp:play()
- wait(0.5)
- mus:Play()
- mus.TimePosition = 0.1
- local bull5 = Instance.new("Part",char)
- bull5.Shape = "Ball"
- bull5.Name = "Bullet"
- bull5.BrickColor = BrickColor.new("Hot pink")
- bull5.Material = "Neon"
- bull5.Size = Vector3.new(1,1,1)
- bull5.CanCollide = false
- bull5.CFrame = char.Torso.CFrame
- bull5.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 500
- bull5.Touched:Connect(function(hit)
- if hit.Parent then
- local character = hit.Parent
- if not(character == char or hit.Name == "Bullet") then
- if not(hit.Name == "Base" or hit.Name == "Baseplate") then
- local human = character:FindFirstChildOfClass("Humanoid")
- if human then
- if character:FindFirstChild("TRAP") == nil then
- local tr = Instance.new("ObjectValue",character)
- tr.Name = "TRAP"
- for i,v in pairs(character:GetChildren()) do
- if v.ClassName == "BodyColors" or v.ClassName == "Pants" or v.ClassName == "Shirt" or v.ClassName == "ShirtGraphic" or v.ClassName == "Hat" or v.ClassName == "Accessory" or v.ClassName == "CharacterMesh" then
- v:Destroy()
- end
- end
- local ps = math.random(1,6)
- local p = Instance.new("Pants",character)
- p.Name = "Pants"
- p.PantsTemplate = ""
- local s = Instance.new("Shirt",character)
- s.Name = "Shirt"
- if ps == 1 then
- p.PantsTemplate = "rbxassetid://56903591"
- end
- if ps == 2 then
- p.PantsTemplate = "rbxassetid://745334066"
- s.ShirtTemplate = "rbxassetid://242933637"
- end
- if ps == 3 then
- p.PantsTemplate = "rbxassetid://1340645290"
- s.ShirtTemplate = "rbxassetid://1238151974"
- end
- if ps == 4 then
- p.PantsTemplate = "rbxassetid://460147365"
- s.ShirtTemplate = "rbxassetid://583471131"
- end
- if ps == 5 then
- p.PantsTemplate = "rbxassetid://45541243"
- end
- if ps == 6 then
- p.PantsTemplate = "rbxassetid://41162775"
- end
- local bd = Instance.new("BodyColors",character)
- bd.Name = "Body Colors"
- bd.HeadColor = BrickColor.new("Light orange")
- bd.TorsoColor = BrickColor.new("Light orange")
- bd.RightArmColor = BrickColor.new("Light orange")
- bd.LeftArmColor = BrickColor.new("Light orange")
- bd.RightLegColor = BrickColor.new("Light orange")
- bd.LeftLegColor = BrickColor.new("Light orange")
- if not(character.Head == nil) then
- for i,v in pairs(character.Head:GetChildren()) do
- if v.ClassName == "Decal" then
- v.Texture = "http://www.roblox.com/asset/?id=519735061"
- end
- end
- local hair = Instance.new("Part",character)
- hair.CanCollide = false
- hair.BottomSurface = Enum.SurfaceType.Smooth
- hair.TopSurface = Enum.SurfaceType.Smooth
- local num1 = math.random(0,255)
- local num2 = math.random(0,255)
- local num3 = math.random(0,255)
- hair.Color = Color3.new(num1,num2,num3)
- local hatr = math.random(1,7)
- if hatr == 1 then
- print("1")
- hair.Size = Vector3.new(0.400000006, 0.400000006, 0.400000006)
- local hm = Instance.new("SpecialMesh",hair)
- hm.Scale = Vector3.new(0.075000003, 0.0599999987, 0.0599999987)
- hm.MeshId = "rbxassetid://506240548"
- hm.MeshType = Enum.MeshType.FileMesh
- local w = Instance.new("ManualWeld",hair)
- w.Part0 = hair
- w.Part1 = character.Head
- w.C1 = CFrame.new(-7.62939453e-06, -1.19999862, 0.200000763, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- end
- if hatr == 2 then
- print("2")
- hair.Size = Vector3.new(0.400000006, 0.400000006, 0.400000006)
- local hm = Instance.new("SpecialMesh",hair)
- hm.Scale = Vector3.new(0.0450000018, 0.0450000018, 0.0450000018)
- hm.MeshId = "rbxassetid://487000462"
- hm.MeshType = Enum.MeshType.FileMesh
- local w = Instance.new("ManualWeld",hair)
- w.Part0 = hair
- w.Part1 = character.Head
- w.C1 = CFrame.new(-7.62939453e-06, -0.799998999, 0.599994659, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- end
- if hatr == 3 then
- print("3")
- hair.Size = Vector3.new(0.5, 0.400000006, 0.400000006)
- local hm = Instance.new("SpecialMesh",hair)
- hm.MeshId = "rbxassetid://164382853"
- hm.MeshType = Enum.MeshType.FileMesh
- local w = Instance.new("ManualWeld",hair)
- w.Part0 = hair
- w.Part1 = character.Head
- w.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- w.C1 = CFrame.new(-0.0500030518, -0.599999189, 0.100002289, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- end
- if hatr == 4 then
- print("4")
- hair.Size = Vector3.new(0.400000006, 0.400000006, 0.400000006)
- local hm = Instance.new("SpecialMesh",hair)
- hm.Scale = Vector3.new(0.109999999, 0.0799999982, 0.0850000009)
- hm.MeshId = "rbxassetid://561963999"
- hm.MeshType = Enum.MeshType.FileMesh
- local w = Instance.new("ManualWeld",hair)
- w.Part0 = hair
- w.Part1 = character.Head
- w.C1 = CFrame.new(-1.52587891e-05, -1.69999814, 1.29998398, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- end
- if hatr == 5 then
- print("5")
- hair.Size = Vector3.new(0.5, 0.400000006, 0.400000006)
- local hm = Instance.new("SpecialMesh",hair)
- hm.MeshId = "rbxassetid://437152207"
- hm.Scale = Vector3.new(0.0649999976, 0.0599999987, 0.0599999987)
- hm.MeshType = Enum.MeshType.FileMesh
- local w = Instance.new("ManualWeld",hair)
- w.Part0 = hair
- w.Part1 = character.Head
- w.C1 = CFrame.new(0.049987793, -1.19999862, 3.81469727e-06, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- end
- if hatr == 6 then
- print("6")
- hair.Size = Vector3.new(2.16, 2.367, 1.642)
- local hm = Instance.new("SpecialMesh",hair)
- hm.MeshId = "rbxassetid://527906256"
- hm.MeshType = Enum.MeshType.FileMesh
- hm.Scale = Vector3.new(0.07, 0.07, 0.07)
- local w = Instance.new("ManualWeld",hair)
- w.Part0 = hair
- w.Part1 = character.Head
- w.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w.C1 = CFrame.new(0, 0, 0, -0.984807849, 0, 0.173648313, 0, 1, 0, -0.173648313, 0, -0.984807849)
- end
- if hatr == 7 then
- print("7")
- hair.Size = Vector3.new(1.6, 1.08, 1.49)
- local hm = Instance.new("SpecialMesh",hair)
- hm.MeshId = "rbxassetid://1164734026"
- hm.MeshType = Enum.MeshType.FileMesh
- hm.Scale = Vector3.new(1.3, 1.4, 1.3)
- local w = Instance.new("ManualWeld",hair)
- w.Part0 = hair
- w.Part1 = character.Head
- w.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w.C1 = CFrame.new(0, -1.4000001, 0, 0.98480773, 0, 0.173648134, 0, 1, 0, -0.173648134, 0, 0.98480773)
- end
- end
- end
- end
- end
- end
- end
- end)
- wait(0.5)
- normalanim = true
- hum.WalkSpeed = 13
- attackd = false
- sp:Stop()
- end
- end
- if attackd == false then
- if mode.Value == "insane" then
- attackd = true
- normalanim = false
- hum.WalkSpeed = 4
- sp:play()
- wait(0.5)
- mus:Play()
- mus.TimePosition = 0.1
- local bull5 = Instance.new("Part",char)
- bull5.Shape = "Ball"
- bull5.Name = "Bullet"
- bull5.BrickColor = BrickColor.new("White")
- bull5.Material = "Neon"
- bull5.Size = Vector3.new(4,4,4)
- bull5.CanCollide = false
- bull5.CFrame = char.Torso.CFrame
- bull5.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 500
- bull5.Touched:Connect(function(hit)
- if hit.Parent then
- local character = hit.Parent
- if not(character == char or hit.Name == "Bullet") then
- if not(hit.Name == "Base" or hit.Name == "Baseplate") then
- hit.Parent = workspace
- local num1 = math.random(-100,100)
- local num2 = math.random(-1,100)
- local num3 = math.random(-100,100)
- local num4 = math.random(0.1,2)
- local num5 = math.random(0.1,2)
- local num6 = math.random(0.1,2)
- hit:BreakJoints()
- hit.Anchored = false
- hit.CanCollide = true
- hit.Transparency = 0
- hit.Material = "Neon"
- hit.BrickColor = BrickColor.new("White")
- hit.Size = Vector3.new(num4, num5, num6)
- hit.Velocity = Vector3.new(num1, num2, num3)
- end
- end
- end
- end)
- wait(0.5)
- normalanim = true
- hum.WalkSpeed = 13
- attackd = false
- sp:Stop()
- end
- end
- if mode.Value == "murderer" then
- if attackd == false then
- attackd = true
- normalanim = false
- hum.WalkSpeed = 4
- sp:play()
- wait(0.5)
- mus:Play()
- mus.TimePosition = 0.1
- local bull = Instance.new("Part",char)
- bull.Name = "Bullet"
- bull.BrickColor = BrickColor.new("Really black")
- bull.Size = Vector3.new(0.4, 3, 0.8)
- bull.CanCollide = false
- local m = Instance.new("SpecialMesh",bull)
- m.MeshId = "http://www.roblox.com/asset/?id=121944778"
- m.TextureId = "http://www.roblox.com/asset/?id=121944805"
- bull.CFrame = char.Torso.CFrame
- bull.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 500
- bull.Touched:Connect(function(hit)
- if hit.Parent then
- local character = hit.Parent
- if not(character == char or hit.Name == "Bullet") then
- if not(hit.Name == "Base" or hit.Name == "Baseplate") then
- if hit.Name == "LowerTorso" or hit.Name == "Right Arm" or hit.Name == "Left Arm" or hit.Name == "Left Leg" or hit.Name == "Right Leg" or hit.Name == "LeftHand" or hit.Name == "LeftLowerArm" or hit.Name == "LeftUpperArm" or hit.Name == "RightHand" or hit.Name == "RightUpperArm" or hit.Name == "RightLowerArm" or hit.Name == "LeftUpperLeg" or hit.Name == "LeftLowerLeg" or hit.Name == "LeftFoot" or hit.Name == "RightFoot" or hit.Name == "RightUpperLeg" or hit.Name == "RightLowerLeg" and not(hit.Name == "s") then
- bull:Destroy()
- hit.Parent = workspace
- hit.Name = "s"
- hit.Velocity = char.HumanoidRootPart.CFrame.LookVector * 40
- hit.CanCollide = true
- local kn = Instance.new("Part",character)
- kn.Name = "Bullet"
- kn.Size = Vector3.new(0.4, 3, 0.8)
- local w = Instance.new("Weld",kn)
- w.Part0 = kn
- local m = Instance.new("SpecialMesh",kn)
- m.MeshId = "http://www.roblox.com/asset/?id=121944778"
- m.TextureId = "http://www.roblox.com/asset/?id=121944805"
- w.Part1 = hit
- w.C0 = CFrame.new(0, 1.20000005, 0, 1, 0, 0, 0, 1.19248806e-08, -1, 0, 1, 1.19248806e-08)
- hit:MakeJoints()
- end
- end
- end
- end
- end)
- wait(0.5)
- normalanim = true
- hum.WalkSpeed = 13
- attackd = false
- sp:Stop()
- end
- end
- if mode.Value == "pm" then
- if attackd == false then
- attackd = true
- normalanim = false
- wait(0.1)
- RS.C0 = RS.C0:Lerp(RSnor, 0.15)
- LS.C0 = LS.C0:Lerp(LSnor, 0.15)
- RS.C1 = RS.C1:Lerp(RSnor2, 0.15)
- LS.C1 = LS.C1:Lerp(LSnor2, 0.15)
- hum.WalkSpeed = 4
- sp:play()
- wait(0.5)
- mus:Play()
- local bull = Instance.new("Part",char)
- bull.Name = "Bullet"
- bull.BrickColor = BrickColor.new("Really black")
- bull.Size = Vector3.new(1.4, 3, 0.4)
- bull.CanCollide = false
- local m = Instance.new("SpecialMesh",bull)
- m.MeshId = "http://www.roblox.com/asset?id=145815658"
- m.TextureId = "http://www.roblox.com/asset?id=145815673"
- m.Scale = Vector3.new(1, 0.5, 0.5)
- bull.CFrame = char.Torso.CFrame
- bull.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 500
- bull.Touched:Connect(function(hit)
- if hit.Parent then
- local character = hit.Parent
- if not(character == char or hit.Name == "Bullet") then
- if not(hit.Name == "Base" or hit.Name == "Baseplate") then
- if hit.Name == "LowerTorso" or hit.Name == "Right Arm" or hit.Name == "Left Arm" or hit.Name == "Left Leg" or hit.Name == "Right Leg" or hit.Name == "LeftHand" or hit.Name == "LeftLowerArm" or hit.Name == "LeftUpperArm" or hit.Name == "RightHand" or hit.Name == "RightUpperArm" or hit.Name == "RightLowerArm" or hit.Name == "LeftUpperLeg" or hit.Name == "LeftLowerLeg" or hit.Name == "LeftFoot" or hit.Name == "RightFoot" or hit.Name == "RightUpperLeg" or hit.Name == "RightLowerLeg" and not(hit.Name == "s") then
- bull:Destroy()
- hit.Parent = workspace
- hit.Name = "s"
- hit.Velocity = char.HumanoidRootPart.CFrame.LookVector * 40
- hit.CanCollide = true
- local kn = Instance.new("Part",character)
- kn.Name = "Bullet"
- kn.Size = Vector3.new(0.4, 2, 0.4)
- local w = Instance.new("Weld",kn)
- w.Part0 = kn
- local m = Instance.new("SpecialMesh",kn)
- m.MeshId = "http://www.roblox.com/asset?id=145815658"
- m.TextureId = "http://www.roblox.com/asset?id=145815673"
- m.Scale = Vector3.new(1, 0.5, 0.5)
- w.Part1 = hit
- w.C1 = CFrame.new(0, -0.800000012, 1, 1, 0, 0, 0, 0.866025329, 0.500000179, 0, -0.500000179, 0.866025329)
- hit:MakeJoints()
- end
- end
- end
- end
- end)
- wait(0.5)
- normalanim = true
- hum.WalkSpeed = 13
- attackd = false
- sp:Stop()
- end
- end
- if mode.Value == "normal" then
- if attackd == false then
- attackd = true
- normalanim = false
- hum.WalkSpeed = 4
- sp:play()
- wait(0.5)
- mus:Play()
- mus.TimePosition = 0.1
- local bull = Instance.new("Part",char)
- bull.Shape = "Ball"
- bull.Name = "Bullet"
- bull.BrickColor = BrickColor.new("Really black")
- bull.Size = Vector3.new(1.5,1.5,1.5)
- bull.CanCollide = false
- bull.CFrame = char.Torso.CFrame
- bull.Velocity = Vector3.new(0,5,0) + char.HumanoidRootPart.CFrame.LookVector * 500
- bull.Touched:Connect(function(hit)
- if hit.Parent then
- local character = hit.Parent
- if not(character == char or hit.Name == "Bullet") then
- if not(hit.Name == "Base" or hit.Name == "Baseplate") then
- hit.Parent = workspace
- hit.Anchored = false
- hit.CanCollide = true
- hit:BreakJoints()
- end
- end
- end
- end)
- wait(0.5)
- normalanim = true
- hum.WalkSpeed = 13
- attackd = false
- sp:Stop()
- end
- end
- end
- if key == Enum.KeyCode.G then
- if mode.Value == "gone" then
- attackd = true
- normalanim = false
- hum.WalkSpeed = 4
- sp:play()
- wait(0.5)
- mus:Play()
- mus.TimePosition = 0.1
- local bull5 = Instance.new("Part",workspace)
- bull5.Shape = "Ball"
- bull5.Name = "Bullet"
- bull5.BrickColor = BrickColor.new("White")
- bull5.Size = Vector3.new(2,2,2)
- bull5.Transparency = 0.5
- bull5.CanCollide = false
- bull5.CFrame = char.Torso.CFrame
- bull5.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 600
- bull5.Touched:Connect(function(hit)
- if hit.Parent then
- local character = hit.Parent
- if not(character == char or hit.Name == "Bullet") then
- if not(hit.Name == "Base" or hit.Name == "Baseplate") then
- local character = hit.Parent
- bull5:Destroy()
- for i = 1,70 do
- wait(0.01)
- for i,hit in pairs(character:GetChildren()) do
- if hit.ClassName == "MeshPart" or hit.ClassName == "Part" then
- if hit.Name == "LowerTorso" or hit.Name == "Torso" or hit.Name == "Head" or hit.Name == "UpperTorso" or hit.Name == "Right Arm" or hit.Name == "Left Arm" or hit.Name == "Left Leg" or hit.Name == "Right Leg" or hit.Name == "LeftHand" or hit.Name == "LeftLowerArm" or hit.Name == "LeftUpperArm" or hit.Name == "RightHand" or hit.Name == "RightUpperArm" or hit.Name == "RightLowerArm" or hit.Name == "LeftUpperLeg" or hit.Name == "LeftLowerLeg" or hit.Name == "LeftFoot" or hit.Name == "RightFoot" or hit.Name == "RightUpperLeg" or hit.Name == "RightLowerLeg" then
- for i,s in pairs(hit:GetChildren()) do
- s:Destroy()
- end
- hit.Anchored = true
- hit.BrickColor = BrickColor.new("Really red")
- hit.Material = "Neon"
- hit.Transparency = hit.Transparency + i/100
- end
- end
- end
- end
- for i,hit in pairs(character:GetChildren()) do
- if hit.ClassName == "MeshPart" or hit.ClassName == "Part" then
- if hit.Name == "LowerTorso" or hit.Name == "Torso" or hit.Name == "Head" or hit.Name == "UpperTorso" or hit.Name == "Right Arm" or hit.Name == "Left Arm" or hit.Name == "Left Leg" or hit.Name == "Right Leg" or hit.Name == "LeftHand" or hit.Name == "LeftLowerArm" or hit.Name == "LeftUpperArm" or hit.Name == "RightHand" or hit.Name == "RightUpperArm" or hit.Name == "RightLowerArm" or hit.Name == "LeftUpperLeg" or hit.Name == "LeftLowerLeg" or hit.Name == "LeftFoot" or hit.Name == "RightFoot" or hit.Name == "RightUpperLeg" or hit.Name == "RightLowerLeg" then
- hit:Destroy()
- end
- end
- end
- end
- end
- end
- end)
- wait(0.5)
- normalanim = true
- hum.WalkSpeed = 13
- attackd = false
- sp:Stop()
- end
- if mode.Value == "normal" then
- local bull4 = Instance.new("Part",char)
- bull4.Name = "Bullet"
- bull4.BrickColor = BrickColor.new("Really black")
- bull4.Size = Vector3.new(4.2, 2.23, 2)
- bull4.CanCollide = false
- bull4.CFrame = char.Torso.CFrame
- local me = Instance.new("SpecialMesh",bull4)
- me.MeshId = "http://www.roblox.com/asset/?id=84302661"
- me.TextureId = "http://www.roblox.com/asset/?id=84302759"
- bull4.Velocity = Vector3.new(0,50,0) + char.HumanoidRootPart.CFrame.LookVector * 40
- wait(0.1)
- bull4.CanCollide = true
- bull4.Touched:Connect(function(hit)
- if hit.Parent then
- local character = hit.Parent
- if not(character == char or hit.Name == "Bullet") then
- if not(hit.Name == "Base" or hit.Name == "Baseplate") then
- hit.CFrame = hit.CFrame + Vector3.new(0,0.1,0)
- end
- end
- end
- end)
- wait(4)
- mus2.Volume = 1
- mus2.TimePosition = 0.6
- mus2.Pitch = 0.3
- me:Destroy()
- bull4.BrickColor = BrickColor.new("Really blue")
- bull4.Anchored = true
- bull4.CanCollide = false
- bull4.Shape = "Ball"
- bull4.Transparency = 0.8
- bull4.CFrame = bull4.CFrame - Vector3.new(0,1,0)
- bull4.Parent = workspace
- for i = 1,360 do
- game:GetService("RunService").Heartbeat:Wait()
- bull4.Size = bull4.Size + Vector3.new(0.1,0.1,0.1)
- end
- wait(0.2)
- bull4.Anchored = false
- bull4.CanCollide = false
- wait(1)
- mus2.Volume = 0
- bull4:Destroy()
- end
- if mode.Value == "funnyguy" then
- local bull4 = Instance.new("Part",char)
- bull4.Name = "Bullet"
- bull4.BrickColor = BrickColor.new("Really black")
- bull4.Size = Vector3.new(2,2,2)
- bull4.CanCollide = false
- bull4.CFrame = char.Torso.CFrame
- local me = Instance.new("SpecialMesh",bull4)
- me.MeshId = "rbxasset://fonts/timebomb.mesh"
- bull4.Velocity = Vector3.new(0,50,0) + char.HumanoidRootPart.CFrame.LookVector * 40
- wait(0.1)
- bull4.CanCollide = true
- bull4.Touched:Connect(function(hit)
- if hit.Parent then
- local character = hit.Parent
- if not(character == char or hit.Name == "Bullet") then
- if not(hit.Name == "Base" or hit.Name == "Baseplate") then
- hit.Anchored = true
- hit.BrickColor = BrickColor.new("Really black")
- hit.CanCollide = true
- hit.Parent = workspace
- hit:MakeJoints()
- wait(0.1)
- hit.Anchored = false
- end
- end
- end
- end)
- wait(4)
- me:Destroy()
- bull4.BrickColor = BrickColor.new("Really black")
- bull4.Anchored = true
- bull4.CanCollide = false
- bull4.Shape = "Ball"
- bull4.Transparency = 0.5
- bull4.CFrame = bull4.CFrame - Vector3.new(0,1,0)
- bull4.Parent = workspace
- for i = 1,360 do
- game:GetService("RunService").Heartbeat:Wait()
- bull4.Size = bull4.Size + Vector3.new(0.1,0.1,0.1)
- end
- wait(0.2)
- bull4.Anchored = false
- bull4.CanCollide = false
- wait(1)
- bull4:Destroy()
- end
- end
- if key == Enum.KeyCode.C then
- if mode.Value == "pm" then
- if attackd == false then
- attackd = true
- normalanim = false
- wait(0.1)
- RS.C0 = RS.C0:Lerp(RSnor, 0.15)
- LS.C0 = LS.C0:Lerp(LSnor, 0.15)
- RS.C1 = RS.C1:Lerp(RSnor2, 0.15)
- LS.C1 = LS.C1:Lerp(LSnor2, 0.15)
- hum.WalkSpeed = 4
- sp:play()
- wait(0.5)
- mus:Play()
- local bull = Instance.new("Part",char)
- bull.Name = "Bullet"
- bull.BrickColor = BrickColor.new("White")
- bull.Material = "Neon"
- bull.Size = Vector3.new(1.4, 3, 0.4)
- bull.CanCollide = false
- local m = Instance.new("SpecialMesh",bull)
- m.MeshId = "http://www.roblox.com/asset?id=145815658"
- m.Scale = Vector3.new(1, 0.5, 0.5)
- bull.CFrame = char.Torso.CFrame
- bull.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 500
- bull.Touched:Connect(function(hit)
- if hit.Parent then
- local character = hit.Parent
- if not(character == char or hit.Name == "Bullet") then
- if not(hit.Name == "Base" or hit.Name == "Baseplate") then
- if hit.Name == "LowerTorso" or hit.Name == "Head" or hit.Name == "Torso" or hit.Name == "UpperTorso" or hit.Name == "Right Arm" or hit.Name == "Left Arm" or hit.Name == "Left Leg" or hit.Name == "Right Leg" or hit.Name == "LeftHand" or hit.Name == "LeftLowerArm" or hit.Name == "RightLowerArm" or hit.Name == "RightHand" or hit.Name == "RightUpperArm" or hit.Name == "LeftUpperArm" or hit.Name == "LeftUpperLeg" or hit.Name == "LeftLowerLeg" or hit.Name == "LeftFoot" or hit.Name == "RightFoot" or hit.Name == "RightUpperLeg" or hit.Name == "RightLowerLeg" and not(hit.Name == "s") then
- bull:Destroy()
- hit.Velocity = char.HumanoidRootPart.CFrame.LookVector * 40
- hit.CanCollide = true
- local kn = Instance.new("Part",character)
- kn.Name = "Bullet"
- kn.Size = Vector3.new(0.4, 2, 0.4)
- local w = Instance.new("Weld",kn)
- w.Part0 = kn
- local m = Instance.new("SpecialMesh",kn)
- m.MeshId = "http://www.roblox.com/asset?id=145815658"
- kn.BrickColor = BrickColor.new("White")
- kn.Material = "Neon"
- m.Scale = Vector3.new(1, 0.5, 0.5)
- w.Part1 = hit
- w.C1 = CFrame.new(0, -0.800000012, 1, 1, 0, 0, 0, 0.866025329, 0.500000179, 0, -0.500000179, 0.866025329)
- hit:MakeJoints()
- for i,hit in pairs(character:GetChildren()) do
- if hit.Name == "LowerTorso" or hit.Name == "Head" or hit.Name == "Torso" or hit.Name == "UpperTorso" or hit.Name == "Right Arm" or hit.Name == "Left Arm" or hit.Name == "Left Leg" or hit.Name == "Right Leg" or hit.Name == "LeftHand" or hit.Name == "LeftLowerArm" or hit.Name == "LeftUpperArm" or hit.Name == "RightHand" or hit.Name == "RightUpperArm" or hit.Name == "RightLowerArm" or hit.Name == "LeftUpperLeg" or hit.Name == "LeftLowerLeg" or hit.Name == "LeftFoot" or hit.Name == "RightFoot" or hit.Name == "RightUpperLeg" or hit.Name == "RightLowerLeg" and not(hit.Name == "s") then
- hit.Parent = workspace
- local num1 = math.random(-100,100)
- local num2 = math.random(-1,100)
- local num3 = math.random(-100,100)
- local num4 = math.random(0.1,2)
- local num5 = math.random(0.1,2)
- local num6 = math.random(0.1,2)
- hit:BreakJoints()
- hit.Anchored = false
- hit.CanCollide = true
- hit.Transparency = 0
- hit.Material = "Neon"
- hit.BrickColor = BrickColor.new("White")
- hit.Size = Vector3.new(num4, num5, num6)
- hit.Velocity = Vector3.new(num1, num2, num3)
- end
- end
- end
- end
- end
- end
- end)
- wait(0.5)
- normalanim = true
- hum.WalkSpeed = 13
- attackd = false
- sp:Stop()
- end
- end
- if attackd == false then
- if mode.Value == "gone" then
- attackd = true
- normalanim = false
- hum.WalkSpeed = 4
- sp:play()
- wait(0.5)
- mus:Play()
- mus.TimePosition = 0.1
- local bull5 = Instance.new("Part",workspace)
- bull5.Shape = "Ball"
- bull5.Name = "Bullet"
- bull5.BrickColor = BrickColor.new("Really black")
- bull5.Size = Vector3.new(2,2,2)
- bull5.Transparency = 0.5
- bull5.CanCollide = false
- bull5.CFrame = char.Torso.CFrame
- bull5.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 600
- bull5.Touched:Connect(function(hit)
- if hit.Parent then
- local character = hit.Parent
- if not(character == char or hit.Name == "Bullet") then
- if not(hit.Name == "Base" or hit.Name == "Baseplate") then
- if not(hit == bull5) then
- if not(hit.Parent == workspace) then
- if not(hit.Parent.Name == "Minion") then
- bull5:Destroy()
- if not(character:FindFirstChild("Head") == nil) then
- local posX = character.Head.Position.X
- local posY = character.Head.Position.Y
- local posZ = character.Head.Position.Z
- character.Head:Destroy()
- for i,v in pairs(character:GetChildren()) do
- v:Destroy()
- end
- local plr = owner
- local m = Instance.new("Model", char)
- m.Name = "Minion"
- local h = Instance.new("Part",m)
- h.Name = "Head"
- local me = plr.Character.Head.Mesh:Clone()
- me.Parent = h
- h.Size = char.Head.Size
- h:BreakJoints()
- h.CanCollide = false
- h.Position = Vector3.new(posX,posY,posZ)
- local t = Instance.new("Part",m)
- t.Name = "Torso"
- t.Size = plr.Character.Torso.Size
- t:BreakJoints()
- t.CanCollide = false
- t.Position = plr.Character.Torso.Position
- t.Position = h.Position - Vector3.new(0, 2, 0)
- local ra = Instance.new("Part",m)
- ra.Name = "Right Arm"
- ra.Size = plr.Character["Right Arm"].Size
- ra:BreakJoints()
- ra.Position = plr.Character["Right Arm"].Position
- ra.Position = ra.Position + Vector3.new(0, 10, 0)
- local la = Instance.new("Part",m)
- la.Name = "Left Arm"
- la.Size = plr.Character["Left Arm"].Size
- la:BreakJoints()
- la.Position = plr.Character["Left Arm"].Position
- la.Position = la.Position + Vector3.new(0, 10, 0)
- local ll = Instance.new("Part",m)
- ll.Name = "Left Leg"
- ll.Size = plr.Character["Left Leg"].Size
- ll:BreakJoints()
- ll.Position = plr.Character["Left Leg"].Position
- ll.Position = ll.Position + Vector3.new(0, 10, 0)
- local rl = Instance.new("Part",m)
- rl.Name = "Right Leg"
- rl.Size = plr.Character["Right Leg"].Size
- rl:BreakJoints()
- rl.Position = plr.Character["Right Leg"].Position
- rl.Position = rl.Position + Vector3.new(0, 10, 0)
- for i,v in pairs(m:GetChildren()) do
- if v.ClassName == "Part" then
- v.BrickColor = BrickColor.new("Really black")
- end
- v:BreakJoints()
- end
- local neck = Instance.new("Motor6D")
- neck.Name = "Neck"
- neck.Part0 = t
- neck.Part1 = h
- neck.Parent = t
- neck.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- neck.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- local rs = Instance.new("Motor6D")
- rs.Name = "Right Shoulder"
- rs.Part0 = t
- rs.Part1 = ra
- rs.Parent = t
- rs.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- rs.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- local ls = Instance.new("Motor6D")
- ls.Name = "Left Shoulder"
- ls.Part0 = t
- ls.Part1 = la
- ls.Parent = t
- ls.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- ls.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- local lh = Instance.new("Motor6D")
- lh.Name = "Left Hip"
- lh.Part0 = t
- lh.Part1 = ll
- lh.Parent = t
- lh.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- lh.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- local rh = Instance.new("Motor6D")
- rh.Name = "Right Hip"
- rh.Part0 = t
- rh.Part1 = rl
- rh.Parent = t
- rh.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- rh.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- wait(0.000000000000001)
- local hum = Instance.new("Humanoid", m)
- hum.MaxHealth = 0
- hum.Health = 0
- hum.WalkSpeed = 15
- hum.Name = "minion"
- for i,v in pairs(character:GetChildren()) do
- v:Destroy()
- end
- end
- end
- end
- end
- end
- end
- end
- end)
- wait(0.5)
- normalanim = true
- hum.WalkSpeed = 13
- attackd = false
- sp:Stop()
- end
- end
- if attackd == false then
- if mode.Value == "insane" then
- attackd = true
- normalanim = false
- hum.WalkSpeed = 4
- sp:play()
- wait(0.5)
- mus:Play()
- mus.TimePosition = 0.1
- local bull5 = Instance.new("Part",workspace)
- bull5.Shape = "Block"
- bull5.Name = "Bullet"
- bull5.BrickColor = BrickColor.new("White")
- bull5.Material = "Neon"
- bull5.Size = Vector3.new(0.5,0.5,3)
- bull5.CanCollide = false
- bull5.CFrame = char.Torso.CFrame
- bull5.Orientation = char.Torso.Orientation
- local flame = Instance.new("Part",bull5)
- flame.Size = Vector3.new(0.5,0.5,0.5)
- flame.Transparency = 1
- flame.Name = "Bullet"
- local f = Instance.new("Fire",flame)
- f.Heat = 1
- f.Size = 1
- local w = Instance.new("Weld",flame)
- w.Part1 = bull5
- w.Part0 = flame
- w.C1 = CFrame.new(0, 0, -1.4000001, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- f.SecondaryColor = Color3.new(255,255,255)
- f.Color = Color3.new(255,255,255)
- bull5.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 100
- wait(0.1)
- bull5.CanCollide = true
- bull5.Touched:Connect(function(hit)
- if hit.Parent then
- local character = hit.Parent
- if not(character == char or hit.Name == "Bullet") then
- if not(hit.Name == "Base" or hit.Name == "Baseplate") then
- for i,hit in pairs(character:GetChildren()) do
- if hit.ClassName == "MeshPart" or hit.ClassName == "Part" then
- if not(hit == flame or hit == bull5) then
- if not(hit.Name == "Base" or hit.Name == "Baseplate") then
- hit.Parent = workspace
- local num1 = math.random(-100,100)
- local num2 = math.random(-1,100)
- local num3 = math.random(-100,100)
- local num4 = math.random(0.1,2)
- local num5 = math.random(0.1,2)
- local num6 = math.random(0.1,2)
- hit:BreakJoints()
- hit.Anchored = false
- hit.CanCollide = true
- hit.Transparency = 0
- hit.Material = "Neon"
- hit.BrickColor = BrickColor.new("White")
- hit.Size = Vector3.new(num4, num5, num6)
- hit.Velocity = Vector3.new(num1, num2, num3)
- end
- end
- end
- end
- end
- end
- end
- end)
- wait(0.5)
- normalanim = true
- hum.WalkSpeed = 13
- attackd = false
- sp:Stop()
- end
- end
- if mode.Value == "funnyguy" then
- local bull4 = Instance.new("Part",char)
- bull4.Name = "Bullet"
- bull4.BrickColor = BrickColor.new("Really black")
- bull4.Size = Vector3.new(2,2,2)
- bull4.CanCollide = false
- bull4.CFrame = char.Torso.CFrame
- local me = Instance.new("SpecialMesh",bull4)
- me.MeshId = "rbxasset://fonts/timebomb.mesh"
- me.TextureId = "rbxasset://textures/bombtex.png"
- bull4.Velocity = Vector3.new(0,50,0) + char.HumanoidRootPart.CFrame.LookVector * 40
- wait(0.1)
- bull4.CanCollide = true
- bull4.Touched:Connect(function(v)
- if v.Parent then
- local character = v.Parent
- if not(character == char or v.Name == "Bullet") then
- if not(v.Name == "Base" or v.Name == "Baseplate") then
- if v.ClassName == "MeshPart" then
- v.TextureID = ""
- end
- if v.ClassName == "UnionOperation" or v.ClassName == "MeshPart" or v.ClassName == "Part" then
- for i,n in pairs(v:GetChildren()) do
- if n.ClassName == "SpecialMesh" then
- n.TextureId = ""
- end
- end
- if not(v.Name == "Base" or v.Name == "Baseplate") then
- local num1 = math.random(1,255)
- local num2 = math.random(1,255)
- local num2 = math.random(1,255)
- v.Material = "Plastic"
- v.Color = Color3.new(num1,num2,num3)
- end
- end
- if v.ClassName == "Accessory" or v.ClassName == "Hat" or v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "CharacterMesh" then
- v:Destroy()
- end
- end
- end
- end
- end)
- wait(4)
- me:Destroy()
- bull4.BrickColor = BrickColor.new("Lime green")
- bull4.Anchored = true
- bull4.CanCollide = false
- bull4.Shape = "Ball"
- bull4.Transparency = 0.5
- bull4.CFrame = bull4.CFrame - Vector3.new(0,1,0)
- bull4.Parent = workspace
- for i = 1,360 do
- game:GetService("RunService").Heartbeat:Wait()
- bull4.Size = bull4.Size + Vector3.new(0.2,0.2,0.2)
- end
- wait(0.2)
- bull4.Anchored = false
- bull4.CanCollide = false
- wait(1)
- bull4:Destroy()
- end
- if mode.Value == "murderer" then
- if attackd == false then
- attackd = true
- normalanim = false
- hum.WalkSpeed = 4
- sp:play()
- wait(0.5)
- mus:Play()
- mus.TimePosition = 0.1
- local bull = Instance.new("Part",char)
- bull.Name = "Bullet"
- bull.BrickColor = BrickColor.new("Really black")
- bull.Size = Vector3.new(0.4, 3, 0.8)
- bull.CanCollide = false
- local m = Instance.new("SpecialMesh",bull)
- m.MeshId = "http://www.roblox.com/asset/?id=121944778"
- bull.Material = "Neon"
- bull.BrickColor = BrickColor.new("White")
- bull.CFrame = char.Torso.CFrame
- bull.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 500
- bull.Touched:Connect(function(hit)
- if hit.Parent then
- local character = hit.Parent
- if not(character == char or hit.Name == "Bullet") then
- if not(hit.Name == "Base" or hit.Name == "Baseplate") then
- if hit.Name == "LowerTorso" or hit.Name == "Right Arm" or hit.Name == "Left Arm" or hit.Name == "Left Leg" or hit.Name == "Right Leg" or hit.Name == "LeftHand" or hit.Name == "LeftLowerArm" or hit.Name == "LeftUpperArm" or hit.Name == "RightHand" or hit.Name == "RightUpperArm" or hit.Name == "RightLowerArm" or hit.Name == "LeftUpperLeg" or hit.Name == "LeftLowerLeg" or hit.Name == "LeftFoot" or hit.Name == "RightFoot" or hit.Name == "RightUpperLeg" or hit.Name == "RightLowerLeg" or hit.Name == "Head" or hit.Name == "Torso" or hit.Name == "LowerTorso" or hit.Name == "UpperTorso" and not(hit.Name == "s") then
- bull:Destroy()
- hit.Velocity = char.HumanoidRootPart.CFrame.LookVector * 40
- hit.CanCollide = true
- local kn = Instance.new("Part",character)
- kn.Name = "Bullet"
- kn.Size = Vector3.new(0.4, 3, 0.8)
- local w = Instance.new("Weld",kn)
- w.Part0 = kn
- kn.Material = "Neon"
- kn.BrickColor = BrickColor.new("White")
- local m = Instance.new("SpecialMesh",kn)
- m.MeshId = "http://www.roblox.com/asset/?id=121944778"
- w.Part1 = hit
- w.C0 = CFrame.new(0, 1.20000005, 0, 1, 0, 0, 0, 1.19248806e-08, -1, 0, 1, 1.19248806e-08)
- wait(1)
- local num1 = math.random(0.1,2)
- local num2 = math.random(0.1,2)
- local num3 = math.random(0.1,2)
- local num4 = math.random(-100,100)
- local num5 = math.random(1,100)
- local num6 = math.random(-100,100)
- hit.Parent = workspace
- hit:BreakJoints()
- hit.BrickColor = BrickColor.new("White")
- hit.Material = "Neon"
- hit.CanCollide = true
- hit.Anchored = false
- hit.Size = Vector3.new(num1,num2,num3)
- hit.Velocity = Vector3.new(num4,num5,num6)
- end
- end
- end
- end
- end)
- wait(0.5)
- normalanim = true
- hum.WalkSpeed = 13
- attackd = false
- sp:Stop()
- end
- end
- if attackd == false then
- if mode.Value == "normal" then
- attackd = true
- normalanim = false
- hum.WalkSpeed = 4
- sp:play()
- wait(0.5)
- mus:Play()
- mus.TimePosition = 0.1
- local bull3 = Instance.new("Part",char)
- bull3.Shape = "Ball"
- bull3.Name = "Bullet"
- bull3.BrickColor = BrickColor.new("Really black")
- bull3.Size = Vector3.new(5,5,5)
- bull3.CanCollide = false
- bull3.CFrame = char.Torso.CFrame
- bull3.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 600
- bull3.Touched:Connect(function(hit)
- if hit.Parent then
- local character = hit.Parent
- if not(character == char or hit.Name == "Bullet") then
- if not(hit.Name == "Base" or hit.Name == "Baseplate") then
- hit.Anchored = true
- hit.BrickColor = BrickColor.new("Really black")
- hit.CanCollide = true
- hit.Parent = workspace
- hit:MakeJoints()
- wait(0.1)
- hit.Anchored = false
- end
- end
- end
- end)
- wait(0.5)
- normalanim = true
- hum.WalkSpeed = 13
- attackd = false
- sp:Stop()
- end
- end
- end
- if key == Enum.KeyCode.R then
- if mode.Value == "insane" then
- attackd = true
- normalanim = false
- hum.WalkSpeed = 4
- sp:play()
- wait(0.5)
- mus:Play()
- mus.TimePosition = 0.1
- local bull5 = Instance.new("Part",workspace)
- bull5.Shape = "Ball"
- bull5.Name = "Bullet"
- bull5.Material = "Marble"
- bull5.BrickColor = BrickColor.new("Medium stone gray")
- bull5.Size = Vector3.new(2,2,2)
- bull5.Transparency = 0.5
- bull5.CanCollide = false
- bull5.CFrame = char.Torso.CFrame
- bull5.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 600
- bull5.Touched:Connect(function(hit)
- if hit.Parent then
- local character = hit.Parent
- if not(character == char or hit.Name == "Bullet") then
- if not(hit.Name == "Base" or hit.Name == "Baseplate") then
- local character = hit.Parent
- for i,hit in pairs(character:GetChildren()) do
- if hit.ClassName == "MeshPart" or hit.ClassName == "Part" then
- if hit.Name == "LowerTorso" or hit.Name == "Torso" or hit.Name == "Head" or hit.Name == "UpperTorso" or hit.Name == "Right Arm" or hit.Name == "Left Arm" or hit.Name == "Left Leg" or hit.Name == "Right Leg" or hit.Name == "LeftHand" or hit.Name == "LeftLowerArm" or hit.Name == "LeftUpperArm" or hit.Name == "RightHand" or hit.Name == "RightUpperArm" or hit.Name == "RightLowerArm" or hit.Name == "LeftUpperLeg" or hit.Name == "LeftLowerLeg" or hit.Name == "LeftFoot" or hit.Name == "RightFoot" or hit.Name == "RightUpperLeg" or hit.Name == "RightLowerLeg" then
- hit.Anchored = false
- hit.BrickColor = BrickColor.new("Medium stone gray")
- hit.Material = "Marble"
- hit.Parent = workspace
- hit.CanCollide = true
- end
- end
- end
- end
- end
- end
- end)
- wait(0.5)
- normalanim = true
- hum.WalkSpeed = 13
- attackd = false
- sp:Stop()
- end
- if attackd == false then
- if mode.Value == "normal" then
- attackd = true
- normalanim = false
- hum.WalkSpeed = 4
- sp:play()
- wait(0.5)
- mus:Play()
- mus.TimePosition = 0.1
- local bull3 = Instance.new("Part",char)
- bull3.Shape = "Ball"
- bull3.Name = "Bullet"
- bull3.BrickColor = BrickColor.new("Baby blue")
- bull3.Size = Vector3.new(2,2,2)
- bull3.Material = "Ice"
- bull3.CanCollide = false
- bull3.CFrame = char.Torso.CFrame
- bull3.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 600
- bull3.Touched:Connect(function(hit)
- if hit.Parent then
- local character = hit.Parent
- if character:FindFirstChild("Bullfr") == nil then
- if not(character == char or hit.Name == "Bullet") then
- if not(hit.Name == "Base" or hit.Name == "Baseplate") then
- local hum = character:FindFirstChildOfClass("Humanoid")
- if hum then
- local b = Instance.new("ObjectValue",character)
- b.Name = "Bullfr"
- for i,v in pairs(character:GetChildren()) do
- if v.ClassName == "MeshPart" or v.ClassName == "Part" then
- if not(v.Name == "Base" or v.Name == "Baseplate") then
- v.Material = "Ice"
- v.BrickColor = BrickColor.new("Baby blue")
- v.CanCollide = true
- v.Parent = workspace
- v:MakeJoints()
- v.Anchored = false
- end
- end
- hit.Anchored = false
- local prev
- local parts = character:GetChildren()
- for i = 1,#parts do
- if (parts[i].className == "Part") then
- if (prev ~= nil)then
- local weld = Instance.new("Weld")
- weld.Part0 = prev
- weld.Part1 = parts[i]
- weld.C0 = prev.CFrame:inverse()
- weld.C1 = parts[i].CFrame:inverse()
- weld.Parent = prev
- end
- prev = parts[i]
- end
- end
- local prev2
- local parts2 = character:GetChildren()
- for i = 1,#parts2 do
- if (parts2[i].className == "MeshPart") then
- if (prev2 ~= nil)then
- local weld = Instance.new("Weld")
- weld.Part0 = prev2
- weld.Part1 = parts2[i]
- weld.C0 = prev2.CFrame:inverse()
- weld.C1 = parts2[i].CFrame:inverse()
- weld.Parent = prev2
- end
- prev2 = parts2[i]
- end
- end
- end
- end
- end
- end
- end
- end
- end)
- wait(0.5)
- normalanim = true
- hum.WalkSpeed = 13
- attackd = false
- sp:Stop()
- end
- end
- end
- if key == Enum.KeyCode.B then
- if mode.Value == "murderer" then
- mode.Value = "pm"
- song = 900450645
- TextLabel.Text = "Psycho Murderer"
- TextLabel.TextColor3 = Color3.new(255, 0, 0)
- end
- if mode.Value == "gone" then
- move.Value = "true"
- end
- if mode.Value == "normal" then
- local bull4 = Instance.new("Part",char)
- bull4.Name = "Bullet"
- bull4.BrickColor = BrickColor.new("Really black")
- bull4.Size = Vector3.new(2,2,2)
- bull4.CanCollide = false
- bull4.CFrame = char.Torso.CFrame
- local me = Instance.new("SpecialMesh",bull4)
- me.MeshId = "rbxasset://fonts/timebomb.mesh"
- me.TextureId = "rbxasset://textures/bombtex.png"
- bull4.Velocity = Vector3.new(0,50,0) + char.HumanoidRootPart.CFrame.LookVector * 40
- wait(0.1)
- bull4.CanCollide = true
- bull4.Touched:Connect(function(hit)
- if hit.Parent then
- local character = hit.Parent
- if not(character == char or hit.Name == "Bullet") then
- if not(hit.Name == "Base" or hit.Name == "Baseplate") then
- hit.Parent = workspace
- hit.Velocity = Vector3.new(0,50,0)
- hit.CanCollide = true
- hit.Anchored = false
- end
- end
- end
- end)
- wait(4)
- me:Destroy()
- bull4.BrickColor = BrickColor.new("Alder")
- bull4.Anchored = true
- bull4.Shape = "Ball"
- bull4.Transparency = 0.5
- bull4.CFrame = bull4.CFrame - Vector3.new(0,1,0)
- bull4.Parent = workspace
- for i = 1,360 do
- game:GetService("RunService").Heartbeat:Wait()
- bull4.Size = bull4.Size + Vector3.new(0.1,0.1,0.1)
- end
- wait(0.2)
- bull4.Anchored = false
- bull4.CanCollide = false
- wait(1)
- bull4:Destroy()
- end
- end
- if key == Enum.KeyCode.F then
- if mode.Value == "gone" then
- attackd = true
- normalanim = false
- hum.WalkSpeed = 4
- sp:play()
- wait(0.5)
- mus:Play()
- mus.TimePosition = 0.1
- local bull5 = Instance.new("Part",workspace)
- bull5.Shape = "Ball"
- bull5.Name = "Bullet"
- bull5.BrickColor = BrickColor.new("White")
- bull5.Size = Vector3.new(2,2,2)
- bull5.Transparency = 0.5
- bull5.CanCollide = false
- bull5.CFrame = char.Torso.CFrame
- bull5.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 600
- bull5.Touched:Connect(function(hit)
- if hit.Parent then
- local character = hit.Parent
- if not(character == char or hit.Name == "Bullet") then
- if not(hit.Name == "Base" or hit.Name == "Baseplate") then
- local character = hit.Parent
- local k = Instance.new("Model",char)
- for i,hit in pairs(character:GetChildren()) do
- if hit.ClassName == "MeshPart" or hit.ClassName == "Part" then
- if hit.Name == "LowerTorso" or hit.Name == "Torso" or hit.Name == "Head" or hit.Name == "UpperTorso" or hit.Name == "Right Arm" or hit.Name == "Left Arm" or hit.Name == "Left Leg" or hit.Name == "Right Leg" or hit.Name == "LeftHand" or hit.Name == "LeftLowerArm" or hit.Name == "LeftUpperArm" or hit.Name == "RightHand" or hit.Name == "RightUpperArm" or hit.Name == "RightLowerArm" or hit.Name == "LeftUpperLeg" or hit.Name == "LeftLowerLeg" or hit.Name == "LeftFoot" or hit.Name == "RightFoot" or hit.Name == "RightUpperLeg" or hit.Name == "RightLowerLeg" then
- for i,f in pairs(hit:GetChildren()) do
- f:Destroy()
- end
- local bdpos = Instance.new("BodyPosition",hit)
- bdpos.Position = hit.Position + Vector3.new(math.random(-5,5),math.random(1,5),math.random(-5,5))
- hit.Parent = k
- hit.Name = "kill"
- hit.Material = "Neon"
- hit.BrickColor = BrickColor.new("White")
- hit.Anchored = false
- hit.CanCollide = true
- hit:BreakJoints()
- hit.Transparency = 0.53
- end
- end
- end
- wait(5)
- k:Destroy()
- end
- end
- end
- end)
- wait(0.5)
- normalanim = true
- hum.WalkSpeed = 13
- attackd = false
- sp:Stop()
- end
- if mode.Value == "funnyguy" then
- local bull4 = Instance.new("Part",char)
- bull4.Name = "Bullet"
- bull4.BrickColor = BrickColor.new("Baby blue")
- bull4.Size = Vector3.new(2,2,2)
- bull4.CanCollide = false
- bull4.CFrame = char.Torso.CFrame
- local me = Instance.new("SpecialMesh",bull4)
- me.MeshId = "rbxasset://fonts/timebomb.mesh"
- me.TextureId = ""
- bull4.Material = "Ice"
- bull4.Velocity = Vector3.new(0,50,0) + char.HumanoidRootPart.CFrame.LookVector * 40
- wait(0.1)
- bull4.CanCollide = true
- bull4.Touched:Connect(function(hit)
- if hit.Parent then
- local character = hit.Parent
- if not(character == char or hit.Name == "Bullet") then
- if character:FindFirstChild("Billfr") == nil then
- if not(hit.Name == "Base" or hit.Name == "Baseplate") then
- local hum = character:FindFirstChildOfClass("Humanoid")
- if hum then
- local b = Instance.new("ObjectValue",character)
- b.Name = "Bullfr"
- for i,v in pairs(character:GetChildren()) do
- if v.ClassName == "MeshPart" or v.ClassName == "Part" then
- if not(v.Name == "Base" or v.Name == "Baseplate") then
- v.Material = "Ice"
- v.BrickColor = BrickColor.new("Baby blue")
- v.CanCollide = true
- v.Parent = workspace
- v:MakeJoints()
- v.Anchored = false
- end
- end
- hit.Anchored = false
- local prev
- local parts = character:GetChildren()
- for i = 1,#parts do
- if (parts[i].className == "Part") then
- if (prev ~= nil)then
- local weld = Instance.new("Weld")
- weld.Part0 = prev
- weld.Part1 = parts[i]
- weld.C0 = prev.CFrame:inverse()
- weld.C1 = parts[i].CFrame:inverse()
- weld.Parent = prev
- end
- prev = parts[i]
- end
- end
- local prev2
- local parts2 = character:GetChildren()
- for i = 1,#parts2 do
- if (parts2[i].className == "MeshPart") then
- if (prev2 ~= nil)then
- local weld = Instance.new("Weld")
- weld.Part0 = prev2
- weld.Part1 = parts2[i]
- weld.C0 = prev2.CFrame:inverse()
- weld.C1 = parts2[i].CFrame:inverse()
- weld.Parent = prev2
- end
- prev2 = parts2[i]
- end
- end
- end
- end
- end
- end
- end
- end
- end)
- wait(1.5)
- me:Destroy()
- bull4.BrickColor = BrickColor.new("Baby blue")
- bull4.Anchored = true
- bull4.CanCollide = false
- bull4.Shape = "Ball"
- bull4.Transparency = 0.5
- bull4.CFrame = bull4.CFrame - Vector3.new(0,1,0)
- bull4.Parent = workspace
- for i = 1,400 do
- game:GetService("RunService").Heartbeat:Wait()
- bull4.Size = bull4.Size + Vector3.new(0.1,0.1,0.1)
- end
- wait(0.2)
- bull4.Anchored = false
- bull4.CanCollide = false
- wait(1)
- bull4:Destroy()
- end
- if mode.Value == "normal" then
- local bull4 = Instance.new("Part",char)
- bull4.Name = "Bullet"
- bull4.BrickColor = BrickColor.new("Really black")
- bull4.Size = Vector3.new(2,2,2)
- bull4.CanCollide = false
- bull4.CFrame = char.Torso.CFrame
- local me = Instance.new("SpecialMesh",bull4)
- me.MeshId = "rbxasset://fonts/timebomb.mesh"
- me.TextureId = "rbxasset://textures/bombtex.png"
- bull4.Velocity = Vector3.new(0,50,0) + char.HumanoidRootPart.CFrame.LookVector * 40
- wait(0.1)
- bull4.CanCollide = true
- bull4.Touched:Connect(function(hit)
- if hit.Parent then
- local character = hit.Parent
- if not(character == char or hit.Name == "Bullet") then
- if not(hit.Name == "Base" or hit.Name == "Baseplate") then
- hit.Parent = workspace
- hit.Velocity = Vector3.new(0,50,0)
- hit.CanCollide = true
- hit.Anchored = false
- end
- end
- end
- end)
- wait(4)
- me:Destroy()
- bull4.BrickColor = BrickColor.new("Alder")
- bull4.Anchored = true
- bull4.Shape = "Ball"
- bull4.Transparency = 0.5
- bull4.CFrame = bull4.CFrame - Vector3.new(0,1,0)
- bull4.Parent = workspace
- for i = 1,60 do
- game:GetService("RunService").Heartbeat:Wait()
- bull4.Size = bull4.Size + Vector3.new(1,1,1)
- end
- wait(0.2)
- bull4.Anchored = false
- bull4.CanCollide = false
- wait(1)
- bull4:Destroy()
- end
- end
- if key == Enum.KeyCode.T then
- if mode.Value == "normal" then
- local bull6 = Instance.new("Part",char)
- bull6.Name = "Bullet"
- bull6.BrickColor = BrickColor.new("Really black")
- bull6.Size = Vector3.new(4,4,4)
- bull6.CanCollide = false
- bull6.CFrame = char.Torso.CFrame
- local me = Instance.new("SpecialMesh",bull6)
- me.MeshId = "rbxasset://fonts/timebomb.mesh"
- me.TextureId = "rbxasset://textures/bombtex.png"
- me.Scale = Vector3.new(2,2,2)
- bull6.Velocity = Vector3.new(0,50,0) + char.HumanoidRootPart.CFrame.LookVector * 40
- wait(0.1)
- bull6.CanCollide = true
- bull6.Touched:Connect(function(hit)
- if hit.Parent then
- local character = hit.Parent
- if not(character == char or hit.Name == "Bullet") then
- if not(hit.Name == "Bullet") then
- if not(hit.Name == "Base" or hit.Name == "Baseplate") then
- hit.Parent = workspace
- hit.Velocity = Vector3.new(0,50,0)
- hit.CanCollide = true
- hit.Anchored = false
- end
- end
- end
- end
- end)
- wait(4)
- me:Destroy()
- bull6.Parent = workspace
- bull6.BrickColor = BrickColor.new("Alder")
- bull6.Anchored = true
- bull6.Shape = "Ball"
- bull6.Transparency = 0.5
- bull6.CFrame = bull6.CFrame - Vector3.new(0,1,0)
- bull6.Parent = workspace
- for i = 1,600 do
- game:GetService("RunService").Heartbeat:Wait()
- bull6.Size = bull6.Size + Vector3.new(0.1,0.1,0.1)
- end
- wait(0.2)
- bull6.Anchored = false
- bull6.CanCollide = false
- wait(1)
- bull6:Destroy()
- end
- end
- if key == Enum.KeyCode.V then
- if mode.Value == "gone" then
- move.Value = "false"
- end
- if mode.Value == "funnyguy" then
- local bull4 = Instance.new("Part",char)
- bull4.Name = "Bullet"
- bull4.BrickColor = BrickColor.new("Magenta")
- bull4.Size = Vector3.new(2,2,2)
- bull4.CanCollide = false
- bull4.CFrame = char.Torso.CFrame
- local me = Instance.new("SpecialMesh",bull4)
- me.MeshId = "rbxasset://fonts/timebomb.mesh"
- bull4.Velocity = Vector3.new(0,50,0) + char.HumanoidRootPart.CFrame.LookVector * 40
- wait(0.1)
- bull4.CanCollide = true
- bull4.Touched:Connect(function(hit)
- if hit.Parent then
- local character = hit.Parent
- if not(character == char or hit.Name == "Bullet") then
- if not(hit.Name == "Base" or hit.Name == "Baseplate") then
- local human = character:FindFirstChildOfClass("Humanoid")
- if human then
- if character:FindFirstChild("TRAP") == nil then
- local tr = Instance.new("ObjectValue",character)
- tr.Name = "TRAP"
- for i,v in pairs(character:GetChildren()) do
- if v.ClassName == "BodyColors" or v.ClassName == "Pants" or v.ClassName == "Shirt" or v.ClassName == "ShirtGraphic" or v.ClassName == "Hat" or v.ClassName == "Accessory" or v.ClassName == "CharacterMesh" then
- v:Destroy()
- end
- end
- local ps = math.random(1,6)
- local p = Instance.new("Pants",character)
- p.Name = "Pants"
- p.PantsTemplate = ""
- local s = Instance.new("Shirt",character)
- s.Name = "Shirt"
- if ps == 1 then
- p.PantsTemplate = "rbxassetid://56903591"
- end
- if ps == 2 then
- p.PantsTemplate = "rbxassetid://745334066"
- s.ShirtTemplate = "rbxassetid://242933637"
- end
- if ps == 3 then
- p.PantsTemplate = "rbxassetid://1340645290"
- s.ShirtTemplate = "rbxassetid://1238151974"
- end
- if ps == 4 then
- p.PantsTemplate = "rbxassetid://460147365"
- s.ShirtTemplate = "rbxassetid://583471131"
- end
- if ps == 5 then
- p.PantsTemplate = "rbxassetid://45541243"
- end
- if ps == 6 then
- p.PantsTemplate = "rbxassetid://41162775"
- end
- local bd = Instance.new("BodyColors",character)
- bd.Name = "Body Colors"
- bd.HeadColor = BrickColor.new("Light orange")
- bd.TorsoColor = BrickColor.new("Light orange")
- bd.RightArmColor = BrickColor.new("Light orange")
- bd.LeftArmColor = BrickColor.new("Light orange")
- bd.RightLegColor = BrickColor.new("Light orange")
- bd.LeftLegColor = BrickColor.new("Light orange")
- if not(character.Head == nil) then
- for i,v in pairs(character.Head:GetChildren()) do
- if v.ClassName == "Decal" then
- v.Texture = "http://www.roblox.com/asset/?id=519735061"
- end
- end
- local hair = Instance.new("Part",character)
- hair.CanCollide = false
- hair.BottomSurface = Enum.SurfaceType.Smooth
- hair.TopSurface = Enum.SurfaceType.Smooth
- local num1 = math.random(0,255)
- local num2 = math.random(0,255)
- local num3 = math.random(0,255)
- hair.Color = Color3.new(num1,num2,num3)
- local hatr = math.random(1,7)
- if hatr == 1 then
- print("1")
- hair.Size = Vector3.new(0.400000006, 0.400000006, 0.400000006)
- local hm = Instance.new("SpecialMesh",hair)
- hm.Scale = Vector3.new(0.075000003, 0.0599999987, 0.0599999987)
- hm.MeshId = "rbxassetid://506240548"
- hm.MeshType = Enum.MeshType.FileMesh
- local w = Instance.new("ManualWeld",hair)
- w.Part0 = hair
- w.Part1 = character.Head
- w.C1 = CFrame.new(-7.62939453e-06, -1.19999862, 0.200000763, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- end
- if hatr == 2 then
- print("2")
- hair.Size = Vector3.new(0.400000006, 0.400000006, 0.400000006)
- local hm = Instance.new("SpecialMesh",hair)
- hm.Scale = Vector3.new(0.0450000018, 0.0450000018, 0.0450000018)
- hm.MeshId = "rbxassetid://487000462"
- hm.MeshType = Enum.MeshType.FileMesh
- local w = Instance.new("ManualWeld",hair)
- w.Part0 = hair
- w.Part1 = character.Head
- w.C1 = CFrame.new(-7.62939453e-06, -0.799998999, 0.599994659, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- end
- if hatr == 3 then
- print("3")
- hair.Size = Vector3.new(0.5, 0.400000006, 0.400000006)
- local hm = Instance.new("SpecialMesh",hair)
- hm.MeshId = "rbxassetid://164382853"
- hm.MeshType = Enum.MeshType.FileMesh
- local w = Instance.new("ManualWeld",hair)
- w.Part0 = hair
- w.Part1 = character.Head
- w.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- w.C1 = CFrame.new(-0.0500030518, -0.599999189, 0.100002289, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- end
- if hatr == 4 then
- print("4")
- hair.Size = Vector3.new(0.400000006, 0.400000006, 0.400000006)
- local hm = Instance.new("SpecialMesh",hair)
- hm.Scale = Vector3.new(0.109999999, 0.0799999982, 0.0850000009)
- hm.MeshId = "rbxassetid://561963999"
- hm.MeshType = Enum.MeshType.FileMesh
- local w = Instance.new("ManualWeld",hair)
- w.Part0 = hair
- w.Part1 = character.Head
- w.C1 = CFrame.new(-1.52587891e-05, -1.69999814, 1.29998398, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- end
- if hatr == 5 then
- print("5")
- hair.Size = Vector3.new(0.5, 0.400000006, 0.400000006)
- local hm = Instance.new("SpecialMesh",hair)
- hm.MeshId = "rbxassetid://437152207"
- hm.Scale = Vector3.new(0.0649999976, 0.0599999987, 0.0599999987)
- hm.MeshType = Enum.MeshType.FileMesh
- local w = Instance.new("ManualWeld",hair)
- w.Part0 = hair
- w.Part1 = character.Head
- w.C1 = CFrame.new(0.049987793, -1.19999862, 3.81469727e-06, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- end
- if hatr == 6 then
- print("6")
- hair.Size = Vector3.new(2.16, 2.367, 1.642)
- local hm = Instance.new("SpecialMesh",hair)
- hm.MeshId = "rbxassetid://527906256"
- hm.MeshType = Enum.MeshType.FileMesh
- hm.Scale = Vector3.new(0.07, 0.07, 0.07)
- local w = Instance.new("ManualWeld",hair)
- w.Part0 = hair
- w.Part1 = character.Head
- w.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w.C1 = CFrame.new(0, 0, 0, -0.984807849, 0, 0.173648313, 0, 1, 0, -0.173648313, 0, -0.984807849)
- end
- if hatr == 7 then
- print("7")
- hair.Size = Vector3.new(1.6, 1.08, 1.49)
- local hm = Instance.new("SpecialMesh",hair)
- hm.MeshId = "rbxassetid://1164734026"
- hm.MeshType = Enum.MeshType.FileMesh
- hm.Scale = Vector3.new(1.3, 1.4, 1.3)
- local w = Instance.new("ManualWeld",hair)
- w.Part0 = hair
- w.Part1 = character.Head
- w.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w.C1 = CFrame.new(0, -1.4000001, 0, 0.98480773, 0, 0.173648134, 0, 1, 0, -0.173648134, 0, 0.98480773)
- end
- end
- end
- end
- end
- end
- end
- end)
- wait(4)
- me:Destroy()
- bull4.BrickColor = BrickColor.new("Hot pink")
- bull4.Anchored = true
- bull4.CanCollide = false
- bull4.Shape = "Ball"
- bull4.Transparency = 0.5
- bull4.CFrame = bull4.CFrame - Vector3.new(0,1,0)
- bull4.Parent = workspace
- for i = 1,360 do
- game:GetService("RunService").Heartbeat:Wait()
- bull4.Size = bull4.Size + Vector3.new(0.2,0.2,0.2)
- end
- wait(0.2)
- bull4.Anchored = false
- bull4.CanCollide = false
- wait(1)
- bull4:Destroy()
- end
- if mode.Value == "murderer" then
- if attackd == false then
- attackd = true
- normalanim = false
- hum.WalkSpeed = 4
- sp:play()
- wait(0.5)
- mus:Play()
- mus.TimePosition = 0.1
- local bull = Instance.new("Part",char)
- bull.Name = "Bullet"
- bull.BrickColor = BrickColor.new("Baby blue")
- bull.Size = Vector3.new(0.4, 3, 0.8)
- bull.CanCollide = false
- local m = Instance.new("SpecialMesh",bull)
- bull.Material = "Ice"
- bull.BrickColor = BrickColor.new("White")
- bull.CFrame = char.Torso.CFrame
- bull.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 500
- bull.Touched:Connect(function(hit)
- if hit.Parent then
- local character = hit.Parent
- if not(character == char or hit.Name == "Bullet") then
- if not(hit.Name == "Base" or hit.Name == "Baseplate") then
- if hit.Name == "LowerTorso" or hit.Name == "Right Arm" or hit.Name == "Left Arm" or hit.Name == "Left Leg" or hit.Name == "Right Leg" or hit.Name == "LeftHand" or hit.Name == "LeftLowerArm" or hit.Name == "LeftUpperArm" or hit.Name == "RightHand" or hit.Name == "RightUpperArm" or hit.Name == "RightLowerArm" or hit.Name == "LeftUpperLeg" or hit.Name == "LeftLowerLeg" or hit.Name == "LeftFoot" or hit.Name == "RightFoot" or hit.Name == "RightUpperLeg" or hit.Name == "RightLowerLeg" or hit.Name == "Head" or hit.Name == "Torso" or hit.Name == "LowerTorso" or hit.Name == "UpperTorso" and not(hit.Name == "s") then
- bull:Destroy()
- hit.Parent = workspace
- hit.Name = "s"
- hit:MakeJoints()
- hit.Anchored = false
- hit.CanCollide = true
- hit.Material = "Ice"
- hit.BrickColor = BrickColor.new("Baby blue")
- local kn = Instance.new("Part",character)
- kn.Name = "Bullet"
- kn.Size = Vector3.new(0.4, 3, 0.8)
- local w = Instance.new("Weld",kn)
- w.Part0 = kn
- kn.BrickColor = BrickColor.new("Baby blue")
- kn.Material = "Ice"
- local m = Instance.new("SpecialMesh",kn)
- m.MeshId = "http://www.roblox.com/asset/?id=121944778"
- w.Part1 = hit
- w.C0 = CFrame.new(0, 1.20000005, 0, 1, 0, 0, 0, 1.19248806e-08, -1, 0, 1, 1.19248806e-08)
- end
- end
- end
- end
- end)
- wait(0.5)
- normalanim = true
- hum.WalkSpeed = 13
- attackd = false
- sp:Stop()
- end
- end
- if attackd == false then
- if mode.Value == "normal" then
- attackd = true
- normalanim = false
- hum.WalkSpeed = 4
- sp:play()
- wait(0.5)
- mus:Play()
- mus.TimePosition = 0.1
- local bull = Instance.new("Part",char)
- bull.Shape = "Ball"
- bull.Name = "Bullet"
- bull.BrickColor = BrickColor.new("Really black")
- bull.Size = Vector3.new(1,1,1)
- bull.CanCollide = false
- bull.CFrame = char.Torso.CFrame
- bull.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 1000
- bull.Touched:Connect(function(hit)
- if hit.Parent then
- local character = hit.Parent
- if not(character == char or hit.Name == "Bullet") then
- if not(hit.Name == "Base" or hit.Name == "Baseplate") then
- hit.Size = hit.Size - Vector3.new(0.2,0.2,0.2)
- hit.Parent = workspace
- end
- end
- end
- end)
- wait(0.5)
- normalanim = true
- hum.WalkSpeed = 13
- attackd = false
- sp:Stop()
- end
- end
- end
- if key == Enum.KeyCode.X then
- if mode.Value == "pm" then
- if attackd == false then
- attackd = true
- normalanim = false
- wait(0.1)
- RS.C0 = RS.C0:Lerp(RSnor, 0.15)
- LS.C0 = LS.C0:Lerp(LSnor, 0.15)
- RS.C1 = RS.C1:Lerp(RSnor2, 0.15)
- LS.C1 = LS.C1:Lerp(LSnor2, 0.15)
- hum.WalkSpeed = 4
- sp:play()
- wait(0.5)
- mus:Play()
- local bull = Instance.new("Part",char)
- bull.Name = "Bullet"
- bull.BrickColor = BrickColor.new("Really red")
- bull.Size = Vector3.new(1.4, 3, 0.4)
- bull.CanCollide = false
- local m = Instance.new("SpecialMesh",bull)
- m.MeshId = "http://www.roblox.com/asset?id=145815658"
- m.Scale = Vector3.new(1, 0.5, 0.5)
- bull.CFrame = char.Torso.CFrame
- bull.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 500
- bull.Touched:Connect(function(hit)
- if hit.Parent then
- local character = hit.Parent
- if not(character == char or hit.Name == "Bullet") then
- if not(hit.Name == "Base" or hit.Name == "Baseplate") then
- if hit.Name == "LowerTorso" or hit.Name == "Head" or hit.Name == "Torso" or hit.Name == "UpperTorso" or hit.Name == "Right Arm" or hit.Name == "Left Arm" or hit.Name == "Left Leg" or hit.Name == "Right Leg" or hit.Name == "LeftHand" or hit.Name == "LeftLowerArm" or hit.Name == "LeftUpperArm" or hit.Name == "RightHand" or hit.Name == "RightUpperArm" or hit.Name == "RightLowerArm" or hit.Name == "LeftUpperLeg" or hit.Name == "LeftLowerLeg" or hit.Name == "LeftFoot" or hit.Name == "RightFoot" or hit.Name == "RightUpperLeg" or hit.Name == "RightLowerLeg" and not(hit.Name == "s") then
- bull:Destroy()
- hit.Parent = workspace
- hit.Name = "s"
- hit.Velocity = char.HumanoidRootPart.CFrame.LookVector * 40
- hit.CanCollide = true
- local kn = Instance.new("Part",character)
- kn.Name = "Bullet"
- kn.Size = Vector3.new(0.4, 2, 0.4)
- kn.BrickColor = BrickColor.new("Really red")
- local w = Instance.new("Weld",kn)
- w.Part0 = kn
- local m = Instance.new("SpecialMesh",kn)
- m.MeshId = "http://www.roblox.com/asset?id=145815658"
- m.Scale = Vector3.new(1, 0.5, 0.5)
- w.Part1 = hit
- w.C1 = CFrame.new(0, -0.800000012, 1, 1, 0, 0, 0, 0.866025329, 0.500000179, 0, -0.500000179, 0.866025329)
- hit:MakeJoints()
- end
- end
- end
- end
- end)
- wait(0.5)
- normalanim = true
- hum.WalkSpeed = 13
- attackd = false
- sp:Stop()
- end
- end
- if attackd == false then
- if mode.Value == "radio" then
- attackd = true
- normalanim = false
- hum.WalkSpeed = 4
- sp:play()
- wait(0.5)
- mus:Play()
- mus.TimePosition = 0.1
- local bull5 = Instance.new("Part",workspace)
- bull5.Shape = "Ball"
- bull5.Name = "Bullet"
- bull5.BrickColor = BrickColor.new("Really blue")
- bull5.Size = Vector3.new(2,2,2)
- bull5.Transparency = 0.5
- bull5.CanCollide = false
- bull5.CFrame = char.Torso.CFrame
- bull5.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 600
- bull5.Touched:Connect(function(hit)
- if hit.Parent then
- local character = hit.Parent
- if not(character == char or hit.Name == "Bullet") then
- if not(hit.Name == "Base" or hit.Name == "Baseplate") then
- for i = 1,20 do
- game:GetService("RunService").Heartbeat:Wait()
- hit.CFrame = hit.CFrame + Vector3.new(math.random(-1,1), math.random(0.1,0.5), math.random(-1,1))
- end
- end
- end
- end
- end)
- wait(0.5)
- normalanim = true
- hum.WalkSpeed = 13
- attackd = false
- sp:Stop()
- end
- end
- if attackd == false then
- if mode.Value == "gone" then
- attackd = true
- normalanim = false
- hum.WalkSpeed = 4
- sp:play()
- wait(0.5)
- mus:Play()
- mus.TimePosition = 0.1
- local bull5 = Instance.new("Part",workspace)
- bull5.Shape = "Ball"
- bull5.Name = "Bullet"
- bull5.BrickColor = BrickColor.new("Really black")
- bull5.Size = Vector3.new(2,2,2)
- bull5.Transparency = 0.5
- bull5.CanCollide = false
- bull5.CFrame = char.Torso.CFrame
- bull5.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 600
- bull5.Touched:Connect(function(hit)
- if hit.Parent then
- local character = hit.Parent
- if not(character == char or hit.Name == "Bullet") then
- if not(hit.Name == "Base" or hit.Name == "Baseplate") then
- if not(hit == bull5) then
- if not(hit.Parent == workspace) then
- hit.CanCollide = false
- hit.Parent = workspace
- hit.BrickColor = BrickColor.new("Really black")
- hit.Anchored = true
- hit.Transparency = 0.8
- hit.Size = hit.Size + Vector3.new(0.1,0.1,0.1)
- for i,v in pairs(character:GetChildren()) do
- if not(v.Parent == workspace) then
- if not(character:FindFirstChild("Head") == nil) then
- local BillboardGui = Instance.new("BillboardGui")
- local TextLabel = Instance.new("TextLabel")
- BillboardGui.Name = "tag"
- BillboardGui.Parent = character.Head
- BillboardGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- BillboardGui.AlwaysOnTop = true
- BillboardGui.ExtentsOffset = Vector3.new(0, 3, 0)
- BillboardGui.LightInfluence = 1
- BillboardGui.Size = UDim2.new(0, 200, 0, 50)
- TextLabel.Parent = BillboardGui
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Size = UDim2.new(0, 200, 0, 50)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.Text = "Forgotten"
- TextLabel.TextColor3 = Color3.new(0, 0, 0)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14
- TextLabel.TextWrapped = true
- end
- if v.ClassName == "Part" or v.ClassName == "MeshPart" then
- v.CanCollide = false
- v.Size = v.Size + Vector3.new(0.1,0.1,0.1)
- v.Parent = workspace
- v.BrickColor = BrickColor.new("Really black")
- v.Anchored = true
- v.Transparency = 0.8
- end
- end
- end
- end
- end
- end
- end
- end
- end)
- wait(0.5)
- normalanim = true
- hum.WalkSpeed = 13
- attackd = false
- sp:Stop()
- end
- end
- if attackd == false then
- if mode.Value == "funnyguy" then
- attackd = true
- normalanim = false
- hum.WalkSpeed = 4
- sp:play()
- wait(0.5)
- mus:Play()
- mus.TimePosition = 0.1
- local bull = Instance.new("Part",char)
- bull.Shape = "Ball"
- bull.Name = "Bullet"
- bull.BrickColor = BrickColor.new("Really black")
- bull.Size = Vector3.new(1.5,1.5,1.5)
- bull.CanCollide = false
- bull.CFrame = char.Torso.CFrame
- bull.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 500
- bull.Touched:Connect(function(hit)
- if hit.Parent then
- local character = hit.Parent
- if not(character == char or hit.Name == "Bullet") then
- if not(hit.Name == "Base" or hit.Name == "Baseplate") then
- for i,v in pairs(character:GetChildren()) do
- if v.ClassName == "MeshPart" then
- v.TextureID = ""
- end
- if v.ClassName == "UnionOperation" or v.ClassName == "MeshPart" or v.ClassName == "Part" then
- for i,n in pairs(v:GetChildren()) do
- if n.ClassName == "SpecialMesh" then
- n.TextureId = ""
- end
- end
- if not(v.Name == "Base" or v.Name == "Baseplate") then
- local num1 = math.random(1,255)
- local num2 = math.random(1,255)
- local num2 = math.random(1,255)
- v.Material = "Plastic"
- v.Color = Color3.new(num1,num2,num3)
- end
- end
- if v.ClassName == "Accessory" or v.ClassName == "Hat" or v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "CharacterMesh" then
- v:Destroy()
- end
- end
- end
- end
- end
- end)
- wait(0.5)
- normalanim = true
- hum.WalkSpeed = 13
- attackd = false
- sp:Stop()
- end
- end
- if mode.Value == "insane" then
- local bull7 = Instance.new("Part",char)
- bull7.Name = "Bullet"
- bull7.BrickColor = BrickColor.new("Really black")
- bull7.Size = Vector3.new(2,2,2)
- bull7.CanCollide = false
- bull7.CFrame = char.Torso.CFrame
- local me = Instance.new("SpecialMesh",bull4)
- me.MeshId = "rbxasset://fonts/timebomb.mesh"
- me.TextureId = "rbxasset://textures/bombtex.png"
- bull7.Velocity = Vector3.new(0,50,0) + char.HumanoidRootPart.CFrame.LookVector * 40
- wait(0.1)
- bull7.CanCollide = true
- bull7.Touched:Connect(function(hit)
- if hit.Parent then
- local character = hit.Parent
- if not(character == char or hit.Name == "Bullet") then
- if not(hit.Name == "Base" or hit.Name == "Baseplate") then
- hit.Parent = workspace
- local num1 = math.random(-100,100)
- local num2 = math.random(-1,100)
- local num3 = math.random(-100,100)
- local num4 = math.random(0.1,2)
- local num5 = math.random(0.1,2)
- local num6 = math.random(0.1,2)
- hit:BreakJoints()
- hit.Anchored = false
- hit.CanCollide = true
- hit.Transparency = 0
- hit.Material = "Neon"
- hit.BrickColor = BrickColor.new("White")
- hit.Size = Vector3.new(num4, num5, num6)
- hit.Velocity = Vector3.new(num1, num2, num3)
- end
- end
- end
- end)
- wait(2)
- me:Destroy()
- bull7.BrickColor = BrickColor.new("White")
- bull7.Material = "Neon"
- bull7.Anchored = true
- bull7.CanCollide = false
- bull7.Shape = "Ball"
- bull7.Transparency = 0
- bull7.CFrame = bull7.CFrame - Vector3.new(0,1,0)
- bull7.Parent = workspace
- for i = 1,360 do
- game:GetService("RunService").Heartbeat:Wait()
- bull7.Size = bull7.Size + Vector3.new(0.3,0.3,0.3)
- end
- wait(0.2)
- bull7.Anchored = false
- bull7.CanCollide = false
- wait(1)
- bull7:Destroy()
- end
- if mode.Value == "murderer" then
- if attackd == false then
- attackd = true
- normalanim = false
- hum.WalkSpeed = 4
- sp:play()
- wait(0.5)
- mus:Play()
- mus.TimePosition = 0.1
- local bull = Instance.new("Part",char)
- bull.Name = "Bullet"
- bull.BrickColor = BrickColor.new("Really red")
- bull.Size = Vector3.new(0.4, 3, 0.8)
- bull.CanCollide = false
- local m = Instance.new("SpecialMesh",bull)
- m.MeshId = "http://www.roblox.com/asset/?id=121944778"
- bull.CFrame = char.Torso.CFrame
- bull.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 500
- bull.Touched:Connect(function(hit)
- if hit.Parent then
- local character = hit.Parent
- if not(character == char or hit.Name == "Bullet") then
- if not(hit.Name == "Base" or hit.Name == "Baseplate") then
- if hit.Name == "LowerTorso" or hit.Name == "Right Arm" or hit.Name == "Left Arm" or hit.Name == "Left Leg" or hit.Name == "Right Leg" or hit.Name == "LeftHand" or hit.Name == "LeftLowerArm" or hit.Name == "LeftUpperArm" or hit.Name == "RightHand" or hit.Name == "RightUpperArm" or hit.Name == "RightLowerArm" or hit.Name == "LeftUpperLeg" or hit.Name == "LeftLowerLeg" or hit.Name == "LeftFoot" or hit.Name == "RightFoot" or hit.Name == "RightUpperLeg" or hit.Name == "RightLowerLeg" or hit.Name == "Head" or hit.Name == "UpperTorso" and not(hit.Name == "s") then
- bull:Destroy()
- hit.Parent = workspace
- hit.Name = "s"
- hit.Velocity = char.HumanoidRootPart.CFrame.LookVector * 40
- hit.CanCollide = true
- local kn = Instance.new("Part",character)
- kn.Name = "Bullet"
- kn.Size = Vector3.new(0.4, 3, 0.8)
- local w = Instance.new("Weld",kn)
- w.Part0 = kn
- kn.BrickColor = BrickColor.new("Really red")
- local m = Instance.new("SpecialMesh",kn)
- m.MeshId = "http://www.roblox.com/asset/?id=121944778"
- w.Part1 = hit
- w.C0 = CFrame.new(0, 1.20000005, 0, 1, 0, 0, 0, 1.19248806e-08, -1, 0, 1, 1.19248806e-08)
- hit:MakeJoints()
- end
- end
- end
- end
- end)
- wait(0.5)
- normalanim = true
- hum.WalkSpeed = 13
- attackd = false
- sp:Stop()
- end
- end
- if attackd == false then
- if mode.Value == "normal" then
- attackd = true
- normalanim = false
- hum.WalkSpeed = 4
- sp:play()
- wait(0.5)
- mus:Play()
- mus.TimePosition = 0.1
- local bull2 = Instance.new("Part",char)
- bull2.Shape = "Ball"
- bull2.Name = "Bullet"
- bull2.BrickColor = BrickColor.new("Really red")
- bull2.Size = Vector3.new(3,3,3)
- bull2.CanCollide = false
- bull2.CFrame = char.Torso.CFrame
- bull2.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 300
- bull2.Touched:Connect(function(hit)
- if hit.Parent then
- local character = hit.Parent
- if not(character == char or hit.Name == "Bullet") then
- if not(hit.Name == "Base" or hit.Name == "Baseplate") then
- hit:Destroy()
- end
- end
- end
- end)
- wait(0.5)
- normalanim = true
- hum.WalkSpeed = 13
- attackd = false
- sp:Stop()
- end
- end
- end
- end
- end)
- local timepos3 = 0
- local sss = false
- ---------------------------------
- -----------Wrapping up-----------
- ---------------------------------
- while game:GetService("RunService").Heartbeat:Wait() do
- if normalanim then
- sine = sine + 1
- end
- if not(mode.Value == "ftd" or mode.Value == "radio") and sss == false then
- p.BrickColor = BrickColor.new("Really black")
- a.BrickColor = BrickColor.new("Really red")
- a.Size = Vector3.new(0.2, 1, 1)
- end
- if not(transforming == true) then
- remote:FireClient(plr)
- end
- hum.Health = 9999999999999999
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Part" or v.ClassName == "MeshPart" then
- if not(v.Name == "Bullet") then
- if sss == false then
- v.Anchored = false
- end
- end
- end
- end
- if move.Value == "true" then
- for i,v in pairs(char:GetChildren()) do
- if v.Name == "Minion" then
- s = v
- local larm = s:FindFirstChild("Left Arm")
- local rarm = s:FindFirstChild("Right Arm")
- function findNearestTorso(pos)
- local list = game.Workspace:children()
- local torso = nil
- local dist = 100000000000000000000000000000000000000000
- local temp = nil
- local human = nil
- local temp2 = nil
- for x = 1, #list do
- temp2 = list[x]
- if (temp2.className == "Model") and (temp2 ~= s) and (temp2 ~= char) then
- temp = temp2:FindFirstChild("Head")
- h = temp2:FindFirstChildOfClass("Humanoid")
- if (temp ~= nil) and (h ~= nil) and (h.Health > 0) then
- s.minion.WalkSpeed = 15
- if (temp.Position - pos).magnitude < dist then
- torso = temp
- dist = (temp.Position - pos).magnitude
- end
- end
- end
- end
- return torso
- end
- local antibug = s:FindFirstChild("Torso")
- if antibug ~= nil then
- local antibug2 = s:FindFirstChild("minion")
- if antibug2 ~= nil then
- local target = findNearestTorso(antibug.Position)
- if target ~= nil then
- s.minion:MoveTo(target.Position, target)
- s.minion.WalkSpeed = 15
- end
- end
- end
- if not(v:FindFirstChild("Torso") == nil) then
- if move.Value == "true" then
- function onTouched(fire)
- local humn = fire.Parent:FindFirstChildOfClass("Humanoid")
- if humn then
- if not(humn.Name == "minion") then
- local par = humn.Parent
- if not(par == char) then
- for i,s in pairs (humn.Parent:GetChildren()) do
- if s.ClassName == "Part" then
- for i,n in pairs(par:GetChildren()) do
- if n.ClassName == "Part" or n.ClassName == "MeshPart" then
- n.Anchored = true
- n.BrickColor = BrickColor.new("Really black")
- n.Transparency = 0.8
- n.Parent = workspace
- n.CanCollide = false
- end
- end
- end
- end
- end
- end
- end
- end
- end
- v.Torso.Touched:connect(onTouched)
- end
- end
- end
- end
- if mode.Value == "radio" then
- if sss == false then
- local can = math.random(1,100)
- if can == 20 then
- local mesh = Instance.new("BlockMesh",char.Head)
- local mesh2 = Instance.new("BlockMesh",char.Torso)
- local mesh3 = Instance.new("BlockMesh",char["Left Arm"])
- local mesh4 = Instance.new("BlockMesh",char["Right Arm"])
- local mesh5 = Instance.new("BlockMesh",char["Left Leg"])
- local mesh6 = Instance.new("BlockMesh",char["Right Leg"])
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Part" then
- v.Material = "Neon"
- end
- end
- for i = 1,10 do
- wait(0.0001)
- local num1 = math.random(-1,1)
- local num2 = math.random(-1,1)
- local num3 = math.random(-1,1)
- local num4 = math.random(-1,1)
- local num5 = math.random(-1,1)
- local num6 = math.random(-1,1)
- mesh.Offset = mesh.Offset + Vector3.new(num1,num2,num3)
- mesh2.Offset = mesh2.Offset + Vector3.new(num4,num5,num6)
- mesh3.Offset = mesh.Offset + Vector3.new(num1,num2,num3)
- mesh4.Offset = mesh2.Offset + Vector3.new(num4,num5,num6)
- mesh5.Offset = mesh.Offset + Vector3.new(num1,num2,num3)
- mesh6.Offset = mesh2.Offset + Vector3.new(num4,num5,num6)
- end
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Part" then
- v.Material = "Plastic"
- end
- end
- mesh:Destroy()
- mesh2:Destroy()
- mesh3:Destroy()
- mesh4:Destroy()
- mesh5:Destroy()
- mesh6:Destroy()
- end
- end
- end
- function OnDeath()
- sss = true
- pe:Destroy()
- BillboardGui:Destroy()
- song = 0
- hum:Destroy()
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Part" then
- v.Material = "Neon"
- v.Anchored = true
- v.CanCollide = true
- for i,s in pairs(v:GetChildren()) do
- if s.ClassName == "SpecialMesh" then
- s.TextureId = ""
- end
- end
- end
- end
- local t = char.Torso
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Part" then
- v.Parent = workspace
- v.Anchored = true
- v.Material = "Marble"
- v.BrickColor = BrickColor.new("Medium stone gray")
- v.CanCollide = true
- v.CFrame = v.CFrame + Vector3.new(0,1,0)
- end
- end
- local base = Instance.new("Part",workspace)
- base.Material = "Marble"
- base.Anchored = true
- base.CFrame = t.CFrame - Vector3.new(0,3.5,0)
- end
- hum.Died:connect(OnDeath)
- if hum == nil then
- sss = true
- pe:Destroy()
- BillboardGui:Destroy()
- song = 0
- hum:Destroy()
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Part" then
- v.Material = "Neon"
- v.Anchored = true
- v.CanCollide = true
- for i,s in pairs(v:GetChildren()) do
- if s.ClassName == "SpecialMesh" then
- s.TextureId = ""
- end
- end
- end
- end
- local t = char.Torso
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Part" then
- v.Parent = workspace
- v.Anchored = true
- v.Material = "Marble"
- v.BrickColor = BrickColor.new("Medium stone gray")
- v.CanCollide = true
- v.CFrame = v.CFrame + Vector3.new(0,1,0)
- end
- end
- local base = Instance.new("Part",workspace)
- base.Material = "Marble"
- base.Anchored = true
- base.CFrame = t.CFrame - Vector3.new(0,3.5,0)
- end
- if mus.Parent == char then
- mus.SoundId = "rbxassetid://"..shotid
- timepos = mus.TimePosition
- if not(mode.Value == "pm") then
- mus.Pitch = 1.1
- mus.Volume = 1
- end
- if mode.Value == "pm" then
- mus.Pitch = 1
- mus.Volume = 2
- end
- else
- mus = Instance.new("Sound", char)
- mus.TimePosition = timepos
- end
- if mus3.Parent == char then
- mus3.SoundId = "rbxassetid://"..song
- mus3.Playing = true
- if not(mode.Value == "ftd") then
- mus3.Volume = 1
- end
- if mode.Value == "ftd" then
- mus3.Volume = 0.5
- end
- mus3.Looped = true
- timepos3 = mus3.TimePosition
- else
- mus3 = Instance.new("Sound", char)
- mus3.TimePosition = timepos3
- end
- if not(mode.Value == "pm") then
- shotid = 1311235374
- end
- if mode.Value == "pm" then
- shotid = 711753382
- end
- if remote.Parent == char then
- remote.Name = "ReplicationEvent"
- else
- remote = Instance.new("RemoteEvent", char)
- end
- local touchfloor = workspace:FindPartOnRay(Ray.new(char.HumanoidRootPart.CFrame.Position, ((CFrame.new(char.HumanoidRootPart.Position, char.HumanoidRootPart.Position - Vector3.new(0, 1, 0))).LookVector).Unit * 4), char)
- if char.HumanoidRootPart.Velocity.Magnitude > 1 and touchfloor then
- animpose = "Walking"
- elseif char.HumanoidRootPart.Velocity.Y > 0.5 and touchfloor == nil then
- animpose = "Jumping"
- elseif char.HumanoidRootPart.Velocity.Y < 0.5 and touchfloor == nil then
- animpose = "Falling"
- else
- animpose = "Idle"
- end
- if animpose == "Idle" and normalanim then
- if mode.Value == "pm" then
- RS.C0 = RS.C0:Lerp(CFrame.new(0.848735809, 0.679620743, 0.254655838, 0.338498712, 0.738355339, 0.58330965, 0.768441379, -0.574679315, 0.281499118, 0.543062329, 0.352952152, -0.761910915), 0.15)
- LS.C0 = LS.C0:Lerp(CFrame.new(-1.01462555, 0.529279709, 0.280942917, 0.412421823, -0.621572852, -0.665999651, -0.716496646, -0.672819614, 0.184245646, -0.562619746, 0.401199639, -0.72284025), 0.15)
- RS.C1 = RS.C1:Lerp(CFrame.new(-0.5, 0.5, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.15)
- LS.C1 = LS.C1:Lerp(CFrame.new(0.5, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.15)
- end
- rootj.C0 = rootj.C0:Lerp(rootjnor, 0.15)
- if not(mode.Value == "radio" or mode.Value == "pm") then
- RS.C0 = RS.C0:Lerp(RSnor, 0.15)
- LS.C0 = LS.C0:Lerp(LSnor, 0.15)
- RS.C1 = RS.C1:Lerp(RSnor2, 0.15)
- LS.C1 = LS.C1:Lerp(LSnor2, 0.15)
- end
- if mode.Value == "radio" then
- RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(0.3, 0, 0), 0.15)
- LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(0.3, 0, 0), 0.15)
- end
- RH.C0 = RH.C0:Lerp(RHnor, 0.15)
- LH.C0 = LH.C0:Lerp(LHnor, 0.15)
- elseif animpose == "Walking" and normalanim then
- if mode.Value == "pm" then
- RS.C0 = RS.C0:Lerp(RSnor, 0.15)
- LS.C0 = LS.C0:Lerp(LSnor, 0.15)
- end
- rootj.C0 = rootj.C0:Lerp(rootjnor, 0.15)
- if not(mode.Value == "radio") then
- RS.C0 = RS.C0:Lerp(RSnor, 0.15)
- LS.C0 = LS.C0:Lerp(LSnor, 0.15)
- end
- RH.C0 = RH.C0:Lerp(RHnor, 0.15)
- LH.C0 = LH.C0:Lerp(LHnor, 0.15)
- if not(mode.Value == "radio") then
- RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(0, 0, math.sin(sine / 5)), 0.1) - Vector3.new(0, rootj.C0.Position.Y / 20, 0)
- LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(0, 0, math.sin(sine / 5)), 0.1) - Vector3.new(0, rootj.C0.Position.Y / 20, 0)
- end
- if mode.Value == "radio" then
- RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(0.3, 0, 0), 0.15)
- LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(0.3, 0, 0), 0.15)
- end
- RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(0, 0, math.sin(sine / 5)), 0.1) - Vector3.new(0, rootj.C0.Position.Y / 20, 0)
- -- legs
- LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(0, 0, math.sin(sine / 5)), 0.1) - Vector3.new(0, rootj.C0.Position.Y / 20, 0)
- elseif animpose == "Jumping" and normalanim then
- rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.Angles(-0.5, 0, 0), 0.15)
- RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.3, 0, 0), 0.14)
- LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.3, 0, 0), 0.14)
- RH.C0 = RH.C0:Lerp(RHnor, 0.15)
- LH.C0 = LH.C0:Lerp(LHnor, 0.15)
- elseif animpose == "Falling" and normalanim then
- rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.Angles(0.5, 0, 0), 0.15)
- RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.6, 0, 0), 0.14)
- LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.6, 0, 0), 0.14)
- RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(-0.3, 0, 0), 0.10)
- LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(-0.3, 0, 0), 0.10)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement