Advertisement
Marcsosa

Untitled

Dec 19th, 2017
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.  
  80. rj.Part0 = root
  81. rj.Part1 = torso
  82. rj.Parent = root
  83.  
  84. local hatholder = Instance.new("Part",char)
  85. hatholder.Name = "HatHolder"
  86. hatholder.TopSurface,hatholder.BottomSurface = 0,0
  87.  
  88. hatholder.CFrame = torso.CFrame
  89. hatholder.CanCollide = false
  90. hatholder.BrickColor = BrickColor.new("Really black")
  91. hatholder:BreakJoints()
  92. local hm = Instance.new("SpecialMesh",hatholder)
  93. hm.Name = "Hood"
  94. hm.MeshType = "FileMesh"
  95.  
  96. hm.MeshId = "rbxassetid://16952952"
  97. hm.VertexColor = Vector3.new(1,1,1)
  98. local hw = Instance.new("Weld")
  99. hw.Part0 = head
  100. hw.Part1 = hatholder
  101. hw.Parent = head
  102.  
  103. if head:FindFirstChild("face") then
  104. head.face:Destroy()
  105. end
  106. local face = Instance.new("Decal",head)
  107. face.Texture = "rbxassetid://526577438"
  108. for _,shpa in next,char:children() do
  109. if shpa:IsA("Shirt") or shpa:IsA("Pants") then
  110. shpa:Destroy()
  111. end
  112. end
  113. head.BrickColor = BrickColor.new("Really white")
  114. torso.BrickColor = BrickColor.new("Really white")
  115. larm.BrickColor = BrickColor.new("Really white")
  116. rarm.BrickColor = BrickColor.new("Really white")
  117. lleg.BrickColor = BrickColor.new("Really white")
  118. rleg.BrickColor = BrickColor.new("Really white")
  119. local shirt = Instance.new("Shirt",char)
  120. shirt.ShirtTemplate = "rbxassetid://1006761741"
  121. local pants = Instance.new("Pants",char)
  122. pants.PantsTemplate = "rbxassetid://773098842"
  123.  
  124. local bg = Instance.new("BillboardGui",head)
  125. bg.AlwaysOnTop = true
  126. local bgframe = Instance.new("Frame",bg)
  127. bgframe.BackgroundTransparency = 1
  128. bgframe.Size = UDim2.new(0,200,0,25)
  129. bgframe.Position = UDim2.new(0.5,-100,0.5,-12)
  130. local bgtxt = Instance.new("TextLabel",bgframe)
  131. bgtxt.Size = UDim2.new(0,200,0,25)
  132. bgtxt.Position = UDim2.new(0.5,-100,0.5,-12)
  133. bgtxt.BackgroundTransparency = 1
  134. bgtxt.TextColor3 = BrickColor.new("Really red").Color
  135. bgtxt.Font = "SciFi"
  136. bgtxt.TextScaled = true
  137. spawn(function()
  138. local txt1 = "Destructo Mage by DevGamerzz"
  139. local txt2 = "Credits: Darkus_Theory"
  140. local txt3 = "Welcome to the end!"
  141. for i=1,#txt1 do
  142. bgtxt.Text = txt1:sub(1,i)
  143. wait()
  144. end
  145. wait()
  146. for i=#txt1,1,-1 do
  147. bgtxt.Text = txt1:sub(1,i)
  148. wait()
  149. end
  150. wait()
  151. for i=1,#txt2 do
  152. bgtxt.Text = txt2:sub(1,i)
  153. wait()
  154. end
  155. wait()
  156. for i=#txt2,1,-1 do
  157. bgtxt.Text = txt2:sub(1,i)
  158. wait()
  159. end
  160. wait()
  161. for i=1,#txt3 do
  162. bgtxt.Text = txt3:sub(1,i)
  163. wait()
  164. end
  165. wait()
  166. for i=0,1,0.1 do
  167. bgtxt.TextTransparency = i
  168. wait()
  169. end
  170. bg:Destroy()
  171. end)
  172.  
  173. local origlarmc0 = larmweld.C0
  174. local origrarmc0 = rarmweld.C0
  175. local origllegc0 = llegweld.C0
  176. local origrlegc0 = rlegweld.C0
  177. local origheadc0 = headweld.C0
  178. local origrjc1 = rj.C1
  179.  
  180. game:service'RunService'.RenderStepped:connect(function()
  181. local mg = Vector3.new(torso.Velocity.x,0,torso.Velocity.z).magnitude
  182. if mg > 3 then
  183. mode = "Walking"
  184. elseif mg < 3 then
  185. mode = "Idle"
  186. end
  187. if mode == "Walking" then
  188. larmweld.C0 = larmweld.C0:lerp(origlarmc0,0.1)
  189. rarmweld.C0 = rarmweld.C0:lerp(origrarmc0,0.1)
  190. llegweld.C0 = llegweld.C0:lerp(origllegc0,0.1)
  191. rlegweld.C0 = rlegweld.C0:lerp(origrlegc0,0.1)
  192. headweld.C0 = headweld.C0:lerp(origheadc0,0.1)
  193. rj.C1 = rj.C1:lerp(origrjc1,0.1)
  194. larmweld.C0 = larmweld.C0:lerp(larmweld.C0*CFrame.Angles(-math.rad(30),0,-math.rad(20)),0.1)
  195. rarmweld.C0 = rarmweld.C0:lerp(rarmweld.C0*CFrame.Angles(-math.rad(30),0,math.rad(20)),0.1)
  196. llegweld.C0 = llegweld.C0:lerp(llegweld.C0*CFrame.Angles(-math.rad(30),0,-math.rad(10)),0.1)
  197. rlegweld.C0 = rlegweld.C0:lerp(rlegweld.C0*CFrame.Angles(-math.rad(30),0,math.rad(10)),0.1)
  198. headweld.C0 = headweld.C0:lerp(headweld.C0*CFrame.Angles(-math.rad(20),0,0),0.1)
  199. rj.C1 = rj.C1:lerp(rj.C1*CFrame.new(0,0,-3),0.1)
  200. elseif mode == "Idle" then
  201. larmweld.C0 = larmweld.C0:lerp(origlarmc0,0.1)
  202. rarmweld.C0 = rarmweld.C0:lerp(origrarmc0,0.1)
  203. llegweld.C0 = llegweld.C0:lerp(origllegc0,0.1)
  204. rlegweld.C0 = rlegweld.C0:lerp(origrlegc0,0.1)
  205. headweld.C0 = headweld.C0:lerp(origheadc0,0.1)
  206. rj.C1 = rj.C1:lerp(origrjc1,0.1)
  207. larmweld.C0 = larmweld.C0:lerp(larmweld.C0*CFrame.Angles(math.rad(65),0,math.rad(55)),0.1)
  208. rarmweld.C0 = rarmweld.C0:lerp(rarmweld.C0*CFrame.Angles(math.rad(45),0,-math.rad(55)),0.1)
  209. larmweld.C0 = larmweld.C0:lerp(larmweld.C0*CFrame.new(0,-0.7,0),0.1)
  210. rarmweld.C0 = rarmweld.C0:lerp(rarmweld.C0*CFrame.new(0,-0.7,0),0.1)
  211. llegweld.C0 = llegweld.C0:lerp(llegweld.C0*CFrame.Angles(-math.rad(10),0,-math.rad(5)),0.1)
  212. rlegweld.C0 = rlegweld.C0:lerp(rlegweld.C0*CFrame.Angles(-math.rad(10),0,math.rad(5)),0.1)
  213. rj.C1 = rj.C1:lerp(origrjc1,0.1)
  214. end
  215. end)
  216.  
  217. mouse.KeyDown:connect(function(key)
  218. if key == "x" and deb_h == false then
  219. deb_h = true
  220. chat:Chat(head,"Redemption's Inevitable Downfall",Enum.ChatColor.Red)
  221. local cce = Instance.new("ColorCorrectionEffect",lighting)
  222. cce.TintColor = Color3.new(1,0,0)
  223. for i=0,1,0.005 do
  224. cce.Brightness = i
  225. wait()
  226. end
  227. for _,c in next,workspace:children() do
  228. if c:FindFirstChild("Humanoid") and c.Name ~= plr.Character.Name then
  229. c.Humanoid.MaxHealth = 100
  230. c.Humanoid.Health = c.Humanoid.Health-math.random(60,99)
  231. end
  232. end
  233. cce:Destroy()
  234. spawn(function()
  235. wait(0)
  236. deb_h = false
  237. end)
  238. elseif key == "z" and deb_t == false then
  239. deb_t = true
  240. chat:Chat(head,"Redemption's Absolution",Enum.ChatColor.Red)
  241. for _,c in next,workspace:children() do
  242. if c:FindFirstChild("Humanoid") and c.Name ~= plr.Character.Name and c:FindFirstChild("Head") then
  243. local fire = Instance.new("Fire",c.Head)
  244. fire.Size = 30
  245. fire.Heat = 25
  246. fire.Color = Color3.new(65/255,0,0)
  247. fire.SecondaryColor = Color3.new(0,0,0)
  248. spawn(function()
  249. for i=1,math.random(1,10) do
  250. if c:FindFirstChild("Humanoid") then
  251. c.Humanoid.Health = c.Humanoid.Health-math.random(1,5)
  252. wait()
  253. else
  254. break
  255. end
  256. end
  257. spawn(function()
  258. wait(0)
  259. if fire then
  260. fire:Destroy()
  261. end
  262. end)
  263. end)
  264. end
  265. end
  266. spawn(function()
  267. wait(0)
  268. deb_t = false
  269. end)
  270. end
  271. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement