Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[hecknes1800]]--
- -- 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
- --[[hecknes1800]]--
- local plr = owner
- local char = plr.Character
- local hum = char:WaitForChild("Humanoid")
- print("Do Not Point Up! Reset If You Did!")
- local ani = Instance.new("Animation")
- ani.Parent = workspace
- ani.AnimationId = ("http://www.roblox.com/Asset?ID=3365765115")
- local loani = game.Workspace[plr.Name].Humanoid:LoadAnimation(ani)
- en = true
- ButtonDown = true
- mouse.KeyDown:connect(function(key)
- if en == false then return end
- key = key:lower()
- if key == "q" then
- loani:Play()
- loani:AdjustSpeed(0.1)
- en = false
- local val = Instance.new("IntValue",workspace)
- local sounds = Instance.new("Sound",workspace)
- local pa = Instance.new("Part")
- pa.Transparency = 1
- local ma = Instance.new("Part")
- local weld = Instance.new("Weld")
- local shine = Instance.new("Part",ma)
- sounds.Looped = false
- sounds.Volume = 10
- sounds.SoundId = ("rbxassetid://340505360")
- sounds:Play()
- local Fr = Instance.new("Part")
- local woosh = Instance.new("Sound",Fr)
- woosh.SoundId = "rbxassetid://1846550529"
- shine.Anchored = true
- shine.CanCollide = false
- shine.Transparency = 1
- local rarm = char["Right Arm"]
- ma.CFrame = rarm.CFrame * CFrame.new(0,-1.75,0)
- weld.Part0 = rarm
- weld.C0 = rarm.CFrame:Inverse()
- weld.Part1 = ma
- weld.C1 = ma.CFrame:Inverse()
- ma.Parent = rarm
- weld.Parent = ma
- shine.CFrame = ma.CFrame
- local bbg = Instance.new("BillboardGui",shine)
- bbg.MaxDistance = 100
- bbg.Size = UDim2.new(0,250,0,250)
- local shiner = Instance.new("ImageLabel",bbg)
- shiner.Image = ("rbxassetid://313951123")
- ma.Anchored = false
- ma.CanCollide = false
- ma.Transparency = 1
- local dec = Instance.new("Decal",ma)
- dec.Texture = ("http://www.roblox.com/asset/?id=1003309602")
- dec.Face = ("Top")
- local dec2 = dec:Clone()
- dec2.Parent = ma
- dec2.Face = ("Bottom")
- shiner.ImageColor3 = Color3.fromRGB(102,0,255)
- shiner.BackgroundTransparency = 1
- shiner.BorderSizePixel = 0
- shiner.Size = UDim2.new(0,250,0,250)
- ma.Size = Vector3.new(2,0.000001,2)
- pa.Parent = Fr
- Fr.Shape = ("Ball")
- Fr.Transparency = 1
- Fr.Material = ("Neon")
- Fr.Parent = char
- Fr.Anchored = true
- Fr.CFrame = char.Torso.CFrame*CFrame.new(0,5,0)
- Fr.BrickColor = BrickColor.new("Really black")
- Fr.Name = ("NebulaBomb")
- Fr.CanCollide = false
- for i = 1,20 do
- char.Torso.Anchored = true
- bbg.Size = bbg.Size + UDim2.new(0,25,0,25)
- shiner.Size = shiner.Size + UDim2.new(0,25,0,25)
- shiner.ImageTransparency = shiner.ImageTransparency + 0.05
- ma.Size = ma.Size + Vector3.new(0.2,0,0.2)
- wait(0.05)
- end
- Fr.Transparency = 1
- ---Forces---
- local BG = Instance.new("BodyGyro", char.Torso)
- BG.Name = "SkillGyro"
- BG.D = 100
- BG.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
- local BP = Instance.new("BodyPosition", char.Torso)
- BP.Position = char.HumanoidRootPart.Position
- BP.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- pa.Anchored = true
- pa.CFrame = Fr.CFrame
- ------------
- --Charging
- wait(2)
- char.Torso.Anchored = false
- while ButtonDown == true do
- local pos = mouse.Hit.p
- val.Value = val.Value + 1
- BG.CFrame = CFrame.new(char.Torso.Position, pos)
- Fr.Size = Fr.Size+Vector3.new(0.008,0.008,0.008)
- Fr.CFrame = Fr.CFrame*CFrame.new(0,0.008,0)
- pa.CFrame = pa.CFrame*CFrame.new(0,0.01,0)
- pa.Orientation = pa.Orientation+Vector3.new(0.5,0.5,0.5)
- ma.Size = ma.Size+Vector3.new(0.01,0,0.01)
- ma.CFrame = ma.CFrame*CFrame.new(0,0.005,0)
- wait()
- end
- woosh:Play()
- local fire = Instance.new("Fire",Fr)
- fire.Heat = 9
- fire.Size = 7
- fire.Color = Color3.fromRGB(15,7,236)
- fire.SecondaryColor = Color3.fromRGB(255,8,0)
- Fr.Transparency = 0
- wait(1)
- ma:Destroy()
- char.Torso.Anchored = false
- pa.Anchored = false
- --
- Fr.CFrame = char.Torso.CFrame*CFrame.new(0,0, -5)
- Fr.Anchored = false
- local BV = Instance.new("BodyVelocity")
- BV.Parent = Fr
- BV.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- BV.Velocity = char.Torso.CFrame.lookVector*100
- pa.Transparency = 0.7
- wait()
- pa.Transparency = 0.8
- wait()
- pa.Transparency = 0.9
- wait()
- pa.Transparency = 1
- local ten = true
- ---Damaging--
- Fr.Touched:connect(function(hit)
- if ten == false then return end
- ten = false
- local ehum = hit.Parent:FindFirstChild("Humanoid") or hit.Parent.Parent:FindFirstChild("Humanoid")
- if ehum and ehum ~= hum then
- ehum:TakeDamage(20+val.Value)
- Fr.Transparency = 1
- Fr.Anchored = true
- Fr.CanCollide = false
- local sound = Instance.new("Sound",workspace)
- sound.SoundId = ("rbxassetid://138186576")
- sound:Play()
- elseif hit.Anchored == true and hit.CanCollide == true then
- local sound = Instance.new("Sound",workspace)
- sound.SoundId = ("rbxassetid://138186576")
- sound:Play()
- hit.Color = Color3.fromRGB(2,2,2)
- hit.Material = ("Neon")
- Fr.Transparency = 1
- fire:Destroy()
- Fr.Anchored = true
- Fr.CanCollide = false
- local cloud = Instance.new("Part",Fr)
- local ESpike = Instance.new("Part",Fr)
- cloud.CanCollide = true
- ESpike.CanCollide = false
- cloud.Anchored = true
- ESpike.Anchored = true
- local clm = Instance.new("SpecialMesh",cloud)
- ESpike.Shape = ("Cylinder")
- clm.Parent = cloud
- clm.MeshId = ("rbxassetid://700927324")
- clm.Scale = Vector3.new(10,10,10)
- ESpike.Size = Vector3.new(700,30,30)
- cloud.Position = Fr.Position
- ESpike.Position = Fr.Position + Vector3.new(0,50,0)
- ESpike.Material = ("Neon")
- ESpike.BrickColor = BrickColor.new("Dark stone grey")
- ESpike.Orientation = Vector3.new(0, 180, -90)
- cloud.BrickColor = BrickColor.new("Dark stone grey")
- for i = 1, 20 do
- clm.Scale = clm.Scale+Vector3.new(0.05,0.05,0.05)
- ESpike.Size = ESpike.Size + Vector3.new(0.06,10,0.06)
- wait()
- end
- for i = 1,10 do
- ESpike.Transparency = ESpike.Transparency + 0.1
- cloud.Transparency = cloud.Transparency + 0.3
- wait()
- end
- ESpike:Destroy()
- cloud:Destroy()
- end
- Fr:Destroy()
- BG:remove()
- BP:remove()
- sounds:Stop()
- hit.Color = Color3.fromRGB(2,2,2)
- wait(0.1)
- hit.Color = Color3.fromRGB(5,5,5)
- wait(0.1)
- hit.Color = Color3.fromRGB(8,8,8)
- wait(0.1)
- hit.Color = Color3.fromRGB(11,11,11)
- wait(0.1)
- hit.Color = Color3.fromRGB(14,14,14)
- ten = true
- end)
- wait(3)
- ButtonDown = true
- en = true
- end
- end)
- mouse.KeyUp:connect(function(key)
- key = key:lower()
- if key == "q" then
- wait(0.5)
- loani:Stop()
- ButtonDown = false
- end
- end)
Add Comment
Please, Sign In to add comment