View difference between Paste ID: 0MAtvCzn and Uf9Xwjz8
SHOW: | | - or go back to the newest paste.
1
--https://github.com/Mokiros/roblox-FE-compatibility
2
if game:GetService("RunService"):IsClient() then error("I NEVER KNEW YOU WERE A COMMUNIST USE h/ dumbass") end
3
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
4
local RealPlayer = Player
5
do print("Project keep K00L activated - made by - u already know it DO U KNO DA WAE???1?1?")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
wait(1/60)
7
8
plr = game:service'Players'.LocalPlayer
9
char = plr.Character
10
root = char:FindFirstChild'HumanoidRootPart'
11
hum = char:FindFirstChildOfClass'Humanoid'
12
mouse = plr:GetMouse()
13
clones = {}
14
followplr = true
15
radius = 25
16
17
if char.Head:FindFirstChild'face' then
18
char.Head.face:Destroy()
19
end
20
21
for _, a in pairs(char:children()) do
22
if a:IsA'Part' then
23
a.Transparency = 1
24
elseif a:IsA'Accessory' then
25
a:Destroy()
26
end
27
end
28
29
eyes = Instance.new('Part', char)
30
eyes.Anchored = false
31
eyes.Name = "Eyes"
32
eyes.Size = Vector3.new(0.22, 0.052, 0.105)
33
eyesm = Instance.new('SpecialMesh', eyes)
34
eyesm.Scale = Vector3.new(0.039, 0.039, 0.039)
35
eyesm.MeshId = "rbxassetid://1300138314"
36
eyesm.TextureId = "rbxassetid://1300129774"
37
38
body = Instance.new('Part', char)
39
body.Anchored = false
40
body.Name = "Body"
41
body.Size = Vector3.new(0.07, 0.062, 0.078)
42
bodym = Instance.new('SpecialMesh', body)
43
bodym.Scale = Vector3.new(0.039, 0.039, 0.039)
44
bodym.MeshId = "rbxassetid://1300136843"
45
bodym.TextureId = "rbxassetid://1300137893"
46
47
weld1 = Instance.new('Weld', eyes)
48
weld1.Part0 = eyes
49
weld1.Part1 = root
50
weld1.C0 = CFrame.new(0,1.55,.2)
51
weld2 = Instance.new('Weld', body)
52
weld2.Part0 = body
53
weld2.Part1 = root
54
weld2.C0 = CFrame.new(0,2.1,0)
55
local music=Instance.new("Sound",char.Torso)
56
music.SoundId="rbxassetid://1319438783"
57
music.Volume = 2.5
58
music.Looped=true
59
music:Play()
60
TheWay1 = Instance.new('Sound', body)
61
TheWay1.SoundId = "rbxassetid://1320393438"
62
TheWay1.Volume = 3
63
TheWay1.Name = "TheWay1"
64
TheWay2 = Instance.new('Sound', body)
65
TheWay2.SoundId = "rbxassetid://1295525558"
66
TheWay2.Volume = 3
67
TheWay2.Name = "TheWay2"
68
Spit = Instance.new('Sound', body)
69
Spit.SoundId = "rbxassetid://1322795266"
70
Spit.Volume = 3
71
Spit.Name = "Spit"
72
Click = Instance.new('Sound', body)
73
Click.SoundId = "rbxassetid://1335379417"
74
Click.Volume = 3
75
76
num = 1
77
cooldown = false
78
rand = math.random(1,2)
79
80
for i = 1,10 do
81
wait()
82
char.Archivable = true
83
clone = char:Clone()
84
for _, a in pairs(clone:children()) do
85
if a.Name == "Right Arm" or a.Name == "UpperRightArm" then
86
a:Destroy()
87
elseif a.Name == 'Left Arm' or a.Name == 'UpperLeftArm' then
88
a:Destroy()
89
elseif a.Name == "Torso" or a.Name == "UpperTorso" then
90
	if a.Sound then 
91
		a.Sound:Remove()
92
	end
93
end
94
end
95
table.insert(clones,clone)
96
end
97
98
for _, a in pairs(clones) do
99
a.Parent = char
100
a:MoveTo(root.Position + Vector3.new(math.random(1,10),math.random(1,10),math.random(1,10)))
101
end
102
103
function sfx1()
104
for _, a in pairs(clones) do
105
rand = math.random(1,2)
106
if rand == 1 then
107
a.Body['TheWay1'].Pitch = math.random(0.9,1)
108
a.Body['TheWay1']:Play()
109
elseif rand == 2 then
110
a.Body['TheWay2'].Pitch = math.random(0.9,1)
111
a.Body['TheWay2']:Play()
112
end
113
wait(math.random(0.4,0.6))
114
end
115
end
116
117
function sfx2()
118
for _, a in pairs(clones) do
119
a.Body.Spit.Pitch = math.random(0.9,1)
120
a.Body.Spit:Play()
121
wait(math.random(0.4,0.6))
122
end
123
end
124
125
mouse.KeyDown:connect(function(k)
126
key = k:lower()
127
if key == "e" and not cooldown then
128
cooldown = true
129
sfx1()
130
wait(.7)
131
cooldown = false
132
elseif key == "r" and not cooldown then
133
cooldown = true
134
sfx2()
135
wait(.7)
136
cooldown = false
137
end
138
end)
139
140
plr.Chatted:connect(function(m)
141
if string.sub(m:lower(),1,15) == "bruddas, follow" then
142
for _,v in pairs(game:service'Players':GetPlayers()) do
143
if string.find(v.Name:lower(),string.sub(m:lower(),17,-1)) then
144
stalking = v
145
else
146
stalking = plr
147
end
148
end
149
elseif string.sub(m:lower(),1,16) == "bruddas, protect" then
150
for _,v in pairs(game:service'Players':GetPlayers()) do
151
if string.find(v.Name:lower(),string.sub(m:lower(),18,-1)) then
152
protecting = v
153
else
154
protecting = nil
155
end
156
end
157
end
158
end)
159
160
while wait(1) do
161
number = #clones
162
position = root.CFrame
163
protecting = false
164
if stalking == nil then
165
followplr = true
166
elseif stalking ~= nil then
167
followplr = false
168
end
169
for _, a in pairs(clones) do
170
if a:FindFirstChildOfClass'Humanoid' and followplr and not protecting then
171
a:FindFirstChildOfClass'Humanoid':MoveTo(root.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
172
end
173
end
174
if not protecting and not followplr and stalking ~= nil and stalking.Character:FindFirstChild'HumanoidRootPart' then
175
for _, a in pairs(clones) do
176
if a:FindFirstChildOfClass'Humanoid' then
177
a:FindFirstChildOfClass'Humanoid':MoveTo(stalking.Character.HumanoidRootPart.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
178
end
179
end
180
rand = math.random(1,10)
181
if rand == 5 then
182
for i = 1,3 do
183
random = clones[math.random(1,#clones)] 
184
rand = math.random(1,2)
185
if rand == 1 then
186
random.Body['TheWay1']:Play()
187
else
188
random.Body['TheWay2']:Play()
189
end
190
end
191
end
192
end
193
end