Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- This script has been converted to FE by iPxter
- 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
- do
- print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
- script.Parent = Player.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,Connect=function(self,f)self.Function=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()}
- 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 and t.Function then
- t.Function(...)
- end
- end
- m.TrigEvent = te
- UIS.TrigEvent = te
- Event.OnServerEvent:Connect(function(plr,io)
- if plr~=Player then return end
- if io.isMouse then
- m.Target = io.Target
- m.Hit = io.Hit
- else
- local b = io.UserInputState == Enum.UserInputState.Begin
- if io.UserInputType == Enum.UserInputType.MouseButton1 then
- return m:TrigEvent(b and "Button1Down" or "Button1Up")
- 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 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})
- end
- UIS.InputBegan:Connect(input)
- UIS.InputEnded:Connect(input)
- local Mouse = Player:GetMouse()
- 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)
- Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
- end
- ------------------------------------------------------------------------------------------------------------------------------------------
- local ScriptLink = [[--// 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 = owner
- 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 = "27112052"
- a.BodyPart = "LeftArm"
- a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character)
- a.MeshId = "27112056"
- a.BodyPart = "LeftLeg"
- a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character)
- a.MeshId = 27112039"
- a.BodyPart = "RightArm"
- a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character)
- a.MeshId = "27112068"
- a.BodyPart = "RightLeg"
- a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character)
- a.MeshId = "27112025"
- a.BodyPart = "Torso"
- if q:IsA('Shirt') then
- q.ShirtTemplate = "rbxassetid://457996826"
- end
- if q:IsA('Pants') then
- q.PantsTemplate = "rbxassetid://339391457"
- 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("I Wanna Test My Power")
- 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 = 999999999999999999999999999999999999999
- char.Humanoid.Health = char.Humanoid.MaxHealth
- end]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement