Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Player = game.Players.SuperiorSpringy
- Char = Player.Character
- Torso = Char.Torso
- Mouse = Player:GetMouse()
- function onKeyDown(key)
- key = key:lower()
- if key == "z" then
- wait(.1)
- Torso.Anchored = false
- local bodyVelocity = "";
- local bodyAngularVelocity = "";
- Wind = Instance.new("Part")
- Wind.Parent = Workspace
- Wind.Size = Vector3.new (math.random(4,6),math.random(4,6),math.random(4,6))
- Wind.Anchored = true
- Wind.CanCollide = false
- Wind.Transparency = .6
- Wind.TopSurface = 0
- Wind.BottomSurface = 0
- Wind.BrickColor = BrickColor.new("White")
- Wind.CFrame = Torso.CFrame * CFrame.new(0,1,0)* CFrame.fromEulerAnglesXYZ(0,90,0)
- local Windm = Instance.new("SpecialMesh",Wind)
- Windm.MeshType = "FileMesh"
- Windm.MeshId = "http://www.roblox.com/asset/?id=16606212"
- for i = 1,10 do
- Wind.CFrame = Wind.CFrame * CFrame.fromEulerAnglesXYZ(0,1,0.5)
- Windm.Scale = Vector3.new(5,5,5)
- wait()
- end
- if db then return end
- db = true;
- local human = Char;
- if human == nil then
- return;
- end
- local torso = human:FindFirstChild("Torso");
- if torso == nil then
- return;
- end
- local bv = Instance.new("BodyVelocity");
- bodyVelocity = bv;
- bv.maxForce = Vector3.new(1e+009, 1e+009, 1e+009);
- local velocity = torso.Velocity;
- velocity = velocity - Vector3.new(0, velocity.y - 20, 0);
- bv.velocity = velocity;
- bv.Parent = torso;
- local bav = Instance.new("BodyAngularVelocity");
- bodyAngularVelocity = bav;
- bav.maxTorque = Vector3.new(1e+009, 1e+009, 1e+009);
- bav.angularvelocity = Vector3.new(0,110,0);
- bav.Parent = torso;
- wait(1)
- if bodyVelocity == "" then
- return
- end
- bodyVelocity:Remove();
- if bodyAngularVelocity == "" then
- return;
- end
- bodyAngularVelocity:Remove();
- db = false
- for u, c in pairs(workspace:GetChildren()) do
- if c.Name ~= Player.Character.Name then
- h = c:findFirstChild("Humanoid")
- t = c:findFirstChild("Torso")
- if h ~= nil and t ~= nil then
- if (Wind.Position-t.Position).magnitude <= 10 then
- t.CFrame = t.CFrame * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
- h:TakeDamage(7)
- h.PlatformStand = true
- Dmg=h.MaxHealth - h.Health
- ShowDamage=function(Char,Dealt,du)
- m=Instance.new("Model")
- m.Name="dmg"
- --h=Instance.new("Humanoid")
- --h.Health=0
- --h.MaxHealth=0
- --h.Parent=m
- ccc=Instance.new("Part")
- ccc.Transparency=.99
- ccc.BrickColor=BrickColor:Red()
- ccc.Name="Head"
- ccc.TopSurface=0
- ccc.BottomSurface=0
- ccc.formFactor="Plate"
- ccc.Size=Vector3.new(1,.4,1)
- ms=Instance.new("CylinderMesh")
- ms.Scale=Vector3.new(.8,.8,.8)
- ms.Parent=c
- ccc.Reflectance=0
- Instance.new("BodyGyro").Parent=c
- ccc.Parent=m
- ccc.CFrame=ccc.CFrame*CFrame.new(c["Head"].CFrame.p+Vector3.new(0,1.5,0))
- f=Instance.new("BodyPosition")
- f.P=2000
- f.D=100
- f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- f.position=ccc.Position+Vector3.new(0,3,0)
- f.Parent=ccc
- cccc = workspace.BillboardGui
- cccc.Enabled = true
- cccc.Adornee = c.Head
- Text = cccc.TextLabel:Clone()
- Text.Parent = cccc
- Text.Name = "Dmg"
- Text.Visible = true
- Text.BackgroundTransparency = 1
- Text.Font = "Legacy"
- Text.FontSize = "Size24"
- Text.Text = tostring(Dealt)
- Text.TextColor3 = Color3.new(0,4,0)
- if Dmg > 20 then
- Text.TextColor3 = Color3.new(4,4,0)
- end
- if Dmg > 80 then
- Text.TextColor3 = Color3.new(4,0,0)
- end
- Text.TextStrokeColor3 = Color3.new(0,0,0)
- Text.TextStrokeTransparency = 0
- game:GetService("Debris"):AddItem(Text,.5+du)
- ccc.CanCollide=false
- m.Parent=workspace
- ccc.CanCollide=false
- end
- ShowDamage(c.Parent,Dmg,0)
- end
- end
- end
- end
- Torso.Anchored = false
- elseif key == "c" then
- Torso.Anchored = true
- for i = 1, 200 ,3 do
- Wind = Instance.new("Part")
- Wind.Name = "Earth1"
- Wind.Parent = Workspace
- Wind.Size = Vector3.new (math.random(4,6),math.random(4,6),math.random(4,6))
- Wind.Anchored = true
- Wind.CanCollide = false
- Wind.Transparency = .6
- Wind.TopSurface = 0
- Wind.BottomSurface = 0
- Wind.BrickColor = BrickColor.new("White")
- Wind.CFrame = Torso.CFrame * CFrame.new(0,-2,-i-5)* CFrame.fromEulerAnglesXYZ(0,0,1)
- local Windm = Instance.new("SpecialMesh",Wind)
- Windm.MeshType = "FileMesh"
- Windm.MeshId = "http://www.roblox.com/asset/?id=16606212"
- Windm.Scale = Vector3.new (math.random(2,6),math.random(2,6),math.random(2,6))
- wait()
- for u, c in pairs(workspace:GetChildren()) do
- if c.Name ~= Player.Character.Name then
- h = c:findFirstChild("Humanoid")
- t = c:findFirstChild("Torso")
- if h ~= nil and t ~= nil then
- if (Wind.Position-t.Position).magnitude <= 10 then
- t.CFrame = t.CFrame * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
- h:TakeDamage(7)
- h.PlatformStand = true
- Dmg=h.MaxHealth - h.Health
- ShowDamage=function(Char,Dealt,du)
- m=Instance.new("Model")
- m.Name="dmg"
- --h=Instance.new("Humanoid")
- --h.Health=0
- --h.MaxHealth=0
- --h.Parent=m
- ccc=Instance.new("Part")
- ccc.Transparency=.99
- ccc.BrickColor=BrickColor:Red()
- ccc.Name="Head"
- ccc.TopSurface=0
- ccc.BottomSurface=0
- ccc.formFactor="Plate"
- ccc.Size=Vector3.new(1,.4,1)
- ms=Instance.new("CylinderMesh")
- ms.Scale=Vector3.new(.8,.8,.8)
- ms.Parent=c
- ccc.Reflectance=0
- Instance.new("BodyGyro").Parent=c
- ccc.Parent=m
- ccc.CFrame=ccc.CFrame*CFrame.new(c["Head"].CFrame.p+Vector3.new(0,1.5,0))
- f=Instance.new("BodyPosition")
- f.P=2000
- f.D=100
- f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- f.position=ccc.Position+Vector3.new(0,3,0)
- f.Parent=ccc
- cccc = workspace.BillboardGui
- cccc.Enabled = true
- cccc.Adornee = c.Head
- Text = cccc.TextLabel:Clone()
- Text.Parent = cccc
- Text.Name = "Dmg"
- Text.Visible = true
- Text.BackgroundTransparency = 1
- Text.Font = "Legacy"
- Text.FontSize = "Size24"
- Text.Text = tostring(Dealt)
- Text.TextColor3 = Color3.new(0,4,0)
- if Dmg > 20 then
- Text.TextColor3 = Color3.new(4,4,0)
- end
- if Dmg > 80 then
- Text.TextColor3 = Color3.new(4,0,0)
- end
- Text.TextStrokeColor3 = Color3.new(0,0,0)
- Text.TextStrokeTransparency = 0
- game:GetService("Debris"):AddItem(Text,.5+du)
- ccc.CanCollide=false
- m.Parent=workspace
- ccc.CanCollide=false
- end
- ShowDamage(c.Parent,Dmg,0)
- end
- end
- end
- end
- end
- for i, v in pairs(Workspace:GetChildren()) do
- if v.Name == "Earth1" then
- v:Remove()
- end
- end
- Torso.Anchored = false
- end
- end
- Mouse.KeyDown:connect(onKeyDown)
Advertisement
Add Comment
Please, Sign In to add comment