Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Created with ttyyuu12345's compiler
- --Errors: TouchTransmitter,LocalScript,Camera
- Create = function(itemClass,tabl)
- local item = Instance.new(itemClass)
- for i,v in pairs(tabl) do
- local a,b = ypcall(function() return item[i] end)
- if a then
- item[i] = tabl[i]
- end
- end
- return item
- end
- function runDummyScript(f,scri)
- local oldenv = getfenv(f)
- local newenv = setmetatable({}, {
- __index = function(_, k)
- if k:lower() == 'script' then
- return scri
- else
- return oldenv[k]
- end
- end
- })
- setfenv(f, newenv)
- ypcall(function() f() end)
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- mas.Name = "CompiledModel"
- o1 = Create("Model",{
- ["Name"] = "Skrillex - Bangarang Hyperbike",
- ["Parent"] = mas,
- })
- o2 = Create("Tool",{
- ["Name"] = "Laser Cycle",
- ["Parent"] = o1,
- ["TextureId"] = "http://www.roblox.com/asset/?id=130087424",
- ["GripPos"] = Vector3.new(1.5, 2.20000005, 0),
- ["ToolTip"] = "LOOK'N FOR TECH-VENTURE",
- ["CanBeDropped"] = false,
- })
- o3 = Create("Part",{
- ["Name"] = "Handle",
- ["Parent"] = o2,
- ["Position"] = Vector3.new(-5.80000019, 4.30000877, -10.2999983),
- ["Rotation"] = Vector3.new(-0, 90, 0),
- ["CFrame"] = CFrame.new(-5.80000019, 4.30000877, -10.2999983, -0, 0, 1, -0, 1, 0, -1, 0, 0),
- ["Elasticity"] = 0,
- ["FormFactor"] = Enum.FormFactor.Custom,
- ["Friction"] = 0,
- ["Size"] = Vector3.new(0.200000003, 0.200000003, 7.91000128),
- ["BottomSurface"] = Enum.SurfaceType.Smooth,
- ["TopSurface"] = Enum.SurfaceType.Smooth,
- })
- o4 = Create("SpecialMesh",{
- ["Parent"] = o3,
- ["MeshId"] = "http://www.roblox.com/asset/?id=130087381",
- ["Scale"] = Vector3.new(2.5, 2.5, 2.5),
- ["TextureId"] = "http://www.roblox.com/asset/?id=130087211",
- ["MeshType"] = Enum.MeshType.FileMesh,
- })
- o5 = Create("Sound",{
- ["Name"] = "Running",
- ["Parent"] = o3,
- ["SoundId"] = "http://www.roblox.com/asset/?id=142319852",
- ["Looped"] = true,
- })
- o7 = Create("Animation",{
- ["Name"] = "holdAni",
- ["Parent"] = o2,
- ["AnimationId"] = "http://www.roblox.com/Asset?ID=104506550",
- })
- o8 = Create("Script",{
- ["Name"] = "ThumbnailFixer",
- ["Parent"] = o2,
- ["Disabled"] = true,
- })
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- function WaitForChild(parent,child)
- while not parent:FindFirstChild(child) do print("roped waiting for " .. child) wait() end
- return parent[child]
- end
- local handle = WaitForChild(script.Parent,'Handle')
- script.Parent.Grip = CFrame.new(1.40000021, 1.96000028, -1.4000001, 1, 0, 0, 0, 1, -3.9340253e-007, 0, 3.9340253e-007, 1)
- handle.Size = Vector3.new(0.2, 4.89, 6.08)
- end,o8)
- end))
- o12 = Create("Part",{
- ["Name"] = "thumbnail helper",
- ["Parent"] = o1,
- ["BrickColor"] = BrickColor.new("Neon orange"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(-9.95499992, 1.20001197, -11.1999998),
- ["CFrame"] = CFrame.new(-9.95499992, 1.20001197, -11.1999998, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- ["Size"] = Vector3.new(2, 2.4000001, 2),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.835294, 0.45098, 0.239216),
- })
- mas.Parent = workspace
- mas:MakeJoints()
- local mas1 = mas:GetChildren()
- for i=1,#mas1 do
- mas1[i].Parent = workspace
- ypcall(function() mas1[i]:MakeJoints() end)
- end
- mas:Destroy()
- for i=1,#cors do
- coroutine.resume(cors[i])
- end
Advertisement
Add Comment
Please, Sign In to add comment