Advertisement
Gamerulexerul

Untitled

Mar 23rd, 2018
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.74 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Model0 = Instance.new("Model")
  20. Model1 = Instance.new("Model")
  21. Part2 = Instance.new("Part")
  22. Part3 = Instance.new("Part")
  23. SpecialMesh4 = Instance.new("SpecialMesh")
  24. Decal5 = Instance.new("Decal")
  25. Weld6 = Instance.new("Weld")
  26. Weld7 = Instance.new("Weld")
  27. Part8 = Instance.new("Part")
  28. Part9 = Instance.new("Part")
  29. Part10 = Instance.new("Part")
  30. Part11 = Instance.new("Part")
  31. Motor6D12 = Instance.new("Motor6D")
  32. Motor6D13 = Instance.new("Motor6D")
  33. Motor6D14 = Instance.new("Motor6D")
  34. Motor6D15 = Instance.new("Motor6D")
  35. Script16 = Instance.new("Script")
  36. Tool17 = Instance.new("Tool")
  37. Script18 = Instance.new("Script")
  38. Script19 = Instance.new("Script")
  39. Model20 = Instance.new("Model")
  40. NumberValue21 = Instance.new("NumberValue")
  41. ObjectValue22 = Instance.new("ObjectValue")
  42. NumberValue23 = Instance.new("NumberValue")
  43. Sound24 = Instance.new("Sound")
  44. Script25 = Instance.new("Script")
  45. BoolValue26 = Instance.new("BoolValue")
  46. Vector3Value27 = Instance.new("Vector3Value")
  47. Sound28 = Instance.new("Sound")
  48. Part29 = Instance.new("Part")
  49. SpecialMesh30 = Instance.new("SpecialMesh")
  50. Part31 = Instance.new("Part")
  51. Vector3Value32 = Instance.new("Vector3Value")
  52. Script33 = Instance.new("Script")
  53. Script34 = Instance.new("Script")
  54. Script35 = Instance.new("Script")
  55. LocalScript36 = Instance.new("LocalScript")
  56. ObjectValue37 = Instance.new("ObjectValue")
  57. Script38 = Instance.new("Script")
  58. Pants39 = Instance.new("Pants")
  59. Accessory40 = Instance.new("Accessory")
  60. Part41 = Instance.new("Part")
  61. SpecialMesh42 = Instance.new("SpecialMesh")
  62. Attachment43 = Instance.new("Attachment")
  63. Vector3Value44 = Instance.new("Vector3Value")
  64. CharacterMesh45 = Instance.new("CharacterMesh")
  65. Humanoid46 = Instance.new("Humanoid")
  66. Shirt47 = Instance.new("Shirt")
  67. CharacterMesh48 = Instance.new("CharacterMesh")
  68. CharacterMesh49 = Instance.new("CharacterMesh")
  69. CharacterMesh50 = Instance.new("CharacterMesh")
  70. CharacterMesh51 = Instance.new("CharacterMesh")
  71. Hat52 = Instance.new("Hat")
  72. Part53 = Instance.new("Part")
  73. SpecialMesh54 = Instance.new("SpecialMesh")
  74. Model0.Name = "For ObliviousHD"
  75. Model0.Parent = mas
  76. Model1.Name = "Bacon Terrorist"
  77. Model1.Parent = Model0
  78. Part2.Name = "Left Arm"
  79. Part2.Parent = Model1
  80. Part2.BrickColor = BrickColor.new("Institutional white")
  81. Part2.Rotation = Vector3.new(-3.74000001, 89.6800003, 3.78999996)
  82. Part2.FormFactor = Enum.FormFactor.Symmetric
  83. Part2.Size = Vector3.new(1, 2, 1)
  84. Part2.CFrame = CFrame.new(-87.1979218, 2.99967957, 18.3688717, 0.00559125142, -0.000370751834, 0.999984384, 0.0010222781, 0.999999404, 0.000365041546, -0.999983907, 0.00102022092, 0.00559162674)
  85. Part2.Color = Color3.new(0.972549, 0.972549, 0.972549)
  86. Part2.Position = Vector3.new(-87.1979218, 2.99967957, 18.3688717)
  87. Part2.Orientation = Vector3.new(-0.0199999996, 89.6800003, 0.0599999987)
  88. Part2.Color = Color3.new(0.972549, 0.972549, 0.972549)
  89. Part3.Name = "Head"
  90. Part3.Parent = Model1
  91. Part3.BrickColor = BrickColor.new("Institutional white")
  92. Part3.Transparency = 1
  93. Part3.Rotation = Vector3.new(-3.74000001, 89.6800003, 3.78999996)
  94. Part3.FormFactor = Enum.FormFactor.Symmetric
  95. Part3.Size = Vector3.new(2, 1, 1)
  96. Part3.CFrame = CFrame.new(-87.1901093, 4.50121212, 16.8704262, 0.00559125328, -0.000370751775, 0.999984741, 0.00102227845, 0.999999225, 0.000365041633, -0.999984264, 0.00102022069, 0.00559162814)
  97. Part3.TopSurface = Enum.SurfaceType.Smooth
  98. Part3.Color = Color3.new(0.972549, 0.972549, 0.972549)
  99. Part3.Position = Vector3.new(-87.1901093, 4.50121212, 16.8704262)
  100. Part3.Orientation = Vector3.new(-0.0199999996, 89.6800003, 0.0599999987)
  101. Part3.Color = Color3.new(0.972549, 0.972549, 0.972549)
  102. SpecialMesh4.Parent = Part3
  103. SpecialMesh4.Scale = Vector3.new(1.25, 1.25, 1.25)
  104. SpecialMesh4.Scale = Vector3.new(1.25, 1.25, 1.25)
  105. Decal5.Parent = Part3
  106. Decal5.Texture = "http://www.roblox.com/asset/?id=944488603"
  107. Weld6.Name = "HeadWeld"
  108. Weld6.Parent = Part3
  109. Weld6.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  110. Weld6.C1 = CFrame.new(0, 0.75, 0.0299999993, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  111. Weld6.Part0 = Part3
  112. Weld6.Part1 = Part41
  113. Weld7.Name = "HeadWeld"
  114. Weld7.Parent = Part3
  115. Weld7.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  116. Weld7.C1 = CFrame.new(0, 0.25, 0.25, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  117. Weld7.Part0 = Part3
  118. Weld7.Part1 = Part53
  119. Part8.Name = "Left Leg"
  120. Part8.Parent = Model1
  121. Part8.BrickColor = BrickColor.new("Pastel brown")
  122. Part8.Rotation = Vector3.new(-3.74000001, 89.6800003, 3.78999996)
  123. Part8.FormFactor = Enum.FormFactor.Symmetric
  124. Part8.Size = Vector3.new(1, 2, 1)
  125. Part8.CFrame = CFrame.new(-87.1915894, 1.0007031, 17.366848, 0.00559125142, -0.000370751834, 0.999984384, 0.0010222781, 0.999999404, 0.000365041546, -0.999983907, 0.00102022092, 0.00559162674)
  126. Part8.BottomSurface = Enum.SurfaceType.Smooth
  127. Part8.Color = Color3.new(1, 0.8, 0.6)
  128. Part8.Position = Vector3.new(-87.1915894, 1.0007031, 17.366848)
  129. Part8.Orientation = Vector3.new(-0.0199999996, 89.6800003, 0.0599999987)
  130. Part8.Color = Color3.new(1, 0.8, 0.6)
  131. Part9.Name = "Right Arm"
  132. Part9.Parent = Model1
  133. Part9.BrickColor = BrickColor.new("Institutional white")
  134. Part9.Rotation = Vector3.new(90.0599976, 0.0199999996, -89.6800003)
  135. Part9.FormFactor = Enum.FormFactor.Symmetric
  136. Part9.Size = Vector3.new(1, 2, 1)
  137. Part9.CFrame = CFrame.new(-87.6813126, 3.50256371, 15.3666039, 0.00559125328, 0.999984741, 0.000370751775, 0.00102227845, 0.000365041633, -0.999999225, -0.999984264, 0.00559162814, -0.00102022069)
  138. Part9.BottomSurface = Enum.SurfaceType.Weld
  139. Part9.Color = Color3.new(0.972549, 0.972549, 0.972549)
  140. Part9.Position = Vector3.new(-87.6813126, 3.50256371, 15.3666039)
  141. Part9.Orientation = Vector3.new(89.9300003, 160.029999, 70.3499985)
  142. Part9.Color = Color3.new(0.972549, 0.972549, 0.972549)
  143. Part10.Name = "Right Leg"
  144. Part10.Parent = Model1
  145. Part10.BrickColor = BrickColor.new("Pastel brown")
  146. Part10.Rotation = Vector3.new(-3.74000001, 89.6800003, 3.78999996)
  147. Part10.FormFactor = Enum.FormFactor.Symmetric
  148. Part10.Size = Vector3.new(1, 2, 1)
  149. Part10.CFrame = CFrame.new(-87.185997, 1.00172544, 16.3668633, 0.00559125142, -0.000370751834, 0.999984384, 0.0010222781, 0.999999404, 0.000365041546, -0.999983907, 0.00102022092, 0.00559162674)
  150. Part10.BottomSurface = Enum.SurfaceType.Smooth
  151. Part10.Color = Color3.new(1, 0.8, 0.6)
  152. Part10.Position = Vector3.new(-87.185997, 1.00172544, 16.3668633)
  153. Part10.Orientation = Vector3.new(-0.0199999996, 89.6800003, 0.0599999987)
  154. Part10.Color = Color3.new(1, 0.8, 0.6)
  155. Part11.Name = "Torso"
  156. Part11.Parent = Model1
  157. Part11.BrickColor = BrickColor.new("Institutional white")
  158. Part11.Rotation = Vector3.new(-3.74000001, 89.6800003, 3.78999996)
  159. Part11.FormFactor = Enum.FormFactor.Symmetric
  160. Part11.Size = Vector3.new(2, 2, 1)
  161. Part11.CFrame = CFrame.new(-87.189537, 3.00121307, 16.8688965, 0.00559125142, -0.000370751834, 0.999984384, 0.0010222781, 0.999999404, 0.000365041546, -0.999983907, 0.00102022092, 0.00559162674)
  162. Part11.LeftSurface = Enum.SurfaceType.Weld
  163. Part11.RightSurface = Enum.SurfaceType.Weld
  164. Part11.Color = Color3.new(0.972549, 0.972549, 0.972549)
  165. Part11.Position = Vector3.new(-87.189537, 3.00121307, 16.8688965)
  166. Part11.Orientation = Vector3.new(-0.0199999996, 89.6800003, 0.0599999987)
  167. Part11.Color = Color3.new(0.972549, 0.972549, 0.972549)
  168. Motor6D12.Name = "Left Shoulder"
  169. Motor6D12.Parent = Part11
  170. Motor6D12.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  171. Motor6D12.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  172. Motor6D12.Part0 = Part11
  173. Motor6D12.Part1 = Part2
  174. Motor6D12.MaxVelocity = 0.15000000596046
  175. Motor6D13.Name = "Right Hip"
  176. Motor6D13.Parent = Part11
  177. Motor6D13.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  178. Motor6D13.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  179. Motor6D13.Part0 = Part11
  180. Motor6D13.Part1 = Part10
  181. Motor6D13.MaxVelocity = 0.10000000149012
  182. Motor6D14.Name = "Left Hip"
  183. Motor6D14.Parent = Part11
  184. Motor6D14.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  185. Motor6D14.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  186. Motor6D14.Part0 = Part11
  187. Motor6D14.Part1 = Part8
  188. Motor6D14.MaxVelocity = 0.10000000149012
  189. Motor6D15.Name = "Right Shoulder"
  190. Motor6D15.Parent = Part11
  191. Motor6D15.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  192. Motor6D15.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  193. Motor6D15.MaxVelocity = 0.15000000596046
  194. Script16.Name = "Animate"
  195. Script16.Parent = Model1
  196. table.insert(cors,sandbox(Script16,function()
  197. torso = script.Parent:findFirstChild("Torso")
  198. Motors = {
  199. lh = torso["Left Hip"],
  200. ls = torso["Left Shoulder"],
  201. rh = torso["Right Hip"],
  202. rs = torso["Right Shoulder"]
  203. }
  204. Moves = {Move1 = {["Left Hip"] = .5,["Left Shoulder"] = .5,["Right Hip"] = .5,["Right Shoulder"] = .5},Move2 = {["Left Hip"] = -.5,["Left Shoulder"] = -.5,["Right Hip"] = -.5,["Right Shoulder"] = -.5}}
  205. function Moving()
  206. if torso then
  207. speed = torso.Velocity.magnitude
  208. if speed<1.5 then
  209. return false
  210. else
  211. return true
  212. end
  213. end
  214. end
  215. function IsHoldingTool()
  216. found = false
  217. for i,v in pairs(script.Parent:GetChildren()) do
  218. if v:IsA("Tool") then
  219. found = true
  220. end
  221. end
  222. if found then
  223. return true
  224. else
  225. return false
  226. end
  227. end
  228. while true do wait(.01)
  229. for i,v in pairs(Moves) do
  230. for o,b in pairs(Motors) do
  231. if Moving() then
  232. if b.Name == "Right Shoulder" and IsHoldingTool() then
  233. b:SetDesiredAngle(1.57)
  234. else
  235. b:SetDesiredAngle(v[b.Name])
  236. end
  237. else
  238. b:SetDesiredAngle(0)
  239. end
  240. end
  241. wait(.35)
  242. end
  243. end
  244.  
  245.  
  246. end))
  247. Tool17.Parent = Model1
  248. Script18.Name = "SpotEnemy"
  249. Script18.Parent = Model1
  250. table.insert(cors,sandbox(Script18,function()
  251. function find(pos) --Access torso by find(pos)[1], pos by find(pos)[2]
  252. ps = 75
  253. torso = nil
  254. for i,v in pairs(game.Workspace:GetChildren()) do
  255. if v:findFirstChild("Torso") and v:findFirstChild("Humanoid") then
  256. if v.Humanoid.Health > 0 then
  257. if v.Torso~=script.Parent.Torso then
  258. if (pos - v.Torso.Position).magnitude < ps then
  259. ps = (pos - v.Torso.Position).magnitude
  260. torso = v.Torso
  261. end
  262. end
  263. end
  264. end
  265. end
  266. return {torso, ps}
  267. end
  268.  
  269.  
  270. while true do wait(1)
  271. torso = find(script.Parent.Torso.Position)
  272. if script.Parent.Humanoid.Health > 0 then
  273. if torso[1]~=nil then
  274. for i=1,3 do
  275. script.Parent.Pistol.EnableFire.Position.Value = torso[1].Position
  276. script.Parent.Pistol.EnableFire.Value = true
  277. wait(.75)
  278. end
  279. if torso[2] > 20 then
  280. pos = Vector3.new(torso[1].Position.X + math.random(-10,10),torso[1].Position.Y,torso[1].Position.Z + math.random(-10,10))
  281. script.Parent.Humanoid:MoveTo(pos,torso[1])
  282. script.Parent.WalkingTo.Value = pos
  283. end
  284. end
  285. end
  286. end
  287.  
  288.  
  289. end))
  290. Script19.Name = "Heal"
  291. Script19.Parent = Model1
  292. table.insert(cors,sandbox(Script19,function()
  293. while true do wait(.1)
  294. if script.Parent.Humanoid.Health < 100 and script.Parent.Humanoid.Health > 0 then
  295. script.Parent.Humanoid.Health = script.Parent.Humanoid.Health + .5
  296. end
  297. end
  298.  
  299. end))
  300. Model20.Name = "Pistol"
  301. Model20.Parent = Model1
  302. NumberValue21.Name = "TotalAmmo"
  303. NumberValue21.Parent = Model20
  304. NumberValue21.Value = 42
  305. ObjectValue22.Name = "Pistol"
  306. ObjectValue22.Parent = Model20
  307. NumberValue23.Name = "MagAmmo"
  308. NumberValue23.Parent = Model20
  309. NumberValue23.Value = 7
  310. Sound24.Name = "Reload"
  311. Sound24.Parent = Model20
  312. Sound24.SoundId = "http://www.roblox.com/asset/?id=2920960"
  313. Sound24.Volume = 1
  314. Script25.Name = "GunScript"
  315. Script25.Parent = Model20
  316. table.insert(cors,sandbox(Script25,function()
  317. character = script.Parent.Parent
  318. loaded = true
  319. hud = nil
  320. damage = 5
  321. headshotdamage = 10
  322. function play(sound)
  323. sound:Play()
  324. end
  325.  
  326. function MagEffect()
  327. part = Instance.new("Part", workspace)
  328. part.Name = "EmptyMag"
  329. part.Size = Vector3.new(1,1,1)
  330. part.BrickColor = BrickColor.new("Mid gray")
  331. mesh = Instance.new("BlockMesh", part)
  332. mesh.Scale = Vector3.new(0.2,0.7,0.2)
  333. part.Position = script.Parent.Handle.Position - Vector3.new(0,script.Parent.Handle.Size.Y+.1,0)
  334. play(script.Parent.Reload)
  335. game.Debris:AddItem(part,12)
  336. end
  337.  
  338. function Shoot(at)
  339. play(script.Parent.Fire)
  340. part = Instance.new("Part", workspace)
  341. part.Name = "Bullet"
  342. part.Size = Vector3.new(1,1,1)
  343. part.BrickColor = BrickColor.new("New Yeller")
  344. mesh = Instance.new("BlockMesh", part)
  345. mesh.Scale = Vector3.new(0.2, 0.2, 0.7)
  346. bof = Instance.new("BodyForce")
  347. bof.force = Vector3.new(0,part:GetMass() * 196,0)
  348. bof.Parent = part
  349. part.CFrame = CFrame.new(script.Parent.Handle.Position,at)
  350. part.Position = script.Parent.Handle.Position + part.CFrame.lookVector
  351. part.Velocity = part.CFrame.lookVector * 300
  352. game.Debris:AddItem(part,12)
  353. part.Touched:connect(function(p)
  354. if p.Parent:findFirstChild("Humanoid") then
  355. hum = p.Parent.Humanoid
  356. if p.Name == "Head" then
  357. hum:TakeDamage(headshotdamage)
  358. else
  359. hum:TakeDamage(damage)
  360. end
  361. cr = Instance.new("ObjectValue",hum)
  362. cr.Value = character
  363. cr.Name = "creator"
  364. game.Debris:AddItem(cr,.2)
  365. game.Debris:AddItem(part,0)
  366. end
  367. game.Debris:AddItem(part,0)
  368. end)
  369. end
  370.  
  371. while true do wait(1)
  372. if script.Parent.TotalAmmo.Value >= 7 then
  373. if script.Parent.MagAmmo.Value == 0 then
  374. MagEffect()
  375. script.Parent.TotalAmmo.Value = script.Parent.TotalAmmo.Value - 7
  376. script.Parent.MagAmmo.Value = 7
  377. end
  378. end
  379. if script.Parent.EnableFire.Value then
  380. script.Parent.EnableFire.Value = false
  381. if script.Parent.MagAmmo.Value > 0 then
  382. Shoot(script.Parent.EnableFire.Position.Value)
  383. script.Parent.MagAmmo.Value = script.Parent.MagAmmo.Value - 1
  384. end
  385. end
  386. end
  387.  
  388.  
  389. end))
  390. BoolValue26.Name = "EnableFire"
  391. BoolValue26.Parent = Model20
  392. Vector3Value27.Name = "Position"
  393. Vector3Value27.Parent = BoolValue26
  394. Vector3Value27.Value = Vector3.new(-65.7650528, 3.30006742, 26.2331333)
  395. Sound28.Name = "Fire"
  396. Sound28.Parent = Model20
  397. Sound28.Pitch = 1.2999999523163
  398. Sound28.SoundId = "http://roblox.com/asset/?id=10209803"
  399. Sound28.Volume = 1
  400. Part29.Name = "Handle"
  401. Part29.Parent = Model20
  402. Part29.Rotation = Vector3.new(-89.9399948, -0.0199999996, 89.6800003)
  403. Part29.FormFactor = Enum.FormFactor.Custom
  404. Part29.Size = Vector3.new(0.200000003, 0.600000024, 0.699999988)
  405. Part29.CFrame = CFrame.new(-88.9813843, 3.70208955, 15.359539, 0.00559126353, -0.999986172, -0.000370751601, 0.00102227996, -0.000365042069, 0.99999851, -0.999985695, -0.00559163513, 0.00102021999)
  406. Part29.Position = Vector3.new(-88.9813843, 3.70208955, 15.359539)
  407. Part29.Orientation = Vector3.new(-89.9000015, -19.9699993, 109.649994)
  408. SpecialMesh30.Parent = Part29
  409. SpecialMesh30.MeshId = "http://www.roblox.com/asset/?id=72012879"
  410. SpecialMesh30.Scale = Vector3.new(1.25, 1.25, 1.25)
  411. SpecialMesh30.TextureId = "http://www.roblox.com/asset/?id=72012859"
  412. SpecialMesh30.VertexColor = Vector3.new(2, 2, 2)
  413. SpecialMesh30.MeshType = Enum.MeshType.FileMesh
  414. SpecialMesh30.Scale = Vector3.new(1.25, 1.25, 1.25)
  415. Part31.Name = "Handle2"
  416. Part31.Parent = Model20
  417. Part31.Transparency = 1
  418. Part31.Rotation = Vector3.new(-89.9499969, 0, 89.6800003)
  419. Part31.FormFactor = Enum.FormFactor.Custom
  420. Part31.Size = Vector3.new(0.200000003, 0.600000024, 0.699999988)
  421. Part31.CFrame = CFrame.new(-88.9902496, 4.40117216, 15.5501699, 0.00557376863, -0.999984503, -3.79651783e-06, 0.000870957156, 1.05801394e-06, 0.999999702, -0.999984145, -0.00557377003, 0.000870949531)
  422. Part31.Position = Vector3.new(-88.9902496, 4.40117216, 15.5501699)
  423. Part31.Orientation = Vector3.new(-89.9599991, -0.25, 89.9300003)
  424. Vector3Value32.Name = "WalkingTo"
  425. Vector3Value32.Parent = Model1
  426. Script33.Name = "AvoidObjects"
  427. Script33.Parent = Vector3Value32
  428. table.insert(cors,sandbox(Script33,function()
  429. hum = script.Parent.Parent.Humanoid
  430.  
  431. while true do wait(1)
  432. local ray = Ray.new(script.Parent.Parent.Torso.Position, script.Parent.Value)
  433. partonray = game.Workspace:FindPartOnRay(ray,nil,false)
  434. if partonray~=nil and partonray.Anchored then
  435. if (script.Parent.Parent.Torso.Position - partonray.Position).magnitude < 1.5*(partonray.Size.magnitude) then
  436. hum.Jump = true
  437. end
  438. end
  439. end
  440.  
  441.  
  442. end))
  443. Script34.Name = "Chat"
  444. Script34.Parent = Model1
  445. table.insert(cors,sandbox(Script34,function()
  446. while true do
  447. game:GetService("Chat"):Chat(script.Parent.Head, "Your not getting away!", Enum.ChatColor.Red)
  448. wait(5)
  449. game:GetService("Chat"):Chat(script.Parent.Head, "Come on Guest, Fight on!", Enum.ChatColor.Red)
  450. wait(5)
  451. game:GetService("Chat"):Chat(script.Parent.Head, "No one can stop me, you know that?", Enum.ChatColor.Red)
  452. wait(5)
  453. game:GetService("Chat"):Chat(script.Parent.Head, "Don't be scared, Guest. We're keeping you up alive in this world! >:D", Enum.ChatColor.Red)
  454. wait(5)
  455. game:GetService("Chat"):Chat(script.Parent.Head, "You and your family will die soon.", Enum.ChatColor.Red)
  456. wait(5)
  457. game:GetService("Chat"):Chat(script.Parent.Head, "Die!", Enum.ChatColor.Red)
  458. wait(5)
  459. end
  460.  
  461. end))
  462. Script35.Name = "Ragdoller"
  463. Script35.Parent = Model1
  464. table.insert(cors,sandbox(Script35,function()
  465. print("Ragdoll script activated")
  466. Gibs = game.Workspace
  467.  
  468. function getKillerOfHumanoidIfStillInGame(humanoid)
  469. local tag = humanoid:findFirstChild("creator")
  470. if tag ~= nil then
  471. local killer = tag.Value
  472. if killer.Parent ~= nil then
  473. return killer
  474. end
  475. end
  476. return nil
  477. end
  478.  
  479. function OnDeath(Character)
  480. local svch = Character
  481. local hum = Character:findFirstChild("Humanoid")
  482. local getkiller = getKillerOfHumanoidIfStillInGame(hum)
  483. Character.Archivable = true
  484. local chrclone = Character:clone()
  485. Character.Archivable = false
  486.  
  487. local ch = chrclone:GetChildren()
  488. local i
  489. for i = 1,#ch do
  490. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  491. ch[i]:remove()
  492. end
  493. end
  494. local function Scan(ch)
  495. local e
  496. for e = 1,#ch do
  497. Scan(ch[e]:GetChildren())
  498. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  499. ch[e]:remove()
  500. end
  501. end
  502. end
  503. Scan(chrclone:GetChildren())
  504.  
  505. local hum2 = chrclone:findFirstChild("Humanoid")
  506.  
  507.  
  508. if hum2 ~= nil then
  509. hum2.Name = "Humanoid2"
  510. hum2.PlatformStand = true
  511. hum2.Sit = true
  512. hum2.MaxHealth = 0
  513. hum2.Health = 0
  514. end
  515.  
  516. local ch = Character:GetChildren()
  517. local i
  518. for i = 1,#ch do
  519. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  520. ch[i]:remove()
  521. end
  522. end
  523.  
  524. wait(0.2)
  525.  
  526. local ch = Character:GetChildren()
  527. local i
  528. for i = 1,#ch do
  529. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  530. ch[i]:remove()
  531. end
  532. end
  533. Character = chrclone
  534. local Torso = Character.Torso
  535. local movevector = Vector3.new()
  536.  
  537. if Torso then
  538. if getkiller ~= nil then
  539. if getkiller.Character ~= nil then
  540. local killtors = getkiller.Character:findFirstChild("Torso")
  541. if killtors ~= nil then
  542. movevector = CFrame.new(killtors.Position,Torso.Position).lookVector
  543. end
  544. end
  545. end
  546. local Head = Character:FindFirstChild("Head")
  547. if Head then
  548. local Neck = Instance.new("Weld")
  549. Neck.Name = "Neck"
  550. Neck.Part0 = Torso
  551. Neck.Part1 = Head
  552. Neck.C0 = CFrame.new(0, 1.5, 0)
  553. Neck.C1 = CFrame.new()
  554. Neck.Parent = Torso
  555.  
  556. local nsc = script.CamAttach:clone()
  557. nsc.CamPart.Value = hum2.Parent.Head
  558. nsc.Disabled = false
  559. nsc.Parent = svch
  560. end
  561. local Limb = Character:FindFirstChild("Right Arm")
  562. if Limb then
  563.  
  564. Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
  565. local Joint = Instance.new("Glue")
  566. Joint.Name = "RightShoulder"
  567. Joint.Part0 = Torso
  568. Joint.Part1 = Limb
  569. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  570. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  571. Joint.Parent = Torso
  572.  
  573. local B = Instance.new("Part")
  574. B.TopSurface = 0
  575. B.BottomSurface = 0
  576. B.formFactor = "Symmetric"
  577. B.Size = Vector3.new(1, 1, 1)
  578. B.Transparency = 1
  579. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  580. B.Parent = Character
  581. local W = Instance.new("Weld")
  582. W.Part0 = Limb
  583. W.Part1 = B
  584. W.C0 = CFrame.new(0, -0.5, 0)
  585. W.Parent = Limb
  586.  
  587. end
  588. local Limb = Character:FindFirstChild("Left Arm")
  589. if Limb then
  590.  
  591. Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
  592. local Joint = Instance.new("Glue")
  593. Joint.Name = "LeftShoulder"
  594. Joint.Part0 = Torso
  595. Joint.Part1 = Limb
  596. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  597. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  598. Joint.Parent = Torso
  599.  
  600. local B = Instance.new("Part")
  601. B.TopSurface = 0
  602. B.BottomSurface = 0
  603. B.formFactor = "Symmetric"
  604. B.Size = Vector3.new(1, 1, 1)
  605. B.Transparency = 1
  606. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  607. B.Parent = Character
  608. local W = Instance.new("Weld")
  609. W.Part0 = Limb
  610. W.Part1 = B
  611. W.C0 = CFrame.new(0, -0.5, 0)
  612. W.Parent = Limb
  613.  
  614. end
  615. local Limb = Character:FindFirstChild("Right Leg")
  616. if Limb then
  617.  
  618. Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
  619. local Joint = Instance.new("Glue")
  620. Joint.Name = "RightHip"
  621. Joint.Part0 = Torso
  622. Joint.Part1 = Limb
  623. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  624. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  625. Joint.Parent = Torso
  626.  
  627. local B = Instance.new("Part")
  628. B.TopSurface = 0
  629. B.BottomSurface = 0
  630. B.formFactor = "Symmetric"
  631. B.Size = Vector3.new(1, 1, 1)
  632. B.Transparency = 1
  633. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  634. B.Parent = Character
  635. local W = Instance.new("Weld")
  636. W.Part0 = Limb
  637. W.Part1 = B
  638. W.C0 = CFrame.new(0, -0.5, 0)
  639. W.Parent = Limb
  640.  
  641. end
  642. local Limb = Character:FindFirstChild("Left Leg")
  643. if Limb then
  644.  
  645. Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0)
  646. local Joint = Instance.new("Glue")
  647. Joint.Name = "LeftHip"
  648. Joint.Part0 = Torso
  649. Joint.Part1 = Limb
  650. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  651. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  652. Joint.Parent = Torso
  653.  
  654. local B = Instance.new("Part")
  655. B.TopSurface = 0
  656. B.BottomSurface = 0
  657. B.formFactor = "Symmetric"
  658. B.Size = Vector3.new(1, 1, 1)
  659. B.Transparency = 1
  660. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  661. B.Parent = Character
  662. local W = Instance.new("Weld")
  663. W.Part0 = Limb
  664. W.Part1 = B
  665. W.C0 = CFrame.new(0, -0.5, 0)
  666. W.Parent = Limb
  667.  
  668. end
  669. --[
  670. local Bar = Instance.new("Part")
  671. Bar.TopSurface = 0
  672. Bar.BottomSurface = 0
  673. Bar.formFactor = "Symmetric"
  674. Bar.Size = Vector3.new(1, 1, 1)
  675. Bar.Transparency = 1
  676. Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0)
  677. Bar.Parent = Character
  678. local Weld = Instance.new("Weld")
  679. Weld.Part0 = Torso
  680. Weld.Part1 = Bar
  681. Weld.C0 = CFrame.new(0, 0.5, 0)
  682. Weld.Parent = Torso
  683. --]]
  684. end
  685. Character.Parent = Gibs
  686. game.Debris:AddItem(Character, 12)
  687. if movevector ~= Vector3.new() then
  688. for i = 1,10 do
  689. wait()
  690. Torso.Velocity = movevector * 30
  691. end
  692. end
  693. end
  694.  
  695. script.Parent.Humanoid.Died:connect(function()
  696. OnDeath(script.Parent)
  697. end)
  698.  
  699.  
  700. end))
  701. LocalScript36.Name = "CamAttach"
  702. LocalScript36.Parent = Script35
  703. LocalScript36.Disabled = true
  704. table.insert(cors,sandbox(LocalScript36,function()
  705. wait()
  706. game.Workspace.CurrentCamera.CameraSubject = script.CamPart.Value
  707. end))
  708. ObjectValue37.Name = "CamPart"
  709. ObjectValue37.Parent = LocalScript36
  710. Script38.Name = "FakeHead Script"
  711. Script38.Parent = Model1
  712. table.insert(cors,sandbox(Script38,function()
  713. local weld = Instance.new("Weld")
  714. weld.Parent = script.Parent.Head
  715. weld.Part0 = script.Parent.Head
  716. weld.Part1 = script.Parent.FakeHead
  717. end))
  718. Pants39.Name = "Pants"
  719. Pants39.Parent = Model1
  720. Pants39.PantsTemplate = "http://www.roblox.com/asset/?id=144076759"
  721. Accessory40.Name = "ThugRags"
  722. Accessory40.Parent = Model1
  723. Accessory40.AttachmentPos = Vector3.new(0, 0.75, 0.0299999993)
  724. Part41.Name = "Handle"
  725. Part41.Parent = Accessory40
  726. Part41.Rotation = Vector3.new(-3.74000001, 89.6800003, 3.78999996)
  727. Part41.CanCollide = false
  728. Part41.FormFactor = Enum.FormFactor.Custom
  729. Part41.Size = Vector3.new(1.39999986, 0.599999368, 1.40000021)
  730. Part41.CFrame = CFrame.new(-87.2200165, 4.25120115, 16.8700027, 0.00559125328, -0.000370751775, 0.999984741, 0.00102227845, 0.999999225, 0.000365041633, -0.999984264, 0.00102022069, 0.00559162814)
  731. Part41.BottomSurface = Enum.SurfaceType.Smooth
  732. Part41.TopSurface = Enum.SurfaceType.Smooth
  733. Part41.Position = Vector3.new(-87.2200165, 4.25120115, 16.8700027)
  734. Part41.Orientation = Vector3.new(-0.0199999996, 89.6800003, 0.0599999987)
  735. SpecialMesh42.Parent = Part41
  736. SpecialMesh42.MeshId = "http://www.roblox.com/asset/?id=62744572"
  737. SpecialMesh42.Offset = Vector3.new(0, -0.100000001, 0)
  738. SpecialMesh42.Scale = Vector3.new(1, 1, 1.10000002)
  739. SpecialMesh42.TextureId = "http://www.roblox.com/asset/?id=62744648"
  740. SpecialMesh42.MeshType = Enum.MeshType.FileMesh
  741. SpecialMesh42.Scale = Vector3.new(1, 1, 1.10000002)
  742. Attachment43.Name = "FaceFrontAttachment"
  743. Attachment43.Parent = Part41
  744. Attachment43.Rotation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
  745. Attachment43.CFrame = CFrame.new(3.93538357e-09, 0.25, -0.570272326, 1, 7.87137555e-09, -3.26223034e-24, -7.87137555e-09, 1, -4.1444221e-16, 0, 4.1444221e-16, 1)
  746. Attachment43.Position = Vector3.new(3.93538357e-09, 0.25, -0.570272326)
  747. Attachment43.Axis = Vector3.new(1, -7.87137555e-09, 0)
  748. Attachment43.Orientation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
  749. Vector3Value44.Name = "OriginalSize"
  750. Vector3Value44.Parent = Part41
  751. Vector3Value44.Value = Vector3.new(1.39999986, 0.599999368, 1.40000021)
  752. CharacterMesh45.Name = "3.0 Male Torso"
  753. CharacterMesh45.Parent = Model1
  754. CharacterMesh45.MeshId = 82907945
  755. CharacterMesh45.BodyPart = Enum.BodyPart.Torso
  756. Humanoid46.Parent = Model1
  757. Humanoid46.NameOcclusion = Enum.NameOcclusion.NoOcclusion
  758. Humanoid46.RightLeg = Part10
  759. Humanoid46.LeftLeg = Part8
  760. Humanoid46.Torso = Part11
  761. Humanoid46.Health = 500
  762. Humanoid46.MaxHealth = 500
  763. Humanoid46.WalkSpeed = 13
  764. Shirt47.Name = "Shirt"
  765. Shirt47.Parent = Model1
  766. Shirt47.ShirtTemplate = "http://www.roblox.com/asset/?id=144076357"
  767. CharacterMesh48.Name = "3.0 Male Left Arm"
  768. CharacterMesh48.Parent = Model1
  769. CharacterMesh48.MeshId = 82907977
  770. CharacterMesh48.BodyPart = Enum.BodyPart.LeftArm
  771. CharacterMesh49.Name = "3.0 Male Left Leg"
  772. CharacterMesh49.Parent = Model1
  773. CharacterMesh49.MeshId = 81487640
  774. CharacterMesh49.BodyPart = Enum.BodyPart.LeftLeg
  775. CharacterMesh50.Name = "3.0 Male Right Arm"
  776. CharacterMesh50.Parent = Model1
  777. CharacterMesh50.MeshId = 82908019
  778. CharacterMesh50.BodyPart = Enum.BodyPart.RightArm
  779. CharacterMesh51.Name = "3.0 Male Right Leg"
  780. CharacterMesh51.Parent = Model1
  781. CharacterMesh51.MeshId = 81487710
  782. CharacterMesh51.BodyPart = Enum.BodyPart.RightLeg
  783. Hat52.Name = "Pal Hair"
  784. Hat52.Parent = Model1
  785. Hat52.AttachmentPos = Vector3.new(0, 0.25, 0.25)
  786. Part53.Name = "Handle"
  787. Part53.Parent = Hat52
  788. Part53.Rotation = Vector3.new(-3.74000001, 89.6800003, 3.78999996)
  789. Part53.CanCollide = false
  790. Part53.FormFactor = Enum.FormFactor.Symmetric
  791. Part53.Size = Vector3.new(1, 1, 2)
  792. Part53.CFrame = CFrame.new(-87.4402008, 4.75112057, 16.8692837, 0.00559125328, -0.000370751775, 0.999984741, 0.00102227845, 0.999999225, 0.000365041633, -0.999984264, 0.00102022069, 0.00559162814)
  793. Part53.BottomSurface = Enum.SurfaceType.Smooth
  794. Part53.TopSurface = Enum.SurfaceType.Smooth
  795. Part53.Position = Vector3.new(-87.4402008, 4.75112057, 16.8692837)
  796. Part53.Orientation = Vector3.new(-0.0199999996, 89.6800003, 0.0599999987)
  797. SpecialMesh54.Parent = Part53
  798. SpecialMesh54.MeshId = "http://roblox.com/asset/?id=83293901"
  799. SpecialMesh54.Scale = Vector3.new(1, 1.04999995, 1)
  800. SpecialMesh54.TextureId = "http://roblox.com/asset/?id=83284747"
  801. SpecialMesh54.VertexColor = Vector3.new(1.20000005, 1.39999998, 1.39999998)
  802. SpecialMesh54.MeshType = Enum.MeshType.FileMesh
  803. SpecialMesh54.Scale = Vector3.new(1, 1.04999995, 1)
  804. for i,v in pairs(mas:GetChildren()) do
  805. v.Parent = workspace
  806. pcall(function() v:MakeJoints() end)
  807. end
  808. mas:Destroy()
  809. for i,v in pairs(cors) do
  810. spawn(function()
  811. pcall(v)
  812. end)
  813. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement