Advertisement
TheUnknownDiscord

maurice

Oct 30th, 2022 (edited)
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.02 KB | None | 0 0
  1. script.Parent = workspace
  2. local ignorelist = {}
  3. for i, wha in pairs(workspace:GetDescendants()) do
  4. if wha:IsA("Model") and wha:FindFirstChildWhichIsA("Humanoid") then
  5. table.insert(ignorelist,wha)
  6. end
  7. end
  8. workspace.DescendantAdded:Connect(function(wha)
  9. if wha:IsA("Model") and wha:FindFirstChildWhichIsA("Humanoid") then
  10. table.insert(ignorelist,wha)
  11. end
  12. end)
  13. local dmgdb = false
  14. local e = Instance.new("RemoteEvent",script)
  15. local char = Instance.new("Model" , script)
  16. char.Name = "maurice"
  17. local part = Instance.new("Seat",char)
  18. part.Name = "maurice"
  19. part.Size = Vector3.new(3.082, 3.25, 3.477) * 0.5
  20. part.CFrame = owner.Character.Head.CFrame * CFrame.new(0,6,-4)
  21. part.Anchored = true
  22. local hum = Instance.new("Humanoid")
  23. hum.Parent = char
  24. hum.Name = "Humanoid"
  25. hum.RequiresNeck = false
  26. hum.DisplayName = "maurice"
  27. hum.MaxHealth = 350
  28. hum.Health = 350
  29. hum.BreakJointsOnDeath = false
  30. local m = Instance.new("SpecialMesh",part)
  31. m.MeshId = "rbxassetid://10889066803"
  32. m.TextureId = "rbxassetid://10889107857"
  33. m.Scale = Vector3.new(1,1,1) * 0.5
  34. m.VertexColor = Vector3.new(0.5,0.5,0.5)
  35. local highlight = Instance.new("Highlight",char)
  36. highlight.Adornee = part
  37. highlight.DepthMode = "AlwaysOnTop"
  38. highlight.FillColor = Color3.fromRGB(50,50,50)
  39. highlight.FillTransparency = 0
  40. highlight.OutlineColor = Color3.fromRGB(230,230,230)
  41. highlight.OutlineTransparency = 0.1
  42. local spawn = Instance.new("Part",script)
  43. spawn.Size = Vector3.new(1024,4,4)
  44. spawn.Shape = "Cylinder"
  45. spawn.CanCollide = false
  46. spawn.Color = Color3.fromRGB(245, 237, 2)
  47. spawn.CFrame = part.CFrame * CFrame.Angles(0,0,math.rad(90))
  48. spawn.Position = part.Position
  49. game:GetService("Debris"):AddItem(spawn,1)
  50. spawn.Material = "Neon"
  51. spawn.Anchored = true
  52. local tweenService = game:GetService("TweenService")
  53. local tweenInfo = TweenInfo.new(1.2,Enum.EasingStyle.Sine,Enum.EasingDirection.Out)
  54. local goal = {}
  55. goal.Size = Vector3.new(3.082, 3.25, 3.477) * 1.25
  56. local tween = tweenService:Create(part, tweenInfo, goal)
  57. tween:Play()
  58. local goal = {}
  59. goal.Scale = Vector3.new(1,1,1) * 1.25
  60. local tween = tweenService:Create(m, tweenInfo, goal)
  61. tween:Play()
  62. local tweenInfo = TweenInfo.new(1.4,Enum.EasingStyle.Sine,Enum.EasingDirection.Out)
  63. local goal = {}
  64. goal.FillTransparency = 0.8
  65. local tween = tweenService:Create(highlight, tweenInfo, goal)
  66. tween:Play()
  67. wait(0.6)
  68. local tweenInfo = TweenInfo.new(0.4,Enum.EasingStyle.Back,Enum.EasingDirection.In)
  69. local goal = {}
  70. goal.Size = Vector3.new(1024,0,0)
  71. local tween = tweenService:Create(spawn, tweenInfo, goal)
  72. tween:Play()
  73. tween.Completed:Wait()
  74. highlight.DepthMode = "Occluded"
  75. local dead = false
  76. local lasthealth = hum.Health
  77. local speed = (0.0007/16) * hum.WalkSpeed
  78. hum:GetPropertyChangedSignal("WalkSpeed"):Connect(function()
  79. speed = (0.007/16) * hum.WalkSpeed
  80. end)
  81. hum.HealthChanged:Connect(function()
  82. if hum.Health <= 0 and not dead then
  83. dead = true
  84. local params = RaycastParams.new()
  85. params.FilterDescendantsInstances = {ignorelist}
  86. params.FilterType = Enum.RaycastFilterType.Blacklist
  87. local res = workspace:Raycast(part.Position, Vector3.new(0,-50000,0),params)
  88. if res then
  89. local tweenService = game:GetService("TweenService")
  90. local dist = (part.Position - res.Position).Magnitude
  91. local tweenInfo = TweenInfo.new((part.Position - res.Position).Magnitude * 0.01,Enum.EasingStyle.Sine,Enum.EasingDirection.Out)
  92. local goal = {}
  93. 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)))
  94. local tween = tweenService:Create(part, tweenInfo, goal)
  95. tween:Play()
  96. if part:FindFirstChild("SeatWeld") then
  97. part:FindFirstChild("SeatWeld"):Destroy()
  98. end
  99. part.Disabled = true
  100. tween.Completed:Wait()
  101. part.Parent = workspace
  102. highlight.Parent = script
  103. highlight.Adornee = part
  104. local flingpar = Instance.new("Part",script)
  105. flingpar.Size = Vector3.new(0.6,10,10)
  106. flingpar.Anchored = true
  107. flingpar.Shape = "Cylinder"
  108. flingpar.Transparency = 0.6
  109. local x,y,z = part.CFrame:ToEulerAnglesXYZ()
  110. flingpar.CFrame = CFrame.new(part.Position) * CFrame.Angles(0,y,math.rad(90))
  111. flingpar.Position = part.Position
  112. flingpar.Velocity = Vector3.new(0,180 + dist * 3,0)
  113. part.Velocity = Vector3.new(0,230 + dist * 3,0)
  114. game:GetService("Debris"):AddItem(flingpar,0.2)
  115. local tweenInfo = TweenInfo.new(0.2,Enum.EasingStyle.Sine,Enum.EasingDirection.Out)
  116. local goal = {}
  117. goal.Size = Vector3.new(0.2,60 + dist * 2,60 + dist * 2)
  118. goal.Transparency = 1
  119. local tween = tweenService:Create(flingpar, tweenInfo, goal)
  120. tween:Play()
  121. local s = Instance.new("Sound",flingpar)
  122. s.PlayOnRemove = true
  123. s.Volume = 2
  124. s.SoundId = "rbxassetid://5532556720"
  125. repeat
  126. task.wait()
  127. until flingpar.Parent ~= script
  128. part.Velocity = Vector3.new(0,0,0)
  129. e:FireClient(owner)
  130. task.wait()
  131. highlight.FillTransparency = 0.8
  132. highlight.FillColor = Color3.fromRGB(50,50,50)
  133. script:Destroy()
  134. end
  135. elseif hum.Health > 0 and not dead then
  136. local dmg = (lasthealth - hum.Health) * 0.01
  137. lasthealth = hum.Health
  138. highlight.FillTransparency = 0.6
  139. highlight.FillColor = Color3.fromRGB(150,50,50)
  140. dmgdb = true
  141. for i = 1,3 do
  142. 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))
  143. wait(0.1)
  144. end
  145. highlight.FillTransparency = 0.8
  146. highlight.FillColor = Color3.fromRGB(50,50,50)
  147. dmgdb = false
  148. end
  149. end)
  150. local object = Instance.new("ObjectValue", owner.PlayerGui)
  151. object.Value = part
  152. object.Name = "part"
  153. local object = Instance.new("ObjectValue", owner.PlayerGui)
  154. object.Value = e
  155. object.Name = "e"
  156. e.OnServerEvent:Connect(function(_,what,pos,res)
  157. if not dead then
  158. if not dmgdb then
  159. pcall(function()
  160. local lookvector = nil
  161. if what:FindFirstAncestorWhichIsA("Model") and what:FindFirstAncestorWhichIsA("Model").PrimaryPart:GetNetworkOwner() ~= nil then
  162. local who = what:FindFirstAncestorWhichIsA("Model").PrimaryPart:GetNetworkOwner()
  163. lookvector = CFrame.new(part.Position,pos + what.Velocity * who:GetNetworkPing())
  164. else
  165. lookvector = CFrame.new(part.Position,pos + what.Velocity)
  166. end
  167. local x,y,z = lookvector:ToEulerAnglesXYZ()
  168. part.CFrame = part.CFrame:Lerp(CFrame.new(part.Position) * CFrame.Angles(x,y,z),0.5)
  169. local c = (part.CFrame:Lerp(CFrame.new(Vector3.new(pos.x,res.y + part.Size.Magnitude * 1.5,pos.z)),speed)).Position
  170. 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)
  171. 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)
  172. end)
  173. end
  174. end
  175. end)
  176. NLS([[
  177. e = owner.PlayerGui.e.Value
  178. e.OnClientEvent:Connect(function()
  179. script:Destroy()
  180. end)
  181. local part = owner.PlayerGui.part.Value
  182. local function findNearestTorso(pos)
  183. local list = game.Workspace:GetChildren()
  184. local torso = nil
  185. local dist = 500
  186. local temp = nil
  187. local human = nil
  188. local temp2 = nil
  189. for x = 1, #list do
  190. temp2 = list[x]
  191. if (temp2.className == "Model") and (temp2 ~= model) then
  192. temp = temp2:findFirstChild("Head")
  193. human = temp2:findFirstChild("Humanoid")
  194. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) and (temp2 ~= part:FindFirstAncestorWhichIsA("Model")) then
  195. if part.Occupant == nil or (part.Occupant and part.Occupant:FindFirstAncestorWhichIsA("Model") and part.Occupant:FindFirstAncestorWhichIsA("Model") ~= temp2) then
  196. if (temp.Position - pos).magnitude < dist then
  197. local raycastParams = RaycastParams.new()
  198. raycastParams.FilterType = Enum.RaycastFilterType.Blacklist
  199. if part.Occupant then
  200. raycastParams.FilterDescendantsInstances = {temp2,part,part.Occupant:FindFirstAncestorWhichIsA("Model")}
  201. else
  202. raycastParams.FilterDescendantsInstances = {temp2,part}
  203. end
  204. raycastParams.IgnoreWater = true
  205. local result = workspace:Raycast(part.Position, CFrame.new(part.Position,temp.Position).lookVector * (part.Position - temp.Position).Magnitude, raycastParams)
  206. if not result then
  207. if part.Occupant then
  208. if human ~= part.Occupant then
  209. torso = temp
  210. mod = temp2
  211. dist = (temp.Position - pos).magnitude
  212. end
  213. else
  214. torso = temp
  215. mod = temp2
  216. dist = (temp.Position - pos).magnitude
  217. end
  218. end
  219. end
  220. end
  221. end
  222. end
  223. end
  224. return torso
  225. end
  226. game:GetService("RunService").RenderStepped:Connect(function(dt)
  227. local torso = findNearestTorso(part.Position)
  228. if torso ~= nil then
  229. local res = workspace:Raycast(part.Position, Vector3.new(0,-50000,0))
  230. if res then
  231. e:FireServer(torso,torso.Position,res.Position)
  232. end
  233. end
  234. end)
  235. ]],owner.PlayerGui)
  236. local isevil = math.random(1,100)
  237. game:GetService("Players").PlayerAdded:Connect(function(plr)
  238. plr.Chatted:Connect(function(msg)
  239. if msg:lower() == "maurice is fat" and isevil > 10 then
  240. local billboard = Instance.new("BillboardGui", part)
  241. billboard.Size = UDim2.new(8,0,8,0)
  242. local frame = Instance.new("ImageLabel", billboard)
  243. frame.BackgroundTransparency = 1
  244. frame.ImageTransparency = 0
  245. frame.Image = "http://www.roblox.com/asset/?id=2763450503"
  246. frame.Size = UDim2.new(1,0,1,0)
  247. frame.ImageColor3 = Color3.fromRGB(255,30,30)
  248. m.VertexColor = Vector3.new(1,0.5,0.5)
  249. while wait(2) do
  250. for i = 1,3 do
  251. local saw = Instance.new("Part",script)
  252. saw.CanCollide = false
  253. saw.Size = Vector3.new(18.223, 1.718, 18.274) * 0.2
  254. saw.CFrame = part.CFrame * CFrame.new(0,-1,-0.8)
  255. local bv = Instance.new("BodyVelocity",saw)
  256. bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  257. bv.Velocity = part.CFrame.lookVector * 100
  258. saw:ApplyAngularImpulse(saw.CFrame.UpVector * 100)
  259. local m2 = Instance.new("SpecialMesh",saw)
  260. m2.MeshId = "rbxassetid://10523436342"
  261. m2.TextureId = "rbxassetid://10523481583"
  262. m2.Scale = Vector3.new(1,1,1) * 0.2
  263. game:GetService("Debris"):AddItem(saw,3)
  264. saw.Touched:Connect(function(wha)
  265. if wha:FindFirstAncestorWhichIsA("Model") and wha:FindFirstAncestorWhichIsA("Model"):FindFirstChildWhichIsA("Humanoid") and wha ~= part then
  266. wha:FindFirstAncestorWhichIsA("Model"):FindFirstChildWhichIsA("Humanoid").Health -= 5
  267. saw:Destroy()
  268. end
  269. end)
  270. wait(0.1)
  271. saw.CanCollide = true
  272. end
  273. end
  274. end
  275. end)
  276. end)
  277. for i,plr in pairs(game:GetService("Players"):GetPlayers()) do
  278. plr.Chatted:Connect(function(msg)
  279. if msg:lower() == "maurice is fat" and isevil > 10 then
  280. local billboard = Instance.new("BillboardGui", part)
  281. billboard.Size = UDim2.new(8,0,8,0)
  282. local frame = Instance.new("ImageLabel", billboard)
  283. frame.BackgroundTransparency = 1
  284. frame.ImageTransparency = 0
  285. frame.Image = "http://www.roblox.com/asset/?id=2763450503"
  286. frame.Size = UDim2.new(1,0,1,0)
  287. frame.ImageColor3 = Color3.fromRGB(255,30,30)
  288. m.VertexColor = Vector3.new(1,0.5,0.5)
  289. while wait(2) do
  290. for i = 1,3 do
  291. local saw = Instance.new("Part",script)
  292. saw.CanCollide = false
  293. saw.Size = Vector3.new(18.223, 1.718, 18.274) * 0.2
  294. saw.CFrame = part.CFrame * CFrame.new(0,-1,-0.8)
  295. local bv = Instance.new("BodyVelocity",saw)
  296. bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  297. bv.Velocity = part.CFrame.lookVector * 100
  298. saw:ApplyAngularImpulse(saw.CFrame.UpVector * 100)
  299. local m2 = Instance.new("SpecialMesh",saw)
  300. m2.MeshId = "rbxassetid://10523436342"
  301. m2.TextureId = "rbxassetid://10523481583"
  302. m2.Scale = Vector3.new(1,1,1) * 0.2
  303. game:GetService("Debris"):AddItem(saw,3)
  304. saw.Touched:Connect(function(wha)
  305. if wha:FindFirstAncestorWhichIsA("Model") and wha:FindFirstAncestorWhichIsA("Model"):FindFirstChildWhichIsA("Humanoid") and wha ~= part then
  306. wha:FindFirstAncestorWhichIsA("Model"):FindFirstChildWhichIsA("Humanoid").Health -= 5
  307. saw:Destroy()
  308. end
  309. end)
  310. wait(0.1)
  311. saw.CanCollide = true
  312. end
  313. end
  314. end
  315. end)
  316. end
  317. if isevil <= 10 then
  318. local billboard = Instance.new("BillboardGui", part)
  319. billboard.Size = UDim2.new(8,0,8,0)
  320. local frame = Instance.new("ImageLabel", billboard)
  321. frame.BackgroundTransparency = 1
  322. frame.ImageTransparency = 0
  323. frame.Image = "http://www.roblox.com/asset/?id=2763450503"
  324. frame.Size = UDim2.new(1,0,1,0)
  325. frame.ImageColor3 = Color3.fromRGB(255,30,30)
  326. m.VertexColor = Vector3.new(1,0.5,0.5)
  327. while wait(3) do
  328. for i = 1,6 do
  329. local saw = Instance.new("Part",script)
  330. saw.CanCollide = false
  331. saw.Size = Vector3.new(18.223, 1.718 * 4, 18.274) * 0.2
  332. saw.CFrame = part.CFrame * CFrame.new(0,-1,-0.4)
  333. local bv = Instance.new("BodyVelocity",saw)
  334. bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  335. bv.Velocity = part.CFrame.lookVector * 50
  336. saw:ApplyAngularImpulse(saw.CFrame.UpVector * 100)
  337. local m2 = Instance.new("SpecialMesh",saw)
  338. m2.MeshId = "rbxassetid://10523436342"
  339. m2.TextureId = "rbxassetid://10523481583"
  340. m2.Scale = Vector3.new(1,1,1) * 0.2
  341. game:GetService("Debris"):AddItem(saw,3)
  342. saw.Touched:Connect(function(wha)
  343. if wha:FindFirstAncestorWhichIsA("Model") and wha:FindFirstAncestorWhichIsA("Model"):FindFirstChildWhichIsA("Humanoid") and wha ~= part then
  344. wha:FindFirstAncestorWhichIsA("Model"):FindFirstChildWhichIsA("Humanoid").Health -= 15
  345. saw:Destroy()
  346. end
  347. end)
  348. wait(0.1)
  349. saw.CanCollide = true
  350. wait(0.2)
  351. end
  352. end
  353. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement