Advertisement
Guest User

Untitled

a guest
Apr 24th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.83 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility by WaverlyCole & Fireboltofdeath");print("https://github.com/WaverlyCole/FE-Compatibility-VoidSb-")
  2. local Wrapper = {};Wrapper.Fake = {};Wrapper.Real = {};Wrapper.Data = {};
  3. local sGame = game;local sScript = script;local sOwner = owner;local sInstance = Instance;local sLoadLibrary = LoadLibrary
  4. Wrapper.Event = Instance.new("RemoteEvent");Wrapper.Event.Name = "UserInput";
  5. Wrapper.CreateObject = function(connections, index)
  6. local proxy = newproxy (true);local meta = getmetatable (proxy);
  7. local runbind = function (self, i, ...) connections[i]:Fire (...); end;
  8. while (#connections > 0) do connections[table.remove(connections, 1)] = Instance.new ('BindableEvent');end;
  9. meta.__index = function (self, i)
  10. if (i == 'TriggerEvent') then return runbind end;
  11. return connections[i] and connections[i].Event or index[i];
  12. end;
  13. meta.__newindex = index;meta.__metatable = false;return proxy
  14. end;
  15. Wrapper.Mouse = Wrapper.CreateObject({"KeyUp","KeyDown","Button1Down","Button1Up","Move","Button2Down","Button2Up"},{["Target"] = nil;["Hit"] = CFrame.new()})
  16. Wrapper.UserInputService = Wrapper.CreateObject({"InputBegan","InputEnded"},{})
  17. Wrapper.ContextActionService = {Actions={};BindAction = function(self,actionName,Func,touch,...)self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil end;UnBindAction = function(self,actionName,Func,touch,...)self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil end};
  18. Wrapper.Sandbox = function(...)
  19. local Unwrap = {...};
  20. for obi = 1,#Unwrap do
  21. local Object = Unwrap[obi];
  22. if (Wrapper.Fake[Object] == nil and Wrapper.Real[Object] == nil) then
  23. local Type = typeof(Object);local Replacement = Object;
  24. if (Type == "function") then
  25. Replacement = function(...)
  26. local IsRoblox = not (pcall(function() string.dump(Object) end))
  27. if IsRoblox then
  28. return Object(Wrapper.Unsandbox(...))
  29. end
  30. return Object(Wrapper.Sandbox(...))
  31. end
  32. elseif (Type == "table") then
  33. Replacement = {};
  34. setmetatable(Replacement, {
  35. __index = function(self, i)
  36. return Wrapper.Sandbox(Object[Wrapper.Unsandbox(i)])
  37. end,
  38. __newindex = function(self,i,v)
  39. Object[Wrapper.Unsandbox(i)] = Wrapper.Unsandbox(v)
  40. end;
  41. })
  42. elseif (Type == "Instance") then
  43. Replacement = newproxy(true);
  44. local Mt = getmetatable(Replacement);
  45. Mt.__namecall = function(self, ...)
  46. local Pack = {...};local Name = Pack[#Pack];table.remove(Pack, #Pack);
  47. local Rest = nil;pcall(function()Rest = Object[Name];end);
  48. for g, x in pairs (Wrapper.InstanceMT["GET"]) do
  49. if (Object:IsA(g) or g == "Global") then
  50. for t, v in pairs(x) do
  51. for str in string.gmatch(t .. ",", "(%w+),") do
  52. if (Name == str) then
  53. if typeof(v) == "function" then
  54. return Wrapper.Sandbox(v(Wrapper.Unsandbox(self), Wrapper.Unsandbox(unpack(Pack))))
  55. else
  56. return v;
  57. end
  58. end
  59. end
  60. end
  61. end
  62. end
  63. if (Rest == nil) then
  64. if Wrapper.Sandbox(sGame):GetService(unpack(Pack)) then return Wrapper.Sandbox(sGame):GetService(unpack(Pack))end;
  65. return Wrapper.Sandbox(Object[Name]);
  66. elseif (typeof(Rest) == "function") then
  67. return Wrapper.Sandbox(Rest(Wrapper.Unsandbox(self), Wrapper.Unsandbox(unpack(Pack))))
  68. end
  69. return Wrapper.Sandbox(Object[Name]);
  70. end
  71. Mt.__index = function(self, i)
  72. local Rest = nil;pcall(function()Rest = Object[i];end)
  73. for g, x in pairs (Wrapper.InstanceMT["GET"]) do
  74. if (Object:IsA(g) or g == "Global") then
  75. for t, v in pairs(x) do
  76. for str in string.gmatch(t .. ",", "(%w+),") do
  77. if (i == str) then
  78. if typeof(v) == "function" then
  79. return function(...)return Wrapper.Sandbox(v(Wrapper.Unsandbox(self), Wrapper.Unsandbox(...)))end;
  80. else
  81. return v;
  82. end
  83. end
  84. end
  85. end
  86. end
  87. end
  88. if (Object:IsA("Sound") and i == "PlaybackLoudness") then return Wrapper.SoundLoudness[Wrapper.Unsandbox(Object)];end;
  89. if (Rest == nil) then
  90. if Wrapper.Sandbox(sGame):GetService(i) then return Wrapper.Sandbox(sGame):GetService(i)end;
  91. return Wrapper.Sandbox(Object[i]);
  92. elseif (typeof(Rest) == "function") then
  93. local isService,Service = pcall(function() return sGame:GetService(i) end)
  94. if isService and Service then return Wrapper.Sandbox(Service) end
  95. return function(self, ...)
  96. return Wrapper.Sandbox(Rest(Wrapper.Unsandbox(self), Wrapper.Unsandbox(...)))
  97. end
  98. end
  99. return Wrapper.Sandbox(Object[i]);
  100. end
  101. Mt.__newindex = function(self, i, v)
  102. for g,x in pairs (Wrapper.InstanceMT["SET"]) do
  103. if (Object:IsA(g)) then
  104. for t, v in pairs(x) do
  105. for str in string.gmatch( t .. ",", "(%w+),") do
  106. if v(Wrapper.Unsandbox(self, i, v)) == true then
  107. Object[Wrapper.Unsandbox(i)] = Wrapper.Unsandbox(v);return
  108. end
  109. end
  110. end
  111. end
  112. end
  113. Object[Wrapper.Unsandbox(i)] = Wrapper.Unsandbox(v);
  114. end
  115. Mt.__tostring = function(self) return tostring(Object) end
  116. --elseif (Type == "") then -- Etc
  117. end
  118. Wrapper.Fake[Object] = Replacement;Wrapper.Real[Replacement] = Object;Unwrap[obi] = Replacement;
  119. else
  120. return Wrapper.Fake[Object] or Object;
  121. end
  122. end
  123. return unpack(Unwrap);
  124. end
  125. Wrapper.Unsandbox = function(...)
  126. local Unsandbox = {...};
  127. for i,v in pairs (Unsandbox) do Unsandbox[i] = Wrapper.Real[v] or Unsandbox[i]end;
  128. return unpack(Unsandbox)
  129. end
  130. Wrapper.Services = {
  131. ['contextactionservice'] = Wrapper.ContextActionService;
  132. ["userinputservice"] = Wrapper.UserInputService;
  133. }
  134. Wrapper.InstanceMT = {
  135. ["GET"] = {
  136. ["Global"] = {
  137. ["IsFake,isFake"] = function(self)return true;end;
  138. };
  139. ["Player"] = {
  140. ["mouse,Mouse,getMouse,GetMouse"] = function(self)return Wrapper.Mouse;end;
  141. };
  142. ["Players"] = {
  143. ["localPlayer,LocalPlayer"] = Wrapper.Sandbox(owner)
  144. };
  145. ["DataModel"] = {
  146. ["getService,GetService"] = function(self,service)
  147. if Wrapper.Services[service:lower()] then return Wrapper.Sandbox(Wrapper.Services[service:lower()])end;
  148. return Wrapper.Sandbox(sGame:GetService(service))
  149. end
  150. };
  151. ["RunService"] = {
  152. ["renderstepped,renderStepped,RenderStepped"] = sGame:GetService("RunService").Stepped;
  153. }
  154. };
  155. ["SET"] = {
  156. }
  157. }
  158. Wrapper.SoundLoudness = {};
  159. Wrapper.Event.OnServerEvent:Connect(function(FiredBy,Input)
  160. if FiredBy ~= sOwner then return end
  161. if Input.MouseEvent then
  162. Wrapper.Mouse.Target = Input.Target;Wrapper.Mouse.Hit = Input.Hit;Wrapper.Mouse:TriggerEvent("Move")
  163. elseif Input.Sound then
  164. if Wrapper.SoundLoudness[Input.Sound] then Wrapper.SoundLoudness[Input.Sound] = Input.Loudness end
  165. else
  166. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  167. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Wrapper.Mouse:TriggerEvent(Begin and "Button1Down" or "Button1Up") end
  168. if Input.UserInputType == Enum.UserInputType.MouseButton2 then return Wrapper.Mouse:TriggerEvent(Begin and "Button2Down" or "Button2Up") end
  169. for _,Action in pairs(Wrapper.ContextActionService.Actions) do
  170. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  171. end
  172. Wrapper.Mouse:TriggerEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower());Wrapper.UserInputService:TriggerEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  173. end
  174. end);
  175. Wrapper.Event.Parent = NLS([[
  176. local Player = owner;local Sounds = {};local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse();
  177. local Input = function(Input,gameProcessedEvent)
  178. if gameProcessedEvent then return end;
  179. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  180. end
  181. Event.OnClientEvent:connect(function(Args)
  182. if Args[1] == "NewSound" and Args[2]:IsA("Sound") then table.insert(Sounds,Args[2]) end
  183. end)
  184. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  185. local Hit,Target;while wait(1/30) do
  186. for x,Sound in pairs(Sounds) do if Sound.Parent then Event:FireServer({["Sound"]=Sound,["Loudness"]=Sound.PlaybackLoudness}) end; end;
  187. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  188. Hit = Mouse.Hit;Target = Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  189. end
  190. end]],sOwner.Character)
  191. Instance = {
  192. ["new"] = function(Type,Parent)
  193. local Real = sInstance.new(Type,Wrapper.Unsandbox(Parent))
  194. if Type:lower() == "sound" then
  195. if not Parent then
  196. Parent = sOwner.Character
  197. end
  198. Wrapper.SoundLoudness[Real] = 0;Wrapper.Event:FireClient(sOwner,{"NewSound",Real})
  199. end
  200. return Wrapper.Sandbox(Real)
  201. end
  202. }
  203. LoadLibrary = function(Library)
  204. if Library == "RbxUtility" then
  205. return setmetatable({},{
  206. __tostring = function() return "RbxUtility" end;
  207. __index = function(self, Index)
  208. if Index:lower() == "create" then
  209. return function(Type) return function(Data)
  210. Data = Data or {};local Inst = Instance.new(Type)
  211. for x,y in pairs(Data) do Inst[x] = y end
  212. return Inst
  213. end;end;
  214. end
  215. return sLoadLibrary(Library)[Index]
  216. end})
  217. end
  218. return sLoadLibrary(Library)
  219. end
  220. owner = Wrapper.Sandbox(owner);game = Wrapper.Sandbox(game)workspace = Wrapper.Sandbox(workspace)
  221. Game= game;Workspace = workspace;
  222.  
  223. --The God of Infinity Hope
  224. --actuary im edge lord lol
  225. --Added wait motion and teleport, commands
  226. script.Parent=nil name="Hope"local col=Color3.new(1,0,0)Mute=false local waitanim=0 Stand=false
  227. Players=game:FindFirstChildOfClass("Players")
  228. Lighting=game:FindFirstChildOfClass("Lighting")
  229. PL=Players.LocalPlayer CCamera=workspace.CurrentCamera
  230. debri=function(Item,Ltime)game:GetService("Debris"):AddItem(Item,Ltime)end
  231. function Rainbow(part)part.Color=col spawn(function()while part.Parent and wait()do part.Color=col end end)end
  232. local ang=90 local Mouse=PL:GetMouse()Active=false
  233. if PL.Character then if PL.Character:FindFirstChild("HumanoidRootPart")~=nil then MP=PL.Character.HumanoidRootPart.CFrame else MP=CFrame.new(0,3,0)end else MP=CFrame.new(0,3,0)end
  234. local HP=CFrame.new()local TP=CFrame.new()local LLP=CFrame.new()local RLP=CFrame.new()local LRP=CFrame.new()local RRP=CFrame.new()
  235. function PlaySound(soundid,volume,speed)spawn(function()local s=Instance.new("Sound",workspace)s.SoundId=soundid s.PlayOnRemove=true s.Volume=volume if speed~=nil then s.PlaybackSpeed=speed end s:Play()wait(5)s.Volume=0 s:Remove()end)end
  236. function CreateMesh(MeshId,Parent)local mesh=Instance.new("SpecialMesh",Parent)mesh.MeshId=MeshId return mesh end
  237. function so(Id,Volume,spd)
  238. if PL:FindFirstChild("Sound")then if PL.Sound:FindFirstChildOfClass("Sound")==nil then Instance.new("Sound",PL.Sound)end local smo=PL.Sound:Clone()local e=smo:FindFirstChildOfClass("Sound")e.SoundId=Id e.Volume=Volume if spd~=nil then e.PlaybackSpeed=spd e:Play()smo.Parent=workspace debri(smo,7)end
  239. else local m=Instance.new("Model",PL)m.Name="Sound"Instance.new("Sound",m)local smo=m:Clone()local e=smo:FindFirstChildOfClass("Sound")e.SoundId=Id e.Volume=Volume if spd~=nil then e.PlaybackSpeed=spd debri(smo,7)end
  240. end
  241. end
  242. function CreatePart(Material,Color,Anchored,Collide,Size,Shape)
  243. local part=Instance.new("Part")part.Name=name part.Material=Material if Color=="Rainbow"then Rainbow(part)else part.Color=Color end if Anchored then a(part)end part.CanCollide=Collide part.Size=Size if Shape~=nil then part.Shape=Shape end
  244. part.Locked=true return part
  245. end
  246. function CreateExplosion(BlastPressure,BlastRadius,Position)
  247. if PL:FindFirstChild("Explosion")then if PL.Explosion:FindFirstChildOfClass("Explosion")==nil then Instance.new("Explosion",PL.Explosion)end local exp=PL.Explosion:Clone()local e=exp:FindFirstChildOfClass("Explosion")e.Position=Position e.BlastRadius=BlastRadius e.BlastPressure=BlastPressure game:GetService("Debris"):AddItem(exp,5)exp.Parent=workspace return e
  248. else local m=Instance.new("Model",PL)m.Name="Explosion"Instance.new("Explosion",m)local exp=m:Clone()local e=exp:FindFirstChildOfClass("Explosion")e.BlastRadius=BlastRadius e.BlastPressure=BlastPressure e.Position=Position game:GetService("Debris"):AddItem(exp,5)exp.Parent=workspace return e
  249. end
  250. end
  251. function FindHumanoid(Part)
  252. local humanoid=nil
  253. if tostring(Part.Parent)~=PL.Name and Part.Parent
  254. then if Part.Parent:FindFirstChildOfClass("Humanoid")~=nil then humanoid=Part.Parent:FindFirstChildOfClass("Humanoid")else if Part.Parent.Parent then if Part.Parent.Parent:FindFirstChildOfClass("Humanoid")and Part.Parent.Parent.Name~=PL.Name then humanoid=Part.Parent.Parent:FindFirstChildOfClass("Humanoid")end end end
  255. end
  256. return humanoid
  257. end
  258. function Getidk(Position1,Position2)local part=Instance.new("Part")part.CFrame=CFrame.new(Position1,Position2)debri(part,.1)return part.CFrame end
  259. function a(part)local j=Instance.new("BodyVelocity",part)j.MaxForce=Vector3.new(1/0,1/0,1/0)j.Velocity=Vector3.new(0,0,0)end
  260. function mov(part,vec3)local j=Instance.new("BodyVelocity",part)j.MaxForce=Vector3.new(1/0,1/0,1/0)j.Velocity=vec3 end
  261. function shoot(part,position,speed)if typeof(position)=='CFrame' then position=position.p end part.CFrame=CFrame.new(part.Position,position)mov(part,part.Position-(part.CFrame*CFrame.new(0,0,speed)).p)end
  262. function Animation(table,speed)HP=HP:lerp(table[1],speed)TP=TP:lerp(table[2],speed)RRP=RRP:lerp(table[3],speed)LRP=LRP:lerp(table[4],speed)RLP=RLP:lerp(table[5],speed)LLP=LLP:lerp(table[6],speed)end
  263. Animation({
  264. CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),
  265. CFrame.new(0,0,0)*CFrame.Angles(0,0,0),
  266. CFrame.new(-1.5,0,0)*CFrame.Angles(0,0,0),
  267. CFrame.new(1.5,0,0)*CFrame.Angles(0,0,0),
  268. CFrame.new(.5,-2,0)*CFrame.Angles(0,0,0),
  269. CFrame.new(-.5,-2,0)*CFrame.Angles(0,0,0)
  270. },1)
  271. add=5 flg5=1 cR=255 cG=0 cB=0
  272. walkW=false walkA=false walkS=false walkD=false keyR=false keyF=false
  273. sys=coroutine.create(function()
  274. local c=0
  275. while wait()do
  276. if not Active then Stand=false else waitanim=0 end
  277. waitanim=waitanim+1
  278. if cR>=255 then flg5=1 end
  279. if cG>=255 then flg5=2 end
  280. if cB>=255 then flg5=3 end
  281. if flg5==1 then cR=cR-add cG=cG+add end
  282. if flg5==2 then cG=cG-add cB=cB+add end
  283. if flg5==3 then cB=cB-add cR=cR+add end
  284. col=Color3.fromRGB(cR,cG,cB)
  285. if PL:FindFirstChild("Music")then if PL.Music.Playing then if Mute then PL.Music.Volume=0 PL.Music.PlaybackSpeed=0 else PL.Music.Volume=5 PL.Music.PlaybackSpeed=1 end else PL.Music.Looped=true PL.Music.Volume=5 PL.Music.PlaybackSpeed=1 PL.Music.SoundId="rbxassetid://306154368"PL.Music:Play()end
  286. else if not Mute then local s=Instance.new("Sound",PL)s.SoundId="rbxassetid://306154368"s.Name="Music"s.Volume=5 s.Looped=true s:Play()end end
  287. if PL.Character then PL.Character:Destroy()end
  288. local model=Instance.new("Model")model.Name=tostring(PL)
  289. local Head=Instance.new("Part",model)local mesh=Instance.new("SpecialMesh",Head)Head.Size=Vector3.new(2,1,1)mesh.MeshType="Head"mesh.Scale=Vector3.new(1.25,1.25,1.25)Head.Color=col Head.Transparency=.8 Head.Anchored=true Head.CanCollide=false debri(Head,5)
  290. local Torso=Instance.new("Part",model)Torso.Material="Neon"Torso.Size=Vector3.new(2,2,1)Torso.Orientation=Vector3.new(0,0,0)Torso.Color=col Torso.Transparency=.8 Torso.Anchored=true Torso.CanCollide=false debri(Torso,5)
  291. local HRPart=Instance.new("Part",model)HRPart.Material="Neon"HRPart.Size=Vector3.new(2,2,1)HRPart.Orientation=Vector3.new(0,0,0)HRPart.Color=col HRPart.Transparency=1 HRPart.Anchored=true HRPart.CanCollide=false
  292. local LLeg=Instance.new("Part",model)LLeg.Material="Neon"LLeg.Size=Vector3.new(1,2,1)LLeg.Orientation=Vector3.new(0,0,0)LLeg.Color=col LLeg.Transparency=.8 LLeg.Anchored=true LLeg.CanCollide=false debri(LLeg,5)
  293. local RLeg=Instance.new("Part",model)RLeg.Material="Neon"RLeg.Size=Vector3.new(1,2,1)RLeg.Orientation=Vector3.new(0,0,0)RLeg.Color=col RLeg.Transparency=.8 RLeg.Anchored=true RLeg.CanCollide=false debri(RLeg,5)
  294. local LArm=Instance.new("Part",model)LArm.Material="Neon"LArm.Size=Vector3.new(1,2,1)LArm.Orientation=Vector3.new(0,0,0)LArm.Color=col LArm.Transparency=.8 LArm.Anchored=true LArm.CanCollide=false debri(LArm,5)
  295. local RArm=Instance.new("Part",model)RArm.Material="Neon"RArm.Size=Vector3.new(1,2,1)RArm.Orientation=Vector3.new(0,0,0)RArm.Color=col RArm.Transparency=.8 RArm.Anchored=true RArm.CanCollide=false debri(RArm,5)
  296. local tt=Instance.new("BillboardGui",Head)tt.Size=UDim2.new(1000,0,2,0)tt.AlwaysOnTop=true tt.StudsOffset=Vector3.new(0,math.sin(c)/3+1.25,0)
  297. local te=Instance.new("TextLabel",tt)te.Size=UDim2.new(1,0,1,0)te.Text="The God of Infinite Hope"te.BackgroundTransparency=1 te.FontSize="Size24"te.TextScaled=true te.TextColor3=col te.Font="Fantasy"
  298. HRPart.Name="HumanoidRootPart"Head.Name="Head"Torso.Name="Torso"LLeg.Name="Left Leg"RLeg.Name="Right Leg"LArm.Name="Left Arm"RArm.Name="Right Arm"
  299. HRPart.CFrame=MP
  300. CCamera.CameraSubject=HRPart
  301. Torso.CFrame=MP*TP
  302. Head.CFrame=Torso.CFrame*HP
  303. LLeg.CFrame=Torso.CFrame*RRP
  304. RLeg.CFrame=Torso.CFrame*LRP
  305. LArm.CFrame=Torso.CFrame*RLP
  306. RArm.CFrame=Torso.CFrame*LLP
  307. model.Parent=workspace
  308. PL:FindFirstChildOfClass("Backpack"):ClearAllChildren()
  309. c=c+.1
  310. if not Stand then if walkA or walkD or walkS or walkW then MP=CFrame.new(MP.p,Vector3.new(CCamera.CoordinateFrame.x,MP.y,CCamera.CoordinateFrame.z))waitanim=0 else
  311. if not Active then if waitanim<120 then Animation({
  312. CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),
  313. CFrame.new(0,0,0)*CFrame.Angles(0,0,0),
  314. CFrame.new(-1.5,0,0)*CFrame.Angles(0,0,0),
  315. CFrame.new(1.5,0,0)*CFrame.Angles(0,0,0),
  316. CFrame.new(.5,-2,0)*CFrame.Angles(0,0,0),
  317. CFrame.new(-.5,-2,0)*CFrame.Angles(0,0,0)
  318. },.1)else Animation({
  319. CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),
  320. CFrame.new(0,math.sin(c)/5,0)*CFrame.Angles(0,0,0),
  321. CFrame.new(-.4,.3,.5)*CFrame.Angles(-1.5,0,math.rad(80)),
  322. CFrame.new(.4,.3,.5)*CFrame.Angles(-1.5,0,math.rad(-80)),
  323. CFrame.new(.5,-2,0)*CFrame.Angles(0,0,.1),
  324. CFrame.new(-.5,-2,0)*CFrame.Angles(0,0,-.1)
  325. },.1)end
  326. end end end
  327. if walkW and not Stand then MP=MP*CFrame.new(0,0,1)if not Active then Animation({
  328. CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),
  329. CFrame.new(0,0,0)*CFrame.Angles(1,0,0),
  330. CFrame.new(-1.5,0,0)*CFrame.Angles(0,0,-.5),
  331. CFrame.new(1.5,0,0)*CFrame.Angles(0,0,.5),
  332. CFrame.new(.5,-2,0)*CFrame.Angles(0,0,.3),
  333. CFrame.new(-.5,-2,0)*CFrame.Angles(0,0,-.3)
  334. },.1)end end
  335. if walkS and not Stand then MP=MP*CFrame.new(0,0,-1)if not Active then Animation({
  336. CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),
  337. CFrame.new(0,0,0)*CFrame.Angles(-1,0,0),
  338. CFrame.new(-1.5,0,0)*CFrame.Angles(0,0,-.5),
  339. CFrame.new(1.5,0,0)*CFrame.Angles(0,0,.5),
  340. CFrame.new(.5,-2,0)*CFrame.Angles(0,0,.3),
  341. CFrame.new(-.5,-2,0)*CFrame.Angles(0,0,-.3)
  342. },.1)end end
  343. if walkA and not Stand then MP=MP*CFrame.new(1,0,0)end
  344. if walkD and not Stand then MP=MP*CFrame.new(-1,0,0)end
  345. if keyR and not Stand then MP=MP*CFrame.new(0,1,0)end
  346. if keyF and not Stand then MP=MP*CFrame.new(0,-1,0)end
  347. if HRPart then HRPart:Remove()end
  348. spawn(function()for i=1,10 do local c=model:GetChildren()for i2=1,#c do c[i2].Transparency=.8+i/50 te.TextTransparency=i/10 end wait()end model:Remove()end)
  349. debri(model,5)
  350. end
  351. end)
  352. coroutine.resume(sys)
  353.  
  354. function Check(part)if part.Name~=name and tostring(part.Parent)~=PL.Name then return true else return false end end
  355. --so("rbxassetid://341336144",5,1)so("rbxassetid://341336159",5,1)
  356. game:GetService("UserInputService").InputBegan:connect(function(Key, Gpe)
  357. if not Gpe then
  358. if Key.KeyCode==Enum.KeyCode.Z and not Active then
  359. local shot=coroutine.create(
  360. function()local pos=MP
  361. so("rbxassetid://341336159",5,1)
  362. local idk5=CreatePart("Neon","Rainbow",false,false,Vector3.new(5,5,5),"Ball")idk5.CFrame=pos+Vector3.new(0,15,0)idk5.Parent=workspace
  363. idk5.Touched:connect(function(pt)if Check(pt)then local pos2=idk5.CFrame idk5:Remove()so("rbxassetid://341336499",5,1)
  364. local p=CreatePart("Neon","Rainbow",true,false,Vector3.new(0),"Ball")p.CFrame=pos2 p.Parent=workspace
  365. local ef1=CreatePart("Neon","Rainbow",true,false,Vector3.new(),"Ball")local m1=CreateMesh("rbxassetid://3270017",ef1)ef1.CFrame=pos2*CFrame.Angles(math.rad(math.random(360)),math.rad(math.random(360)),math.rad(math.random(360)))
  366. local ef2=CreatePart("Neon","Rainbow",true,false,Vector3.new(),"Ball")local m2=CreateMesh("rbxassetid://3270017",ef2)ef2.CFrame=pos2*CFrame.Angles(math.rad(math.random(360)),math.rad(math.random(360)),math.rad(math.random(360)))
  367. ef1.Parent=workspace ef2.Parent=workspace
  368. spawn(function()for i=1,25 do p.Size=Vector3.new(i*2+5,i*2+5,i*2+5)p.Transparency=i/25 p.CFrame=pos2 m1.Scale=Vector3.new(i*8,i*8,5)m2.Scale=m1.Scale ef1.Transparency=i/15 ef2.Transparency=i/15 wait()end p:Remove()ef1:Remove()ef2:Remove()end)
  369. p.Touched:connect(function(pt)if Check(pt)then if pt.Parent then pt:BreakJoints()end end end)
  370. end end)debri(idk5,30)
  371. shoot(idk5,Mouse.hit,40)end)
  372. coroutine.resume(shot)
  373. elseif Key.KeyCode==Enum.KeyCode.X and not Active then
  374. local lightning=coroutine.create(function()
  375. local pos=CFrame.new(Mouse.Hit.p) local d=10
  376. local part={}
  377. local exp=CreateExplosion(1/0,25,pos.p)exp.Visible=false
  378. exp.Hit:connect(function(pt)if Check(pt)then pt.Anchored=false end end)
  379. local ef=CreatePart("Neon","Rainbow",true,false,Vector3.new(3,3,3),"Ball")ef.Position=pos.p ef.Parent=workspace ef.Anchored=true
  380. spawn(function()for i=1,30 do ef.Transparency=i/30 ef.Size=Vector3.new(i+3,i+3,i+3)wait()end ef:Remove()end)
  381. for i=1,50 do
  382. d=d+.8
  383. part[i]=Instance.new("Part")part[i].Name=name part[i].Size=Vector3.new(2,10,2)part[i].CFrame=pos part[i].Material="Neon"part[i].Parent=workspace part[i].Anchored=true
  384. pos=part[i].CFrame*CFrame.new(0,9,0)*CFrame.Angles(math.rad(math.random(d)-math.random(d)),math.rad(math.random(d)-math.random(d)),math.rad(math.random(d)-math.random(d)))
  385. end
  386. so("rbxassetid://341336446",2,1)so("rbxassetid://341336459",2,1)
  387. for i2=1,25 do
  388. for i=1,50 do
  389. part[i].Transparency=i2/25
  390. part[i].Color=col
  391. end
  392. wait()
  393. end
  394. for i=1,50 do
  395. part[i]:Remove()
  396. end end)
  397. coroutine.resume(lightning)
  398. elseif Key.KeyCode==Enum.KeyCode.T and not Active then
  399. so("rbxassetid://2767090",2,1)
  400. MP=CFrame.new(Mouse.Hit.p)
  401. end
  402. end
  403. end)
  404. Mouse.KeyDown:connect(function(key)
  405. if key=="w"then
  406. walkW=true
  407. Mouse.KeyUp:connect(function(key)if key=="w" then walkW=false end end)
  408. end
  409. if key=="s"then
  410. walkS=true
  411. Mouse.KeyUp:connect(function(key)if key=="s" then walkS=false end end)
  412. end
  413. if key=="a"then
  414. walkA=true
  415. Mouse.KeyUp:connect(function(key)if key=="a" then walkA=false end end)
  416. end
  417. if key=="d"then
  418. walkD=true
  419. Mouse.KeyUp:connect(function(key)if key=="d" then walkD=false end end)
  420. end
  421. if key=="r"then
  422. keyR=true waitanim=0
  423. Mouse.KeyUp:connect(function(key)if key=="r" then keyR=false end end)
  424. end
  425. if key=="f"then
  426. keyF=true waitanim=0
  427. Mouse.KeyUp:connect(function(key)if key=="f" then keyF=false end end)
  428. end
  429. end)
  430. NormalAttack=0
  431. Mouse.Button1Down:connect(function()
  432. if not Active then
  433. Active=true
  434. if NormalAttack==0 then
  435. NormalAttack=1
  436. Animation({
  437. CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),
  438. CFrame.new(0,0,0)*CFrame.Angles(0,0,0),
  439. CFrame.new(-1.5,0,0)*CFrame.Angles(.5,0,-1),
  440. CFrame.new(1.5,0,0)*CFrame.Angles(0,0,0),
  441. CFrame.new(.5,-2,0)*CFrame.Angles(0,0,0),
  442. CFrame.new(-.5,-2,0)*CFrame.Angles(0,0,0)
  443. },1)
  444. for i=1,40 do
  445. Animation({
  446. CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),
  447. CFrame.new(0,0,0)*CFrame.Angles(0,-4,0),
  448. CFrame.new(-1.7,.5,0)*CFrame.Angles(.5,0,-1.5),
  449. CFrame.new(1.5,0,0)*CFrame.Angles(0,0,0),
  450. CFrame.new(.5,-2,0)*CFrame.Angles(0,0,0),
  451. CFrame.new(-.5,-2,0)*CFrame.Angles(0,0,0)
  452. },.075)if i%4==0 then wait()end
  453. local p=Instance.new("Part")p.CFrame=(MP*TP)*RRP*CFrame.new(0,-7,0)a(p)p.CanCollide=false local m=Instance.new("SpecialMesh",p)m.MeshType="Sphere"
  454. p.Material="Neon"p.Name=name p.Size=Vector3.new(1,12,1)p.Color=col p.Touched:connect(function(pt)if FindHumanoid(pt)then FindHumanoid(pt).Health=nil end end)
  455. spawn(function()for i=1,10 do p.Transparency=i/10 wait()end p:Remove()end)
  456. p.Parent=workspace
  457. end
  458. elseif NormalAttack==1 then
  459. NormalAttack=0
  460. Animation({
  461. CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),
  462. CFrame.new(0,0,0)*CFrame.Angles(0,0,0),
  463. CFrame.new(-1.5,0,0)*CFrame.Angles(0,0,0),
  464. CFrame.new(1.5,0,0)*CFrame.Angles(.5,0,1),
  465. CFrame.new(.5,-2,0)*CFrame.Angles(0,0,0),
  466. CFrame.new(-.5,-2,0)*CFrame.Angles(0,0,0)
  467. },1)
  468. for i=1,40 do
  469. Animation({
  470. CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),
  471. CFrame.new(0,0,0)*CFrame.Angles(0,4,0),
  472. CFrame.new(-1.5,0,0)*CFrame.Angles(0,0,0),
  473. CFrame.new(1.7,.5,0)*CFrame.Angles(.5,0,1.5),
  474. CFrame.new(.5,-2,0)*CFrame.Angles(0,0,0),
  475. CFrame.new(-.5,-2,0)*CFrame.Angles(0,0,0)
  476. },.075)if i%4==0 then wait()end
  477. local p=Instance.new("Part")p.CFrame=(MP*TP)*LRP*CFrame.new(0,-7,0)a(p)p.CanCollide=false local m=Instance.new("SpecialMesh",p)m.MeshType="Sphere"
  478. p.Material="Neon"p.Name=name p.Size=Vector3.new(1,12,1)p.Color=col p.Touched:connect(function(pt)if FindHumanoid(pt)then FindHumanoid(pt).Health=nil end end)
  479. spawn(function()for i=1,10 do p.Transparency=i/10 wait()end p:Remove()end)
  480. p.Parent=workspace
  481. end
  482. end
  483. Active=false
  484. end
  485. end)
  486. function FindCharacter(Text,Number)Text=string.sub(Text,Number+2)local Ret={}local c=Players:GetChildren()local co=1 for i=1,#c do if string.find(tostring(c[i]),Text,0,true)then Ret[co]=c[i]co=co+1 end end return Ret end
  487. function FiCo(Text,Command)if string.find(Text,Command,0,true)~=nil then return true else return false end end function GAf(Text,Number)return string.sub(Text,Number+2)end
  488. function ChatCommands(ctext)
  489. if ctext=="s.mute"then if Mute then Mute=false print("Unmuted Music")else Mute=true print("Muted Music")end end if ctext=="s.to0"then MP=CFrame.new()print("Teleport to 0,0,0")end
  490. if FiCo(ctext,"s.tpto")then local t=GAf(ctext,6)local ch=FindCharacter(ctext,6)for i=1,#ch do if ch[i].Character then if ch[i].Character:FindFirstChild("HumanoidRootPart")then MP=CFrame.new(ch[i].Character.HumanoidRootPart.Position)end end end end
  491. end
  492. spawn(function()while wait()do if PL:FindFirstChildOfClass("PlayerGui"):FindFirstChild(name)==nil then local idk=Instance.new("ScreenGui",PL:FindFirstChildOfClass("PlayerGui"))idk.ResetOnSpawn=false local t=Instance.new("TextBox",idk)t.Size=UDim2.new(.128,0,0,22)
  493. t.Position=UDim2.new(.5-.064,0,0,0)t.BackgroundTransparency=.5 t.Text="Put commands here"t.BorderSizePixel=0 t.TextXAlignment="Left"
  494. spawn(function()while wait()do t.BackgroundColor3=col if t.Parent then if t.Parent.Parent then else break end else break end end end)
  495. t.TextStrokeTransparency=0 t.TextColor3=Color3.new(1,1,1)t.TextScaled=true t.TextSize=15 idk.Name=name
  496. t.FocusLost:connect(function(ep)if ep then ChatCommands(t.Text)t.Text="Put commands here"end end)
  497. function commandinputstart(actionName,userInputState,inputObject)
  498. if userInputState==Enum.UserInputState.Begin then
  499. wait()t:CaptureFocus()
  500. end
  501. end
  502. game.ContextActionService:BindAction("CommandInputStart",commandinputstart,false,Enum.KeyCode.LeftBracket)
  503. end end end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement