Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Tool0 = Instance.new("Tool")
- Part1 = Instance.new("Part")
- SpecialMesh2 = Instance.new("SpecialMesh")
- Weld3 = Instance.new("Weld")
- FileMesh4 = Instance.new("FileMesh")
- Part5 = Instance.new("Part")
- CylinderMesh6 = Instance.new("CylinderMesh")
- Sparkles7 = Instance.new("Sparkles")
- Script8 = Instance.new("Script")
- LocalScript9 = Instance.new("LocalScript")
- Sound10 = Instance.new("Sound")
- Sound11 = Instance.new("Sound")
- Sound12 = Instance.new("Sound")
- Sound13 = Instance.new("Sound")
- Tool0.Name = "Transform"
- Tool0.Parent = mas
- Tool0.Grip = CFrame.new(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Tool0.GripPos = Vector3.new(0, -1, 0)
- Part1.Name = "Handle"
- Part1.Parent = Tool0
- Part1.CFrame = CFrame.new(54.4738998, 20.5815716, -190.818512, 0.425732434, -0.304461449, 0.85208869, -0.894521832, 0.00025343895, 0.447023988, -0.136317521, -0.952524543, -0.272239566)
- Part1.Orientation = Vector3.new(-26.5499992, 107.720001, -89.9799957)
- Part1.Position = Vector3.new(54.4738998, 20.5815716, -190.818512)
- Part1.Rotation = Vector3.new(-121.339996, 58.4399986, 35.5699997)
- Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part1.Velocity = Vector3.new(-0.00231262995, 0.000539943576, 0.00323048281)
- Part1.Size = Vector3.new(1.20000005, 1.19999981, 0.200000003)
- Part1.BrickColor = BrickColor.new("Really black")
- Part1.RotVelocity = Vector3.new(-0.00738683902, 0.00308656483, 0.0161675327)
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.brickColor = BrickColor.new("Really black")
- SpecialMesh2.Parent = Part1
- SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=31656135"
- SpecialMesh2.TextureId = "http://www.roblox.com/asset/?id=40492854"
- SpecialMesh2.MeshType = Enum.MeshType.FileMesh
- Weld3.Parent = Part1
- Weld3.C0 = CFrame.new(-1, 13.4000006, -20.8999996, 0, 1, 0, 0, 0, 1, 1, 0, 0)
- Weld3.C1 = CFrame.new(-0.999980152, 12.7000027, -20.9000034, 8.41682777e-08, 0.999999821, -1.11205736e-07, -5.96046448e-08, -1.11220288e-07, 0.999999881, 0.999999821, 7.67468009e-08, -8.94069672e-08)
- Weld3.Part0 = Part1
- Weld3.Part1 = Part5
- Weld3.part1 = Part5
- FileMesh4.Name = "Made By chris7766"
- FileMesh4.Parent = Tool0
- Part5.Name = "Gun"
- Part5.Parent = Tool0
- Part5.CFrame = CFrame.new(54.2607689, 20.5817642, -191.485275, 0.425732434, -0.304461539, 0.852088571, -0.894521594, 0.000253511738, 0.447023839, -0.136317417, -0.952524424, -0.272239417)
- Part5.Orientation = Vector3.new(-26.5499992, 107.720001, -89.9799957)
- Part5.Position = Vector3.new(54.2607689, 20.5817642, -191.485275)
- Part5.Rotation = Vector3.new(-121.339996, 58.4399986, 35.5699997)
- Part5.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Part5.Transparency = 1
- Part5.Velocity = Vector3.new(-0.00437375251, -0.00783113111, 0.00388690224)
- Part5.Size = Vector3.new(0.800000012, 0.200000003, 1)
- Part5.BrickColor = BrickColor.new("Bright blue")
- Part5.RotVelocity = Vector3.new(-0.00738683902, 0.00308656483, 0.0161675327)
- Part5.TopSurface = Enum.SurfaceType.Smooth
- Part5.brickColor = BrickColor.new("Bright blue")
- CylinderMesh6.Parent = Part5
- Sparkles7.Parent = Part5
- Sparkles7.Color = Color3.new(0, 0, 0.8)
- Sparkles7.SparkleColor = Color3.new(0, 0, 0.8)
- Script8.Name = "InstaWeld"
- Script8.Parent = Tool0
- table.insert(cors,sandbox(Script8,function()
- local prev
- local parts = script.Parent:GetChildren()
- for i = 1,#parts do
- if (parts[i].className == "Part") or (parts[i].className == "WedgePart") then
- if (prev ~= nil)then
- local weld = Instance.new("Weld")
- weld.Part0 = prev
- weld.Part1 = parts[i]
- weld.C0 = prev.CFrame:inverse()
- weld.C1 = parts[i].CFrame:inverse()
- weld.Parent = prev
- end
- prev = parts[i]
- end
- end
- end))
- LocalScript9.Name = "LocalSpyWatchScript"
- LocalScript9.Parent = Tool0
- table.insert(cors,sandbox(LocalScript9,function()
- Tool = script.Parent
- player = nil
- echo = true
- mousedown = false
- CTOL = 1
- antinoob = "Made By Bob444732"
- function Echo(msg)
- if echo == true then
- game:GetService("Chat"):Chat(Tool.Parent.Head,msg,Enum.ChatColor.Green)
- end
- end
- function CCR(tehmice)
- if tehmice.Target and tehmice.Target.Parent and tehmice.Target.Parent:FindFirstChild("Torso") ~= nil and tehmice.Target.Parent:FindFirstChild("Humanoid") then --Check If you clicked a player
- print'Removing stuff'
- Beepz()
- Laserat(tehmice.Hit.p)
- Echo("Transformation Tech On")
- b = Instance.new'Part'
- b.formFactor = [[Custom]]
- b.BrickColor = BrickColor.Blue()
- b.Size = Vector3.new(7,0.2,7)
- b.CanCollide = false
- b.Transparency = 0.5
- b.TopSurface = [[Smooth]]
- b.BottomSurface = [[Smooth]]
- b.CFrame = tehmice.Target.Parent.Head.CFrame + Vector3.new(0,2,0)
- v = Instance.new'BodyVelocity'
- v.velocity = Vector3.new(0,-20,0)
- v.Parent = b
- b.Parent = Workspace
- game:service'Debris':AddItem(b,4)
- player.Character.Humanoid.MaxHealth = math.huge
- player.Character.Humanoid.Health = math.huge
- ps = player.Character:GetChildren()--No character check because the tool is already equipped
- for i = 1,#ps do--psi = pressure
- if ps[i]:IsA("BodyColors") then ps[i]:remove() end
- if ps[i]:IsA("Hat") then ps[i]:remove() end
- if ps[i]:IsA("ShirtGraphic") then ps[i]:remove() end
- if ps[i]:IsA("Pants") then ps[i]:remove() end
- if ps[i]:IsA("Shirt") then ps[i]:remove() end
- if ps[i]:IsA("CharacterMesh") then ps[i]:remove() end
- if ps[i]:IsA("Model") then ps[i]:remove() end
- end
- if player.Character.Torso:FindFirstChild("roblox") ~= nil then player.Character.Torso:FindFirstChild("roblox"):remove() end
- player.Character.Head.Transparency = 1
- if player.Character.Head:FindFirstChild("face") ~= nil then player.Character.Head.face:remove() end
- pls = tehmice.Target.Parent:GetChildren()
- Echo("Taking on "..tehmice.Target.Parent.Name.."'s Form...")
- for i = 1,#pls do
- if pls[i]:IsA("Shirt") then pls[i]:clone().Parent = player.Character end
- if pls[i]:IsA("Hat") then pls[i]:clone().Parent = player.Character end
- if pls[i]:IsA("ShirtGraphic") then pls[i]:clone().Parent = player.Character end
- if pls[i]:IsA("Pants") then pls[i]:clone().Parent = player.Character end
- if pls[i]:IsA("BodyColors") then pls[i]:clone().Parent = player.Character end
- if pls[i]:IsA("CharacterMesh") then pls[i]:clone().Parent = player.Character end
- end
- mod = Instance.new'Model' --Make Fake Head
- mod.Name = tehmice.Target.Parent.Name
- mod.Parent = player.Character
- fh = tehmice.Target.Parent.Head:clone()
- fh.CFrame = player.Character.Head.CFrame
- fh.Parent = mod
- w = Instance.new'Weld'
- w.Part1 = player.Character.Head
- w.Part0 = fh
- w.Parent = fh
- mod:MakeJoints()
- hum = Instance.new'Humanoid'
- hum.MaxHealth = 0
- hum.Parent = mod
- end
- end
- function Fire(mouse)
- script.Gun:Play()
- Laserat(mouse.Hit.p)
- if mouse.Target ~= nil then
- mouse.Target:BreakJoints()
- end
- end
- function Beep()
- script.Beep:Play()
- end
- function Beepz()
- script.Beepz:Play()
- end
- function Tick()
- script.Tick:Play()
- end
- function Laserat(tgt)
- p = Instance.new("Part")
- p.formFactor = "Custom"
- p.BrickColor = Tool.Gun.BrickColor
- p.Size = Vector3.new(1,1,1)
- p.Transparency = 0.7
- p.Anchored = true
- p.CanCollide = true
- mag = (Tool.Gun.Position - tgt).magnitude
- lv = mag / 2
- p.CFrame = CFrame.new(Tool.Gun.Position,tgt)
- p.CFrame = p.CFrame + p.CFrame.lookVector *lv
- p.Parent = Workspace
- m = Instance.new("BlockMesh")
- m.Scale = Vector3.new(0.2,0.2,mag)
- m.Parent = p
- game:GetService("Debris"):AddItem(p,0.1)
- end
- function STools(mice)
- if CTOL == 4 then CTOL = 0 end
- CTOL = CTOL + 1
- if CTOL == 1 then
- Echo("Mode: Transformation")
- Beepz()
- end
- if CTOL == 2 then
- Echo("Mode: Drag Ray")
- Beepz()
- end
- if CTOL == 3 then
- Echo("Mode: Gun")
- Beepz()
- end
- end
- function keys(key,mice)
- if key == "q" then STools(mice) end
- end
- function DS()
- if Tool.Parent == Workspace then
- Tool.Gun.BrickColor = BrickColor.Random()
- end
- end
- function Drag(mouse)
- mousedown = true
- tgt = mouse.Target
- an = false
- if tgt.Name ~= "Torso" then tgt:BreakJoints() end
- if tgt.Name == "Base" then return end
- if tgt ~= nil then
- if tgt.Anchored == false then an = false end
- if tgt.Anchored == true then an = true end
- while mousedown do
- tgt.CFrame = mouse.Hit
- tgt.Anchored = true
- Laserat(mouse.Hit.p)
- Tick()
- wait()
- end
- if an == false then tgt.Anchored = false end
- end
- end
- function ChTools(mice)
- if CTOL == 1 then CCR(mice) end
- if CTOL == 2 then Drag(mice) end
- if CTOL == 3 then Fire(mice) end
- end
- function EQ(mice)
- player = game.Players.LocalPlayer
- mouse = mice
- mouse.Icon = "http://www.roblox.com/asset/?id=59983185"
- mouse.Button1Down:connect(function() ChTools(mice) end)
- mouse.Button1Up:connect(function() mousedown = false end)
- mouse.KeyDown:connect(function(key) keys(key,mice) end)
- end
- script.Parent.Equipped:connect(EQ)
- script.Parent.Unequipped:connect(DS)
- end))
- Sound10.Name = "Beep"
- Sound10.Parent = LocalScript9
- Sound10.SoundId = "http://www.roblox.com/asset/?id=2101144"
- Sound11.Name = "Beepz"
- Sound11.Parent = LocalScript9
- Sound11.SoundId = "http://www.roblox.com/asset/?id=18472672"
- Sound12.Name = "Tick"
- Sound12.Parent = LocalScript9
- Sound12.SoundId = "http://www.roblox.com/asset/?id=18472672"
- Sound13.Name = "Gun"
- Sound13.Parent = LocalScript9
- Sound13.SoundId = "http://www.roblox.com/asset/?id=18472672"
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = workspace
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement