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...")
- -- by Theamazingnater
- wait(1)
- plr = game.Players.LocalPlayer
- char = plr.Character
- mouse = plr:GetMouse()
- whitecolor = Color3.new(1,1,1)
- epicmode = false
- normal = true
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then
- v:Destroy()
- end
- end
- local shirt = Instance.new("Shirt",char)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=302011210"
- local pants = Instance.new("Pants",char)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=305718140"
- local bdycolors = char["Body Colors"]
- bdycolors.HeadColor3 = whitecolor
- bdycolors.LeftArmColor3 = whitecolor
- bdycolors.LeftLegColor3 = whitecolor
- bdycolors.RightArmColor3 = whitecolor
- bdycolors.RightLegColor3 = whitecolor
- bdycolors.TorsoColor3 = whitecolor
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Hat" or v.ClassName == "Accessory" then
- v:Destroy()
- end
- end
- -- Face
- char.Head.face.Texture = "http://www.roblox.com/asset/?id=246064605"
- -- Chat
- local talksound = Instance.new("Sound",char.Torso)
- talksound.SoundId = "rbxassetid://928210219"
- talksound.Volume = 4
- local blastsound = Instance.new("Sound",char.Torso)
- blastsound.Name = "blast_sound"
- blastsound.SoundId = "rbxassetid://345052019"
- blastsound.Volume = 4
- function swait(num)
- if num==0 or num==nil then
- game:service'RunService'.Stepped:wait(0)
- else
- for i=0,num do
- game:service'RunService'.Stepped:wait(0)
- end
- end
- end
- function chatfunc(text)
- local chat = coroutine.wrap(function()
- if char:FindFirstChild("TalkingBillBoard") ~= nil then
- char:FindFirstChild("TalkingBillBoard"):Destroy()
- end
- local naeeym2 = Instance.new("BillboardGui",char)
- naeeym2.Size = UDim2.new(0,100,0,40)
- naeeym2.StudsOffset = Vector3.new(0,3,0)
- naeeym2.Adornee = char.Head
- naeeym2.Name = "TalkingBillBoard"
- local tecks2 = Instance.new("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.BorderSizePixel = 0
- tecks2.Text = ""
- tecks2.Font = "Fantasy"
- tecks2.TextSize = 30
- tecks2.TextStrokeTransparency = 0
- tecks2.TextColor3 = Color3.new(.6,0,0)
- tecks2.TextStrokeColor3 = Color3.new(0,0,0)
- tecks2.Size = UDim2.new(1,0,0.5,0)
- local tecks3 = Instance.new("TextLabel",naeeym2)
- tecks3.BackgroundTransparency = 1
- tecks3.BorderSizePixel = 0
- tecks3.Text = ""
- tecks3.Font = "Fantasy"
- tecks3.TextSize = 30
- tecks3.TextStrokeTransparency = 0
- tecks3.TextColor3 = Color3.new(0,0,0)
- tecks3.TextStrokeColor3 = Color3.new(1,1,1)
- tecks3.Size = UDim2.new(1,0,0.5,0)
- for i = 1,string.len(text),1 do
- tecks2.Text = string.sub(text,1,i)
- tecks3.Text = string.sub(text,1,i)
- talksound:Play()
- wait(0.01)
- end
- wait(2)
- for i = 1, 50 do
- swait()
- tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
- tecks2.Rotation = tecks2.Rotation - .8
- tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
- tecks2.TextTransparency = tecks2.TextTransparency + .04
- tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
- tecks3.Rotation = tecks2.Rotation + .8
- tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
- tecks3.TextTransparency = tecks2.TextTransparency + .04
- end
- naeeym2:Destroy()
- end)
- chat()
- end
- function onChatted(msg)
- chatfunc(msg)
- end
- plr.Chatted:connect(onChatted)
- wait(2)
- chatfunc("Made by 1x1x1x1IAMbck")
- wait(2)
- chatfunc("It's a beautiful day outside..")
- wait(2)
- chatfunc("Birds are singing..")
- wait(2)
- chatfunc("Flowers are blooming...")
- wait(2)
- chatfunc("On days like these... kids like you...")
- wait(2)
- chatfunc("Should be burning in hell.")
- wait(0.5)
- char.Humanoid.Name = "Sans"
- local music = Instance.new("Sound",char.Torso)
- music.SoundId = "rbxassetid://304114750"
- music.Volume = 4
- music.Looped = true
- music:Play()
- LeyeColor = BrickColor.new("Toothpaste")
- local eyemodel = Instance.new("Model",char)
- eyemodel.Name = "Eyes"
- local reye = Instance.new("Part",eyemodel)
- reye.Name = "BurningEff"
- reye.Color = Color3.new(1,1,1)
- reye.Material = "Neon"
- reye.Transparency = 1
- local reyemesh = Instance.new("SpecialMesh",reye)
- reyemesh.MeshType = "Sphere"
- reye.Size = Vector3.new(0.12, 0.37, 0.27)
- local reyeweld = Instance.new("Weld",reye)
- reyeweld.Part0 = reye
- reyeweld.Part1 = char.Head
- reyeweld.C0 = CFrame.new(-0.551300049, -0.19681406, -0.198293686, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- local leye = Instance.new("Part",eyemodel)
- leye.Name = "LeftEye"
- leye.BrickColor = LeyeColor
- leye.Material = "Neon"
- leye.Size = Vector3.new(0.2,0.2,0.2)
- local leyemesh = Instance.new("SpecialMesh",leye)
- leyemesh.MeshType = "Sphere"
- leyemesh.Scale = Vector3.new(0.7,1.1,0.7)
- local leyeweld = Instance.new("Weld",leye)
- leyeweld.Part0 = leye
- leyeweld.Part1 = char.Head
- leyeweld.C0 = CFrame.new(-0.109999999, -0.25, 0.550000012, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- local leyeclone = leye:Clone()
- leyeclone.Transparency = 1
- leyeclone.Name = "RightEye"
- leyeclone.Parent = eyemodel
- for i,v in pairs(leyeclone:GetChildren()) do
- if v.ClassName == "Weld" then
- v:Destroy()
- end
- end
- local leyeweld2 = Instance.new("Weld",leyeclone)
- leyeweld2.Part0 = leyeclone
- leyeweld2.Part1 = char.Head
- leyeweld2.C0 = CFrame.new(0.0864697844, -0.25, 0.550000012, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- local fire = Instance.new("Fire",reye)
- fire.Heat = 25000
- fire.Color = leye.BrickColor.Color
- fire.Size = 2
- -- welds xd
- local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
- local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
- rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
- rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
- local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone()
- local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
- lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
- lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
- for i = 0,1 ,0.03 do
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.925931931, -0.0977840424, 0.974765539, 0.886040092, -0.463608712, -1.69641942e-06, 0.405292064, 0.774584651, 0.485548228, -0.225103036, -0.430215806, 0.87421),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.881086826, -0.201818228, 0.747067213, 0.882895231, 0.4695701, 1.00883415e-06, -0.397803098, 0.747956276, 0.531332433, 0.249497056, -0.469111204, 0.847163498),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- local slapsound = Instance.new("Sound",char.Torso)
- slapsound.SoundId = "rbxassetid://511340819"
- slapsound.Volume = 4
- -- Funcs
- function Blast(AAA)
- if AAA == "f" then
- local chatmath = math.random(1,3)
- if chatmath == 1 then
- chatfunc("Gaster Blaster!")
- end
- if chatmath == 2 then
- chatfunc("This is what you get for killing everybody.")
- end
- if chatmath == 3 then
- chatfunc("Look, I gave up trying to go back a long time ago.")
- end
- local gasterblaster = Instance.new("Part",char.Torso)
- gasterblaster.Size = Vector3.new(7, 16, 4)
- gasterblaster.CanCollide = false
- local gasterblastermesh = Instance.new("FileMesh",gasterblaster)
- gasterblastermesh.MeshId = "rbxassetid://431908407"
- gasterblastermesh.Scale = Vector3.new(0.05,0.05,0.05)
- local gasterblastertexture = Instance.new("Decal",gasterblaster)
- gasterblastertexture.Face = "Back"
- gasterblastertexture.Texture = "http://www.roblox.com/asset/?id=441975828"
- local weeld = Instance.new("Weld",gasterblaster)
- weeld.Part0 = gasterblaster
- weeld.Part1 = char.Torso
- weeld.C0 = CFrame.new(3.71674585, -11.54426, -0.129204988, -0.999741375, 0, 0.0227420069, 0, 1, 0, -0.0227420069, 0, -0.999741375)
- blastsound:Play()
- char.Head.Anchored = true
- wait(1)
- local blast = Instance.new("Part",gasterblaster)
- blast.Size = Vector3.new(18.07, 16.36, 73.54)
- blast.Transparency = 0.7
- blast.Material = "Neon"
- blast.Color = Color3.new(1,1,1)
- blast.CanCollide = true
- local blastweld = Instance.new("Weld",blast)
- blastweld.Part0 = blast
- blastweld.Part1 = gasterblaster
- blastweld.C0 = CFrame.new(-0.430000305, 1.73999977, -40.1399994, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- blast.Touched:connect(function(part)
- part.Parent:FindFirstChildOfClass("Humanoid"):Destroy() -- Makes them not able to move
- end)
- wait(2)
- char.Head.Anchored = false
- blast:Destroy()
- gasterblaster:Destroy()
- end
- end
- mouse.KeyDown:connect(Blast)
- function Death()
- music:Stop()
- local deadsound = Instance.new("Sound",char.Torso)
- deadsound.SoundId = "rbxassetid://427025525"
- deadsound.Volume = 4
- deadsound:Play()
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Part" then
- v.Transparency = 1
- end
- leye.Transparency = 1
- fire:Destroy()
- char.Head.face.Transparency = 1
- end
- end
- char.Sans.Died:connect(Death)
- function Transform(key)
- if key == "t" then
- music.SoundId = "rbxassetid://860704015"
- music:Stop()
- music:Play()
- chatfunc("Hehe, forgetting something?")
- leyeclone.Transparency = 0
- local fire2 = Instance.new("Fire",leyeclone)
- fire2.Heat = 25000
- fire2.Color = leye.BrickColor.Color
- fire2.Size = 2
- end
- end
- mouse.KeyDown:connect(Transform)
- function SLAP(key)
- if key == "y" then
- if normal and not epicmode then
- for i = 0,1 , 0.05 do
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.50000024, 0.405028582, -0.494292736, 0.752350092, -0.658763528, -1.01652529e-06, 0.014031955, 0.0160269327, -0.999769807, 0.658614039, 0.752179325, 0.0213016756),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- local hurtbox = Instance.new("Part",char["Right Arm"])
- hurtbox.Name = "Hurtbox"
- hurtbox.Size = Vector3.new(1, 0.23, 1)
- hurtbox.Transparency = 1
- hurtbox.CanCollide = false
- local hurtboxweld = Instance.new("Weld",hurtbox)
- hurtboxweld.Part0 = hurtbox
- hurtboxweld.Part1 = char["Right Arm"]
- hurtboxweld.C0 = CFrame.new(0, 0.924999475, 3.09944153e-06, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024)
- wait(0.5)
- for i = 0,1 , 0.05 do
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.50000024, 0.405025482, -0.494292736, 0.999977887, 0.0066490462, 2.196479e-05, -0.000119999582, 0.0213499293, -0.999768794, -0.00664799893, 0.999750018, 0.0213503242),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- function onTouched(brick)
- local humanoid = brick.Parent:FindFirstChildOfClass("Humanoid")
- if humanoid then
- humanoid:Destroy()
- slapsound:Play()
- end
- end
- hurtbox.Touched:connect(onTouched)
- wait(1)
- hurtbox:Destroy()
- for i = 0,1 , 0.03 do
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.881086826, -0.201818228, 0.747067213, 0.882895231, 0.4695701, 1.00883415e-06, -0.397803098, 0.747956276, 0.531332433, 0.249497056, -0.469111204, 0.847163498),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- end
- end
- end
- mouse.KeyDown:connect(SLAP)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement