script.Parent = workspace
local ignorelist = {}
for i, wha in pairs(workspace:GetDescendants()) do
if wha:IsA("Model") and wha:FindFirstChildWhichIsA("Humanoid") then
table.insert(ignorelist,wha)
end
end
workspace.DescendantAdded:Connect(function(wha)
if wha:IsA("Model") and wha:FindFirstChildWhichIsA("Humanoid") then
table.insert(ignorelist,wha)
end
end)
local dmgdb = false
local e = Instance.new("RemoteEvent",script)
local char = Instance.new("Model" , script)
char.Name = "maurice"
local part = Instance.new("Seat",char)
part.Name = "maurice"
part.Size = Vector3.new(3.082, 3.25, 3.477) * 0.5
part.CFrame = owner.Character.Head.CFrame * CFrame.new(0,6,-4)
part.Anchored = true
local hum = Instance.new("Humanoid")
hum.Parent = char
hum.Name = "Humanoid"
hum.RequiresNeck = false
hum.DisplayName = "maurice"
hum.MaxHealth = 350
hum.Health = 350
hum.BreakJointsOnDeath = false
local m = Instance.new("SpecialMesh",part)
m.MeshId = "rbxassetid://10889066803"
m.TextureId = "rbxassetid://10889107857"
m.Scale = Vector3.new(1,1,1) * 0.5
m.VertexColor = Vector3.new(0.5,0.5,0.5)
local highlight = Instance.new("Highlight",char)
highlight.Adornee = part
highlight.DepthMode = "AlwaysOnTop"
highlight.FillColor = Color3.fromRGB(50,50,50)
highlight.FillTransparency = 0
highlight.OutlineColor = Color3.fromRGB(230,230,230)
highlight.OutlineTransparency = 0.1
local spawn = Instance.new("Part",script)
spawn.Size = Vector3.new(1024,4,4)
spawn.Shape = "Cylinder"
spawn.CanCollide = false
spawn.Color = Color3.fromRGB(245, 237, 2)
spawn.CFrame = part.CFrame * CFrame.Angles(0,0,math.rad(90))
spawn.Position = part.Position
game:GetService("Debris"):AddItem(spawn,1)
spawn.Material = "Neon"
spawn.Anchored = true
local tweenService = game:GetService("TweenService")
local tweenInfo = TweenInfo.new(1.2,Enum.EasingStyle.Sine,Enum.EasingDirection.Out)
local goal = {}
goal.Size = Vector3.new(3.082, 3.25, 3.477) * 1.25
local tween = tweenService:Create(part, tweenInfo, goal)
tween:Play()
local goal = {}
goal.Scale = Vector3.new(1,1,1) * 1.25
local tween = tweenService:Create(m, tweenInfo, goal)
tween:Play()
local tweenInfo = TweenInfo.new(1.4,Enum.EasingStyle.Sine,Enum.EasingDirection.Out)
local goal = {}
goal.FillTransparency = 0.8
local tween = tweenService:Create(highlight, tweenInfo, goal)
tween:Play()
wait(0.6)
local tweenInfo = TweenInfo.new(0.4,Enum.EasingStyle.Back,Enum.EasingDirection.In)
local goal = {}
goal.Size = Vector3.new(1024,0,0)
local tween = tweenService:Create(spawn, tweenInfo, goal)
tween:Play()
tween.Completed:Wait()
highlight.DepthMode = "Occluded"
local dead = false
local lasthealth = hum.Health
local speed = (0.0007/16) * hum.WalkSpeed
hum:GetPropertyChangedSignal("WalkSpeed"):Connect(function()
speed = (0.007/16) * hum.WalkSpeed
end)
hum.HealthChanged:Connect(function()
if hum.Health <= 0 and not dead then
dead = true
local params = RaycastParams.new()
params.FilterDescendantsInstances = {ignorelist}
params.FilterType = Enum.RaycastFilterType.Blacklist
local res = workspace:Raycast(part.Position, Vector3.new(0,-50000,0),params)
if res then
local tweenService = game:GetService("TweenService")
local dist = (part.Position - res.Position).Magnitude
local tweenInfo = TweenInfo.new((part.Position - res.Position).Magnitude * 0.01,Enum.EasingStyle.Sine,Enum.EasingDirection.Out)
local goal = {}
goal.CFrame = CFrame.new(res.Position) * CFrame.Angles(part.CFrame:ToEulerAnglesXYZ()) * CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5)))
local tween = tweenService:Create(part, tweenInfo, goal)
tween:Play()
if part:FindFirstChild("SeatWeld") then
part:FindFirstChild("SeatWeld"):Destroy()
end
part.Disabled = true
tween.Completed:Wait()
part.Parent = workspace
highlight.Parent = script
highlight.Adornee = part
local flingpar = Instance.new("Part",script)
flingpar.Size = Vector3.new(0.6,10,10)
flingpar.Anchored = true
flingpar.Shape = "Cylinder"
flingpar.Transparency = 0.6
local x,y,z = part.CFrame:ToEulerAnglesXYZ()
flingpar.CFrame = CFrame.new(part.Position) * CFrame.Angles(0,y,math.rad(90))
flingpar.Position = part.Position
flingpar.Velocity = Vector3.new(0,180 + dist * 3,0)
part.Velocity = Vector3.new(0,230 + dist * 3,0)
game:GetService("Debris"):AddItem(flingpar,0.2)
local tweenInfo = TweenInfo.new(0.2,Enum.EasingStyle.Sine,Enum.EasingDirection.Out)
local goal = {}
goal.Size = Vector3.new(0.2,60 + dist * 2,60 + dist * 2)
goal.Transparency = 1
local tween = tweenService:Create(flingpar, tweenInfo, goal)
tween:Play()
local s = Instance.new("Sound",flingpar)
s.PlayOnRemove = true
s.Volume = 2
s.SoundId = "rbxassetid://5532556720"
repeat
task.wait()
until flingpar.Parent ~= script
part.Velocity = Vector3.new(0,0,0)
e:FireClient(owner)
task.wait()
highlight.FillTransparency = 0.8
highlight.FillColor = Color3.fromRGB(50,50,50)
script:Destroy()
end
elseif hum.Health > 0 and not dead then
local dmg = (lasthealth - hum.Health) * 0.01
lasthealth = hum.Health
highlight.FillTransparency = 0.6
highlight.FillColor = Color3.fromRGB(150,50,50)
dmgdb = true
for i = 1,3 do
part.CFrame = CFrame.new(part.Position) * CFrame.Angles(part.CFrame:ToEulerAnglesXYZ()) * CFrame.Angles(math.rad(math.random(-20,20) + dmg),math.rad(math.random(-20,20) + dmg),math.rad(math.random(-20,20) + dmg))
wait(0.1)
end
highlight.FillTransparency = 0.8
highlight.FillColor = Color3.fromRGB(50,50,50)
dmgdb = false
end
end)
local object = Instance.new("ObjectValue", owner.PlayerGui)
object.Value = part
object.Name = "part"
local object = Instance.new("ObjectValue", owner.PlayerGui)
object.Value = e
object.Name = "e"
e.OnServerEvent:Connect(function(_,what,pos,res)
if not dead then
if not dmgdb then
pcall(function()
local lookvector = nil
if what:FindFirstAncestorWhichIsA("Model") and what:FindFirstAncestorWhichIsA("Model").PrimaryPart:GetNetworkOwner() ~= nil then
local who = what:FindFirstAncestorWhichIsA("Model").PrimaryPart:GetNetworkOwner()
lookvector = CFrame.new(part.Position,pos + what.Velocity * who:GetNetworkPing())
else
lookvector = CFrame.new(part.Position,pos + what.Velocity)
end
local x,y,z = lookvector:ToEulerAnglesXYZ()
part.CFrame = part.CFrame:Lerp(CFrame.new(part.Position) * CFrame.Angles(x,y,z),0.5)
local c = (part.CFrame:Lerp(CFrame.new(Vector3.new(pos.x,res.y + part.Size.Magnitude * 1.5,pos.z)),speed)).Position
part.CFrame = part.CFrame:Lerp(CFrame.new(c.x,res.y + part.Size.Magnitude * 1.5,c.z) * CFrame.Angles(part.CFrame:ToEulerAnglesXYZ()), 0.03)
part.CFrame = part.CFrame:Lerp(CFrame.new(Vector3.new(pos.x,res.y + part.Size.Magnitude * 1.5,pos.z)) * CFrame.Angles(part.CFrame:ToEulerAnglesXYZ()),speed)
end)
end
end
end)
NLS([[
e = owner.PlayerGui.e.Value
e.OnClientEvent:Connect(function()
script:Destroy()
end)
local part = owner.PlayerGui.part.Value
local function findNearestTorso(pos)
local list = game.Workspace:GetChildren()
local torso = nil
local dist = 500
local temp = nil
local human = nil
local temp2 = nil
for x = 1, #list do
temp2 = list[x]
if (temp2.className == "Model") and (temp2 ~= model) then
temp = temp2:findFirstChild("Head")
human = temp2:findFirstChild("Humanoid")
if (temp ~= nil) and (human ~= nil) and (human.Health > 0) and (temp2 ~= part:FindFirstAncestorWhichIsA("Model")) then
if part.Occupant == nil or (part.Occupant and part.Occupant:FindFirstAncestorWhichIsA("Model") and part.Occupant:FindFirstAncestorWhichIsA("Model") ~= temp2) then
if (temp.Position - pos).magnitude < dist then
local raycastParams = RaycastParams.new()
raycastParams.FilterType = Enum.RaycastFilterType.Blacklist
if part.Occupant then
raycastParams.FilterDescendantsInstances = {temp2,part,part.Occupant:FindFirstAncestorWhichIsA("Model")}
else
raycastParams.FilterDescendantsInstances = {temp2,part}
end
raycastParams.IgnoreWater = true
local result = workspace:Raycast(part.Position, CFrame.new(part.Position,temp.Position).lookVector * (part.Position - temp.Position).Magnitude, raycastParams)
if not result then
if part.Occupant then
if human ~= part.Occupant then
torso = temp
mod = temp2
dist = (temp.Position - pos).magnitude
end
else
torso = temp
mod = temp2
dist = (temp.Position - pos).magnitude
end
end
end
end
end
end
end
return torso
end
game:GetService("RunService").RenderStepped:Connect(function(dt)
local torso = findNearestTorso(part.Position)
if torso ~= nil then
local res = workspace:Raycast(part.Position, Vector3.new(0,-50000,0))
if res then
e:FireServer(torso,torso.Position,res.Position)
end
end
end)
]],owner.PlayerGui)
local isevil = math.random(1,100)
game:GetService("Players").PlayerAdded:Connect(function(plr)
plr.Chatted:Connect(function(msg)
if msg:lower() == "maurice is fat" and isevil > 10 then
local billboard = Instance.new("BillboardGui", part)
billboard.Size = UDim2.new(8,0,8,0)
local frame = Instance.new("ImageLabel", billboard)
frame.BackgroundTransparency = 1
frame.ImageTransparency = 0
frame.Image = "http://www.roblox.com/asset/?id=2763450503"
frame.Size = UDim2.new(1,0,1,0)
frame.ImageColor3 = Color3.fromRGB(255,30,30)
m.VertexColor = Vector3.new(1,0.5,0.5)
while wait(2) do
for i = 1,3 do
local saw = Instance.new("Part",script)
saw.CanCollide = false
saw.Size = Vector3.new(18.223, 1.718, 18.274) * 0.2
saw.CFrame = part.CFrame * CFrame.new(0,-1,-0.8)
local bv = Instance.new("BodyVelocity",saw)
bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
bv.Velocity = part.CFrame.lookVector * 100
saw:ApplyAngularImpulse(saw.CFrame.UpVector * 100)
local m2 = Instance.new("SpecialMesh",saw)
m2.MeshId = "rbxassetid://10523436342"
m2.TextureId = "rbxassetid://10523481583"
m2.Scale = Vector3.new(1,1,1) * 0.2
game:GetService("Debris"):AddItem(saw,3)
saw.Touched:Connect(function(wha)
if wha:FindFirstAncestorWhichIsA("Model") and wha:FindFirstAncestorWhichIsA("Model"):FindFirstChildWhichIsA("Humanoid") and wha ~= part then
wha:FindFirstAncestorWhichIsA("Model"):FindFirstChildWhichIsA("Humanoid").Health -= 5
saw:Destroy()
end
end)
wait(0.1)
saw.CanCollide = true
end
end
end
end)
end)
for i,plr in pairs(game:GetService("Players"):GetPlayers()) do
plr.Chatted:Connect(function(msg)
if msg:lower() == "maurice is fat" and isevil > 10 then
local billboard = Instance.new("BillboardGui", part)
billboard.Size = UDim2.new(8,0,8,0)
local frame = Instance.new("ImageLabel", billboard)
frame.BackgroundTransparency = 1
frame.ImageTransparency = 0
frame.Image = "http://www.roblox.com/asset/?id=2763450503"
frame.Size = UDim2.new(1,0,1,0)
frame.ImageColor3 = Color3.fromRGB(255,30,30)
m.VertexColor = Vector3.new(1,0.5,0.5)
while wait(2) do
for i = 1,3 do
local saw = Instance.new("Part",script)
saw.CanCollide = false
saw.Size = Vector3.new(18.223, 1.718, 18.274) * 0.2
saw.CFrame = part.CFrame * CFrame.new(0,-1,-0.8)
local bv = Instance.new("BodyVelocity",saw)
bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
bv.Velocity = part.CFrame.lookVector * 100
saw:ApplyAngularImpulse(saw.CFrame.UpVector * 100)
local m2 = Instance.new("SpecialMesh",saw)
m2.MeshId = "rbxassetid://10523436342"
m2.TextureId = "rbxassetid://10523481583"
m2.Scale = Vector3.new(1,1,1) * 0.2
game:GetService("Debris"):AddItem(saw,3)
saw.Touched:Connect(function(wha)
if wha:FindFirstAncestorWhichIsA("Model") and wha:FindFirstAncestorWhichIsA("Model"):FindFirstChildWhichIsA("Humanoid") and wha ~= part then
wha:FindFirstAncestorWhichIsA("Model"):FindFirstChildWhichIsA("Humanoid").Health -= 5
saw:Destroy()
end
end)
wait(0.1)
saw.CanCollide = true
end
end
end
end)
end
if isevil <= 10 then
local billboard = Instance.new("BillboardGui", part)
billboard.Size = UDim2.new(8,0,8,0)
local frame = Instance.new("ImageLabel", billboard)
frame.BackgroundTransparency = 1
frame.ImageTransparency = 0
frame.Image = "http://www.roblox.com/asset/?id=2763450503"
frame.Size = UDim2.new(1,0,1,0)
frame.ImageColor3 = Color3.fromRGB(255,30,30)
m.VertexColor = Vector3.new(1,0.5,0.5)
while wait(3) do
for i = 1,6 do
local saw = Instance.new("Part",script)
saw.CanCollide = false
saw.Size = Vector3.new(18.223, 1.718 * 4, 18.274) * 0.2
saw.CFrame = part.CFrame * CFrame.new(0,-1,-0.4)
local bv = Instance.new("BodyVelocity",saw)
bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
bv.Velocity = part.CFrame.lookVector * 50
saw:ApplyAngularImpulse(saw.CFrame.UpVector * 100)
local m2 = Instance.new("SpecialMesh",saw)
m2.MeshId = "rbxassetid://10523436342"
m2.TextureId = "rbxassetid://10523481583"
m2.Scale = Vector3.new(1,1,1) * 0.2
game:GetService("Debris"):AddItem(saw,3)
saw.Touched:Connect(function(wha)
if wha:FindFirstAncestorWhichIsA("Model") and wha:FindFirstAncestorWhichIsA("Model"):FindFirstChildWhichIsA("Humanoid") and wha ~= part then
wha:FindFirstAncestorWhichIsA("Model"):FindFirstChildWhichIsA("Humanoid").Health -= 15
saw:Destroy()
end
end)
wait(0.1)
saw.CanCollide = true
wait(0.2)
end
end
end