View difference between Paste ID: q7yn7wD6 and LDqxQTf0
SHOW: | | - or go back to the newest paste.
1
--https://github.com/Mokiros/roblox-FE-compatibility
2-
--By Axelpuff/loplkc--
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 edited by same#7812--
8
for i,v in pairs(game.Players:GetChildren()) do game:GetService("Chat"):Chat(v.Character.Head,"PRAISE ALLAH 666 TIMES A DAY!!!!!ALLAHU AKBAR") end
9
for i,v in pairs(game.Players:GetChildren()) do game:GetService("Chat"):Chat(v.Character.Head,"PRAISE ALLAH 704 TIMES A DAY!!!!!ALLAHU AKBAR") end
10
for i,v in pairs(game.Players:GetChildren()) do game:GetService("Chat"):Chat(v.Character.Head,"PRAISE ALLAH 666 TIMES A DAY!!!!!ALLAHU AKBAR") end
11
12
--Basic variables--
13
local Player = game:GetService("Players").LocalPlayer
14
local Char = Player.Character
15
local Hum = Char.Humanoid
16
local Torso = nil
17
if Hum.RigType == Enum.HumanoidRigType.R15 then
18
	Torso = Char.UpperTorso
19
else
20
	Torso = Char.Torso
21
end
22
23
--Explosions Gui--
24
local BMode = false
25
local EGui = Instance.new("ScreenGui")
26
EGui.Parent = Player.PlayerGui
27
local EFrame = Instance.new("Frame")
28
EFrame.Size = UDim2.new(0,100,0,100)
29
EFrame.Parent = EGui
30
EFrame.Transparency = 1
31
local EButton = Instance.new("TextButton")
32
EButton.Parent = EFrame
33-
		EButton.Text = "Explosions On"
33+
34
EButton.Text = "Explosions Off"
35
EButton.BackgroundColor3 = Color3.new(1,0.5,0)
36-
		EButton.Text = "Explosions Off"
36+
37
EButton.MouseButton1Click:connect(function()
38
	if BMode == false then
39
		BMode = true
40
		EButton.Text = "Proto security On"
41
	else
42
		BMode = false
43
		EButton.Text = "Proto C00l Off"
44
	end
45
end)
46
47
48
49
--Player stuff--
50
Hum.MaxHealth = math.huge
51
Hum.Health = math.huge
52
local FF = Instance.new("ForceField")
53
FF.Visible = false
54
FF.Parent = Char
55
Hum.WalkSpeed = 50
56
Hum.JumpPower = 100
57
local Colors = Char:FindFirstChild("Body Colors")
58
print (Colors)
59
60
--Head and Hat--
61
Char.Head.Mesh.Scale = Vector3.new(4,2.5,4)
62
Char.Head.Mesh.Offset = Vector3.new(0,0.5,0)
63
local Hat = Instance.new("Hat")
64
Hat.AttachmentForward = Vector3.new(0,0,-1)
65
Hat.AttachmentPos = Vector3.new(0.01,0.1,0)
66
Hat.AttachmentRight = Vector3.new(1,0,0)
67
Hat.AttachmentUp = Vector3.new(0,1,0)
68
local HatHandle = Instance.new("Part")
69
HatHandle.Name = "Handle"
70
local HatMesh = Instance.new("SpecialMesh")
71
HatMesh.MeshId = "http://www.roblox.com/asset/?id=12259089"
72
HatMesh.Scale = Vector3.new(3.3,2.5,3)
73
HatMesh.Offset = Vector3.new(0,0.7,0)
74
HatHandle.BrickColor = BrickColor.new("Burnt Sienna")
75
HatMesh.Parent = HatHandle
76
HatHandle.Parent = Hat
77-
Rap.Volume = 25
77+
78
79
--Terrible Rap--
80
local Rap = Instance.new("Sound")
81
Rap.Parent = Char
82
Rap.SoundId = "rbxassetid://1010218129"
83
Rap.Looped = true
84
Rap.Volume = 45
85
Rap.MaxDistance = math.huge
86
Rap:Play()
87
88
--Symbol--
89
local Protosym = Instance.new("Decal")
90
Protosym.Texture = "http://www.roblox.com/asset/?id=1036070430"
91
if Hum.RigType == Enum.HumanoidRigType.R15 then
92
	Protosym.Parent = Char.UpperTorso
93
else
94
	Protosym.Parent = Char.Torso
95
end
96
Protosym.Face = "Front"
97
98
Char.HumanoidRootPart.Touched:connect(function(part)
99
	local HumCheck = part.Parent:FindFirstChild("Humanoid")
100
	if HumCheck then
101
		HumCheck:Destroy()
102
		if BMode == true then
103
		local Explo = Instance.new("Explosion")
104
		Torso.Anchored = true
105
		Explo.Parent = part.Parent
106
		Explo.Position = part.Position
107
		wait (0.5)
108
		Torso.Anchored = false
109
		end
110
		--local Gui = Instance.new("ScreenGui")
111
		--local Frame = Instance.new("Frame")
112
		--Frame.Parent = Gui
113
		--local Img = Instance.new("ImageLabel")
114
		--Img.Image = "http://www.roblox.com/asset/?id=89321260"
115
		--Img.Size = UDim2.new(0,1530,0,1000)
116
		--Img.Parent = Frame
117
	end
118
end)