Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait(2)
- plr = game.Players.LocalPlayer
- char = plr.Character
- hum = char.Humanoid
- hum.WalkSpeed = 0
- for i,v in pairs(char:GetChildren()) do
- if v:IsA('Part') then
- v.Transparency = .6
- if v.Name == "Left Arm" then
- larm = v
- end
- if v.Name == "Right Arm" then
- rarm = v
- end
- if v.Name == "Left Leg" then
- lleg = v
- end
- if v.Name == "Right Leg" then
- rleg = v
- end
- if v.Name == "Head" then
- head = v
- end
- if v.Name == "Torso" then
- torso = v
- end
- if v.Name == "HumanoidRootPart" then
- hrp = v
- end
- if v:IsA('Accessory') then
- v.Handle.Transparency = .6
- end
- end
- end
- face = head.face
- parts={larm,rarm,lleg,rleg,torso,head,hrp,face}
- char.Animate.Disabled = true
- do
- a = Instance.new('Animation')
- a.AnimationId = 'http://www.roblox.com/Asset?ID=865492655'
- t = hum:LoadAnimation(a)
- t:Play()
- wait(1.5)
- p = Instance.new('ParticleEmitter')
- p.Parent = hrp
- p.LightEmission = 999999984306749440.000
- p.LightInfluence = 9999999562023526247432192.000
- p.Size = NumberSequence.new(10)
- p.Texture = 'rbxassetid://29241119'
- p.Transparency = NumberSequence.new(.3)
- p.Lifetime = NumberRange.new(0.17)
- p.Rate = 100
- p.Rotation = NumberRange.new(100)
- p.RotSpeed = NumberRange.new(99999)
- p.Speed = NumberRange.new(100)
- p.VelocitySpread = 200
- for i=1,math.huge do
- if p.Rate == 0 then
- p:Remove()
- break
- end
- p.Rate = p.Rate - 1
- if i>=70 then
- hum.WalkSpeed = 16
- char.Animate.Disabled = false
- end
- wait()
- end
- end
- ms = plr:GetMouse()
- act = false
- qon = false
- function sws()
- for i,v in pairs(parts) do
- v.Transparency = .6
- end
- for i,v in pairs(char:GetChildren()) do
- if v:IsA('Accessory') then
- v.Handle.Transparency = .6
- end
- end
- end
- ms.KeyDown:connect(function(key)
- if key == 'g' then
- if act == false and qon == false then
- qon = true
- act = true
- pe = Instance.new('ParticleEmitter')
- pe.Parent = hrp
- pe.LightEmission = math.huge
- pe.LightInfluence = math.huge
- pe.Size = NumberSequence.new(4)
- pe.Texture = 'rbxasset://textures/particles/sparkles_main.dds'
- pe.Transparency = NumberSequence.new(0)
- pe.Lifetime = NumberRange.new(1)
- pe.Rate = math.huge
- pe.Rotation = NumberRange.new(0)
- pe.RotSpeed = NumberRange.new(0)
- pe.Speed = NumberRange.new(10)
- pe.VelocitySpread = -40
- pe.EmissionDirection = 'Back'
- for i,v in pairs(parts) do
- v.Transparency = 1
- end
- for i,v in pairs(char:GetChildren()) do
- if v:IsA('Accessory') then
- v.Handle.Transparency = 1
- end
- end
- hum.WalkSpeed = 60
- hum.JumpPower = 120
- else
- qon = false
- act = false
- pe:Remove()
- hum.WalkSpeed = 16
- hum.JumpPower = 50
- sws()
- end
- end
- if key == 'f' then
- if act == false then
- if ms.Target then
- if ms.Target:FindFirstChild('Humanoid') then
- local t = ms.Target.Parent.HumanoidRootPart
- force = Instance.new('Part', workspace)
- force.Size = Vector3.new(1,1,1)
- force.Anchored = false
- force.CanCollide = false
- force.CFrame = CFrame.new(hrp.Position.X,hrp.Position.Y,hrp.Position.Z)
- bp = Instance.new('BodyPosition',force)
- bp.MaxForce = Vector3.new(500000000, 500000000, 500000000)
- bp.P = 20000
- bp.Position = t.Position
- end
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement