Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --https://github.com/Mokiros/roblox-FE-compatibility
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,Mouse,mouse,UserInputService,ContextActionService = owner
- local RealPlayer = Player
- do print("FE Compatibility code by Mokiros")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
- -- 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("hehehe.")
- wait(2)
- chatfunc("hello..")
- wait(2)
- chatfunc("you're murder...")
- wait(2)
- chatfunc("you killed my brother...")
- wait(2)
- chatfunc("fuck you...")
- wait(0.5)
- char.Humanoid.Name = "sans"
- local music = Instance.new("Sound",char.Torso)
- music.SoundId = "rbxassetid://746514206"
- 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