Advertisement
Destroyer_again2

Protegent Distorting Power

Feb 16th, 2019
414
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Your fucking script is assholic use h/ dumbass") end
  3. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  4. local RealPlayer = Player
  5. do print("Execute the c00l Kidd stuff")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  6. ---Protogent script---
  7. --By Axelpuff/loplk and edited by same#7812 i love distorting c--
  8.  
  9.  
  10. --Basic variables--
  11. local Player = game:GetService("Players").LocalPlayer
  12. local Char = Player.Character
  13. local Hum = Char.Humanoid
  14. local Torso = nil
  15. if Hum.RigType == Enum.HumanoidRigType.R15 then
  16. Torso = Char.UpperTorso
  17. else
  18. Torso = Char.Torso
  19. end
  20.  
  21. --Explosions Gui--
  22. local BMode = false
  23. local EGui = Instance.new("ScreenGui")
  24. EGui.Parent = Player.PlayerGui
  25. local EFrame = Instance.new("Frame")
  26. EFrame.Size = UDim2.new(0,100,0,100)
  27. EFrame.Parent = EGui
  28. EFrame.Transparency = 1
  29. local EButton = Instance.new("TextButton")
  30. EButton.Parent = EFrame
  31. EButton.Size = UDim2.new(0,100,0,50)
  32. EButton.Text = "Explosions Off"
  33. EButton.BackgroundColor3 = Color3.new(1,0.5,0)
  34. EButton.TextColor3 = Color3.new(0,0,1)
  35. EButton.MouseButton1Click:connect(function()
  36. if BMode == false then
  37. BMode = true
  38. EButton.Text = "Proto security On"
  39. else
  40. BMode = false
  41. EButton.Text = "Proto C00l Off"
  42. end
  43. end)
  44.  
  45.  
  46.  
  47. --Player stuff--
  48. Hum.MaxHealth = math.huge
  49. Hum.Health = math.huge
  50. local FF = Instance.new("ForceField")
  51. FF.Visible = false
  52. FF.Parent = Char
  53. Hum.WalkSpeed = 50
  54. Hum.JumpPower = 100
  55. local Colors = Char:FindFirstChild("Body Colors")
  56. print (Colors)
  57.  
  58. --Head and Hat--
  59. Char.Head.Mesh.Scale = Vector3.new(4,2.5,4)
  60. Char.Head.Mesh.Offset = Vector3.new(0,0.5,0)
  61. local Hat = Instance.new("Hat")
  62. Hat.AttachmentForward = Vector3.new(0,0,-1)
  63. Hat.AttachmentPos = Vector3.new(0.01,0.1,0)
  64. Hat.AttachmentRight = Vector3.new(1,0,0)
  65. Hat.AttachmentUp = Vector3.new(0,1,0)
  66. local HatHandle = Instance.new("Part")
  67. HatHandle.Name = "Handle"
  68. local HatMesh = Instance.new("SpecialMesh")
  69. HatMesh.MeshId = "http://www.roblox.com/asset/?id=12259089"
  70. HatMesh.Scale = Vector3.new(3.3,2.5,3)
  71. HatMesh.Offset = Vector3.new(0,0.7,0)
  72. HatHandle.BrickColor = BrickColor.new("Burnt Sienna")
  73. HatMesh.Parent = HatHandle
  74. HatHandle.Parent = Hat
  75. Hat.Parent = Char
  76.  
  77. --Terrible Rap--
  78. local Rap = Instance.new("Sound")
  79. Rap.Parent = Char
  80. Rap.SoundId = "rbxassetid://1010218129"
  81. Rap.Looped = true
  82. Rap.Volume = 99
  83. Rap.MaxDistance = math.huge
  84. Rap:Play()
  85.  
  86. --Symbol--
  87. local Protosym = Instance.new("Decal")
  88. Protosym.Texture = "http://www.roblox.com/asset/?id=1036070430"
  89. if Hum.RigType == Enum.HumanoidRigType.R15 then
  90. Protosym.Parent = Char.UpperTorso
  91. else
  92. Protosym.Parent = Char.Torso
  93. end
  94. Protosym.Face = "Front"
  95.  
  96. Char.HumanoidRootPart.Touched:connect(function(part)
  97. local HumCheck = part.Parent:FindFirstChild("Humanoid")
  98. if HumCheck then
  99. HumCheck:Destroy()
  100. if BMode == true then
  101. local Explo = Instance.new("Explosion")
  102. Torso.Anchored = true
  103. Explo.Parent = part.Parent
  104. Explo.Position = part.Position
  105. wait (0.5)
  106. Torso.Anchored = false
  107. end
  108. --local Gui = Instance.new("ScreenGui")
  109. --local Frame = Instance.new("Frame")
  110. --Frame.Parent = Gui
  111. --local Img = Instance.new("ImageLabel")
  112. --Img.Image = "http://www.roblox.com/asset/?id=89321260"
  113. --Img.Size = UDim2.new(0,1530,0,1000)
  114. --Img.Parent = Frame
  115. end
  116. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement