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
- tors = Player.Character.HumanoidRootPart
- char = Player.Character
- debri = game:GetService('Debris')
- mode = 'push'
- gui = Instance.new('ScreenGui', Player.PlayerGui)
- modecycle = 1
- cooldown = false
- tcol = 'Bright yellow'
- switchmode = Instance.new('TextButton', gui)
- switchmode.Text = '|>Push<|'
- switchmode.Font = 'Antique'
- switchmode.TextStrokeTransparency = 0
- switchmode.TextStrokeColor3 = BrickColor.new(tcol).Color
- switchmode.TextColor3 = Color3.new(0,0,0)
- switchmode.TextScaled = true
- switchmode.BackgroundTransparency = 1
- switchmode.Size = UDim2.new(0.4, 0, 0.2, 0)
- switchmode2 = Instance.new('TextButton', gui)
- switchmode2.Text = '|>Cloud<|'
- switchmode2.Font = 'Antique'
- switchmode2.TextStrokeTransparency = 0
- switchmode2.TextStrokeColor3 = BrickColor.new('Bright yellow').Color
- switchmode2.TextColor3 = Color3.new(255,255,255)
- switchmode2.TextScaled = true
- switchmode2.BackgroundTransparency = 1
- switchmode2.Size = UDim2.new(0.4, 0, 0.2, 0)
- switchmode2.Position = UDim2.new(0, 570, 0, 0)
- storm = Instance.new('TextButton', gui)
- storm.Text = '🌩|>STORM<|🌩'
- storm.Font = 'Antique'
- storm.TextStrokeTransparency = 0
- storm.TextStrokeColor3 = BrickColor.new('Bright yellow').Color
- storm.TextColor3 = BrickColor.new('Bright yellow').Color
- storm.TextScaled = true
- storm.BackgroundTransparency = 1
- storm.Size = UDim2.new(0.4, 0, 0.2, 0)
- storm.Position = UDim2.new(0, 300, 0, 450)
- switchmode.MouseButton1Click:Connect(function()
- if modecycle == 1 then
- mode = 'boost'
- tcol = 'Steel blue'
- switchmode.Text = '|>Boost<|'
- switchmode.TextStrokeColor3 = BrickColor.new(tcol).Color
- modecycle = 2
- elseif modecycle == 2 then
- mode = 'fling'
- tcol = 'Royal purple'
- switchmode.Text = '|>Fling<|'
- switchmode.TextStrokeColor3 = BrickColor.new(tcol).Color
- modecycle = 3
- elseif modecycle == 3 then
- mode = 'punish'
- tcol = 'Really blue'
- switchmode.Text = '|>Punish<|'
- switchmode.TextStrokeColor3 = BrickColor.new(tcol).Color
- modecycle = 4
- elseif modecycle == 4 then
- mode = 'heal'
- tcol = 'Lime green'
- switchmode.Text = '|>Heal<|'
- switchmode.TextStrokeColor3 = BrickColor.new(tcol).Color
- modecycle = 5
- elseif modecycle == 5 then
- mode = 'kingjonun'
- tcol = 'Neon orange'
- switchmode.Text = '|>Nuke<|'
- switchmode.TextStrokeColor3 = BrickColor.new(tcol).Color
- modecycle = 6
- elseif modecycle == 6 then
- mode = 'push'
- tcol = 'Bright yellow'
- switchmode.Text = '|>Push<|'
- switchmode.TextStrokeColor3 = BrickColor.new(tcol).Color
- modecycle = 1
- end
- end)
- function cloud()
- P = Instance.new('Part', char)
- P.Material = "Ice"
- P.Size = Vector3.new(10,10,10)
- P.BrickColor = BrickColor.new('Medium blue')
- P.CFrame = tors.CFrame*CFrame.new(0, 0, -5)
- Mesh = Instance.new('SpecialMesh', P)
- Mesh.MeshType = 'FileMesh'
- Mesh.MeshId = 'rbxassetid://1095708'
- Mesh.Scale = Vector3.new(5,5,5)
- PG = P:Clone()
- PG.Size = P.Size + Vector3.new(0.1,0.1,0.1)
- PG.Material = 'ForceField'
- PG.BrickColor = BrickColor.new(col)
- PG.Parent = P
- Mesh = Instance.new('SpecialMesh', PG)
- Mesh.MeshType = 'FileMesh'
- Mesh.MeshId = 'rbxassetid://1095708'
- Mesh.TextureId = 'rbxassetid://1095709'
- colll = BrickColor.new(col).Color
- Mesh.VertexColor = Vector3.new(colll.r,colll.g,colll.b)
- Mesh.Scale = Vector3.new(5,5.05,5)
- weld = Instance.new("Weld")
- weld.Parent = P
- weld.Part0 = P
- weld.Name = "WeldToGlowingPart"
- weld.Part1 = PG
- weld.C1 = CFrame.new(0.01, 0.01, 0.01)
- A1 = Instance.new("Attachment",P)
- A1.Position = Vector3.new(0, 2, 0)
- local A2 = Instance.new("Attachment",PG)
- A2.Position = Vector3.new(0, -2, 0)
- local Trail = Instance.new("Trail",PG)
- Trail.LightEmission = 1
- Trail.FaceCamera = true
- Trail.Texture = "rbxassetid://945758042"
- Trail.Attachment0 = A1
- Trail.Attachment1 = A2
- Trail.Lifetime = 0.7
- Trail.MinLength = 0
- Trail.Transparency = NumberSequence.new(0, 0)
- Trail.Color = ColorSequence.new(BrickColor.new(col).Color)
- BV = Instance.new('BodyVelocity', P)
- BV.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- BV.velocity = tors.CFrame.lookVector*50
- debri:AddItem(P, 5)
- end
- function heal(hit)
- if hit.Parent:FindFirstChild('Humanoid') ~= nil then
- hit.Parent.Humanoid.Health = hit.Parent.Humanoid.MaxHealth
- end
- end
- function boom(part)
- if part.Parent ~= char and part.Parent.Parent ~= char then
- local mesh = Instance.new('SpecialMesh')
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://3270017"
- mesh.Scale = Vector3.new(10,10,15)
- local mesh2 = Instance.new('SpecialMesh')
- mesh2.MeshType = "FileMesh"
- mesh2.MeshId = "rbxassetid://1051557"
- mesh2.TextureId = "https://www.roblox.com/library/591081746/sparkle"
- mesh2.Scale = Vector3.new(20,100,20)
- yellow = BrickColor.new("Bright red")
- yColor = yellow.Color
- yVector = Vector3.new(yColor.r,yColor.g,yColor.b)
- mesh2.VertexColor = yVector
- local mesh3 = mesh2:Clone()
- mesh3.Scale = Vector3.new(19,100,19)
- orange = BrickColor.new("Deep orange")
- oColor = orange.Color
- oVector = Vector3.new(oColor.r,oColor.g,oColor.b)
- mesh3.VertexColor = oVector
- local mesh4 = Instance.new('SpecialMesh')
- mesh4.MeshType = 'Sphere'
- local eff1 = Instance.new('Part',workspace)
- eff1.Position= part.Position
- eff1.Anchored = true
- eff1.CanCollide = false
- eff1.Material = Enum.Material.ForceField
- eff1.BrickColor = BrickColor.new('Bright yellow')
- eff1.Transparency = 1
- eff1.Size = Vector3.new(101,101,101)
- eff1.Name = "eff1"
- mesh2.Parent= eff1
- local eff2 = Instance.new('Part',workspace)
- eff2.Position= part.Position
- eff2.Shape = "Ball"
- eff2.Anchored = true
- eff2.CanCollide = false
- eff2.Material = Enum.Material.ForceField
- eff2.BrickColor = BrickColor.new('Deep orange')
- eff2.Transparency = 1
- eff2.Reflectance = 0.2
- eff2.Size = Vector3.new(100,100,100)
- eff2.Name = "eff2"
- mesh3.Parent = eff2
- local eff3 = Instance.new('Part',workspace)
- eff3.Position = part.Position
- eff3.Anchored = true
- eff3.Transparency = 1
- eff3.CanCollide = false
- eff3.Orientation = Vector3.new(90,0,0)
- eff3.Name = "eff3"
- mesh.Parent = eff3
- local eff4 = Instance.new('Part', workspace)
- eff4.Size = Vector3.new(0,50,0)
- eff4.CanCollide = false
- eff4.Anchored = true
- eff4.Position = part.Position
- eff4.Material = 'Neon'
- eff4.BrickColor = BrickColor.new(col)
- eff4.Name = 'eff4'
- eff4.Transparency = 1
- mesh4.Parent = eff4
- Val = 1
- for i=1,10 do
- mesh2.Scale = mesh2.Scale - Vector3.new(2,6,2)
- eff1.Transparency = eff1.Transparency - 0.01
- mesh3.Scale = mesh3.Scale - Vector3.new(4,6,4)
- eff2.Transparency = eff2.Transparency - 0.01
- eff1.CFrame = eff1.CFrame * CFrame.fromEulerAnglesXYZ(0,0.1,0)
- eff2.CFrame = eff2.CFrame * CFrame.fromEulerAnglesXYZ(0,-0.1,0)
- wait()
- end
- eff3.Transparency = 0
- eff4.Transparency = 0
- eff4.Touched:Connect(fling)
- for i=1,100 do
- mesh2.Scale = mesh2.Scale + Vector3.new(3,0,3)
- mesh3.Scale = mesh3.Scale + Vector3.new(3,0,3)
- eff4.Size = eff4.Size+ Vector3.new(1,3,1)
- eff3.Mesh.Scale = eff3.Mesh.Scale + Vector3.new(10,10,0)
- eff1.CFrame = eff1.CFrame * CFrame.fromEulerAnglesXYZ(0,-0.2,0)
- eff2.CFrame = eff2.CFrame * CFrame.fromEulerAnglesXYZ(0,0.2,0)
- if i >= 70 then
- eff2.Transparency = eff2.Transparency + 0.03
- eff1.Transparency = eff1.Transparency + 0.03
- eff3.Transparency = eff3.Transparency +0.03
- eff4.Transparency = eff4.Transparency +0.03
- end
- wait()
- end
- eff1:Destroy()
- eff2:Destroy()
- eff3:Destroy()
- eff4:Destroy()
- end
- end
- function speed()
- c = tors
- A1 = Instance.new("Attachment",c)
- A1.Position = Vector3.new(0, 1.5, 0)
- local A2 = Instance.new("Attachment",c)
- A2.Position = Vector3.new(0, -1.5, 0)
- local Trail = Instance.new("Trail",c)
- Trail.LightEmission = 1
- Trail.FaceCamera = true
- Trail.Texture = "rbxassetid://945758042"
- Trail.Attachment0 = A1
- Trail.Attachment1 = A2
- Trail.Lifetime = 1.5
- Trail.MinLength = 0
- Trail.Transparency = NumberSequence.new(0, 0)
- Trail.Color = ColorSequence.new(BrickColor.new(col).Color)
- c = char.Head
- A1 = Instance.new("Attachment",c)
- A1.Position = Vector3.new(0, 1.5, 0)
- local A2 = Instance.new("Attachment",c)
- A2.Position = Vector3.new(0, -1.5, 0)
- local Trail = Instance.new("Trail",c)
- Trail.LightEmission = 1
- Trail.FaceCamera = true
- Trail.Texture = "rbxassetid://945758042"
- Trail.Attachment0 = A1
- Trail.Attachment1 = A2
- Trail.Lifetime = 1.5
- Trail.MinLength = 0
- Trail.Transparency = NumberSequence.new(0, 0)
- Trail.Color = ColorSequence.new(BrickColor.new(col).Color)
- pcall(function()
- c = char['Left Arm']
- A1 = Instance.new("Attachment",c)
- A1.Position = Vector3.new(0, 1.5, 0)
- local A2 = Instance.new("Attachment",c)
- A2.Position = Vector3.new(0, -1.5, 0)
- local Trail = Instance.new("Trail",c)
- Trail.LightEmission = 1
- Trail.FaceCamera = true
- Trail.Texture = "rbxassetid://945758042"
- Trail.Attachment0 = A1
- Trail.Attachment1 = A2
- Trail.Lifetime = 1.5
- Trail.MinLength = 0
- Trail.Transparency = NumberSequence.new(0, 0)
- Trail.Color = ColorSequence.new(BrickColor.new(col).Color)
- c = char['Right Arm']
- A1 = Instance.new("Attachment",c)
- A1.Position = Vector3.new(0, 1.5, 0)
- local A2 = Instance.new("Attachment",c)
- A2.Position = Vector3.new(0, -1.5, 0)
- local Trail = Instance.new("Trail",c)
- Trail.LightEmission = 1
- Trail.FaceCamera = true
- Trail.Texture = "rbxassetid://945758042"
- Trail.Attachment0 = A1
- Trail.Attachment1 = A2
- Trail.Lifetime = 1.5
- Trail.MinLength = 0
- Trail.Transparency = NumberSequence.new(0, 0)
- Trail.Color = ColorSequence.new(BrickColor.new(col).Color)
- c = char['Left Leg']
- A1 = Instance.new("Attachment",c)
- A1.Position = Vector3.new(0, 1.5, 0)
- local A2 = Instance.new("Attachment",c)
- A2.Position = Vector3.new(0, -1.5, 0)
- local Trail = Instance.new("Trail",c)
- Trail.LightEmission = 1
- Trail.FaceCamera = true
- Trail.Texture = "rbxassetid://945758042"
- Trail.Attachment0 = A1
- Trail.Attachment1 = A2
- Trail.Lifetime = 1.5
- Trail.MinLength = 0
- Trail.Transparency = NumberSequence.new(0, 0)
- Trail.Color = ColorSequence.new(BrickColor.new(col).Color)
- c = char['Right Leg']
- A1 = Instance.new("Attachment",c)
- A1.Position = Vector3.new(0, 1.5, 0)
- local A2 = Instance.new("Attachment",c)
- A2.Position = Vector3.new(0, -1.5, 0)
- local Trail = Instance.new("Trail",c)
- Trail.LightEmission = 1
- Trail.FaceCamera = true
- Trail.Texture = "rbxassetid://945758042"
- Trail.Attachment0 = A1
- Trail.Attachment1 = A2
- Trail.Lifetime = 1.5
- Trail.MinLength = 0
- Trail.Transparency = NumberSequence.new(0, 0)
- Trail.Color = ColorSequence.new(BrickColor.new(col).Color)
- end)
- pcall(function()
- c = char.LeftFoot
- A1 = Instance.new("Attachment",c)
- A1.Position = Vector3.new(0, 1.5, 0)
- local A2 = Instance.new("Attachment",c)
- A2.Position = Vector3.new(0, -1.5, 0)
- local Trail = Instance.new("Trail",c)
- Trail.LightEmission = 1
- Trail.FaceCamera = true
- Trail.Texture = "rbxassetid://945758042"
- Trail.Attachment0 = A1
- Trail.Attachment1 = A2
- Trail.Lifetime = 1.5
- Trail.MinLength = 0
- Trail.Transparency = NumberSequence.new(0, 0)
- Trail.Color = ColorSequence.new(BrickColor.new(col).Color)
- c = char.RightFoot
- A1 = Instance.new("Attachment",c)
- A1.Position = Vector3.new(0, 1.5, 0)
- local A2 = Instance.new("Attachment",c)
- A2.Position = Vector3.new(0, -1.5, 0)
- local Trail = Instance.new("Trail",c)
- Trail.LightEmission = 1
- Trail.FaceCamera = true
- Trail.Texture = "rbxassetid://945758042"
- Trail.Attachment0 = A1
- Trail.Attachment1 = A2
- Trail.Lifetime = 1.5
- Trail.MinLength = 0
- Trail.Transparency = NumberSequence.new(0, 0)
- Trail.Color = ColorSequence.new(BrickColor.new(col).Color)
- c = char.RightHand
- A1 = Instance.new("Attachment",c)
- A1.Position = Vector3.new(0, 1.5, 0)
- local A2 = Instance.new("Attachment",c)
- A2.Position = Vector3.new(0, -1.5, 0)
- local Trail = Instance.new("Trail",c)
- Trail.LightEmission = 1
- Trail.FaceCamera = true
- Trail.Texture = "rbxassetid://945758042"
- Trail.Attachment0 = A1
- Trail.Attachment1 = A2
- Trail.Lifetime = 1.5
- Trail.MinLength = 0
- Trail.Transparency = NumberSequence.new(0, 0)
- Trail.Color = ColorSequence.new(BrickColor.new(col).Color)
- c = char.LeftHand
- A1 = Instance.new("Attachment",c)
- A1.Position = Vector3.new(0, 1.5, 0)
- local A2 = Instance.new("Attachment",c)
- A2.Position = Vector3.new(0, -1.5, 0)
- local Trail = Instance.new("Trail",c)
- Trail.LightEmission = 1
- Trail.FaceCamera = true
- Trail.Texture = "rbxassetid://945758042"
- Trail.Attachment0 = A1
- Trail.Attachment1 = A2
- Trail.Lifetime = 1.5
- Trail.MinLength = 0
- Trail.Transparency = NumberSequence.new(0, 0)
- Trail.Color = ColorSequence.new(BrickColor.new(col).Color)
- end)
- char.Humanoid.WalkSpeed = 200
- char.Humanoid.JumpPower = 150
- wait(60)
- char.Humanoid.WalkSpeed = 16
- char.Humanoid.JumpPower = 50
- char.Head.Trail:Destroy()
- char.Head.Attachment:Destroy()
- char.Head.Attachment:Destroy()
- tors.Trail:Destroy()
- tors.Attachment:Destroy()
- tors.Attachment:Destroy()
- pcall(function()
- char['Left Arm'].Trail:Destroy()
- char['Left Arm'].Attachment:Destroy()
- char['Left Arm'].Attachment:Destroy()
- char['Right Arm'].Trail:Destroy()
- char['Right Arm'].Attachment:Destroy()
- char['Right Arm'].Attachment:Destroy()
- char['Left Leg'].Trail:Destroy()
- char['Left Leg'].Attachment:Destroy()
- char['Left Leg'].Attachment:Destroy()
- char['Right Leg'].Trail:Destroy()
- char['Right Leg'].Attachment:Destroy()
- char['Right Leg'].Attachment:Destroy()
- end)
- pcall(function()
- char['LeftHand'].Trail:Destroy()
- char['LeftHand'].Attachment:Destroy()
- char['LeftHand'].Attachment:Destroy()
- char['RightHand'].Trail:Destroy()
- char['RightHand'].Attachment:Destroy()
- char['RightHand'].Attachment:Destroy()
- char['LeftFoot'].Trail:Destroy()
- char['LeftFoot'].Attachment:Destroy()
- char['LeftFoot'].Attachment:Destroy()
- char['RightFoot'].Trail:Destroy()
- char['RightFoot'].Attachment:Destroy()
- char['RightFoot'].Attachment:Destroy()
- end)
- end
- function speedcloud()
- P = Instance.new('Part', char)
- P.Material = "Ice"
- P.Size = Vector3.new(10,10,10)
- P.BrickColor = BrickColor.new('Bright yellow')
- P.Anchored = true
- P.CanCollide = false
- P.CFrame = tors.CFrame*CFrame.new(0, -2, 0)
- Mesha= Instance.new('SpecialMesh', P)
- Mesha.MeshType = 'FileMesh'
- Mesha.MeshId = 'rbxassetid://1095708'
- Mesha.Scale = Vector3.new(5,5,5)
- PG = P:Clone()
- PG.Size = P.Size + Vector3.new(0.1,0.1,0.1)
- PG.Material = 'ForceField'
- PG.BrickColor = BrickColor.new(col)
- PG.Parent = P
- Mesh = Instance.new('SpecialMesh', PG)
- Mesh.MeshType = 'FileMesh'
- Mesh.MeshId = 'rbxassetid://1095708'
- Mesh.TextureId = 'rbxassetid://1095709'
- colll = BrickColor.new(col).Color
- Mesh.VertexColor = Vector3.new(colll.r,colll.g,colll.b)
- Mesh.Scale = Vector3.new(5,5.05,5)
- weld = Instance.new("Weld")
- weld.Parent = P
- weld.Part0 = P
- weld.Name = "WeldToGlowingPart"
- weld.Part1 = PG
- weld.C1 = CFrame.new(0.01, 0.01, 0.01)
- for i = 1,20 do
- Mesha.Scale = Mesha.Scale + Vector3.new(1,1,1)
- Mesh.Scale = Mesh.Scale + Vector3.new(1,1,1)
- P.Transparency = P.Transparency + 0.05
- PG.Transparency = PG.Transparency + 0.05
- wait()
- end
- speed()
- debri:AddItem(P, 5)
- end
- function fling(hit)
- if hit.Name ~= "Base" and hit.Parent ~= char and hit.Parent.Parent ~= char then
- pcall(function() hit:BreakJoints() end)
- A1 = Instance.new("Attachment",hit)
- A1.Position = Vector3.new(0, 2, 0)
- local A2 = Instance.new("Attachment",hit)
- A2.Position = Vector3.new(0, -2, 0)
- local Trail = Instance.new("Trail",hit)
- Trail.LightEmission = 1
- Trail.FaceCamera = true
- Trail.Texture = "rbxassetid://945758042"
- Trail.Attachment0 = A1
- Trail.Attachment1 = A2
- Trail.Lifetime = 1
- Trail.MinLength = 0
- Trail.Transparency = NumberSequence.new(0, 0)
- Trail.Color = ColorSequence.new(BrickColor.new(col).Color)
- hit.Velocity = Vector3.new(hit.Velocity.X+ 200, hit.Velocity.Y + 200, hit.Velocity.Z+ 200)
- end
- end
- function punish(hit)
- if hit.Name ~= "Base" and hit.Parent ~= char and hit.Parent.Parent ~= char then
- if hit.Parent:FindFirstChild('HumanoidRootPart') ~= nil then
- Part = Instance.new('Part', char)
- Part.Anchored = true
- Part.CanCollide = false
- Part.CFrame = hit.CFrame
- Part.Transparency = 1
- Part.Size = Vector3.new(0.05,0.05,0.05)
- local Pt = Instance.new('ParticleEmitter', Part)
- Pt.Rate = 0
- Pt.Drag = 3
- Pt.SpreadAngle = Vector2.new(-180, 180)
- Pt.Color = ColorSequence.new(BrickColor.new(col).Color)
- Pt.LightEmission = 1
- Pt.Speed = NumberRange.new(20)
- Pt.Lifetime = NumberRange.new(3)
- Pt.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0), NumberSequenceKeypoint.new(0.7,0,0), NumberSequenceKeypoint.new(1,1,0)})
- Pt.RotSpeed = NumberRange.new(1,10)
- Pt:Emit(50)
- hit.Parent.HumanoidRootPart.Parent = nil
- debri:AddItem(Part, 4)
- else
- Part = Instance.new('Part', char)
- Part.Anchored = true
- Part.CanCollide = false
- Part.CFrame = hit.CFrame
- Part.Transparency = 1
- Part.Size = Vector3.new(0.05,0.05,0.05)
- local Pt = Instance.new('ParticleEmitter', Part)
- Pt.Rate = 0
- Pt.Drag = 3
- Pt.SpreadAngle = Vector2.new(-180, 180)
- Pt.Color = ColorSequence.new(BrickColor.new(col).Color)
- Pt.LightEmission = 1
- Pt.Speed = NumberRange.new(20)
- Pt.Lifetime = NumberRange.new(3)
- Pt.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0), NumberSequenceKeypoint.new(0.7,0,0), NumberSequenceKeypoint.new(1,1,0)})
- Pt.RotSpeed = NumberRange.new(1,10)
- Pt:Emit(50)
- hit.Parent = nil
- debri:AddItem(Part, 4)
- end
- end
- end
- function modes()
- if mode == 'push' then
- col = 'Bright yellow'
- cloud()
- elseif mode == 'boost' then
- col = 'Steel blue'
- speedcloud()
- elseif mode == 'heal' then
- col = 'Lime green'
- P = Instance.new('Part', char)
- P.Material = "Ice"
- P.Size = Vector3.new(10,10,10)
- P.BrickColor = BrickColor.new('Olive')
- P.CFrame = tors.CFrame*CFrame.new(0, 0, -5)
- Mesh = Instance.new('SpecialMesh', P)
- Mesh.MeshType = 'FileMesh'
- Mesh.MeshId = 'rbxassetid://1095708'
- Mesh.Scale = Vector3.new(5,5,5)
- PG = P:Clone()
- PG.Size = P.Size + Vector3.new(0.1,0.1,0.1)
- PG.Material = 'ForceField'
- PG.BrickColor = BrickColor.new(col)
- PG.Parent = P
- Mesh = Instance.new('SpecialMesh', PG)
- Mesh.MeshType = 'FileMesh'
- Mesh.MeshId = 'rbxassetid://1095708'
- Mesh.TextureId = 'rbxassetid://1095709'
- colll = BrickColor.new(col).Color
- Mesh.VertexColor = Vector3.new(colll.r,colll.g,colll.b)
- Mesh.Scale = Vector3.new(5,5.05,5)
- weld = Instance.new("Weld")
- weld.Parent = P
- weld.Part0 = P
- weld.Name = "WeldToGlowingPart"
- weld.Part1 = PG
- weld.C1 = CFrame.new(0.01, 0.01, 0.01)
- A1 = Instance.new("Attachment",P)
- A1.Position = Vector3.new(0, 2, 0)
- local A2 = Instance.new("Attachment",PG)
- A2.Position = Vector3.new(0, -2, 0)
- local Trail = Instance.new("Trail",PG)
- Trail.LightEmission = 1
- Trail.FaceCamera = true
- Trail.Texture = "rbxassetid://945758042"
- Trail.Attachment0 = A1
- Trail.Attachment1 = A2
- Trail.Lifetime = 0.7
- Trail.MinLength = 0
- Trail.Transparency = NumberSequence.new(0, 0)
- Trail.Color = ColorSequence.new(BrickColor.new(col).Color)
- BV = Instance.new('BodyVelocity', P)
- BV.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- BV.velocity = tors.CFrame.lookVector*50
- debri:AddItem(P, 5)
- PG.Touched:Connect(heal)
- elseif mode == 'fling' then
- col = 'Royal purple'
- P = Instance.new('Part', char)
- P.Material = "Ice"
- P.Size = Vector3.new(10,10,10)
- P.BrickColor = BrickColor.new('White')
- P.CFrame = tors.CFrame*CFrame.new(0, 0, -5)
- Mesh = Instance.new('SpecialMesh', P)
- Mesh.MeshType = 'FileMesh'
- Mesh.MeshId = 'rbxassetid://1095708'
- Mesh.Scale = Vector3.new(5,5,5)
- PG = P:Clone()
- PG.Size = P.Size + Vector3.new(0.1,0.1,0.1)
- PG.Material = 'ForceField'
- PG.BrickColor = BrickColor.new(col)
- PG.Parent = P
- Mesh = Instance.new('SpecialMesh', PG)
- Mesh.MeshType = 'FileMesh'
- Mesh.MeshId = 'rbxassetid://1095708'
- Mesh.TextureId = 'rbxassetid://1095709'
- colll = BrickColor.new(col).Color
- Mesh.VertexColor = Vector3.new(colll.r,colll.g,colll.b)
- Mesh.Scale = Vector3.new(5,5.05,5)
- weld = Instance.new("Weld")
- weld.Parent = P
- weld.Part0 = P
- weld.Name = "WeldToGlowingPart"
- weld.Part1 = PG
- weld.C1 = CFrame.new(0.01, 0.01, 0.01)
- A1 = Instance.new("Attachment",P)
- A1.Position = Vector3.new(0, 2, 0)
- local A2 = Instance.new("Attachment",PG)
- A2.Position = Vector3.new(0, -2, 0)
- local Trail = Instance.new("Trail",PG)
- Trail.LightEmission = 1
- Trail.FaceCamera = true
- Trail.Texture = "rbxassetid://945758042"
- Trail.Attachment0 = A1
- Trail.Attachment1 = A2
- Trail.Lifetime = 0.7
- Trail.MinLength = 0
- Trail.Transparency = NumberSequence.new(0, 0)
- Trail.Color = ColorSequence.new(BrickColor.new(col).Color)
- BV = Instance.new('BodyVelocity', P)
- BV.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- BV.velocity = tors.CFrame.lookVector*50
- debri:AddItem(P, 5)
- PG.Touched:Connect(fling)
- elseif mode == 'punish' then
- col = 'Really blue'
- P = Instance.new('Part', char)
- P.Material = "Ice"
- P.Size = Vector3.new(10,10,10)
- P.BrickColor = BrickColor.new('Black')
- P.CFrame = tors.CFrame*CFrame.new(0, 0, -5)
- Mesh = Instance.new('SpecialMesh', P)
- Mesh.MeshType = 'FileMesh'
- Mesh.MeshId = 'rbxassetid://1095708'
- Mesh.Scale = Vector3.new(5,5,5)
- PG = P:Clone()
- PG.Size = P.Size + Vector3.new(0.1,0.1,0.1)
- PG.Material = 'ForceField'
- PG.BrickColor = BrickColor.new(col)
- PG.Parent = P
- Mesh = Instance.new('SpecialMesh', PG)
- Mesh.MeshType = 'FileMesh'
- Mesh.MeshId = 'rbxassetid://1095708'
- Mesh.TextureId = 'rbxassetid://1095709'
- colll = BrickColor.new(col).Color
- Mesh.VertexColor = Vector3.new(colll.r,colll.g,colll.b)
- Mesh.Scale = Vector3.new(5,5.05,5)
- weld = Instance.new("Weld")
- weld.Parent = P
- weld.Part0 = P
- weld.Name = "WeldToGlowingPart"
- weld.Part1 = PG
- weld.C1 = CFrame.new(0.01, 0.01, 0.01)
- A1 = Instance.new("Attachment",P)
- A1.Position = Vector3.new(0, 2, 0)
- local A2 = Instance.new("Attachment",PG)
- A2.Position = Vector3.new(0, -2, 0)
- local Trail = Instance.new("Trail",PG)
- Trail.LightEmission = 1
- Trail.FaceCamera = true
- Trail.Texture = "rbxassetid://945758042"
- Trail.Attachment0 = A1
- Trail.Attachment1 = A2
- Trail.Lifetime = 0.7
- Trail.MinLength = 0
- Trail.Transparency = NumberSequence.new(0, 0)
- Trail.Color = ColorSequence.new(BrickColor.new(col).Color)
- BV = Instance.new('BodyVelocity', P)
- BV.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- BV.velocity = tors.CFrame.lookVector*50
- debri:AddItem(P, 5)
- PG.Touched:Connect(punish)
- elseif mode == 'kingjonun' then
- col = 'CGA brown'
- P = Instance.new('Part', char)
- P.Material = "Ice"
- P.Size = Vector3.new(10,10,10)
- P.BrickColor = BrickColor.new('Really red')
- P.CFrame = tors.CFrame*CFrame.new(0, 0, -5)
- Mesh = Instance.new('SpecialMesh', P)
- Mesh.MeshType = 'FileMesh'
- Mesh.MeshId = 'rbxassetid://1095708'
- Mesh.Scale = Vector3.new(5,5,5)
- PG = P:Clone()
- PG.Size = P.Size + Vector3.new(0.1,0.1,0.1)
- PG.Material = 'ForceField'
- PG.BrickColor = BrickColor.new(col)
- PG.Parent = P
- Mesh = Instance.new('SpecialMesh', PG)
- Mesh.MeshType = 'FileMesh'
- Mesh.MeshId = 'rbxassetid://1095708'
- Mesh.TextureId = 'rbxassetid://1095709'
- colll = BrickColor.new(col).Color
- Mesh.VertexColor = Vector3.new(colll.r,colll.g,colll.b)
- Mesh.Scale = Vector3.new(5,5.05,5)
- weld = Instance.new("Weld")
- weld.Parent = P
- weld.Part0 = P
- weld.Name = "WeldToGlowingPart"
- weld.Part1 = PG
- weld.C1 = CFrame.new(0.01, 0.01, 0.01)
- A1 = Instance.new("Attachment",P)
- A1.Position = Vector3.new(0, 2, 0)
- local A2 = Instance.new("Attachment",PG)
- A2.Position = Vector3.new(0, -2, 0)
- local Trail = Instance.new("Trail",PG)
- Trail.LightEmission = 1
- Trail.FaceCamera = true
- Trail.Texture = "rbxassetid://945758042"
- Trail.Attachment0 = A1
- Trail.Attachment1 = A2
- Trail.Lifetime = 0.7
- Trail.MinLength = 0
- Trail.Transparency = NumberSequence.new(0, 0)
- Trail.Color = ColorSequence.new(BrickColor.new(col).Color)
- BV = Instance.new('BodyVelocity', P)
- BV.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- BV.velocity = tors.CFrame.lookVector*50
- debri:AddItem(P, 5)
- PG.Touched:Connect(function(eh)
- if eh.Parent ~= char and eh.Parent.Parent ~= char and eh.Name ~= 'Base' then
- P:Destroy()
- boom(eh)
- end
- end)
- end
- end
- function stormie()
- if mode == 'fling' then
- P = Instance.new('Part', char)
- P.Material = "Ice"
- P.Size = Vector3.new(100,100,100)
- P.BrickColor = BrickColor.new('Dark grey')
- P.CanCollide = false
- P.Transparency = 1
- P.Name = 'storm'
- P.Anchored = true
- P.CFrame = tors.CFrame*CFrame.new(0, -20, 0)
- Mesh = Instance.new('SpecialMesh', P)
- Mesh.MeshType = 'FileMesh'
- Mesh.MeshId = 'rbxassetid://1095708'
- Mesh.Scale = Vector3.new(100,100,100)
- PG = P:Clone()
- PG.Size = P.Size + Vector3.new(0.1,0.1,0.1)
- PG.Material = 'ForceField'
- PG.Anchored = false
- PG.BrickColor = BrickColor.new(col)
- PG.Parent = P
- Mesh = Instance.new('SpecialMesh', PG)
- Mesh.MeshType = 'FileMesh'
- Mesh.MeshId = 'rbxassetid://1095708'
- Mesh.TextureId = 'rbxassetid://1095709'
- colll = BrickColor.new(col).Color
- Mesh.VertexColor = Vector3.new(colll.r,colll.g,colll.b)
- Mesh.Scale = Vector3.new(5,5.05,5)
- weld = Instance.new("Weld")
- weld.Parent = P
- weld.Part0 = P
- weld.Name = "WeldToGlowingPart"
- weld.Part1 = PG
- weld.C1 = CFrame.new(0.01, 0.01, 0.01)
- emitpart = Instance.new('Part', char)
- emitpart.Anchored = false
- emitpart.CanCollide = false
- emitpart.Size = Vector3.new(0,0,0)
- emitpart.Parent = P
- weld = Instance.new("Weld")
- weld.Parent = emitpart
- weld.Part0 = tors
- weld.Name = "WeldToGlowingPart"
- weld.Part1 = emitpart
- weld.C1 = CFrame.new(0, -2, 0)
- local Pt = Instance.new('ParticleEmitter', emitpart)
- Pt.Rate = 0
- Pt.Drag = 10
- Pt.SpreadAngle = Vector2.new(0, 360)
- Pt.Color = ColorSequence.new(BrickColor.new(col).Color)
- Pt.LightEmission = 1
- Pt.Speed = NumberRange.new(100)
- Pt.Lifetime = NumberRange.new(1)
- Pt.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0), NumberSequenceKeypoint.new(0.7,0,0), NumberSequenceKeypoint.new(1,1,0)})
- Pt.RotSpeed = NumberRange.new(1,10)
- rate = 100
- drag = 10
- for i = 1, 10 do
- Pt:Emit(rate)
- rate = rate+ 20
- Pt.Drag = drag
- modes()
- wait(1.01)
- drag = drag - 1
- end
- for i = 1,20 do
- Pt:Emit(20)
- P.Transparency = P.Transparency - 0.05
- PG.Transparency = P.Transparency
- wait()
- end
- wait(1)
- P = Instance.new('Part', char)
- P.Material = "Glass"
- P.Size = Vector3.new(21,21,21)
- P.BrickColor = BrickColor.new('Dark grey')
- P.CFrame = tors.CFrame*CFrame.new(0, 0, -12)
- Mesh = Instance.new('SpecialMesh', P)
- Mesh.MeshType = 'Sphere'
- Mesh.Scale = Vector3.new(1,1,1)
- PG = P:Clone()
- PG.Size = P.Size + Vector3.new(0.1,0.1,0.1)
- PG.Material = 'ForceField'
- PG.BrickColor = BrickColor.new(col)
- PG.Parent = P
- Mesh = Instance.new('SpecialMesh', PG)
- Mesh.MeshType = 'Sphere'
- Mesh.TextureId = 'rbxassetid://1095709'
- colll = BrickColor.new(col).Color
- Mesh.VertexColor = Vector3.new(colll.r,colll.g,colll.b)
- Mesh.Scale = Vector3.new(1,1,1)
- weld = Instance.new("Weld")
- weld.Parent = P
- weld.Part0 = P
- weld.Name = "WeldToGlowingPart"
- weld.Part1 = PG
- weld.C1 = CFrame.new(0.01, 0.01, 0.01)
- A1 = Instance.new("Attachment",P)
- A1.Position = Vector3.new(0, 10, 0)
- local A2 = Instance.new("Attachment",PG)
- A2.Position = Vector3.new(0, -10, 0)
- local Trail = Instance.new("Trail",PG)
- Trail.LightEmission = 1
- Trail.FaceCamera = true
- Trail.Texture = "rbxassetid://945758042"
- Trail.Attachment0 = A1
- Trail.Attachment1 = A2
- Trail.Lifetime = 1
- Trail.MinLength = 0
- Trail.Transparency = NumberSequence.new(0, 0)
- Trail.Color = ColorSequence.new(BrickColor.new(col).Color)
- P.CFrame = P.CFrame*CFrame.fromEulerAnglesXYZ(-180,0,0)
- Pt.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0), NumberSequenceKeypoint.new(0.7,5,0), NumberSequenceKeypoint.new(1,5,0)})
- Pt:Emit(500)
- BV = Instance.new('BodyVelocity', P)
- BV.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- BV.velocity = tors.CFrame.lookVector*100
- debri:AddItem(P, 10)
- PG.Touched:Connect(fling)
- PAtrri1 = Instance.new('Part', P)
- PAtrri1.Anchored = false
- PAtrri1.Transparency = 1
- PAtrri1.CanCollide = false
- PAtrri1.Size = Vector3.new(4,4,4)
- weld = Instance.new("Weld")
- weld.Parent = PAtrri1
- weld.Part0 = P
- weld.Name = "WeldToGlowingPart"
- weld.Part1 = PAtrri1
- weld.C1 = CFrame.new(0, -13, 0)
- A1 = Instance.new("Attachment",PAtrri1)
- A1.Position = Vector3.new(0, 2, 0)
- local A2 = Instance.new("Attachment",PAtrri1)
- A2.Position = Vector3.new(0, -2, 0)
- local Trail = Instance.new("Trail",PAtrri1)
- Trail.LightEmission = 1
- Trail.FaceCamera = true
- Trail.Texture = "rbxassetid://945758042"
- Trail.Attachment0 = A1
- Trail.Attachment1 = A2
- Trail.Lifetime = 1
- Trail.MinLength = 0
- Trail.Transparency = NumberSequence.new(0, 0)
- Trail.Color = ColorSequence.new(BrickColor.new(col).Color)
- PAtrri2 = Instance.new('Part', P)
- PAtrri2.Anchored = false
- PAtrri2.Transparency = 1
- PAtrri2.CanCollide = false
- PAtrri2.Size = Vector3.new(4,4,4)
- weld = Instance.new("Weld")
- weld.Parent = PAtrri2
- weld.Part0 = P
- weld.Name = "WeldToGlowingPart"
- weld.Part1 = PAtrri2
- weld.C1 = CFrame.new(0, 13, 0)
- A1 = Instance.new("Attachment",PAtrri2)
- A1.Position = Vector3.new(0, 2, 0)
- local A2 = Instance.new("Attachment",PAtrri2)
- A2.Position = Vector3.new(0, -2, 0)
- local Trail = Instance.new("Trail",PAtrri2)
- Trail.LightEmission = 1
- Trail.FaceCamera = true
- Trail.Texture = "rbxassetid://945758042"
- Trail.Attachment0 = A1
- Trail.Attachment1 = A2
- Trail.Lifetime = 1
- Trail.MinLength = 0
- Trail.Transparency = NumberSequence.new(0, 0)
- Trail.Color = ColorSequence.new(BrickColor.new(col).Color)
- PAtrri3 = Instance.new('Part', P)
- PAtrri3.Anchored = false
- PAtrri3.CanCollide = false
- PAtrri3.Size = Vector3.new(4,4,4)
- PAtrri3.Transparency = 1
- weld = Instance.new("Weld")
- weld.Parent = PAtrri3
- weld.Part0 = P
- weld.Name = "WeldToGlowingPart"
- weld.Part1 = PAtrri3
- weld.C1 = CFrame.new(-13, 0, 0)
- A1 = Instance.new("Attachment",PAtrri3)
- A1.Position = Vector3.new(0, 2, 0)
- local A2 = Instance.new("Attachment",PAtrri3)
- A2.Position = Vector3.new(0, -2, 0)
- local Trail = Instance.new("Trail",PAtrri3)
- Trail.LightEmission = 1
- Trail.FaceCamera = true
- Trail.Texture = "rbxassetid://945758042"
- Trail.Attachment0 = A1
- Trail.Attachment1 = A2
- Trail.Lifetime = 1
- Trail.MinLength = 0
- Trail.Transparency = NumberSequence.new(0, 0)
- Trail.Color = ColorSequence.new(BrickColor.new(col).Color)
- PAtrri4 = Instance.new('Part', PAtrri4)
- PAtrri4.Anchored = false
- PAtrri4.Transparency = 1
- PAtrri4.CanCollide = false
- PAtrri4.Size = Vector3.new(4,4,4)
- weld = Instance.new("Weld")
- weld.Parent = PAtrri4
- weld.Part0 = P
- weld.Name = "WeldToGlowingPart"
- weld.Part1 = PAtrri4
- weld.C1 = CFrame.new(13, 0, 0)
- A1 = Instance.new("Attachment",PAtrri4)
- A1.Position = Vector3.new(0, 2, 0)
- local A2 = Instance.new("Attachment",PAtrri4)
- A2.Position = Vector3.new(0, -2, 0)
- local Trail = Instance.new("Trail",PAtrri4)
- Trail.LightEmission = 1
- Trail.FaceCamera = true
- Trail.Texture = "rbxassetid://945758042"
- Trail.Attachment0 = A1
- Trail.Attachment1 = A2
- Trail.Lifetime = 1
- Trail.MinLength = 0
- Trail.Transparency = NumberSequence.new(0, 0)
- Trail.Color = ColorSequence.new(BrickColor.new(col).Color)
- repeat P.CFrame = P.CFrame*CFrame.fromEulerAnglesXYZ(0,0,0.1)
- wait() until P == nil
- char.storm:Destroy()
- end
- end
- switchmode2.MouseButton1Click:Connect(function()
- modes()
- wait(1)
- end)
- storm.MouseButton1Click:Connect(function()
- if cooldown == false then
- stormie()
- cooldown = true
- wait(30)
- cooldown = false
- end
- end)
- Player.Chatted:Connect(function(Nani)
- if Nani == 'cloud' then
- modes()
- wait(1)
- elseif Nani == 'cfling' then
- mode = 'fling'
- elseif Nani == 'cboost' then
- mode = 'boost'
- elseif Nani == 'cpush' then
- mode = 'push'
- elseif Nani == 'cnuke' then
- mode = 'kingjonun'
- elseif Nani == 'cpunish' then
- mode = 'punish'
- elseif Nani == 'cheal' then
- mode = 'heal'
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement