Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- made by TheFlamingBlaster
- print("no u")
- local plr = game.Players.LocalPlayer
- local mouse = plr:GetMouse()
- local adornees
- local destroyit = false
- local lasttarget
- local currenttarget
- local changed = {}
- mouse.Button1Down:connect(function()
- if mouse.Target then
- if mouse.Target.Parent.ClassName == "Model" then
- currenttarget = mouse.Target.Parent
- lasttarget = mouse.Target.Parent
- adornees = Instance.new("Model",plr.Character)
- for i,v in pairs(mouse.Target.Parent:GetChildren()) do
- local s = Instance.new("SelectionBox",adornees)
- s.LineThickness = 0
- s.SurfaceColor3 = Color3.new(0, 0, 0)
- s.Color3 = Color3.new(0, 0, 0)
- s.SurfaceTransparency = 0
- if v:IsA("Part") then
- if v.Name == "Torso" then
- local lasso = Instance.new("SelectionPartLasso",adornees)
- lasso.Color3 = Color3.new(0, 0, 0)
- lasso.Humanoid = plr.Character.Humanoid
- lasso.Part = v
- end
- s.Adornee = v
- end
- end
- destroyit = true
- end
- end
- end)
- print("z to hurt")
- --hurt
- game:GetService('UserInputService').InputBegan:connect(function(input,processed)
- if mouse.Target and destroyit == true then
- if input.KeyCode == Enum.KeyCode.Z then
- adornees:Destroy()
- currenttarget.Humanoid:TakeDamage(50)
- currenttarget = nil
- end
- end
- end)
- print("x to heal")
- --heal
- game:GetService('UserInputService').InputBegan:connect(function(input,processed)
- if mouse.Target and destroyit == true then
- if input.KeyCode == Enum.KeyCode.X then
- adornees:Destroy()
- currenttarget.Humanoid:TakeDamage(-50)
- currenttarget = nil
- end
- end
- end)
- print("c to destroy")
- --remove
- game:GetService('UserInputService').InputBegan:connect(function(input,processed)
- if mouse.Target and destroyit == true then
- if input.KeyCode == Enum.KeyCode.C then
- adornees:Destroy()
- currenttarget:Destroy()
- currenttarget = nil
- end
- end
- end)
- print("v to become one with")
- --fuse
- game:GetService('UserInputService').InputBegan:connect(function(input,processed)
- if mouse.Target and destroyit == true then
- if input.KeyCode == Enum.KeyCode.V then
- adornees:Destroy()
- plr.Character = currenttarget
- CAM = workspace.CurrentCamera
- CAM.CameraSubject = currenttarget.Head
- currenttarget = nil
- end
- end
- end)
- print("n to boom")
- --boom
- game:GetService('UserInputService').InputBegan:connect(function(input,processed)
- if mouse.Target and destroyit == true then
- if input.KeyCode == Enum.KeyCode.N then
- adornees:Destroy()
- local boom = Instance.new("Explosion")
- boom.Position = currenttarget.Head.Position
- currenttarget = nil
- end
- end
- end)
- mouse.Button1Up:connect(function()
- if destroyit == true then
- currenttarget = nil
- for i,v in pairs(changed) do
- end
- changed = {}
- adornees:Destroy()
- destroyit = false
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement