Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,game,owner = owner,game
- local RealPlayer = Player
- do
- print("FE Compatibility code by retram")
- print("https://pastebin.com/YKzLV6C8 link for keep it")
- local rp = RealPlayer
- script.Parent = rp.Character
- --RemoteEvent for communicating
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInput_Event"
- --Fake event to make stuff like Mouse.KeyDown work
- local function fakeEvent()
- local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
- t.connect = t.Connect
- return t
- end
- --Creating fake input objects with fake variables
- local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
- local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
- local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
- CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
- end}
- --Merged 2 functions into one by checking amount of arguments
- CAS.UnbindAction = CAS.BindAction
- --This function will trigger the events that have been :Connect()'ed
- local function te(self,ev,...)
- local t = m[ev]
- if t and t._fakeEvent then
- for _,f in pairs(t.Functions) do
- f(...)
- end
- end
- end
- m.TrigEvent = te
- UIS.TrigEvent = te
- Event.OnServerEvent:Connect(function(plr,io)
- if plr~=rp then return end
- m.Target = io.Target
- m.Hit = io.Hit
- if not io.isMouse then
- local b = io.UserInputState == Enum.UserInputState.Begin
- if io.UserInputType == Enum.UserInputType.MouseButton1 then
- return m:TrigEvent(b and "Button1Down" or "Button1Up")
- end
- if io.UserInputType == Enum.UserInputType.MouseButton2 then
- return m:TrigEvent(b and "Button2Down" or "Button2Up")
- end
- for _,t in pairs(CAS.Actions) do
- for _,k in pairs(t.Keys) do
- if k==io.KeyCode then
- t.Function(t.Name,io.UserInputState,io)
- end
- end
- end
- m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
- UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
- end
- end)
- Event.Parent = NLS([==[
- local Player = game:GetService("Players").LocalPlayer
- local Event = script:WaitForChild("UserInput_Event")
- local Mouse = Player:GetMouse()
- local UIS = game:GetService("UserInputService")
- local input = function(io,a)
- if a then return end
- --Since InputObject is a client-side instance, we create and pass table instead
- Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
- end
- UIS.InputBegan:Connect(input)
- UIS.InputEnded:Connect(input)
- local h,t
- --Give the server mouse data 30 times every second, but only if the values changed
- --If player is not moving their mouse, client won't fire events
- while wait(1/30) do
- if h~=Mouse.Hit or t~=Mouse.Target then
- h,t=Mouse.Hit,Mouse.Target
- Event:FireServer({isMouse=true,Target=t,Hit=h})
- end
- end]==],Player.Character)
- ----Sandboxed game object that allows the usage of client-side methods and services
- --Real game object
- local _rg = game
- --Metatable for fake service
- local fsmt = {
- __index = function(self,k)
- local s = rawget(self,"_RealService")
- if s then
- return typeof(s[k])=="function"
- and function(_,...)return s[k](s,...)end or s[k]
- end
- end,
- __newindex = function(self,k,v)
- local s = rawget(self,"_RealService")
- if s then s[k]=v end
- end
- }
- local function FakeService(t,RealService)
- t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
- return setmetatable(t,fsmt)
- end
- --Fake game object
- local g = {
- GetService = function(self,s)
- return rawget(self,s) or _rg:GetService(s)
- end,
- Players = FakeService({
- LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
- },"Players"),
- UserInputService = FakeService(UIS,"UserInputService"),
- ContextActionService = FakeService(CAS,"ContextActionService"),
- RunService = FakeService({
- _btrs = {},
- RenderStepped = _rg:GetService("RunService").Heartbeat,
- BindToRenderStep = function(self,name,_,fun)
- self._btrs[name] = self.Heartbeat:Connect(fun)
- end,
- UnbindFromRenderStep = function(self,name)
- self._btrs[name]:Disconnect()
- end,
- },"RunService")
- }
- rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
- g.service = g.GetService
- FakeService(g,game)
- --Changing owner to fake player object to support owner:GetMouse()
- game,owner = g,g.Players.LocalPlayer
- end --[[
- .▄▄ · ▄▄▄· ▐ ▄ .▄▄ · ▄▄ • ▄▄▄· • ▌ ▄ ·. ▪ ▐ ▄ ▄▄ •
- ▐█ ▀. ▐█ ▀█ •█▌▐█▐█ ▀. ▐█ ▀ ▪▐█ ▀█ ·██ ▐███▪██ •█▌▐█▐█ ▀ ▪
- ▄▀▀▀█▄▄█▀▀█ ▐█▐▐▌▄▀▀▀█▄ ▄█ ▀█▄▄█▀▀█ ▐█ ▌▐▌▐█·▐█·▐█▐▐▌▄█ ▀█▄
- ▐█▄▪▐█▐█ ▪▐▌██▐█▌▐█▄▪▐█ ▐█▄▪▐█▐█ ▪▐▌██ ██▌▐█▌▐█▌██▐█▌▐█▄▪▐█
- ▀▀▀▀ ▀ ▀ ▀▀ █▪ ▀▀▀▀ ·▀▀▀▀ ▀ ▀ ▀▀ █▪▀▀▀▀▀▀▀▀ █▪·▀▀▀▀
- by Gekkougasz.
- --]]
- --Why is this so small? (said 2003boobear)
- warn ("why")
- warn ("W H Y")
- warn("Original made by Gekkougasz, Small edit by 2003boobear.")
- local Player = game.Players.localPlayer
- local Character = Player.Character
- local plr = game:service'Players'.LocalPlayer
- local char = plr.Character
- local hum = char.Humanoid
- local ra = char["Right Arm"]
- local la= char["Left Arm"]
- local rl= char["Right Leg"]
- local ll = char["Left Leg"]
- local hed = char.Head
- local root = char.HumanoidRootPart
- local rootj = root.RootJoint
- local tors = char.Torso
- local mouse = plr:GetMouse()
- local LeftArm = Character["Left Arm"]
- local RightArm = Character["Right Arm"]
- local LeftLeg = Character["Left Leg"]
- local RightLeg = Character["Right Leg"]
- local Head = Character.Head
- local Torso = Character.Torso
- local cam = game.Workspace.CurrentCamera
- local RootPart = Character.HumanoidRootPart
- local RootJoint = RootPart.RootJoint
- shirt = Instance.new("Shirt", char)
- shirt.Name = "Shirt"
- pants = Instance.new("Pants", char)
- pants.Name = "Pants"
- char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1295395904"
- char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=1124043569"
- CF = CFrame.new --why not
- angles = CFrame.Angles
- attack = false
- timetofly = true
- Euler = CFrame.fromEulerAnglesXYZ
- Rad = math.rad
- IT = Instance.new
- BrickC = BrickColor.new
- Cos = math.cos
- Acos = math.acos
- Sin = math.sin
- Asin = math.asin
- Abs = math.abs
- Mrandom = math.random
- Floor = math.floor
- random = math.random
- radian = math.rad
- Vec3 = Vector3.new
- cFrame = CFrame.new
- Euler = CFrame.fromEulerAnglesXYZ
- 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
- local particleemitter = Instance.new('ParticleEmitter', la)
- particleemitter.VelocitySpread = 350
- particleemitter.Lifetime = NumberRange.new(1.2)
- particleemitter.Speed = NumberRange.new(14)
- cringememe= {}
- for i=0, 19 do
- cringememe[#cringememe + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
- end
- particleemitter.Size = NumberSequence.new(cringememe)
- particleemitter.Rate = 50
- particleemitter.LockedToPart = true
- particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
- particleemitter.LightEmission = 0
- particleemitter.Texture = "rbxassetid://1289070729"
- particleemitter.Color = ColorSequence.new(BrickColor.new("Institutional white").Color)
- local particleemitter = Instance.new('ParticleEmitter', Torso)
- particleemitter.VelocitySpread = 250
- particleemitter.Lifetime = NumberRange.new(3)
- particleemitter.Speed = NumberRange.new(1.5)
- youAreATHOT = {}
- for i=0, 19 do
- youAreATHOT[#youAreATHOT + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
- end
- particleemitter.Size = NumberSequence.new(youAreATHOT)
- particleemitter.Rate = 10
- particleemitter.LockedToPart = false
- particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
- particleemitter.LightEmission = 0
- particleemitter.Texture = "rbxassetid://425767313"
- particleemitter.Color = ColorSequence.new(BrickColor.new("Institutional white").Color)
- local particleemitter = Instance.new('ParticleEmitter', ra)
- particleemitter.VelocitySpread = 350
- particleemitter.Lifetime = NumberRange.new(1)
- particleemitter.Speed = NumberRange.new(0)
- cringememe2= {}
- for i=0, 19 do
- cringememe2[#cringememe2 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
- end
- particleemitter.Size = NumberSequence.new(cringememe2)
- particleemitter.Rate = 20
- particleemitter.LockedToPart = true
- particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
- particleemitter.LightEmission = 0
- particleemitter.Texture = "rbxassetid://1289070729"
- particleemitter.Color = ColorSequence.new(BrickColor.new("Institutional white").Color)
- local particleemitter = Instance.new('ParticleEmitter', rl)
- particleemitter.VelocitySpread = 350
- particleemitter.Lifetime = NumberRange.new(1)
- particleemitter.Speed = NumberRange.new(70)
- cringememe3= {}
- for i=0, 19 do
- cringememe3[#cringememe3 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
- end
- particleemitter.Size = NumberSequence.new(cringememe3)
- particleemitter.Rate = 30
- particleemitter.LockedToPart = true
- particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
- particleemitter.LightEmission = 0
- particleemitter.Texture = "rbxassetid://317595781"
- particleemitter.Color = ColorSequence.new(BrickColor.new("Institutional white").Color)
- local particleemitter = Instance.new('ParticleEmitter', ll)
- particleemitter.VelocitySpread = 350
- particleemitter.Lifetime = NumberRange.new(1)
- particleemitter.Speed = NumberRange.new(0)
- cringememe4= {}
- for i=0, 19 do
- cringememe4[#cringememe4 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
- end
- particleemitter.Size = NumberSequence.new(cringememe4)
- particleemitter.Rate = 30
- particleemitter.LockedToPart = true
- particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
- particleemitter.LightEmission = 0
- particleemitter.Texture = "rbxassetid://317595781"
- particleemitter.Color = ColorSequence.new(BrickColor.new("Institutional white").Color)
- SANES=Instance.new("Sound",Torso)
- SANES.SoundId="rbxassetid://1441359561"
- SANES.Volume=10
- SANES.Looped=true
- SANES:Play()
- coroutine.resume(coroutine.create(function()
- while true do
- swait()
- SANES.Parent = Torso
- end
- end))
- local a=game:GetService('Players').LocalPlayer local b=game:GetService('Players').LocalPlayer.Character local gay = b:WaitForChild('Humanoid') gay.MaxHealth = 999999999999999999*999999999999999999*999999999999999999*999999999999999999 gay.Health = gay.MaxHealth local c=a:GetMouse()local a=Instance.new("BillboardGui",b)a.Size=UDim2.new(0,100,0,40)a.StudsOffset=Vector3.new(0,2,0)a.Adornee=b.Head a.Name="Tecks"local d=Instance.new("TextLabel",a)d.BackgroundTransparency=1 d.BorderSizePixel=0 d.Text="sANS GAMING"d.Font="Arcade"d.TextSize=30 d.TextStrokeTransparency=0 d.TextStrokeColor3=Color3.new(0,0,0)d.Size=UDim2.new(1,0,0.5,0)b.Head.face.Texture='rbxassetid://400387868'for a,a in next,game:GetService('Players').LocalPlayer.Character:GetChildren()do if a:IsA('Accessory')then a:Destroy()end end a=Instance.new("SelectionBox",workspace)c.Button1Down:connect(function()local a=c.Target if a.Parent:FindFirstChild("Humanoid")and a.Parent:FindFirstChild("Torso")then a.Parent.Humanoid.Health=0 d.Text="you are died"wait(2)d.Text='sANS GAMING'end end)c.Move:connect(function()a.Adornee=c.Target end)while wait()do d.TextColor3=Color3.new(1,0,0)for a=1,15 do game:GetService("RunService").RenderStepped:wait()d.TextColor3=Color3.new(d.TextColor3.r,d.TextColor3.g+(17/255),d.TextColor3.b)end for a=1,15 do game:GetService("RunService").RenderStepped:wait()d.TextColor3=Color3.new(d.TextColor3.r-(17/255),d.TextColor3.g,d.TextColor3.b)end for a=1,15 do game:GetService("RunService").RenderStepped:wait()d.TextColor3=Color3.new(d.TextColor3.r,d.TextColor3.g,d.TextColor3.b+(17/255))end for a=1,15 do game:GetService("RunService").RenderStepped:wait()d.TextColor3=Color3.new(d.TextColor3.r,d.TextColor3.g-(17/255),d.TextColor3.b)end for a=1,15 do game:GetService("RunService").RenderStepped:wait()d.TextColor3=Color3.new(d.TextColor3.r+(17/255),d.TextColor3.g,d.TextColor3.b)end for a=1,15 do game:GetService("RunService").RenderStepped:wait()d.TextColor3=Color3.new(d.TextColor3.r,d.TextColor3.g,d.TextColor3.b-(17/255))end end
Add Comment
Please, Sign In to add comment