View difference between Paste ID: a5ichnFj and 248NMxGh
SHOW: | | - or go back to the newest paste.
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");InternalData = {}
2
do
3
    script.Parent = owner.Character
4
    local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
5
    local function NewFakeEvent()
6
        local Bind = Instance.new("BindableEvent")
7
        local Fake;Fake = {Connections = {},
8
        fakeEvent=true;
9
        Connect=function(self,Func)
10
            Bind.Event:connect(Func)
11
            self.Connections[Bind] = true
12
            return setmetatable({Connected = true},{
13
            __index = function (self,Index)
14
                if Index:lower() == "disconnect" then
15
                    return function() Fake.Connections[Bind] = false;self.Connected = false end
16
                end
17
                return Fake[Index]
18
            end;
19
            __tostring = function() return "Connection" end;
20
        })
21
        end}
22
        Fake.connect = Fake.Connect;return Fake;
23
    end
24
    local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
25
    local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
26
    local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
27
        self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
28
    end};ContextActionService.UnBindAction = ContextActionService.BindAction
29
    local function TriggerEvent(self,Event,...)
30
        local Trigger = Mouse[Event]
31
        if Trigger and Trigger.fakeEvent and Trigger.Connections then
32
            for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
33
        end
34
    end
35
    Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
36
    Event.OnServerEvent:Connect(function(FiredBy,Input)
37
        if FiredBy.Name ~= owner.Name then return end
38
        if Input.MouseEvent then
39
            Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
40
        else
41
            local Begin = Input.UserInputState == Enum.UserInputState.Begin
42
            if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
43
            for _,Action in pairs(ContextActionService.Actions) do
44
                for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
45
            end
46
            Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
47
            UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
48
        end
49
    end)
50
    InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
51
    Event.Parent = NLS([[
52
        local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
53
        local Input = function(Input,gameProcessedEvent)
54
            if gameProcessedEvent then return end
55
            Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
56
        end
57
        UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
58
        local Hit,Target
59
        while wait(1/30) do
60
            if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
61
                Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
62
            end
63
        end
64
    ]],owner.Character)
65
end
66
RealGame = game;game = setmetatable({},{
67
    __index = function (self,Index)
68
        local Sandbox = function (Thing)
69
            if Thing:IsA("Player") then
70
                local RealPlayer = Thing
71
                return setmetatable({},{
72
                    __index = function (self,Index)
73
                        local Type = type(RealPlayer[Index])
74
                        if Type == "function" then
75
                            if Index:lower() == "getmouse" or Index:lower() == "mouse" then
76
                                return function (self)return InternalData["Mouse"] end
77
                            end
78
                            return function (self,...)return RealPlayer[Index](RealPlayer,...) end
79
                        end
80
                        return RealPlayer[Index]
81
                    end;
82
                    __tostring = function(self) return RealPlayer.Name end
83
                })
84
            end
85
        end
86
        if RealGame[Index] then
87
            local Type = type(RealGame[Index])
88
            if Type == "function" then
89
                if Index:lower() == "getservice" or Index:lower() == "service" then
90
                    return function (self,Service)
91
                        local FakeServices = {
92
                            ["players"] = function()
93
                                return setmetatable({},{
94
                                    __index = function (self2,Index2)
95
                                        local RealService = RealGame:GetService(Service)
96
                                        local Type2 = type(Index2)
97
                                        if Type2 == "function" then
98
                                            return function (self,...) return RealService[Index2](RealService,...)end
99
                                        else
100
                                            if Index2:lower() == "localplayer" then return Sandbox(owner) end
101
                                            return RealService[Index2]
102
                                        end
103
                                    end;
104
                                    __tostring = function(self) return RealGame:GetService(Service).Name end
105
                                })
106
                            end;
107
                            ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
108
                            ["userinputservice"] = function() return InternalData["UserInputService"] end;
109
                            ["runservice"] = function()
110
                                return setmetatable({},{
111
                                    __index = function(self2,Index2)
112
                                        local RealService = RealGame:GetService(Service)
113
                                        local Type2 = type(Index2)
114
                                        if Type2 == "function" then
115
                                            return function (self,...) return RealService[Index2](RealService,...) end
116
                                        else
117
                                            local RunServices = {
118
                                                ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
119
                                                ["renderstepped"] = function() return RealService["Stepped"] end
120
                                            }
121
                                            if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
122
                                            return RealService[Index2]
123
                                        end
124
                                    end
125
                                })
126
                            end
127
                        }
128
                        if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
129
                        return RealGame:GetService(Service)
130
                    end
131
                end
132
                return function (self,...) return RealGame[Index](RealGame,...) end
133
            else
134
                if game:GetService(Index) then return game:GetService(Index) end
135
                return RealGame[Index]
136
            end
137
        end
138
        return nil
139
    end
140
});Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
141
142
--Converted with ttyyuu12345's model to script plugin v4
143
function sandbox(var,func)
144
	local env = getfenv(func)
145
	local newenv = setmetatable({},{
146
		__index = function(self,k)
147
			if k=="script" then
148
				return var
149
			else
150
				return env[k]
151
			end
152
		end,
153
	})
154
	setfenv(func,newenv)
155
	return func
156
end
157
cors = {}
158
plr = owner
159
char = plr.Character
160
mouse = plr:GetMouse()
161
mas = Instance.new("Model",game:GetService("Lighting"))
162
Part0 = Instance.new("Part")
163
Decal1 = Instance.new("Decal")
164
Decal2 = Instance.new("Decal")
165
Script2 = Instance.new("Script")
166
Part0.Name = "frog"
167
Part0.Parent = mas
168
Part0.CFrame = CFrame.new(32.9169197, 9.37167645, -96.0188904, 1, 0, -0, 0, 0, 1, 0, -1, 0)
169
Part0.Orientation = Vector3.new(-90, 0, 0)
170
Part0.Position = Vector3.new(32.9169197, 9.37167645, -96.0188904)
171
Part0.Rotation = Vector3.new(-90, 0, 0)
172
Part0.Color = Color3.new(0.294118, 0.592157, 0.294118)
173
Part0.Transparency = 1
174
Part0.Size = Vector3.new(3.54999876, 0.0999986231, 5.96315575)
175
Part0.BrickColor = BrickColor.new("Bright green")
176
Part0.TopSurface = Enum.SurfaceType.SmoothNoOutlines
177
Part0.brickColor = BrickColor.new("Bright green")
178
Part0.FormFactor = Enum.FormFactor.Custom
179
Part0.formFactor = Enum.FormFactor.Custom
180
Decal1.Parent = Part0
181
Decal1.Texture = "rbxassetid://1954299039"
182
Decal1.Face = Enum.NormalId.Top
183
Decal2.Parent = Part0
184
Decal2.Texture = "rbxassetid://1954299039"
185
Decal2.Face = Enum.NormalId.Bottom
186
Script2.Name = "Decal Changer"
187
Script2.Parent = Decal1
188
weld = Instance.new("Weld",Part0)
189
weld.Part0 = Part0
190
weld.Part1 = char.HumanoidRootPart
191
weld.C0 = CFrame.new(0, 2, -2) * CFrame.Angles(77, 0, 0)
192
table.insert(cors,sandbox(Script2,function()
193
	
194
while true do 
195
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954299920" 
196
wait(0.05) 
197
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954300823" 
198
wait(0.05)
199
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954301755" 
200
wait(0.05)
201
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954302772" 
202
wait(0.05)
203
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954307210" 
204
wait(0.05)
205
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954305725" 
206
wait(0.05) 
207
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954308385" 
208
wait(0.05)
209
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954310484" 
210
wait(0.05)
211
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954312102"  
212
wait(0.05)
213
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954313453" 
214
wait(0.05) 
215
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954314285" 
216
wait(0.05)
217
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954315288" 
218
wait(0.05)
219
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954316259" 
220
wait(0.05)
221
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954318738" 
222
wait(0.05)
223
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954319758" 
224
wait(0.05) 
225
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954318738" 
226
wait(0.05)
227
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954316259" 
228
wait(0.05)
229
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954315288" 
230
wait(0.05)
231
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954314285" 
232
wait(0.05)
233
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954313453" 
234
wait(0.05) 
235
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954312102" 
236
wait(0.05)
237
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954310484" 
238
wait(0.05)
239
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954308385" 
240
wait(0.05)
241
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954305725"  
242
wait(0.05)
243
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954307210" 
244
wait(0.05) 
245
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954302772" 
246
wait(0.05)
247
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954301755" 
248
wait(0.05)
249
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954300823" 
250
wait(0.05)
251
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954299920" 
252
wait(0.05)
253
254
end
255
end))
256
Script3 = Script2:Clone()
257
Script3.Parent = Decal2
258
259
table.insert(cors,sandbox(Script3,function()
260
	
261
while true do 
262
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954299920" 
263
wait(0.05) 
264
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954300823" 
265
wait(0.05)
266
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954301755" 
267
wait(0.05)
268
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954302772" 
269
wait(0.05)
270
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954307210" 
271
wait(0.05)
272
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954305725" 
273
wait(0.05) 
274
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954308385" 
275
wait(0.05)
276
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954310484" 
277
wait(0.05)
278
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954312102"  
279
wait(0.05)
280
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954313453" 
281
wait(0.05) 
282
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954314285" 
283
wait(0.05)
284
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954315288" 
285
wait(0.05)
286
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954316259" 
287
wait(0.05)
288
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954318738" 
289
wait(0.05)
290
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954319758" 
291
wait(0.05) 
292
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954318738" 
293
wait(0.05)
294
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954316259" 
295
wait(0.05)
296
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954315288" 
297
wait(0.05)
298
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954314285" 
299
wait(0.05)
300
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954313453" 
301
wait(0.05) 
302
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954312102" 
303
wait(0.05)
304
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954310484" 
305
wait(0.05)
306
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954308385" 
307
wait(0.05)
308
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954305725"  
309
wait(0.05)
310
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954307210" 
311
wait(0.05) 
312
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954302772" 
313
wait(0.05)
314
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954301755" 
315
wait(0.05)
316
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954300823" 
317
wait(0.05)
318
script.Parent.Texture = "http://www.roblox.com/asset/?id=1954299920" 
319
wait(0.05)
320
321
end
322
end))
323
for i,v in pairs(mas:GetChildren()) do
324
	v.Parent = char
325
	pcall(function() v:MakeJoints() end)
326
end
327
mas:Destroy()
328
for i,v in pairs(cors) do
329
	spawn(function()
330
		pcall(v)
331
	end)
332
end
333
334
stand = Part0
335
attack = false
336
337
function gotoem()
338
	if mouse.Target then
339
		local gamer = mouse.Target
340
		attack = true
341
		local ahh = Instance.new("Sound",stand)
342-
		ahh.SoundId = "rbxassetid://197890111"
342+
		ahh.SoundId = "rbxassetid://4142809172"
343-
		ahh.PlaybackSpeed = 1.5
343+
		ahh.PlaybackSpeed = 1
344
		ahh.Volume = 10
345
		ahh:Play()
346
		wait(1)
347
		if gamer.Parent:FindFirstChild("Torso") then
348
			weld:Destroy()
349
			wait(.001)
350
			stand.Position = gamer.Parent.Torso.Position
351
			gamer.Parent.Torso.Anchored = true
352
			stand.Anchored = true
353
			wait(1)
354
			gamer.Parent.Torso:Destroy()
355
			weld = Instance.new("Weld",Part0)
356
			weld.Part0 = Part0
357
			weld.Part1 = char.HumanoidRootPart
358
			weld.C0 = CFrame.new(0, 2, -2) * CFrame.Angles(77, 0, 0)
359
			attack = false
360
			stand.Anchored = false
361
			ahh:Destroy()
362
		else
363
			ahh:Destroy()
364
			attack = false
365
			stand.Anchored = false
366
		end
367
	end
368
end
369
370
function freezeall()
371
	attack = true
372
	local zawa = Instance.new("Sound",stand)
373
	zawa.Volume = 10
374-
	zawa.PlaybackSpeed = 1.75
374+
	zawa.PlaybackSpeed = 1
375-
	zawa.SoundId = "rbxassetid://274698941"
375+
	zawa.SoundId = "rbxassetid://1571597070"
376
	local flan = Instance.new("FlangeSoundEffect",zawa)
377-
	flan.Rate = 15
377+
	flan.Rate = 5
378
	zawa:Play()
379
	game.Lighting.OutdoorAmbient = BrickColor.new("Birght green").Color
380
	game.Lighting.TimeOfDay = "00:00:00"
381
	for _,v in pairs (workspace:children()) do
382
		if v:IsA("Model") then
383
			for _,v in pairs (v:children()) do
384
				if v:IsA("Part") then
385
					if v.Parent == char then
386
					
387
					else
388
					if v.Anchored == true then
389
					
390
					else
391
						v.Anchored = true
392
						coroutine.resume(coroutine.create(function()
393
           					wait(10)
394
           					v.Anchored = false
395
           					game.Lighting.OutdoorAmbient = Color3.new(0.5, 0.5, 0.5)
396
           					game.TimeOfDay = "17:00:00"
397
        				end))
398
           				game.TimeOfDay = "17:00:00"
399
					end
400
					end
401
				end
402
			end
403
		end
404
	end
405
	attack = false
406
end
407
408
mouse.KeyDown:connect(function(k)
409
	k=k:lower()
410
	if k == 'z' and attack == false then
411
		freezeall()
412
	end
413
end)
414
415
mouse.Button1Down:connect(function()
416
	if attack == false then
417
		gotoem()
418
	end
419
end)