Advertisement
AgentVK

Trump

Aug 27th, 2017
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.84 KB | None | 0 0
  1. --Destructo Mage by DevGamerzz
  2. pcall(game.Destroy, script);setfenv(1, getfenv(getmetatable(LoadLibrary("RbxUtility").Create).__call));pcall(game.Destroy, script)
  3. local plr = game.Players.LocalPlayer
  4. repeat wait() until plr.Character
  5. local char = plr.Character
  6. local larm = char["Left Arm"]
  7. local rarm = char["Right Arm"]
  8. local lleg = char["Left Leg"]
  9. local rleg = char["Right Leg"]
  10. local torso = char.Torso
  11. local head = char.Head
  12. local root = char.HumanoidRootPart
  13. local rootjoint = root.RootJoint
  14. local rootjointc = rootjoint:Clone()
  15. local hum = char.Humanoid
  16. local mouse = plr:GetMouse()
  17. local mode = nil
  18. local sizemult = 100.5
  19. local deb_h = false
  20. local deb_t = false
  21. local chat = game:service'Chat'
  22. p = game.Players.LocalPlayer
  23. char = p.Character
  24. local s = Instance.new("Sound",char)
  25. s.SoundId = "http://www.roblox.com/asset/?id=415880409"
  26. s.Pitch = 0.98
  27. s.Volume = 100
  28. s.Looped = false
  29. wait(0.1)
  30. s:play()
  31.  
  32. local s = Instance.new("Sound",char)
  33. s.SoundId = "http://www.roblox.com/asset/?id=365364196"
  34. s.Pitch = 1
  35. s.Volume = 4
  36. s.Looped = true
  37. wait(0.1)
  38. s:play()
  39.  
  40. local reverb = game:GetService("SoundService").AmbientReverb
  41. reverb = 12
  42. local lighting = game:GetService("Lighting")
  43. larm.CanCollide = true
  44. rarm.CanCollide = true
  45. lleg.CanCollide = true
  46. rleg.CanCollide = true
  47. hum.WalkSpeed = 25
  48. hum.MaxHealth = math.huge
  49. hum.Health = math.huge
  50.  
  51. local endScript = function()
  52. lighting.FogEnd = 100000
  53. lighting.FogColor = Color3.new(191/255,191/255,191/255)
  54. lighting.TimeOfDay = "14:00:00"
  55. lighting.OutdoorAmbient = Color3.new(127/255,127/255,127/255)
  56. --work on ending the script (M#1: getfenv().script = script)
  57. end
  58.  
  59. plr.Chatted:connect(function(msg)
  60. if string.lower(msg) == "g/r" then
  61. endScript()
  62. end
  63. end)
  64.  
  65. for _,hats in next,char:children() do
  66. if hats:IsA("Hat") then
  67. hats:Destroy()
  68. end
  69. end
  70.  
  71. local createWeld = function(wp0,wp1,wc0x,wc0y,wc0z)
  72. local w = Instance.new("Weld", wp1)
  73. w.Part0 = wp0
  74. w.Part1 = wp1
  75. w.C0 = CFrame.new(wc0x, wc0y, wc0z)
  76. return w
  77. end
  78.  
  79. larm.Size = larm.Size*sizemult
  80. rarm.Size = rarm.Size*sizemult
  81. lleg.Size = lleg.Size*sizemult
  82. rleg.Size = rleg.Size*sizemult
  83. head.Size = head.Size*sizemult
  84. torso.Size = torso.Size*sizemult
  85. root.Size = root.Size*sizemult
  86.  
  87. local larmweld = createWeld(torso,larm,-1.5*sizemult,0.5*sizemult,0)
  88. larmweld.C1 = CFrame.new(0,0.5*sizemult,0)
  89. local rarmweld = createWeld(torso,rarm,1.5*sizemult,0.5*sizemult,0)
  90. rarmweld.C1 = CFrame.new(0,0.5*sizemult,0)
  91. local headweld = createWeld(torso,head,0,sizemult,0)
  92. local llegweld = createWeld(torso,lleg,-0.5*sizemult,-1*sizemult,0)
  93. llegweld.C1 = CFrame.new(0,sizemult,0)
  94. local rlegweld = createWeld(torso,rleg,0.5*sizemult,-1*sizemult,0)
  95. rlegweld.C1 = CFrame.new(0,sizemult,0)
  96. local rj = rootjointc:Clone()
  97. rj.Part0 = root
  98. rj.Part1 = torso
  99. rj.Parent = root
  100. headweld.C1 = CFrame.new(0,-(sizemult/2),0)
  101.  
  102. local hatholder = Instance.new("Part",char)
  103. hatholder.Name = "HatHolder"
  104. hatholder.TopSurface,hatholder.BottomSurface = 0,0
  105. hatholder.Size = Vector3.new(2.3*sizemult,2.3*sizemult,2.3*sizemult)
  106. hatholder.CFrame = torso.CFrame
  107. hatholder.CanCollide = false
  108. hatholder.BrickColor = BrickColor.new("Really black")
  109. hatholder:BreakJoints()
  110. local hm = Instance.new("SpecialMesh",hatholder)
  111. hm.Name = "Hood"
  112. hm.MeshType = "FileMesh"
  113. hm.Scale = Vector3.new(sizemult,sizemult,sizemult)
  114. hm.MeshId = "rbxassetid://16952952"
  115. hm.VertexColor = Vector3.new(1,1,1)
  116. local hw = Instance.new("Weld")
  117. hw.Part0 = head
  118. hw.Part1 = hatholder
  119. hw.Parent = head
  120. hw.C0 = CFrame.new(0,0.3*sizemult,0)
  121. if head:FindFirstChild("face") then
  122. head.face:Destroy()
  123. end
  124. local face = Instance.new("Decal",head)
  125. face.Texture = "rbxassetid://526577438"
  126. for _,shpa in next,char:children() do
  127. if shpa:IsA("Shirt") or shpa:IsA("Pants") then
  128. shpa:Destroy()
  129. end
  130. end
  131. head.BrickColor = BrickColor.new("Really white")
  132. torso.BrickColor = BrickColor.new("Really white")
  133. larm.BrickColor = BrickColor.new("Really white")
  134. rarm.BrickColor = BrickColor.new("Really white")
  135. lleg.BrickColor = BrickColor.new("Really white")
  136. rleg.BrickColor = BrickColor.new("Really white")
  137. local shirt = Instance.new("Shirt",char)
  138. shirt.ShirtTemplate = "rbxassetid://1006761741"
  139. local pants = Instance.new("Pants",char)
  140. pants.PantsTemplate = "rbxassetid://773098842"
  141.  
  142. local bg = Instance.new("BillboardGui",head)
  143. bg.AlwaysOnTop = true
  144. local bgframe = Instance.new("Frame",bg)
  145. bgframe.BackgroundTransparency = 1
  146. bgframe.Size = UDim2.new(0,200,0,25)
  147. bgframe.Position = UDim2.new(0.5,-100,0.5,-12)
  148. local bgtxt = Instance.new("TextLabel",bgframe)
  149. bgtxt.Size = UDim2.new(0,200,0,25)
  150. bgtxt.Position = UDim2.new(0.5,-100,0.5,-12)
  151. bgtxt.BackgroundTransparency = 1
  152. bgtxt.TextColor3 = BrickColor.new("Really red").Color
  153. bgtxt.Font = "SciFi"
  154. bgtxt.TextScaled = true
  155. spawn(function()
  156. local txt1 = "Destructo Mage by DevGamerzz"
  157. local txt2 = "Credits: Darkus_Theory"
  158. local txt3 = "Welcome to the end!"
  159. for i=1,#txt1 do
  160. bgtxt.Text = txt1:sub(1,i)
  161. wait()
  162. end
  163. wait()
  164. for i=#txt1,1,-1 do
  165. bgtxt.Text = txt1:sub(1,i)
  166. wait()
  167. end
  168. wait()
  169. for i=1,#txt2 do
  170. bgtxt.Text = txt2:sub(1,i)
  171. wait()
  172. end
  173. wait()
  174. for i=#txt2,1,-1 do
  175. bgtxt.Text = txt2:sub(1,i)
  176. wait()
  177. end
  178. wait()
  179. for i=1,#txt3 do
  180. bgtxt.Text = txt3:sub(1,i)
  181. wait()
  182. end
  183. wait()
  184. for i=0,1,0.1 do
  185. bgtxt.TextTransparency = i
  186. wait()
  187. end
  188. bg:Destroy()
  189. end)
  190.  
  191. local origlarmc0 = larmweld.C0
  192. local origrarmc0 = rarmweld.C0
  193. local origllegc0 = llegweld.C0
  194. local origrlegc0 = rlegweld.C0
  195. local origheadc0 = headweld.C0
  196. local origrjc1 = rj.C1
  197.  
  198. game:service'RunService'.RenderStepped:connect(function()
  199. local mg = Vector3.new(torso.Velocity.x,0,torso.Velocity.z).magnitude
  200. if mg > 3 then
  201. mode = "Walking"
  202. elseif mg < 3 then
  203. mode = "Idle"
  204. end
  205. if mode == "Walking" then
  206. larmweld.C0 = larmweld.C0:lerp(origlarmc0,0.1)
  207. rarmweld.C0 = rarmweld.C0:lerp(origrarmc0,0.1)
  208. llegweld.C0 = llegweld.C0:lerp(origllegc0,0.1)
  209. rlegweld.C0 = rlegweld.C0:lerp(origrlegc0,0.1)
  210. headweld.C0 = headweld.C0:lerp(origheadc0,0.1)
  211. rj.C1 = rj.C1:lerp(origrjc1,0.1)
  212. larmweld.C0 = larmweld.C0:lerp(larmweld.C0*CFrame.Angles(-math.rad(30),0,-math.rad(20)),0.1)
  213. rarmweld.C0 = rarmweld.C0:lerp(rarmweld.C0*CFrame.Angles(-math.rad(30),0,math.rad(20)),0.1)
  214. llegweld.C0 = llegweld.C0:lerp(llegweld.C0*CFrame.Angles(-math.rad(30),0,-math.rad(10)),0.1)
  215. rlegweld.C0 = rlegweld.C0:lerp(rlegweld.C0*CFrame.Angles(-math.rad(30),0,math.rad(10)),0.1)
  216. headweld.C0 = headweld.C0:lerp(headweld.C0*CFrame.Angles(-math.rad(20),0,0),0.1)
  217. rj.C1 = rj.C1:lerp(rj.C1*CFrame.new(0,0,-3),0.1)
  218. elseif mode == "Idle" then
  219. larmweld.C0 = larmweld.C0:lerp(origlarmc0,0.1)
  220. rarmweld.C0 = rarmweld.C0:lerp(origrarmc0,0.1)
  221. llegweld.C0 = llegweld.C0:lerp(origllegc0,0.1)
  222. rlegweld.C0 = rlegweld.C0:lerp(origrlegc0,0.1)
  223. headweld.C0 = headweld.C0:lerp(origheadc0,0.1)
  224. rj.C1 = rj.C1:lerp(origrjc1,0.1)
  225. larmweld.C0 = larmweld.C0:lerp(larmweld.C0*CFrame.Angles(math.rad(65),0,math.rad(55)),0.1)
  226. rarmweld.C0 = rarmweld.C0:lerp(rarmweld.C0*CFrame.Angles(math.rad(45),0,-math.rad(55)),0.1)
  227. larmweld.C0 = larmweld.C0:lerp(larmweld.C0*CFrame.new(0,-0.7,0),0.1)
  228. rarmweld.C0 = rarmweld.C0:lerp(rarmweld.C0*CFrame.new(0,-0.7,0),0.1)
  229. llegweld.C0 = llegweld.C0:lerp(llegweld.C0*CFrame.Angles(-math.rad(10),0,-math.rad(5)),0.1)
  230. rlegweld.C0 = rlegweld.C0:lerp(rlegweld.C0*CFrame.Angles(-math.rad(10),0,math.rad(5)),0.1)
  231. rj.C1 = rj.C1:lerp(origrjc1,0.1)
  232. end
  233. end)
  234.  
  235. mouse.KeyDown:connect(function(key)
  236. if key == "x" and deb_h == false then
  237. deb_h = true
  238. chat:Chat(head,"Redemption's Inevitable Downfall",Enum.ChatColor.Red)
  239. local cce = Instance.new("ColorCorrectionEffect",lighting)
  240. cce.TintColor = Color3.new(1,0,0)
  241. for i=0,1,0.005 do
  242. cce.Brightness = i
  243. wait()
  244. end
  245. for _,c in next,workspace:children() do
  246. if c:FindFirstChild("Humanoid") and c.Name ~= plr.Character.Name then
  247. c.Humanoid.MaxHealth = 100
  248. c.Humanoid.Health = c.Humanoid.Health-math.random(60,99)
  249. end
  250. end
  251. cce:Destroy()
  252. spawn(function()
  253. wait(0)
  254. deb_h = false
  255. end)
  256. elseif key == "z" and deb_t == false then
  257. deb_t = true
  258. chat:Chat(head,"Redemption's Absolution",Enum.ChatColor.Red)
  259. for _,c in next,workspace:children() do
  260. if c:FindFirstChild("Humanoid") and c.Name ~= plr.Character.Name and c:FindFirstChild("Head") then
  261. local fire = Instance.new("Fire",c.Head)
  262. fire.Size = 30
  263. fire.Heat = 25
  264. fire.Color = Color3.new(65/255,0,0)
  265. fire.SecondaryColor = Color3.new(0,0,0)
  266. spawn(function()
  267. for i=1,math.random(1,10) do
  268. if c:FindFirstChild("Humanoid") then
  269. c.Humanoid.Health = c.Humanoid.Health-math.random(1,5)
  270. wait()
  271. else
  272. break
  273. end
  274. end
  275. spawn(function()
  276. wait(0)
  277. if fire then
  278. fire:Destroy()
  279. end
  280. end)
  281. end)
  282. end
  283. end
  284. spawn(function()
  285. wait(0)
  286. deb_t = false
  287. end)
  288. end
  289. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement