Advertisement
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,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
- c = owner.Character
- local ColorArray = {ColorSequenceKeypoint.new(0, Color3.new(85/255, 0/255, 255/255)),ColorSequenceKeypoint.new(1, Color3.new(0/255,255/255,127/255))}
- local att1 = Instance.new("Attachment", c["Right Leg"])
- att1.Name = "att1"
- att1.Position = Vector3.new(0.5, 1, 0.5)
- local att2 = Instance.new("Attachment", c["Right Leg"])
- att2.Name = "att2"
- att2.Position = Vector3.new(-0.5, 1, 0.5)
- local att3 = Instance.new("Attachment", c["Right Leg"])
- att3.Name = "att3"
- att3.Position = Vector3.new(0.5, -1, 0.5)
- local att4 = Instance.new("Attachment", c["Right Leg"])
- att4.Name = "att4"
- att4.Position = Vector3.new(-0.5, -1, 0.5)
- local attt1 = Instance.new("Attachment", c["Left Leg"])
- attt1.Name = "att1"
- attt1.Position = Vector3.new(0.5, 1, 0.5)
- local attt2 = Instance.new("Attachment", c["Left Leg"])
- attt2.Name = "att2"
- attt2.Position = Vector3.new(-0.5, 1, 0.5)
- local attt3 = Instance.new("Attachment", c["Left Leg"])
- attt3.Name = "att3"
- attt3.Position = Vector3.new(0.5, -1, 0.5)
- local attt4 = Instance.new("Attachment", c["Left Leg"])
- attt4.Name = "att4"
- attt4.Position = Vector3.new(-0.5, -1, 0.5)
- local trailtop1 = Instance.new("Trail", c["Right Leg"])
- trailtop1.Enabled = true
- trailtop1.Texture = "http://www.roblox.com/asset/?id=1978704853"
- trailtop1.Name = "toptrail"
- trailtop1.MinLength = 0
- trailtop1.Lifetime = 0.1
- trailtop1.Color = ColorSequence.new(ColorArray)
- trailtop1.Attachment0 = att1
- trailtop1.Attachment1 = att2
- trailtop1.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailbot1 = Instance.new("Trail", c["Right Leg"])
- trailbot1.Enabled = true
- trailbot1.Texture = "http://www.roblox.com/asset/?id=1978704853"
- trailbot1.Name = "bottrail"
- trailbot1.MinLength = 0
- trailbot1.Lifetime = 0.1
- trailbot1.Color = ColorSequence.new(ColorArray)
- trailbot1.Attachment0 = att3
- trailbot1.Attachment1 = att4
- trailbot1.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailside1 = Instance.new("Trail", c["Right Leg"])
- trailside1.Enabled = true
- trailside1.Texture = "http://www.roblox.com/asset/?id=1978704853"
- trailside1.Name = "sidetrail1"
- trailside1.MinLength = 0
- trailside1.Lifetime = 0.1
- trailside1.Color = ColorSequence.new(ColorArray)
- trailside1.Attachment0 = att1
- trailside1.Attachment1 = att3
- trailside1.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailside2 = Instance.new("Trail", c["Right Leg"])
- trailside2.Enabled = true
- trailside2.Texture = "http://www.roblox.com/asset/?id=1978704853"
- trailside2.Name = "sidetrail2"
- trailside2.MinLength = 0
- trailside2.Lifetime = 0.1
- spawn(function()
- while true do wait()
- trailside2.Color = ColorSequence.new(ColorArray)
- end
- end)
- trailside2.Attachment0 = att2
- trailside2.Attachment1 = att4
- trailside2.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailtop12 = Instance.new("Trail", c["Left Leg"])
- trailtop12.Enabled = true
- trailtop12.Texture = "http://www.roblox.com/asset/?id=1978704853"
- trailtop12.Name = "toptrail"
- trailtop12.MinLength = 0
- trailtop12.Lifetime = 0.1
- spawn(function()
- while true do wait()
- trailtop12.Color = ColorSequence.new(ColorArray)
- end
- end)
- trailtop12.Attachment0 = attt1
- trailtop12.Attachment1 = attt2
- trailtop12.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailbot2 = Instance.new("Trail", c["Left Leg"])
- trailbot2.Enabled = true
- trailbot2.Texture = "http://www.roblox.com/asset/?id=1978704853"
- trailbot2.Name = "bottrail"
- trailbot2.MinLength = 0
- trailbot2.Lifetime = 0.1
- trailbot2.Color = ColorSequence.new(ColorArray)
- trailbot2.Attachment0 = attt3
- trailbot2.Attachment1 = attt4
- trailbot2.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailside12 = Instance.new("Trail", c["Left Leg"])
- trailside12.Enabled = true
- trailside12.Texture = "http://www.roblox.com/asset/?id=1978704853"
- trailside12.Name = "sidetrail1"
- trailside12.MinLength = 0
- trailside12.Lifetime = 0.1
- trailside12.Color = ColorSequence.new(ColorArray)
- trailside12.Attachment0 = attt1
- trailside12.Attachment1 = attt3
- trailside12.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailside22 = Instance.new("Trail", c["Left Leg"])
- trailside22.Enabled = true
- trailside22.Texture = "http://www.roblox.com/asset/?id=1978704853"
- trailside22.Name = "sidetrail2"
- trailside22.MinLength = 0
- trailside22.Lifetime = 0.1
- trailside22.Color = ColorSequence.new(ColorArray)
- trailside22.Attachment0 = attt2
- trailside22.Attachment1 = attt4
- trailside22.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local att1 = Instance.new("Attachment", c["Right Arm"])
- att1.Name = "att1"
- att1.Position = Vector3.new(0.5, 1, 0.5)
- local att2 = Instance.new("Attachment", c["Right Arm"])
- att2.Name = "att2"
- att2.Position = Vector3.new(-0.5, 1, 0.5)
- local att3 = Instance.new("Attachment", c["Right Arm"])
- att3.Name = "att3"
- att3.Position = Vector3.new(0.5, -1, 0.5)
- local att4 = Instance.new("Attachment", c["Right Arm"])
- att4.Name = "att4"
- att4.Position = Vector3.new(-0.5, -1, 0.5)
- local attt1 = Instance.new("Attachment", c["Left Arm"])
- attt1.Name = "att1"
- attt1.Position = Vector3.new(0.5, 1, 0.5)
- local attt2 = Instance.new("Attachment", c["Left Arm"])
- attt2.Name = "att2"
- attt2.Position = Vector3.new(-0.5, 1, 0.5)
- local attt3 = Instance.new("Attachment", c["Left Arm"])
- attt3.Name = "att3"
- attt3.Position = Vector3.new(0.5, -1, 0.5)
- local attt4 = Instance.new("Attachment", c["Left Arm"])
- attt4.Name = "att4"
- attt4.Position = Vector3.new(-0.5, -1, 0.5)
- local trailtop1 = Instance.new("Trail", c["Right Arm"])
- trailtop1.Enabled = true
- trailtop1.Texture = "http://www.roblox.com/asset/?id=1978704853"
- trailtop1.Name = "toptrail"
- trailtop1.MinLength = 0
- trailtop1.Lifetime = 0.1
- trailtop1.Color = ColorSequence.new(ColorArray)
- trailtop1.Attachment0 = att1
- trailtop1.Attachment1 = att2
- trailtop1.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailbot1 = Instance.new("Trail", c["Right Arm"])
- trailbot1.Enabled = true
- trailbot1.Texture = "http://www.roblox.com/asset/?id=1978704853"
- trailbot1.Name = "bottrail"
- trailbot1.MinLength = 0
- trailbot1.Lifetime = 0.1
- spawn(function()
- while true do wait()
- trailbot1.Color = ColorSequence.new(ColorArray)
- end
- end)
- trailbot1.Attachment0 = att3
- trailbot1.Attachment1 = att4
- trailbot1.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailside1 = Instance.new("Trail", c["Right Arm"])
- trailside1.Enabled = true
- trailside1.Texture = "http://www.roblox.com/asset/?id=1978704853"
- trailside1.Name = "sidetrail1"
- trailside1.MinLength = 0
- trailside1.Lifetime = 0.1
- trailside1.Color = ColorSequence.new(ColorArray)
- trailside1.Attachment0 = att1
- trailside1.Attachment1 = att3
- trailside1.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailside2 = Instance.new("Trail", c["Right Arm"])
- trailside2.Enabled = true
- trailside2.Texture = "http://www.roblox.com/asset/?id=1978704853"
- trailside2.Name = "sidetrail2"
- trailside2.MinLength = 0
- trailside2.Lifetime = 0.1
- trailside2.Color = ColorSequence.new(ColorArray)
- trailside2.Attachment0 = att2
- trailside2.Attachment1 = att4
- trailside2.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailtop12 = Instance.new("Trail", c["Left Arm"])
- trailtop12.Enabled = true
- trailtop12.Texture = "http://www.roblox.com/asset/?id=1978704853"
- trailtop12.Name = "toptrail"
- trailtop12.MinLength = 0
- trailtop12.Lifetime = 0.1
- trailtop12.Color = ColorSequence.new(ColorArray)
- trailtop12.Attachment0 = attt1
- trailtop12.Attachment1 = attt2
- trailtop12.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailbot2 = Instance.new("Trail", c["Left Arm"])
- trailbot2.Enabled = true
- trailbot2.Texture = "http://www.roblox.com/asset/?id=1978704853"
- trailbot2.Name = "bottrail"
- trailbot2.MinLength = 0
- trailbot2.Lifetime = 0.1
- trailbot2.Color = ColorSequence.new(ColorArray)
- trailbot2.Attachment0 = attt3
- trailbot2.Attachment1 = attt4
- trailbot2.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailside12 = Instance.new("Trail", c["Left Arm"])
- trailside12.Enabled = true
- trailside12.Texture = "http://www.roblox.com/asset/?id=1978704853"
- trailside12.Name = "sidetrail1"
- trailside12.MinLength = 0
- trailside12.Lifetime = 0.1
- trailside12.Color = ColorSequence.new(ColorArray)
- trailside12.Attachment0 = attt1
- trailside12.Attachment1 = attt3
- trailside12.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailside22 = Instance.new("Trail", c["Left Arm"])
- trailside22.Enabled = true
- trailside22.Texture = "http://www.roblox.com/asset/?id=1978704853"
- trailside22.Name = "sidetrail2"
- trailside22.MinLength = 0
- trailside22.Lifetime = 0.1
- trailside22.Color = ColorSequence.new(ColorArray)
- trailside22.Attachment0 = attt2
- trailside22.Attachment1 = attt4
- trailside22.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local att1 = Instance.new("Attachment", c["Torso"])
- att1.Name = "att1"
- att1.Position = Vector3.new(1, 1, 0.5)
- local att2 = Instance.new("Attachment", c["Torso"])
- att2.Name = "att2"
- att2.Position = Vector3.new(-1, 1, 0.5)
- local att3 = Instance.new("Attachment", c["Torso"])
- att3.Name = "att3"
- att3.Position = Vector3.new(1, -1, 0.5)
- local att4 = Instance.new("Attachment", c["Torso"])
- att4.Name = "att4"
- att4.Position = Vector3.new(-1, -1, 0.5)
- local attt1 = Instance.new("Attachment", c["Head"])
- attt1.Name = "att1"
- attt1.Position = Vector3.new(.55, .55, 0.025)
- local attt2 = Instance.new("Attachment", c["Head"])
- attt2.Name = "att2"
- attt2.Position = Vector3.new(-.55, .55, 0.025)
- local attt3 = Instance.new("Attachment", c["Head"])
- attt3.Name = "att3"
- attt3.Position = Vector3.new(.55, -.5, 0.025)
- local attt4 = Instance.new("Attachment", c["Head"])
- attt4.Name = "att4"
- attt4.Position = Vector3.new(-.55, -.5, 0.025)
- local trailtop1 = Instance.new("Trail", c["Torso"])
- trailtop1.Enabled = true
- trailtop1.Texture = "http://www.roblox.com/asset/?id=1978704853"
- trailtop1.Name = "toptrail"
- trailtop1.MinLength = 0
- trailtop1.Lifetime = 0.1
- trailtop1.Color = ColorSequence.new(ColorArray)
- trailtop1.Attachment0 = att1
- trailtop1.Attachment1 = att2
- trailtop1.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailbot1 = Instance.new("Trail", c["Torso"])
- trailbot1.Enabled = true
- trailbot1.Texture = "http://www.roblox.com/asset/?id=1978704853"
- trailbot1.Name = "bottrail"
- trailbot1.MinLength = 0
- trailbot1.Lifetime = 0.1
- trailbot1.Color = ColorSequence.new(ColorArray)
- trailbot1.Attachment0 = att3
- trailbot1.Attachment1 = att4
- trailbot1.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailside1 = Instance.new("Trail", c["Torso"])
- trailside1.Enabled = true
- trailside1.Texture = "http://www.roblox.com/asset/?id=1978704853"
- trailside1.Name = "sidetrail1"
- trailside1.MinLength = 0
- trailside1.Lifetime = 0.1
- trailside1.Color = ColorSequence.new(ColorArray)
- trailside1.Attachment0 = att1
- trailside1.Attachment1 = att3
- trailside1.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailside2 = Instance.new("Trail", c["Torso"])
- trailside2.Enabled = true
- trailside2.Texture = "http://www.roblox.com/asset/?id=1978704853"
- trailside2.Name = "sidetrail2"
- trailside2.MinLength = 0
- trailside2.Lifetime = 0.1
- trailside2.Color = ColorSequence.new(ColorArray)
- trailside2.Attachment0 = att2
- trailside2.Attachment1 = att4
- trailside2.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailtop12 = Instance.new("Trail", c["Head"])
- trailtop12.Enabled = true
- trailtop12.Texture = "http://www.roblox.com/asset/?id=1978704853"
- trailtop12.Name = "toptrail"
- trailtop12.MinLength = 0
- trailtop12.Lifetime = 0.1
- trailtop12.Color = ColorSequence.new(ColorArray)
- trailtop12.Attachment0 = attt1
- trailtop12.Attachment1 = attt2
- trailtop12.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailbot2 = Instance.new("Trail", c["Head"])
- trailbot2.Enabled = true
- trailbot2.Texture = "http://www.roblox.com/asset/?id=1978704853"
- trailbot2.Name = "bottrail"
- trailbot2.MinLength = 0
- trailbot2.Lifetime = 0.1
- trailbot2.Color = ColorSequence.new(ColorArray)
- trailbot2.Attachment0 = attt3
- trailbot2.Attachment1 = attt4
- trailbot2.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailside12 = Instance.new("Trail", c["Head"])
- trailside12.Enabled = true
- trailside12.Texture = "http://www.roblox.com/asset/?id=1978704853"
- trailside12.Name = "sidetrail1"
- trailside12.MinLength = 0
- trailside12.Lifetime = 0.1
- trailside12.Color = ColorSequence.new(ColorArray)
- trailside12.Attachment0 = attt1
- trailside12.Attachment1 = attt3
- trailside12.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailside22 = Instance.new("Trail", c["Head"])
- trailside22.Enabled = true
- trailside22.Texture = "http://www.roblox.com/asset/?id=1978704853"
- trailside22.Name = "sidetrail2"
- trailside22.MinLength = 0
- trailside22.Lifetime = 0.1
- trailside22.Color = ColorSequence.new(ColorArray)
- trailside22.Attachment0 = attt2 trailside22.Attachment1 = attt4
- trailside22.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0, 0),NumberSequenceKeypoint.new(1, 1, 0)})
- for i,v in pairs(c:children()) do
- if v.ClassName == "Part" then
- for i,v2 in pairs(v:children()) do
- if v2.ClassName == "Trail" then
- v2.Lifetime = .15
- v2.Enabled = true
- v2.LightEmission = 1
- end
- end
- end
- end
- walksp = 0
- jumppo = 0
- function freeze()
- c = owner.Character
- walksp = c.Humanoid.WalkSpeed
- jumppo = c.Humanoid.JumpPower
- bl = Instance.new("BlurEffect", game.Lighting)
- bl.Size = 0
- ball = Instance.new("Part", c)
- ball.Shape = "Ball"
- ball.Material = "Neon"
- ball.BrickColor = BrickColor.new("White")
- ball.Anchored = true
- ball.CanCollide = false
- ball.Size = Vector3.new(1.05,1.05,1.05)
- ball.CFrame = c.Torso.CFrame
- ball2 = Instance.new("Part", c)
- ball2.Shape = "Ball"
- ball2.Material = "Neon"
- ball2.Anchored = true
- ball2.CanCollide = false
- ball2.Size = Vector3.new(.05,.05,.05)
- ball2.CFrame = c.Torso.CFrame
- ball2.BrickColor = BrickColor.new("White")
- ball.Touched:Connect(function(h)
- if h.Parent.Name ~= owner.Character.Name then
- if h.ClassName == "BasePart" or h.ClassName == "Part" or h.ClassName == "MeshPart" then
- if h.Name == "Base" then return end
- if h.Parent.ClassName == "Model" then
- h.Parent:BreakJoints()
- end
- h.Velocity = Vector3.new(math.random(-100,100), math.random(-100,100), math.random(-100,100))
- end
- if h.Parent.ClassName == "Accessory" or h.ClassName == "Accessory" then return end
- game.Debris:AddItem(h,3)
- end
- end)
- for i, player in ipairs(game.Players:GetPlayers()) do
- if player.Name ~= owner.Name then
- if player.Character then
- if player.Character:FindFirstChildOfClass("Humanoid") then
- hum = player.Character:FindFirstChildOfClass("Humanoid")
- hum.WalkSpeed = 1
- hum.JumpPower = 10
- end
- end
- end
- end
- workspace.Gravity = 10
- NLS([==[
- workspace.Gravity = 198.2
- ]==],c)
- c.Humanoid.WalkSpeed = 500
- c.Humanoid.JumpPower = 200
- for i = 1,50 do
- ball.Size = ball.Size:Lerp(Vector3.new(50,50,50), .1)
- ball.Color = ball.Color:Lerp(BrickColor.new("Teal").Color,.05)
- ball.Transparency = i/50
- ball2.Size = ball2.Size:Lerp(Vector3.new(45,45,45), .1)
- ball2.Color = ball2.Color:Lerp(BrickColor.new("Royal purple").Color,.1)
- ball2.Transparency = i/50
- bl.Size = bl.Size + .2
- wait()
- end
- ball2:Remove()
- ball:Remove()
- wait(10)
- ball = Instance.new("Part", c)
- ball.Shape = "Ball"
- ball.Material = "Neon"
- ball.BrickColor = BrickColor.new("Teal")
- ball.Anchored = true
- ball.CanCollide = false
- ball.Transparency = 1
- ball.Size = Vector3.new(50,50,50)
- ball.CFrame = c.Torso.CFrame
- ball2 = Instance.new("Part", c)
- ball2.Shape = "Ball"
- ball2.Material = "Neon"
- ball2.Anchored = true
- ball2.Transparency = 1
- ball2.CanCollide = false
- ball2.Size = Vector3.new(45,45,45)
- ball2.CFrame = c.Torso.CFrame
- ball2.BrickColor = BrickColor.new("Royal purple")
- c.Humanoid.WalkSpeed = walksp
- c.Humanoid.JumpPower = jumppo
- for i = 1,50 do
- ball.Size = ball.Size:Lerp(Vector3.new(1.05,1.05,1.05), .1)
- ball.Color = ball.Color:Lerp(BrickColor.new("White").Color,.1)
- ball.Transparency = ball.Transparency - (1/50)
- ball2.Size = ball2.Size:Lerp(Vector3.new(.05,.05,.05), .1)
- ball2.Color = ball2.Color:Lerp(BrickColor.new("White").Color,.1)
- ball2.Transparency = ball2.Transparency - (1/50)
- bl.Size = bl.Size - .2
- wait()
- end
- ball2:Remove()
- ball:Remove()
- for i, player in ipairs(game.Players:GetPlayers()) do
- if player.Name ~= owner.Name then
- if player.Character then
- if player.Character:FindFirstChildOfClass("Humanoid") then
- hum = player.Character:FindFirstChildOfClass("Humanoid")
- hum.WalkSpeed = 16
- hum.JumpPower = 50
- end
- end
- end
- end
- bl:Remove()
- workspace.Gravity = 198.2
- end
- can_da = true
- c = owner.Character
- function dashattack(hit)
- if can_da == true then
- can_da = false
- owner.Character:MoveTo(hit)
- ball = Instance.new("Part", c)
- ball.Shape = "Ball"
- ball.Material = "Neon"
- ball.BrickColor = BrickColor.new("Teal")
- ball.Anchored = true
- ball.CanCollide = false
- ball.Transparency = 1
- ball.Size = Vector3.new(10,10,10)
- ball.CFrame = c.Torso.CFrame
- q= Instance.new("Part", c)
- q.Shape = "Ball"
- q.Material = "Neon"
- q.BrickColor = BrickColor.new("Teal")
- q.Anchored = true
- q.CanCollide = false
- q.Transparency = 1
- q.Size = Vector3.new(.1,.1,.1)
- q.CFrame = c.Torso.CFrame
- ball.Touched:Connect(function(h)
- if h.Parent.Name ~= owner.Character.Name then
- if h.ClassName == "BasePart" or h.ClassName == "Part" or h.ClassName == "MeshPart" then
- if h.Name == "Base" then return end
- if h.Parent.ClassName == "Model" then
- h.Parent:BreakJoints()
- end
- h.Velocity = Vector3.new(math.random(-100,100), math.random(-100,100), math.random(-100,100))
- end
- if h.Parent.ClassName == "Accessory" or h.ClassName == "Accessory" then return end
- game.Debris:AddItem(h,3)
- end
- end)
- sizes = {
- NumberSequenceKeypoint.new(0,2,0);
- NumberSequenceKeypoint.new(0.5,2.5,0);
- NumberSequenceKeypoint.new(1,3,0)
- }
- seeses = {
- NumberSequenceKeypoint.new(0,1,0);
- NumberSequenceKeypoint.new(0.2,0,0);
- NumberSequenceKeypoint.new(0.8,0,0);
- NumberSequenceKeypoint.new(1,1,0)
- }
- pt1 = Instance.new("ParticleEmitter", q)
- pt1.LightEmission = 1
- pt1.LightInfluence = 0
- pt1.Size = NumberSequence.new(sizes)
- pt1.Transparency = NumberSequence.new(seeses)
- pt1.Texture = "rbxassetid://2273224484"
- pt1.Acceleration = Vector3.new(0,0,0)
- pt1.Enabled = false
- pt1.ZOffset = 0
- pt1.Drag = 1
- life = 1
- pt1.Rate = 0
- pt1.EmissionDirection = "Left"
- pt1.Rotation = NumberRange.new(-180,180)
- pt1.SpreadAngle = Vector2.new(360,360)
- pt1.Lifetime = NumberRange.new(life)
- pt1.RotSpeed = NumberRange.new(-360,360)
- pt1.Speed = NumberRange.new(30)
- pt1.Color = ColorSequence.new(BrickColor.new("Royal purple").Color, BrickColor.new("Teal").Color)
- pt1:Emit(100)
- BV = Instance.new('BodyVelocity', owner.Character.Torso)
- BV.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- BV.velocity = Vector3.new(0,100,0)
- game.Debris:AddItem(ball,1.1)
- game.Debris:AddItem(q,1.1)
- wait(.1)
- BV:Remove()
- can_da = true
- end
- end
- function hellzone()
- paro = Instance.new("Part", owner.Character)
- paro.Size = Vector3.new(.05,.05,.05)
- paro.Transparency = 1
- paro.CanCollide = false
- paro.Anchored = true
- sizes = {
- NumberSequenceKeypoint.new(0,2,0);
- NumberSequenceKeypoint.new(0.5,2.5,0);
- NumberSequenceKeypoint.new(1,3,0)
- }
- seeses = {
- NumberSequenceKeypoint.new(0,1,0);
- NumberSequenceKeypoint.new(0.2,0,0);
- NumberSequenceKeypoint.new(0.8,0,0);
- NumberSequenceKeypoint.new(1,1,0)
- }
- pt1 = Instance.new("ParticleEmitter", paro)
- pt1.LightEmission = 1
- pt1.LightInfluence = 0
- pt1.Size = NumberSequence.new(sizes)
- pt1.Transparency = NumberSequence.new(seeses)
- pt1.Texture = "rbxassetid://2273224484"
- pt1.Acceleration = Vector3.new(0,0,0)
- pt1.Enabled = false
- pt1.ZOffset = 0
- pt1.Drag = 1
- life = 2
- pt1.Rate = 0
- pt1.EmissionDirection = "Left"
- pt1.Rotation = NumberRange.new(-180,180)
- pt1.SpreadAngle = Vector2.new(360,360)
- pt1.Lifetime = NumberRange.new(life)
- pt1.RotSpeed = NumberRange.new(-360,360)
- pt1.Speed = NumberRange.new(20)
- pt1.Color = ColorSequence.new(BrickColor.new("Royal purple").Color, BrickColor.new("Teal").Color)
- for i = 1,100 do
- par = Instance.new("Part",workspace)
- par.Anchored = true
- par.Shape = "Ball"
- size = math.random(1,10)
- par.Size = Vector3.new(size,size,size)
- par.Material = "Neon"
- par.BrickColor = BrickColor.new("Steel blue")
- par.Name = "FlameOrb"
- par.CanCollide = false
- game.Debris:AddItem(par, 7)
- par.Position = Vector3.new(math.random(-700,700), math.random(1,700), math.random(-700,700))
- paro.Position = par.Position
- pt1:Emit(100)
- wait((5/100))
- end
- game.Debris:AddItem(paro, 2.5)
- end
- sprinting = false
- local ColorArray = {ColorSequenceKeypoint.new(0, Color3.new(85/255, 0/255, 255/255)),ColorSequenceKeypoint.new(1, Color3.new(0/255,255/255,127/255))}
- function slash()
- LeftW = c.Torso["Left Shoulder"]
- tors = c.Torso
- prevC0 = LeftW.C0
- left = c["Left Arm"]
- LeftW.C0 = LeftW.C0 * CFrame.fromEulerAnglesXYZ(math.random(-180,180),math.random(-180,180),math.random(-180,180))
- ci = Instance.new("Part", c)
- ci.CanCollide = false
- ci.Size = Vector3.new(10,1,0)
- A1 = Instance.new("Attachment",ci)
- A1.Position = Vector3.new(5, 0, 0)
- local A2 = Instance.new("Attachment",ci)
- A2.Position = Vector3.new(-5, 0, 0)
- local Trail = Instance.new("Trail",ci)
- Trail.LightEmission = 1
- Trail.FaceCamera = false
- Trail.Texture = "http://www.roblox.com/asset/?id=1978704853"
- Trail.Attachment0 = A1
- Trail.Attachment1 = A2
- Trail.Lifetime = 0.2
- Trail.MinLength = 0
- Trail.Transparency = NumberSequence.new(0, 1)
- Trail.Color = ColorSequence.new(ColorArray)
- ci.CanCollide = false
- ci.CFrame = tors.CFrame * CFrame.new(0,0,5)
- ci.CFrame = ci.CFrame * CFrame.Angles(0,0,math.random(-360,360))
- ci.Material = "Neon"
- ci.BrickColor = BrickColor.new("White")
- ci.Touched:Connect(function(h)
- if h.Parent.Name ~= owner.Character.Name then
- if h.ClassName == "BasePart" or h.ClassName == "Part" or h.ClassName == "MeshPart" then
- if h.Name == "Base" then return end
- if h.Parent.ClassName == "Model" then
- h.Parent:BreakJoints()
- end
- h.Velocity = Vector3.new(math.random(-100,100), math.random(-100,100), math.random(-100,100))
- end
- if h.Parent.ClassName == "Accessory" or h.ClassName == "Accessory" then return end
- game.Debris:AddItem(h,3)
- end
- end)
- BV = Instance.new('BodyVelocity', ci)
- BV.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- BV.velocity = tors.CFrame.lookVector*250
- wait(.1)
- LeftW.C0 = prevC0
- end
- qe= Instance.new("Part", c)
- qe.Shape = "Ball"
- qe.Material = "Neon"
- qe.BrickColor = BrickColor.new("Teal")
- qe.CanCollide = false
- qe.Transparency = 1
- qe.Size = Vector3.new(.1,.1,.1)
- qe.CFrame = c.Torso.CFrame
- w = Instance.new("Weld", c)
- w.Part0 = c.Torso
- w.Part1 = qe
- sizes = {
- NumberSequenceKeypoint.new(0,2,0);
- NumberSequenceKeypoint.new(0.5,2.5,0);
- NumberSequenceKeypoint.new(1,3,0)
- }
- seeses = {
- NumberSequenceKeypoint.new(0,1,0);
- NumberSequenceKeypoint.new(0.2,0,0);
- NumberSequenceKeypoint.new(0.8,0,0);
- NumberSequenceKeypoint.new(1,1,0)
- }
- pt1q = Instance.new("ParticleEmitter", qe)
- pt1q.LightEmission = 1
- pt1q.LightInfluence = 0
- pt1q.Size = NumberSequence.new(sizes)
- pt1q.Transparency = NumberSequence.new(seeses)
- pt1q.Texture = "rbxassetid://2273224484"
- pt1q.Acceleration = Vector3.new(0,0,0)
- pt1q.Enabled = false
- pt1q.ZOffset = 0
- pt1q.Drag = 1
- life = 1
- pt1q.Rate = 0
- pt1q.EmissionDirection = "Left"
- pt1q.Rotation = NumberRange.new(-180,180)
- pt1q.SpreadAngle = Vector2.new(0,360)
- pt1q.Lifetime = NumberRange.new(life)
- pt1q.RotSpeed = NumberRange.new(-30,30)
- pt1q.Speed = NumberRange.new(30)
- pt1q.Color = ColorSequence.new(BrickColor.new("Royal purple").Color, BrickColor.new("Teal").Color)
- sizes = {
- NumberSequenceKeypoint.new(0,0,0);
- NumberSequenceKeypoint.new(0.5,2,0);
- NumberSequenceKeypoint.new(1,3,0)
- }
- seeses = {
- NumberSequenceKeypoint.new(0,1,0);
- NumberSequenceKeypoint.new(0.2,0,0);
- NumberSequenceKeypoint.new(0.8,0,0);
- NumberSequenceKeypoint.new(1,1,0)
- }
- pt1a = Instance.new("ParticleEmitter", c.Head)
- pt1a.LightEmission = 1
- pt1a.LightInfluence = 0
- pt1a.Size = NumberSequence.new(sizes)
- pt1a.Transparency = NumberSequence.new(seeses)
- pt1a.Texture = "http://www.roblox.com/asset/?id=46492672"
- pt1a.Enabled = false
- pt1a.ZOffset = 0
- pt1a.Drag = 0
- life = 1
- pt1a.Rate = 1
- pt1a.EmissionDirection = "Top"
- pt1a.Rotation = NumberRange.new(0)
- pt1a.SpreadAngle = Vector2.new(-5,5)
- pt1a.Lifetime = NumberRange.new(5)
- pt1a.RotSpeed = NumberRange.new(0)
- pt1a.Speed = NumberRange.new(1)
- pt1a.Color = ColorSequence.new(BrickColor.new("Royal purple").Color, BrickColor.new("Teal").Color)
- sitting = false
- mouse.KeyDown:Connect(function(E)
- if E == "q" then
- freeze()
- elseif E == "e" then
- dashattack(mouse.Hit.p)
- elseif E == "r" then
- hellzone()
- elseif E == "t" then
- slash()
- elseif E == "z" and sprinting == false then
- sprinting = true
- owner.Character.Humanoid.WalkSpeed = 250
- owner.Character.Humanoid.JumpPower = 100
- elseif E == "z" and sprinting == true then
- sprinting = false
- owner.Character.Humanoid.WalkSpeed = 16
- owner.Character.Humanoid.JumpPower = 50
- elseif E == "x" and sitting == false then
- sitting = true
- owner.Character.Humanoid.Sit = true
- pt1a.Enabled = true
- elseif E == "x" and sitting == true then
- sitting = false
- owner.Character.Humanoid.Sit = false
- pt1a.Enabled = false
- end
- end)
- while true do
- for i,v in pairs(c:children()) do
- if v.ClassName == "Part" then
- if v.Name == "Left Arm" or v.Name == "Left Leg" or v.Name == "Right Arm" or v.Name == "Right Leg" or v.Name == "Head" or v.Name == "Torso" or v.Name == "HumanoidRootPart" then
- v.Anchored = false
- end
- end
- end
- wait()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement