SHOW:
|
|
- or go back to the newest paste.
1 | radio = Instance.new("Part",script) | |
2 | radio.Name = "Radio" | |
3 | - | local density = 1000000000 |
3 | + | rmesh = Instance.new("SpecialMesh", radio) |
4 | - | local friction = 1 |
4 | + | rmesh.MeshId = "rbxassetid://151760030" |
5 | rmesh.Scale = Vector3.new(1,1,1) | |
6 | - | local frictionWeight = 100000000000 |
6 | + | rmesh.TextureId = "rbxassetid://151760072" |
7 | radio.Size = Vector3.new(3.2,1.6,1.2) | |
8 | hammer = Instance.new("Part",script) | |
9 | - | v.CustomPhysicalProperties = physProperties |
9 | + | hmesh = Instance.new("SpecialMesh", hammer) |
10 | - | if v:IsA("Decal") then |
10 | + | hmesh.MeshId = "rbxassetid://16198309" |
11 | - | v.Transparency = 1 |
11 | + | hmesh.Scale = Vector3.new(1.2,1.2,1.2) |
12 | hmesh.TextureId = "rbxassetid://16198294" | |
13 | hammer.Size = Vector3.new(2,1.5,4) | |
14 | local shatter = Instance.new("Sound",hammer) | |
15 | - | script.Parent = owner.Character |
15 | + | shatter.SoundId = "http://www.roblox.com/asset/?id=3103862943" |
16 | - | owner.Character.Torso.Transparency = 1 |
16 | + | shatter.Volume = 1.5 |
17 | - | block = owner.Character.Torso |
17 | + | hammer.Touched:Connect(function(hit) |
18 | - | local part1 = Instance.new("Part", script) |
18 | + | if hit.Material == Enum.Material.Glass then |
19 | - | part1.Shape = Enum.PartType.Ball |
19 | + | hit:Destroy() |
20 | - | part1.Size = Vector3.new(1.5, 1.5, 1.5) |
20 | + | shatter:Play() |
21 | - | part1.Material = "SmoothPlastic" |
21 | + | |
22 | - | part1.BrickColor = BrickColor.new("Bright yellow") |
22 | + | |
23 | - | blockweld = Instance.new("Weld",block) |
23 | + | local music = Instance.new("Sound",radio) |
24 | - | blockweld.Part0 = part1 |
24 | + | music.Volume = 1.5 |
25 | - | blockweld.Part1 = owner.Character.Head |
25 | + | music.Looped = true |
26 | - | decal = Instance.new("Decal", part1) |
26 | + | local screengui = Instance.new("ScreenGui", owner:findFirstChildOfClass("PlayerGui")) |
27 | - | decal.Face = Enum.NormalId.Front |
27 | + | screengui.ResetOnSpawn = true |
28 | - | local happyFace = "http://www.roblox.com/asset/?id=83017053" |
28 | + | screengui.Name = "Textlol2" |
29 | - | decal.Texture = happyFace |
29 | + | local tl = Instance.new("TextBox", screengui) |
30 | - | block2 = Instance.new("Part",script) |
30 | + | tl.Size = UDim2.new(0.105,0,0.075,0) |
31 | - | blockweld = Instance.new("Weld",block) |
31 | + | tl.AnchorPoint = Vector2.new(1, 0.90) |
32 | - | blockweld.Part0 = block2 |
32 | + | tl.Position = UDim2.new(1, 0, 0.90, 0) |
33 | - | blockweld.Part1 = block |
33 | + | tl.BackgroundTransparency = 1 |
34 | - | blockweld.C0 = CFrame.new(0,-0.125,0) |
34 | + | tl.TextColor3 = Color3.new(1, 1, 1) |
35 | - | block2.Massless = true |
35 | + | tl.TextTransparency = 1 |
36 | - | block2.CanTouch = false |
36 | + | tl.Name = "Textlol" |
37 | - | block2.CanQuery = false |
37 | + | local tl2 = Instance.new("TextBox", screengui) |
38 | - | block2.Size = Vector3.new(2.125,1.75,1.25) |
38 | + | tl2.Text = "1" |
39 | - | block4 = Instance.new("Part",script) |
39 | + | tl2.PlaceholderText = "Speed" |
40 | - | blockweld3 = Instance.new("Weld",block) |
40 | + | tl2.Size = UDim2.new(0.105,0,0.075,0) |
41 | - | blockweld3.Part0 = block4 |
41 | + | tl2.AnchorPoint = Vector2.new(1, 0.80) |
42 | - | blockweld3.Part1 = block |
42 | + | tl2.Position = UDim2.new(1, 0, 0.80, 0) |
43 | - | blockweld3.C0 = CFrame.new(0,1,0) |
43 | + | tl2.BackgroundTransparency = 1 |
44 | - | block4.Massless = true |
44 | + | tl2.TextColor3 = Color3.new(1, 1, 1) |
45 | - | block4.CanTouch = false |
45 | + | tl2.TextTransparency = 1 |
46 | - | block4.CanQuery = false |
46 | + | tl2.Name = "Textlol3" |
47 | - | block4.Size = Vector3.new(2.0625,0.5,1.125) |
47 | + | local tl3 = Instance.new("TextBox", screengui) |
48 | - | block3 = Instance.new("Part",script) |
48 | + | tl3.Text = "1.5" |
49 | - | blockweld2 = Instance.new("Weld",block) |
49 | + | tl3.PlaceholderText = "volume" |
50 | - | blockweld2.Part0 = block3 |
50 | + | tl3.Size = UDim2.new(0.105,0,0.075,0) |
51 | - | blockweld2.Part1 = block |
51 | + | tl3.AnchorPoint = Vector2.new(1, 0.70) |
52 | - | blockweld2.C0 = CFrame.new(0,0,2) |
52 | + | tl3.Position = UDim2.new(1, 0, 0.70, 0) |
53 | - | block3.Massless = true |
53 | + | tl3.BackgroundTransparency = 1 |
54 | - | block3.CanTouch = false |
54 | + | tl3.TextColor3 = Color3.new(1, 1, 1) |
55 | - | block3.CanQuery = false |
55 | + | tl3.TextTransparency = 1 |
56 | - | block3.Transparency = 1 |
56 | + | tl3.Name = "Textlol4" |
57 | - | block3.CanCollide = false |
57 | + | local musicplay = Instance.new("TextButton", screengui) |
58 | - | local Boing = Instance.new("Sound", owner.Character.Head) |
58 | + | musicplay.Size = UDim2.new(0.105,0,0.075,0) |
59 | - | Boing.SoundId = "rbxassetid://12222124" |
59 | + | musicplay.AnchorPoint = Vector2.new(1, 1) |
60 | - | Boing.Volume = 1.5 |
60 | + | musicplay.Position = UDim2.new(1, 0, 1, 0) |
61 | - | Boing.PlaybackSpeed = 1.125 |
61 | + | musicplay.Text = "Play" |
62 | - | local Boing2 = Instance.new("Sound", owner.Character.Head) |
62 | + | musicplay.BackgroundTransparency = 1 |
63 | - | Boing2.SoundId = "rbxassetid://12222124" |
63 | + | musicplay.TextColor3 = Color3.new(1, 1, 1) |
64 | - | Boing2.Volume = 1.5 |
64 | + | musicplay.TextTransparency = 1 |
65 | - | Boing2.PlaybackSpeed = 1.125 |
65 | + | musicplay.Active = true |
66 | - | hand3 = Instance.new("Part",block) |
66 | + | remote2 = Instance.new("RemoteEvent",owner.Character) |
67 | - | hand3.Size = Vector3.new(1,2,2) |
67 | + | remote2.Name = "The2" |
68 | - | hand3.Name = "Hand" |
68 | + | remote2.OnServerEvent:Connect(function(plr, text) |
69 | - | hand3.Anchored = true |
69 | + | tl.Text = text |
70 | - | hand3.Shape = "Cylinder" |
70 | + | |
71 | - | hand3.BrickColor = BrickColor.new("Bright yellow") |
71 | + | remote3 = Instance.new("RemoteEvent",owner.Character) |
72 | - | bottom = Instance.new("Part") |
72 | + | remote3.Name = "The3" |
73 | - | bottom.CFrame = hand3.CFrame * CFrame.new(0,-0.5,0) |
73 | + | remote3.OnServerEvent:Connect(function(plr, text) |
74 | - | hand = hand3:SubtractAsync({bottom}) |
74 | + | tl2.Text = text |
75 | end) | |
76 | - | hand.Parent = block |
76 | + | remote4 = Instance.new("RemoteEvent",owner.Character) |
77 | - | hand4 = Instance.new("Part",block) |
77 | + | remote4.Name = "The4" |
78 | - | hand4.Size = Vector3.new(1,2,2) |
78 | + | remote4.OnServerEvent:Connect(function(plr, text) |
79 | - | hand4.Name = "Hand2" |
79 | + | tl3.Text = text |
80 | - | hand4.Shape = "Cylinder" |
80 | + | |
81 | - | hand4.BrickColor = BrickColor.new("Bright yellow") |
81 | + | function playmusic() |
82 | - | bottom2 = Instance.new("Part") |
82 | + | music:Stop() |
83 | - | bottom2.CFrame = hand4.CFrame * CFrame.new(0,-0.5,0) |
83 | + | music.PlaybackSpeed = tl2.Text |
84 | - | hand2 = hand4:SubtractAsync({bottom2}) |
84 | + | music.Volume = tl3.Text |
85 | music.SoundId = "http://www.roblox.com/asset/?id="..tl.Text | |
86 | - | hand2.Anchored = false |
86 | + | |
87 | - | hand.Anchored = false |
87 | + | music:Play() |
88 | - | hand2.Parent = block |
88 | + | |
89 | - | local Mesh = Instance.new("SpecialMesh") |
89 | + | musicplay.MouseButton1Down:Connect(playmusic) |
90 | - | Mesh.Parent = hand2 |
90 | + | function musictime() |
91 | - | Mesh.Offset = Vector3.new(0, 0, -1) |
91 | + | |
92 | - | Mesh.MeshId = "http://www.roblox.com/asset/?id=1151839089" |
92 | + | tl.TextTransparency = 0 |
93 | - | Mesh.Scale = Vector3.new(0.02,0.02,0.02) |
93 | + | musicplay.TextTransparency = 0 |
94 | - | local Mesh2 = Instance.new("SpecialMesh") |
94 | + | musicplay.Text = "Play" |
95 | - | Mesh2.Parent = hand |
95 | + | musicplay.BackgroundTransparency = 0 |
96 | - | Mesh2.Offset = Vector3.new(0, 0, -1) |
96 | + | tl.BackgroundTransparency = 0 |
97 | - | Mesh2.MeshId = "http://www.roblox.com/asset/?id=1151814157" |
97 | + | tl2.BackgroundTransparency = 0 |
98 | - | Mesh2.Scale = Vector3.new(0.02,0.02,0.02) |
98 | + | tl2.Text = "1" |
99 | - | bp2 = Instance.new("BodyPosition",hand) |
99 | + | tl2.PlaceholderText = "Speed" |
100 | - | bp2.D = 100 |
100 | + | tl2.TextTransparency = 0 |
101 | - | bp2.P = 10000 |
101 | + | tl3.Text = "1" |
102 | - | bp2.position = hand.Position |
102 | + | tl3.BackgroundTransparency = 0 |
103 | - | bp = Instance.new("BodyPosition",hand2) |
103 | + | tl3.TextTransparency = 0 |
104 | - | bp.D = 100 |
104 | + | |
105 | - | bp.P = 10000 |
105 | + | |
106 | - | bp.position = hand2.Position |
106 | + | function musictime2() |
107 | - | bg = Instance.new("BodyGyro",hand) |
107 | + | |
108 | - | bg.D = 100 |
108 | + | tl.TextTransparency = 1 |
109 | - | bg.P = 10000 |
109 | + | musicplay.TextTransparency = 1 |
110 | - | bg.MaxTorque = Vector3.new(math.huge * math.huge,math.huge * math.huge,math.huge * math.huge) |
110 | + | musicplay.Text = "Play" |
111 | - | bg2 = Instance.new("BodyGyro",hand2) |
111 | + | musicplay.BackgroundTransparency = 1 |
112 | - | bg2.D = 100 |
112 | + | tl.BackgroundTransparency = 1 |
113 | - | bg2.P = 10000 |
113 | + | tl2.BackgroundTransparency = 1 |
114 | - | bg2.MaxTorque = Vector3.new(math.huge * math.huge,math.huge * math.huge,math.huge * math.huge) |
114 | + | tl2.TextTransparency = 1 |
115 | - | arm6 = Instance.new("Part",script) |
115 | + | tl3.BackgroundTransparency = 1 |
116 | - | arm6.Size = Vector3.new(0.75,0.75,0.75) |
116 | + | tl3.TextTransparency = 1 |
117 | - | arm5 = Instance.new("Part",script) |
117 | + | |
118 | - | arm5.Size = Vector3.new(0.75,0.75,0.75) |
118 | + | |
119 | - | function the() |
119 | + | local shoulder |
120 | local shoulder2 | |
121 | - | clicked = false |
121 | + | local leg |
122 | - | clicked3 = false |
122 | + | local leg2 |
123 | - | owner.Character["Left Arm"]:Destroy() |
123 | + | |
124 | - | owner.Character["Right Arm"]:Destroy() |
124 | + | if v:IsA("Motor6D") then |
125 | - | local arm = Instance.new("Part",script) |
125 | + | if v.Name == "Left Shoulder" then |
126 | - | arm.Size = Vector3.new(0.75,2,0.75) |
126 | + | shoulder = v |
127 | - | local arm7 = Instance.new("Part",script) |
127 | + | elseif v.Name == "Right Shoulder" then |
128 | - | arm7.Size = Vector3.new(0.75,2,0.75) |
128 | + | shoulder2 = v |
129 | - | arm4 = arm7 |
129 | + | elseif v.Name == "Right Hip" then |
130 | - | local random1,random2,random3 = math.random(0,255), math.random(0,255), math.random(0,255) |
130 | + | leg2 = v |
131 | - | block2.Color = Color3.fromRGB(random1,random2,random3) |
131 | + | elseif v.Name == "Left Hip" then |
132 | leg = v | |
133 | - | local a1 = Instance.new("Attachment") |
133 | + | |
134 | - | local a2 = Instance.new("Attachment") |
134 | + | |
135 | - | a1.Parent = block |
135 | + | |
136 | - | a2.Parent = arm |
136 | + | |
137 | - | Socket.Parent = block |
137 | + | local limbcollider = Instance.new("Part", owner.Character:findFirstChild("Right Arm")) |
138 | - | Socket.Attachment0 = a1 |
138 | + | limbcollider.Size = Vector3.new(1.4,1,1) |
139 | - | Socket.Attachment1 = a2 |
139 | + | limbcollider.Transparency = 1 |
140 | - | a1.WorldCFrame = a1.Parent.CFrame * CFrame.new(-1.5,0.5,0) |
140 | + | limbcollider.Name = "LimbCollider" |
141 | - | a2.WorldCFrame = a2.Parent.CFrame * CFrame.new(0,1,0) |
141 | + | local limbcolliderweld = Instance.new("Weld", limbcollider) |
142 | - | Socket.Visible = true |
142 | + | limbcolliderweld.Part0 = owner.Character:findFirstChild("Right Arm") |
143 | - | local arm8 = Instance.new("Part",script) |
143 | + | limbcolliderweld.Part1 = limbcollider |
144 | - | arm8.Size = Vector3.new(0.75,2,0.75) |
144 | + | limbcollider.Shape = "Cylinder" |
145 | - | arm3 = arm8 |
145 | + | limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0) |
146 | local limbcollider2 = Instance.new("Part", owner.Character:findFirstChild("Left Arm")) | |
147 | - | Socket3.Visible = true |
147 | + | limbcollider2.Size = Vector3.new(1.4,1,1) |
148 | - | local a5 = Instance.new("Attachment") |
148 | + | limbcollider2.Transparency = 1 |
149 | - | local a6 = Instance.new("Attachment") |
149 | + | limbcollider2.Name = "LimbCollider" |
150 | - | a5.Parent = arm |
150 | + | limbcollider2.Shape = "Cylinder" |
151 | - | a6.Parent = arm3 |
151 | + | local limbcolliderweld2 = Instance.new("Weld", limbcollider2) |
152 | - | Socket3.Parent = block |
152 | + | limbcolliderweld2.Part0 = owner.Character:findFirstChild("Left Arm") |
153 | - | Socket3.Attachment0 = a5 |
153 | + | limbcolliderweld2.Part1 = limbcollider2 |
154 | - | Socket3.Attachment1 = a6 |
154 | + | limbcolliderweld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0) |
155 | - | a5.WorldCFrame = a5.Parent.CFrame * CFrame.new(0,-1,0) |
155 | + | |
156 | - | a6.WorldCFrame = a6.Parent.CFrame * CFrame.new(0,1,0) |
156 | + | local a1 = Instance.new("Attachment") |
157 | - | local arm2 = Instance.new("Part",script) |
157 | + | local a2 = Instance.new("Attachment") |
158 | - | arm2.Size = Vector3.new(0.75,2,0.75) |
158 | + | a1.Parent = owner.Character["Left Arm"] |
159 | a2.Parent = owner.Character.Torso | |
160 | - | Socket2.Visible = true |
160 | + | Socket.Parent = owner.Character["Left Arm"] |
161 | - | local a3 = Instance.new("Attachment") |
161 | + | Socket.Attachment0 = a1 |
162 | - | local a4 = Instance.new("Attachment") |
162 | + | Socket.Attachment1 = a2 |
163 | - | a3.Parent = block |
163 | + | a1.WorldCFrame = a1.Parent.CFrame * CFrame.new(0,0.5,0) |
164 | - | a4.Parent = arm2 |
164 | + | a2.WorldCFrame = a2.Parent.CFrame * CFrame.new(-1.5,0.5,0) |
165 | - | Socket2.Parent = block |
165 | + | |
166 | - | Socket2.Attachment0 = a3 |
166 | + | local a3 = Instance.new("Attachment") |
167 | - | Socket2.Attachment1 = a4 |
167 | + | local a4 = Instance.new("Attachment") |
168 | - | a3.WorldCFrame = a3.Parent.CFrame * CFrame.new(1.5,0.5,0) |
168 | + | a3.Parent = owner.Character["Right Arm"] |
169 | - | a4.WorldCFrame = a4.Parent.CFrame * CFrame.new(0,1,0) |
169 | + | a4.Parent = owner.Character.Torso |
170 | Socket2.Parent = owner.Character["Right Arm"] | |
171 | - | Socket4.Visible = true |
171 | + | Socket2.Attachment0 = a3 |
172 | - | local a7 = Instance.new("Attachment") |
172 | + | Socket2.Attachment1 = a4 |
173 | - | local a8 = Instance.new("Attachment") |
173 | + | a3.WorldCFrame = a3.Parent.CFrame * CFrame.new(0,0.5,0) |
174 | - | a7.Parent = arm2 |
174 | + | a4.WorldCFrame = a4.Parent.CFrame * CFrame.new(1.5,0.5,0) |
175 | - | a8.Parent = arm4 |
175 | + | local limbcollider3 = Instance.new("Part", owner.Character:findFirstChild("Right Leg")) |
176 | - | Socket4.Parent = block |
176 | + | limbcollider3.Size = Vector3.new(1.4,1,1) |
177 | - | Socket4.Attachment0 = a7 |
177 | + | limbcollider3.Transparency = 1 |
178 | - | Socket4.Attachment1 = a8 |
178 | + | limbcollider3.Name = "LimbCollider" |
179 | - | a7.WorldCFrame = a7.Parent.CFrame * CFrame.new(0,-1,0) |
179 | + | local limbcolliderweld3 = Instance.new("Weld", limbcollider3) |
180 | - | a8.WorldCFrame = a8.Parent.CFrame * CFrame.new(0,1,0) |
180 | + | limbcolliderweld3.Part0 = owner.Character:findFirstChild("Right Leg") |
181 | - | local Socket5 = Instance.new("BallSocketConstraint") |
181 | + | limbcolliderweld3.Part1 = limbcollider3 |
182 | - | local a13 = Instance.new("Attachment") |
182 | + | limbcollider3.Shape = "Cylinder" |
183 | - | local a14 = Instance.new("Attachment") |
183 | + | limbcolliderweld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0) |
184 | - | a13.Parent = arm3 |
184 | + | local limbcollider4 = Instance.new("Part", owner.Character:findFirstChild("Left Leg")) |
185 | - | a14.Parent = arm5 |
185 | + | limbcollider4.Size = Vector3.new(1.4,1,1) |
186 | - | Socket5.Parent = block |
186 | + | limbcollider4.Transparency = 1 |
187 | - | Socket5.Attachment0 = a13 |
187 | + | limbcollider4.Name = "LimbCollider" |
188 | - | Socket5.Attachment1 = a14 |
188 | + | limbcollider4.Shape = "Cylinder" |
189 | - | a13.WorldCFrame = a13.Parent.CFrame * CFrame.new(0,-1,0) |
189 | + | local limbcolliderweld4 = Instance.new("Weld", limbcollider4) |
190 | - | a14.WorldCFrame = a14.Parent.CFrame * CFrame.new(0,-1,0) |
190 | + | limbcolliderweld4.Part0 = owner.Character:findFirstChild("Left Leg") |
191 | - | local Socket6 = Instance.new("BallSocketConstraint") |
191 | + | limbcolliderweld4.Part1 = limbcollider4 |
192 | - | local a15 = Instance.new("Attachment") |
192 | + | limbcolliderweld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0) |
193 | - | local a16 = Instance.new("Attachment") |
193 | + | |
194 | - | a15.Parent = arm4 |
194 | + | local a5 = Instance.new("Attachment") |
195 | - | a16.Parent = arm6 |
195 | + | local a6 = Instance.new("Attachment") |
196 | - | Socket6.Parent = block |
196 | + | a5.Parent = owner.Character["Left Leg"] |
197 | - | Socket6.Attachment0 = a15 |
197 | + | a6.Parent = owner.Character.Torso |
198 | - | Socket6.Attachment1 = a16 |
198 | + | Socket3.Parent = owner.Character["Left Leg"] |
199 | - | a15.WorldCFrame = a15.Parent.CFrame * CFrame.new(0,-1,0) |
199 | + | Socket3.Attachment0 = a5 |
200 | - | a16.WorldCFrame = a16.Parent.CFrame * CFrame.new(0,-1,0) |
200 | + | Socket3.Attachment1 = a6 |
201 | - | arm6.BrickColor = BrickColor.new("Bright yellow") |
201 | + | a5.WorldCFrame = a5.Parent.CFrame * CFrame.new(0,0.5,0) |
202 | - | arm5.BrickColor = BrickColor.new("Bright yellow") |
202 | + | a6.WorldCFrame = a6.Parent.CFrame * CFrame.new(-0.5,-1.5,0) |
203 | - | arm6.Name = "handlol2" |
203 | + | |
204 | - | arm5.Name = "handlol" |
204 | + | local a7 = Instance.new("Attachment") |
205 | - | local at300 = Instance.new("Attachment" , arm5) |
205 | + | local a8 = Instance.new("Attachment") |
206 | - | at300.CFrame = CFrame.Angles(0,0,math.rad(-90)) |
206 | + | a7.Parent = owner.Character["Right Leg"] |
207 | - | local at400 = Instance.new("Attachment" , arm5) |
207 | + | a8.Parent = owner.Character.Torso |
208 | - | at400.CFrame = CFrame.Angles(0,0,math.rad(-90)) |
208 | + | Socket4.Parent = owner.Character["Right Leg"] |
209 | - | spring = Instance.new("SpringConstraint" , arm5) |
209 | + | Socket4.Attachment0 = a7 |
210 | - | spring.Attachment0 = at300 |
210 | + | Socket4.Attachment1 = a8 |
211 | - | spring.Attachment1 = at400 |
211 | + | a7.WorldCFrame = a7.Parent.CFrame * CFrame.new(0,0.5,0) |
212 | - | spring.Stiffness = 20000 |
212 | + | a8.WorldCFrame = a8.Parent.CFrame * CFrame.new(0.5,-1.5,0) |
213 | - | spring.Damping = 200 |
213 | + | |
214 | - | spring.FreeLength = 0 |
214 | + | |
215 | - | spring.MaxForce = 3750 |
215 | + | |
216 | - | spring.Enabled = true |
216 | + | |
217 | - | spring.Visible = true |
217 | + | |
218 | - | spring.LimitsEnabled = true |
218 | + | |
219 | - | spring.MinLength = 0 |
219 | + | |
220 | - | spring.MaxLength = math.huge |
220 | + | local what3 |
221 | - | local at100 = Instance.new("Attachment" , arm6) |
221 | + | local weld3 |
222 | - | at100.CFrame = CFrame.Angles(0,0,math.rad(-90)) |
222 | + | local oldowner3 |
223 | - | local at200 = Instance.new("Attachment" , arm6) |
223 | + | local what4 |
224 | - | at200.CFrame = CFrame.Angles(0,0,math.rad(-90)) |
224 | + | local weld4 |
225 | - | local spring2 = Instance.new("SpringConstraint" , arm6) |
225 | + | local oldowner4 |
226 | - | spring2.Attachment0 = at100 |
226 | + | count4 = 0 |
227 | - | spring2.Attachment1 = at200 |
227 | + | |
228 | - | spring2.Stiffness = 20000 |
228 | + | |
229 | - | spring2.Damping = 200 |
229 | + | |
230 | - | spring2.FreeLength = 0 |
230 | + | |
231 | - | spring2.MaxForce = 3750 |
231 | + | |
232 | - | spring2.Enabled = true |
232 | + | |
233 | - | spring2.Visible = true |
233 | + | |
234 | - | spring2.LimitsEnabled = true |
234 | + | |
235 | - | spring2.MinLength = 0 |
235 | + | if (owner.Character["Left Arm"].CFrame.Position - hit.Position).magnitude <= grabreach then |
236 | - | spring2.MaxLength = math.huge |
236 | + | |
237 | - | local Mesh = Instance.new("SpecialMesh") |
237 | + | |
238 | - | Mesh.Parent = arm6 |
238 | + | local density = who:GetMass() |
239 | - | Mesh.MeshId = "http://www.roblox.com/asset/?id=7962929537" |
239 | + | local friction = .5 |
240 | - | Mesh.Scale = Vector3.new(2, 2, 2) |
240 | + | |
241 | - | Bone = Instance.new("Bone",arm6) |
241 | + | local frictionWeight = 10000 |
242 | - | Bone.CFrame = CFrame.new(0,1,0) |
242 | + | |
243 | - | Bone.Transform = CFrame.new(-1,0,0) |
243 | + | |
244 | - | local Mesh2 = Instance.new("SpecialMesh") |
244 | + | who.CustomPhysicalProperties = physProperties |
245 | - | Mesh2.Parent = arm5 |
245 | + | shoulder.Enabled = false |
246 | - | Mesh2.MeshId = "http://www.roblox.com/asset/?id=7962929537" |
246 | + | if who.Name == "Radio" then |
247 | - | Mesh2.Scale = Vector3.new(2, 2, 2) |
247 | + | musictime() |
248 | - | Socket.Radius = 0.45 |
248 | + | owner.Character["Left Arm"].CFrame = who.CFrame * CFrame.new(0,1.5,0) |
249 | - | Socket3.Radius = 0.45 |
249 | + | elseif who.Name ~= "Radio" then |
250 | - | Socket2.Radius = 0.45 |
250 | + | owner.Character["Left Arm"].CFrame = hit * CFrame.Angles(math.rad(90),0,0) * CFrame.new(0,0.5,0) |
251 | - | Socket4.Radius = 0.45 |
251 | + | |
252 | - | arm.Color = Color3.fromRGB(random1,random2,random3) |
252 | + | |
253 | - | arm2.Color = Color3.fromRGB(random1,random2,random3) |
253 | + | weld = Instance.new("WeldConstraint",limbcollider2) |
254 | - | arm3.Color = Color3.fromRGB(random1,random2,random3) |
254 | + | |
255 | - | arm4.Color = Color3.fromRGB(random1,random2,random3) |
255 | + | weld.Part1 = limbcollider2 |
256 | - | Socket.Color = arm.BrickColor |
256 | + | |
257 | - | Socket2.Color = arm.BrickColor |
257 | + | |
258 | - | Socket3.Color = arm.BrickColor |
258 | + | |
259 | - | Socket4.Color = arm.BrickColor |
259 | + | |
260 | - | arm:SetNetworkOwner(owner) |
260 | + | |
261 | - | arm2:SetNetworkOwner(owner) |
261 | + | |
262 | - | arm3:SetNetworkOwner(owner) |
262 | + | |
263 | - | arm4:SetNetworkOwner(owner) |
263 | + | |
264 | - | arm5:SetNetworkOwner(owner) |
264 | + | |
265 | - | arm6:SetNetworkOwner(owner) |
265 | + | |
266 | - | arm.CFrame = owner.Character.Head.CFrame * CFrame.new(-1.5,-1,0) |
266 | + | shoulder.Enabled = true |
267 | - | arm2.CFrame = owner.Character.Head.CFrame * CFrame.new(1.5,-1,0) |
267 | + | |
268 | - | arm3.CFrame = owner.Character.Head.CFrame * CFrame.new(1.5,-1,-2) |
268 | + | |
269 | - | arm4.CFrame = owner.Character.Head.CFrame * CFrame.new(-1.5,-1,-2) |
269 | + | |
270 | - | arm5.CFrame = owner.Character.Head.CFrame * CFrame.new(1.5,-1,-2) |
270 | + | if what.Name == "Radio" then |
271 | - | arm6.CFrame = owner.Character.Head.CFrame * CFrame.new(-1.5,-1,-2) |
271 | + | musictime2() |
272 | end | |
273 | task.wait() | |
274 | what:SetNetworkOwner(oldowner) | |
275 | if hum then | |
276 | hum.PlatformStand = false | |
277 | end | |
278 | wait() | |
279 | end | |
280 | end | |
281 | elseif action == "Grab2" then | |
282 | if (owner.Character["Right Arm"].CFrame.Position - hit.Position).magnitude <= grabreach then | |
283 | count2 = count2+1 | |
284 | - | local hits = Instance.new("Sound", owner.Character.Head) |
284 | + | |
285 | - | hits.SoundId = "rbxassetid://7242037470" |
285 | + | local density = who:GetMass() |
286 | - | hits.Volume = 2.75 |
286 | + | local friction = .5 |
287 | local elasticity = 0 | |
288 | local frictionWeight = 10000 | |
289 | local elasticityWeight = 0 | |
290 | - | if (arm6.CFrame.Position - hit.Position).magnitude <= grabreach then |
290 | + | |
291 | - | hits:Play() |
291 | + | who.CustomPhysicalProperties = physProperties |
292 | shoulder2.Enabled = false | |
293 | if who.Name == "Radio" then | |
294 | - | if who.Anchored == true then |
294 | + | musictime() |
295 | - | arm6.Anchored = true |
295 | + | owner.Character["Right Arm"].CFrame = who.CFrame * CFrame.new(0,1.6,0) |
296 | elseif who.Name ~= "Radio" then | |
297 | - | arm6.CFrame = hit |
297 | + | owner.Character["Right Arm"].CFrame = hit * CFrame.Angles(math.rad(90),0,0) * CFrame.new(0,0.5,0) |
298 | - | weld = Instance.new("WeldConstraint",arm6) |
298 | + | |
299 | wait() | |
300 | - | weld.Part1 = arm6 |
300 | + | weld2 = Instance.new("WeldConstraint",limbcollider) |
301 | weld2.Part0 = who | |
302 | - | at200.Parent = who |
302 | + | weld2.Part1 = limbcollider |
303 | - | at200.WorldCFrame = hit |
303 | + | |
304 | oldowner2 = who:GetNetworkOwner() | |
305 | task.wait() | |
306 | who:SetNetworkOwner(owner) | |
307 | hum2 = who.Parent:FindFirstChild("Humanoid") or who.Parent.Parent:FindFirstChild("Humanoid") | |
308 | if hum2 then | |
309 | hum2.PlatformStand = true | |
310 | end | |
311 | what2 = who | |
312 | elseif count2 == 2 then | |
313 | - | at200.Parent = arm6 |
313 | + | shoulder2.Enabled = true |
314 | - | at200.WorldCFrame = arm6.CFrame |
314 | + | |
315 | - | arm6.Anchored = false |
315 | + | |
316 | what2.Massless = false | |
317 | if what2.Name == "Radio" then | |
318 | musictime2() | |
319 | end | |
320 | task.wait() | |
321 | what2:SetNetworkOwner(oldowner2) | |
322 | if hum2 then | |
323 | hum2.PlatformStand = false | |
324 | end | |
325 | wait() | |
326 | end | |
327 | end | |
328 | - | if (arm5.CFrame.Position - hit.Position).magnitude <= grabreach then |
328 | + | elseif action == "Grab3" then |
329 | - | hits:Play() |
329 | + | if (owner.Character["Left Leg"].CFrame.Position - hit.Position).magnitude <= grabreach then |
330 | count3 = count3+1 | |
331 | if count3 == 1 then | |
332 | - | at400.Parent = who |
332 | + | local density = who:GetMass() |
333 | - | at400.WorldCFrame = hit |
333 | + | local friction = .5 |
334 | - | if who.Anchored == true then |
334 | + | |
335 | - | arm5.Anchored = true |
335 | + | local frictionWeight = 10000 |
336 | local elasticityWeight = 0 | |
337 | - | arm5.CFrame = hit |
337 | + | |
338 | - | weld2 = Instance.new("WeldConstraint",arm5) |
338 | + | who.CustomPhysicalProperties = physProperties |
339 | leg.Enabled = false | |
340 | - | weld2.Part1 = arm5 |
340 | + | if who.Name == "Radio" then |
341 | musictime() | |
342 | owner.Character["Left Leg"].CFrame = who.CFrame * CFrame.new(0,1.5,0) | |
343 | elseif who.Name ~= "Radio" then | |
344 | owner.Character["Left Leg"].CFrame = hit * CFrame.Angles(math.rad(90),0,0) * CFrame.new(0,0.5,0) | |
345 | end | |
346 | wait(0.1) | |
347 | weld3 = Instance.new("WeldConstraint",limbcollider4) | |
348 | weld3.Part0 = who | |
349 | weld3.Part1 = limbcollider4 | |
350 | who.Massless = true | |
351 | - | at400.Parent = arm5 |
351 | + | oldowner3 = who:GetNetworkOwner() |
352 | - | at400.WorldCFrame = arm5.CFrame |
352 | + | |
353 | - | arm5.Anchored = false |
353 | + | |
354 | hum3 = who.Parent:FindFirstChild("Humanoid") or who.Parent.Parent:FindFirstChild("Humanoid") | |
355 | if hum3 then | |
356 | hum3.PlatformStand = true | |
357 | end | |
358 | owner.Character["Left Leg"].CFrame = owner.Character["Left Leg"].CFrame * CFrame.Angles(math.rad(90),0,0) * CFrame.new(0,2,0) | |
359 | what3 = who | |
360 | elseif count3 == 2 then | |
361 | leg.Enabled = true | |
362 | weld3:Destroy() | |
363 | count3 = 0 | |
364 | what3.Massless = false | |
365 | - | elseif action == "Ragdoll" then |
365 | + | if what3.Name == "Radio" then |
366 | - | count3 = count3 + 1 |
366 | + | musictime2() |
367 | end | |
368 | - | owner.Character.Humanoid.PlatformStand = true |
368 | + | |
369 | - | grabreach = 20 |
369 | + | what3:SetNetworkOwner(oldowner3) |
370 | - | bp.P = 0 |
370 | + | if hum3 then |
371 | - | bp2.P = 0 |
371 | + | hum3.PlatformStand = false |
372 | - | bg2.MaxTorque = Vector3.new(0,0,0) |
372 | + | |
373 | - | bg.MaxTorque = Vector3.new(0,0,0) |
373 | + | |
374 | - | bg2.D = 0 |
374 | + | |
375 | - | bg.D = 0 |
375 | + | |
376 | - | bp.D = 0 |
376 | + | elseif action == "Grab4" then |
377 | - | bp2.D = 0 |
377 | + | if (owner.Character["Right Leg"].CFrame.Position - hit.Position).magnitude <= grabreach then |
378 | - | elseif count3 >= 2 then |
378 | + | count4 = count4+1 |
379 | - | owner.Character.Humanoid.PlatformStand = false |
379 | + | if count4 == 1 then |
380 | local density = who:GetMass() | |
381 | - | wait(0.5) |
381 | + | local friction = .5 |
382 | - | bp.P = 10000 |
382 | + | |
383 | - | bp2.P = 10000 |
383 | + | local frictionWeight = 10000 |
384 | - | bg2.D = 100 |
384 | + | |
385 | - | bg.D = 100 |
385 | + | |
386 | - | bp.D = 100 |
386 | + | who.CustomPhysicalProperties = physProperties |
387 | - | bp2.D = 100 |
387 | + | leg2.Enabled = false |
388 | - | bg2.MaxTorque = Vector3.new(math.huge * math.huge,math.huge * math.huge,math.huge * math.huge) |
388 | + | if who.Name == "Radio" then |
389 | - | bg.MaxTorque = Vector3.new(math.huge * math.huge,math.huge * math.huge,math.huge * math.huge) |
389 | + | musictime() |
390 | - | count3 = 0 |
390 | + | owner.Character["Right Leg"].CFrame = who.CFrame * CFrame.new(0,1.5,0) |
391 | elseif who.Name ~= "Radio" then | |
392 | owner.Character["Right Leg"].CFrame = hit * CFrame.Angles(math.rad(90),0,0) * CFrame.new(0,0.5,0) | |
393 | end | |
394 | wait(0.1) | |
395 | weld4 = Instance.new("WeldConstraint",limbcollider3) | |
396 | weld4.Part0 = who | |
397 | weld4.Part1 = limbcollider3 | |
398 | who.Massless = true | |
399 | oldowner4 = who:GetNetworkOwner() | |
400 | task.wait() | |
401 | who:SetNetworkOwner(owner) | |
402 | hum4 = who.Parent:FindFirstChild("Humanoid") or who.Parent.Parent:FindFirstChild("Humanoid") | |
403 | if hum4 then | |
404 | - | elseif key == "r" then |
404 | + | hum4.PlatformStand = true |
405 | - | remote:FireServer("Ragdoll") |
405 | + | |
406 | owner.Character["Right Leg"].CFrame = owner.Character["Right Leg"].CFrame * CFrame.Angles(math.rad(90),0,0) * CFrame.new(0,2,0) | |
407 | what4 = who | |
408 | - | ]],owner.PlayerGui) |
408 | + | elseif count4 == 2 then |
409 | leg2.Enabled = true | |
410 | weld4:Destroy() | |
411 | - | the() |
411 | + | count4 = 0 |
412 | - | local random1,random2,random3 = math.random(0,255),math.random(0,255),math.random(0,255) |
412 | + | what4.Massless = false |
413 | - | script.Parent = owner.Character |
413 | + | if what4.Name == "Radio" then |
414 | - | owner.Character["Left Leg"]:Destroy() |
414 | + | musictime2() |
415 | - | owner.Character["Right Leg"]:Destroy() |
415 | + | |
416 | - | owner.Character.Humanoid.HipHeight = 3.75 |
416 | + | |
417 | - | local arm = Instance.new("Part",script) |
417 | + | what4:SetNetworkOwner(oldowner4) |
418 | - | arm.Size = Vector3.new(0.75,2,0.75) |
418 | + | if hum4 then |
419 | hum4.PlatformStand = false | |
420 | - | local a1 = Instance.new("Attachment") |
420 | + | |
421 | - | local a2 = Instance.new("Attachment") |
421 | + | |
422 | - | a1.Parent = block |
422 | + | |
423 | - | a2.Parent = arm |
423 | + | |
424 | - | Socket.Parent = block |
424 | + | |
425 | - | Socket.Attachment0 = a1 |
425 | + | |
426 | - | Socket.Attachment1 = a2 |
426 | + | |
427 | - | a1.WorldCFrame = a1.Parent.CFrame * CFrame.new(-0.5,-1,0) |
427 | + | |
428 | - | a2.WorldCFrame = a2.Parent.CFrame * CFrame.new(0,1,0) |
428 | + | |
429 | - | local arm3 = Instance.new("Part",script) |
429 | + | if v:IsA("Part") then |
430 | - | arm3.Size = Vector3.new(0.75,2,0.75) |
430 | + | local nocollide = Instance.new("NoCollisionConstraint",owner.Character.HumanoidRootPart) |
431 | - | Socket.Visible = true |
431 | + | nocollide.Part0 = v |
432 | nocollide.Part1 = owner.Character.HumanoidRootPart | |
433 | - | Socket3.Visible = true |
433 | + | |
434 | - | local a5 = Instance.new("Attachment") |
434 | + | |
435 | - | local a6 = Instance.new("Attachment") |
435 | + | |
436 | - | a5.Parent = arm |
436 | + | wait(0.1) |
437 | - | a6.Parent = arm3 |
437 | + | |
438 | - | Socket3.Parent = block |
438 | + | remote2 = owner.Character:WaitForChild("The2") |
439 | - | Socket3.Attachment0 = a5 |
439 | + | screengui = owner:findFirstChildOfClass("PlayerGui"):WaitForChild("Textlol2") |
440 | - | Socket3.Attachment1 = a6 |
440 | + | tl = screengui:WaitForChild("Textlol") |
441 | - | a5.WorldCFrame = a5.Parent.CFrame * CFrame.new(0,-1,0) |
441 | + | tl.Changed:Connect(function(what) |
442 | - | a6.WorldCFrame = a6.Parent.CFrame * CFrame.new(0,1,0) |
442 | + | |
443 | - | local arm2 = Instance.new("Part",script) |
443 | + | remote2:FireServer(tl.Text) |
444 | - | arm2.Size = Vector3.new(0.75,2,0.75) |
444 | + | |
445 | end) | |
446 | - | Socket2.Visible = true |
446 | + | remote3 = owner.Character:WaitForChild("The3") |
447 | - | local a3 = Instance.new("Attachment") |
447 | + | tl2 = screengui:WaitForChild("Textlol3") |
448 | - | local a4 = Instance.new("Attachment") |
448 | + | tl2.Changed:Connect(function(what) |
449 | - | a3.Parent = block |
449 | + | |
450 | - | a4.Parent = arm2 |
450 | + | remote3:FireServer(tl2.Text) |
451 | - | Socket2.Parent = block |
451 | + | |
452 | - | Socket2.Attachment0 = a3 |
452 | + | |
453 | - | Socket2.Attachment1 = a4 |
453 | + | remote4 = owner.Character:WaitForChild("The4") |
454 | - | a3.WorldCFrame = a3.Parent.CFrame * CFrame.new(0.5,-1,0) |
454 | + | tl3 = screengui:WaitForChild("Textlol4") |
455 | - | a4.WorldCFrame = a4.Parent.CFrame * CFrame.new(0,1,0) |
455 | + | tl3.Changed:Connect(function(what) |
456 | - | local arm4 = Instance.new("Part",script) |
456 | + | |
457 | - | arm4.Size = Vector3.new(0.75,2,0.75) |
457 | + | remote4:FireServer(tl3.Text) |
458 | end) | |
459 | - | Socket4.Visible = true |
459 | + | |
460 | - | local a7 = Instance.new("Attachment") |
460 | + | |
461 | - | local a8 = Instance.new("Attachment") |
461 | + | |
462 | - | a7.Parent = arm2 |
462 | + | |
463 | - | a8.Parent = arm4 |
463 | + | |
464 | - | Socket4.Parent = block |
464 | + | |
465 | - | Socket4.Attachment0 = a7 |
465 | + | |
466 | - | Socket4.Attachment1 = a8 |
466 | + | |
467 | - | a7.WorldCFrame = a7.Parent.CFrame * CFrame.new(0,-1,0) |
467 | + | elseif key == "z" then |
468 | - | a8.WorldCFrame = a8.Parent.CFrame * CFrame.new(0,1,0) |
468 | + | remote:FireServer("Grab3",mouse.Target,mouse.Hit) |
469 | - | local Socket5 = Instance.new("BallSocketConstraint") |
469 | + | elseif key == "c" then |
470 | - | Socket5.Visible = true |
470 | + | remote:FireServer("Grab4",mouse.Target,mouse.Hit) |
471 | - | local a9 = Instance.new("Attachment") |
471 | + | |
472 | - | local a10 = Instance.new("Attachment") |
472 | + | |
473 | - | a9.Parent = arm4 |
473 | + | ]],owner.PlayerGui) |