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 local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
- plr = game.Players.LocalPlayer
- char = plr.Character
- ff = Instance.new('ForceField', char)
- ff.Visible = false
- mouse = plr:GetMouse()
- human = char.Humanoid
- torso = char.Torso
- root = char.HumanoidRootPart
- lleg = char["Left Leg"]
- rleg = char["Right Leg"]
- larm = char["Left Arm"]
- rarm = char["Right Arm"]
- head = char.Head
- lshold = torso["Left Shoulder"]
- rshold = torso["Right Shoulder"]
- neck = torso.Neck
- lhip = torso["Left Hip"]
- rhip = torso["Right Hip"]
- lscf = lshold.C0
- rscf = rshold.C0
- ncf = neck.C0
- lhcf = lhip.C0
- rhcf = rhip.C0
- rad = math.rad
- random = math.random
- sin = math.sin
- cos = math.cos
- floor = math.floor
- lsho = lshold.C0
- rsho = rshold.C0
- cd1 = true
- cd2 = true
- function harmlessexplo()
- sph = Instance.new('Part', char)
- sph.Anchored = true
- sph.CFrame = char.Torso.CFrame
- sph.CanCollide = false
- sph.Anchored = true
- sph.Transparency = 0
- sph.Material = "Neon"
- sph.Shape = "Ball"
- sph.Size = Vector3.new(0.2,0.2,0.2)
- for i = 1,50 do
- wait()
- sph.Size = sph.Size + Vector3.new(4,4,4)
- sph.Transparency = sph.Transparency + 0.05
- sph.CFrame = char.Torso.CFrame
- end
- sph:Destroy()
- end
- function entrance()
- for _,q in pairs(char:GetChildren()) do
- if q:IsA('Accessory') then
- q:Destroy()
- end
- a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character)
- a.MeshId = "279174949"
- a.BodyPart = "LeftArm"
- a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character)
- a.MeshId = "319336109"
- a.BodyPart = "LeftLeg"
- a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character)
- a.MeshId = "279174886"
- a.BodyPart = "RightArm"
- a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character)
- a.MeshId = "319336155"
- a.BodyPart = "RightLeg"
- a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character)
- a.MeshId = "376169183"
- a.BodyPart = "Torso"
- if q:IsA('Shirt') then
- q.ShirtTemplate = "rbxassetid://1179287335"
- end
- if q:IsA('Pants') then
- q.PantsTemplate = "rbxassetid://1179287166"
- end
- char["Left Arm"].BrickColor = BrickColor.new('Cyan')
- char["Right Arm"].BrickColor = BrickColor.new('Cyan')
- if q.Name ~= "HumanoidRootPart" and q:IsA('Part') then
- q.Transparency = 1
- end
- end
- char.Humanoid.HipHeight = 60
- wait(.05)
- char.Torso.Anchored = true
- sph = Instance.new('Part', char)
- sph.Anchored = true
- sph.CFrame = char.Torso.CFrame
- sph.CanCollide = false
- sph.Anchored = true
- sph.Transparency = 0
- sph.Material = "Neon"
- sph.Shape = "Ball"
- sph.Size = Vector3.new(0.2,0.2,0.2)
- sp = Instance.new('SpecialMesh', sph)
- sp.MeshId = "http://www.roblox.com/Asset/?id=9982590"
- sp.Scale = Vector3.new(0.2,0.2,0.2)
- a = 0
- for i = 1, 25 do
- sph.Color = Color3.new(math.random(1,255),math.random(1,255),math.random(1,255))
- sp.Scale = sp.Scale + Vector3.new(0.3,0.3,0.3)
- sph.Rotation = Vector3.new( a, a, a)
- wait()
- a = a+3
- end
- for _,e in pairs(char:GetChildren()) do
- if e:IsA('Accessory') then
- e.Handle.Transparency = 0
- end
- if e.Name ~= "HumanoidRootPart" and e:IsA('Part') then
- e.Transparency = 0
- end
- end
- for i = 1, 115 do
- sph.Color = Color3.new(math.random(1,255),math.random(1,255),math.random(1,255))
- sph.Transparency = sph.Transparency + 0.01
- sph.Rotation = Vector3.new( a, a, a)
- wait()
- a = a+15
- end
- char.Torso.Anchored = false
- char.Humanoid.HipHeight = 0
- end
- function chat(chatt)
- local text = Instance.new("BillboardGui", game.Players.LocalPlayer.Character)
- text.Size = UDim2.new(0,100,0,40)
- text.StudsOffset = Vector3.new(0,3,0)
- text.Adornee = game.Players.LocalPlayer.Character.Head
- text.Name = "1"
- local text1 = Instance.new("TextLabel",text)
- text1.BackgroundTransparency = 1
- text1.TextStrokeTransparency = 1
- text1.TextTransparency = 1
- text1.BorderSizePixel = 0
- text1.Text = chatt
- text1.Font = "Fantasy"
- text1.FontSize = "Size36"
- text1.TextStrokeTransparency = 0
- text1.TextColor3 = Color3.new(1,1,1)
- text1.TextStrokeColor3 = Color3.new(0,0,0)
- text1.Size = UDim2.new(1,0,0.5,0)
- for i=1,15 do
- wait()
- text1.TextStrokeTransparency = text1.TextStrokeTransparency - 0.1
- text1.TextTransparency = text1.TextTransparency - 0.1
- end
- wait(1)
- for i=1,25 do
- wait()
- text1.TextStrokeTransparency = text1.TextStrokeTransparency + 0.1
- text1.TextTransparency = text1.TextTransparency + 0.1
- end
- end
- function explo()
- sph = Instance.new('Part', char)
- sph.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild('Humanoid') then
- if hit.Parent.Name ~= plr.Name then
- hit.Parent:Destroy()
- else
- end
- end
- end)
- sph.Anchored = true
- sph.CFrame = char.Torso.CFrame
- sph.CanCollide = false
- sph.Anchored = true
- sph.Transparency = 0
- sph.Material = "Neon"
- sph.Shape = "Ball"
- sph.Size = Vector3.new(0.2,0.2,0.2)
- for i = 1,50 do
- wait()
- sph.Size = sph.Size + Vector3.new(4,4,4)
- sph.Transparency = sph.Transparency + 0.03
- sph.CFrame = char.Torso.CFrame
- end
- sph:Destroy()
- end
- --// Main script, don't touch if you don't know how to script or you might ruin the script.
- entrance()
- mouse.Button1Down:connect(function()
- if cd1 then
- if mouse.Target.Parent:FindFirstChild('Humanoid') then
- cd1 = false
- local target = mouse.Target.Parent
- target:FindFirstChild('Torso').Anchored = true
- for i=0,1,0.1 do
- rshold.C0 = rshold.C0:lerp(CFrame.new(0.9,0.5,-0.1)*CFrame.Angles(rad(-90),rad(90),rad(-180)),i)
- wait()
- end
- chat("Hakai!")
- wait(.5)
- particle = Instance.new('Part', workspace)
- particle.Anchored = true
- particle.CFrame = target:FindFirstChild('Torso').CFrame
- particle.CanCollide = false
- particle.Anchored = true
- particle.Transparency = 1
- particle.Size = Vector3.new(6.52, 10.36, 6.34)
- local pe = Instance.new("ParticleEmitter")
- pe.Acceleration = Vector3.new(7, 7, 7)
- pe.Lifetime = NumberRange.new(1, 4)
- pe.Rate = 500
- pe.RotSpeed = NumberRange.new(7, 7)
- pe.LightEmission = 0.700
- pe.Rotation = NumberRange.new(0, 0)
- pe.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 1, 0),
- NumberSequenceKeypoint.new(1, 10, 0),
- NumberSequenceKeypoint.new(1, 10, 0)
- })
- pe.Texture = "http://www.roblox.com/asset/?id=242996110"
- pe.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(0.4, 0.3, 0),
- NumberSequenceKeypoint.new(1, 1, 1)
- })
- pe.ZOffset = 5
- pe.VelocitySpread = 360
- pe.Parent = particle
- pe.Enabled = true
- wait(1)
- pe.Enabled = false
- target:Destroy()
- for i=0,1,0.1 do
- rshold.C0 = rshold.C0:lerp(rsho,i)
- wait()
- end
- wait(1)
- cd1 = true
- end
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key == "t" then
- if cd1 then
- cd1 = false
- particle = Instance.new('Part', workspace)
- particle.Anchored = true
- particle.CFrame = char:FindFirstChild('Torso').CFrame
- particle.CanCollide = false
- particle.Anchored = true
- particle.Transparency = 1
- particle.Size = Vector3.new(6.52, 10.36, 6.34)
- local pe = Instance.new("ParticleEmitter")
- pe.Acceleration = Vector3.new(7, 7, 7)
- pe.Lifetime = NumberRange.new(1, 4)
- pe.Rate = 500
- pe.RotSpeed = NumberRange.new(7, 7)
- pe.LightEmission = 0.700
- pe.Rotation = NumberRange.new(0, 0)
- pe.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 1, 0),
- NumberSequenceKeypoint.new(1, 10, 0),
- NumberSequenceKeypoint.new(1, 10, 0)
- })
- pe.Texture = "http://www.roblox.com/asset/?id=242996110"
- pe.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(0.4, 0.3, 0),
- NumberSequenceKeypoint.new(1, 1, 1)
- })
- pe.ZOffset = 5
- pe.VelocitySpread = 360
- pe.Parent = particle
- pe.Enabled = true
- wait(.3)
- char.Torso.CFrame = mouse.Hit
- pe.Enabled = false
- harmlessexplo()
- wait(3)
- cd1 = true
- end
- end
- if key == "q" then
- if cd2 then
- cd2 = false
- for i=0,1,0.1 do
- lshold.C0 = lshold.C0:lerp(CFrame.new(-1.3,0.7,-0.1)*CFrame.Angles(rad(25),-rad(20),-rad(90)),i)
- rshold.C0 = rshold.C0:lerp(CFrame.new(1.3,0.7,-0.1)*CFrame.Angles(rad(25),rad(20),rad(90)),i)
- wait()
- end
- local pe = Instance.new("ParticleEmitter")
- pe.Acceleration = Vector3.new(3, 3, 3)
- pe.Lifetime = NumberRange.new(0.1, 0.5)
- pe.Rate = 4000
- pe.RotSpeed = NumberRange.new(0, 0)
- pe.LightEmission = 0.700
- pe.Rotation = NumberRange.new(0, 0)
- pe.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 1, 0),
- NumberSequenceKeypoint.new(0.1, 1, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- pe.Texture = "http://www.roblox.com/asset/?id=242996110"
- pe.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(0.4, 0.3, 0),
- NumberSequenceKeypoint.new(1, 1, 1)
- })
- pe.ZOffset = 5
- pe.VelocitySpread = 360
- pe.Parent = char["Right Arm"]
- pe1 = pe:Clone()
- pe1.Parent = char["Left Arm"]
- wait(.05)
- pe.Enabled = true
- wait(.05)
- for i= 1, 100 do
- char.Humanoid.HipHeight = char.Humanoid.HipHeight + 0.5
- wait()
- end
- wait(.03)
- chat("This planet is bad, Lets destroy it")
- wait(.07)
- explo()
- wait(.04)
- for i=0,1,0.1 do
- lshold.C0 = lshold.C0:lerp(lsho,i)
- rshold.C0 = rshold.C0:lerp(rsho,i)
- wait()
- end
- pe.Enabled = false
- pe1.Enabled = fasle
- char.Humanoid.HipHeight = 0
- wait(5)
- cd2 = true
- end
- end
- end)
- while wait() do
- char.Humanoid.MaxHealth = 99999
- char.Humanoid.Health = char.Humanoid.MaxHealth
- end
Add Comment
Please, Sign In to add comment