SHOW:
|
|
- or go back to the newest paste.
1 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
2 | local Player,game,owner = owner,game | |
3 | local RealPlayer = Player | |
4 | do | |
5 | local rp = RealPlayer | |
6 | script.Parent = rp.Character | |
7 | ||
8 | --RemoteEvent for communicating | |
9 | local Event = Instance.new("RemoteEvent") | |
10 | Event.Name = "UserInput_Event" | |
11 | ||
12 | --Fake event to make stuff like Mouse.KeyDown work | |
13 | local function fakeEvent() | |
14 | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end} | |
15 | t.connect = t.Connect | |
16 | return t | |
17 | end | |
18 | ||
19 | --Creating fake input objects with fake variables | |
20 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
21 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
22 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
23 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
24 | end} | |
25 | --Merged 2 functions into one by checking amount of arguments | |
26 | CAS.UnbindAction = CAS.BindAction | |
27 | ||
28 | --This function will trigger the events that have been :Connect()'ed | |
29 | local function te(self,ev,...) | |
30 | local t = m[ev] | |
31 | if t and t._fakeEvent then | |
32 | for _,f in pairs(t.Functions) do | |
33 | f(...) | |
34 | end | |
35 | end | |
36 | end | |
37 | m.TrigEvent = te | |
38 | UIS.TrigEvent = te | |
39 | ||
40 | Event.OnServerEvent:Connect(function(plr,io) | |
41 | if plr~=rp then return end | |
42 | m.Target = io.Target | |
43 | m.Hit = io.Hit | |
44 | if not io.isMouse then | |
45 | local b = io.UserInputState == Enum.UserInputState.Begin | |
46 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
47 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
48 | end | |
49 | for _,t in pairs(CAS.Actions) do | |
50 | for _,k in pairs(t.Keys) do | |
51 | if k==io.KeyCode then | |
52 | t.Function(t.Name,io.UserInputState,io) | |
53 | end | |
54 | end | |
55 | end | |
56 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
57 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
58 | end | |
59 | end) | |
60 | Event.Parent = NLS([==[ | |
61 | local Player = game:GetService("Players").LocalPlayer | |
62 | local Event = script:WaitForChild("UserInput_Event") | |
63 | ||
64 | local Mouse = Player:GetMouse() | |
65 | local UIS = game:GetService("UserInputService") | |
66 | local input = function(io,a) | |
67 | if a then return end | |
68 | --Since InputObject is a client-side instance, we create and pass table instead | |
69 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target}) | |
70 | end | |
71 | UIS.InputBegan:Connect(input) | |
72 | UIS.InputEnded:Connect(input) | |
73 | ||
74 | local h,t | |
75 | --Give the server mouse data 30 times every second, but only if the values changed | |
76 | --If player is not moving their mouse, client won't fire events | |
77 | while wait(1/30) do | |
78 | if h~=Mouse.Hit or t~=Mouse.Target then | |
79 | h,t=Mouse.Hit,Mouse.Target | |
80 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
81 | end | |
82 | end]==],Player.Character) | |
83 | ||
84 | ----Sandboxed game object that allows the usage of client-side methods and services | |
85 | --Real game object | |
86 | local _rg = game | |
87 | ||
88 | --Metatable for fake service | |
89 | local fsmt = { | |
90 | __index = function(self,k) | |
91 | local s = rawget(self,"_RealService") | |
92 | if s then return s[k] end | |
93 | end, | |
94 | __newindex = function(self,k,v) | |
95 | local s = rawget(self,"_RealService") | |
96 | if s then s[k]=v end | |
97 | end, | |
98 | __call = function(self,...) | |
99 | local s = rawget(self,"_RealService") | |
100 | if s then return s(...) end | |
101 | end | |
102 | } | |
103 | local function FakeService(t,RealService) | |
104 | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService | |
105 | return setmetatable(t,fsmt) | |
106 | end | |
107 | ||
108 | --Fake game object | |
109 | local g = { | |
110 | GetService = function(self,s) | |
111 | return self[s] | |
112 | end, | |
113 | Players = FakeService({ | |
114 | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player) | |
115 | },"Players"), | |
116 | UserInputService = FakeService(UIS,"UserInputService"), | |
117 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
118 | } | |
119 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
120 | g.service = g.GetService | |
121 | ||
122 | g.RunService = FakeService({ | |
123 | RenderStepped = _rg:GetService("RunService").Heartbeat, | |
124 | BindToRenderStep = function(self,name,_,fun) | |
125 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
126 | end, | |
127 | UnbindFromRenderStep = function(self,name) | |
128 | self._btrs[name]:Disconnect() | |
129 | end, | |
130 | },"RunService") | |
131 | ||
132 | setmetatable(g,{ | |
133 | __index=function(self,s) | |
134 | return _rg:GetService(s) or typeof(_rg[s])=="function" | |
135 | and function(_,...)return _rg[s](_rg,...)end or _rg[s] | |
136 | end, | |
137 | __newindex = fsmt.__newindex, | |
138 | __call = fsmt.__call | |
139 | }) | |
140 | --Changing owner to fake player object to support owner:GetMouse() | |
141 | game,owner = g,g.Players.LocalPlayer | |
142 | end | |
143 | ||
144 | --how tf did u find dis aaaaa | |
145 | --Anyways, enjoy this laptop I made. | |
146 | --But also prepare for alot of anime hell kthx. | |
147 | ||
148 | function sandbox(var,func) | |
149 | local env = getfenv(func) | |
150 | local newenv = setmetatable({},{ | |
151 | __index = function(self,k) | |
152 | if k=="script" then | |
153 | return var | |
154 | else | |
155 | return env[k] | |
156 | end | |
157 | end, | |
158 | }) | |
159 | setfenv(func,newenv) | |
160 | return func | |
161 | end | |
162 | cors = {} | |
163 | mas = Instance.new("Model",game:GetService("Lighting")) | |
164 | Model0 = Instance.new("Model") | |
165 | Part1 = Instance.new("Part") | |
166 | SurfaceGui2 = Instance.new("SurfaceGui") | |
167 | TextLabel3 = Instance.new("TextLabel") | |
168 | Decal4 = Instance.new("Decal") | |
169 | Script5 = Instance.new("Script") | |
170 | Sound6 = Instance.new("Sound") | |
171 | Part7 = Instance.new("Part") | |
172 | Decal8 = Instance.new("Decal") | |
173 | Model0.Name = "Anime" | |
174 | Model0.Parent = mas | |
175 | Part1.Name = "bosh" | |
176 | Part1.Parent = Model0 | |
177 | Part1.BrickColor = BrickColor.new("Black") | |
178 | Part1.Rotation = Vector3.new(-180, 0, -180) | |
179 | Part1.Anchored = true | |
180 | Part1.Size = Vector3.new(125.81002, 85.8600006, 2) | |
181 | Part1.CFrame = CFrame.new(-8.22500515, 42.9300766, -33.4600029, -1.00000441, 0, -7.83801079e-06, 0, 1, 0, 7.83801079e-06, 0, -1.00000441) | |
182 | Part1.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
183 | Part1.Position = Vector3.new(-8.22500515, 42.9300766, -33.4600029) | |
184 | Part1.Orientation = Vector3.new(0, -180, 0) | |
185 | Part1.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
186 | SurfaceGui2.Parent = Part1 | |
187 | TextLabel3.Parent = SurfaceGui2 | |
188 | TextLabel3.Transparency = 0 | |
189 | TextLabel3.Size = UDim2.new(0, 800, 0, 600) | |
190 | TextLabel3.Text = "..." | |
191 | TextLabel3.Active = true | |
192 | TextLabel3.BackgroundColor3 = Color3.new(1, 1, 1) | |
193 | TextLabel3.BackgroundTransparency = 0 | |
194 | TextLabel3.BorderColor3 = Color3.new(1, 1, 1) | |
195 | TextLabel3.BorderSizePixel = 2 | |
196 | TextLabel3.Font = Enum.Font.SourceSans | |
197 | TextLabel3.FontSize = Enum.FontSize.Size96 | |
198 | TextLabel3.TextColor3 = Color3.new(0, 0, 0) | |
199 | TextLabel3.TextScaled = true | |
200 | TextLabel3.TextStrokeColor3 = Color3.new(1, 1, 1) | |
201 | TextLabel3.TextWrapped = true | |
202 | Decal4.Parent = Part1 | |
203 | Script5.Parent = Part1 | |
204 | table.insert(cors,sandbox(Script5,function() | |
205 | game.Workspace.Anime.Sound:Play() | |
206 | game.Workspace.Anime.bosh.SurfaceGui.TextLabel.Text = "song name = rick astley hentai or something" | |
207 | wait(5) | |
208 | game.Workspace.Anime.bosh.SurfaceGui.TextLabel.Text = "Oh oh oh" | |
209 | wait(2) | |
210 | game.Workspace.Anime.bosh.SurfaceGui.TextLabel.Text = "I want a hentai girl for me to make me happy" | |
211 | wait(4) | |
212 | game.Workspace.Anime.bosh.SurfaceGui.TextLabel.Text = "I want her so I can stop using my hand" | |
213 | wait(4) | |
214 | game.Workspace.Anime.bosh.SurfaceGui.TextLabel.Text = "Every single day, while watching anime" | |
215 | wait(2.5) | |
216 | game.Workspace.Anime.bosh.SurfaceGui.TextLabel.Text = "I'd pull her from my screen, just like in my dreams" | |
217 | wait(3) | |
218 | game.Workspace.Anime.bosh.SurfaceGui.TextLabel.Text = "I want to feel her touch OH mainly on my crotch AH AH" | |
219 | wait(3.5) | |
220 | game.Workspace.Anime.bosh.SurfaceGui.TextLabel.Text = "I want my own hentai girl" | |
221 | wait(4) | |
222 | game.Workspace.Anime.bosh.SurfaceGui.TextLabel.Text = "And she would sing:" | |
223 | wait(2.7) | |
224 | game.Workspace.Anime.bosh.SurfaceGui:Destroy() | |
225 | ||
226 | ||
227 | while true do | |
228 | game.Workspace.Anime.bosh.Decal.Texture = "http://www.roblox.com/asset/?id=31844995" | |
229 | wait(0.37) | |
230 | game.Workspace.Anime.bosh.Decal.Texture = "http://www.roblox.com/asset/?id=69154140" | |
231 | wait(0.37) | |
232 | game.Workspace.Anime.bosh.Decal.Texture = "http://www.roblox.com/asset/?id=165913938" | |
233 | wait(0.37) | |
234 | game.Workspace.Anime.bosh.Decal.Texture = "http://www.roblox.com/asset/?id=286214428" | |
235 | wait(0.37) | |
236 | game.Workspace.Anime.bosh.Decal.Texture = "http://www.roblox.com/asset/?id=325816951" | |
237 | wait(0.37) | |
238 | game.Workspace.Anime.bosh.Decal.Texture = "http://www.roblox.com/asset/?id=213148631" | |
239 | wait(0.37) | |
240 | game.Workspace.Anime.bosh.Decal.Texture = "http://www.roblox.com/asset/?id=170179353" | |
241 | wait(0.37) | |
242 | game.Workspace.Anime.bosh.Decal.Texture = "http://www.roblox.com/asset/?id=170025784" | |
243 | wait(0.37) | |
244 | game.Workspace.Anime.bosh.Decal.Texture = "http://www.roblox.com/asset/?id=317081883" | |
245 | wait(0.37) | |
246 | game.Workspace.Anime.bosh.Decal.Texture = "http://www.roblox.com/asset/?id=557406454" | |
247 | wait(0.37) | |
248 | game.Workspace.Anime.bosh.Decal.Texture = "http://www.roblox.com/asset/?id=45535348" | |
249 | wait(0.37) | |
250 | game.Workspace.Anime.bosh.Decal.Texture = "http://www.roblox.com/asset/?id=143569264" | |
251 | wait(0.37) | |
252 | game.Workspace.Anime.bosh.Decal.Texture = "http://www.roblox.com/asset/?id=468837051" | |
253 | wait(0.37) | |
254 | game.Workspace.Anime.bosh.Decal.Texture = "http://www.roblox.com/asset/?id=468839008" | |
255 | wait(0.37) | |
256 | game.Workspace.Anime.bosh.Decal.Texture = "http://www.roblox.com/asset/?id=157918222" | |
257 | wait(0.37) | |
258 | game.Workspace.Anime.bosh.Decal.Texture = "http://www.roblox.com/asset/?id=511426505" | |
259 | wait(0.37) | |
260 | game.Workspace.Anime.bosh.Decal.Texture = "http://www.roblox.com/asset/?id=1065873186" | |
261 | wait(0.37) | |
262 | game.Workspace.Anime.bosh.Decal.Texture = "http://www.roblox.com/asset/?id=271028167" | |
263 | wait(0.37) | |
264 | game.Workspace.Anime.bosh.Decal.Texture = "http://www.roblox.com/asset/?id=512126210" | |
265 | wait(0.37) | |
266 | end | |
267 | ||
268 | end)) | |
269 | Sound6.Parent = Model0 | |
270 | Sound6.SoundId = "rbxassetid://881545277" | |
271 | Sound6.Volume = 10 | |
272 | Part7.Parent = Model0 | |
273 | Part7.BrickColor = BrickColor.new("Black") | |
274 | Part7.Rotation = Vector3.new(-180, 0, 180) | |
275 | Part7.Anchored = true | |
276 | Part7.Size = Vector3.new(125.819984, 1, 95.8000031) | |
277 | Part7.CFrame = CFrame.new(-8.2001152, 0.50002408, 15.4189072, -1.00000048, -2.17944465e-11, 2.33799219e-05, 2.0634161e-11, 1, 1.80308643e-06, -2.33799219e-05, 1.8030853e-06, -1.00000048) | |
278 | Part7.BottomSurface = Enum.SurfaceType.Smooth | |
279 | Part7.TopSurface = Enum.SurfaceType.Smooth | |
280 | Part7.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
281 | Part7.Position = Vector3.new(-8.2001152, 0.50002408, 15.4189072) | |
282 | Part7.Orientation = Vector3.new(0, 180, 0) | |
283 | Part7.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
284 | Decal8.Parent = Part7 | |
285 | Decal8.Texture = "http://www.roblox.com/asset/?id=122001527" | |
286 | Decal8.Face = Enum.NormalId.Top | |
287 | for i,v in pairs(mas:GetChildren()) do | |
288 | v.Parent = workspace | |
289 | pcall(function() v:MakeJoints() end) | |
290 | end | |
291 | mas:Destroy() | |
292 | for i,v in pairs(cors) do | |
293 | spawn(function() | |
294 | pcall(v) | |
295 | end) | |
296 | end |