Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- By Robolxtm --
- print('Starting RoboDeathScript v1.1...')
- if workspace:FindFirstChild("Robolxtm") ~= nil then
- if workspace.Robolxtm:FindFirstChild("Humanoid") ~= nil then
- local robo = workspace.Robolxtm.Humanoid
- robo.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
- print("Doing health, speed and jumps...")
- robo.MaxHealth = math.huge
- robo.Health = math.huge
- robo.WalkSpeed = 64
- robo.JumpPower = 100
- print('Finished health. Doing death stuff and name things.')
- local name = Instance.new("BillboardGui", robo.Parent.Head)
- name.Name = 'a'
- name.Adornee = robo.Parent.Head
- name.Size = UDim2.new(6,0,1,0)
- name.SizeOffset = Vector2.new(0,2)
- name.ExtentsOffset = Vector3.new(0,5,0)
- local nametxt = Instance.new("TextLabel", robo.Parent.Head.a)
- nametxt.Text = "Robo | Delete on contact!"
- nametxt.Font = Enum.Font.SourceSansLight
- nametxt.Text = 3
- nametxt.TextScaled = true
- nametxt.Size = UDim2.new(1,0,1,0)
- nametxt.BackgroundTransparency = 1
- nametxt.TextColor3 = Color3.fromRGB(255,255,0)
- local beam = Instance.new("Trail")
- beam.Parent = robo.Parent.HumanoidRootPart
- beam.Attachment0 = robo.Parent.RightUpperArm.RightShoulderAttachment
- beam.Attachment1 = robo.Parent.LeftUpperArm.LeftShoulderAttachment
- beam.Lifetime = .5
- beam.Transparency = NumberSequence.new(.5,1)
- local l = Instance.new("Sound", robo.Parent.HumanoidRootPart)
- l.Parent = a
- l.Playing = true
- l.Looped = true
- l.SoundId = "rbxassetid://258852901"
- l.Volume = 10
- l:Play()
- robo.Parent.HumanoidRootPart.Touched:Connect(function(p)
- p.Parent = workspace
- p.Anchored = false
- p:FindFirstChildWhichIsA("Weld"):remove()
- p:FindFirstChildWhichIsA("WeldConstraint"):remove()
- wait(3)
- p:remove()
- end)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement