SHOW:
|
|
- or go back to the newest paste.
1 | ||
2 | --Converted with ttyyuu12345's model to script plugin v4 | |
3 | function sandbox(var,func) | |
4 | local env = getfenv(func) | |
5 | local newenv = setmetatable({},{ | |
6 | __index = function(self,k) | |
7 | if k=="script" then | |
8 | return var | |
9 | else | |
10 | return env[k] | |
11 | end | |
12 | end, | |
13 | }) | |
14 | setfenv(func,newenv) | |
15 | return func | |
16 | end | |
17 | cors = {} | |
18 | mas = Instance.new("Model",game:GetService("Lighting")) | |
19 | Model0 = Instance.new("Model") | |
20 | - | Model1 = Instance.new("Model") |
20 | + | Part1 = Instance.new("Part") |
21 | Part2 = Instance.new("Part") | |
22 | - | SpecialMesh3 = Instance.new("SpecialMesh") |
22 | + | Weld3 = Instance.new("Weld") |
23 | - | Dialog4 = Instance.new("Dialog") |
23 | + | Script4 = Instance.new("Script") |
24 | - | DialogChoice5 = Instance.new("DialogChoice") |
24 | + | |
25 | - | DialogChoice6 = Instance.new("DialogChoice") |
25 | + | Part1.Name = "MainPart" |
26 | - | DialogChoice7 = Instance.new("DialogChoice") |
26 | + | Part1.Parent = Model0 |
27 | - | Decal8 = Instance.new("Decal") |
27 | + | Part1.CFrame = CFrame.new(-21, 8.00002193, 77, 1, -0, 0, 0, -0, 1, 0, -1, 0) |
28 | - | Part9 = Instance.new("Part") |
28 | + | Part1.Orientation = Vector3.new(-90, 0, 0) |
29 | - | Decal10 = Instance.new("Decal") |
29 | + | Part1.Position = Vector3.new(-21, 8.00002193, 77) |
30 | - | Motor6D11 = Instance.new("Motor6D") |
30 | + | Part1.Rotation = Vector3.new(-90, 0, 0) |
31 | - | Motor6D12 = Instance.new("Motor6D") |
31 | + | Part1.Color = Color3.new(0.294118, 0.592157, 0.294118) |
32 | - | Motor6D13 = Instance.new("Motor6D") |
32 | + | Part1.Transparency = 0.30000001192093 |
33 | - | Motor6D14 = Instance.new("Motor6D") |
33 | + | Part1.Velocity = Vector3.new(-0.884437203, 0.00769238546, -5.52216721) |
34 | - | Motor6D15 = Instance.new("Motor6D") |
34 | + | Part1.Size = Vector3.new(16, 16, 16) |
35 | - | Part16 = Instance.new("Part") |
35 | + | Part1.BackSurface = Enum.SurfaceType.Weld |
36 | - | Part17 = Instance.new("Part") |
36 | + | Part1.BottomSurface = Enum.SurfaceType.Weld |
37 | - | Part18 = Instance.new("Part") |
37 | + | Part1.BrickColor = BrickColor.new("Bright green") |
38 | - | Part19 = Instance.new("Part") |
38 | + | Part1.FrontSurface = Enum.SurfaceType.Weld |
39 | - | Humanoid20 = Instance.new("Humanoid") |
39 | + | Part1.LeftSurface = Enum.SurfaceType.Weld |
40 | - | Part21 = Instance.new("Part") |
40 | + | Part1.RightSurface = Enum.SurfaceType.Weld |
41 | - | Motor6D22 = Instance.new("Motor6D") |
41 | + | Part1.RotVelocity = Vector3.new(-0.686433971, -0.0313967951, 0.110840559) |
42 | - | Script23 = Instance.new("Script") |
42 | + | Part1.TopSurface = Enum.SurfaceType.Weld |
43 | - | LocalScript24 = Instance.new("LocalScript") |
43 | + | Part1.brickColor = BrickColor.new("Bright green") |
44 | - | Script25 = Instance.new("Script") |
44 | + | Part1.FormFactor = Enum.FormFactor.Symmetric |
45 | - | BodyColors26 = Instance.new("BodyColors") |
45 | + | Part1.formFactor = Enum.FormFactor.Symmetric |
46 | - | ShirtGraphic27 = Instance.new("ShirtGraphic") |
46 | + | Part1.Shape = Enum.PartType.Ball |
47 | - | Script28 = Instance.new("Script") |
47 | + | Part2.Parent = Model0 |
48 | - | Script29 = Instance.new("Script") |
48 | + | Part2.CFrame = CFrame.new(-21, 8.00002193, 77.0198364, 1, 1.58881612e-14, 6.90108384e-20, -6.90108384e-20, 1.71581855e-14, 1, 1.58881612e-14, -1, 1.71581855e-14) |
49 | - | Script30 = Instance.new("Script") |
49 | + | Part2.Orientation = Vector3.new(-90, 0, 0) |
50 | - | StringValue31 = Instance.new("StringValue") |
50 | + | Part2.Position = Vector3.new(-21, 8.00002193, 77.0198364) |
51 | - | Animation32 = Instance.new("Animation") |
51 | + | Part2.Rotation = Vector3.new(-90, 0, 0) |
52 | - | StringValue33 = Instance.new("StringValue") |
52 | + | Part2.Color = Color3.new(1, 1, 0) |
53 | - | Animation34 = Instance.new("Animation") |
53 | + | Part2.Velocity = Vector3.new(-0.885060012, 0.0213087816, -5.52216721) |
54 | - | StringValue35 = Instance.new("StringValue") |
54 | + | Part2.Size = Vector3.new(8, 8, 8) |
55 | - | Animation36 = Instance.new("Animation") |
55 | + | Part2.BackSurface = Enum.SurfaceType.Weld |
56 | - | NumberValue37 = Instance.new("NumberValue") |
56 | + | Part2.BottomSurface = Enum.SurfaceType.Weld |
57 | - | Animation38 = Instance.new("Animation") |
57 | + | Part2.BrickColor = BrickColor.new("New Yeller") |
58 | - | NumberValue39 = Instance.new("NumberValue") |
58 | + | Part2.FrontSurface = Enum.SurfaceType.Weld |
59 | - | StringValue40 = Instance.new("StringValue") |
59 | + | Part2.LeftSurface = Enum.SurfaceType.Weld |
60 | - | Animation41 = Instance.new("Animation") |
60 | + | Part2.RightSurface = Enum.SurfaceType.Weld |
61 | - | StringValue42 = Instance.new("StringValue") |
61 | + | Part2.RotVelocity = Vector3.new(-0.686433971, -0.0313967951, 0.110840559) |
62 | - | Animation43 = Instance.new("Animation") |
62 | + | Part2.TopSurface = Enum.SurfaceType.Weld |
63 | - | StringValue44 = Instance.new("StringValue") |
63 | + | Part2.brickColor = BrickColor.new("New Yeller") |
64 | - | Animation45 = Instance.new("Animation") |
64 | + | |
65 | - | StringValue46 = Instance.new("StringValue") |
65 | + | |
66 | - | Animation47 = Instance.new("Animation") |
66 | + | Part2.Shape = Enum.PartType.Ball |
67 | - | Script48 = Instance.new("Script") |
67 | + | Weld3.Parent = Part2 |
68 | - | Script49 = Instance.new("Script") |
68 | + | Weld3.C0 = CFrame.new(4.03283507e-21, -7.54951657e-13, -2.4158453e-13, 1, -1.58881612e-14, -6.90108384e-20, 1.58881612e-14, 1, 1.71581855e-14, 6.90108384e-20, -1.71581855e-14, 1) |
69 | - | Model0.Name = "Talking Noob" |
69 | + | Weld3.C1 = CFrame.new(0, -0.0198402405, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
70 | Weld3.Part0 = Part2 | |
71 | - | Model1.Name = "Noob" |
71 | + | Weld3.Part1 = Part1 |
72 | - | Model1.Parent = Model0 |
72 | + | Weld3.part1 = Part1 |
73 | - | Model1.PrimaryPart = Part2 |
73 | + | Script4.Name = "WeldScript" |
74 | - | Part2.Name = "Head" |
74 | + | Script4.Parent = Model0 |
75 | - | Part2.Parent = Model1 |
75 | + | table.insert(cors,sandbox(Script4,function() |
76 | - | Part2.CFrame = CFrame.new(-8.56659603, 4.50001431, 72.4827576, -0.964122772, 0, 0.265456945, 0, 1, 0, -0.265456945, 0, -0.964122772) |
76 | + | t = script.Parent |
77 | - | Part2.Orientation = Vector3.new(0, 164.610001, 0) |
77 | + | |
78 | - | Part2.Position = Vector3.new(-8.56659603, 4.50001431, 72.4827576) |
78 | + | wait(5) |
79 | - | Part2.Rotation = Vector3.new(-180, 15.3899994, -180) |
79 | + | |
80 | - | Part2.Color = Color3.new(0.960784, 0.803922, 0.188235) |
80 | + | function stick(x, y) |
81 | - | Part2.Size = Vector3.new(2, 1, 1) |
81 | + | weld = Instance.new("Weld") |
82 | - | Part2.BrickColor = BrickColor.new("Bright yellow") |
82 | + | weld.Part0 = x |
83 | - | Part2.TopSurface = Enum.SurfaceType.Smooth |
83 | + | weld.Part1 = y |
84 | - | Part2.brickColor = BrickColor.new("Bright yellow") |
84 | + | local HitPos = x.Position |
85 | local CJ = CFrame.new(HitPos) | |
86 | local C0 = x.CFrame:inverse() *CJ | |
87 | - | SpecialMesh3.Parent = Part2 |
87 | + | local C1 = y.CFrame:inverse() * CJ |
88 | - | SpecialMesh3.Scale = Vector3.new(1.25, 1.25, 1.25) |
88 | + | weld.C0 = C0 |
89 | - | Dialog4.Parent = Part2 |
89 | + | weld.C1 = C1 |
90 | - | Dialog4.GoodbyeDialog = "Uhh bye." |
90 | + | weld.Parent = x |
91 | - | Dialog4.InitialPrompt = "H1" |
91 | + | |
92 | - | Dialog4.Purpose = Enum.DialogPurpose.Quest |
92 | + | |
93 | - | Dialog4.Tone = Enum.DialogTone.Friendly |
93 | + | function Weldnow() |
94 | - | DialogChoice5.Parent = Dialog4 |
94 | + | c = t:children() |
95 | - | DialogChoice5.GoodbyeDialog = "Erm bye" |
95 | + | for n = 1, #c do |
96 | - | DialogChoice5.ResponseDialog = "W4nn4 b3 fr13nd5" |
96 | + | if (c[n].className == "Part") then |
97 | - | DialogChoice5.UserDialog = "Hi..?" |
97 | + | if (c[n].Name ~= "MainPart") then |
98 | - | DialogChoice6.Parent = DialogChoice5 |
98 | + | stick(c[n], t.MainPart) |
99 | - | DialogChoice6.GoodbyeDialog = "...Bye" |
99 | + | wait() |
100 | - | DialogChoice6.ResponseDialog = "0M6 1'M R3P0R71N6 U 4ND BU1LD3RM4N 15 MY D4D!!!!!!1111" |
100 | + | c[n].Anchored = false |
101 | - | DialogChoice6.UserDialog = "No" |
101 | + | |
102 | - | DialogChoice7.Parent = DialogChoice5 |
102 | + | |
103 | - | DialogChoice7.ResponseDialog = "Y4y!" |
103 | + | |
104 | - | DialogChoice7.UserDialog = "Sure" |
104 | + | |
105 | - | Decal8.Parent = Part2 |
105 | + | |
106 | - | Decal8.Texture = "http://www.roblox.com/asset/?id=149118265" |
106 | + | |
107 | - | Part9.Name = "Torso" |
107 | + | wait() |
108 | - | Part9.Parent = Model1 |
108 | + | |
109 | - | Part9.CFrame = CFrame.new(-8.56659603, 3.00001407, 72.4827576, -0.964122772, 0, 0.265456945, 0, 1, 0, -0.265456945, 0, -0.964122772) |
109 | + | t.MainPart.Anchored = false |
110 | - | Part9.Orientation = Vector3.new(0, 164.610001, 0) |
110 | + | |
111 | - | Part9.Position = Vector3.new(-8.56659603, 3.00001407, 72.4827576) |
111 | + | Weldnow() |
112 | - | Part9.Rotation = Vector3.new(-180, 15.3899994, -180) |
112 | + | |
113 | - | Part9.Color = Color3.new(0.0509804, 0.411765, 0.67451) |
113 | + | |
114 | - | Part9.Size = Vector3.new(2, 2, 1) |
114 | + | |
115 | - | Part9.BrickColor = BrickColor.new("Bright blue") |
115 | + | |
116 | - | Part9.LeftParamA = 0 |
116 | + | |
117 | - | Part9.LeftParamB = 0 |
117 | + | |
118 | - | Part9.LeftSurface = Enum.SurfaceType.Weld |
118 | + | |
119 | - | Part9.RightParamA = 0 |
119 | + | |
120 | - | Part9.RightParamB = 0 |
120 | + | |
121 | - | Part9.RightSurface = Enum.SurfaceType.Weld |
121 | + | |
122 | - | Part9.brickColor = BrickColor.new("Bright blue") |
122 | + |