Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Script
- --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
- wait(1)
- --// Script made by Cronizete
- --// Please dont check the code its ugly
- --// Who ever has this and youre not the maker of this script then you just stole it unless I released it to the public or whatever but yeah
- --// Please, if you're going to showcase this. Make sure to give credits to me :D
- --// Anyways, enjoy the script!!!!!!!!!!!!!!!
- 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://704100781"
- end
- if q:IsA('Pants') then
- q.PantsTemplate = "rbxassetid://704102680"
- 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("破壊する!")
- 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("このような世界が消えなければなりません!")
- 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