Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- target=game.Players.OniTaiji
- char=game.Players.LocalPlayer.OniTaiji
- hum=char:FindFirstChild'Humanoid'
- torso=char:FindFirstChild'Torso'
- if not (hum and torso) or not hum:IsA'Humanoid' then
- return
- end
- local part = Instance.new("Part", char)
- part.FormFactor = Enum.FormFactor.Custom
- part.Transparency = 1
- part.Size = Vector3.new(16, 0.2, 16)
- part.CFrame = torso.CFrame*CFrame.new(0,-3,0)
- part.CanCollide=false
- part.Anchored=true
- local decal = Instance.new("Decal", part)
- decal.Face = Enum.NormalId.Top
- decal.Texture = "http://www.roblox.com/asset/?id=268043891"
- local decal = Instance.new("Decal", part)
- decal.Face = Enum.NormalId.Bottom
- decal.Texture = "http://www.roblox.com/asset/?id=268043891"
- local c
- c=game:service'RunService'.Stepped:connect(function()
- part.CFrame=CFrame.new(part.CFrame.p:lerp(torso.CFrame*CFrame.new(0,-3,0).p,.3))*CFrame.Angles(0,time(),0)
- hum.Health=hum.Health+(hum.MaxHealth/100)
- if hum.Health >= hum.MaxHealth then
- part:Destroy()
- c:disconnect()
- script:Destroy()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement