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")
- Model1 = Instance.new("Model")
- Part2 = Instance.new("Part")
- SpecialMesh3 = Instance.new("SpecialMesh")
- Script4 = Instance.new("Script")
- Model5 = Instance.new("Model")
- Script6 = Instance.new("Script")
- Script7 = Instance.new("Script")
- Part8 = Instance.new("Part")
- SpecialMesh9 = Instance.new("SpecialMesh")
- Script10 = Instance.new("Script")
- ManualWeld11 = Instance.new("ManualWeld")
- Part12 = Instance.new("Part")
- SpecialMesh13 = Instance.new("SpecialMesh")
- Script14 = Instance.new("Script")
- Script15 = Instance.new("Script")
- Script16 = Instance.new("Script")
- Model0.Name = "TrueDiamond-[AinCrad]"
- Model0.Parent = mas
- Model1.Name = "HeadWeld"
- Model1.Parent = Model0
- Part2.Name = "Handle"
- Part2.Parent = Model1
- Part2.BrickColor = BrickColor.new("Bright yellow")
- Part2.Transparency = 1
- Part2.Anchored = true
- Part2.CanCollide = false
- Part2.FormFactor = Enum.FormFactor.Symmetric
- Part2.Size = Vector3.new(2, 1, 1)
- Part2.CFrame = CFrame.new(-2.59999108, 0.500019014, -11.1999741, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part2.Color = Color3.new(0.960784, 0.803922, 0.188235)
- Part2.Position = Vector3.new(-2.59999108, 0.500019014, -11.1999741)
- Part2.Color = Color3.new(0.960784, 0.803922, 0.188235)
- SpecialMesh3.Parent = Part2
- SpecialMesh3.Scale = Vector3.new(1.25, 1.25, 1.25)
- SpecialMesh3.Scale = Vector3.new(1.25, 1.25, 1.25)
- Script4.Name = "Weld"
- Script4.Parent = Model1
- table.insert(cors,sandbox(Script4,function()
- function weld()
- local parts,last = {}
- local function scan(parent)
- for _,v in pairs(parent:GetChildren()) do
- if (v:IsA("BasePart")) then
- if (last) then
- local w = Instance.new("Weld")
- w.Name = ("%s_Weld"):format(v.Name)
- w.Part0,w.Part1 = last,v
- w.C0 = last.CFrame:inverse()
- w.C1 = v.CFrame:inverse()
- w.Parent = last
- end
- last = v
- table.insert(parts,v)
- end
- scan(v)
- end
- end
- scan(script.Parent)
- for _,v in pairs(parts) do
- v.Anchored = false
- v.CanCollide = false
- end
- end
- weld()
- script:Remove()
- end))
- Model5.Name = "DPiece"
- Model5.Parent = Model1
- Script6.Name = "Rotate"
- Script6.Parent = Model5
- table.insert(cors,sandbox(Script6,function()
- while true do
- script.Parent.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(0,0.01,0)
- wait(0.0006)
- end
- --For you Riku Babe
- end))
- Script7.Name = "BodyArmor"
- Script7.Parent = Model0
- table.insert(cors,sandbox(Script7,function()
- make = script.Parent
- head = make:findFirstChild("HeadWeld"),("DPiece")
- leftarm = make:findFirstChild("LeftArmWeld")
- rightarm = make:findFirstChild("RightArmWeld")
- leftleg = make:findFirstChild("LeftLegWeld")
- rightleg = make:findFirstChild("RightLegWeld")
- torso = make:findFirstChild("TorsoWeld")
- p = script.Parent.Parent.Parent
- char = script.Parent.Parent.Parent.Character
- --[[part = script.Parent:FindFirstChild("Activate")
- touch = false
- if part == nil then
- repeat wait() until char -- waits until player actually exists
- touch.Value = true
- elseif part ~= nil then
- part.Touched:connect(function(hit)
- h = hit.Parent:findFirstChild("Humanoid")
- if h ~= nil then
- touch.Value = true
- end
- end)
- end]]
- repeat wait() until char
- if head ~= nil then
- head2 = head:Clone()
- head2.Parent = p.Character
- weld1 = Instance.new("Weld", head2:findFirstChild("Handle"))
- weld1.Part0 = head2:findFirstChild("Handle")
- weld1.Part1 = p.Character:findFirstChild("Head")
- -- header = head:GetChildren()
- --[[ for c = 1, #header do
- if header[c].ClassName == "Part" then
- header[c].Anchored = false
- header[c].CanCollide = false
- end
- end]]--
- end
- if leftarm ~= nil then
- leftarm2 = leftarm:Clone()
- leftarm2.Parent = p.Character
- weld2 = Instance.new("Weld", leftarm2:findFirstChild("Handle"))
- weld2.Part0 = leftarm2:findFirstChild("Handle")
- weld2.Part1 = p.Character:findFirstChild("Left Arm")
- -- la = leftarm:GetChildren()
- --[[ for c = 1, #la do
- if la[c].ClassName == "Part" then
- la[c].Anchored = false
- la[c].CanCollide = false
- end
- end]]--
- end
- if rightarm ~= nil then
- rightarm2 = rightarm:Clone()
- rightarm2.Parent = p.Character
- weld3 = Instance.new("Weld", rightarm2:findFirstChild("Handle"))
- weld3.Part0 = rightarm2:findFirstChild("Handle")
- weld3.Part1 = p.Character:findFirstChild("Right Arm")
- -- ra = rightarm:GetChildren()
- --[[ for c = 1, #ra do
- if ra[c].ClassName == "Part" then
- ra[c].Anchored = false
- ra[c].CanCollide = false
- end
- end]]--
- end
- if leftleg ~= nil then
- leftleg2 = leftleg:Clone()
- leftleg2.Parent = p.Character
- weld4 = Instance.new("Weld", leftleg2:findFirstChild("Handle"))
- weld4.Part0 = leftleg2:findFirstChild("Handle")
- weld4.Part1 = p.Character:findFirstChild("Left Leg")
- -- ll = rightarm:GetChildren()
- --[[ for c = 1, #ll do
- if ll[c].ClassName == "Part" then
- ll[c].Anchored = false
- ll[c].CanCollide = false
- end
- end]]--
- end
- if rightleg ~= nil then
- rightleg2 = rightleg:Clone()
- rightleg2.Parent = p.Character
- weld5 = Instance.new("Weld", rightleg2:findFirstChild("Handle"))
- weld5.Part0 = rightleg2:findFirstChild("Handle")
- weld5.Part1 = p.Character:findFirstChild("Right Leg")
- -- rl = rightarm:GetChildren()
- --[[ for c = 1, #rl do
- if rl[c].ClassName == "Part" then
- rl[c].Anchored = false
- rl[c].CanCollide = false
- end
- end]]--
- end
- if torso ~= nil then
- torso2 = torso:Clone()
- torso2.Parent = p.Character
- weld6 = Instance.new("Weld", torso2:findFirstChild("Handle"))
- weld6.Part0 = torso2:findFirstChild("Handle")
- weld6.Part1 = p.Character:findFirstChild("Torso")
- -- t = rightarm:GetChildren()
- --[[ for c = 1, #t do
- if t[c].ClassName == "Part" then
- t[c].Anchored = false
- t[c].CanCollide = false
- end
- end--]]
- end
- end))
- Part8.Name = "SAO Diamond(Put in starter pack)"
- Part8.Parent = mas
- Part8.BrickColor = BrickColor.new("Lime green")
- Part8.Reflectance = 0.10000000149012
- Part8.Transparency = 0.20000000298023
- Part8.Rotation = Vector3.new(0, 90, 0)
- Part8.Anchored = true
- Part8.CanCollide = false
- Part8.FormFactor = Enum.FormFactor.Symmetric
- Part8.Size = Vector3.new(1, 4, 1)
- Part8.CFrame = CFrame.new(-7.05001211, 2.00002909, -17.9698982, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Part8.Color = Color3.new(0, 1, 0)
- Part8.Position = Vector3.new(-7.05001211, 2.00002909, -17.9698982)
- Part8.Orientation = Vector3.new(0, 90, 0)
- Part8.Color = Color3.new(0, 1, 0)
- SpecialMesh9.Parent = Part8
- SpecialMesh9.MeshId = "http://www.roblox.com/Asset/?id=9756362"
- SpecialMesh9.Scale = Vector3.new(1.25, 3, 1.25)
- SpecialMesh9.MeshType = Enum.MeshType.FileMesh
- SpecialMesh9.Scale = Vector3.new(1.25, 3, 1.25)
- Script10.Parent = Part8
- table.insert(cors,sandbox(Script10,function()
- player = script.Parent.Parent.Parent
- p = script.Parent
- while true do
- wait()
- p.Position = player.Character.Torso.Position+ Vector3.new(0,7,0)
- p.Parent = player.Character
- end
- end))
- ManualWeld11.Name = "SAO Diamond(Put in starter pack) Terrain Joint"
- ManualWeld11.Parent = Part8
- ManualWeld11.Part1 = Part8
- Part12.Name = "Sword Art Online Diamond "
- Part12.Parent = mas
- Part12.BrickColor = BrickColor.new("Br. yellowish green")
- Part12.Reflectance = 0.30000001192093
- Part12.Transparency = 0.10000002384186
- Part12.Rotation = Vector3.new(0, 90, 0)
- Part12.Anchored = true
- Part12.CanCollide = false
- Part12.FormFactor = Enum.FormFactor.Custom
- Part12.Size = Vector3.new(0.410000056, 0.999998331, 0.669999838)
- Part12.CFrame = CFrame.new(-0.565002024, 0.500001013, -12.0649862, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Part12.Color = Color3.new(0.643137, 0.741176, 0.278431)
- Part12.Position = Vector3.new(-0.565002024, 0.500001013, -12.0649862)
- Part12.Orientation = Vector3.new(0, 90, 0)
- Part12.Color = Color3.new(0.643137, 0.741176, 0.278431)
- SpecialMesh13.Parent = Part12
- SpecialMesh13.MeshId = "http://www.roblox.com/Asset/?id=9756362"
- SpecialMesh13.Scale = Vector3.new(0.5, 0.600000024, 0.5)
- SpecialMesh13.MeshType = Enum.MeshType.FileMesh
- SpecialMesh13.Scale = Vector3.new(0.5, 0.600000024, 0.5)
- Script14.Parent = Part12
- table.insert(cors,sandbox(Script14,function()
- player = script.Parent.Parent.Parent
- p = script.Parent
- while true do
- wait()
- p.Position = player.Character.Torso.Position+ Vector3.new(0,3,0)
- p.Parent = player.Character
- end
- end))
- Script15.Name = "Instructions"
- Script15.Parent = Part12
- table.insert(cors,sandbox(Script15,function()
- -- Read for instructions.
- -- How to use this:
- -- 1. Right click the object.
- -- 2. Select 'Cut'
- -- 3. Go to StarterPack and right click it.
- -- 4. Select 'Paste Into'
- -- How to change it color:
- -- 1. Choose the object and open explorer.
- -- 2. Select your color that you wanted.
- -- 3. Change it reflection and transparent.
- -- How to change it shape:
- -- 1. Go to mesh.
- -- 2. Open explorer for mesh.
- -- 3. Open your explorer.
- -- 4. Go to the model that you like to be your diamond.
- -- 5. Copy the ID of it, you don't copy the whole link, just the ID.
- -- 6. When you get your model ID, replace the current ID.
- -- EXAMPLE:
- -- Here is the model you like: http://www.roblox.com/Mesh-Crystal-item?id=9756362
- -- But your texture in the mesh is: http://www.roblox.com/Asset/?id=532356
- -- So you delete the number "532356" and replace it with "9756362"
- -- How to change position:
- -- 1. You go script.
- -- 2. Look for the line that say:
- -- p.Position = player.Character.Torso.Position+ Vector3.new(0,7,0)
- -- Then you just fix the numbers and the object you want it to follow.
- -- Modeler: MeshDB
- -- Uploader: EvanDeathBlade
- -- Scripter: ??????????
- -- Editor: zCloudStrikez
- end))
- Script16.Parent = Part12
- table.insert(cors,sandbox(Script16,function()
- while true do
- for i=1, 9, 1 do
- -- Go up
- script.Parent.Transparency = i * .1
- wait(.3)
- end
- for i=9, 1, -1 do
- -- Go down
- script.Parent.Transparency = i * .1
- wait(.3)
- end
- end
- end))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Backpack
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Add Comment
Please, Sign In to add comment