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"))
- Model0 = Instance.new("Model")
- Part1 = Instance.new("Part")
- Script2 = Instance.new("Script")
- Sparkles3 = Instance.new("Sparkles")
- Model4 = Instance.new("Model")
- Part5 = Instance.new("Part")
- SpecialMesh6 = Instance.new("SpecialMesh")
- Decal7 = Instance.new("Decal")
- Part8 = Instance.new("Part")
- Decal9 = Instance.new("Decal")
- Part10 = Instance.new("Part")
- Part11 = Instance.new("Part")
- Part12 = Instance.new("Part")
- Part13 = Instance.new("Part")
- Humanoid14 = Instance.new("Humanoid")
- Script15 = Instance.new("Script")
- Shirt16 = Instance.new("Shirt")
- Pants17 = Instance.new("Pants")
- Configuration18 = Instance.new("Configuration")
- StringValue19 = Instance.new("StringValue")
- IntValue20 = Instance.new("IntValue")
- IntValue21 = Instance.new("IntValue")
- Model0.Parent = mas
- Part1.Parent = Model0
- Part1.CFrame = CFrame.new(-2, 0.5, -15, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1.Position = Vector3.new(-2, 0.5, -15)
- Part1.Size = Vector3.new(4, 1, 4)
- Part1.Anchored = true
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Script2.Parent = Part1
- table.insert(cors,sandbox(Script2,function()
- local Brick = script.Parent
- local function PlayerTouched(Part)
- local Parent = Part.Parent
- if game.Players:GetPlayerFromCharacter(Parent) then
- Parent.Humanoid.Health = 0
- end
- end
- Brick.Touched:connect(PlayerTouched)
- end))
- Sparkles3.Parent = Part1
- Model4.Name = "Touch for free admin :D"
- Model4.Parent = Model0
- Model4.PrimaryPart = Part5
- Part5.Name = "Head"
- Part5.Parent = Model4
- Part5.CFrame = CFrame.new(-2.66074872, 4.49974871, -18.4121609, -0.996981502, -0.0062736962, -0.0773859993, -0.00513961678, 0.999876738, -0.0148453107, 0.0774695724, -0.0144027639, -0.996890903)
- Part5.Orientation = Vector3.new(0.849999964, -175.559998, -0.289999992)
- Part5.Position = Vector3.new(-2.66074872, 4.49974871, -18.4121609)
- Part5.Rotation = Vector3.new(179.149994, -4.44000006, 179.639999)
- Part5.Color = Color3.new(0.960784, 0.803922, 0.188235)
- Part5.Size = Vector3.new(2, 1, 1)
- Part5.Anchored = true
- Part5.BrickColor = BrickColor.new("Bright yellow")
- Part5.CanCollide = false
- Part5.TopSurface = Enum.SurfaceType.Smooth
- Part5.brickColor = BrickColor.new("Bright yellow")
- Part5.FormFactor = Enum.FormFactor.Symmetric
- Part5.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh6.Parent = Part5
- SpecialMesh6.Scale = Vector3.new(1.25, 1.25, 1.25)
- Decal7.Parent = Part5
- Decal7.Texture = "http://www.roblox.com/asset/?id=8056256"
- Part8.Name = "Torso"
- Part8.Parent = Model4
- Part8.CFrame = CFrame.new(-2.6513381, 2.99993372, -18.3905563, -0.996981502, -0.00627369527, -0.0773859918, -0.00513961678, 0.999876618, -0.0148453088, 0.0774695724, -0.0144027621, -0.996890783)
- Part8.Orientation = Vector3.new(0.849999964, -175.559998, -0.289999992)
- Part8.Position = Vector3.new(-2.6513381, 2.99993372, -18.3905563)
- Part8.Rotation = Vector3.new(179.149994, -4.44000006, 179.639999)
- Part8.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Part8.Size = Vector3.new(2, 2, 1)
- Part8.Anchored = true
- Part8.BrickColor = BrickColor.new("Bright blue")
- Part8.CanCollide = false
- Part8.LeftParamA = 0
- Part8.LeftParamB = 0
- Part8.LeftSurface = Enum.SurfaceType.Weld
- Part8.RightParamA = 0
- Part8.RightParamB = 0
- Part8.RightSurface = Enum.SurfaceType.Weld
- Part8.brickColor = BrickColor.new("Bright blue")
- Part8.FormFactor = Enum.FormFactor.Symmetric
- Part8.formFactor = Enum.FormFactor.Symmetric
- Decal9.Name = "roblox"
- Decal9.Parent = Part8
- Part10.Name = "Left Arm"
- Part10.Parent = Model4
- Part10.CFrame = CFrame.new(-1.15586579, 3.00764346, -18.5067616, -0.996981502, -0.0062736962, -0.0773859993, -0.00513961678, 0.999876738, -0.0148453107, 0.0774695724, -0.0144027639, -0.996890903)
- Part10.Orientation = Vector3.new(0.849999964, -175.559998, -0.289999992)
- Part10.Position = Vector3.new(-1.15586579, 3.00764346, -18.5067616)
- Part10.Rotation = Vector3.new(179.149994, -4.44000006, 179.639999)
- Part10.Color = Color3.new(0.960784, 0.803922, 0.188235)
- Part10.Size = Vector3.new(1, 2, 1)
- Part10.Anchored = true
- Part10.BrickColor = BrickColor.new("Bright yellow")
- Part10.CanCollide = false
- Part10.brickColor = BrickColor.new("Bright yellow")
- Part10.FormFactor = Enum.FormFactor.Symmetric
- Part10.formFactor = Enum.FormFactor.Symmetric
- Part11.Name = "Right Arm"
- Part11.Parent = Model4
- Part11.CFrame = CFrame.new(-4.14681053, 2.99222422, -18.274353, -0.996981502, -0.0062736962, -0.0773859993, -0.00513961678, 0.999876738, -0.0148453107, 0.0774695724, -0.0144027639, -0.996890903)
- Part11.Orientation = Vector3.new(0.849999964, -175.559998, -0.289999992)
- Part11.Position = Vector3.new(-4.14681053, 2.99222422, -18.274353)
- Part11.Rotation = Vector3.new(179.149994, -4.44000006, 179.639999)
- Part11.Color = Color3.new(0.960784, 0.803922, 0.188235)
- Part11.Size = Vector3.new(1, 2, 1)
- Part11.Anchored = true
- Part11.BrickColor = BrickColor.new("Bright yellow")
- Part11.CanCollide = false
- Part11.brickColor = BrickColor.new("Bright yellow")
- Part11.FormFactor = Enum.FormFactor.Symmetric
- Part11.formFactor = Enum.FormFactor.Symmetric
- Part12.Name = "Left Leg"
- Part12.Parent = Model4
- Part12.CFrame = CFrame.new(-2.14030004, 1.00275469, -18.400486, -0.996981502, -0.0062736962, -0.0773859993, -0.00513961678, 0.999876738, -0.0148453107, 0.0774695724, -0.0144027639, -0.996890903)
- Part12.Orientation = Vector3.new(0.849999964, -175.559998, -0.289999992)
- Part12.Position = Vector3.new(-2.14030004, 1.00275469, -18.400486)
- Part12.Rotation = Vector3.new(179.149994, -4.44000006, 179.639999)
- Part12.Color = Color3.new(0.643137, 0.741176, 0.278431)
- Part12.Size = Vector3.new(1, 2, 1)
- Part12.Anchored = true
- Part12.BottomSurface = Enum.SurfaceType.Smooth
- Part12.BrickColor = BrickColor.new("Br. yellowish green")
- Part12.CanCollide = false
- Part12.brickColor = BrickColor.new("Br. yellowish green")
- Part12.FormFactor = Enum.FormFactor.Symmetric
- Part12.formFactor = Enum.FormFactor.Symmetric
- Part13.Name = "Right Leg"
- Part13.Parent = Model4
- Part13.CFrame = CFrame.new(-3.13728142, 0.997615099, -18.3230152, -0.996981502, -0.0062736962, -0.0773859993, -0.00513961678, 0.999876738, -0.0148453107, 0.0774695724, -0.0144027639, -0.996890903)
- Part13.Orientation = Vector3.new(0.849999964, -175.559998, -0.289999992)
- Part13.Position = Vector3.new(-3.13728142, 0.997615099, -18.3230152)
- Part13.Rotation = Vector3.new(179.149994, -4.44000006, 179.639999)
- Part13.Color = Color3.new(0.643137, 0.741176, 0.278431)
- Part13.Size = Vector3.new(1, 2, 1)
- Part13.Anchored = true
- Part13.BottomSurface = Enum.SurfaceType.Smooth
- Part13.BrickColor = BrickColor.new("Br. yellowish green")
- Part13.CanCollide = false
- Part13.brickColor = BrickColor.new("Br. yellowish green")
- Part13.FormFactor = Enum.FormFactor.Symmetric
- Part13.formFactor = Enum.FormFactor.Symmetric
- Humanoid14.Parent = Model4
- Humanoid14.LeftLeg = Part12
- Humanoid14.NameOcclusion = Enum.NameOcclusion.NoOcclusion
- Humanoid14.RightLeg = Part13
- Humanoid14.Torso = Part8
- Script15.Name = "TextScript"
- Script15.Parent = Model4
- table.insert(cors,sandbox(Script15,function()
- script.Parent.Configuration["NPC Name"].Changed:connect(function(value)
- script.Parent.Name = script.Parent.Configuration["NPC Name"].Value
- end)
- script.Parent.Configuration["Shirt ID"].Changed:connect(function(value)
- Instance.new("Shirt",script.Parent).ShirtTemplate = "rbxassetid://"..tostring(script.Parent.Configuration["Shirt ID"].Value)
- end)
- script.Parent.Configuration["Pants ID"].Changed:connect(function(value)
- Instance.new("Pants",script.Parent).PantsTemplate = "rbxassetid://"..tostring(script.Parent.Configuration["Pants ID"].Value)
- end)
- end))
- Shirt16.Name = "Shirt"
- Shirt16.Parent = Model4
- Shirt16.ShirtTemplate = "rbxassetid://154967997"
- Pants17.Name = "Pants"
- Pants17.Parent = Model4
- Configuration18.Parent = Model4
- StringValue19.Name = "NPC Name"
- StringValue19.Parent = Configuration18
- StringValue19.Value = "Szekér Fan"
- IntValue20.Name = "Shirt ID"
- IntValue20.Parent = Configuration18
- IntValue21.Name = "Pants ID"
- IntValue21.Parent = Configuration18
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = script
- 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