Advertisement
Mz_TH_edit

All script

Jul 26th, 2019
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.55 KB | None | 0 0
  1. ----------//MASTER OF ELEMENTS\\-----------
  2. --[[Movelist
  3. Q = Water Barrier
  4. E = Rock Tower Blast
  5. R = Fireball
  6. T = Taunt
  7. F = Avatar state(Press again to turn back to nomal, makes you insanely powerful!)
  8. Y = Pulsar
  9. U = Rock Shield
  10. P = Hellstorm
  11. G = Large Gust
  12. H = Wind Rush(Press again to stop)
  13. J = The Zerstörer
  14. K = Hydra
  15. L = The Twister
  16. C = Water totem(When active, makes all rock attacks do more damage)(Only one can be activated at a time)(Press again to stop)
  17. V = Fire totem(When active, makes all fire attacks do more damage)(Only one can be activated at a time)(Press again to stop)
  18. B = Air totem(When active, makes all air attacks do more damage)(Only one can be activated at a time)(Press again to stop)
  19. N = Rock totem(When active, makes all water attacks do more damage)(Only one can be activated at a time)(Press again to stop)
  20. ---------]]
  21.  
  22. --And here's another one leaked! Stop stealing from me skids.--
  23. --Please go easy on the moves, this script can hit the part limit VERY fast, so be warned.--
  24. --To be honest, i dislike making Vereus, to see so many skids getting butthurt about it saddens me, it was piss easy to make and it's incredibly unoriginal.--
  25. --You see the amount of attacks? This is what i'm capable of when my shit DOESN'T get stolen whilst in development, take note skids.--
  26. --This is my biggest project yet.--
  27. --For the people who had it before the leak, cry about it, for the people who didn't have it before the leak, enjoy it!--
  28.  
  29. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
  30. do
  31. script.Parent = owner.Character
  32. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  33. local function NewFakeEvent()
  34. local Bind = Instance.new("BindableEvent")
  35. local Fake;Fake = {Connections = {},
  36. fakeEvent=true;
  37. Connect=function(self,Func)
  38. Bind.Event:connect(Func)
  39. self.Connections[Bind] = true
  40. return setmetatable({Connected = true},{
  41. __index = function (self,Index)
  42. if Index:lower() == "disconnect" then
  43. return function() Fake.Connections[Bind] = false;self.Connected = false end
  44. end
  45. return Fake[Index]
  46. end;
  47. __tostring = function() return "Connection" end;
  48. })
  49. end}
  50. Fake.connect = Fake.Connect;return Fake;
  51. end
  52. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  53. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  54. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  55. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  56. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  57. local function TriggerEvent(self,Event,...)
  58. local Trigger = Mouse[Event]
  59. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  60. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  61. end
  62. end
  63. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  64. Event.OnServerEvent:Connect(function(FiredBy,Input)
  65. if FiredBy.Name ~= owner.Name then return end
  66. if Input.MouseEvent then
  67. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  68. else
  69. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  70. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  71. for _,Action in pairs(ContextActionService.Actions) do
  72. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  73. end
  74. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  75. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  76. end
  77. end)
  78. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  79. Event.Parent = NLS([[
  80. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  81. local Input = function(Input,gameProcessedEvent)
  82. if gameProcessedEvent then return end
  83. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  84. end
  85. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  86. local Hit,Target
  87. while wait(1/30) do
  88. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  89. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  90. end
  91. end
  92. ]],owner.Character)
  93. end
  94. RealGame = game;game = setmetatable({},{
  95. __index = function (self,Index)
  96. local Sandbox = function (Thing)
  97. if Thing:IsA("Player") then
  98. local RealPlayer = Thing
  99. return setmetatable({},{
  100. __index = function (self,Index)
  101. local Type = type(RealPlayer[Index])
  102. if Type == "function" then
  103. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  104. return function (self)return InternalData["Mouse"] end
  105. end
  106. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  107. end
  108. return RealPlayer[Index]
  109. end;
  110. __tostring = function(self) return RealPlayer.Name end
  111. })
  112. end
  113. end
  114. if RealGame[Index] then
  115. local Type = type(RealGame[Index])
  116. if Type == "function" then
  117. if Index:lower() == "getservice" or Index:lower() == "service" then
  118. return function (self,Service)
  119. local FakeServices = {
  120. ["players"] = function()
  121. return setmetatable({},{
  122. __index = function (self2,Index2)
  123. local RealService = RealGame:GetService(Service)
  124. local Type2 = type(Index2)
  125. if Type2 == "function" then
  126. return function (self,...) return RealService[Index2](RealService,...)end
  127. else
  128. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  129. return RealService[Index2]
  130. end
  131. end;
  132. __tostring = function(self) return RealGame:GetService(Service).Name end
  133. })
  134. end;
  135. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  136. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  137. ["runservice"] = function()
  138. return setmetatable({},{
  139. __index = function(self2,Index2)
  140. local RealService = RealGame:GetService(Service)
  141. local Type2 = type(Index2)
  142. if Type2 == "function" then
  143. return function (self,...) return RealService[Index2](RealService,...) end
  144. else
  145. local RunServices = {
  146. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  147. ["renderstepped"] = function() return RealService["Stepped"] end
  148. }
  149. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  150. return RealService[Index2]
  151. end
  152. end
  153. })
  154. end
  155. }
  156. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  157. return RealGame:GetService(Service)
  158. end
  159. end
  160. return function (self,...) return RealGame[Index](RealGame,...) end
  161. else
  162. if game:GetService(Index) then return game:GetService(Index) end
  163. return RealGame[Index]
  164. end
  165. end
  166. return nil
  167. end
  168. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement