Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local tweenservice = game:GetService("TweenService")
- local part = Instance.new("Part",game.Workspace)
- part.Name = ("Insance")
- local weld = Instance.new("Weld",part)
- weld.Part0 = part
- local plr = game.Players.LocalPlayer
- local mouse = plr:GetMouse()
- local char = plr.Character
- local hum = char:WaitForChild("Humanoid")
- part.CanCollide = false
- part.Anchored = true
- part.Transparency = 1
- local en = true
- mouse.KeyDown:connect(function(key)
- if not en then return end
- en = false
- if key == "x" then
- part.CFrame = char.UpperTorso.CFrame
- part.Transparency = 0.7
- part.Shape = ("Ball")
- part.Material = ("Neon")
- part.BrickColor = BrickColor.new("Toothpaste")
- weld.Part1 = char.HumanoidRootPart
- local tweenservice = game:GetService("TweenService")
- wait(1)
- local tweeningInfo = TweenInfo.new(
- 3, -- Length
- Enum.EasingStyle.Linear, -- Easing style
- Enum.EasingDirection.Out,
- 100000000000,
- true,
- 0.05
- )
- local partPR = {
- Size = Vector3.new(10,10,10);
- Color = Color3.fromRGB(255,255,0);
- }
- local tween = tweenservice:Create(part,tweeningInfo,partPR)
- wait()
- tween:Play()
- for i = 1,100000000000000000000000000000000000,1 do
- part.Position = char.UpperTorso.Position
- hum.Health = hum.Health + 1000000000000000000000000000000000000
- hum.MaxHealth = 1000000000000000000000000000000000000
- wait()
- end
- end
- wait(100000000000000000000000000)
- en = true
- end)
Advertisement
Add Comment
Please, Sign In to add comment