Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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 = {}
- do
- script.Parent = owner.Character
- local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
- local function NewFakeEvent()
- local Bind = Instance.new("BindableEvent")
- local Fake;Fake = {Connections = {},
- fakeEvent=true;
- Connect=function(self,Func)
- Bind.Event:connect(Func)
- self.Connections[Bind] = true
- return setmetatable({Connected = true},{
- __index = function (self,Index)
- if Index:lower() == "disconnect" then
- return function() Fake.Connections[Bind] = false;self.Connected = false end
- end
- return Fake[Index]
- end;
- __tostring = function() return "Connection" end;
- })
- end}
- Fake.connect = Fake.Connect;return Fake;
- end
- local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
- local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
- local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
- self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
- end};ContextActionService.UnBindAction = ContextActionService.BindAction
- local function TriggerEvent(self,Event,...)
- local Trigger = Mouse[Event]
- if Trigger and Trigger.fakeEvent and Trigger.Connections then
- for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
- end
- end
- Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
- Event.OnServerEvent:Connect(function(FiredBy,Input)
- if FiredBy.Name ~= owner.Name then return end
- if Input.MouseEvent then
- Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
- else
- local Begin = Input.UserInputState == Enum.UserInputState.Begin
- if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
- for _,Action in pairs(ContextActionService.Actions) do
- for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
- end
- Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
- UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
- end
- end)
- InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
- Event.Parent = NLS([[
- local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
- local Input = function(Input,gameProcessedEvent)
- if gameProcessedEvent then return end
- Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
- end
- UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
- local Hit,Target
- while wait(1/30) do
- if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
- Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
- end
- end
- ]],owner.Character)
- end
- RealGame = game;game = setmetatable({},{
- __index = function (self,Index)
- local Sandbox = function (Thing)
- if Thing:IsA("Player") then
- local RealPlayer = Thing
- return setmetatable({},{
- __index = function (self,Index)
- local Type = type(RealPlayer[Index])
- if Type == "function" then
- if Index:lower() == "getmouse" or Index:lower() == "mouse" then
- return function (self)return InternalData["Mouse"] end
- end
- return function (self,...)return RealPlayer[Index](RealPlayer,...) end
- end
- return RealPlayer[Index]
- end;
- __tostring = function(self) return RealPlayer.Name end
- })
- end
- end
- if RealGame[Index] then
- local Type = type(RealGame[Index])
- if Type == "function" then
- if Index:lower() == "getservice" or Index:lower() == "service" then
- return function (self,Service)
- local FakeServices = {
- ["players"] = function()
- return setmetatable({},{
- __index = function (self2,Index2)
- local RealService = RealGame:GetService(Service)
- local Type2 = type(Index2)
- if Type2 == "function" then
- return function (self,...) return RealService[Index2](RealService,...)end
- else
- if Index2:lower() == "localplayer" then return Sandbox(owner) end
- return RealService[Index2]
- end
- end;
- __tostring = function(self) return RealGame:GetService(Service).Name end
- })
- end;
- ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
- ["userinputservice"] = function() return InternalData["UserInputService"] end;
- ["runservice"] = function()
- return setmetatable({},{
- __index = function(self2,Index2)
- local RealService = RealGame:GetService(Service)
- local Type2 = type(Index2)
- if Type2 == "function" then
- return function (self,...) return RealService[Index2](RealService,...) end
- else
- local RunServices = {
- ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
- ["renderstepped"] = function() return RealService["Stepped"] end
- }
- if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
- return RealService[Index2]
- end
- end
- })
- end
- }
- if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
- return RealGame:GetService(Service)
- end
- end
- return function (self,...) return RealGame[Index](RealGame,...) end
- else
- if game:GetService(Index) then return game:GetService(Index) end
- return RealGame[Index]
- end
- end
- return nil
- end
- });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- plr = owner
- char = plr.Character
- mouse = plr:GetMouse()
- mas = Instance.new("Model",game:GetService("Lighting"))
- Part0 = Instance.new("Part")
- Decal1 = Instance.new("Decal")
- Decal2 = Instance.new("Decal")
- Script2 = Instance.new("Script")
- Part0.Name = "frog"
- Part0.Parent = mas
- Part0.CFrame = CFrame.new(32.9169197, 9.37167645, -96.0188904, 1, 0, -0, 0, 0, 1, 0, -1, 0)
- Part0.Orientation = Vector3.new(-90, 0, 0)
- Part0.Position = Vector3.new(32.9169197, 9.37167645, -96.0188904)
- Part0.Rotation = Vector3.new(-90, 0, 0)
- Part0.Color = Color3.new(0.294118, 0.592157, 0.294118)
- Part0.Transparency = 1
- Part0.Size = Vector3.new(3.54999876, 0.0999986231, 5.96315575)
- Part0.BrickColor = BrickColor.new("Bright green")
- Part0.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part0.brickColor = BrickColor.new("Bright green")
- Part0.FormFactor = Enum.FormFactor.Custom
- Part0.formFactor = Enum.FormFactor.Custom
- Decal1.Parent = Part0
- Decal1.Texture = "rbxassetid://1954299039"
- Decal1.Face = Enum.NormalId.Top
- Decal2.Parent = Part0
- Decal2.Texture = "rbxassetid://1954299039"
- Decal2.Face = Enum.NormalId.Bottom
- Script2.Name = "Decal Changer"
- Script2.Parent = Decal1
- weld = Instance.new("Weld",Part0)
- weld.Part0 = Part0
- weld.Part1 = char.HumanoidRootPart
- weld.C0 = CFrame.new(0, 2, -2) * CFrame.Angles(77, 0, 0)
- table.insert(cors,sandbox(Script2,function()
- while true do
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954299920"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954300823"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954301755"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954302772"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954307210"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954305725"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954308385"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954310484"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954312102"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954313453"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954314285"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954315288"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954316259"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954318738"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954319758"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954318738"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954316259"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954315288"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954314285"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954313453"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954312102"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954310484"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954308385"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954305725"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954307210"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954302772"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954301755"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954300823"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954299920"
- wait(0.05)
- end
- end))
- Script3 = Script2:Clone()
- Script3.Parent = Decal2
- table.insert(cors,sandbox(Script3,function()
- while true do
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954299920"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954300823"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954301755"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954302772"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954307210"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954305725"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954308385"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954310484"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954312102"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954313453"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954314285"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954315288"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954316259"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954318738"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954319758"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954318738"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954316259"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954315288"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954314285"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954313453"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954312102"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954310484"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954308385"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954305725"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954307210"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954302772"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954301755"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954300823"
- wait(0.05)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=1954299920"
- wait(0.05)
- end
- end))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = char
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- stand = Part0
- attack = false
- function gotoem()
- if mouse.Target then
- local gamer = mouse.Target
- attack = true
- local ahh = Instance.new("Sound",stand)
- ahh.SoundId = "rbxassetid://197890111"
- ahh.PlaybackSpeed = 1.5
- ahh.Volume = 10
- ahh:Play()
- wait(1)
- if gamer.Parent:FindFirstChild("Torso") then
- weld:Destroy()
- wait(.001)
- stand.Position = gamer.Parent.Torso.Position
- gamer.Parent.Torso.Anchored = true
- stand.Anchored = true
- wait(1)
- gamer.Parent.Torso:Destroy()
- weld = Instance.new("Weld",Part0)
- weld.Part0 = Part0
- weld.Part1 = char.HumanoidRootPart
- weld.C0 = CFrame.new(0, 2, -2) * CFrame.Angles(77, 0, 0)
- attack = false
- stand.Anchored = false
- ahh:Destroy()
- else
- ahh:Destroy()
- attack = false
- stand.Anchored = false
- end
- end
- end
- function freezeall()
- attack = true
- local zawa = Instance.new("Sound",stand)
- zawa.Volume = 10
- zawa.PlaybackSpeed = 1.75
- zawa.SoundId = "rbxassetid://274698941"
- local flan = Instance.new("FlangeSoundEffect",zawa)
- flan.Rate = 15
- zawa:Play()
- game.Lighting.OutdoorAmbient = BrickColor.new("Birght green").Color
- game.Lighting.TimeOfDay = "00:00:00"
- for _,v in pairs (workspace:children()) do
- if v:IsA("Model") then
- for _,v in pairs (v:children()) do
- if v:IsA("Part") then
- if v.Parent == char then
- else
- if v.Anchored == true then
- else
- v.Anchored = true
- coroutine.resume(coroutine.create(function()
- wait(10)
- v.Anchored = false
- game.Lighting.OutdoorAmbient = Color3.new(0.5, 0.5, 0.5)
- game.TimeOfDay = "17:00:00"
- end))
- game.TimeOfDay = "17:00:00"
- end
- end
- end
- end
- end
- end
- attack = false
- end
- mouse.KeyDown:connect(function(k)
- k=k:lower()
- if k == 'z' and attack == false then
- freezeall()
- end
- end)
- mouse.Button1Down:connect(function()
- if attack == false then
- gotoem()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement